@cdmx/wappler_ag_grid 0.6.5 → 0.6.7

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.
@@ -1,8 +0,0 @@
1
- /**
2
- * @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
3
- * @version v30.0.5
4
- * @link https://www.ag-grid.com/
5
- * @license MIT
6
- */
7
- // @ag-grid-community/all-modules v30.0.5
8
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.agGrid=t():e.agGrid=t()}(window,(function(){return function(e){var t={};function r(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(i,o,function(t){return e[t]}.bind(null,o));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=6)}([function(e,t,r){"use strict";r.r(t),r.d(t,"ColumnFactory",(function(){return ct})),r.d(t,"ColumnModel",(function(){return jt})),r.d(t,"ColumnKeyCreator",(function(){return L})),r.d(t,"ColumnUtils",(function(){return Ut})),r.d(t,"DisplayedGroupCreator",(function(){return Yt})),r.d(t,"GroupInstanceIdCreator",(function(){return vt})),r.d(t,"GROUP_AUTO_COLUMN_ID",(function(){return mt})),r.d(t,"ComponentUtil",(function(){return Pt})),r.d(t,"AgStackComponentsRegistry",(function(){return ir})),r.d(t,"UserComponentRegistry",(function(){return Tn})),r.d(t,"UserComponentFactory",(function(){return Un})),r.d(t,"ColDefUtil",(function(){return Ot})),r.d(t,"BeanStub",(function(){return lt})),r.d(t,"Context",(function(){return he})),r.d(t,"Autowired",(function(){return Ce})),r.d(t,"PostConstruct",(function(){return fe})),r.d(t,"PreConstruct",(function(){return ve})),r.d(t,"Optional",(function(){return be})),r.d(t,"Bean",(function(){return we})),r.d(t,"Qualifier",(function(){return Se})),r.d(t,"PreDestroy",(function(){return me})),r.d(t,"QuerySelector",(function(){return xo})),r.d(t,"RefSelector",(function(){return Do})),r.d(t,"ExcelFactoryMode",(function(){return Kn})),r.d(t,"DragAndDropService",(function(){return Za})),r.d(t,"DragSourceType",(function(){return Ya})),r.d(t,"HorizontalDirection",(function(){return Qa})),r.d(t,"VerticalDirection",(function(){return qa})),r.d(t,"DragService",(function(){return qn})),r.d(t,"Column",(function(){return Me})),r.d(t,"ColumnGroup",(function(){return pt})),r.d(t,"ProvidedColumnGroup",(function(){return Ne})),r.d(t,"RowNode",(function(){return ja})),r.d(t,"RowHighlightPosition",(function(){return Qn})),r.d(t,"FilterManager",(function(){return rs})),r.d(t,"ProvidedFilter",(function(){return Ho})),r.d(t,"SimpleFilter",(function(){return ea})),r.d(t,"ScalarFilter",(function(){return ta})),r.d(t,"NumberFilter",(function(){return ha})),r.d(t,"TextFilter",(function(){return fa})),r.d(t,"DateFilter",(function(){return oa})),r.d(t,"TextFloatingFilter",(function(){return Sa})),r.d(t,"HeaderFilterCellComp",(function(){return as})),r.d(t,"FloatingFilterMapper",(function(){return jn})),r.d(t,"GridBodyComp",(function(){return nl})),r.d(t,"GridBodyCtrl",(function(){return ws})),r.d(t,"RowAnimationCssClasses",(function(){return fs})),r.d(t,"ScrollVisibleService",(function(){return ll})),r.d(t,"MouseEventService",(function(){return cl})),r.d(t,"NavigationService",(function(){return pl})),r.d(t,"RowContainerComp",(function(){return Cl})),r.d(t,"RowContainerName",(function(){return Xs})),r.d(t,"RowContainerCtrl",(function(){return il})),r.d(t,"RowContainerType",(function(){return Zs})),r.d(t,"getRowContainerTypeForName",(function(){return $s})),r.d(t,"BodyDropPivotTarget",(function(){return yl})),r.d(t,"BodyDropTarget",(function(){return Tl})),r.d(t,"CssClassApplier",(function(){return xl})),r.d(t,"HeaderRowContainerComp",(function(){return pg})),r.d(t,"GridHeaderComp",(function(){return bg})),r.d(t,"GridHeaderCtrl",(function(){return wg})),r.d(t,"HeaderRowComp",(function(){return Ll})),r.d(t,"HeaderRowType",(function(){return Pl})),r.d(t,"HeaderRowCtrl",(function(){return gg})),r.d(t,"HeaderCellCtrl",(function(){return eg})),r.d(t,"SortIndicatorComp",(function(){return Ta})),r.d(t,"HeaderFilterCellCtrl",(function(){return Bl})),r.d(t,"HeaderGroupCellCtrl",(function(){return ng})),r.d(t,"AbstractHeaderCellCtrl",(function(){return Fl})),r.d(t,"HeaderRowContainerCtrl",(function(){return cg})),r.d(t,"HorizontalResizeService",(function(){return Sg})),r.d(t,"MoveColumnFeature",(function(){return El})),r.d(t,"StandardMenuFactory",(function(){return Rg})),r.d(t,"TabbedLayout",(function(){return xg})),r.d(t,"simpleHttpRequest",(function(){return Dg})),r.d(t,"ResizeObserverService",(function(){return Og})),r.d(t,"AnimationFrameService",(function(){return Pg})),r.d(t,"LargeTextCellEditor",(function(){return Na})),r.d(t,"PopupEditorWrapper",(function(){return vl})),r.d(t,"SelectCellEditor",(function(){return Ia})),r.d(t,"TextCellEditor",(function(){return Ga})),r.d(t,"NumberCellEditor",(function(){return hn})),r.d(t,"DateCellEditor",(function(){return fn})),r.d(t,"DateStringCellEditor",(function(){return Cn})),r.d(t,"CheckboxCellEditor",(function(){return En})),r.d(t,"Beans",(function(){return xs})),r.d(t,"AnimateShowChangeCellRenderer",(function(){return Va})),r.d(t,"AnimateSlideCellRenderer",(function(){return Ba})),r.d(t,"GroupCellRenderer",(function(){return sn})),r.d(t,"GroupCellRendererCtrl",(function(){return an})),r.d(t,"SetLeftFeature",(function(){return Gl})),r.d(t,"PositionableFeature",(function(){return ko})),r.d(t,"AutoWidthCalculator",(function(){return Lg})),r.d(t,"CheckboxSelectionComponent",(function(){return Ua})),r.d(t,"CellComp",(function(){return fl})),r.d(t,"CellCtrl",(function(){return Ns})),r.d(t,"RowCtrl",(function(){return zs})),r.d(t,"RowRenderer",(function(){return kg})),r.d(t,"ValueFormatterService",(function(){return Vg})),r.d(t,"CssClassManager",(function(){return So})),r.d(t,"CheckboxCellRenderer",(function(){return yn})),r.d(t,"PinnedRowModel",(function(){return Bg})),r.d(t,"ServerSideTransactionResultStatus",(function(){return jg})),r.d(t,"ChangedPath",(function(){return Wg})),r.d(t,"RowNodeBlock",(function(){return Ug})),r.d(t,"RowNodeBlockLoader",(function(){return Qg})),r.d(t,"PaginationProxy",(function(){return Zg})),r.d(t,"ClientSideRowModelSteps",(function(){return Xn})),r.d(t,"StylingService",(function(){return $g})),r.d(t,"LayoutCssClasses",(function(){return ns})),r.d(t,"AgAbstractField",(function(){return Bo})),r.d(t,"AgCheckbox",(function(){return Zo})),r.d(t,"AgRadioButton",(function(){return Jo})),r.d(t,"AgToggleButton",(function(){return ed})),r.d(t,"AgInputTextField",(function(){return da})),r.d(t,"AgInputTextArea",(function(){return td})),r.d(t,"AgInputNumberField",(function(){return ca})),r.d(t,"AgInputDateField",(function(){return rd})),r.d(t,"AgInputRange",(function(){return id})),r.d(t,"AgSelect",(function(){return qo})),r.d(t,"AgSlider",(function(){return ad})),r.d(t,"AgGroupComponent",(function(){return sd})),r.d(t,"AgMenuItemComponent",(function(){return hd})),r.d(t,"AgMenuList",(function(){return dd})),r.d(t,"AgMenuPanel",(function(){return ud})),r.d(t,"AgDialog",(function(){return wd})),r.d(t,"AgPanel",(function(){return fd})),r.d(t,"Component",(function(){return To})),r.d(t,"ManagedFocusFeature",(function(){return zo})),r.d(t,"TabGuardComp",(function(){return ld})),r.d(t,"TabGuardCtrl",(function(){return Ql})),r.d(t,"TabGuardClassNames",(function(){return Yl})),r.d(t,"PopupComponent",(function(){return Ma})),r.d(t,"PopupService",(function(){return Ed})),r.d(t,"TouchListener",(function(){return Ea})),r.d(t,"VirtualList",(function(){return Td})),r.d(t,"AgAbstractLabel",(function(){return _o})),r.d(t,"AgPickerField",(function(){return Wo})),r.d(t,"CellRangeType",(function(){return bs})),r.d(t,"SelectionHandleType",(function(){return Cs})),r.d(t,"AutoScrollService",(function(){return ps})),r.d(t,"VanillaFrameworkOverrides",(function(){return Ad})),r.d(t,"CellNavigationService",(function(){return Md})),r.d(t,"AlignedGridsService",(function(){return Ld})),r.d(t,"KeyCode",(function(){return io})),r.d(t,"Grid",(function(){return yu})),r.d(t,"GridCoreCreator",(function(){return Eu})),r.d(t,"GridApi",(function(){return $n})),r.d(t,"Events",(function(){return ht})),r.d(t,"FocusService",(function(){return Jl})),r.d(t,"GridOptionsService",(function(){return du})),r.d(t,"EventService",(function(){return xe})),r.d(t,"SelectableService",(function(){return Tc})),r.d(t,"RowNodeSorter",(function(){return Yc})),r.d(t,"CtrlsService",(function(){return Xc})),r.d(t,"GridComp",(function(){return $d})),r.d(t,"GridCtrl",(function(){return Zd})),r.d(t,"Logger",(function(){return Qd})),r.d(t,"LoggerFactory",(function(){return qd})),r.d(t,"SortController",(function(){return rc})),r.d(t,"TemplateService",(function(){return Ud})),r.d(t,"LocaleService",(function(){return uu})),r.d(t,"_",(function(){return ho})),r.d(t,"NumberSequence",(function(){return vo})),r.d(t,"AgPromiseStatus",(function(){return fo})),r.d(t,"AgPromise",(function(){return mo})),r.d(t,"Timer",(function(){return wo})),r.d(t,"ValueService",(function(){return Vd})),r.d(t,"ValueCache",(function(){return dc})),r.d(t,"ExpressionService",(function(){return jd})),r.d(t,"ValueParserService",(function(){return bu})),r.d(t,"CellPositionUtils",(function(){return Ic})),r.d(t,"RowPositionUtils",(function(){return Nc})),r.d(t,"HeaderPositionUtils",(function(){return _c})),r.d(t,"HeaderNavigationService",(function(){return fg})),r.d(t,"HeaderNavigationDirection",(function(){return hg})),r.d(t,"PropertyKeys",(function(){return Mt})),r.d(t,"ColumnApi",(function(){return Gd})),r.d(t,"BaseComponentWrapper",(function(){return Ru})),r.d(t,"Environment",(function(){return bc})),r.d(t,"CustomTooltipFeature",(function(){return yo})),r.d(t,"DEFAULT_CHART_GROUPS",(function(){return Tu})),r.d(t,"CHART_TOOL_PANEL_ALLOW_LIST",(function(){return xu})),r.d(t,"CHART_TOOLBAR_ALLOW_LIST",(function(){return Du})),r.d(t,"CHART_TOOL_PANEL_MENU_OPTIONS",(function(){return Au})),r.d(t,"__FORCE_MODULE_DETECTION",(function(){return Ou})),r.d(t,"BarColumnLabelPlacement",(function(){return Mu})),r.d(t,"ModuleNames",(function(){return ue})),r.d(t,"ModuleRegistry",(function(){return pe}));var i={};r.r(i),r.d(i,"makeNull",(function(){return y})),r.d(i,"exists",(function(){return S})),r.d(i,"missing",(function(){return E})),r.d(i,"missingOrEmpty",(function(){return R})),r.d(i,"toStringOrNull",(function(){return T})),r.d(i,"attrToNumber",(function(){return x})),r.d(i,"attrToBoolean",(function(){return D})),r.d(i,"attrToString",(function(){return A})),r.d(i,"referenceCompare",(function(){return O})),r.d(i,"jsonEquals",(function(){return M})),r.d(i,"defaultComparator",(function(){return P})),r.d(i,"values",(function(){return N}));var o={};r.r(o),r.d(o,"iterateObject",(function(){return I})),r.d(o,"cloneObject",(function(){return z})),r.d(o,"deepCloneObject",(function(){return F})),r.d(o,"deepCloneDefinition",(function(){return k})),r.d(o,"getProperty",(function(){return G})),r.d(o,"setProperty",(function(){return H})),r.d(o,"copyPropertiesIfPresent",(function(){return V})),r.d(o,"copyPropertyIfPresent",(function(){return _})),r.d(o,"getAllKeysInObjects",(function(){return B})),r.d(o,"getAllValuesInObject",(function(){return j})),r.d(o,"mergeDeep",(function(){return W})),r.d(o,"missingOrEmptyObject",(function(){return U})),r.d(o,"get",(function(){return K})),r.d(o,"set",(function(){return Y})),r.d(o,"getValueUsingField",(function(){return q})),r.d(o,"removeAllReferences",(function(){return Q})),r.d(o,"isNonNullObject",(function(){return X}));var a={};r.r(a),r.d(a,"doOnce",(function(){return J})),r.d(a,"getFunctionName",(function(){return $})),r.d(a,"isFunction",(function(){return ee})),r.d(a,"executeInAWhile",(function(){return te})),r.d(a,"executeNextVMTurn",(function(){return oe})),r.d(a,"executeAfter",(function(){return ae})),r.d(a,"debounce",(function(){return ne})),r.d(a,"throttle",(function(){return se})),r.d(a,"waitUntil",(function(){return le})),r.d(a,"compose",(function(){return ge})),r.d(a,"callIfPresent",(function(){return de})),r.d(a,"noop",(function(){return ce}));var n={};r.r(n),r.d(n,"firstExistingValue",(function(){return Ie})),r.d(n,"existsAndNotEmpty",(function(){return ze})),r.d(n,"last",(function(){return Fe})),r.d(n,"areEqual",(function(){return ke})),r.d(n,"shallowCompare",(function(){return Ge})),r.d(n,"sortNumerically",(function(){return He})),r.d(n,"removeRepeatsFromArray",(function(){return Ve})),r.d(n,"removeFromArray",(function(){return _e})),r.d(n,"removeAllFromArray",(function(){return Be})),r.d(n,"insertIntoArray",(function(){return je})),r.d(n,"insertArrayIntoArray",(function(){return We})),r.d(n,"moveInArray",(function(){return Ue})),r.d(n,"includes",(function(){return Ke})),r.d(n,"flatten",(function(){return Ye})),r.d(n,"pushAll",(function(){return qe})),r.d(n,"toStrings",(function(){return Qe})),r.d(n,"forEachReverse",(function(){return Xe}));var s={};r.r(s),r.d(s,"stopPropagationForAgGrid",(function(){return $e})),r.d(s,"isStopPropagationForAgGrid",(function(){return et})),r.d(s,"isEventSupported",(function(){return tt})),r.d(s,"getCtrlForEventTarget",(function(){return rt})),r.d(s,"isElementInEventPath",(function(){return it})),r.d(s,"createEventPath",(function(){return ot})),r.d(s,"getEventPath",(function(){return at})),r.d(s,"addSafePassiveEventListener",(function(){return nt}));var l={};r.r(l),r.d(l,"utf8_encode",(function(){return yt})),r.d(l,"capitalise",(function(){return St})),r.d(l,"escapeString",(function(){return Et})),r.d(l,"camelCaseToHumanText",(function(){return Rt})),r.d(l,"camelCaseToHyphenated",(function(){return Tt}));var g={};r.r(g),r.d(g,"convertToMap",(function(){return xt})),r.d(g,"mapById",(function(){return Dt})),r.d(g,"keys",(function(){return At}));var d={};r.r(d),r.d(d,"fuzzyCheckStrings",(function(){return Nt})),r.d(d,"fuzzySuggestions",(function(){return Lt}));var c={};r.r(c),r.d(c,"setAriaRole",(function(){return lr})),r.d(c,"getAriaSortState",(function(){return gr})),r.d(c,"getAriaLevel",(function(){return dr})),r.d(c,"getAriaPosInSet",(function(){return cr})),r.d(c,"getAriaDescribedBy",(function(){return ur})),r.d(c,"setAriaLabel",(function(){return pr})),r.d(c,"setAriaLabelledBy",(function(){return hr})),r.d(c,"setAriaDescription",(function(){return vr})),r.d(c,"setAriaDescribedBy",(function(){return fr})),r.d(c,"setAriaLive",(function(){return mr})),r.d(c,"setAriaLevel",(function(){return wr})),r.d(c,"setAriaDisabled",(function(){return Cr})),r.d(c,"setAriaHidden",(function(){return br})),r.d(c,"setAriaExpanded",(function(){return yr})),r.d(c,"removeAriaExpanded",(function(){return Sr})),r.d(c,"setAriaSetSize",(function(){return Er})),r.d(c,"setAriaPosInSet",(function(){return Rr})),r.d(c,"setAriaMultiSelectable",(function(){return Tr})),r.d(c,"setAriaRowCount",(function(){return xr})),r.d(c,"setAriaRowIndex",(function(){return Dr})),r.d(c,"setAriaColCount",(function(){return Ar})),r.d(c,"setAriaColIndex",(function(){return Or})),r.d(c,"setAriaColSpan",(function(){return Mr})),r.d(c,"setAriaSort",(function(){return Pr})),r.d(c,"removeAriaSort",(function(){return Nr})),r.d(c,"setAriaSelected",(function(){return Lr})),r.d(c,"setAriaChecked",(function(){return Ir})),r.d(c,"setAriaControls",(function(){return zr})),r.d(c,"getAriaCheckboxStateName",(function(){return Fr}));var u={};r.r(u),r.d(u,"isBrowserSafari",(function(){return kr})),r.d(u,"getSafariVersion",(function(){return Gr})),r.d(u,"isBrowserChrome",(function(){return Hr})),r.d(u,"isBrowserFirefox",(function(){return Vr})),r.d(u,"isMacOsUserAgent",(function(){return _r})),r.d(u,"isIOSUserAgent",(function(){return Br})),r.d(u,"browserSupportsPreventScroll",(function(){return jr})),r.d(u,"getTabIndex",(function(){return Wr})),r.d(u,"getMaxDivHeight",(function(){return Ur})),r.d(u,"getBodyWidth",(function(){return Kr})),r.d(u,"getBodyHeight",(function(){return Yr})),r.d(u,"getScrollbarWidth",(function(){return qr})),r.d(u,"isInvisibleScrollbar",(function(){return Xr}));var p={};r.r(p),r.d(p,"padStartWidthZeros",(function(){return Zr})),r.d(p,"createArrayOfNumbers",(function(){return Jr})),r.d(p,"cleanNumber",(function(){return $r})),r.d(p,"decToHex",(function(){return ei})),r.d(p,"formatNumberTwoDecimalPlacesAndCommas",(function(){return ti})),r.d(p,"formatNumberCommas",(function(){return ri})),r.d(p,"sum",(function(){return ii})),r.d(p,"zeroOrGreater",(function(){return oi})),r.d(p,"oneOrGreater",(function(){return ai}));var h={};r.r(h),r.d(h,"serialiseDate",(function(){return ni})),r.d(h,"dateToFormattedString",(function(){return li})),r.d(h,"parseDateTimeFromString",(function(){return gi}));var v={};r.r(v),r.d(v,"radioCssClass",(function(){return ci})),r.d(v,"FOCUSABLE_SELECTOR",(function(){return ui})),r.d(v,"FOCUSABLE_EXCLUDE",(function(){return pi})),r.d(v,"isFocusableFormField",(function(){return hi})),r.d(v,"setDisplayed",(function(){return vi})),r.d(v,"setVisible",(function(){return fi})),r.d(v,"setDisabled",(function(){return mi})),r.d(v,"isElementChildOfClass",(function(){return wi})),r.d(v,"getElementSize",(function(){return Ci})),r.d(v,"getInnerHeight",(function(){return bi})),r.d(v,"getInnerWidth",(function(){return yi})),r.d(v,"getAbsoluteHeight",(function(){return Si})),r.d(v,"getAbsoluteWidth",(function(){return Ei})),r.d(v,"getElementRectWithOffset",(function(){return Ri})),r.d(v,"isRtlNegativeScroll",(function(){return Ti})),r.d(v,"getScrollLeft",(function(){return xi})),r.d(v,"setScrollLeft",(function(){return Di})),r.d(v,"clearElement",(function(){return Ai})),r.d(v,"removeElement",(function(){return Oi})),r.d(v,"removeFromParent",(function(){return Mi})),r.d(v,"isVisible",(function(){return Pi})),r.d(v,"loadTemplate",(function(){return Ni})),r.d(v,"appendHtml",(function(){return Li})),r.d(v,"getElementAttribute",(function(){return Ii})),r.d(v,"offsetHeight",(function(){return zi})),r.d(v,"offsetWidth",(function(){return Fi})),r.d(v,"ensureDomOrder",(function(){return ki})),r.d(v,"setDomChildOrder",(function(){return Gi})),r.d(v,"insertWithDomOrder",(function(){return Hi})),r.d(v,"prependDC",(function(){return Vi})),r.d(v,"addStylesToElement",(function(){return _i})),r.d(v,"isHorizontalScrollShowing",(function(){return Bi})),r.d(v,"isVerticalScrollShowing",(function(){return ji})),r.d(v,"setElementWidth",(function(){return Wi})),r.d(v,"setFixedWidth",(function(){return Ui})),r.d(v,"setElementHeight",(function(){return Ki})),r.d(v,"setFixedHeight",(function(){return Yi})),r.d(v,"formatSize",(function(){return qi})),r.d(v,"isNodeOrElement",(function(){return Qi})),r.d(v,"copyNodeList",(function(){return Xi})),r.d(v,"iterateNamedNodeMap",(function(){return Zi})),r.d(v,"addOrRemoveAttribute",(function(){return Ji})),r.d(v,"nodeListForEach",(function(){return $i}));var f={};r.r(f),r.d(f,"iconNameClassMap",(function(){return eo})),r.d(f,"createIcon",(function(){return to})),r.d(f,"createIconNoSpan",(function(){return ro}));var m={};r.r(m),r.d(m,"isEventFromPrintableCharacter",(function(){return oo})),r.d(m,"isUserSuppressingKeyboardEvent",(function(){return ao})),r.d(m,"isUserSuppressingHeaderKeyboardEvent",(function(){return no})),r.d(m,"normaliseQwertyAzerty",(function(){return so})),r.d(m,"isDeleteKey",(function(){return lo}));var w={};r.r(w),r.d(w,"areEventsNear",(function(){return go}));var C={};r.r(C),r.d(C,"sortRowNodesByOrder",(function(){return co})),r.d(C,"traverseNodesWithKey",(function(){return uo}));var b={};function y(e){return null==e||""===e?null:e}function S(e,t=!1){return null!=e&&(""!==e||t)}function E(e){return!S(e)}function R(e){return null==e||0===e.length}function T(e){return null!=e&&"function"==typeof e.toString?e.toString():null}function x(e){if(void 0===e)return;if(null===e||""===e)return null;if("number"==typeof e)return isNaN(e)?void 0:e;const t=parseInt(e,10);return isNaN(t)?void 0:t}function D(e){if(void 0!==e)return null!==e&&""!==e&&("boolean"==typeof e?e:/true/i.test(e))}function A(e){if(null!=e&&""!==e)return e}function O(e,t){return null==e&&null==t||(null!=e||null==t)&&((null==e||null!=t)&&e===t)}function M(e,t){return(e?JSON.stringify(e):null)===(t?JSON.stringify(t):null)}function P(e,t,r=!1){const i=null==e,o=null==t;if(e&&e.toNumber&&(e=e.toNumber()),t&&t.toNumber&&(t=t.toNumber()),i&&o)return 0;if(i)return-1;if(o)return 1;function a(e,t){return e>t?1:e<t?-1:0}if("string"!=typeof e)return a(e,t);if(!r)return a(e,t);try{return e.localeCompare(t)}catch(r){return a(e,t)}}function N(e){if(e instanceof Set||e instanceof Map){const t=[];return e.forEach(e=>t.push(e)),t}return Object.values(e)}r.r(b),r.d(b,"convertToSet",(function(){return po}));class L{constructor(){this.existingKeys={}}addExistingKeys(e){for(let t=0;t<e.length;t++)this.existingKeys[e[t]]=!0}getUniqueKey(e,t){e=T(e);let r=0;for(;;){let i;if(e?(i=e,0!==r&&(i+="_"+r)):t?(i=t,0!==r&&(i+="_"+r)):i=""+r,!this.existingKeys[i])return this.existingKeys[i]=!0,i;r++}}}function I(e,t){null!=e&&(Array.isArray(e)?e.forEach((e,r)=>t(""+r,e)):Object.keys(e).forEach(r=>t(r,e[r])))}function z(e){const t={},r=Object.keys(e);for(let i=0;i<r.length;i++){const o=r[i],a=e[o];t[o]=a}return t}function F(e){return JSON.parse(JSON.stringify(e))}function k(e,t){if(!e)return;const r=e,i={};return Object.keys(r).forEach(e=>{if(t&&t.indexOf(e)>=0)return;const o=r[e],a=X(o)&&o.constructor===Object;i[e]=a?k(o):o}),i}function G(e,t){return e[t]}function H(e,t,r){e[t]=r}function V(e,t,...r){r.forEach(r=>_(e,t,r))}function _(e,t,r,i){const o=G(e,r);void 0!==o&&H(t,r,i?i(o):o)}function B(e){const t={};return e.filter(e=>null!=e).forEach(e=>{Object.keys(e).forEach(e=>t[e]=null)}),Object.keys(t)}function j(e){if(!e)return[];const t=Object;if("function"==typeof t.values)return t.values(e);const r=[];for(const t in e)e.hasOwnProperty(t)&&e.propertyIsEnumerable(t)&&r.push(e[t]);return r}function W(e,t,r=!0,i=!1){S(t)&&I(t,(t,o)=>{let a=e[t];if(a!==o){if(i){if(null==a&&null!=o){"object"==typeof o&&o.constructor===Object&&(a={},e[t]=a)}}X(o)&&X(a)&&!Array.isArray(a)?W(a,o,r,i):(r||void 0!==o)&&(e[t]=o)}})}function U(e){return E(e)||0===Object.keys(e).length}function K(e,t,r){if(null==e)return r;const i=t.split(".");let o=e;for(;i.length>1;)if(o=o[i.shift()],null==o)return r;const a=o[i[0]];return null!=a?a:r}function Y(e,t,r){if(null==e)return;const i=t.split(".");let o=e;i.forEach((e,t)=>{o[e]||(o[e]={}),t<i.length-1&&(o=o[e])}),o[i[i.length-1]]=r}function q(e,t,r){if(!t||!e)return;if(!r)return e[t];const i=t.split(".");let o=e;for(let e=0;e<i.length;e++){if(null==o)return;o=o[i[e]]}return o}function Q(e,t){Object.keys(e).forEach(t=>{"object"==typeof e[t]&&(e[t]=void 0)});const r=Object.getPrototypeOf(e),i={};Object.keys(r).forEach(e=>{if("function"==typeof r[e]){const r=()=>{console.warn(`AG Grid: ${t} function ${e}() cannot be called as the grid has been destroyed.\n Please don't call grid API functions on destroyed grids - as a matter of fact you shouldn't\n be keeping the API reference, your application has a memory leak! Remove the API reference\n when the grid is destroyed.`)};i[e]={value:r,writable:!0}}}),Object.defineProperties(e,i)}function X(e){return"object"==typeof e&&null!==e}const Z={};function J(e,t){Z[t]||(e(),Z[t]=!0)}function $(e){if(e.name)return e.name;const t=/function\s+([^\(]+)/.exec(e.toString());return t&&2===t.length?t[1].trim():null}function ee(e){return!!(e&&e.constructor&&e.call&&e.apply)}function te(e){ae(e,400)}const re=[];let ie=!1;function oe(e){re.push(e),ie||(ie=!0,window.setTimeout(()=>{const e=re.slice();re.length=0,ie=!1,e.forEach(e=>e())},0))}function ae(e,t=0){e.length>0&&window.setTimeout(()=>e.forEach(e=>e()),t)}function ne(e,t){let r;return function(...i){const o=this;window.clearTimeout(r),r=window.setTimeout((function(){e.apply(o,i)}),t)}}function se(e,t){let r=0;return function(...i){const o=(new Date).getTime();o-r<t||(r=o,e.apply(this,i))}}function le(e,t,r=100,i){const o=(new Date).getTime();let a=null,n=!1;const s=()=>{const s=(new Date).getTime()-o>r;(e()||s)&&(t(),n=!0,null!=a&&(window.clearInterval(a),a=null),s&&i&&console.warn(i))};s(),n||(a=window.setInterval(s,10))}function ge(...e){return t=>e.reduce((e,t)=>t(e),t)}function de(e){e&&e()}const ce=()=>{};var ue;!function(e){e.CommunityCoreModule="@ag-grid-community/core",e.InfiniteRowModelModule="@ag-grid-community/infinite-row-model",e.ClientSideRowModelModule="@ag-grid-community/client-side-row-model",e.CsvExportModule="@ag-grid-community/csv-export",e.EnterpriseCoreModule="@ag-grid-enterprise/core",e.RowGroupingModule="@ag-grid-enterprise/row-grouping",e.ColumnsToolPanelModule="@ag-grid-enterprise/column-tool-panel",e.FiltersToolPanelModule="@ag-grid-enterprise/filter-tool-panel",e.MenuModule="@ag-grid-enterprise/menu",e.SetFilterModule="@ag-grid-enterprise/set-filter",e.MultiFilterModule="@ag-grid-enterprise/multi-filter",e.StatusBarModule="@ag-grid-enterprise/status-bar",e.SideBarModule="@ag-grid-enterprise/side-bar",e.RangeSelectionModule="@ag-grid-enterprise/range-selection",e.MasterDetailModule="@ag-grid-enterprise/master-detail",e.RichSelectModule="@ag-grid-enterprise/rich-select",e.GridChartsModule="@ag-grid-enterprise/charts",e.ViewportRowModelModule="@ag-grid-enterprise/viewport-row-model",e.ServerSideRowModelModule="@ag-grid-enterprise/server-side-row-model",e.ExcelExportModule="@ag-grid-enterprise/excel-export",e.ClipboardModule="@ag-grid-enterprise/clipboard",e.SparklinesModule="@ag-grid-enterprise/sparklines",e.AngularModule="@ag-grid-community/angular",e.ReactModule="@ag-grid-community/react",e.VueModule="@ag-grid-community/vue"}(ue||(ue={}));class pe{static register(e){pe.__register(e,!0,void 0)}static registerModules(e){pe.__registerModules(e,!0,void 0)}static __register(e,t,r){pe.runVersionChecks(e),void 0!==r?(pe.areGridScopedModules=!0,void 0===pe.gridModulesMap[r]&&(pe.gridModulesMap[r]={}),pe.gridModulesMap[r][e.moduleName]=e):pe.globalModulesMap[e.moduleName]=e,pe.setModuleBased(t)}static __unRegisterGridModules(e){delete pe.gridModulesMap[e]}static __registerModules(e,t,r){pe.setModuleBased(t),e&&e.forEach(e=>pe.__register(e,t,r))}static isValidModuleVersion(e){const[t,r]=e.version.split(".")||[],[i,o]=pe.currentModuleVersion.split(".")||[];return t===i&&r===o}static runVersionChecks(e){if(pe.currentModuleVersion||(pe.currentModuleVersion=e.version),e.version?pe.isValidModuleVersion(e)||console.error(`AG Grid: You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. '${e.moduleName}' is version ${e.version} but the other modules are version ${this.currentModuleVersion}. Please update all modules to the same version.`):console.error(`AG Grid: You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. '${e.moduleName}' is incompatible. Please update all modules to the same version.`),e.validate){const t=e.validate();if(!t.isValid){const e=t;console.error("AG Grid: "+e.message)}}}static setModuleBased(e){void 0===pe.moduleBased?pe.moduleBased=e:pe.moduleBased!==e&&J(()=>{console.warn("AG Grid: You are mixing modules (i.e. @ag-grid-community/core) and packages (ag-grid-community) - you can only use one or the other of these mechanisms."),console.warn("Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.")},"ModulePackageCheck")}static __setIsBundled(){pe.isBundled=!0}static __assertRegistered(e,t,r){var i;if(this.__isRegistered(e,r))return!0;const o=t+e;let a;if(pe.isBundled)a=`AG Grid: unable to use ${t} as 'ag-grid-enterprise' has not been loaded. Check you are using the Enterprise bundle:\n \n <script src="https://cdn.jsdelivr.net/npm/ag-grid-enterprise@AG_GRID_VERSION/dist/ag-grid-enterprise.min.js"><\/script>\n \nFor more info see: https://ag-grid.com/javascript-data-grid/getting-started/#getting-started-with-ag-grid-enterprise`;else if(pe.moduleBased||void 0===pe.moduleBased){let o=null===(i=Object.entries(ue).find(([t,r])=>r===e))||void 0===i?void 0:i[0];a=`AG Grid: unable to use ${t} as the ${o} is not registered${pe.areGridScopedModules?" for gridId: "+r:""}. Check if you have registered the module:\n \n import { ModuleRegistry } from '@ag-grid-community/core';\n import { ${o} } from '${e}';\n \n ModuleRegistry.registerModules([ ${o} ]);\n\nFor more info see: https://www.ag-grid.com/javascript-grid/modules/`}else a=`AG Grid: unable to use ${t} as package 'ag-grid-enterprise' has not been imported. Check that you have imported the package:\n \n import 'ag-grid-enterprise';\n \nFor more info see: https://www.ag-grid.com/javascript-grid/packages/`;return J(()=>{console.warn(a)},o),!1}static __isRegistered(e,t){var r;return!!pe.globalModulesMap[e]||!!(null===(r=pe.gridModulesMap[t])||void 0===r?void 0:r[e])}static __getRegisteredModules(e){return[...N(pe.globalModulesMap),...N(pe.gridModulesMap[e]||{})]}static __getGridRegisteredModules(e){var t;return N(null!==(t=pe.gridModulesMap[e])&&void 0!==t?t:{})||[]}static __isPackageBased(){return!pe.moduleBased}}pe.globalModulesMap={},pe.gridModulesMap={},pe.areGridScopedModules=!1;class he{constructor(e,t){if(this.beanWrappers={},this.destroyed=!1,!e||!e.beanClasses)return;this.contextParams=e,this.logger=t,this.logger.log(">> creating ag-Application Context"),this.createBeans();const r=this.getBeanInstances();this.wireBeans(r),this.logger.log(">> ag-Application Context ready - component is alive")}getBeanInstances(){return N(this.beanWrappers).map(e=>e.beanInstance)}createBean(e,t){if(!e)throw Error("Can't wire to bean since it is null");return this.wireBeans([e],t),e}wireBeans(e,t){this.autoWireBeans(e),this.methodWireBeans(e),this.callLifeCycleMethods(e,"preConstructMethods"),S(t)&&e.forEach(t),this.callLifeCycleMethods(e,"postConstructMethods")}createBeans(){this.contextParams.beanClasses.forEach(this.createBeanWrapper.bind(this)),I(this.beanWrappers,(e,t)=>{let r;t.bean.__agBeanMetaData&&t.bean.__agBeanMetaData.autowireMethods&&t.bean.__agBeanMetaData.autowireMethods.agConstructor&&(r=t.bean.__agBeanMetaData.autowireMethods.agConstructor);const i=this.getBeansForParameters(r,t.bean.name),o=new(t.bean.bind.apply(t.bean,[null,...i]));t.beanInstance=o});const e=Object.keys(this.beanWrappers).join(", ");this.logger.log("created beans: "+e)}createBeanWrapper(e){const t=e.__agBeanMetaData;if(!t){let t;return t=e.prototype.constructor?$(e.prototype.constructor):""+e,void console.error(`Context item ${t} is not a bean`)}const r={bean:e,beanInstance:null,beanName:t.beanName};this.beanWrappers[t.beanName]=r}autoWireBeans(e){e.forEach(e=>{this.forEachMetaDataInHierarchy(e,(t,r)=>{const i=t.agClassAttributes;i&&i.forEach(t=>{const i=this.lookupBeanInstance(r,t.beanName,t.optional);e[t.attributeName]=i})})})}methodWireBeans(e){e.forEach(e=>{this.forEachMetaDataInHierarchy(e,(t,r)=>{I(t.autowireMethods,(t,i)=>{if("agConstructor"===t)return;const o=this.getBeansForParameters(i,r);e[t].apply(e,o)})})})}forEachMetaDataInHierarchy(e,t){let r=Object.getPrototypeOf(e);for(;null!=r;){const e=r.constructor;if(e.hasOwnProperty("__agBeanMetaData")){t(e.__agBeanMetaData,this.getBeanName(e))}r=Object.getPrototypeOf(r)}}getBeanName(e){if(e.__agBeanMetaData&&e.__agBeanMetaData.beanName)return e.__agBeanMetaData.beanName;const t=e.toString();return t.substring(9,t.indexOf("("))}getBeansForParameters(e,t){const r=[];return e&&I(e,(e,i)=>{const o=this.lookupBeanInstance(t,i);r[Number(e)]=o}),r}lookupBeanInstance(e,t,r=!1){if(this.destroyed)return this.logger.log(`AG Grid: bean reference ${t} is used after the grid is destroyed!`),null;if("context"===t)return this;if(this.contextParams.providedBeanInstances&&this.contextParams.providedBeanInstances.hasOwnProperty(t))return this.contextParams.providedBeanInstances[t];const i=this.beanWrappers[t];return i?i.beanInstance:(r||console.error(`AG Grid: unable to find bean reference ${t} while initialising ${e}`),null)}callLifeCycleMethods(e,t){e.forEach(e=>this.callLifeCycleMethodsOnBean(e,t))}callLifeCycleMethodsOnBean(e,t,r){const i={};this.forEachMetaDataInHierarchy(e,e=>{const o=e[t];o&&o.forEach(e=>{e!=r&&(i[e]=!0)})});Object.keys(i).forEach(t=>e[t]())}getBean(e){return this.lookupBeanInstance("getBean",e,!0)}destroy(){if(this.destroyed)return;this.logger.log(">> Shutting down ag-Application Context");const e=this.getBeanInstances();this.destroyBeans(e),this.contextParams.providedBeanInstances=null,pe.__unRegisterGridModules(this.contextParams.gridId),this.destroyed=!0,this.logger.log(">> ag-Application Context shut down - component is dead")}destroyBean(e){e&&this.destroyBeans([e])}destroyBeans(e){return e?(e.forEach(e=>{this.callLifeCycleMethodsOnBean(e,"preDestroyMethods","destroy");const t=e;"function"==typeof t.destroy&&t.destroy()}),[]):[]}isDestroyed(){return this.destroyed}getGridId(){return this.contextParams.gridId}}function ve(e,t,r){const i=Ee(e.constructor);i.preConstructMethods||(i.preConstructMethods=[]),i.preConstructMethods.push(t)}function fe(e,t,r){const i=Ee(e.constructor);i.postConstructMethods||(i.postConstructMethods=[]),i.postConstructMethods.push(t)}function me(e,t,r){const i=Ee(e.constructor);i.preDestroyMethods||(i.preDestroyMethods=[]),i.preDestroyMethods.push(t)}function we(e){return t=>{Ee(t).beanName=e}}function Ce(e){return(t,r,i)=>{ye(t,e,!1,t,r,null)}}function be(e){return(t,r,i)=>{ye(t,e,!0,t,r,null)}}function ye(e,t,r,i,o,a){if(null===t)return void console.error("AG Grid: Autowired name should not be null");if("number"==typeof a)return void console.error("AG Grid: Autowired should be on an attribute");const n=Ee(e.constructor);n.agClassAttributes||(n.agClassAttributes=[]),n.agClassAttributes.push({attributeName:o,beanName:t,optional:r})}function Se(e){return(t,r,i)=>{const o="function"==typeof t?t:t.constructor;let a;if("number"==typeof i){let t;r?(a=Ee(o),t=r):(a=Ee(o),t="agConstructor"),a.autowireMethods||(a.autowireMethods={}),a.autowireMethods[t]||(a.autowireMethods[t]={}),a.autowireMethods[t][i]=e}}}function Ee(e){return e.hasOwnProperty("__agBeanMetaData")||(e.__agBeanMetaData={}),e.__agBeanMetaData}var Re=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Te=function(e,t){return function(r,i){t(r,i,e)}};let xe=class{constructor(){this.allSyncListeners=new Map,this.allAsyncListeners=new Map,this.globalSyncListeners=new Set,this.globalAsyncListeners=new Set,this.asyncFunctionsQueue=[],this.scheduled=!1,this.firedEvents={}}setBeans(e,t,r,i=null){if(this.frameworkOverrides=r,this.gridOptionsService=t,i){const e=t.useAsyncEvents();this.addGlobalListener(i,e)}}getListeners(e,t,r){const i=t?this.allAsyncListeners:this.allSyncListeners;let o=i.get(e);return!o&&r&&(o=new Set,i.set(e,o)),o}noRegisteredListenersExist(){return 0===this.allSyncListeners.size&&0===this.allAsyncListeners.size&&0===this.globalSyncListeners.size&&0===this.globalAsyncListeners.size}addEventListener(e,t,r=!1){this.getListeners(e,r,!0).add(t)}removeEventListener(e,t,r=!1){const i=this.getListeners(e,r,!1);if(i&&(i.delete(t),0===i.size)){(r?this.allAsyncListeners:this.allSyncListeners).delete(e)}}addGlobalListener(e,t=!1){(t?this.globalAsyncListeners:this.globalSyncListeners).add(e)}removeGlobalListener(e,t=!1){(t?this.globalAsyncListeners:this.globalSyncListeners).delete(e)}dispatchEvent(e){let t=e;if(this.gridOptionsService){const{api:e,columnApi:r,context:i}=this.gridOptionsService;t.api=e,t.columnApi=r,t.context=i}this.dispatchToListeners(t,!0),this.dispatchToListeners(t,!1),this.firedEvents[t.type]=!0}dispatchEventOnce(e){this.firedEvents[e.type]||this.dispatchEvent(e)}dispatchToListeners(e,t){const r=e.type;if(t&&"event"in e){const t=e.event;t instanceof Event&&(e.eventPath=t.composedPath())}const i=r=>r.forEach(r=>{t?this.dispatchAsync(()=>r(e)):r(e)}),o=new Set(this.getListeners(r,t,!1));o&&i(o);new Set(t?this.globalAsyncListeners:this.globalSyncListeners).forEach(i=>{t?this.dispatchAsync(()=>this.frameworkOverrides.dispatchEvent(r,()=>i(r,e),!0)):this.frameworkOverrides.dispatchEvent(r,()=>i(r,e),!0)})}dispatchAsync(e){this.asyncFunctionsQueue.push(e),this.scheduled||(window.setTimeout(this.flushAsyncQueue.bind(this),0),this.scheduled=!0)}flushAsyncQueue(){this.scheduled=!1;const e=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[],e.forEach(e=>e())}};Re([Te(0,Se("loggerFactory")),Te(1,Se("gridOptionsService")),Te(2,Se("frameworkOverrides")),Te(3,Se("globalEventListener"))],xe.prototype,"setBeans",null),xe=Re([we("eventService")],xe);var De=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Ae=0;function Oe(){return Ae++}class Me{constructor(e,t,r,i){this.instanceId=Oe(),this.autoHeaderHeight=null,this.moving=!1,this.menuVisible=!1,this.filterActive=!1,this.eventService=new xe,this.tooltipEnabled=!1,this.rowGroupActive=!1,this.pivotActive=!1,this.aggregationActive=!1,this.colDef=e,this.userProvidedColDef=t,this.colId=r,this.primary=i,this.setState(e)}getInstanceId(){return this.instanceId}setState(e){void 0!==e.sort?"asc"!==e.sort&&"desc"!==e.sort||(this.sort=e.sort):"asc"!==e.initialSort&&"desc"!==e.initialSort||(this.sort=e.initialSort);const t=x(e.sortIndex),r=x(e.initialSortIndex);void 0!==t?null!==t&&(this.sortIndex=t):null!==r&&(this.sortIndex=r);const i=D(e.hide),o=D(e.initialHide);this.visible=void 0!==i?!i:!o,void 0!==e.pinned?this.setPinned(e.pinned):this.setPinned(e.initialPinned);const a=x(e.flex),n=x(e.initialFlex);void 0!==a?this.flex=a:void 0!==n&&(this.flex=n)}setColDef(e,t){this.colDef=e,this.userProvidedColDef=t,this.initMinAndMaxWidths(),this.initDotNotation(),this.eventService.dispatchEvent(this.createColumnEvent("colDefChanged","api"))}getUserProvidedColDef(){return this.userProvidedColDef}setParent(e){this.parent=e}getParent(){return this.parent}setOriginalParent(e){this.originalParent=e}getOriginalParent(){return this.originalParent}initialise(){this.initMinAndMaxWidths(),this.resetActualWidth("gridInitializing"),this.initDotNotation(),this.initTooltip(),this.validate()}initDotNotation(){const e=this.gridOptionsService.is("suppressFieldDotNotation");this.fieldContainsDots=S(this.colDef.field)&&this.colDef.field.indexOf(".")>=0&&!e,this.tooltipFieldContainsDots=S(this.colDef.tooltipField)&&this.colDef.tooltipField.indexOf(".")>=0&&!e}initMinAndMaxWidths(){const e=this.colDef;this.minWidth=this.columnUtils.calculateColMinWidth(e),this.maxWidth=this.columnUtils.calculateColMaxWidth(e)}initTooltip(){this.tooltipEnabled=S(this.colDef.tooltipField)||S(this.colDef.tooltipValueGetter)||S(this.colDef.tooltipComponent)}resetActualWidth(e="api"){const t=this.columnUtils.calculateColInitialWidth(this.colDef);this.setActualWidth(t,e,!0)}isEmptyGroup(){return!1}isRowGroupDisplayed(e){if(E(this.colDef)||E(this.colDef.showRowGroup))return!1;const t=!0===this.colDef.showRowGroup,r=this.colDef.showRowGroup===e;return t||r}isPrimary(){return this.primary}isFilterAllowed(){return!!this.colDef.filter}isFieldContainsDots(){return this.fieldContainsDots}isTooltipEnabled(){return this.tooltipEnabled}isTooltipFieldContainsDots(){return this.tooltipFieldContainsDots}validate(){const e=this.colDef;function t(e,t,r){J(()=>{r?console.warn(e,r):J(()=>console.warn(e),t)},t)}if(this.gridOptionsService.isRowModelType("clientSide")&&!pe.__isRegistered(ue.RowGroupingModule,this.gridOptionsService.getGridId())){const t=["enableRowGroup","rowGroup","rowGroupIndex","enablePivot","enableValue","pivot","pivotIndex","aggFunc"].filter(t=>S(e[t]));t.length>0&&pe.__assertRegistered(ue.RowGroupingModule,t.map(e=>"colDef."+e).join(", "),this.gridOptionsService.getGridId())}if("agRichSelect"!==this.colDef.cellEditor&&"agRichSelectCellEditor"!==this.colDef.cellEditor||pe.__assertRegistered(ue.RichSelectModule,this.colDef.cellEditor,this.gridOptionsService.getGridId()),this.gridOptionsService.isTreeData()){const r=["rowGroup","rowGroupIndex","pivot","pivotIndex"].filter(t=>S(e[t]));r.length>0&&t(`AG Grid: ${r.join()} is not possible when doing tree data, your column definition should not have ${r.join()}`,"TreeDataCannotRowGroup")}if(S(e.menuTabs))if(Array.isArray(e.menuTabs)){const r=["filterMenuTab"],i=["columnsMenuTab","generalMenuTab"],o=i.filter(t=>e.menuTabs.includes(t));o.length>0&&pe.__assertRegistered(ue.MenuModule,"menuTab(s): "+o.map(e=>`'${e}'`).join(),this.gridOptionsService.getGridId()),e.menuTabs.forEach(e=>{i.includes(e)||r.includes(e)||t(`AG Grid: '${e}' is not valid for 'colDef.menuTabs'. Valid values are: ${[...r,...i].map(e=>`'${e}'`).join()}.`,"wrongValue_menuTabs_"+e)})}else t("AG Grid: The typeof 'colDef.menuTabs' should be an array not:"+typeof e.menuTabs,"wrongType_menuTabs");S(e.columnsMenuParams)&&pe.__assertRegistered(ue.MenuModule,"columnsMenuParams",this.gridOptionsService.getGridId()),S(e.columnsMenuParams)&&pe.__assertRegistered(ue.ColumnsToolPanelModule,"columnsMenuParams",this.gridOptionsService.getGridId()),S(this.colDef.width)&&"number"!=typeof this.colDef.width&&t("AG Grid: colDef.width should be a number, not "+typeof this.colDef.width,"ColumnCheck"),S(e.columnGroupShow)&&"closed"!==e.columnGroupShow&&"open"!==e.columnGroupShow&&t(`AG Grid: '${e.columnGroupShow}' is not valid for columnGroupShow. Valid values are 'open', 'closed', undefined, null`,"columnGroupShow_invalid")}addEventListener(e,t){this.eventService.addEventListener(e,t)}removeEventListener(e,t){this.eventService.removeEventListener(e,t)}createColumnFunctionCallbackParams(e){return{node:e,data:e.data,column:this,colDef:this.colDef,context:this.gridOptionsService.context,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi}}isSuppressNavigable(e){if("boolean"==typeof this.colDef.suppressNavigable)return this.colDef.suppressNavigable;if("function"==typeof this.colDef.suppressNavigable){const t=this.createColumnFunctionCallbackParams(e);return(0,this.colDef.suppressNavigable)(t)}return!1}isCellEditable(e){return!(e.group&&!this.gridOptionsService.is("enableGroupEdit"))&&this.isColumnFunc(e,this.colDef.editable)}isSuppressFillHandle(){return!!D(this.colDef.suppressFillHandle)}isAutoHeight(){return!!D(this.colDef.autoHeight)}isAutoHeaderHeight(){return!!D(this.colDef.autoHeaderHeight)}isRowDrag(e){return this.isColumnFunc(e,this.colDef.rowDrag)}isDndSource(e){return this.isColumnFunc(e,this.colDef.dndSource)}isCellCheckboxSelection(e){return this.isColumnFunc(e,this.colDef.checkboxSelection)}isSuppressPaste(e){return this.isColumnFunc(e,this.colDef?this.colDef.suppressPaste:null)}isResizable(){return!!D(this.colDef.resizable)}isColumnFunc(e,t){if("boolean"==typeof t)return t;if("function"==typeof t){return t(this.createColumnFunctionCallbackParams(e))}return!1}setMoving(e,t="api"){this.moving=e,this.eventService.dispatchEvent(this.createColumnEvent("movingChanged",t))}createColumnEvent(e,t){return{type:e,column:this,columns:[this],source:t,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context}}isMoving(){return this.moving}getSort(){return this.sort}setSort(e,t="api"){this.sort!==e&&(this.sort=e,this.eventService.dispatchEvent(this.createColumnEvent("sortChanged",t))),this.dispatchStateUpdatedEvent("sort")}setMenuVisible(e,t="api"){this.menuVisible!==e&&(this.menuVisible=e,this.eventService.dispatchEvent(this.createColumnEvent("menuVisibleChanged",t)))}isMenuVisible(){return this.menuVisible}isSortAscending(){return"asc"===this.sort}isSortDescending(){return"desc"===this.sort}isSortNone(){return E(this.sort)}isSorting(){return S(this.sort)}getSortIndex(){return this.sortIndex}setSortIndex(e){this.sortIndex=e,this.dispatchStateUpdatedEvent("sortIndex")}setAggFunc(e){this.aggFunc=e,this.dispatchStateUpdatedEvent("aggFunc")}getAggFunc(){return this.aggFunc}getLeft(){return this.left}getOldLeft(){return this.oldLeft}getRight(){return this.left+this.actualWidth}setLeft(e,t="api"){this.oldLeft=this.left,this.left!==e&&(this.left=e,this.eventService.dispatchEvent(this.createColumnEvent("leftChanged",t)))}isFilterActive(){return this.filterActive}setFilterActive(e,t="api",r){this.filterActive!==e&&(this.filterActive=e,this.eventService.dispatchEvent(this.createColumnEvent("filterActiveChanged",t)));const i=this.createColumnEvent("filterChanged",t);r&&W(i,r),this.eventService.dispatchEvent(i)}isHovered(){return this.columnHoverService.isHovered(this)}setPinned(e){this.pinned=!0===e||"left"===e?"left":"right"===e?"right":null,this.dispatchStateUpdatedEvent("pinned")}setFirstRightPinned(e,t="api"){this.firstRightPinned!==e&&(this.firstRightPinned=e,this.eventService.dispatchEvent(this.createColumnEvent("firstRightPinnedChanged",t)))}setLastLeftPinned(e,t="api"){this.lastLeftPinned!==e&&(this.lastLeftPinned=e,this.eventService.dispatchEvent(this.createColumnEvent("lastLeftPinnedChanged",t)))}isFirstRightPinned(){return this.firstRightPinned}isLastLeftPinned(){return this.lastLeftPinned}isPinned(){return"left"===this.pinned||"right"===this.pinned}isPinnedLeft(){return"left"===this.pinned}isPinnedRight(){return"right"===this.pinned}getPinned(){return this.pinned}setVisible(e,t="api"){const r=!0===e;this.visible!==r&&(this.visible=r,this.eventService.dispatchEvent(this.createColumnEvent("visibleChanged",t))),this.dispatchStateUpdatedEvent("hide")}isVisible(){return this.visible}isSpanHeaderHeight(){const e=this.getColDef();return!e.suppressSpanHeaderHeight&&!e.autoHeaderHeight}getColDef(){return this.colDef}getColumnGroupShow(){return this.colDef.columnGroupShow}getColId(){return this.colId}getId(){return this.colId}getUniqueId(){return this.colId}getDefinition(){return this.colDef}getActualWidth(){return this.actualWidth}getAutoHeaderHeight(){return this.autoHeaderHeight}setAutoHeaderHeight(e){const t=e!==this.autoHeaderHeight;return this.autoHeaderHeight=e,t}createBaseColDefParams(e){return{node:e,data:e.data,colDef:this.colDef,column:this,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context}}getColSpan(e){if(E(this.colDef.colSpan))return 1;const t=this.createBaseColDefParams(e),r=this.colDef.colSpan(t);return Math.max(r,1)}getRowSpan(e){if(E(this.colDef.rowSpan))return 1;const t=this.createBaseColDefParams(e),r=this.colDef.rowSpan(t);return Math.max(r,1)}setActualWidth(e,t="api",r=!1){null!=this.minWidth&&(e=Math.max(e,this.minWidth)),null!=this.maxWidth&&(e=Math.min(e,this.maxWidth)),this.actualWidth!==e&&(this.actualWidth=e,this.flex&&"flex"!==t&&"gridInitializing"!==t&&(this.flex=null),r||this.fireColumnWidthChangedEvent(t)),this.dispatchStateUpdatedEvent("width")}fireColumnWidthChangedEvent(e){this.eventService.dispatchEvent(this.createColumnEvent("widthChanged",e))}isGreaterThanMax(e){return null!=this.maxWidth&&e>this.maxWidth}getMinWidth(){return this.minWidth}getMaxWidth(){return this.maxWidth}getFlex(){return this.flex||0}setFlex(e){this.flex!==e&&(this.flex=e),this.dispatchStateUpdatedEvent("flex")}setMinimum(e="api"){S(this.minWidth)&&this.setActualWidth(this.minWidth,e)}setRowGroupActive(e,t="api"){this.rowGroupActive!==e&&(this.rowGroupActive=e,this.eventService.dispatchEvent(this.createColumnEvent("columnRowGroupChanged",t))),this.dispatchStateUpdatedEvent("rowGroup")}isRowGroupActive(){return this.rowGroupActive}setPivotActive(e,t="api"){this.pivotActive!==e&&(this.pivotActive=e,this.eventService.dispatchEvent(this.createColumnEvent("columnPivotChanged",t))),this.dispatchStateUpdatedEvent("pivot")}isPivotActive(){return this.pivotActive}isAnyFunctionActive(){return this.isPivotActive()||this.isRowGroupActive()||this.isValueActive()}isAnyFunctionAllowed(){return this.isAllowPivot()||this.isAllowRowGroup()||this.isAllowValue()}setValueActive(e,t="api"){this.aggregationActive!==e&&(this.aggregationActive=e,this.eventService.dispatchEvent(this.createColumnEvent("columnValueChanged",t)))}isValueActive(){return this.aggregationActive}isAllowPivot(){return!0===this.colDef.enablePivot}isAllowValue(){return!0===this.colDef.enableValue}isAllowRowGroup(){return!0===this.colDef.enableRowGroup}getMenuTabs(e){let t=this.getColDef().menuTabs;return null==t&&(t=e),t}dispatchStateUpdatedEvent(e){this.eventService.dispatchEvent({type:Me.EVENT_STATE_UPDATED,key:e})}}Me.EVENT_MOVING_CHANGED="movingChanged",Me.EVENT_LEFT_CHANGED="leftChanged",Me.EVENT_WIDTH_CHANGED="widthChanged",Me.EVENT_LAST_LEFT_PINNED_CHANGED="lastLeftPinnedChanged",Me.EVENT_FIRST_RIGHT_PINNED_CHANGED="firstRightPinnedChanged",Me.EVENT_VISIBLE_CHANGED="visibleChanged",Me.EVENT_FILTER_CHANGED="filterChanged",Me.EVENT_FILTER_ACTIVE_CHANGED="filterActiveChanged",Me.EVENT_SORT_CHANGED="sortChanged",Me.EVENT_COL_DEF_CHANGED="colDefChanged",Me.EVENT_MENU_VISIBLE_CHANGED="menuVisibleChanged",Me.EVENT_ROW_GROUP_CHANGED="columnRowGroupChanged",Me.EVENT_PIVOT_CHANGED="columnPivotChanged",Me.EVENT_VALUE_CHANGED="columnValueChanged",Me.EVENT_STATE_UPDATED="columnStateUpdated",De([Ce("gridOptionsService")],Me.prototype,"gridOptionsService",void 0),De([Ce("columnUtils")],Me.prototype,"columnUtils",void 0),De([Ce("columnHoverService")],Me.prototype,"columnHoverService",void 0),De([fe],Me.prototype,"initialise",null);var Pe=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Ne{constructor(e,t,r,i){this.localEventService=new xe,this.expandable=!1,this.instanceId=Oe(),this.expandableListenerRemoveCallback=null,this.colGroupDef=e,this.groupId=t,this.expanded=!!e&&!!e.openByDefault,this.padding=r,this.level=i}destroy(){this.expandableListenerRemoveCallback&&this.reset(null,void 0)}reset(e,t){this.colGroupDef=e,this.level=t,this.originalParent=null,this.expandableListenerRemoveCallback&&this.expandableListenerRemoveCallback(),this.children=void 0,this.expandable=void 0}getInstanceId(){return this.instanceId}setOriginalParent(e){this.originalParent=e}getOriginalParent(){return this.originalParent}getLevel(){return this.level}isVisible(){return!!this.children&&this.children.some(e=>e.isVisible())}isPadding(){return this.padding}setExpanded(e){this.expanded=void 0!==e&&e;const t={type:Ne.EVENT_EXPANDED_CHANGED};this.localEventService.dispatchEvent(t)}isExpandable(){return this.expandable}isExpanded(){return this.expanded}getGroupId(){return this.groupId}getId(){return this.getGroupId()}setChildren(e){this.children=e}getChildren(){return this.children}getColGroupDef(){return this.colGroupDef}getLeafColumns(){const e=[];return this.addLeafColumns(e),e}addLeafColumns(e){this.children&&this.children.forEach(t=>{t instanceof Me?e.push(t):t instanceof Ne&&t.addLeafColumns(e)})}getColumnGroupShow(){const e=this.colGroupDef;if(e)return e.columnGroupShow}setupExpandable(){this.setExpandable(),this.expandableListenerRemoveCallback&&this.expandableListenerRemoveCallback();const e=this.onColumnVisibilityChanged.bind(this);this.getLeafColumns().forEach(t=>t.addEventListener("visibleChanged",e)),this.expandableListenerRemoveCallback=()=>{this.getLeafColumns().forEach(t=>t.removeEventListener("visibleChanged",e)),this.expandableListenerRemoveCallback=null}}setExpandable(){if(this.isPadding())return;let e=!1,t=!1,r=!1;const i=this.findChildrenRemovingPadding();for(let o=0,a=i.length;o<a;o++){const a=i[o];if(!a.isVisible())continue;const n=a.getColumnGroupShow();"open"===n?(e=!0,r=!0):"closed"===n?(t=!0,r=!0):(e=!0,t=!0)}const o=e&&t&&r;if(this.expandable!==o){this.expandable=o;const e={type:Ne.EVENT_EXPANDABLE_CHANGED};this.localEventService.dispatchEvent(e)}}findChildrenRemovingPadding(){const e=[],t=r=>{r.forEach(r=>{r instanceof Ne&&r.isPadding()?t(r.children):e.push(r)})};return t(this.children),e}onColumnVisibilityChanged(){this.setExpandable()}addEventListener(e,t){this.localEventService.addEventListener(e,t)}removeEventListener(e,t){this.localEventService.removeEventListener(e,t)}}Ne.EVENT_EXPANDED_CHANGED="expandedChanged",Ne.EVENT_EXPANDABLE_CHANGED="expandableChanged",Pe([me],Ne.prototype,"destroy",null);const Le={numericColumn:{headerClass:"ag-right-aligned-header",cellClass:"ag-right-aligned-cell"},rightAligned:{headerClass:"ag-right-aligned-header",cellClass:"ag-right-aligned-cell"}};function Ie(...e){for(let t=0;t<e.length;t++){const r=e[t];if(S(r))return r}return null}function ze(e){return null!=e&&e.length>0}function Fe(e){if(e&&e.length)return e[e.length-1]}function ke(e,t,r){return null==e&&null==t||null!=e&&null!=t&&e.length===t.length&&e.every((e,i)=>r?r(e,t[i]):t[i]===e)}function Ge(e,t){return ke(e,t)}function He(e){return e.sort((e,t)=>e-t)}function Ve(e,t){if(e)for(let r=e.length-2;r>=0;r--){const i=e[r]===t,o=e[r+1]===t;i&&o&&e.splice(r+1,1)}}function _e(e,t){const r=e.indexOf(t);r>=0&&e.splice(r,1)}function Be(e,t){t.forEach(t=>_e(e,t))}function je(e,t,r){e.splice(r,0,t)}function We(e,t,r){if(null!=e&&null!=t)for(let i=t.length-1;i>=0;i--){je(e,t[i],r)}}function Ue(e,t,r){Be(e,t),t.slice().reverse().forEach(t=>je(e,t,r))}function Ke(e,t){return e.indexOf(t)>-1}function Ye(e){return[].concat.apply([],e)}function qe(e,t){null!=t&&null!=e&&t.forEach(t=>e.push(t))}function Qe(e){return e.map(T)}function Xe(e,t){if(null!=e)for(let r=e.length-1;r>=0;r--)t(e[r],r)}const Ze=["touchstart","touchend","touchmove","touchcancel","scroll"],Je={};function $e(e){e.__ag_Grid_Stop_Propagation=!0}function et(e){return!0===e.__ag_Grid_Stop_Propagation}const tt=(()=>{const e={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return t=>{if("boolean"==typeof Je[t])return Je[t];const r=document.createElement(e[t]||"div");return Je[t="on"+t]=t in r}})();function rt(e,t,r){let i=t;for(;i;){const t=e.getDomData(i,r);if(t)return t;i=i.parentElement}return null}function it(e,t){return!(!t||!e)&&at(t).indexOf(e)>=0}function ot(e){const t=[];let r=e.target;for(;r;)t.push(r),r=r.parentElement;return t}function at(e){const t=e;return t.path?t.path:t.composedPath?t.composedPath():ot(t)}function nt(e,t,r,i){const o=Ke(Ze,r)?{passive:!0}:void 0;e&&e.addEventListener&&e.addEventListener(t,r,i,o)}var st=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class lt{constructor(){this.destroyFunctions=[],this.destroyed=!1,this.__v_skip=!0,this.isAlive=()=>!this.destroyed}getFrameworkOverrides(){return this.frameworkOverrides}getContext(){return this.context}destroy(){this.destroyFunctions.forEach(e=>e()),this.destroyFunctions.length=0,this.destroyed=!0,this.dispatchEvent({type:lt.EVENT_DESTROYED})}addEventListener(e,t){this.localEventService||(this.localEventService=new xe),this.localEventService.addEventListener(e,t)}removeEventListener(e,t){this.localEventService&&this.localEventService.removeEventListener(e,t)}dispatchEventAsync(e){window.setTimeout(()=>this.dispatchEvent(e),0)}dispatchEvent(e){this.localEventService&&this.localEventService.dispatchEvent(e)}addManagedListener(e,t,r){if(this.destroyed)return;e instanceof HTMLElement?nt(this.getFrameworkOverrides(),e,t,r):e.addEventListener(t,r);const i=()=>(e.removeEventListener(t,r),this.destroyFunctions=this.destroyFunctions.filter(e=>e!==i),null);return this.destroyFunctions.push(i),i}addManagedPropertyListener(e,t){if(this.destroyed)return;this.gridOptionsService.addEventListener(e,t);const r=()=>(this.gridOptionsService.removeEventListener(e,t),this.destroyFunctions=this.destroyFunctions.filter(e=>e!==r),null);return this.destroyFunctions.push(r),r}addDestroyFunc(e){this.isAlive()?this.destroyFunctions.push(e):e()}createManagedBean(e,t){const r=this.createBean(e,t);return this.addDestroyFunc(this.destroyBean.bind(this,e,t)),r}createBean(e,t,r){return(t||this.getContext()).createBean(e,r)}destroyBean(e,t){return(t||this.getContext()).destroyBean(e)}destroyBeans(e,t){return e&&e.forEach(e=>this.destroyBean(e,t)),[]}}lt.EVENT_DESTROYED="destroyed",st([Ce("frameworkOverrides")],lt.prototype,"frameworkOverrides",void 0),st([Ce("context")],lt.prototype,"context",void 0),st([Ce("eventService")],lt.prototype,"eventService",void 0),st([Ce("gridOptionsService")],lt.prototype,"gridOptionsService",void 0),st([Ce("localeService")],lt.prototype,"localeService",void 0),st([Ce("environment")],lt.prototype,"environment",void 0),st([me],lt.prototype,"destroy",null);var gt=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},dt=function(e,t){return function(r,i){t(r,i,e)}};let ct=class extends lt{setBeans(e){this.logger=e.create("ColumnFactory")}createColumnTree(e,t,r){const i=new L,{existingCols:o,existingGroups:a,existingColKeys:n}=this.extractExistingTreeData(r);i.addExistingKeys(n);const s=this.recursivelyCreateColumns(e,0,t,o,i,a),l=this.findMaxDept(s,0);this.logger.log("Number of levels for grouped columns is "+l);const g=this.balanceColumnTree(s,0,l,i);return this.columnUtils.depthFirstOriginalTreeSearch(null,g,(e,t)=>{e instanceof Ne&&e.setupExpandable(),e.setOriginalParent(t)}),{columnTree:g,treeDept:l}}extractExistingTreeData(e){const t=[],r=[],i=[];return e&&this.columnUtils.depthFirstOriginalTreeSearch(null,e,e=>{if(e instanceof Ne){const t=e;r.push(t)}else{const r=e;i.push(r.getId()),t.push(r)}}),{existingCols:t,existingGroups:r,existingColKeys:i}}createForAutoGroups(e,t){return e.map(e=>this.createAutoGroupTreeItem(t,e))}createAutoGroupTreeItem(e,t){let r=t;for(let i=this.findDepth(e)-1;i>=0;i--){const e=new Ne(null,`FAKE_PATH_${t.getId()}}_${i}`,!0,i);this.createBean(e),e.setChildren([r]),r.setOriginalParent(e),r=e}return r}findDepth(e){let t=0,r=e;for(;r&&r[0]&&r[0]instanceof Ne;)t++,r=r[0].getChildren();return t}balanceColumnTree(e,t,r,i){const o=[];for(let a=0;a<e.length;a++){const n=e[a];if(n instanceof Ne){const e=n,a=this.balanceColumnTree(e.getChildren(),t+1,r,i);e.setChildren(a),o.push(e)}else{let a,s;for(let e=r-1;e>=t;e--){const e=i.getUniqueKey(null,null),r=this.createMergedColGroupDef(null),o=new Ne(r,e,!0,t);this.createBean(o),s&&s.setChildren([o]),s=o,a||(a=s)}if(a&&s){o.push(a);if(e.some(e=>e instanceof Ne)){s.setChildren([n]);continue}s.setChildren(e);break}o.push(n)}}return o}findMaxDept(e,t){let r=t;for(let i=0;i<e.length;i++){const o=e[i];if(o instanceof Ne){const e=o,i=this.findMaxDept(e.getChildren(),t+1);r<i&&(r=i)}}return r}recursivelyCreateColumns(e,t,r,i,o,a){return(e||[]).map(e=>this.isColumnGroup(e)?this.createColumnGroup(r,e,t,i,o,a):this.createColumn(r,e,i,o))}createColumnGroup(e,t,r,i,o,a){const n=this.createMergedColGroupDef(t),s=o.getUniqueKey(n.groupId||null,null),l=new Ne(n,s,!1,r);this.createBean(l);const g=this.findExistingGroup(t,a);g&&_e(a,g),g&&g.isExpanded()&&l.setExpanded(!0);const d=this.recursivelyCreateColumns(n.children,r+1,e,i,o,a);return l.setChildren(d),l}createMergedColGroupDef(e){const t={};return Object.assign(t,this.gridOptionsService.get("defaultColGroupDef")),Object.assign(t,e),t}createColumn(e,t,r,i){let o=this.findExistingColumn(t,r);if(r&&o&&_e(r,o),o){const e=this.mergeColDefs(t,o.getColId());o.setColDef(e,t),this.applyColumnState(o,e)}else{const r=i.getUniqueKey(t.colId,t.field),a=this.mergeColDefs(t,r);o=new Me(a,t,r,e),this.context.createBean(o)}return this.dataTypeService.addColumnListeners(o),o}applyColumnState(e,t){const r=x(t.flex);void 0!==r&&e.setFlex(r);if(e.getFlex()<=0){const r=x(t.width);if(null!=r)e.setActualWidth(r);else{const t=e.getActualWidth();e.setActualWidth(t)}}void 0!==t.sort&&("asc"==t.sort||"desc"==t.sort?e.setSort(t.sort):e.setSort(void 0));const i=x(t.sortIndex);void 0!==i&&e.setSortIndex(i);const o=D(t.hide);void 0!==o&&e.setVisible(!o),void 0!==t.pinned&&e.setPinned(t.pinned)}findExistingColumn(e,t){return(t||[]).find(t=>{const r=t.getUserProvidedColDef();if(!r)return!1;const i=null!=e.colId,o=null!=e.field;return i?t.getId()===e.colId:o?r.field===e.field:r===e})}findExistingGroup(e,t){return t.find(t=>{if(!t.getColGroupDef())return!1;return!(null==e.groupId)&&t.getId()===e.groupId})}mergeColDefs(e,t){const r={};W(r,this.gridOptionsService.get("defaultColDef"),!1,!0);const i=this.dataTypeService.updateColDefAndGetColumnType(r,e,t);i&&this.assignColumnTypes(i,r),W(r,e,!1,!0);const o=this.gridOptionsService.get("autoGroupColumnDef"),a=this.gridOptionsService.isColumnsSortingCoupledToGroup();return e.rowGroup&&o&&a&&W(r,{sort:o.sort,initialSort:o.initialSort},!1,!0),this.dataTypeService.validateColDef(r),r}assignColumnTypes(e,t){if(!e.length)return;const r=Object.assign({},Le);I(this.gridOptionsService.get("columnTypes")||{},(e,t)=>{e in r?console.warn(`AG Grid: the column type '${e}' is a default column type and cannot be overridden.`):r[e]=t}),e.forEach(e=>{const i=r[e.trim()];i?W(t,i,!1,!0):console.warn("AG Grid: colDef.type '"+e+"' does not correspond to defined gridOptions.columnTypes")})}isColumnGroup(e){return void 0!==e.children}};gt([Ce("columnUtils")],ct.prototype,"columnUtils",void 0),gt([Ce("dataTypeService")],ct.prototype,"dataTypeService",void 0),gt([dt(0,Se("loggerFactory"))],ct.prototype,"setBeans",null),ct=gt([we("columnFactory")],ct);var ut=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class pt{constructor(e,t,r,i){this.displayedChildren=[],this.localEventService=new xe,this.groupId=t,this.partId=r,this.providedColumnGroup=e,this.pinned=i}static createUniqueId(e,t){return e+"_"+t}reset(){this.parent=null,this.children=null,this.displayedChildren=null}getParent(){return this.parent}setParent(e){this.parent=e}getUniqueId(){return pt.createUniqueId(this.groupId,this.partId)}isEmptyGroup(){return 0===this.displayedChildren.length}isMoving(){const e=this.getProvidedColumnGroup().getLeafColumns();return!(!e||0===e.length)&&e.every(e=>e.isMoving())}checkLeft(){if(this.displayedChildren.forEach(e=>{e instanceof pt&&e.checkLeft()}),this.displayedChildren.length>0)if(this.gridOptionsService.is("enableRtl")){const e=Fe(this.displayedChildren).getLeft();this.setLeft(e)}else{const e=this.displayedChildren[0].getLeft();this.setLeft(e)}else this.setLeft(null)}getLeft(){return this.left}getOldLeft(){return this.oldLeft}setLeft(e){this.oldLeft=e,this.left!==e&&(this.left=e,this.localEventService.dispatchEvent(this.createAgEvent(pt.EVENT_LEFT_CHANGED)))}getPinned(){return this.pinned}createAgEvent(e){return{type:e}}addEventListener(e,t){this.localEventService.addEventListener(e,t)}removeEventListener(e,t){this.localEventService.removeEventListener(e,t)}getGroupId(){return this.groupId}getPartId(){return this.partId}isChildInThisGroupDeepSearch(e){let t=!1;return this.children.forEach(r=>{e===r&&(t=!0),r instanceof pt&&r.isChildInThisGroupDeepSearch(e)&&(t=!0)}),t}getActualWidth(){let e=0;return this.displayedChildren&&this.displayedChildren.forEach(t=>{e+=t.getActualWidth()}),e}isResizable(){if(!this.displayedChildren)return!1;let e=!1;return this.displayedChildren.forEach(t=>{t.isResizable()&&(e=!0)}),e}getMinWidth(){let e=0;return this.displayedChildren.forEach(t=>{e+=t.getMinWidth()||0}),e}addChild(e){this.children||(this.children=[]),this.children.push(e)}getDisplayedChildren(){return this.displayedChildren}getLeafColumns(){const e=[];return this.addLeafColumns(e),e}getDisplayedLeafColumns(){const e=[];return this.addDisplayedLeafColumns(e),e}getDefinition(){return this.providedColumnGroup.getColGroupDef()}getColGroupDef(){return this.providedColumnGroup.getColGroupDef()}isPadding(){return this.providedColumnGroup.isPadding()}isExpandable(){return this.providedColumnGroup.isExpandable()}isExpanded(){return this.providedColumnGroup.isExpanded()}setExpanded(e){this.providedColumnGroup.setExpanded(e)}addDisplayedLeafColumns(e){this.displayedChildren.forEach(t=>{t instanceof Me?e.push(t):t instanceof pt&&t.addDisplayedLeafColumns(e)})}addLeafColumns(e){this.children.forEach(t=>{t instanceof Me?e.push(t):t instanceof pt&&t.addLeafColumns(e)})}getChildren(){return this.children}getColumnGroupShow(){return this.providedColumnGroup.getColumnGroupShow()}getProvidedColumnGroup(){return this.providedColumnGroup}getPaddingLevel(){const e=this.getParent();return this.isPadding()&&e&&e.isPadding()?1+e.getPaddingLevel():0}calculateDisplayedColumns(){this.displayedChildren=[];let e=this;for(;null!=e&&e.isPadding();)e=e.getParent();if(!(!!e&&e.providedColumnGroup.isExpandable()))return this.displayedChildren=this.children,void this.localEventService.dispatchEvent(this.createAgEvent(pt.EVENT_DISPLAYED_CHILDREN_CHANGED));this.children.forEach(t=>{if(t instanceof pt&&(!t.displayedChildren||!t.displayedChildren.length))return;switch(t.getColumnGroupShow()){case"open":e.providedColumnGroup.isExpanded()&&this.displayedChildren.push(t);break;case"closed":e.providedColumnGroup.isExpanded()||this.displayedChildren.push(t);break;default:this.displayedChildren.push(t)}}),this.localEventService.dispatchEvent(this.createAgEvent(pt.EVENT_DISPLAYED_CHILDREN_CHANGED))}}pt.EVENT_LEFT_CHANGED="leftChanged",pt.EVENT_DISPLAYED_CHILDREN_CHANGED="displayedChildrenChanged",ut([Ce("gridOptionsService")],pt.prototype,"gridOptionsService",void 0);class ht{}ht.EVENT_COLUMN_EVERYTHING_CHANGED="columnEverythingChanged",ht.EVENT_NEW_COLUMNS_LOADED="newColumnsLoaded",ht.EVENT_COLUMN_PIVOT_MODE_CHANGED="columnPivotModeChanged",ht.EVENT_COLUMN_ROW_GROUP_CHANGED="columnRowGroupChanged",ht.EVENT_EXPAND_COLLAPSE_ALL="expandOrCollapseAll",ht.EVENT_COLUMN_PIVOT_CHANGED="columnPivotChanged",ht.EVENT_GRID_COLUMNS_CHANGED="gridColumnsChanged",ht.EVENT_COLUMN_VALUE_CHANGED="columnValueChanged",ht.EVENT_COLUMN_MOVED="columnMoved",ht.EVENT_COLUMN_VISIBLE="columnVisible",ht.EVENT_COLUMN_PINNED="columnPinned",ht.EVENT_COLUMN_GROUP_OPENED="columnGroupOpened",ht.EVENT_COLUMN_RESIZED="columnResized",ht.EVENT_DISPLAYED_COLUMNS_CHANGED="displayedColumnsChanged",ht.EVENT_VIRTUAL_COLUMNS_CHANGED="virtualColumnsChanged",ht.EVENT_ASYNC_TRANSACTIONS_FLUSHED="asyncTransactionsFlushed",ht.EVENT_ROW_GROUP_OPENED="rowGroupOpened",ht.EVENT_ROW_DATA_CHANGED="rowDataChanged",ht.EVENT_ROW_DATA_UPDATED="rowDataUpdated",ht.EVENT_PINNED_ROW_DATA_CHANGED="pinnedRowDataChanged",ht.EVENT_RANGE_SELECTION_CHANGED="rangeSelectionChanged",ht.EVENT_CHART_CREATED="chartCreated",ht.EVENT_CHART_RANGE_SELECTION_CHANGED="chartRangeSelectionChanged",ht.EVENT_CHART_OPTIONS_CHANGED="chartOptionsChanged",ht.EVENT_CHART_DESTROYED="chartDestroyed",ht.EVENT_TOOL_PANEL_VISIBLE_CHANGED="toolPanelVisibleChanged",ht.EVENT_TOOL_PANEL_SIZE_CHANGED="toolPanelSizeChanged",ht.EVENT_COLUMN_PANEL_ITEM_DRAG_START="columnPanelItemDragStart",ht.EVENT_COLUMN_PANEL_ITEM_DRAG_END="columnPanelItemDragEnd",ht.EVENT_MODEL_UPDATED="modelUpdated",ht.EVENT_CUT_START="cutStart",ht.EVENT_CUT_END="cutEnd",ht.EVENT_PASTE_START="pasteStart",ht.EVENT_PASTE_END="pasteEnd",ht.EVENT_FILL_START="fillStart",ht.EVENT_FILL_END="fillEnd",ht.EVENT_RANGE_DELETE_START="rangeDeleteStart",ht.EVENT_RANGE_DELETE_END="rangeDeleteEnd",ht.EVENT_UNDO_STARTED="undoStarted",ht.EVENT_UNDO_ENDED="undoEnded",ht.EVENT_REDO_STARTED="redoStarted",ht.EVENT_REDO_ENDED="redoEnded",ht.EVENT_KEY_SHORTCUT_CHANGED_CELL_START="keyShortcutChangedCellStart",ht.EVENT_KEY_SHORTCUT_CHANGED_CELL_END="keyShortcutChangedCellEnd",ht.EVENT_CELL_CLICKED="cellClicked",ht.EVENT_CELL_DOUBLE_CLICKED="cellDoubleClicked",ht.EVENT_CELL_MOUSE_DOWN="cellMouseDown",ht.EVENT_CELL_CONTEXT_MENU="cellContextMenu",ht.EVENT_CELL_VALUE_CHANGED="cellValueChanged",ht.EVENT_CELL_EDIT_REQUEST="cellEditRequest",ht.EVENT_ROW_VALUE_CHANGED="rowValueChanged",ht.EVENT_CELL_FOCUSED="cellFocused",ht.EVENT_CELL_FOCUS_CLEARED="cellFocusCleared",ht.EVENT_FULL_WIDTH_ROW_FOCUSED="fullWidthRowFocused",ht.EVENT_ROW_SELECTED="rowSelected",ht.EVENT_SELECTION_CHANGED="selectionChanged",ht.EVENT_CELL_KEY_DOWN="cellKeyDown",ht.EVENT_CELL_MOUSE_OVER="cellMouseOver",ht.EVENT_CELL_MOUSE_OUT="cellMouseOut",ht.EVENT_FILTER_CHANGED="filterChanged",ht.EVENT_FILTER_MODIFIED="filterModified",ht.EVENT_FILTER_OPENED="filterOpened",ht.EVENT_SORT_CHANGED="sortChanged",ht.EVENT_VIRTUAL_ROW_REMOVED="virtualRowRemoved",ht.EVENT_ROW_CLICKED="rowClicked",ht.EVENT_ROW_DOUBLE_CLICKED="rowDoubleClicked",ht.EVENT_GRID_READY="gridReady",ht.EVENT_GRID_SIZE_CHANGED="gridSizeChanged",ht.EVENT_VIEWPORT_CHANGED="viewportChanged",ht.EVENT_SCROLLBAR_WIDTH_CHANGED="scrollbarWidthChanged",ht.EVENT_FIRST_DATA_RENDERED="firstDataRendered",ht.EVENT_DRAG_STARTED="dragStarted",ht.EVENT_DRAG_STOPPED="dragStopped",ht.EVENT_CHECKBOX_CHANGED="checkboxChanged",ht.EVENT_ROW_EDITING_STARTED="rowEditingStarted",ht.EVENT_ROW_EDITING_STOPPED="rowEditingStopped",ht.EVENT_CELL_EDITING_STARTED="cellEditingStarted",ht.EVENT_CELL_EDITING_STOPPED="cellEditingStopped",ht.EVENT_BODY_SCROLL="bodyScroll",ht.EVENT_BODY_SCROLL_END="bodyScrollEnd",ht.EVENT_HEIGHT_SCALE_CHANGED="heightScaleChanged",ht.EVENT_PAGINATION_CHANGED="paginationChanged",ht.EVENT_COMPONENT_STATE_CHANGED="componentStateChanged",ht.EVENT_STORE_REFRESHED="storeRefreshed",ht.EVENT_BODY_HEIGHT_CHANGED="bodyHeightChanged",ht.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED="displayedColumnsWidthChanged",ht.EVENT_SCROLL_VISIBILITY_CHANGED="scrollVisibilityChanged",ht.EVENT_COLUMN_HOVER_CHANGED="columnHoverChanged",ht.EVENT_FLASH_CELLS="flashCells",ht.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED="paginationPixelOffsetChanged",ht.EVENT_DISPLAYED_ROWS_CHANGED="displayedRowsChanged",ht.EVENT_LEFT_PINNED_WIDTH_CHANGED="leftPinnedWidthChanged",ht.EVENT_RIGHT_PINNED_WIDTH_CHANGED="rightPinnedWidthChanged",ht.EVENT_ROW_CONTAINER_HEIGHT_CHANGED="rowContainerHeightChanged",ht.EVENT_HEADER_HEIGHT_CHANGED="headerHeightChanged",ht.EVENT_COLUMN_HEADER_HEIGHT_CHANGED="columnHeaderHeightChanged",ht.EVENT_ROW_DRAG_ENTER="rowDragEnter",ht.EVENT_ROW_DRAG_MOVE="rowDragMove",ht.EVENT_ROW_DRAG_LEAVE="rowDragLeave",ht.EVENT_ROW_DRAG_END="rowDragEnd",ht.EVENT_GRID_STYLES_CHANGED="gridStylesChanged",ht.EVENT_POPUP_TO_FRONT="popupToFront",ht.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST="columnRowGroupChangeRequest",ht.EVENT_COLUMN_PIVOT_CHANGE_REQUEST="columnPivotChangeRequest",ht.EVENT_COLUMN_VALUE_CHANGE_REQUEST="columnValueChangeRequest",ht.EVENT_COLUMN_AGG_FUNC_CHANGE_REQUEST="columnAggFuncChangeRequest",ht.EVENT_KEYBOARD_FOCUS="keyboardFocus",ht.EVENT_MOUSE_FOCUS="mouseFocus",ht.EVENT_STORE_UPDATED="storeUpdated",ht.EVENT_FILTER_DESTROYED="filterDestroyed",ht.EVENT_ROW_DATA_UPDATE_STARTED="rowDataUpdateStarted";class vt{constructor(){this.existingIds={}}getInstanceIdForKey(e){const t=this.existingIds[e];let r;return r="number"!=typeof t?0:t+1,this.existingIds[e]=r,r}}var ft=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};const mt="ag-Grid-AutoColumn";let wt=class extends lt{createAutoGroupColumns(e,t){const r=[],i=this.gridOptionsService.isTreeData();let o=this.gridOptionsService.isGroupMultiAutoColumn();return i&&o&&(console.warn('AG Grid: you cannot mix groupDisplayType = "multipleColumns" with treeData, only one column can be used to display groups when doing tree data'),o=!1),o?t.forEach((t,i)=>{r.push(this.createOneAutoGroupColumn(e,t,i))}):r.push(this.createOneAutoGroupColumn(e)),r}createOneAutoGroupColumn(e,t,r){let i,o=this.generateDefaultColDef(t);i=t?`${mt}-${t.getId()}`:mt;if(W(o,this.gridOptionsService.get("autoGroupColumnDef")),o=this.columnFactory.mergeColDefs(o,i),o.colId=i,!this.gridOptionsService.isTreeData()){E(o.field)&&E(o.valueGetter)&&E(o.filterValueGetter)&&"agGroupColumnFilter"!==o.filter&&(o.filter=!1)}r&&r>0&&(o.headerCheckboxSelection=!1);const a=e.find(e=>e.getId()==i),n=this.gridOptionsService.isColumnsSortingCoupledToGroup();if(a)return n&&(o.sort=void 0,o.sortIndex=void 0),a.setColDef(o,null),this.columnFactory.applyColumnState(a,o),a;n&&(o.sort||o.initialSort||"sortIndex"in o)&&!o.field&&(o.sort=null,o.sortIndex=null,o.initialSort=null);const s=new Me(o,null,i,!0);return this.context.createBean(s),s}generateDefaultColDef(e){const t=this.gridOptionsService.get("autoGroupColumnDef"),r={headerName:this.localeService.getLocaleTextFunc()("group","Group")};if(t&&(t.cellRenderer||t.cellRendererSelector)||(r.cellRenderer="agGroupCellRenderer"),e){const t=e.getColDef();Object.assign(r,{headerName:this.columnModel.getDisplayNameForColumn(e,"header"),headerValueGetter:t.headerValueGetter}),t.cellRenderer&&Object.assign(r,{cellRendererParams:{innerRenderer:t.cellRenderer,innerRendererParams:t.cellRendererParams}}),r.showRowGroup=e.getColId()}else r.showRowGroup=!0;return r}};ft([Ce("columnModel")],wt.prototype,"columnModel",void 0),ft([Ce("columnFactory")],wt.prototype,"columnFactory",void 0),wt=ft([we("autoGroupColService")],wt);const Ct=/[&<>"']/g,bt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function yt(e){const t=String.fromCharCode;function r(e,r){return t(e>>r&63|128)}function i(e){if(e>=0&&e<=31&&10!==e){return`_x${e.toString(16).toUpperCase().padStart(4,"0")}_`}if(0==(4294967168&e))return t(e);let i="";return 0==(4294965248&e)?i=t(e>>6&31|192):0==(4294901760&e)?(!function(e){if(e>=55296&&e<=57343)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value")}(e),i=t(e>>12&15|224),i+=r(e,6)):0==(4292870144&e)&&(i=t(e>>18&7|240),i+=r(e,12),i+=r(e,6)),i+=t(63&e|128),i}const o=function(e){const t=[];if(!e)return[];const r=e.length;let i,o,a=0;for(;a<r;)i=e.charCodeAt(a++),i>=55296&&i<=56319&&a<r?(o=e.charCodeAt(a++),56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),a--)):t.push(i);return t}(e),a=o.length;let n,s=-1,l="";for(;++s<a;)n=o[s],l+=i(n);return l}function St(e){return e[0].toUpperCase()+e.substr(1).toLowerCase()}function Et(e,t){if(null==e)return null;const r=e.toString().toString();return t?r:r.replace(Ct,e=>bt[e])}function Rt(e){if(!e||null==e)return null;return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z])([a-z])/g,"$1 $2$3").replace(/\./g," ").split(" ").map(e=>e.substring(0,1).toUpperCase()+(e.length>1?e.substring(1,e.length):"")).join(" ")}function Tt(e){return e.replace(/[A-Z]/g,e=>"-"+e.toLocaleLowerCase())}function xt(e){const t=new Map;return e.forEach(e=>t.set(e[0],e[1])),t}function Dt(e,t){const r=new Map;return e.forEach(e=>r.set(t(e),e)),r}function At(e){const t=[];return e.forEach((e,r)=>t.push(r)),t}class Ot{}Ot.ColDefPropertyMap={headerName:void 0,columnGroupShow:void 0,headerClass:void 0,toolPanelClass:void 0,headerValueGetter:void 0,pivotKeys:void 0,groupId:void 0,colId:void 0,sort:void 0,initialSort:void 0,field:void 0,type:void 0,cellDataType:void 0,tooltipComponent:void 0,tooltipField:void 0,headerTooltip:void 0,cellClass:void 0,showRowGroup:void 0,filter:void 0,initialAggFunc:void 0,defaultAggFunc:void 0,aggFunc:void 0,pinned:void 0,initialPinned:void 0,chartDataType:void 0,cellEditorPopupPosition:void 0,headerGroupComponent:void 0,headerGroupComponentParams:void 0,cellStyle:void 0,cellRenderer:void 0,cellRendererParams:void 0,cellEditor:void 0,cellEditorParams:void 0,filterParams:void 0,pivotValueColumn:void 0,headerComponent:void 0,headerComponentParams:void 0,floatingFilterComponent:void 0,floatingFilterComponentParams:void 0,tooltipComponentParams:void 0,refData:void 0,columnsMenuParams:void 0,children:void 0,sortingOrder:void 0,allowedAggFuncs:void 0,menuTabs:void 0,pivotTotalColumnIds:void 0,cellClassRules:void 0,icons:void 0,sortIndex:void 0,initialSortIndex:void 0,flex:void 0,initialFlex:void 0,width:void 0,initialWidth:void 0,minWidth:void 0,maxWidth:void 0,rowGroupIndex:void 0,initialRowGroupIndex:void 0,pivotIndex:void 0,initialPivotIndex:void 0,suppressCellFlash:void 0,suppressColumnsToolPanel:void 0,suppressFiltersToolPanel:void 0,openByDefault:void 0,marryChildren:void 0,suppressStickyLabel:void 0,hide:void 0,initialHide:void 0,rowGroup:void 0,initialRowGroup:void 0,pivot:void 0,initialPivot:void 0,checkboxSelection:void 0,showDisabledCheckboxes:void 0,headerCheckboxSelection:void 0,headerCheckboxSelectionFilteredOnly:void 0,headerCheckboxSelectionCurrentPageOnly:void 0,suppressMenu:void 0,suppressMovable:void 0,lockPosition:void 0,lockVisible:void 0,lockPinned:void 0,unSortIcon:void 0,suppressSizeToFit:void 0,suppressAutoSize:void 0,enableRowGroup:void 0,enablePivot:void 0,enableValue:void 0,editable:void 0,suppressPaste:void 0,suppressNavigable:void 0,enableCellChangeFlash:void 0,rowDrag:void 0,dndSource:void 0,autoHeight:void 0,wrapText:void 0,sortable:void 0,resizable:void 0,singleClickEdit:void 0,floatingFilter:void 0,cellEditorPopup:void 0,suppressFillHandle:void 0,wrapHeaderText:void 0,autoHeaderHeight:void 0,dndSourceOnRowDrag:void 0,valueGetter:void 0,valueSetter:void 0,filterValueGetter:void 0,keyCreator:void 0,valueFormatter:void 0,valueParser:void 0,comparator:void 0,equals:void 0,pivotComparator:void 0,suppressKeyboardEvent:void 0,suppressHeaderKeyboardEvent:void 0,colSpan:void 0,rowSpan:void 0,getQuickFilterText:void 0,onCellValueChanged:void 0,onCellClicked:void 0,onCellDoubleClicked:void 0,onCellContextMenu:void 0,rowDragText:void 0,tooltipValueGetter:void 0,cellRendererSelector:void 0,cellEditorSelector:void 0,suppressSpanHeaderHeight:void 0,useValueFormatterForExport:void 0,useValueParserForImport:void 0},Ot.ALL_PROPERTIES=Object.keys(Ot.ColDefPropertyMap);class Mt{}Mt.STRING_PROPERTIES=["rowSelection","overlayLoadingTemplate","overlayNoRowsTemplate","gridId","quickFilterText","rowModelType","editType","domLayout","clipboardDelimiter","rowGroupPanelShow","multiSortKey","pivotColumnGroupTotals","pivotRowTotals","pivotPanelShow","fillHandleDirection","serverSideStoreType","groupDisplayType","treeDataDisplayType","colResizeDefault"],Mt.OBJECT_PROPERTIES=["components","rowStyle","context","autoGroupColumnDef","localeText","icons","datasource","serverSideDatasource","viewportDatasource","groupRowRendererParams","aggFuncs","fullWidthCellRendererParams","defaultColGroupDef","defaultColDef","defaultCsvExportParams","defaultExcelExportParams","columnTypes","rowClassRules","detailCellRendererParams","loadingCellRendererParams","loadingOverlayComponentParams","noRowsOverlayComponentParams","popupParent","statusBar","sideBar","chartThemeOverrides","customChartThemes","chartToolPanelsDef","dataTypeDefinitions"],Mt.ARRAY_PROPERTIES=["sortingOrder","alignedGrids","rowData","columnDefs","excelStyles","pinnedTopRowData","pinnedBottomRowData","chartThemes","rowClass"],Mt.NUMBER_PROPERTIES=["rowHeight","detailRowHeight","rowBuffer","headerHeight","groupHeaderHeight","floatingFiltersHeight","pivotHeaderHeight","pivotGroupHeaderHeight","groupDefaultExpanded","viewportRowModelPageSize","viewportRowModelBufferSize","autoSizePadding","maxBlocksInCache","maxConcurrentDatasourceRequests","tooltipShowDelay","tooltipHideDelay","cacheOverflowSize","paginationPageSize","cacheBlockSize","infiniteInitialRowCount","serverSideInitialRowCount","scrollbarWidth","asyncTransactionWaitMillis","blockLoadDebounceMillis","keepDetailRowsCount","undoRedoCellEditingLimit","cellFlashDelay","cellFadeDelay","tabIndex"],Mt.BOOLEAN_PROPERTIES=["suppressMakeColumnVisibleAfterUnGroup","suppressRowClickSelection","suppressCellFocus","suppressHorizontalScroll","alwaysShowHorizontalScroll","alwaysShowVerticalScroll","debug","enableBrowserTooltips","enableCellExpressions","groupSelectsChildren","groupIncludeFooter","groupIncludeTotalFooter","groupSuppressBlankHeader","suppressMenuHide","suppressRowDeselection","unSortIcon","suppressMultiSort","alwaysMultiSort","singleClickEdit","suppressLoadingOverlay","suppressNoRowsOverlay","suppressAutoSize","skipHeaderOnAutoSize","suppressParentsInRowNodes","suppressColumnMoveAnimation","suppressMovableColumns","suppressFieldDotNotation","enableRangeSelection","enableRangeHandle","enableFillHandle","suppressClearOnFillReduction","deltaSort","suppressTouch","suppressAsyncEvents","allowContextMenuWithControlKey","suppressContextMenu","rememberGroupStateWhenNewData","enableCellChangeFlash","suppressDragLeaveHidesColumns","suppressRowGroupHidesColumns","suppressMiddleClickScrolls","suppressPreventDefaultOnMouseWheel","suppressCopyRowsToClipboard","copyHeadersToClipboard","copyGroupHeadersToClipboard","pivotMode","suppressAggFuncInHeader","suppressColumnVirtualisation","alwaysAggregateAtRootLevel","suppressAggAtRootLevel","suppressFocusAfterRefresh","functionsPassive","functionsReadOnly","animateRows","groupSelectsFiltered","groupRemoveSingleChildren","groupRemoveLowestSingleChildren","enableRtl","suppressClickEdit","rowDragEntireRow","rowDragManaged","suppressRowDrag","suppressMoveWhenRowDragging","rowDragMultiRow","enableGroupEdit","embedFullWidthRows","suppressPaginationPanel","groupHideOpenParents","groupAllowUnbalanced","pagination","paginationAutoPageSize","suppressScrollOnNewData","suppressScrollWhenPopupsAreOpen","purgeClosedRowNodes","cacheQuickFilter","includeHiddenColumnsInQuickFilter","excludeHiddenColumnsFromQuickFilter","ensureDomOrder","accentedSort","suppressChangeDetection","valueCache","valueCacheNeverExpires","aggregateOnlyChangedColumns","suppressAnimationFrame","suppressExcelExport","suppressCsvExport","treeData","masterDetail","suppressMultiRangeSelection","enterMovesDown","enterMovesDownAfterEdit","enterNavigatesVerticallyAfterEdit","enterNavigatesVertically","suppressPropertyNamesCheck","rowMultiSelectWithClick","suppressRowHoverHighlight","suppressRowTransform","suppressClipboardPaste","suppressLastEmptyLineOnPaste","enableCharts","enableChartToolPanelsButton","suppressChartToolPanelsButton","suppressMaintainUnsortedOrder","enableCellTextSelection","suppressBrowserResizeObserver","suppressMaxRenderedRowRestriction","excludeChildrenWhenTreeDataFiltering","tooltipMouseTrack","keepDetailRows","paginateChildRows","preventDefaultOnContextMenu","undoRedoCellEditing","allowDragFromColumnsToolPanel","pivotSuppressAutoColumn","suppressExpandablePivotGroups","debounceVerticalScrollbar","detailRowAutoHeight","serverSideFilteringAlwaysResets","serverSideFilterAllLevels","serverSideSortingAlwaysResets","serverSideSortAllLevels","serverSideOnlyRefreshFilteredGroups","serverSideSortOnServer","serverSideFilterOnServer","suppressAggFilteredOnly","showOpenedGroup","suppressClipboardApi","suppressModelUpdateAfterUpdateTransaction","stopEditingWhenCellsLoseFocus","maintainColumnOrder","groupMaintainOrder","columnHoverHighlight","suppressReactUi","readOnlyEdit","suppressRowVirtualisation","enableCellEditingOnBackspace","resetRowDataOnUpdate","removePivotHeaderRowWhenSingleValueColumn","suppressCopySingleCellRanges","suppressGroupRowsSticky","suppressServerSideInfiniteScroll","rowGroupPanelSuppressSort","allowShowChangeAfterFilter","suppressCutToClipboard"],Mt.FUNCTIONAL_PROPERTIES=["doesExternalFilterPass","processSecondaryColDef","processSecondaryColGroupDef","processPivotResultColDef","processPivotResultColGroupDef","getBusinessKeyForNode","isRowSelectable","rowDragText","groupRowRenderer","fullWidthCellRenderer","loadingCellRenderer","loadingOverlayComponent","noRowsOverlayComponent","detailCellRenderer"],Mt.CALLBACK_PROPERTIES=["getLocaleText","isExternalFilterPresent","getRowHeight","getRowClass","getRowStyle","getContextMenuItems","getMainMenuItems","processRowPostCreate","processCellForClipboard","getGroupRowAgg","isFullWidthRow","sendToClipboard","navigateToNextHeader","tabToNextHeader","navigateToNextCell","tabToNextCell","processCellFromClipboard","getDocument","postProcessPopup","getChildCount","getDataPath","isRowMaster","postSortRows","processHeaderForClipboard","processGroupHeaderForClipboard","paginationNumberFormatter","processDataFromClipboard","getServerSideGroupKey","isServerSideGroup","createChartContainer","getChartToolbarItems","fillOperation","isApplyServerSideTransaction","getServerSideStoreParams","getServerSideGroupLevelParams","isServerSideGroupOpenByDefault","isGroupOpenByDefault","initialGroupOrderComparator","loadingCellRendererSelector","getRowId","groupAggFiltering"],Mt.FUNCTION_PROPERTIES=[...Mt.FUNCTIONAL_PROPERTIES,...Mt.CALLBACK_PROPERTIES],Mt.ALL_PROPERTIES=[...Mt.ARRAY_PROPERTIES,...Mt.OBJECT_PROPERTIES,...Mt.STRING_PROPERTIES,...Mt.NUMBER_PROPERTIES,...Mt.FUNCTION_PROPERTIES,...Mt.BOOLEAN_PROPERTIES];class Pt{static getCallbackForEvent(e){return!e||e.length<2?e:"on"+e[0].toUpperCase()+e.substr(1)}static getCoercionLookup(){let e={};return[...Pt.ARRAY_PROPERTIES,...Pt.OBJECT_PROPERTIES,...Pt.STRING_PROPERTIES,...Pt.FUNCTION_PROPERTIES,...Pt.EVENT_CALLBACKS].forEach(t=>e[t]="none"),Pt.BOOLEAN_PROPERTIES.forEach(t=>e[t]="boolean"),Pt.NUMBER_PROPERTIES.forEach(t=>e[t]="number"),e}static getValue(e,t){const r=Pt.coercionLookup[e];if(r){let i=t;switch(r){case"number":i=Pt.toNumber(t);break;case"boolean":i=Pt.toBoolean(t);break;case"none":"groupAggFiltering"===e&&"function"!=typeof t&&(i=Pt.toBoolean(t))}return i}}static getGridOptionKeys(e,t){return t?Object.keys(Pt.coercionLookup):Object.keys(e)}static copyAttributesToGridOptions(e,t,r=!1){"object"!=typeof e&&(e={});const i=e;return Pt.getGridOptionKeys(t,r).forEach(e=>{const r=t[e];if(void 0!==r){const t=Pt.getValue(e,r);void 0!==t&&(i[e]=t)}}),e}static processOnChange(e,t){if(!e||0===Object.keys(e).length)return;const r=Object.assign({},e);r.columnTypes&&(t.setColumnTypes(r.columnTypes.currentValue,"gridOptionsChanged"),delete r.columnTypes),r.autoGroupColumnDef&&(t.setAutoGroupColumnDef(r.autoGroupColumnDef.currentValue,"gridOptionsChanged"),delete r.autoGroupColumnDef),r.defaultColDef&&(t.setDefaultColDef(r.defaultColDef.currentValue,"gridOptionsChanged"),delete r.defaultColDef),r.columnDefs&&(t.setColumnDefs(r.columnDefs.currentValue,"gridOptionsChanged"),delete r.columnDefs),Object.keys(r).forEach(e=>{const i=e,o=Pt.getValue(i,r[i].currentValue);t.__setProperty(i,o)});const i={type:ht.EVENT_COMPONENT_STATE_CHANGED};I(e,(e,t)=>{i[e]=t}),t.dispatchEvent(i)}static toBoolean(e){return"boolean"==typeof e?e:"string"==typeof e&&("TRUE"===e.toUpperCase()||""==e)}static toNumber(e){return"number"==typeof e?e:"string"==typeof e?Number(e):void 0}}function Nt(e,t,r){const i={},o=e.filter(e=>!t.some(t=>t===e));return o.length>0&&o.forEach(e=>i[e]=Lt(e,r)),i}function Lt(e,t,r,i){let o=t.map(t=>({value:t,relevance:It(e.toLowerCase(),t.toLocaleLowerCase())}));if(o.sort((e,t)=>t.relevance-e.relevance),r&&(o=o.filter(e=>0!==e.relevance)),i&&i>0){const e=o[0].relevance*i;o=o.filter(t=>e-t.relevance<0)}return o.map(e=>e.value)}function It(e,t){const r=e.replace(/\s/g,""),i=t.replace(/\s/g,"");let o=0,a=-1;for(let e=0;e<r.length;e++){const t=i.indexOf(r[e],a+1);-1!==t&&(a=t,o+=100-100*a/1e4*100)}return o}Pt.EVENTS=N(ht),Pt.EXCLUDED_INTERNAL_EVENTS=[ht.EVENT_SCROLLBAR_WIDTH_CHANGED,ht.EVENT_CHECKBOX_CHANGED,ht.EVENT_HEIGHT_SCALE_CHANGED,ht.EVENT_BODY_HEIGHT_CHANGED,ht.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,ht.EVENT_SCROLL_VISIBILITY_CHANGED,ht.EVENT_COLUMN_HOVER_CHANGED,ht.EVENT_FLASH_CELLS,ht.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED,ht.EVENT_DISPLAYED_ROWS_CHANGED,ht.EVENT_LEFT_PINNED_WIDTH_CHANGED,ht.EVENT_RIGHT_PINNED_WIDTH_CHANGED,ht.EVENT_ROW_CONTAINER_HEIGHT_CHANGED,ht.EVENT_POPUP_TO_FRONT,ht.EVENT_KEYBOARD_FOCUS,ht.EVENT_MOUSE_FOCUS,ht.EVENT_STORE_UPDATED,ht.EVENT_COLUMN_PANEL_ITEM_DRAG_START,ht.EVENT_COLUMN_PANEL_ITEM_DRAG_END,ht.EVENT_FILL_START,ht.EVENT_FILL_END,ht.EVENT_KEY_SHORTCUT_CHANGED_CELL_START,ht.EVENT_KEY_SHORTCUT_CHANGED_CELL_END,ht.EVENT_FULL_WIDTH_ROW_FOCUSED,ht.EVENT_HEADER_HEIGHT_CHANGED,ht.EVENT_COLUMN_HEADER_HEIGHT_CHANGED,ht.EVENT_CELL_FOCUS_CLEARED,ht.EVENT_GRID_STYLES_CHANGED,ht.EVENT_FILTER_DESTROYED,ht.EVENT_ROW_DATA_UPDATE_STARTED],Pt.PUBLIC_EVENTS=Pt.EVENTS.filter(e=>!Ke(Pt.EXCLUDED_INTERNAL_EVENTS,e)),Pt.EVENT_CALLBACKS=Pt.EVENTS.map(e=>Pt.getCallbackForEvent(e)),Pt.STRING_PROPERTIES=Mt.STRING_PROPERTIES,Pt.OBJECT_PROPERTIES=Mt.OBJECT_PROPERTIES,Pt.ARRAY_PROPERTIES=Mt.ARRAY_PROPERTIES,Pt.NUMBER_PROPERTIES=Mt.NUMBER_PROPERTIES,Pt.BOOLEAN_PROPERTIES=Mt.BOOLEAN_PROPERTIES,Pt.FUNCTION_PROPERTIES=Mt.FUNCTION_PROPERTIES,Pt.ALL_PROPERTIES=Mt.ALL_PROPERTIES,Pt.ALL_PROPERTIES_SET=new Set(Mt.ALL_PROPERTIES),Pt.coercionLookup=Pt.getCoercionLookup();var zt=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};function Ft(e,t,r,i){const o=r?`Please use '${r}' instead. `:"";J(()=>console.warn(`AG Grid: since v${e}, '${t}' is deprecated. ${o}${null!=i?i:""}`),"Deprecated_"+t)}const kt=["__ob__","__v_skip","__metadata__"];let Gt=class{constructor(){this.deprecatedProperties={rememberGroupStateWhenNewData:{version:"24",message:"Now that transaction updates are possible and they keep group state, this feature is no longer needed."},serverSideFilteringAlwaysResets:{version:"28.0",newProp:"serverSideOnlyRefreshFilteredGroups",copyToNewProp:!0},serverSideSortingAlwaysResets:{version:"28.0",newProp:"serverSideSortAllLevels",copyToNewProp:!0},suppressReactUi:{version:"28",message:"The legacy React rendering engine is deprecated and will be removed in the next major version of the grid."},processSecondaryColDef:{version:"28",newProp:"processPivotResultColDef",copyToNewProp:!0},processSecondaryColGroupDef:{version:"28",newProp:"processPivotResultColGroupDef",copyToNewProp:!0},getServerSideStoreParams:{version:"28",newProp:"getServerSideGroupLevelParams",copyToNewProp:!0},serverSideInfiniteScroll:{version:"29",message:"Infinite Scrolling is now the default behaviour. This can be suppressed with `suppressServerSideInfiniteScroll`."},enableChartToolPanelsButton:{version:"29",message:"The Chart Tool Panels button is now enabled by default. To hide the Chart Tool Panels button and display the hamburger button instead, set suppressChartToolPanelsButton=true."},functionsPassive:{version:"29.2"},onColumnRowGroupChangeRequest:{version:"29.2"},onColumnPivotChangeRequest:{version:"29.2"},onColumnValueChangeRequest:{version:"29.2"},onColumnAggFuncChangeRequest:{version:"29.2"},serverSideFilterAllLevels:{version:"30",message:"All server-side group levels are now filtered by default. This can be toggled using `serverSideOnlyRefreshFilteredGroups`."},suppressAggAtRootLevel:{version:"30",message:"The root level aggregation is now suppressed by default. This can be toggled using `alwaysAggregateAtRootLevel`."},excludeHiddenColumnsFromQuickFilter:{version:"30",message:"Hidden columns are now excluded from the Quick Filter by default. This can be toggled using `includeHiddenColumnsInQuickFilter`."},enterMovesDown:{version:"30",newProp:"enterNavigatesVertically",copyToNewProp:!0},enterMovesDownAfterEdit:{version:"30",newProp:"enterNavigatesVerticallyAfterEdit",copyToNewProp:!0}}}pickOneWarning(e,t){console.warn(`AG Grid: ${e} and ${t} do not work with each other, you need to pick one.`)}init(){if(this.checkForDeprecated(),this.checkForViolations(),!0!==this.gridOptions.suppressPropertyNamesCheck&&(this.checkGridOptionsProperties(),this.checkColumnDefProperties()),this.checkColumnDefViolations(),this.gridOptionsService.is("groupSelectsChildren")&&this.gridOptionsService.is("suppressParentsInRowNodes")&&console.warn("AG Grid: 'groupSelectsChildren' does not work with 'suppressParentsInRowNodes', this selection method needs the part in rowNode to work"),this.gridOptionsService.is("groupSelectsChildren")&&"multiple"!==this.gridOptionsService.get("rowSelection")&&console.warn("AG Grid: rowSelection must be 'multiple' for groupSelectsChildren to make sense"),this.gridOptionsService.is("groupRemoveSingleChildren")&&this.gridOptionsService.is("groupHideOpenParents")&&this.pickOneWarning("groupRemoveSingleChildren","groupHideOpenParents"),this.gridOptionsService.isRowModelType("serverSide")){const e=(e,t)=>`AG Grid: '${e}' is not supported on the Server-Side Row Model.`+(t?` Please use ${t} instead.`:"");this.gridOptionsService.exists("groupDefaultExpanded")&&console.warn(e("groupDefaultExpanded","isServerSideGroupOpenByDefault callback")),this.gridOptionsService.exists("groupIncludeFooter")&&this.gridOptionsService.is("suppressServerSideInfiniteScroll")&&console.warn(e("groupIncludeFooter")),this.gridOptionsService.exists("groupIncludeTotalFooter")&&console.warn(e("groupIncludeTotalFooter"))}this.gridOptionsService.is("enableRangeSelection")?pe.__assertRegistered(ue.RangeSelectionModule,"enableRangeSelection",this.gridOptionsService.getGridId()):(this.gridOptionsService.is("enableRangeHandle")||this.gridOptionsService.is("enableFillHandle"))&&console.warn("AG Grid: 'enableRangeHandle' or 'enableFillHandle' will not work unless 'enableRangeSelection' is set to true");const e=(e,t)=>this.gridOptionsService.exists(e)&&pe.__assertRegistered(t,e,this.gridOptionsService.getGridId());e("sideBar",ue.SideBarModule),e("statusBar",ue.StatusBarModule),e("enableCharts",ue.GridChartsModule),e("getMainMenuItems",ue.MenuModule),e("getContextMenuItems",ue.MenuModule),e("allowContextMenuWithControlKey",ue.MenuModule)}checkColumnDefProperties(){if(null==this.gridOptions.columnDefs)return;const e=Ot.ALL_PROPERTIES,t=(r,i)=>{const o=Object.getOwnPropertyNames(r);this.checkProperties(o,[...e,...kt],e,i,"https://www.ag-grid.com/javascript-data-grid/column-properties/"),r.children&&r.children.forEach(e=>t(e,"columnDefs.children"))};this.gridOptions.columnDefs.forEach(e=>t(e,"columnDefs")),this.gridOptions.defaultColDef&&t(this.gridOptions.defaultColDef,"defaultColDef")}checkColumnDefViolations(){var e;const t=null!==(e=this.gridOptionsService.get("rowModelType"))&&void 0!==e?e:"clientSide",r={infinite:["headerCheckboxSelection","headerCheckboxSelectionFilteredOnly","headerCheckboxSelectionCurrentPageOnly"],viewport:["headerCheckboxSelection","headerCheckboxSelectionFilteredOnly","headerCheckboxSelectionCurrentPageOnly"],serverSide:["headerCheckboxSelectionFilteredOnly","headerCheckboxSelectionCurrentPageOnly"],clientSide:[]}[t];if(!(null==r?void 0:r.length))return;const i=e=>{r.forEach(r=>{r in e&&e[r]&&console.warn(`AG Grid: Column property ${r} is not supported with the row model type ${t}.`)})};null!=this.gridOptions.columnDefs&&this.gridOptions.columnDefs.forEach(e=>i(e)),null!=this.gridOptions.autoGroupColumnDef&&i(this.gridOptions.autoGroupColumnDef),null!=this.gridOptions.defaultColDef&&i(this.gridOptions.defaultColDef)}checkGridOptionsProperties(){const e=Object.getOwnPropertyNames(this.gridOptions),t=[...Mt.ALL_PROPERTIES,...Pt.EVENT_CALLBACKS],r=[...t,"api","columnApi",...kt,...Object.keys(this.deprecatedProperties)];this.checkProperties(e,r,t,"gridOptions","https://www.ag-grid.com/javascript-data-grid/grid-options/")}checkProperties(e,t,r,i,o){const a=Nt(e,t,r);I(a,(e,t)=>{J(()=>console.warn(`AG Grid: invalid ${i} property '${e}' did you mean any of these: ${t.slice(0,8).join(", ")}`),"invalidProperty"+i+e)}),Object.keys(a).length>0&&J(()=>console.warn(`AG Grid: to see all the valid ${i} properties please check: ${o}`),"invalidProperties"+i+o)}checkForDeprecated(){const e=this.gridOptions;Object.entries(this.deprecatedProperties).forEach(([t,r])=>{var i;const o=e[t];o&&(Ft(r.version,t,r.newProp,r.message),r.copyToNewProp&&r.newProp&&null==e[r.newProp]&&(e[r.newProp]=null!==(i=r.newPropValue)&&void 0!==i?i:o))}),e.serverSideStoreType&&(console.warn("AG Grid: since v29.0, `serverSideStoreType` has been replaced by `suppressServerSideInfiniteScroll`. Set to false to use Partial Store, and true to use Full Store."),e.suppressServerSideInfiniteScroll="partial"!==e.serverSideStoreType)}checkForViolations(){this.gridOptionsService.is("treeData")&&this.treeDataViolations()}treeDataViolations(){this.gridOptionsService.isRowModelType("clientSide")&&(this.gridOptionsService.exists("getDataPath")||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.gridOptionsService.isRowModelType("serverSide")&&(this.gridOptionsService.exists("isServerSideGroup")||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."),this.gridOptionsService.exists("getServerSideGroupKey")||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."))}};function Ht(e,t){const r=["groupRows","multipleColumns","custom","singleColumn"];return r.indexOf(t)<0?(console.warn(`AG Grid: '${t}' is not a valid groupDisplayType value - possible values are: '${r.join("', '")}'`),!1):t===e}zt([Ce("gridOptions")],Gt.prototype,"gridOptions",void 0),zt([Ce("gridOptionsService")],Gt.prototype,"gridOptionsService",void 0),zt([fe],Gt.prototype,"init",null),Gt=zt([we("gridOptionsValidator")],Gt);var Vt=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},_t=function(e,t){return function(r,i){t(r,i,e)}},Bt=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(r[i[o]]=e[i[o]])}return r};let jt=class extends lt{constructor(){super(...arguments),this.primaryHeaderRowCount=0,this.secondaryHeaderRowCount=0,this.gridHeaderRowCount=0,this.displayedColumnsLeft=[],this.displayedColumnsRight=[],this.displayedColumnsCenter=[],this.displayedColumns=[],this.displayedColumnsAndGroupsMap={},this.viewportColumns=[],this.viewportColumnsHash="",this.headerViewportColumns=[],this.viewportColumnsCenter=[],this.headerViewportColumnsCenter=[],this.autoHeightActiveAtLeastOnce=!1,this.rowGroupColumns=[],this.valueColumns=[],this.pivotColumns=[],this.ready=!1,this.autoGroupsNeedBuilding=!1,this.forceRecreateAutoGroups=!1,this.pivotMode=!1,this.bodyWidth=0,this.leftWidth=0,this.rightWidth=0,this.bodyWidthDirty=!0,this.shouldQueueResizeOperations=!1,this.resizeOperationQueue=[]}init(){this.suppressColumnVirtualisation=this.gridOptionsService.is("suppressColumnVirtualisation");const e=this.gridOptionsService.is("pivotMode");this.isPivotSettingAllowed(e)&&(this.pivotMode=e),this.usingTreeData=this.gridOptionsService.isTreeData(),this.addManagedPropertyListener("groupDisplayType",()=>this.onAutoGroupColumnDefChanged()),this.addManagedPropertyListener("autoGroupColumnDef",()=>this.onAutoGroupColumnDefChanged()),this.addManagedPropertyListener("defaultColDef",e=>this.onSharedColDefChanged(e.source)),this.addManagedPropertyListener("columnTypes",e=>this.onSharedColDefChanged(e.source))}onAutoGroupColumnDefChanged(){this.columnDefs&&(this.autoGroupsNeedBuilding=!0,this.forceRecreateAutoGroups=!0,this.updateGridColumns(),this.updateDisplayedColumns("gridOptionsChanged"))}onSharedColDefChanged(e="api"){this.forceRecreateAutoGroups=!0,this.createColumnsFromColumnDefs(!0,e)}setColumnDefs(e,t="api"){const r=!!this.columnDefs;this.columnDefs=e,this.createColumnsFromColumnDefs(r,t)}recreateColumnDefs(e="api"){this.onSharedColDefChanged(e)}destroyOldColumns(e,t){const r={};if(!e)return;this.columnUtils.depthFirstOriginalTreeSearch(null,e,e=>{r[e.getInstanceId()]=e}),t&&this.columnUtils.depthFirstOriginalTreeSearch(null,t,e=>{r[e.getInstanceId()]=null});const i=Object.values(r).filter(e=>null!=e);this.destroyBeans(i)}destroyColumns(){this.destroyOldColumns(this.primaryColumnTree),this.destroyOldColumns(this.secondaryBalancedTree),this.destroyOldColumns(this.groupAutoColsBalancedTree)}createColumnsFromColumnDefs(e,t="api"){const r=e?this.compareColumnStatesAndDispatchEvents(t):void 0;this.valueCache.expire(),this.autoGroupsNeedBuilding=!0;const i=this.primaryColumns,o=this.primaryColumnTree,a=this.columnFactory.createColumnTree(this.columnDefs,!0,o);this.destroyOldColumns(this.primaryColumnTree,a.columnTree),this.primaryColumnTree=a.columnTree,this.primaryHeaderRowCount=a.treeDept+1,this.primaryColumns=this.getColumnsFromTree(this.primaryColumnTree),this.primaryColumnsMap={},this.primaryColumns.forEach(e=>this.primaryColumnsMap[e.getId()]=e),this.extractRowGroupColumns(t,i),this.extractPivotColumns(t,i),this.extractValueColumns(t,i),this.ready=!0;const n=void 0===this.gridColsArePrimary;(this.gridColsArePrimary||n)&&(this.updateGridColumns(),e&&!this.gridOptionsService.is("maintainColumnOrder")&&this.orderGridColumnsLikePrimary(),this.updateDisplayedColumns(t),this.checkViewportColumns()),this.dispatchEverythingChanged(t),r&&r(),this.dispatchNewColumnsLoaded()}dispatchNewColumnsLoaded(){const e={type:ht.EVENT_NEW_COLUMNS_LOADED};this.eventService.dispatchEvent(e)}dispatchEverythingChanged(e="api"){const t={type:ht.EVENT_COLUMN_EVERYTHING_CHANGED,source:e};this.eventService.dispatchEvent(t)}orderGridColumnsLikePrimary(){const e=this.primaryColumns;e&&(this.gridColumns.sort((t,r)=>{const i=e.indexOf(t),o=e.indexOf(r),a=i>=0,n=o>=0;if(a&&n)return i-o;if(a)return 1;if(n)return-1;return this.gridColumns.indexOf(t)-this.gridColumns.indexOf(r)}),this.gridColumns=this.placeLockedColumns(this.gridColumns))}getAllDisplayedAutoHeightCols(){return this.displayedAutoHeightCols}setViewport(){this.gridOptionsService.is("enableRtl")?(this.viewportLeft=this.bodyWidth-this.scrollPosition-this.scrollWidth,this.viewportRight=this.bodyWidth-this.scrollPosition):(this.viewportLeft=this.scrollPosition,this.viewportRight=this.scrollWidth+this.scrollPosition)}getDisplayedColumnsStartingAt(e){let t=e;const r=[];for(;null!=t;)r.push(t),t=this.getDisplayedColAfter(t);return r}checkViewportColumns(){if(null==this.displayedColumnsCenter)return;if(!this.extractViewport())return;const e={type:ht.EVENT_VIRTUAL_COLUMNS_CHANGED};this.eventService.dispatchEvent(e)}setViewportPosition(e,t){(e!==this.scrollWidth||t!==this.scrollPosition||this.bodyWidthDirty)&&(this.scrollWidth=e,this.scrollPosition=t,this.bodyWidthDirty=!0,this.setViewport(),this.ready&&this.checkViewportColumns())}isPivotMode(){return this.pivotMode}isPivotSettingAllowed(e){return!e||!this.gridOptionsService.isTreeData()||(console.warn("AG Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'"),!1)}setPivotMode(e,t="api"){if(e===this.pivotMode||!this.isPivotSettingAllowed(this.pivotMode))return;this.pivotMode=e,this.autoGroupsNeedBuilding=!0,this.updateGridColumns(),this.updateDisplayedColumns(t);const r={type:ht.EVENT_COLUMN_PIVOT_MODE_CHANGED};this.eventService.dispatchEvent(r)}getSecondaryPivotColumn(e,t){if(E(this.secondaryColumns))return null;const r=this.getPrimaryColumn(t);let i=null;return this.secondaryColumns.forEach(t=>{const o=t.getColDef().pivotKeys,a=t.getColDef().pivotValueColumn;ke(o,e)&&a===r&&(i=t)}),i}setBeans(e){this.logger=e.create("columnModel")}setFirstRightAndLastLeftPinned(e){let t,r;this.gridOptionsService.is("enableRtl")?(t=this.displayedColumnsLeft?this.displayedColumnsLeft[0]:null,r=this.displayedColumnsRight?Fe(this.displayedColumnsRight):null):(t=this.displayedColumnsLeft?Fe(this.displayedColumnsLeft):null,r=this.displayedColumnsRight?this.displayedColumnsRight[0]:null),this.gridColumns.forEach(i=>{i.setLastLeftPinned(i===t,e),i.setFirstRightPinned(i===r,e)})}autoSizeColumns(e){if(this.shouldQueueResizeOperations)return void this.resizeOperationQueue.push(()=>this.autoSizeColumns(e));const{columns:t,skipHeader:r,skipHeaderGroups:i,stopAtGroup:o,source:a="api"}=e;this.animationFrameService.flushAllFrames();const n=[];let s=-1;const l=null!=r?r:this.gridOptionsService.is("skipHeaderOnAutoSize"),g=null!=i?i:l;for(;0!==s;)s=0,this.actionOnGridColumns(t,e=>{if(n.indexOf(e)>=0)return!1;const t=this.autoWidthCalculator.getPreferredWidthForColumn(e,l);if(t>0){const r=this.normaliseColumnWidth(e,t);e.setActualWidth(r,a),n.push(e),s++}return!0},a);g||this.autoSizeColumnGroupsByColumns(t,a,o),this.dispatchColumnResizedEvent(n,!0,"autosizeColumns")}dispatchColumnResizedEvent(e,t,r,i=null){if(e&&e.length){const o={type:ht.EVENT_COLUMN_RESIZED,columns:e,column:1===e.length?e[0]:null,flexColumns:i,finished:t,source:r};this.eventService.dispatchEvent(o)}}dispatchColumnChangedEvent(e,t,r){const i={type:e,columns:t,column:t&&1==t.length?t[0]:null,source:r};this.eventService.dispatchEvent(i)}dispatchColumnMovedEvent(e){const{movedColumns:t,source:r,toIndex:i,finished:o}=e,a={type:ht.EVENT_COLUMN_MOVED,columns:t,column:t&&1===t.length?t[0]:null,toIndex:i,finished:o,source:r};this.eventService.dispatchEvent(a)}dispatchColumnPinnedEvent(e,t){if(!e.length)return;const r=1===e.length?e[0]:null,i=this.getCommonValue(e,e=>e.getPinned()),o={type:ht.EVENT_COLUMN_PINNED,pinned:null!=i?i:null,columns:e,column:r,source:t};this.eventService.dispatchEvent(o)}dispatchColumnVisibleEvent(e,t){if(!e.length)return;const r=1===e.length?e[0]:null,i=this.getCommonValue(e,e=>e.isVisible()),o={type:ht.EVENT_COLUMN_VISIBLE,visible:i,columns:e,column:r,source:t};this.eventService.dispatchEvent(o)}autoSizeColumn(e,t,r="api"){e&&this.autoSizeColumns({columns:[e],skipHeader:t,skipHeaderGroups:!0,source:r})}autoSizeColumnGroupsByColumns(e,t,r){const i=new Set;let o;this.getGridColumns(e).forEach(e=>{let t=e.getParent();for(;t&&t!=r;)t.isPadding()||i.add(t),t=t.getParent()});for(const e of i){for(const t of this.ctrlsService.getHeaderRowContainerCtrls())if(o=t.getHeaderCtrlForColumn(e),o)break;o&&o.resizeLeafColumnsToFit(t)}return[]}autoSizeAllColumns(e,t="api"){if(this.shouldQueueResizeOperations)return void this.resizeOperationQueue.push(()=>this.autoSizeAllColumns(e,t));const r=this.getAllDisplayedColumns();this.autoSizeColumns({columns:r,skipHeader:e,source:t})}getColumnsFromTree(e){const t=[],r=e=>{for(let i=0;i<e.length;i++){const o=e[i];o instanceof Me?t.push(o):o instanceof Ne&&r(o.getChildren())}};return r(e),t}getAllDisplayedTrees(){return this.displayedTreeLeft&&this.displayedTreeRight&&this.displayedTreeCentre?this.displayedTreeLeft.concat(this.displayedTreeCentre).concat(this.displayedTreeRight):null}getPrimaryColumnTree(){return this.primaryColumnTree}getHeaderRowCount(){return this.gridHeaderRowCount}getDisplayedTreeLeft(){return this.displayedTreeLeft}getDisplayedTreeRight(){return this.displayedTreeRight}getDisplayedTreeCentre(){return this.displayedTreeCentre}isColumnDisplayed(e){return this.getAllDisplayedColumns().indexOf(e)>=0}getAllDisplayedColumns(){return this.displayedColumns}getViewportColumns(){return this.viewportColumns}getDisplayedLeftColumnsForRow(e){return this.colSpanActive?this.getDisplayedColumnsForRow(e,this.displayedColumnsLeft):this.displayedColumnsLeft}getDisplayedRightColumnsForRow(e){return this.colSpanActive?this.getDisplayedColumnsForRow(e,this.displayedColumnsRight):this.displayedColumnsRight}isColSpanActive(){return this.colSpanActive}getDisplayedColumnsForRow(e,t,r,i){const o=[];let a=null;for(let n=0;n<t.length;n++){const s=t[n],l=t.length-n,g=Math.min(s.getColSpan(e),l),d=[s];if(g>1){const e=g-1;for(let r=1;r<=e;r++)d.push(t[n+r]);n+=e}let c;if(r?(c=!1,d.forEach(e=>{r(e)&&(c=!0)})):c=!0,c){if(0===o.length&&a){!!i&&i(s)&&o.push(a)}o.push(s)}a=s}return o}getViewportCenterColumnsForRow(e){if(!this.colSpanActive)return this.viewportColumnsCenter;const t=this.suppressColumnVirtualisation?null:this.isColumnInRowViewport.bind(this);return this.getDisplayedColumnsForRow(e,this.displayedColumnsCenter,t,e=>{const t=e.getLeft();return S(t)&&t>this.viewportLeft})}getAriaColumnIndex(e){return this.getAllGridColumns().indexOf(e)+1}isColumnInHeaderViewport(e){return!!e.isAutoHeaderHeight()||this.isColumnInRowViewport(e)}isColumnInRowViewport(e){if(e.isAutoHeight())return!0;const t=e.getLeft()||0,r=t+e.getActualWidth(),i=this.viewportLeft-200,o=this.viewportRight+200;return!(t<i&&r<i)&&!(t>o&&r>o)}getDisplayedColumnsLeftWidth(){return this.getWidthOfColsInList(this.displayedColumnsLeft)}getDisplayedColumnsRightWidth(){return this.getWidthOfColsInList(this.displayedColumnsRight)}updatePrimaryColumnList(e,t,r,i,o,a="api"){if(!e||R(e))return;let n=!1;if(e.forEach(e=>{const o=this.getPrimaryColumn(e);if(o){if(r){if(t.indexOf(o)>=0)return;t.push(o)}else{if(t.indexOf(o)<0)return;_e(t,o)}i(o),n=!0}}),!n)return;this.autoGroupsNeedBuilding&&this.updateGridColumns(),this.updateDisplayedColumns(a);const s={type:o,columns:t,column:1===t.length?t[0]:null,source:a};this.eventService.dispatchEvent(s)}setRowGroupColumns(e,t="api"){this.autoGroupsNeedBuilding=!0,this.setPrimaryColumnList(e,this.rowGroupColumns,ht.EVENT_COLUMN_ROW_GROUP_CHANGED,this.setRowGroupActive.bind(this),t)}setRowGroupActive(e,t,r){e!==t.isRowGroupActive()&&(t.setRowGroupActive(e,r),e&&!this.gridOptionsService.is("suppressRowGroupHidesColumns")&&this.setColumnVisible(t,!1,r),e||this.gridOptionsService.is("suppressMakeColumnVisibleAfterUnGroup")||this.setColumnVisible(t,!0,r))}addRowGroupColumn(e,t="api"){e&&this.addRowGroupColumns([e],t)}addRowGroupColumns(e,t="api"){this.autoGroupsNeedBuilding=!0,this.updatePrimaryColumnList(e,this.rowGroupColumns,!0,this.setRowGroupActive.bind(this,!0),ht.EVENT_COLUMN_ROW_GROUP_CHANGED,t)}removeRowGroupColumns(e,t="api"){this.autoGroupsNeedBuilding=!0,this.updatePrimaryColumnList(e,this.rowGroupColumns,!1,this.setRowGroupActive.bind(this,!1),ht.EVENT_COLUMN_ROW_GROUP_CHANGED,t)}removeRowGroupColumn(e,t="api"){e&&this.removeRowGroupColumns([e],t)}addPivotColumns(e,t="api"){this.updatePrimaryColumnList(e,this.pivotColumns,!0,e=>e.setPivotActive(!0,t),ht.EVENT_COLUMN_PIVOT_CHANGED,t)}setPivotColumns(e,t="api"){this.setPrimaryColumnList(e,this.pivotColumns,ht.EVENT_COLUMN_PIVOT_CHANGED,(e,r)=>{r.setPivotActive(e,t)},t)}addPivotColumn(e,t="api"){this.addPivotColumns([e],t)}removePivotColumns(e,t="api"){this.updatePrimaryColumnList(e,this.pivotColumns,!1,e=>e.setPivotActive(!1,t),ht.EVENT_COLUMN_PIVOT_CHANGED,t)}removePivotColumn(e,t="api"){this.removePivotColumns([e],t)}setPrimaryColumnList(e,t,r,i,o){t.length=0,S(e)&&e.forEach(e=>{const r=this.getPrimaryColumn(e);r&&t.push(r)}),(this.primaryColumns||[]).forEach(e=>{const r=t.indexOf(e)>=0;i(r,e)}),this.autoGroupsNeedBuilding&&this.updateGridColumns(),this.updateDisplayedColumns(o),this.dispatchColumnChangedEvent(r,t,o)}setValueColumns(e,t="api"){this.setPrimaryColumnList(e,this.valueColumns,ht.EVENT_COLUMN_VALUE_CHANGED,this.setValueActive.bind(this),t)}setValueActive(e,t,r){if(e!==t.isValueActive()&&(t.setValueActive(e,r),e&&!t.getAggFunc())){const e=this.aggFuncService.getDefaultAggFunc(t);t.setAggFunc(e)}}addValueColumns(e,t="api"){this.updatePrimaryColumnList(e,this.valueColumns,!0,this.setValueActive.bind(this,!0),ht.EVENT_COLUMN_VALUE_CHANGED,t)}addValueColumn(e,t="api"){e&&this.addValueColumns([e],t)}removeValueColumn(e,t="api"){this.removeValueColumns([e],t)}removeValueColumns(e,t="api"){this.updatePrimaryColumnList(e,this.valueColumns,!1,this.setValueActive.bind(this,!1),ht.EVENT_COLUMN_VALUE_CHANGED,t)}normaliseColumnWidth(e,t){const r=e.getMinWidth();S(r)&&t<r&&(t=r);const i=e.getMaxWidth();return S(i)&&e.isGreaterThanMax(t)&&(t=i),t}getPrimaryOrGridColumn(e){return this.getPrimaryColumn(e)||this.getGridColumn(e)}setColumnWidths(e,t,r,i="api"){const o=[];e.forEach(e=>{const r=this.getPrimaryOrGridColumn(e.key);if(!r)return;o.push({width:e.newWidth,ratios:[1],columns:[r]});if("shift"===this.gridOptionsService.get("colResizeDefault")&&(t=!t),t){const t=this.getDisplayedColAfter(r);if(!t)return;const i=r.getActualWidth()-e.newWidth,a=t.getActualWidth()+i;o.push({width:a,ratios:[1],columns:[t]})}}),0!==o.length&&this.resizeColumnSets({resizeSets:o,finished:r,source:i})}checkMinAndMaxWidthsForSet(e){const{columns:t,width:r}=e;let i=0,o=0,a=!0;t.forEach(e=>{const t=e.getMinWidth();i+=t||0;const r=e.getMaxWidth();S(r)&&r>0?o+=r:a=!1});return r>=i&&(!a||r<=o)}resizeColumnSets(e){const{resizeSets:t,finished:r,source:i}=e;if(!(!t||t.every(e=>this.checkMinAndMaxWidthsForSet(e)))){if(r){const e=t&&t.length>0?t[0].columns:null;this.dispatchColumnResizedEvent(e,r,i)}return}const o=[],a=[];t.forEach(e=>{const{width:t,columns:r,ratios:n}=e,s={},l={};r.forEach(e=>a.push(e));let g=!0,d=0;for(;g;){if(d++,d>1e3){console.error("AG Grid: infinite loop in resizeColumnSets");break}g=!1;const e=[];let i=0,o=t;r.forEach((t,r)=>{if(l[t.getId()])o-=s[t.getId()];else{e.push(t);const o=n[r];i+=o}});const a=1/i;e.forEach((r,i)=>{let d;i===e.length-1?d=o:(d=Math.round(n[i]*t*a),o-=d);const c=r.getMinWidth(),u=r.getMaxWidth();S(c)&&d<c?(d=c,l[r.getId()]=!0,g=!0):S(u)&&u>0&&d>u&&(d=u,l[r.getId()]=!0,g=!0),s[r.getId()]=d})}r.forEach(e=>{const t=s[e.getId()];e.getActualWidth()!==t&&(e.setActualWidth(t,i),o.push(e))})});const n=o.length>0;let s=[];n&&(s=this.refreshFlexedColumns({resizingCols:a,skipSetLeft:!0}),this.setLeftValues(i),this.updateBodyWidths(),this.checkViewportColumns());const l=a.concat(s);(n||r)&&this.dispatchColumnResizedEvent(l,r,i,s)}setColumnAggFunc(e,t,r="api"){if(!e)return;const i=this.getPrimaryColumn(e);i&&(i.setAggFunc(t),this.dispatchColumnChangedEvent(ht.EVENT_COLUMN_VALUE_CHANGED,[i],r))}moveRowGroupColumn(e,t,r="api"){const i=this.rowGroupColumns[e];this.rowGroupColumns.splice(e,1),this.rowGroupColumns.splice(t,0,i);const o={type:ht.EVENT_COLUMN_ROW_GROUP_CHANGED,columns:this.rowGroupColumns,column:1===this.rowGroupColumns.length?this.rowGroupColumns[0]:null,source:r};this.eventService.dispatchEvent(o)}moveColumns(e,t,r="api",i=!0){if(this.columnAnimationService.start(),t>this.gridColumns.length-e.length)return console.warn("AG Grid: tried to insert columns in invalid location, toIndex = "+t),void console.warn("AG Grid: remember that you should not count the moving columns when calculating the new index");const o=this.getGridColumns(e);!this.doesMovePassRules(o,t)||(Ue(this.gridColumns,o,t),this.updateDisplayedColumns(r),this.dispatchColumnMovedEvent({movedColumns:o,source:r,toIndex:t,finished:i}),this.columnAnimationService.finish())}doesMovePassRules(e,t){const r=this.getProposedColumnOrder(e,t);return this.doesOrderPassRules(r)}doesOrderPassRules(e){return!!this.doesMovePassMarryChildren(e)&&!!this.doesMovePassLockedPositions(e)}getProposedColumnOrder(e,t){const r=this.gridColumns.slice();return Ue(r,e,t),r}sortColumnsLikeGridColumns(e){if(!e||e.length<=1)return;e.filter(e=>this.gridColumns.indexOf(e)<0).length>0||e.sort((e,t)=>this.gridColumns.indexOf(e)-this.gridColumns.indexOf(t))}doesMovePassLockedPositions(e){let t=0,r=!0;return e.forEach(e=>{const i=(o=e.getColDef().lockPosition)?!0===o||"left"===o?0:2:1;var o;i<t&&(r=!1),t=i}),r}doesMovePassMarryChildren(e){let t=!0;return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,r=>{if(!(r instanceof Ne))return;const i=r,o=i.getColGroupDef();if(!(o&&o.marryChildren))return;const a=[];i.getLeafColumns().forEach(t=>{const r=e.indexOf(t);a.push(r)});Math.max.apply(Math,a)-Math.min.apply(Math,a)>i.getLeafColumns().length-1&&(t=!1)}),t}moveColumn(e,t,r="api"){this.moveColumns([e],t,r)}moveColumnByIndex(e,t,r="api"){const i=this.gridColumns[e];this.moveColumn(i,t,r)}getColumnDefs(){if(!this.primaryColumns)return;const e=this.primaryColumns.slice();return this.gridColsArePrimary?e.sort((e,t)=>this.gridColumns.indexOf(e)-this.gridColumns.indexOf(t)):this.lastPrimaryOrder&&e.sort((e,t)=>this.lastPrimaryOrder.indexOf(e)-this.lastPrimaryOrder.indexOf(t)),this.columnDefFactory.buildColumnDefs(e,this.rowGroupColumns,this.pivotColumns)}getBodyContainerWidth(){return this.bodyWidth}getContainerWidth(e){switch(e){case"left":return this.leftWidth;case"right":return this.rightWidth;default:return this.bodyWidth}}updateBodyWidths(){const e=this.getWidthOfColsInList(this.displayedColumnsCenter),t=this.getWidthOfColsInList(this.displayedColumnsLeft),r=this.getWidthOfColsInList(this.displayedColumnsRight);this.bodyWidthDirty=this.bodyWidth!==e;if(this.bodyWidth!==e||this.leftWidth!==t||this.rightWidth!==r){this.bodyWidth=e,this.leftWidth=t,this.rightWidth=r;const i={type:ht.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED};this.eventService.dispatchEvent(i)}}getValueColumns(){return this.valueColumns?this.valueColumns:[]}getPivotColumns(){return this.pivotColumns?this.pivotColumns:[]}isPivotActive(){return this.pivotColumns&&this.pivotColumns.length>0&&this.pivotMode}getRowGroupColumns(){return this.rowGroupColumns?this.rowGroupColumns:[]}getDisplayedCenterColumns(){return this.displayedColumnsCenter}getDisplayedLeftColumns(){return this.displayedColumnsLeft}getDisplayedRightColumns(){return this.displayedColumnsRight}getDisplayedColumns(e){switch(e){case"left":return this.getDisplayedLeftColumns();case"right":return this.getDisplayedRightColumns();default:return this.getDisplayedCenterColumns()}}getAllPrimaryColumns(){return this.primaryColumns?this.primaryColumns.slice():null}getSecondaryColumns(){return this.secondaryColumns?this.secondaryColumns.slice():null}getAllColumnsForQuickFilter(){return this.columnsForQuickFilter}getAllGridColumns(){return this.gridColumns}isEmpty(){return R(this.gridColumns)}isRowGroupEmpty(){return R(this.rowGroupColumns)}setColumnVisible(e,t,r="api"){this.setColumnsVisible([e],t,r)}setColumnsVisible(e,t=!1,r="api"){this.applyColumnState({state:e.map(e=>({colId:"string"==typeof e?e:e.getColId(),hide:!t}))},r)}setColumnPinned(e,t,r="api"){e&&this.setColumnsPinned([e],t,r)}setColumnsPinned(e,t,r="api"){if(this.gridOptionsService.isDomLayout("print"))return void console.warn("AG Grid: Changing the column pinning status is not allowed with domLayout='print'");let i;this.columnAnimationService.start(),i=!0===t||"left"===t?"left":"right"===t?"right":null,this.actionOnGridColumns(e,e=>e.getPinned()!==i&&(e.setPinned(i),!0),r,()=>({type:ht.EVENT_COLUMN_PINNED,pinned:i,column:null,columns:null,source:r})),this.columnAnimationService.finish()}actionOnGridColumns(e,t,r,i){if(R(e))return;const o=[];if(e.forEach(e=>{const r=this.getGridColumn(e);if(!r)return;!1!==t(r)&&o.push(r)}),o.length&&(this.updateDisplayedColumns(r),S(i)&&i)){const e=i();e.columns=o,e.column=1===o.length?o[0]:null,this.eventService.dispatchEvent(e)}}getDisplayedColBefore(e){const t=this.getAllDisplayedColumns(),r=t.indexOf(e);return r>0?t[r-1]:null}getDisplayedColAfter(e){const t=this.getAllDisplayedColumns(),r=t.indexOf(e);return r<t.length-1?t[r+1]:null}getDisplayedGroupAfter(e){return this.getDisplayedGroupAtDirection(e,"After")}getDisplayedGroupBefore(e){return this.getDisplayedGroupAtDirection(e,"Before")}getDisplayedGroupAtDirection(e,t){const r=e.getProvidedColumnGroup().getLevel()+e.getPaddingLevel(),i=e.getDisplayedLeafColumns(),o="After"===t?Fe(i):i[0],a="getDisplayedCol"+t;for(;;){const t=this[a](o);if(!t)return null;const i=this.getColumnGroupAtLevel(t,r);if(i!==e)return i}}getColumnGroupAtLevel(e,t){let r,i,o=e.getParent();for(;;){if(r=o.getProvidedColumnGroup().getLevel(),i=o.getPaddingLevel(),r+i<=t)break;o=o.getParent()}return o}isPinningLeft(){return this.displayedColumnsLeft.length>0}isPinningRight(){return this.displayedColumnsRight.length>0}getPrimaryAndSecondaryAndAutoColumns(){return[].concat(this.primaryColumns||[],this.groupAutoColumns||[],this.secondaryColumns||[])}createStateItemFromColumn(e){const t=e.isRowGroupActive()?this.rowGroupColumns.indexOf(e):null,r=e.isPivotActive()?this.pivotColumns.indexOf(e):null,i=e.isValueActive()?e.getAggFunc():null,o=null!=e.getSort()?e.getSort():null,a=null!=e.getSortIndex()?e.getSortIndex():null,n=null!=e.getFlex()&&e.getFlex()>0?e.getFlex():null;return{colId:e.getColId(),width:e.getActualWidth(),hide:!e.isVisible(),pinned:e.getPinned(),sort:o,sortIndex:a,aggFunc:i,rowGroup:e.isRowGroupActive(),rowGroupIndex:t,pivot:e.isPivotActive(),pivotIndex:r,flex:n}}getColumnState(){if(E(this.primaryColumns)||!this.isAlive())return[];const e=this.getPrimaryAndSecondaryAndAutoColumns().map(this.createStateItemFromColumn.bind(this));return this.orderColumnStateList(e),e}orderColumnStateList(e){const t=xt(this.gridColumns.map((e,t)=>[e.getColId(),t]));e.sort((e,r)=>(t.has(e.colId)?t.get(e.colId):-1)-(t.has(r.colId)?t.get(r.colId):-1))}resetColumnState(e="api"){const t=this.getColumnsFromTree(this.primaryColumnTree),r=[];let i=1e3,o=1e3,a=[];this.groupAutoColumns&&(a=a.concat(this.groupAutoColumns)),t&&(a=a.concat(t)),a.forEach(e=>{const t=this.getColumnStateFromColDef(e);E(t.rowGroupIndex)&&t.rowGroup&&(t.rowGroupIndex=i++),E(t.pivotIndex)&&t.pivot&&(t.pivotIndex=o++),r.push(t)}),this.applyColumnState({state:r,applyOrder:!0},e)}getColumnStateFromColDef(e){const t=(e,t)=>null!=e?e:null!=t?t:null,r=e.getColDef(),i=t(r.sort,r.initialSort),o=t(r.sortIndex,r.initialSortIndex),a=t(r.hide,r.initialHide),n=t(r.pinned,r.initialPinned),s=t(r.width,r.initialWidth),l=t(r.flex,r.initialFlex);let g=t(r.rowGroupIndex,r.initialRowGroupIndex),d=t(r.rowGroup,r.initialRowGroup);null!=g||null!=d&&0!=d||(g=null,d=null);let c=t(r.pivotIndex,r.initialPivotIndex),u=t(r.pivot,r.initialPivot);null!=c||null!=u&&0!=u||(c=null,u=null);const p=t(r.aggFunc,r.initialAggFunc);return{colId:e.getColId(),sort:i,sortIndex:o,hide:a,pinned:n,width:s,flex:l,rowGroup:d,rowGroupIndex:g,pivot:u,pivotIndex:c,aggFunc:p}}applyColumnState(e,t){if(R(this.primaryColumns))return!1;if(e&&e.state&&!e.state.forEach)return console.warn("AG Grid: applyColumnState() - the state attribute should be an array, however an array was not found. Please provide an array of items (one for each col you want to change) for state."),!1;const r=(r,i,o)=>{const a=this.compareColumnStatesAndDispatchEvents(t);this.autoGroupsNeedBuilding=!0;const n=i.slice(),s={},l={},g=[],d=[];let c=0;const u=this.rowGroupColumns.slice(),p=this.pivotColumns.slice();r.forEach(r=>{const i=r.colId||"";if(i.startsWith(mt))return g.push(r),void d.push(r);const a=o(i);a?(this.syncColumnWithStateItem(a,r,e.defaultState,s,l,!1,t),_e(n,a)):(d.push(r),c+=1)});const h=r=>this.syncColumnWithStateItem(r,null,e.defaultState,s,l,!1,t);n.forEach(h);const v=(e,t,r,i)=>{const o=e[r.getId()],a=e[i.getId()],n=null!=o,s=null!=a;if(n&&s)return o-a;if(n)return-1;if(s)return 1;const l=t.indexOf(r),g=t.indexOf(i),d=l>=0;return d&&g>=0?l-g:d?-1:1};this.rowGroupColumns.sort(v.bind(this,s,u)),this.pivotColumns.sort(v.bind(this,l,p)),this.updateGridColumns();const f=this.groupAutoColumns?this.groupAutoColumns.slice():[];return g.forEach(r=>{const i=this.getAutoColumn(r.colId);_e(f,i),this.syncColumnWithStateItem(i,r,e.defaultState,null,null,!0,t)}),f.forEach(h),this.applyOrderAfterApplyState(e),this.updateDisplayedColumns(t),this.dispatchEverythingChanged(t),a(),{unmatchedAndAutoStates:d,unmatchedCount:c}};this.columnAnimationService.start();let{unmatchedAndAutoStates:i,unmatchedCount:o}=r(e.state||[],this.primaryColumns||[],e=>this.getPrimaryColumn(e));return(i.length>0||S(e.defaultState))&&(o=r(i,this.secondaryColumns||[],e=>this.getSecondaryColumn(e)).unmatchedCount),this.columnAnimationService.finish(),0===o}applyOrderAfterApplyState(e){if(!e.applyOrder||!e.state)return;let t=[];const r={};e.state.forEach(e=>{if(!e.colId||r[e.colId])return;const i=this.gridColumnsMap[e.colId];i&&(t.push(i),r[e.colId]=!0)});let i=0;this.gridColumns.forEach(e=>{const o=e.getColId();if(null!=r[o])return;o.startsWith(mt)?je(t,e,i++):t.push(e)}),t=this.placeLockedColumns(t),this.doesMovePassMarryChildren(t)?this.gridColumns=t:console.warn("AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded.")}compareColumnStatesAndDispatchEvents(e){const t={rowGroupColumns:this.rowGroupColumns.slice(),pivotColumns:this.pivotColumns.slice(),valueColumns:this.valueColumns.slice()},r=this.getColumnState(),i={};return r.forEach(e=>{i[e.colId]=e}),()=>{const o=this.getPrimaryAndSecondaryAndAutoColumns(),a=(t,r,i,o)=>{if(ke(r.map(o),i.map(o)))return;const a={type:t,columns:i,column:1===i.length?i[0]:null,source:e};this.eventService.dispatchEvent(a)},n=e=>{const t=[];return o.forEach(r=>{const o=i[r.getColId()];o&&e(o,r)&&t.push(r)}),t},s=e=>e.getColId();a(ht.EVENT_COLUMN_ROW_GROUP_CHANGED,t.rowGroupColumns,this.rowGroupColumns,s),a(ht.EVENT_COLUMN_PIVOT_CHANGED,t.pivotColumns,this.pivotColumns,s);n((e,t)=>{const r=null!=e.aggFunc,i=r!=t.isValueActive(),o=r&&e.aggFunc!=t.getAggFunc();return i||o}).length>0&&this.dispatchColumnChangedEvent(ht.EVENT_COLUMN_VALUE_CHANGED,this.valueColumns,e);this.dispatchColumnResizedEvent(n((e,t)=>e.width!=t.getActualWidth()),!0,e);this.dispatchColumnPinnedEvent(n((e,t)=>e.pinned!=t.getPinned()),e);this.dispatchColumnVisibleEvent(n((e,t)=>e.hide==t.isVisible()),e);n((e,t)=>e.sort!=t.getSort()||e.sortIndex!=t.getSortIndex()).length>0&&this.sortController.dispatchSortChangedEvents(e),this.normaliseColumnMovedEventForColumnState(r,e)}}getCommonValue(e,t){if(!e||0==e.length)return;const r=t(e[0]);for(let i=1;i<e.length;i++)if(r!==t(e[i]))return;return r}normaliseColumnMovedEventForColumnState(e,t){const r=this.getColumnState(),i={};r.forEach(e=>i[e.colId]=e);const o={};e.forEach(e=>{i[e.colId]&&(o[e.colId]=!0)});const a=e.filter(e=>o[e.colId]),n=r.filter(e=>o[e.colId]),s=[];n.forEach((e,t)=>{const r=a&&a[t];if(r&&r.colId!==e.colId){const e=this.getGridColumn(r.colId);e&&s.push(e)}}),s.length&&this.dispatchColumnMovedEvent({movedColumns:s,source:t,finished:!0})}syncColumnWithStateItem(e,t,r,i,o,a,n){if(!e)return;const s=(e,i)=>{const o={value1:void 0,value2:void 0};let a=!1;return t&&(void 0!==t[e]&&(o.value1=t[e],a=!0),S(i)&&void 0!==t[i]&&(o.value2=t[i],a=!0)),!a&&r&&(void 0!==r[e]&&(o.value1=r[e]),S(i)&&void 0!==r[i]&&(o.value2=r[i])),o},l=s("hide").value1;void 0!==l&&e.setVisible(!l,n);const g=s("pinned").value1;void 0!==g&&e.setPinned(g);const d=this.columnUtils.calculateColMinWidth(e.getColDef()),c=s("flex").value1;void 0!==c&&e.setFlex(c);if(e.getFlex()<=0){const t=s("width").value1;null!=t&&null!=d&&t>=d&&e.setActualWidth(t,n)}const u=s("sort").value1;void 0!==u&&("desc"===u||"asc"===u?e.setSort(u,n):e.setSort(void 0,n));const p=s("sortIndex").value1;if(void 0!==p&&e.setSortIndex(p),a||!e.isPrimary())return;const h=s("aggFunc").value1;void 0!==h&&("string"==typeof h?(e.setAggFunc(h),e.isValueActive()||(e.setValueActive(!0,n),this.valueColumns.push(e))):(S(h)&&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 is intended for the column state to be stored and retrieved as simple JSON."),e.isValueActive()&&(e.setValueActive(!1,n),_e(this.valueColumns,e))));const{value1:v,value2:f}=s("rowGroup","rowGroupIndex");void 0===v&&void 0===f||("number"==typeof f||v?(e.isRowGroupActive()||(e.setRowGroupActive(!0,n),this.rowGroupColumns.push(e)),i&&"number"==typeof f&&(i[e.getId()]=f)):e.isRowGroupActive()&&(e.setRowGroupActive(!1,n),_e(this.rowGroupColumns,e)));const{value1:m,value2:w}=s("pivot","pivotIndex");void 0===m&&void 0===w||("number"==typeof w||m?(e.isPivotActive()||(e.setPivotActive(!0,n),this.pivotColumns.push(e)),o&&"number"==typeof w&&(o[e.getId()]=w)):e.isPivotActive()&&(e.setPivotActive(!1,n),_e(this.pivotColumns,e)))}getGridColumns(e){return this.getColumns(e,this.getGridColumn.bind(this))}getColumns(e,t){const r=[];return e&&e.forEach(e=>{const i=t(e);i&&r.push(i)}),r}getColumnWithValidation(e){if(null==e)return null;const t=this.getGridColumn(e);return t||console.warn("AG Grid: could not find column "+e),t}getPrimaryColumn(e){return this.primaryColumns?this.getColumn(e,this.primaryColumns,this.primaryColumnsMap):null}getGridColumn(e){return this.getColumn(e,this.gridColumns,this.gridColumnsMap)}getSecondaryColumn(e){return this.secondaryColumns?this.getColumn(e,this.secondaryColumns,this.secondaryColumnsMap):null}getColumn(e,t,r){if(!e)return null;if("string"==typeof e&&r[e])return r[e];for(let r=0;r<t.length;r++)if(this.columnsMatch(t[r],e))return t[r];return this.getAutoColumn(e)}getSourceColumnsForGroupColumn(e){const t=e.getColDef().showRowGroup;if(!t)return null;if(!0===t)return this.rowGroupColumns.slice(0);const r=this.getPrimaryColumn(t);return r?[r]:null}getAutoColumn(e){return this.groupAutoColumns&&S(this.groupAutoColumns)&&!E(this.groupAutoColumns)&&this.groupAutoColumns.find(t=>this.columnsMatch(t,e))||null}columnsMatch(e,t){const r=e===t,i=e.getColDef()===t,o=e.getColId()==t;return r||i||o}getDisplayNameForColumn(e,t,r=!1){if(!e)return null;const i=this.getHeaderName(e.getColDef(),e,null,null,t);return r?this.wrapHeaderNameWithAggFunc(e,i):i}getDisplayNameForProvidedColumnGroup(e,t,r){const i=t?t.getColGroupDef():null;return i?this.getHeaderName(i,null,e,t,r):null}getDisplayNameForColumnGroup(e,t){return this.getDisplayNameForProvidedColumnGroup(e,e.getProvidedColumnGroup(),t)}getHeaderName(e,t,r,i,o){const a=e.headerValueGetter;if(a){const n={colDef:e,column:t,columnGroup:r,providedColumnGroup:i,location:o,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context};return"function"==typeof a?a(n):"string"==typeof a?this.expressionService.evaluate(a,n):(console.warn("AG Grid: headerValueGetter must be a function or a string"),"")}return null!=e.headerName?e.headerName:e.field?Rt(e.field):""}wrapHeaderNameWithAggFunc(e,t){if(this.gridOptionsService.is("suppressAggFuncInHeader"))return t;const r=e.getColDef().pivotValueColumn;let i,o=null;if(S(r)){const a=this.gridOptionsService.is("removePivotHeaderRowWhenSingleValueColumn")&&1===this.valueColumns.length,n=void 0!==e.getColDef().pivotTotalColumnIds;if(a&&!n)return t;o=r?r.getAggFunc():null,i=!0}else{const t=e.isValueActive(),r=this.pivotMode||!this.isRowGroupEmpty();t&&r?(o=e.getAggFunc(),i=!0):i=!1}if(i){const e="string"==typeof o?o:"func";return`${this.localeService.getLocaleTextFunc()(e,e)}(${t})`}return t}getColumnGroup(e,t){if(!e)return null;if(e instanceof pt)return e;const r=this.getAllDisplayedTrees(),i="number"==typeof t;let o=null;return this.columnUtils.depthFirstAllColumnTreeSearch(r,r=>{if(r instanceof pt){const a=r;let n;n=i?e===a.getGroupId()&&t===a.getPartId():e===a.getGroupId(),n&&(o=a)}}),o}isReady(){return this.ready}extractValueColumns(e,t){this.valueColumns=this.extractColumns(t,this.valueColumns,(t,r)=>t.setValueActive(r,e),()=>{},()=>{},e=>{const t=e.aggFunc;return null===t||""===t?null:void 0!==t?!!t:void 0},e=>null!=e.initialAggFunc&&""!=e.initialAggFunc),this.valueColumns.forEach(e=>{const t=e.getColDef();null!=t.aggFunc&&""!=t.aggFunc?e.setAggFunc(t.aggFunc):e.getAggFunc()||e.setAggFunc(t.initialAggFunc)})}extractRowGroupColumns(e,t){this.rowGroupColumns=this.extractColumns(t,this.rowGroupColumns,(t,r)=>t.setRowGroupActive(r,e),e=>e.rowGroupIndex,e=>e.initialRowGroupIndex,e=>e.rowGroup,e=>e.initialRowGroup)}extractColumns(e=[],t=[],r,i,o,a,n){const s=[],l=[];(this.primaryColumns||[]).forEach(r=>{const g=e.indexOf(r)<0,d=r.getColDef(),c=D(a(d)),u=D(n(d)),p=x(i(d)),h=x(o(d));let v;if(v=void 0!==c?c:void 0!==p?null!==p&&p>=0:g?void 0!==u?u:!!(void 0!==h)&&(null!=h&&h>=0):t.indexOf(r)>=0,v){(g?null!=p||null!=h:null!=p)?s.push(r):l.push(r)}});const g=e=>{const t=i(e.getColDef()),r=o(e.getColDef());return null!=t?t:r};s.sort((e,t)=>{const r=g(e),i=g(t);return r===i?0:r<i?-1:1});const d=[].concat(s);return t.forEach(e=>{l.indexOf(e)>=0&&d.push(e)}),l.forEach(e=>{d.indexOf(e)<0&&d.push(e)}),t.forEach(e=>{d.indexOf(e)<0&&r(e,!1)}),d.forEach(e=>{t.indexOf(e)<0&&r(e,!0)}),d}extractPivotColumns(e,t){this.pivotColumns=this.extractColumns(t,this.pivotColumns,(t,r)=>t.setPivotActive(r,e),e=>e.pivotIndex,e=>e.initialPivotIndex,e=>e.pivot,e=>e.initialPivot)}resetColumnGroupState(e="api"){const t=[];this.columnUtils.depthFirstOriginalTreeSearch(null,this.primaryColumnTree,e=>{if(e instanceof Ne){const r=e.getColGroupDef(),i={groupId:e.getGroupId(),open:r?r.openByDefault:void 0};t.push(i)}}),this.setColumnGroupState(t,e)}getColumnGroupState(){const e=[];return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,t=>{t instanceof Ne&&e.push({groupId:t.getGroupId(),open:t.isExpanded()})}),e}setColumnGroupState(e,t="api"){this.columnAnimationService.start();const r=[];e.forEach(e=>{const t=e.groupId,i=e.open,o=this.getProvidedColumnGroup(t);o&&o.isExpanded()!==i&&(this.logger.log("columnGroupOpened("+o.getGroupId()+","+i+")"),o.setExpanded(i),r.push(o))}),this.updateGroupsAndDisplayedColumns(t),this.setFirstRightAndLastLeftPinned(t),r.forEach(e=>{const t={type:ht.EVENT_COLUMN_GROUP_OPENED,columnGroup:e};this.eventService.dispatchEvent(t)}),this.columnAnimationService.finish()}setColumnGroupOpened(e,t,r="api"){let i;i=e instanceof Ne?e.getId():e||"",this.setColumnGroupState([{groupId:i,open:t}],r)}getProvidedColumnGroup(e){"string"!=typeof e&&console.error("AG Grid: group key must be a string");let t=null;return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,r=>{r instanceof Ne&&r.getId()===e&&(t=r)}),t}calculateColumnsForDisplay(){let e;return e=this.pivotMode&&E(this.secondaryColumns)?this.gridColumns.filter(e=>{const t=this.groupAutoColumns&&Ke(this.groupAutoColumns,e),r=this.valueColumns&&Ke(this.valueColumns,e);return t||r}):this.gridColumns.filter(e=>this.groupAutoColumns&&Ke(this.groupAutoColumns,e)||e.isVisible()),e}checkColSpanActiveInCols(e){let t=!1;return e.forEach(e=>{S(e.getColDef().colSpan)&&(t=!0)}),t}calculateColumnsForGroupDisplay(){this.groupDisplayColumns=[],this.groupDisplayColumnsMap={};this.gridColumns.forEach(e=>{const t=e.getColDef(),r=t.showRowGroup;t&&S(r)&&(this.groupDisplayColumns.push(e),"string"==typeof r?this.groupDisplayColumnsMap[r]=e:!0===r&&this.getRowGroupColumns().forEach(t=>{this.groupDisplayColumnsMap[t.getId()]=e}))})}getGroupDisplayColumns(){return this.groupDisplayColumns}getGroupDisplayColumnForGroup(e){return this.groupDisplayColumnsMap[e]}updateDisplayedColumns(e){const t=this.calculateColumnsForDisplay();this.buildDisplayedTrees(t),this.updateGroupsAndDisplayedColumns(e),this.setFirstRightAndLastLeftPinned(e)}isSecondaryColumnsPresent(){return S(this.secondaryColumns)}setSecondaryColumns(e,t="api"){const r=e&&e.length>0;if(r||!E(this.secondaryColumns)){if(r){this.processSecondaryColumnDefinitions(e);const t=this.columnFactory.createColumnTree(e,!1,this.secondaryBalancedTree||this.previousSecondaryColumns||void 0);this.destroyOldColumns(this.secondaryBalancedTree,t.columnTree),this.secondaryBalancedTree=t.columnTree,this.secondaryHeaderRowCount=t.treeDept+1,this.secondaryColumns=this.getColumnsFromTree(this.secondaryBalancedTree),this.secondaryColumnsMap={},this.secondaryColumns.forEach(e=>this.secondaryColumnsMap[e.getId()]=e),this.previousSecondaryColumns=null}else this.previousSecondaryColumns=this.secondaryBalancedTree,this.secondaryBalancedTree=null,this.secondaryHeaderRowCount=-1,this.secondaryColumns=null,this.secondaryColumnsMap={};this.updateGridColumns(),this.updateDisplayedColumns(t)}}processSecondaryColumnDefinitions(e){const t=this.gridOptionsService.get("processPivotResultColDef")||this.gridOptionsService.get("processSecondaryColDef"),r=this.gridOptionsService.get("processPivotResultColGroupDef")||this.gridOptionsService.get("processSecondaryColGroupDef");if(!t&&!r)return;const i=e=>{e.forEach(e=>{if(S(e.children)){const t=e;r&&r(t),i(t.children)}else{const r=e;t&&t(r)}})};e&&i(e)}updateGridColumns(){const e=this.gridBalancedTree;let t;if(this.gridColsArePrimary?this.lastPrimaryOrder=this.gridColumns:this.lastSecondaryOrder=this.gridColumns,this.secondaryColumns&&this.secondaryBalancedTree){const e=this.secondaryColumns.every(e=>void 0!==this.gridColumnsMap[e.getColId()]);this.gridBalancedTree=this.secondaryBalancedTree.slice(),this.gridHeaderRowCount=this.secondaryHeaderRowCount,this.gridColumns=this.secondaryColumns.slice(),this.gridColsArePrimary=!1,e&&(t=this.lastSecondaryOrder)}else this.primaryColumns&&(this.gridBalancedTree=this.primaryColumnTree.slice(),this.gridHeaderRowCount=this.primaryHeaderRowCount,this.gridColumns=this.primaryColumns.slice(),this.gridColsArePrimary=!0,t=this.lastPrimaryOrder);if(this.createGroupAutoColumnsIfNeeded()&&t){const e=xt(this.groupAutoColumns.map(e=>[e,!0]));t=t.filter(t=>!e.has(t)),t=[...this.groupAutoColumns,...t]}if(this.addAutoGroupToGridColumns(),this.orderGridColsLike(t),this.gridColumns=this.placeLockedColumns(this.gridColumns),this.calculateColumnsForGroupDisplay(),this.refreshQuickFilterColumns(),this.clearDisplayedAndViewportColumns(),this.colSpanActive=this.checkColSpanActiveInCols(this.gridColumns),this.gridColumnsMap={},this.gridColumns.forEach(e=>this.gridColumnsMap[e.getId()]=e),this.setAutoHeightActive(),!ke(e,this.gridBalancedTree)){const e={type:ht.EVENT_GRID_COLUMNS_CHANGED};this.eventService.dispatchEvent(e)}}setAutoHeightActive(){if(this.autoHeightActive=this.gridColumns.filter(e=>e.isAutoHeight()).length>0,this.autoHeightActive){this.autoHeightActiveAtLeastOnce=!0;if(!(this.gridOptionsService.isRowModelType("clientSide")||this.gridOptionsService.isRowModelType("serverSide"))){const e="AG Grid - autoHeight columns only work with Client Side Row Model and Server Side Row Model.";J(()=>console.warn(e),"autoHeightActive.wrongRowModel")}}}orderGridColsLike(e){if(E(e))return;const t=xt(e.map((e,t)=>[e,t]));let r=!0;if(this.gridColumns.forEach(e=>{t.has(e)&&(r=!1)}),r)return;const i=xt(this.gridColumns.map(e=>[e,!0])),o=e.filter(e=>i.has(e)),a=xt(o.map(e=>[e,!0])),n=this.gridColumns.filter(e=>!a.has(e)),s=o.slice();n.forEach(e=>{let t=e.getOriginalParent();if(!t)return void s.push(e);const r=[];for(;!r.length&&t;){t.getLeafColumns().forEach(e=>{const t=s.indexOf(e)>=0,i=r.indexOf(e)<0;t&&i&&r.push(e)}),t=t.getOriginalParent()}if(!r.length)return void s.push(e);const i=r.map(e=>s.indexOf(e)),o=Math.max(...i);je(s,e,o+1)}),this.gridColumns=s}isPrimaryColumnGroupsPresent(){return this.primaryHeaderRowCount>1}refreshQuickFilterColumns(){var e;let t=null!==(e=this.isPivotMode()?this.secondaryColumns:this.primaryColumns)&&void 0!==e?e:[];this.groupAutoColumns&&(t=t.concat(this.groupAutoColumns)),this.columnsForQuickFilter=this.gridOptionsService.is("includeHiddenColumnsInQuickFilter")?t:t.filter(e=>e.isVisible()||e.isRowGroupActive())}placeLockedColumns(e){const t=[],r=[],i=[];return e.forEach(e=>{const o=e.getColDef().lockPosition;"right"===o?i.push(e):"left"===o||!0===o?t.push(e):r.push(e)}),[...t,...r,...i]}addAutoGroupToGridColumns(){if(E(this.groupAutoColumns))return this.destroyOldColumns(this.groupAutoColsBalancedTree),void(this.groupAutoColsBalancedTree=null);this.gridColumns=this.groupAutoColumns?this.groupAutoColumns.concat(this.gridColumns):this.gridColumns;const e=this.columnFactory.createForAutoGroups(this.groupAutoColumns,this.gridBalancedTree);this.destroyOldColumns(this.groupAutoColsBalancedTree,e),this.groupAutoColsBalancedTree=e,this.gridBalancedTree=e.concat(this.gridBalancedTree)}clearDisplayedAndViewportColumns(){this.viewportRowLeft={},this.viewportRowRight={},this.viewportRowCenter={},this.displayedColumnsLeft=[],this.displayedColumnsRight=[],this.displayedColumnsCenter=[],this.displayedColumns=[],this.viewportColumns=[],this.headerViewportColumns=[],this.viewportColumnsHash=""}updateGroupsAndDisplayedColumns(e){this.updateOpenClosedVisibilityInColumnGroups(),this.deriveDisplayedColumns(e),this.refreshFlexedColumns(),this.extractViewport(),this.updateBodyWidths();const t={type:ht.EVENT_DISPLAYED_COLUMNS_CHANGED};this.eventService.dispatchEvent(t)}deriveDisplayedColumns(e){this.derivedDisplayedColumnsFromDisplayedTree(this.displayedTreeLeft,this.displayedColumnsLeft),this.derivedDisplayedColumnsFromDisplayedTree(this.displayedTreeCentre,this.displayedColumnsCenter),this.derivedDisplayedColumnsFromDisplayedTree(this.displayedTreeRight,this.displayedColumnsRight),this.joinDisplayedColumns(),this.setLeftValues(e),this.displayedAutoHeightCols=this.displayedColumns.filter(e=>e.isAutoHeight())}isAutoRowHeightActive(){return this.autoHeightActive}wasAutoRowHeightEverActive(){return this.autoHeightActiveAtLeastOnce}joinDisplayedColumns(){this.gridOptionsService.is("enableRtl")?this.displayedColumns=this.displayedColumnsRight.concat(this.displayedColumnsCenter).concat(this.displayedColumnsLeft):this.displayedColumns=this.displayedColumnsLeft.concat(this.displayedColumnsCenter).concat(this.displayedColumnsRight)}setLeftValues(e){this.setLeftValuesOfColumns(e),this.setLeftValuesOfGroups()}setLeftValuesOfColumns(e){if(!this.primaryColumns)return;const t=this.primaryColumns.slice(0),r=this.gridOptionsService.is("enableRtl");[this.displayedColumnsLeft,this.displayedColumnsRight,this.displayedColumnsCenter].forEach(i=>{if(r){let t=this.getWidthOfColsInList(i);i.forEach(r=>{t-=r.getActualWidth(),r.setLeft(t,e)})}else{let t=0;i.forEach(r=>{r.setLeft(t,e),t+=r.getActualWidth()})}Be(t,i)}),t.forEach(t=>{t.setLeft(null,e)})}setLeftValuesOfGroups(){[this.displayedTreeLeft,this.displayedTreeRight,this.displayedTreeCentre].forEach(e=>{e.forEach(e=>{if(e instanceof pt){e.checkLeft()}})})}derivedDisplayedColumnsFromDisplayedTree(e,t){t.length=0,this.columnUtils.depthFirstDisplayedColumnTreeSearch(e,e=>{e instanceof Me&&t.push(e)})}extractViewportColumns(){this.suppressColumnVirtualisation?(this.viewportColumnsCenter=this.displayedColumnsCenter,this.headerViewportColumnsCenter=this.displayedColumnsCenter):(this.viewportColumnsCenter=this.displayedColumnsCenter.filter(this.isColumnInRowViewport.bind(this)),this.headerViewportColumnsCenter=this.displayedColumnsCenter.filter(this.isColumnInHeaderViewport.bind(this))),this.viewportColumns=this.viewportColumnsCenter.concat(this.displayedColumnsLeft).concat(this.displayedColumnsRight),this.headerViewportColumns=this.headerViewportColumnsCenter.concat(this.displayedColumnsLeft).concat(this.displayedColumnsRight)}getVirtualHeaderGroupRow(e,t){let r;switch(e){case"left":r=this.viewportRowLeft[t];break;case"right":r=this.viewportRowRight[t];break;default:r=this.viewportRowCenter[t]}return E(r)&&(r=[]),r}calculateHeaderRows(){this.viewportRowLeft={},this.viewportRowRight={},this.viewportRowCenter={};const e={};this.headerViewportColumns.forEach(t=>e[t.getId()]=!0);const t=(r,i,o)=>{let a=!1;for(let n=0;n<r.length;n++){const s=r[n];let l=!1;if(s instanceof Me)l=!0===e[s.getId()];else{const e=s.getDisplayedChildren();e&&(l=t(e,i,o+1))}l&&(a=!0,i[o]||(i[o]=[]),i[o].push(s))}return a};t(this.displayedTreeLeft,this.viewportRowLeft,0),t(this.displayedTreeRight,this.viewportRowRight,0),t(this.displayedTreeCentre,this.viewportRowCenter,0)}extractViewport(){this.extractViewportColumns();const e=this.viewportColumns.map(e=>`${e.getId()}-${e.getPinned()||"normal"}`).join("#"),t=this.viewportColumnsHash!==e;return t&&(this.viewportColumnsHash=e,this.calculateHeaderRows()),t}refreshFlexedColumns(e={}){const t=e.source?e.source:"flex";if(null!=e.viewportWidth&&(this.flexViewportWidth=e.viewportWidth),!this.flexViewportWidth)return[];let r=-1;e.resizingCols&&e.resizingCols.forEach(e=>{const t=this.displayedColumnsCenter.indexOf(e);r<t&&(r=t)});const i=e=>{const t=this.displayedColumnsCenter.indexOf(e)>r;return e.getFlex()&&t},o=this.displayedColumnsCenter.filter(e=>!i(e)),a=this.displayedColumnsCenter.filter(e=>i(e)),n=[];if(!a.length)return[];const s=[];let l;e:for(;;){const e=a.reduce((e,t)=>e+t.getFlex(),0);l=this.flexViewportWidth-this.getWidthOfColsInList(o);for(let r=0;r<a.length;r++){const i=a[r],g=l*i.getFlex()/e;let d=0;const c=i.getMinWidth(),u=i.getMaxWidth();if(S(c)&&g<c?d=c:S(u)&&g>u&&(d=u),d){i.setActualWidth(d,t),_e(a,i),n.push(i),o.push(i);continue e}s[r]=Math.round(g)}break}let g=l;return a.forEach((e,r)=>{e.setActualWidth(Math.min(s[r],g),t),n.push(e),g-=s[r]}),e.skipSetLeft||this.setLeftValues(t),e.updateBodyWidths&&this.updateBodyWidths(),e.fireResizedEvent&&this.dispatchColumnResizedEvent(n,!0,t,a),a}sizeColumnsToFit(e,t="sizeColumnsToFit",r,i){var o,a,n,s,l;if(this.shouldQueueResizeOperations)return void this.resizeOperationQueue.push(()=>this.sizeColumnsToFit(e,t,r,i));const g={};i&&(null===(o=null==i?void 0:i.columnLimits)||void 0===o||o.forEach(e=>{var{key:t}=e,r=Bt(e,["key"]);g["string"==typeof t?t:t.getColId()]=r}));const d=this.getAllDisplayedColumns(),c=e===this.getWidthOfColsInList(d);if(e<=0||!d.length||c)return;const u=[],p=[];d.forEach(e=>{!0===e.getColDef().suppressSizeToFit?p.push(e):u.push(e)});const h=u.slice(0);let v=!1;const f=e=>{_e(u,e),p.push(e)};for(u.forEach(e=>e.resetActualWidth(t));!v;){v=!0;const r=e-this.getWidthOfColsInList(p);if(r<=0)u.forEach(e=>{var r,o;const a=null!==(o=null===(r=null==g?void 0:g[e.getId()])||void 0===r?void 0:r.minWidth)&&void 0!==o?o:null==i?void 0:i.defaultMinWidth;"number"!=typeof a?e.setMinimum(t):e.setActualWidth(a)});else{const e=r/this.getWidthOfColsInList(u);let o=r;for(let r=u.length-1;r>=0;r--){const d=u[r],c=null==g?void 0:g[d.getId()],p=null!==(a=null==c?void 0:c.minWidth)&&void 0!==a?a:null==i?void 0:i.defaultMinWidth,h=null!==(n=null==c?void 0:c.maxWidth)&&void 0!==n?n:null==i?void 0:i.defaultMaxWidth,m=null!==(s=d.getMinWidth())&&void 0!==s?s:0,w=null!==(l=d.getMaxWidth())&&void 0!==l?l:Number.MAX_VALUE,C="number"==typeof p&&p>m?p:d.getMinWidth(),b="number"==typeof h&&h<w?h:d.getMaxWidth();let y=Math.round(d.getActualWidth()*e);S(C)&&y<C?(y=C,f(d),v=!1):S(b)&&y>b?(y=b,f(d),v=!1):0===r&&(y=o),d.setActualWidth(y,t,!0),o-=y}}}h.forEach(e=>{e.fireColumnWidthChangedEvent(t)}),this.setLeftValues(t),this.updateBodyWidths(),r||this.dispatchColumnResizedEvent(h,!0,t)}buildDisplayedTrees(e){const t=[],r=[],i=[];e.forEach(e=>{switch(e.getPinned()){case"left":t.push(e);break;case"right":r.push(e);break;default:i.push(e)}});const o=new vt;this.displayedTreeLeft=this.displayedGroupCreator.createDisplayedGroups(t,this.gridBalancedTree,o,"left",this.displayedTreeLeft),this.displayedTreeRight=this.displayedGroupCreator.createDisplayedGroups(r,this.gridBalancedTree,o,"right",this.displayedTreeRight),this.displayedTreeCentre=this.displayedGroupCreator.createDisplayedGroups(i,this.gridBalancedTree,o,null,this.displayedTreeCentre),this.updateDisplayedMap()}updateDisplayedMap(){this.displayedColumnsAndGroupsMap={};const e=e=>{this.displayedColumnsAndGroupsMap[e.getUniqueId()]=e};this.columnUtils.depthFirstAllColumnTreeSearch(this.displayedTreeCentre,e),this.columnUtils.depthFirstAllColumnTreeSearch(this.displayedTreeLeft,e),this.columnUtils.depthFirstAllColumnTreeSearch(this.displayedTreeRight,e)}isDisplayed(e){return this.displayedColumnsAndGroupsMap[e.getUniqueId()]===e}updateOpenClosedVisibilityInColumnGroups(){const e=this.getAllDisplayedTrees();this.columnUtils.depthFirstAllColumnTreeSearch(e,e=>{if(e instanceof pt){e.calculateDisplayedColumns()}})}getGroupAutoColumns(){return this.groupAutoColumns}createGroupAutoColumnsIfNeeded(){const e=this.forceRecreateAutoGroups;if(this.forceRecreateAutoGroups=!1,!this.autoGroupsNeedBuilding)return!1;this.autoGroupsNeedBuilding=!1;const t=this.gridOptionsService.isGroupUseEntireRow(this.pivotMode),r=this.pivotMode?this.gridOptionsService.is("pivotSuppressAutoColumn"):this.isGroupSuppressAutoColumn();if((this.rowGroupColumns.length>0||this.usingTreeData)&&!r&&!t){const t=this.groupAutoColumns||[],r=this.autoGroupColService.createAutoGroupColumns(t,this.rowGroupColumns);if(!this.autoColsEqual(r,this.groupAutoColumns)||e)return this.groupAutoColumns=r,!0}else this.groupAutoColumns=null;return!1}isGroupSuppressAutoColumn(){const e=this.gridOptionsService.get("groupDisplayType");if(!!e&&Ht("custom",e))return!0;const t=this.gridOptionsService.get("treeDataDisplayType");return!!t&&function(e,t){const r=["auto","custom"];return r.indexOf(t)<0?(console.warn(`AG Grid: '${t}' is not a valid treeDataDisplayType value - possible values are: '${r.join("', '")}'`),!1):t===e}("custom",t)}autoColsEqual(e,t){return ke(e,t,(e,t)=>e.getColId()===t.getColId())}getWidthOfColsInList(e){return e.reduce((e,t)=>e+t.getActualWidth(),0)}getGridBalancedTree(){return this.gridBalancedTree}hasFloatingFilters(){if(!this.gridColumns)return!1;return this.gridColumns.some(e=>e.getColDef().floatingFilter)}getFirstDisplayedColumn(){const e=this.gridOptionsService.is("enableRtl"),t=["getDisplayedLeftColumns","getDisplayedCenterColumns","getDisplayedRightColumns"];e&&t.reverse();for(let r=0;r<t.length;r++){const i=this[t[r]]();if(i.length)return e?Fe(i):i[0]}return null}setColumnHeaderHeight(e,t){if(e.setAutoHeaderHeight(t)){const t={type:ht.EVENT_COLUMN_HEADER_HEIGHT_CHANGED,column:e,columns:[e],source:"autosizeColumnHeaderHeight"};this.eventService.dispatchEvent(t)}}getColumnGroupHeaderRowHeight(){return this.isPivotMode()?this.getPivotGroupHeaderHeight():this.getGroupHeaderHeight()}getColumnHeaderRowHeight(){const e=this.isPivotMode()?this.getPivotHeaderHeight():this.getHeaderHeight(),t=this.getAllDisplayedColumns().filter(e=>e.isAutoHeaderHeight()).map(e=>e.getAutoHeaderHeight()||0);return Math.max(e,...t)}getHeaderHeight(){var e;return null!==(e=this.gridOptionsService.getNum("headerHeight"))&&void 0!==e?e:this.environment.getFromTheme(25,"headerHeight")}getFloatingFiltersHeight(){var e;return null!==(e=this.gridOptionsService.getNum("floatingFiltersHeight"))&&void 0!==e?e:this.getHeaderHeight()}getGroupHeaderHeight(){var e;return null!==(e=this.gridOptionsService.getNum("groupHeaderHeight"))&&void 0!==e?e:this.getHeaderHeight()}getPivotHeaderHeight(){var e;return null!==(e=this.gridOptionsService.getNum("pivotHeaderHeight"))&&void 0!==e?e:this.getHeaderHeight()}getPivotGroupHeaderHeight(){var e;return null!==(e=this.gridOptionsService.getNum("pivotGroupHeaderHeight"))&&void 0!==e?e:this.getGroupHeaderHeight()}queueResizeOperations(){this.shouldQueueResizeOperations=!0}processResizeOperations(){this.shouldQueueResizeOperations=!1,this.resizeOperationQueue.forEach(e=>e()),this.resizeOperationQueue=[]}resetColumnDefIntoColumn(e){const t=e.getUserProvidedColDef();if(!t)return!1;const r=this.columnFactory.mergeColDefs(t,e.getColId());return e.setColDef(r,t),!0}generateColumnStateForRowGroupAndPivotIndexes(e,t){let r={};const i=(e,t,i,o,a,n)=>{if(!t.length||!this.primaryColumns)return[];const s=Object.keys(e),l=new Set(s),g=new Set(s),d=new Set(t.map(e=>{const t=e.getColId();return g.delete(t),t}).concat(s)),c=[],u={};let p=0;for(let e=0;e<this.primaryColumns.length;e++){const t=this.primaryColumns[e].getColId();d.has(t)&&(c.push(t),u[t]=p++)}let h=1e3,v=!1,f=0;const m=t=>{const r=u[t];for(let t=f;t<r;t++){const r=c[t];g.has(r)&&(e[r][a]=h++,g.delete(r))}f=r};t.forEach(t=>{const s=t.getColId();if(l.has(s))m(s),e[s][a]=h++;else{const l=t.getColDef();if(null===l[a]||void 0===l[a]&&null==l[n]){if(!v){l[i]||void 0===l[i]&&l[o]?m(s):(g.forEach(t=>{e[t][a]=h+u[t]}),h+=c.length,v=!0)}r[s]||(r[s]={colId:s}),r[s][a]=h++}}})};return i(e,this.rowGroupColumns,"rowGroup","initialRowGroup","rowGroupIndex","initialRowGroupIndex"),i(t,this.pivotColumns,"pivot","initialPivot","pivotIndex","initialPivotIndex"),Object.values(r)}};Vt([Ce("expressionService")],jt.prototype,"expressionService",void 0),Vt([Ce("columnFactory")],jt.prototype,"columnFactory",void 0),Vt([Ce("displayedGroupCreator")],jt.prototype,"displayedGroupCreator",void 0),Vt([Ce("ctrlsService")],jt.prototype,"ctrlsService",void 0),Vt([Ce("autoWidthCalculator")],jt.prototype,"autoWidthCalculator",void 0),Vt([Ce("columnUtils")],jt.prototype,"columnUtils",void 0),Vt([Ce("columnAnimationService")],jt.prototype,"columnAnimationService",void 0),Vt([Ce("autoGroupColService")],jt.prototype,"autoGroupColService",void 0),Vt([be("aggFuncService")],jt.prototype,"aggFuncService",void 0),Vt([be("valueCache")],jt.prototype,"valueCache",void 0),Vt([be("animationFrameService")],jt.prototype,"animationFrameService",void 0),Vt([Ce("sortController")],jt.prototype,"sortController",void 0),Vt([Ce("columnDefFactory")],jt.prototype,"columnDefFactory",void 0),Vt([fe],jt.prototype,"init",null),Vt([me],jt.prototype,"destroyColumns",null),Vt([_t(0,Se("loggerFactory"))],jt.prototype,"setBeans",null),jt=Vt([we("columnModel")],jt);var Wt=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Ut=class extends lt{calculateColMinWidth(e){return null!=e.minWidth?e.minWidth:this.environment.getMinColWidth()}calculateColMaxWidth(e){return null!=e.maxWidth?e.maxWidth:Number.MAX_SAFE_INTEGER}calculateColInitialWidth(e){const t=this.calculateColMinWidth(e),r=this.calculateColMaxWidth(e);let i;const o=x(e.width),a=x(e.initialWidth);return i=null!=o?o:null!=a?a:200,Math.max(Math.min(i,r),t)}getOriginalPathForColumn(e,t){const r=[];let i=!1;const o=(t,a)=>{for(let n=0;n<t.length;n++){if(i)return;const s=t[n];if(s instanceof Ne){o(s.getChildren(),a+1),r[a]=s}else s===e&&(i=!0)}};return o(t,0),i?r:null}depthFirstOriginalTreeSearch(e,t,r){t&&t.forEach(t=>{t instanceof Ne&&this.depthFirstOriginalTreeSearch(t,t.getChildren(),r),r(t,e)})}depthFirstAllColumnTreeSearch(e,t){e&&e.forEach(e=>{e instanceof pt&&this.depthFirstAllColumnTreeSearch(e.getChildren(),t),t(e)})}depthFirstDisplayedColumnTreeSearch(e,t){e&&e.forEach(e=>{e instanceof pt&&this.depthFirstDisplayedColumnTreeSearch(e.getDisplayedChildren(),t),t(e)})}};Ut=Wt([we("columnUtils")],Ut);var Kt=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Yt=class extends lt{createDisplayedGroups(e,t,r,i,o){const a=[];let n,s;const l=this.mapOldGroupsById(o);return e.forEach(e=>{const o=this.getOriginalPathForColumn(t,e),g=[],d=!s;for(let e=0;e<o.length;e++)if(d||o[e]!==s[e]){const t=this.createColumnGroup(o[e],r,l,i);g[e]=t,0==e?a.push(t):g[e-1].addChild(t)}else g[e]=n[e];if(0===g.length)a.push(e);else{Fe(g).addChild(e)}n=g,s=o}),this.setupParentsIntoColumns(a,null),a}createColumnGroup(e,t,r,i){const o=e.getGroupId(),a=t.getInstanceIdForKey(o);let n=r[pt.createUniqueId(o,a)];return n&&n.getProvidedColumnGroup()!==e&&(n=null),S(n)?n.reset():(n=new pt(e,o,a,i),this.context.createBean(n)),n}mapOldGroupsById(e){const t={},r=e=>{e.forEach(e=>{if(e instanceof pt){const i=e;t[e.getUniqueId()]=i,r(i.getChildren())}})};return e&&r(e),t}setupParentsIntoColumns(e,t){e.forEach(e=>{if(e.setParent(t),e instanceof pt){const t=e;this.setupParentsIntoColumns(t.getChildren(),t)}})}getOriginalPathForColumn(e,t){const r=[];let i=!1;const o=(e,a)=>{for(let n=0;n<e.length;n++){if(i)return;const s=e[n];s instanceof Ne?(o(s.getChildren(),a+1),r[a]=s):s===t&&(i=!0)}};return o(e,0),i?r:(console.warn("AG Grid: could not get path"),null)}};Yt=Kt([we("displayedGroupCreator")],Yt);var qt=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Qt,Xt,Zt,Jt,$t,er,tr,rr,ir=class extends lt{constructor(){super(...arguments),this.componentsMappedByName={}}setupComponents(e){e&&e.forEach(e=>this.addComponent(e))}addComponent(e){const t=e.componentName.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase().toUpperCase();this.componentsMappedByName[t]=e.componentClass}getComponentClass(e){return this.componentsMappedByName[e]}};function or(e,t,r){null==r||""==r?nr(e,t):ar(e,t,r)}function ar(e,t,r){e.setAttribute(sr(t),r.toString())}function nr(e,t){e.removeAttribute(sr(t))}function sr(e){return"aria-"+e}function lr(e,t){t?e.setAttribute("role",t):e.removeAttribute("role")}function gr(e){let t;return t="asc"===e?"ascending":"desc"===e?"descending":"mixed"===e?"other":"none",t}function dr(e){return parseInt(e.getAttribute("aria-level"),10)}function cr(e){return parseInt(e.getAttribute("aria-posinset"),10)}function ur(e){return e.getAttribute("aria-describedby")||""}function pr(e,t){or(e,"label",t)}function hr(e,t){or(e,"labelledby",t)}function vr(e,t){or(e,"description",t)}function fr(e,t){or(e,"describedby",t)}function mr(e,t){or(e,"live",t)}function wr(e,t){or(e,"level",t)}function Cr(e,t){or(e,"disabled",t)}function br(e,t){or(e,"hidden",t)}function yr(e,t){ar(e,"expanded",t)}function Sr(e){nr(e,"expanded")}function Er(e,t){ar(e,"setsize",t)}function Rr(e,t){ar(e,"posinset",t)}function Tr(e,t){ar(e,"multiselectable",t)}function xr(e,t){ar(e,"rowcount",t)}function Dr(e,t){ar(e,"rowindex",t)}function Ar(e,t){ar(e,"colcount",t)}function Or(e,t){ar(e,"colindex",t)}function Mr(e,t){ar(e,"colspan",t)}function Pr(e,t){ar(e,"sort",t)}function Nr(e){nr(e,"sort")}function Lr(e,t){or(e,"selected",t)}function Ir(e,t){ar(e,"checked",void 0===t?"mixed":t)}function zr(e,t){or(e,"controls",t.id),hr(t,e.id)}function Fr(e,t){return void 0===t?e("ariaIndeterminate","indeterminate"):!0===t?e("ariaChecked","checked"):e("ariaUnchecked","unchecked")}function kr(){return void 0===Qt&&(Qt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)),Qt}function Gr(){if(void 0===Xt)if(kr()){const e=navigator.userAgent.match(/version\/(\d+)/i);e&&(Xt=null!=e[1]?parseFloat(e[1]):0)}else Xt=0;return Xt}function Hr(){if(void 0===Zt){const e=window;Zt=!!e.chrome&&(!!e.chrome.webstore||!!e.chrome.runtime)||/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor)}return Zt}function Vr(){return void 0===Jt&&(Jt=/(firefox)/i.test(navigator.userAgent)),Jt}function _r(){return void 0===$t&&($t=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)),$t}function Br(){return void 0===er&&(er=/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1),er}function jr(){return!kr()||Gr()>=15}function Wr(e){if(!e)return null;const t=e.tabIndex,r=e.getAttribute("tabIndex");return-1!==t||null!==r&&(""!==r||Vr())?t.toString():null}function Ur(){if(!document.body)return-1;let e=1e6;const t=navigator.userAgent.toLowerCase().match(/firefox/)?6e6:1e9,r=document.createElement("div");for(document.body.appendChild(r);;){const i=2*e;if(r.style.height=i+"px",i>t||r.clientHeight!==i)break;e=i}return document.body.removeChild(r),e}function Kr(){var e,t,r;return null!==(t=null===(e=document.body)||void 0===e?void 0:e.clientWidth)&&void 0!==t?t:window.innerHeight||(null===(r=document.documentElement)||void 0===r?void 0:r.clientWidth)||-1}function Yr(){var e,t,r;return null!==(t=null===(e=document.body)||void 0===e?void 0:e.clientHeight)&&void 0!==t?t:window.innerHeight||(null===(r=document.documentElement)||void 0===r?void 0:r.clientHeight)||-1}function qr(){return null==rr&&Qr(),rr}function Qr(){const e=document.body,t=document.createElement("div");t.style.width=t.style.height="100px",t.style.opacity="0",t.style.overflow="scroll",t.style.msOverflowStyle="scrollbar",t.style.position="absolute",e.appendChild(t);let r=t.offsetWidth-t.clientWidth;0===r&&0===t.clientWidth&&(r=null),t.parentNode&&t.parentNode.removeChild(t),null!=r&&(rr=r,tr=0===r)}function Xr(){return null==tr&&Qr(),tr}function Zr(e,t){return e.toString().padStart(t,"0")}function Jr(e,t){const r=[];for(let i=e;i<=t;i++)r.push(i);return r}function $r(e){return"string"==typeof e&&(e=parseInt(e,10)),"number"==typeof e?Math.floor(e):null}function ei(e,t){let r="";for(let i=0;i<t;i++)r+=String.fromCharCode(255&e),e>>>=8;return r}function ti(e,t,r){return"number"!=typeof e?"":ri(Math.round(100*e)/100,t,r)}function ri(e,t,r){return"number"!=typeof e?"":e.toString().replace(".",r).replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+t)}function ii(e){return null==e?null:e.reduce((e,t)=>e+t,0)}function oi(e,t){return e>=0?e:t}function ai(e,t){const r=parseInt(e,10);return!isNaN(r)&&isFinite(r)&&r>0?r:t}function ni(e,t=!0,r="-"){if(!e)return null;let i=[e.getFullYear(),e.getMonth()+1,e.getDate()].map(e=>Zr(e,2)).join(r);return t&&(i+=" "+[e.getHours(),e.getMinutes(),e.getSeconds()].map(e=>Zr(e,2)).join(":")),i}ir=qt([we("agStackComponentsRegistry")],ir);const si=e=>{if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd"}return"th"};function li(e,t="YYYY-MM-DD"){const r=Zr(e.getFullYear(),4),i=["January","February","March","April","May","June","July","August","September","October","November","December"],o=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a={YYYY:()=>r.slice(r.length-4,r.length),YY:()=>r.slice(r.length-2,r.length),Y:()=>""+e.getFullYear(),MMMM:()=>i[e.getMonth()],MMM:()=>i[e.getMonth()].slice(0,3),MM:()=>Zr(e.getMonth()+1,2),Mo:()=>`${e.getMonth()+1}${si(e.getMonth()+1)}`,M:()=>""+(e.getMonth()+1),Do:()=>`${e.getDate()}${si(e.getDate())}`,DD:()=>Zr(e.getDate(),2),D:()=>""+e.getDate(),dddd:()=>o[e.getDay()],ddd:()=>o[e.getDay()].slice(0,3),dd:()=>o[e.getDay()].slice(0,2),do:()=>`${e.getDay()}${si(e.getDay())}`,d:()=>""+e.getDay()},n=new RegExp(Object.keys(a).join("|"),"g");return t.replace(n,e=>e in a?a[e]():e)}function gi(e){if(!e)return null;const[t,r]=e.split(" ");if(!t)return null;const i=t.split("-").map(e=>parseInt(e,10));if(3!==i.filter(e=>!isNaN(e)).length)return null;const[o,a,n]=i,s=new Date(o,a-1,n);if(s.getFullYear()!==o||s.getMonth()!==a-1||s.getDate()!==n)return null;if(!r||"00:00:00"===r)return s;const[l,g,d]=r.split(":").map(e=>parseInt(e,10));return l>=0&&l<24&&s.setHours(l),g>=0&&g<60&&s.setMinutes(g),d>=0&&d<60&&s.setSeconds(d),s}let di;function ci(e,t,r){const i=e.parentElement;let o=i&&i.firstChild;for(;o;)t&&o.classList.toggle(t,o===e),r&&o.classList.toggle(r,o!==e),o=o.nextSibling}const ui="[tabindex], input, select, button, textarea, [href]",pi=".ag-hidden, .ag-hidden *, [disabled], .ag-disabled:not(.ag-button), .ag-disabled *.mjs";function hi(e){const t=Element.prototype.matches||Element.prototype.msMatchesSelector,r=t.call(e,"input, select, button, textarea"),i=t.call(e,pi),o=Pi(e);return r&&!i&&o}function vi(e,t,r={}){const{skipAriaHidden:i}=r;e.classList.toggle("ag-hidden",!t),i||br(e,!t)}function fi(e,t,r={}){const{skipAriaHidden:i}=r;e.classList.toggle("ag-invisible",!t),i||br(e,!t)}function mi(e,t){const r=t?e=>e.setAttribute("disabled",""):e=>e.removeAttribute("disabled");r(e),$i(e.querySelectorAll("input"),e=>r(e))}function wi(e,t,r){let i=0;for(;e;){if(e.classList.contains(t))return!0;if(e=e.parentElement,"number"==typeof r){if(++i>r)break}else if(e===r)break}return!1}function Ci(e){const{height:t,width:r,borderTopWidth:i,borderRightWidth:o,borderBottomWidth:a,borderLeftWidth:n,paddingTop:s,paddingRight:l,paddingBottom:g,paddingLeft:d,marginTop:c,marginRight:u,marginBottom:p,marginLeft:h,boxSizing:v}=window.getComputedStyle(e);return{height:parseFloat(t),width:parseFloat(r),borderTopWidth:parseFloat(i),borderRightWidth:parseFloat(o),borderBottomWidth:parseFloat(a),borderLeftWidth:parseFloat(n),paddingTop:parseFloat(s),paddingRight:parseFloat(l),paddingBottom:parseFloat(g),paddingLeft:parseFloat(d),marginTop:parseFloat(c),marginRight:parseFloat(u),marginBottom:parseFloat(p),marginLeft:parseFloat(h),boxSizing:v}}function bi(e){const t=Ci(e);return"border-box"===t.boxSizing?t.height-t.paddingTop-t.paddingBottom:t.height}function yi(e){const t=Ci(e);return"border-box"===t.boxSizing?t.width-t.paddingLeft-t.paddingRight:t.width}function Si(e){const t=Ci(e),r=t.marginBottom+t.marginTop;return Math.ceil(e.offsetHeight+r)}function Ei(e){const t=Ci(e),r=t.marginLeft+t.marginRight;return Math.ceil(e.offsetWidth+r)}function Ri(e){const t=e.getBoundingClientRect(),{borderTopWidth:r,borderLeftWidth:i,borderRightWidth:o,borderBottomWidth:a}=Ci(e);return{top:t.top+(r||0),left:t.left+(i||0),right:t.right+(o||0),bottom:t.bottom+(a||0)}}function Ti(){if("boolean"==typeof di)return di;const e=document.createElement("div");return e.style.direction="rtl",e.style.width="1px",e.style.height="1px",e.style.position="fixed",e.style.top="0px",e.style.overflow="hidden",e.dir="rtl",e.innerHTML='<div style="width: 2px">\n <span style="display: inline-block; width: 1px"></span>\n <span style="display: inline-block; width: 1px"></span>\n </div>',document.body.appendChild(e),e.scrollLeft=1,di=0===Math.floor(e.scrollLeft),document.body.removeChild(e),di}function xi(e,t){let r=e.scrollLeft;return t&&(r=Math.abs(r),Hr()&&!Ti()&&(r=e.scrollWidth-e.clientWidth-r)),r}function Di(e,t,r){r&&(Ti()?t*=-1:(kr()||Hr())&&(t=e.scrollWidth-e.clientWidth-t)),e.scrollLeft=t}function Ai(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}function Oi(e,t){Mi(e.querySelector(t))}function Mi(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Pi(e){return null!==e.offsetParent}function Ni(e){const t=document.createElement("div");return t.innerHTML=(e||"").trim(),t.firstChild}function Li(e,t){e.lastChild?e.insertAdjacentHTML("afterbegin",t):e.innerHTML=t}function Ii(e,t){if(e.attributes&&e.attributes[t]){return e.attributes[t].value}return null}function zi(e){return e&&e.clientHeight?e.clientHeight:0}function Fi(e){return e&&e.clientWidth?e.clientWidth:0}function ki(e,t,r){if(r&&r.nextSibling===t)return;const i=document.activeElement,o=t.contains(i);r?r.nextSibling?e.insertBefore(t,r.nextSibling):e.appendChild(t):e.firstChild&&e.firstChild!==t&&e.insertAdjacentElement("afterbegin",t),o&&i&&jr()&&i.focus({preventScroll:!0})}function Gi(e,t){for(let r=0;r<t.length;r++){const i=t[r],o=e.children[r];o!==i&&e.insertBefore(i,o)}}function Hi(e,t,r){r?r.insertAdjacentElement("afterend",t):e.firstChild?e.insertAdjacentElement("afterbegin",t):e.appendChild(t)}function Vi(e,t){S(e.firstChild)?e.insertBefore(t,e.firstChild):e.appendChild(t)}function _i(e,t){if(t)for(const[r,i]of Object.entries(t)){if(!r||!r.length||null==i)continue;const t=Tt(r),o=i.toString(),a=o.replace(/\s*!important/g,""),n=a.length!=o.length?"important":void 0;e.style.setProperty(t,a,n)}}function Bi(e){return e.clientWidth<e.scrollWidth}function ji(e){return e.clientHeight<e.scrollHeight}function Wi(e,t){"flex"===t?(e.style.removeProperty("width"),e.style.removeProperty("minWidth"),e.style.removeProperty("maxWidth"),e.style.flex="1 1 auto"):Ui(e,t)}function Ui(e,t){t=qi(t),e.style.width=t.toString(),e.style.maxWidth=t.toString(),e.style.minWidth=t.toString()}function Ki(e,t){"flex"===t?(e.style.removeProperty("height"),e.style.removeProperty("minHeight"),e.style.removeProperty("maxHeight"),e.style.flex="1 1 auto"):Yi(e,t)}function Yi(e,t){t=qi(t),e.style.height=t.toString(),e.style.maxHeight=t.toString(),e.style.minHeight=t.toString()}function qi(e){return"number"==typeof e?e+"px":e}function Qi(e){return e instanceof Node||e instanceof HTMLElement}function Xi(e){if(null==e)return[];const t=[];return $i(e,e=>t.push(e)),t}function Zi(e,t){if(e)for(let r=0;r<e.length;r++){const i=e[r];t(i.name,i.value)}}function Ji(e,t,r){null==r?e.removeAttribute(t):e.setAttribute(t,r.toString())}function $i(e,t){if(null!=e)for(let r=0;r<e.length;r++)t(e[r])}const eo={columnGroupOpened:"expanded",columnGroupClosed:"contracted",columnSelectClosed:"tree-closed",columnSelectOpen:"tree-open",columnSelectIndeterminate:"tree-indeterminate",columnMovePin:"pin",columnMoveHide:"eye-slash",columnMoveMove:"arrows",columnMoveLeft:"left",columnMoveRight:"right",columnMoveGroup:"group",columnMoveValue:"aggregation",columnMovePivot:"pivot",dropNotAllowed:"not-allowed",groupContracted:"tree-closed",groupExpanded:"tree-open",setFilterGroupClosed:"tree-closed",setFilterGroupOpen:"tree-open",setFilterGroupIndeterminate:"tree-indeterminate",chart:"chart",close:"cross",cancel:"cancel",check:"tick",first:"first",previous:"previous",next:"next",last:"last",linked:"linked",unlinked:"unlinked",colorPicker:"color-picker",groupLoading:"loading",menu:"menu",filter:"filter",columns:"columns",maximize:"maximize",minimize:"minimize",menuPin:"pin",menuValue:"aggregation",menuAddRowGroup:"group",menuRemoveRowGroup:"group",clipboardCopy:"copy",clipboardCut:"cut",clipboardPaste:"paste",pivotPanel:"pivot",rowGroupPanel:"group",valuePanel:"aggregation",columnDrag:"grip",rowDrag:"grip",save:"save",csvExport:"csv",excelExport:"excel",smallDown:"small-down",smallLeft:"small-left",smallRight:"small-right",smallUp:"small-up",sortAscending:"asc",sortDescending:"desc",sortUnSort:"none"};function to(e,t,r){const i=ro(e,t,r);if(i){const{className:e}=i;if("string"==typeof e&&e.indexOf("ag-icon")>-1||"object"==typeof e&&e["ag-icon"])return i}const o=document.createElement("span");return o.appendChild(i),o}function ro(e,t,r,i){let o=null;const a=r&&r.getColDef().icons;if(a&&(o=a[e]),t&&!o){const r=t.get("icons");r&&(o=r[e])}if(!o){const t=document.createElement("span");let r=eo[e];return r||(i?r=e:(console.warn("AG Grid: Did not find icon "+e),r="")),t.setAttribute("class","ag-icon ag-icon-"+r),t.setAttribute("unselectable","on"),lr(t,"presentation"),t}{let e;if("function"==typeof o)e=o();else{if("string"!=typeof o)throw new Error("icon from grid options needs to be a string or a function");e=o}if("string"==typeof e)return Ni(e);if(Qi(e))return e;console.warn("AG Grid: iconRenderer should return back a string or a dom object")}}class io{}io.BACKSPACE="Backspace",io.TAB="Tab",io.ENTER="Enter",io.ESCAPE="Escape",io.SPACE=" ",io.LEFT="ArrowLeft",io.UP="ArrowUp",io.RIGHT="ArrowRight",io.DOWN="ArrowDown",io.DELETE="Delete",io.F2="F2",io.PAGE_UP="PageUp",io.PAGE_DOWN="PageDown",io.PAGE_HOME="Home",io.PAGE_END="End",io.A="KeyA",io.C="KeyC",io.D="KeyD",io.V="KeyV",io.X="KeyX",io.Y="KeyY",io.Z="KeyZ";function oo(e){if(e.altKey||e.ctrlKey||e.metaKey)return!1;return 1===e.key.length}function ao(e,t,r,i,o){const a=i?i.getColDef().suppressKeyboardEvent:void 0;if(!a)return!1;const n={event:t,editing:o,column:i,api:e.api,node:r,data:r.data,colDef:i.getColDef(),context:e.context,columnApi:e.columnApi};if(a){if(a(n))return!0}return!1}function no(e,t,r,i){const o=i.getDefinition(),a=o&&o.suppressHeaderKeyboardEvent;if(!S(a))return!1;return!!a({api:e.api,columnApi:e.columnApi,context:e.context,colDef:o,column:i,headerRowIndex:r,event:t})}function so(e){const{keyCode:t}=e;let r;switch(t){case 65:r=io.A;break;case 67:r=io.C;break;case 86:r=io.V;break;case 68:r=io.D;break;case 90:r=io.Z;break;case 89:r=io.Y;break;default:r=e.code}return r}function lo(e,t=!1){return e===io.DELETE||!t&&e===io.BACKSPACE&&_r()}function go(e,t,r){if(0===r)return!1;const i=Math.abs(e.clientX-t.clientX),o=Math.abs(e.clientY-t.clientY);return Math.max(i,o)<=r}function co(e,t){if(!e)return!1;const r=(e,r)=>{const i=t[e.id],o=t[r.id],a=void 0!==i,n=void 0!==o;return a&&n?i-o:!a&&!n?e.__objectId-r.__objectId:a?1:-1};let i,o,a=!1;for(let t=0;t<e.length-1;t++)if(i=e[t],o=e[t+1],r(i,o)>0){a=!0;break}return!!a&&(e.sort(r),!0)}function uo(e,t){const r=[];!function e(i){if(!i)return;i.forEach(i=>{if(i.group||i.hasChildren()){r.push(i.key);const o=r.join("|");t(i,o),e(i.childrenAfterGroup),r.pop()}})}(e)}function po(e){const t=new Set;return e.forEach(e=>t.add(e)),t}const ho=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},c),n),u),h),v),s),a),d),i),f),m),g),w),p),o),C),b),l);class vo{constructor(e=0,t=1){this.nextValue=e,this.step=t}next(){const e=this.nextValue;return this.nextValue+=this.step,e}peek(){return this.nextValue}skip(e){this.nextValue+=e}}var fo;!function(e){e[e.IN_PROGRESS=0]="IN_PROGRESS",e[e.RESOLVED=1]="RESOLVED"}(fo||(fo={}));class mo{constructor(e){this.status=fo.IN_PROGRESS,this.resolution=null,this.waiters=[],e(e=>this.onDone(e),e=>this.onReject(e))}static all(e){return new mo(t=>{let r=e.length;const i=new Array(r);e.forEach((e,o)=>{e.then(e=>{i[o]=e,r--,0===r&&t(i)})})})}static resolve(e=null){return new mo(t=>t(e))}then(e){return new mo(t=>{this.status===fo.RESOLVED?t(e(this.resolution)):this.waiters.push(r=>t(e(r)))})}resolveNow(e,t){return this.status===fo.RESOLVED?t(this.resolution):e}onDone(e){this.status=fo.RESOLVED,this.resolution=e,this.waiters.forEach(t=>t(e))}onReject(e){console.warn("TBI")}}class wo{constructor(){this.timestamp=(new Date).getTime()}print(e){const t=(new Date).getTime()-this.timestamp;console.info(`${e} = ${t}`),this.timestamp=(new Date).getTime()}}var Co,bo=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};!function(e){e[e.NOTHING=0]="NOTHING",e[e.WAITING_TO_SHOW=1]="WAITING_TO_SHOW",e[e.SHOWING=2]="SHOWING"}(Co||(Co={}));class yo extends lt{constructor(e){super(),this.DEFAULT_SHOW_TOOLTIP_DELAY=2e3,this.DEFAULT_HIDE_TOOLTIP_DELAY=1e4,this.SHOW_QUICK_TOOLTIP_DIFF=1e3,this.FADE_OUT_TOOLTIP_TIMEOUT=1e3,this.state=Co.NOTHING,this.tooltipInstanceCount=0,this.tooltipMouseTrack=!1,this.parentComp=e}postConstruct(){this.tooltipShowDelay=this.getTooltipDelay("show")||this.DEFAULT_SHOW_TOOLTIP_DELAY,this.tooltipHideDelay=this.getTooltipDelay("hide")||this.DEFAULT_HIDE_TOOLTIP_DELAY,this.tooltipMouseTrack=this.gridOptionsService.is("tooltipMouseTrack");const e=this.parentComp.getGui();this.addManagedListener(e,"mouseenter",this.onMouseEnter.bind(this)),this.addManagedListener(e,"mouseleave",this.onMouseLeave.bind(this)),this.addManagedListener(e,"mousemove",this.onMouseMove.bind(this)),this.addManagedListener(e,"mousedown",this.onMouseDown.bind(this)),this.addManagedListener(e,"keydown",this.onKeyDown.bind(this))}destroy(){this.setToDoNothing(),super.destroy()}onMouseEnter(e){if(Br())return;if(this.state!=Co.NOTHING)return;const t=this.isLastTooltipHiddenRecently()?200:this.tooltipShowDelay;this.showTooltipTimeoutId=window.setTimeout(this.showTooltip.bind(this),t),this.lastMouseEvent=e,this.state=Co.WAITING_TO_SHOW}onMouseLeave(){this.setToDoNothing()}onKeyDown(){this.setToDoNothing()}setToDoNothing(){this.state===Co.SHOWING&&this.hideTooltip(),this.clearTimeouts(),this.state=Co.NOTHING}onMouseMove(e){this.lastMouseEvent=e,this.tooltipMouseTrack&&this.state===Co.SHOWING&&this.tooltipComp&&this.positionTooltipUnderLastMouseEvent()}onMouseDown(){this.setToDoNothing()}getTooltipDelay(e){const t=this.gridOptionsService.getNum("tooltipShowDelay"),r=this.gridOptionsService.getNum("tooltipHideDelay"),i="show"===e?t:r,o=St(e);return S(i)?(i<0&&J(()=>console.warn(`AG Grid: tooltip${o}Delay should not be lower than 0`),`tooltip${o}DelayWarn`),Math.max(200,i)):null}hideTooltip(){this.tooltipComp&&(this.destroyTooltipComp(),yo.lastTooltipHideTime=(new Date).getTime()),this.state=Co.NOTHING}destroyTooltipComp(){this.tooltipComp.getGui().classList.add("ag-tooltip-hiding");const e=this.tooltipPopupDestroyFunc,t=this.tooltipComp;window.setTimeout(()=>{e(),this.getContext().destroyBean(t)},this.FADE_OUT_TOOLTIP_TIMEOUT),this.tooltipPopupDestroyFunc=void 0,this.tooltipComp=void 0}isLastTooltipHiddenRecently(){return(new Date).getTime()-yo.lastTooltipHideTime<this.SHOW_QUICK_TOOLTIP_DIFF}showTooltip(){const e=Object.assign({},this.parentComp.getTooltipParams());if(!S(e.value))return void this.setToDoNothing();this.state=Co.SHOWING,this.tooltipInstanceCount++;const t=this.newTooltipComponentCallback.bind(this,this.tooltipInstanceCount);this.userComponentFactory.getTooltipCompDetails(e).newAgStackInstance().then(t)}newTooltipComponentCallback(e,t){if(this.state!==Co.SHOWING||this.tooltipInstanceCount!==e)return void this.getContext().destroyBean(t);const r=t.getGui();this.tooltipComp=t,r.classList.contains("ag-tooltip")||r.classList.add("ag-tooltip-custom");const i=this.localeService.getLocaleTextFunc(),o=this.popupService.addPopup({eChild:r,ariaLabel:i("ariaLabelTooltip","Tooltip")});o&&(this.tooltipPopupDestroyFunc=o.hideFunc),this.positionTooltipUnderLastMouseEvent(),this.hideTooltipTimeoutId=window.setTimeout(this.hideTooltip.bind(this),this.tooltipHideDelay)}positionTooltipUnderLastMouseEvent(){this.popupService.positionPopupUnderMouseEvent({type:"tooltip",mouseEvent:this.lastMouseEvent,ePopup:this.tooltipComp.getGui(),nudgeY:18,skipObserver:this.tooltipMouseTrack})}clearTimeouts(){this.showTooltipTimeoutId&&(window.clearTimeout(this.showTooltipTimeoutId),this.showTooltipTimeoutId=void 0),this.hideTooltipTimeoutId&&(window.clearTimeout(this.hideTooltipTimeoutId),this.hideTooltipTimeoutId=void 0)}}bo([Ce("popupService")],yo.prototype,"popupService",void 0),bo([Ce("userComponentFactory")],yo.prototype,"userComponentFactory",void 0),bo([fe],yo.prototype,"postConstruct",null);class So{constructor(e){this.cssClassStates={},this.getGui=e}addCssClass(e){const t=(e||"").split(" ");if(t.length>1)return void t.forEach(e=>this.addCssClass(e));if(!0!==this.cssClassStates[e]&&e.length){const t=this.getGui();t&&t.classList.add(e),this.cssClassStates[e]=!0}}removeCssClass(e){const t=(e||"").split(" ");if(t.length>1)return void t.forEach(e=>this.removeCssClass(e));if(!1!==this.cssClassStates[e]&&e.length){const t=this.getGui();t&&t.classList.remove(e),this.cssClassStates[e]=!1}}containsCssClass(e){const t=this.getGui();return!!t&&t.classList.contains(e)}addOrRemoveCssClass(e,t){if(!e)return;if(e.indexOf(" ")>=0){const r=(e||"").split(" ");if(r.length>1)return void r.forEach(e=>this.addOrRemoveCssClass(e,t))}if(this.cssClassStates[e]!==t&&e.length){const r=this.getGui();r&&r.classList.toggle(e,t),this.cssClassStates[e]=t}}}var Eo=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};const Ro=new vo;class To extends lt{constructor(e){super(),this.displayed=!0,this.visible=!0,this.compId=Ro.next(),this.cssClassManager=new So(()=>this.eGui),e&&this.setTemplate(e)}preConstructOnComponent(){this.usingBrowserTooltips=this.gridOptionsService.is("enableBrowserTooltips")}getCompId(){return this.compId}getTooltipParams(){return{value:this.tooltipText,location:"UNKNOWN"}}setTooltip(e){const t=()=>{this.usingBrowserTooltips?this.getGui().removeAttribute("title"):this.tooltipFeature=this.destroyBean(this.tooltipFeature)},r=()=>{this.usingBrowserTooltips?this.getGui().setAttribute("title",this.tooltipText):this.tooltipFeature=this.createBean(new yo(this))};this.tooltipText!=e&&(this.tooltipText&&t(),null!=e&&(this.tooltipText=e,this.tooltipText&&r()))}createChildComponentsFromTags(e,t){Xi(e.childNodes).forEach(r=>{if(!(r instanceof HTMLElement))return;const i=this.createComponentFromElement(r,e=>{e.getGui()&&this.copyAttributesFromNode(r,e.getGui())},t);if(i){if(i.addItems&&r.children.length){this.createChildComponentsFromTags(r,t);const e=Array.prototype.slice.call(r.children);i.addItems(e)}this.swapComponentForNode(i,e,r)}else r.childNodes&&this.createChildComponentsFromTags(r,t)})}createComponentFromElement(e,t,r){const i=e.nodeName,o=r?r[e.getAttribute("ref")]:void 0,a=this.agStackComponentsRegistry.getComponentClass(i);if(a){To.elementGettingCreated=e;const r=new a(o);return r.setParentComponent(this),this.createBean(r,null,t),r}return null}copyAttributesFromNode(e,t){Zi(e.attributes,(e,r)=>t.setAttribute(e,r))}swapComponentForNode(e,t,r){const i=e.getGui();t.replaceChild(i,r),t.insertBefore(document.createComment(r.nodeName),i),this.addDestroyFunc(this.destroyBean.bind(this,e)),this.swapInComponentForQuerySelectors(e,r)}swapInComponentForQuerySelectors(e,t){const r=this;this.iterateOverQuerySelectors(i=>{r[i.attributeName]===t&&(r[i.attributeName]=e)})}iterateOverQuerySelectors(e){let t=Object.getPrototypeOf(this);for(;null!=t;){const r=t.__agComponentMetaData,i=$(t.constructor);r&&r[i]&&r[i].querySelectors&&r[i].querySelectors.forEach(t=>e(t)),t=Object.getPrototypeOf(t)}}activateTabIndex(e){const t=this.gridOptionsService.getNum("tabIndex")||0;e||(e=[]),e.length||e.push(this.getGui()),e.forEach(e=>e.setAttribute("tabindex",t.toString()))}setTemplate(e,t){const r=Ni(e);this.setTemplateFromElement(r,t)}setTemplateFromElement(e,t){this.eGui=e,this.eGui.__agComponent=this,this.wireQuerySelectors(),this.getContext()&&this.createChildComponentsFromTags(this.getGui(),t)}createChildComponentsPreConstruct(){this.getGui()&&this.createChildComponentsFromTags(this.getGui())}wireQuerySelectors(){if(!this.eGui)return;const e=this;this.iterateOverQuerySelectors(t=>{const r=r=>e[t.attributeName]=r;if(t.refSelector&&this.getAttribute("ref")===t.refSelector)r(this.eGui);else{const e=this.eGui.querySelector(t.querySelector);e&&r(e.__agComponent||e)}})}getGui(){return this.eGui}getFocusableElement(){return this.eGui}setParentComponent(e){this.parentComponent=e}getParentComponent(){return this.parentComponent}setGui(e){this.eGui=e}queryForHtmlElement(e){return this.eGui.querySelector(e)}queryForHtmlInputElement(e){return this.eGui.querySelector(e)}appendChild(e,t){if(null!=e)if(t||(t=this.eGui),Qi(e))t.appendChild(e);else{const r=e;t.appendChild(r.getGui())}}isDisplayed(){return this.displayed}setVisible(e,t={}){if(e!==this.visible){this.visible=e;const{skipAriaHidden:r}=t;fi(this.eGui,e,{skipAriaHidden:r})}}setDisplayed(e,t={}){if(e!==this.displayed){this.displayed=e;const{skipAriaHidden:r}=t;vi(this.eGui,e,{skipAriaHidden:r});const i={type:To.EVENT_DISPLAYED_CHANGED,visible:this.displayed};this.dispatchEvent(i)}}destroy(){this.tooltipFeature&&(this.tooltipFeature=this.destroyBean(this.tooltipFeature)),this.parentComponent&&(this.parentComponent=void 0);const e=this.eGui;e&&e.__agComponent&&(e.__agComponent=void 0),super.destroy()}addGuiEventListener(e,t,r){this.eGui.addEventListener(e,t,r),this.addDestroyFunc(()=>this.eGui.removeEventListener(e,t))}addCssClass(e){this.cssClassManager.addCssClass(e)}removeCssClass(e){this.cssClassManager.removeCssClass(e)}containsCssClass(e){return this.cssClassManager.containsCssClass(e)}addOrRemoveCssClass(e,t){this.cssClassManager.addOrRemoveCssClass(e,t)}getAttribute(e){const{eGui:t}=this;return t?t.getAttribute(e):null}getRefElement(e){return this.queryForHtmlElement(`[ref="${e}"]`)}}function xo(e){return Ao.bind(this,e,void 0)}function Do(e){return Ao.bind(this,`[ref=${e}]`,e)}function Ao(e,t,r,i,o){null!==e?"number"!=typeof o?function(e,t,r){const i=function(e,t){e.__agComponentMetaData||(e.__agComponentMetaData={});e.__agComponentMetaData[t]||(e.__agComponentMetaData[t]={});return e.__agComponentMetaData[t]}(e,$(e.constructor));i[t]||(i[t]=[]);i[t].push(r)}(r,"querySelectors",{attributeName:i,querySelector:e,refSelector:t}):console.error("AG Grid: QuerySelector should be on an attribute"):console.error("AG Grid: QuerySelector selector should not be null")}To.EVENT_DISPLAYED_CHANGED="displayedChanged",Eo([Ce("agStackComponentsRegistry")],To.prototype,"agStackComponentsRegistry",void 0),Eo([ve],To.prototype,"preConstructOnComponent",null),Eo([ve],To.prototype,"createChildComponentsPreConstruct",null);var Oo=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Mo extends To{constructor(){super('\n <div class="ag-floating-filter-input" role="presentation">\n <ag-input-text-field ref="eFloatingFilterText"></ag-input-text-field>\n </div>')}destroy(){super.destroy()}init(e){this.params=e;const t=this.columnModel.getDisplayNameForColumn(e.column,"header",!0),r=this.localeService.getLocaleTextFunc();this.eFloatingFilterText.setDisabled(!0).setInputAriaLabel(`${t} ${r("ariaFilterInput","Filter Input")}`)}onParentModelChanged(e){e?this.params.parentFilterInstance(t=>{if(t.getModelAsString){const r=t.getModelAsString(e);this.eFloatingFilterText.setValue(r)}}):this.eFloatingFilterText.setValue("")}}Oo([Do("eFloatingFilterText")],Mo.prototype,"eFloatingFilterText",void 0),Oo([Ce("columnModel")],Mo.prototype,"columnModel",void 0);class Po{constructor(e,t,r,i){this.alive=!0,this.context=e,this.eParent=i;t.getDateCompDetails(r).newAgStackInstance().then(t=>{this.alive?(this.dateComp=t,t&&(i.appendChild(t.getGui()),t.afterGuiAttached&&t.afterGuiAttached(),this.tempValue&&t.setDate(this.tempValue),null!=this.disabled&&this.setDateCompDisabled(this.disabled))):e.destroyBean(t)})}destroy(){this.alive=!1,this.dateComp=this.context.destroyBean(this.dateComp)}getDate(){return this.dateComp?this.dateComp.getDate():this.tempValue}setDate(e){this.dateComp?this.dateComp.setDate(e):this.tempValue=e}setDisabled(e){this.dateComp?this.setDateCompDisabled(e):this.disabled=e}setDisplayed(e){vi(this.eParent,e)}setInputPlaceholder(e){this.dateComp&&this.dateComp.setInputPlaceholder&&this.dateComp.setInputPlaceholder(e)}setInputAriaLabel(e){this.dateComp&&this.dateComp.setInputAriaLabel&&this.dateComp.setInputAriaLabel(e)}afterGuiAttached(e){this.dateComp&&"function"==typeof this.dateComp.afterGuiAttached&&this.dateComp.afterGuiAttached(e)}setDateCompDisabled(e){null!=this.dateComp&&null!=this.dateComp.setDisabled&&this.dateComp.setDisabled(e)}}class No{constructor(){this.customFilterOptions={}}init(e,t){this.filterOptions=e.filterOptions||t,this.mapCustomOptions(),this.selectDefaultItem(e)}getFilterOptions(){return this.filterOptions}mapCustomOptions(){this.filterOptions&&this.filterOptions.forEach(e=>{if("string"==typeof e)return;[["displayKey"],["displayName"],["predicate","test"]].every(t=>!!t.some(t=>null!=e[t])||(console.warn(`AG Grid: ignoring FilterOptionDef as it doesn't contain one of '${t}'`),!1))?this.customFilterOptions[e.displayKey]=e:this.filterOptions=this.filterOptions.filter(t=>t===e)||[]})}selectDefaultItem(e){if(e.defaultOption)this.defaultOption=e.defaultOption;else if(this.filterOptions.length>=1){const e=this.filterOptions[0];"string"==typeof e?this.defaultOption=e:e.displayKey?this.defaultOption=e.displayKey:console.warn("AG Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'")}else console.warn("AG Grid: no filter options for filter")}getDefaultOption(){return this.defaultOption}getCustomOption(e){return this.customFilterOptions[e]}}const Lo={applyFilter:"Apply",clearFilter:"Clear",resetFilter:"Reset",cancelFilter:"Cancel",textFilter:"Text Filter",numberFilter:"Number Filter",dateFilter:"Date Filter",setFilter:"Set Filter",filterOoo:"Filter...",empty:"Choose One",equals:"Equals",notEqual:"Not equal",lessThan:"Less than",greaterThan:"Greater than",inRange:"In range",inRangeStart:"From",inRangeEnd:"To",lessThanOrEqual:"Less than or equals",greaterThanOrEqual:"Greater than or equals",contains:"Contains",notContains:"Not contains",startsWith:"Starts with",endsWith:"Ends with",blank:"Blank",notBlank:"Not blank",andCondition:"AND",orCondition:"OR",dateFormatOoo:"yyyy-mm-dd"};var Io=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class zo extends lt{constructor(e,t={}){super(),this.eFocusableElement=e,this.callbacks=t,this.callbacks=Object.assign({shouldStopEventPropagation:()=>!1,onTabKeyDown:e=>{if(e.defaultPrevented)return;const t=this.focusService.findNextFocusableElement(this.eFocusableElement,!1,e.shiftKey);t&&(t.focus(),e.preventDefault())}},t)}postConstruct(){this.eFocusableElement.classList.add(zo.FOCUS_MANAGED_CLASS),this.addKeyDownListeners(this.eFocusableElement),this.callbacks.onFocusIn&&this.addManagedListener(this.eFocusableElement,"focusin",this.callbacks.onFocusIn),this.callbacks.onFocusOut&&this.addManagedListener(this.eFocusableElement,"focusout",this.callbacks.onFocusOut)}addKeyDownListeners(e){this.addManagedListener(e,"keydown",e=>{e.defaultPrevented||et(e)||(this.callbacks.shouldStopEventPropagation(e)?$e(e):e.key===io.TAB?this.callbacks.onTabKeyDown(e):this.callbacks.handleKeyDown&&this.callbacks.handleKeyDown(e))})}}zo.FOCUS_MANAGED_CLASS="ag-focus-managed",Io([Ce("focusService")],zo.prototype,"focusService",void 0),Io([fe],zo.prototype,"postConstruct",null);var Fo=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class ko extends lt{constructor(e,t){super(),this.element=e,this.dragStartPosition={x:0,y:0},this.position={x:0,y:0},this.lastSize={width:-1,height:-1},this.positioned=!1,this.resizersAdded=!1,this.resizeListeners=[],this.boundaryEl=null,this.isResizing=!1,this.isMoving=!1,this.resizable={},this.movable=!1,this.currentResizer=null,this.config=Object.assign({},{popup:!1},t)}center(){const{clientHeight:e,clientWidth:t}=this.offsetParent,r=t/2-this.getWidth()/2,i=e/2-this.getHeight()/2;this.offsetElement(r,i)}initialisePosition(){if(this.positioned)return;const{centered:e,forcePopupParentAsOffsetParent:t,minWidth:r,width:i,minHeight:o,height:a,x:n,y:s}=this.config;this.offsetParent||this.setOffsetParent();let l=0,g=0;const d=!!this.element.offsetParent;if(d){const e=this.findBoundaryElement(),t=window.getComputedStyle(e);if(null!=t.minWidth){const r=e.offsetWidth-this.element.offsetWidth;g=parseInt(t.minWidth,10)-r}if(null!=t.minHeight){const r=e.offsetHeight-this.element.offsetHeight;l=parseInt(t.minHeight,10)-r}}if(this.minHeight=o||l,this.minWidth=r||g,i&&this.setWidth(i),a&&this.setHeight(a),i&&a||this.refreshSize(),e)this.center();else if(n||s)this.offsetElement(n,s);else if(d&&t){let e=this.boundaryEl,t=!0;if(e||(e=this.findBoundaryElement(),t=!1),e){const r=parseFloat(e.style.top),i=parseFloat(e.style.left);t?this.offsetElement(isNaN(i)?0:i,isNaN(r)?0:r):this.setPosition(i,r)}}this.positioned=!!this.offsetParent}isPositioned(){return this.positioned}getPosition(){return this.position}setMovable(e,t){if(!this.config.popup||e===this.movable)return;this.movable=e;const r=this.moveElementDragListener||{eElement:t,onDragStart:this.onMoveStart.bind(this),onDragging:this.onMove.bind(this),onDragStop:this.onMoveEnd.bind(this)};e?(this.dragService.addDragSource(r),this.moveElementDragListener=r):(this.dragService.removeDragSource(r),this.moveElementDragListener=void 0)}setResizable(e){if(this.clearResizeListeners(),e?this.addResizers():this.removeResizers(),"boolean"==typeof e){if(!1===e)return;e={topLeft:e,top:e,topRight:e,right:e,bottomRight:e,bottom:e,bottomLeft:e,left:e}}Object.keys(e).forEach(t=>{const r=!!e[t],i=this.getResizerElement(t),o={dragStartPixels:0,eElement:i,onDragStart:e=>this.onResizeStart(e,t),onDragging:this.onResize.bind(this),onDragStop:e=>this.onResizeEnd(e,t)};(r||!this.isAlive()&&!r)&&(r?(this.dragService.addDragSource(o),this.resizeListeners.push(o),i.style.pointerEvents="all"):i.style.pointerEvents="none",this.resizable[t]=r)})}removeSizeFromEl(){this.element.style.removeProperty("height"),this.element.style.removeProperty("width"),this.element.style.removeProperty("flex")}restoreLastSize(){this.element.style.flex="0 0 auto";const{height:e,width:t}=this.lastSize;-1!==t&&(this.element.style.width=t+"px"),-1!==e&&(this.element.style.height=e+"px")}getHeight(){return this.element.offsetHeight}setHeight(e){const{popup:t}=this.config,r=this.element;let i=!1;if("string"==typeof e&&-1!==e.indexOf("%"))Yi(r,e),e=Si(r),i=!0;else if(e=Math.max(this.minHeight,e),this.positioned){const t=this.getAvailableHeight();t&&e>t&&(e=t)}this.getHeight()!==e&&(i?(r.style.maxHeight="unset",r.style.minHeight="unset"):t?Yi(r,e):(r.style.height=e+"px",r.style.flex="0 0 auto",this.lastSize.height="number"==typeof e?e:parseFloat(e)))}getAvailableHeight(){const{popup:e,forcePopupParentAsOffsetParent:t}=this.config;this.positioned||this.initialisePosition();const{clientHeight:r}=this.offsetParent;if(!r)return null;const i=this.element.getBoundingClientRect(),o=this.offsetParent.getBoundingClientRect(),a=e?this.position.y:i.top,n=e?0:o.top;let s=0;if(t){const e=this.element.parentElement;if(e){const{bottom:t}=e.getBoundingClientRect();s=t-i.bottom}}return r+n-a-s}getWidth(){return this.element.offsetWidth}setWidth(e){const t=this.element,{popup:r}=this.config;let i=!1;if("string"==typeof e&&-1!==e.indexOf("%"))Ui(t,e),e=Ei(t),i=!0;else if(this.positioned){e=Math.max(this.minWidth,e);const{clientWidth:t}=this.offsetParent,i=r?this.position.x:this.element.getBoundingClientRect().left;t&&e+i>t&&(e=t-i)}this.getWidth()!==e&&(i?(t.style.maxWidth="unset",t.style.minWidth="unset"):this.config.popup?Ui(t,e):(t.style.width=e+"px",t.style.flex=" unset",this.lastSize.width="number"==typeof e?e:parseFloat(e)))}offsetElement(e=0,t=0){const{forcePopupParentAsOffsetParent:r}=this.config,i=r?this.boundaryEl:this.element;i&&(this.popupService.positionPopup({ePopup:i,keepWithinBounds:!0,skipObserver:this.movable||this.isResizable(),updatePosition:()=>({x:e,y:t})}),this.setPosition(parseFloat(i.style.left),parseFloat(i.style.top)))}constrainSizeToAvailableHeight(e){if(!this.config.forcePopupParentAsOffsetParent)return;const t=()=>{const e=this.getAvailableHeight();this.element.style.setProperty("max-height",e+"px")};e?this.resizeObserverSubscriber=this.resizeObserverService.observeResize(this.popupService.getPopupParent(),t):(this.element.style.removeProperty("max-height"),this.resizeObserverSubscriber&&(this.resizeObserverSubscriber(),this.resizeObserverSubscriber=void 0))}setPosition(e,t){this.position.x=e,this.position.y=t}updateDragStartPosition(e,t){this.dragStartPosition={x:e,y:t}}calculateMouseMovement(e){const{e:t,isLeft:r,isTop:i,anywhereWithin:o,topBuffer:a}=e,n=t.clientX-this.dragStartPosition.x,s=t.clientY-this.dragStartPosition.y;return{movementX:this.shouldSkipX(t,!!r,!!o,n)?0:n,movementY:this.shouldSkipY(t,!!i,a,s)?0:s}}shouldSkipX(e,t,r,i){const o=this.element.getBoundingClientRect(),a=this.offsetParent.getBoundingClientRect(),n=this.boundaryEl.getBoundingClientRect(),s=this.config.popup?this.position.x:o.left;let l=s<=0&&a.left>=e.clientX||a.right<=e.clientX&&a.right<=n.right;return!!l||(l=t?i<0&&e.clientX>s+a.left||i>0&&e.clientX<s+a.left:r?i<0&&e.clientX>n.right||i>0&&e.clientX<s+a.left:i<0&&e.clientX>n.right||i>0&&e.clientX<n.right,l)}shouldSkipY(e,t,r=0,i){const o=this.element.getBoundingClientRect(),a=this.offsetParent.getBoundingClientRect(),n=this.boundaryEl.getBoundingClientRect(),s=this.config.popup?this.position.y:o.top;let l=s<=0&&a.top>=e.clientY||a.bottom<=e.clientY&&a.bottom<=n.bottom;return!!l||(l=t?i<0&&e.clientY>s+a.top+r||i>0&&e.clientY<s+a.top:i<0&&e.clientY>n.bottom||i>0&&e.clientY<n.bottom,l)}createResizeMap(){const e=this.element;this.resizerMap={topLeft:{element:e.querySelector("[ref=eTopLeftResizer]")},top:{element:e.querySelector("[ref=eTopResizer]")},topRight:{element:e.querySelector("[ref=eTopRightResizer]")},right:{element:e.querySelector("[ref=eRightResizer]")},bottomRight:{element:e.querySelector("[ref=eBottomRightResizer]")},bottom:{element:e.querySelector("[ref=eBottomResizer]")},bottomLeft:{element:e.querySelector("[ref=eBottomLeftResizer]")},left:{element:e.querySelector("[ref=eLeftResizer]")}}}addResizers(){if(this.resizersAdded)return;const e=this.element;if(!e)return;const t=(new DOMParser).parseFromString('<div class="ag-resizer-wrapper">\n <div ref="eTopLeftResizer" class="ag-resizer ag-resizer-topLeft"></div>\n <div ref="eTopResizer" class="ag-resizer ag-resizer-top"></div>\n <div ref="eTopRightResizer" class="ag-resizer ag-resizer-topRight"></div>\n <div ref="eRightResizer" class="ag-resizer ag-resizer-right"></div>\n <div ref="eBottomRightResizer" class="ag-resizer ag-resizer-bottomRight"></div>\n <div ref="eBottomResizer" class="ag-resizer ag-resizer-bottom"></div>\n <div ref="eBottomLeftResizer" class="ag-resizer ag-resizer-bottomLeft"></div>\n <div ref="eLeftResizer" class="ag-resizer ag-resizer-left"></div>\n </div>',"text/html").body;e.appendChild(t.firstChild),this.createResizeMap(),this.resizersAdded=!0}removeResizers(){this.resizerMap=void 0;const e=this.element.querySelector(".ag-resizer-wrapper");e&&this.element.removeChild(e),this.resizersAdded=!1}getResizerElement(e){return this.resizerMap[e].element}onResizeStart(e,t){this.boundaryEl=this.findBoundaryElement(),this.positioned||this.initialisePosition(),this.currentResizer={isTop:!!t.match(/top/i),isRight:!!t.match(/right/i),isBottom:!!t.match(/bottom/i),isLeft:!!t.match(/left/i)},this.element.classList.add("ag-resizing"),this.resizerMap[t].element.classList.add("ag-active");const{popup:r,forcePopupParentAsOffsetParent:i}=this.config;r||i||this.applySizeToSiblings(this.currentResizer.isBottom||this.currentResizer.isTop),this.isResizing=!0,this.updateDragStartPosition(e.clientX,e.clientY)}getSiblings(){const e=this.element.parentElement;return e?Array.prototype.slice.call(e.children).filter(e=>!e.classList.contains("ag-hidden")):null}getMinSizeOfSiblings(){const e=this.getSiblings()||[];let t=0,r=0;for(let i=0;i<e.length;i++){const o=e[i],a=!!o.style.flex&&"0 0 auto"!==o.style.flex;if(o===this.element)continue;let n=this.minHeight||0,s=this.minWidth||0;if(a){const e=window.getComputedStyle(o);e.minHeight&&(n=parseInt(e.minHeight,10)),e.minWidth&&(s=parseInt(e.minWidth,10))}else n=o.offsetHeight,s=o.offsetWidth;t+=n,r+=s}return{height:t,width:r}}applySizeToSiblings(e){let t=null;const r=this.getSiblings();if(r){for(let i=0;i<r.length;i++){const o=r[i];o!==t&&(e?o.style.height=o.offsetHeight+"px":o.style.width=o.offsetWidth+"px",o.style.flex="0 0 auto",o===this.element&&(t=r[i+1]))}t&&(t.style.removeProperty("height"),t.style.removeProperty("min-height"),t.style.removeProperty("max-height"),t.style.flex="1 1 auto")}}isResizable(){return Object.values(this.resizable).some(e=>e)}onResize(e){if(!this.isResizing||!this.currentResizer)return;const{popup:t,forcePopupParentAsOffsetParent:r}=this.config,{isTop:i,isRight:o,isBottom:a,isLeft:n}=this.currentResizer,s=o||n,l=a||i,{movementX:g,movementY:d}=this.calculateMouseMovement({e:e,isLeft:n,isTop:i}),c=this.position.x,u=this.position.y;let p=0,h=0;if(s&&g){const e=n?-1:1,t=this.getWidth(),r=t+g*e;let i=!1;n&&(p=t-r,(c+p<=0||r<=this.minWidth)&&(i=!0,p=0)),i||this.setWidth(r)}if(l&&d){const e=i?-1:1,t=this.getHeight(),r=t+d*e;let o=!1;i?(h=t-r,(u+h<=0||r<=this.minHeight)&&(o=!0,h=0)):!this.config.popup&&!this.config.forcePopupParentAsOffsetParent&&t<r&&this.getMinSizeOfSiblings().height+r>this.element.parentElement.offsetHeight&&(o=!0),o||this.setHeight(r)}this.updateDragStartPosition(e.clientX,e.clientY),((t||r)&&p||h)&&this.offsetElement(c+p,u+h)}onResizeEnd(e,t){this.isResizing=!1,this.currentResizer=null,this.boundaryEl=null;const r={type:"resize",api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi};this.element.classList.remove("ag-resizing"),this.resizerMap[t].element.classList.remove("ag-active"),this.dispatchEvent(r)}refreshSize(){const e=this.element;this.config.popup&&(this.config.width||this.setWidth(e.offsetWidth),this.config.height||this.setHeight(e.offsetHeight))}onMoveStart(e){this.boundaryEl=this.findBoundaryElement(),this.positioned||this.initialisePosition(),this.isMoving=!0,this.element.classList.add("ag-moving"),this.updateDragStartPosition(e.clientX,e.clientY)}onMove(e){if(!this.isMoving)return;const{x:t,y:r}=this.position;let i;this.config.calculateTopBuffer&&(i=this.config.calculateTopBuffer());const{movementX:o,movementY:a}=this.calculateMouseMovement({e:e,isTop:!0,anywhereWithin:!0,topBuffer:i});this.offsetElement(t+o,r+a),this.updateDragStartPosition(e.clientX,e.clientY)}onMoveEnd(){this.isMoving=!1,this.boundaryEl=null,this.element.classList.remove("ag-moving")}setOffsetParent(){this.config.forcePopupParentAsOffsetParent?this.offsetParent=this.popupService.getPopupParent():this.offsetParent=this.element.offsetParent}findBoundaryElement(){let e=this.element;for(;e;){if("static"!==window.getComputedStyle(e).position)return e;e=e.parentElement}return this.element}clearResizeListeners(){for(;this.resizeListeners.length;){const e=this.resizeListeners.pop();this.dragService.removeDragSource(e)}}destroy(){super.destroy(),this.moveElementDragListener&&this.dragService.removeDragSource(this.moveElementDragListener),this.constrainSizeToAvailableHeight(!1),this.clearResizeListeners(),this.removeResizers()}}Fo([Ce("popupService")],ko.prototype,"popupService",void 0),Fo([Ce("resizeObserverService")],ko.prototype,"resizeObserverService",void 0),Fo([Ce("dragService")],ko.prototype,"dragService",void 0);var Go=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Ho extends To{constructor(e){super(),this.filterNameKey=e,this.applyActive=!1,this.hidePopup=null,this.debouncePending=!1,this.appliedModel=null}postConstruct(){this.resetTemplate(),this.createManagedBean(new zo(this.getFocusableElement(),{handleKeyDown:this.handleKeyDown.bind(this)})),this.positionableFeature=new ko(this.getPositionableElement(),{forcePopupParentAsOffsetParent:!0}),this.createBean(this.positionableFeature)}handleKeyDown(e){}getFilterTitle(){return this.translate(this.filterNameKey)}isFilterActive(){return!!this.appliedModel}resetTemplate(e){let t=this.getGui();t&&t.removeEventListener("submit",this.onFormSubmit);const r=`\n <form class="ag-filter-wrapper">\n <div class="ag-filter-body-wrapper ag-${this.getCssIdentifier()}-body-wrapper" ref="eFilterBody">\n ${this.createBodyTemplate()}\n </div>\n </form>`;this.setTemplate(r,e),t=this.getGui(),t&&t.addEventListener("submit",this.onFormSubmit)}isReadOnly(){return!!this.providedFilterParams.readOnly}init(e){this.setParams(e),this.resetUiToDefaults(!0).then(()=>{this.updateUiVisibility(),this.setupOnBtApplyDebounce()})}setParams(e){this.providedFilterParams=e,this.applyActive=Ho.isUseApplyButton(e),this.createButtonPanel()}createButtonPanel(){const{buttons:e}=this.providedFilterParams;if(!e||e.length<1||this.isReadOnly())return;const t=document.createElement("div");t.classList.add("ag-filter-apply-panel");const r=e=>{let r,i;switch(e){case"apply":r=this.translate("applyFilter"),i=e=>this.onBtApply(!1,!1,e);break;case"clear":r=this.translate("clearFilter"),i=()=>this.onBtClear();break;case"reset":r=this.translate("resetFilter"),i=()=>this.onBtReset();break;case"cancel":r=this.translate("cancelFilter"),i=e=>{this.onBtCancel(e)};break;default:return void console.warn("AG Grid: Unknown button type specified")}const o=Ni(`<button\n type="${"apply"===e?"submit":"button"}"\n ref="${e}FilterButton"\n class="ag-button ag-standard-button ag-filter-apply-panel-button"\n >${r}\n </button>`);t.appendChild(o),this.addManagedListener(o,"click",i)};po(e).forEach(e=>r(e)),this.getGui().appendChild(t)}getDefaultDebounceMs(){return 0}setupOnBtApplyDebounce(){const e=Ho.getDebounceMs(this.providedFilterParams,this.getDefaultDebounceMs()),t=ne(this.checkApplyDebounce.bind(this),e);this.onBtApplyDebounce=()=>{this.debouncePending=!0,t()}}checkApplyDebounce(){this.debouncePending&&(this.debouncePending=!1,this.onBtApply())}getModel(){return this.appliedModel?this.appliedModel:null}setModel(e){return(null!=e?this.setModelIntoUi(e):this.resetUiToDefaults()).then(()=>{this.updateUiVisibility(),this.applyModel("api")})}onBtCancel(e){this.resetUiToActiveModel(this.getModel(),()=>{this.handleCancelEnd(e)})}handleCancelEnd(e){this.providedFilterParams.closeOnApply&&this.close(e)}resetUiToActiveModel(e,t){const r=()=>{this.onUiChanged(!1,"prevent"),null==t||t()};null!=e?this.setModelIntoUi(e).then(r):this.resetUiToDefaults().then(r)}onBtClear(){this.resetUiToDefaults().then(()=>this.onUiChanged())}onBtReset(){this.onBtClear(),this.onBtApply()}applyModel(e="api"){const t=this.getModelFromUi();if(!this.isModelValid(t))return!1;const r=this.appliedModel;return this.appliedModel=t,!this.areModelsEqual(r,t)}isModelValid(e){return!0}onFormSubmit(e){e.preventDefault()}onBtApply(e=!1,t=!1,r){r&&r.preventDefault(),this.applyModel(t?"rowDataUpdated":"ui")&&this.providedFilterParams.filterChangedCallback({afterFloatingFilter:e,afterDataChange:t});const{closeOnApply:i}=this.providedFilterParams;i&&this.applyActive&&!e&&!t&&this.close(r)}onNewRowsLoaded(){}close(e){if(!this.hidePopup)return;const t=e,r=t&&t.key;let i;"Enter"!==r&&"Space"!==r||(i={keyboardEvent:t}),this.hidePopup(i),this.hidePopup=null}onUiChanged(e=!1,t){if(this.updateUiVisibility(),this.providedFilterParams.filterModifiedCallback(),this.applyActive&&!this.isReadOnly()){const e=this.isModelValid(this.getModelFromUi());mi(this.getRefElement("applyFilterButton"),!e)}e&&!t||"immediately"===t?this.onBtApply(e):(this.applyActive||t)&&"debounce"!==t||this.onBtApplyDebounce()}afterGuiAttached(e){e&&(this.hidePopup=e.hidePopup),this.refreshFilterResizer(null==e?void 0:e.container)}refreshFilterResizer(e){if(!this.positionableFeature||"toolPanel"===e)return;const t="floatingFilter"===e,{positionableFeature:r,gridOptionsService:i}=this;t?(r.restoreLastSize(),r.setResizable(i.is("enableRtl")?{bottom:!0,bottomLeft:!0,left:!0}:{bottom:!0,bottomRight:!0,right:!0})):(this.positionableFeature.removeSizeFromEl(),this.positionableFeature.setResizable(!1)),this.positionableFeature.constrainSizeToAvailableHeight(!0)}afterGuiDetached(){this.checkApplyDebounce(),this.positionableFeature&&this.positionableFeature.constrainSizeToAvailableHeight(!1)}static getDebounceMs(e,t){return Ho.isUseApplyButton(e)?(null!=e.debounceMs&&console.warn("AG Grid: debounceMs is ignored when apply button is present"),0):null!=e.debounceMs?e.debounceMs:t}static isUseApplyButton(e){return!!e.buttons&&e.buttons.indexOf("apply")>=0}destroy(){const e=this.getGui();e&&e.removeEventListener("submit",this.onFormSubmit),this.hidePopup=null,this.positionableFeature&&(this.positionableFeature=this.destroyBean(this.positionableFeature)),super.destroy()}translate(e){return this.localeService.getLocaleTextFunc()(e,Lo[e])}getCellValue(e){const{api:t,colDef:r,column:i,columnApi:o,context:a}=this.providedFilterParams;return this.providedFilterParams.valueGetter({api:t,colDef:r,column:i,columnApi:o,context:a,data:e.data,getValue:t=>e.data[t],node:e})}getPositionableElement(){return this.eFilterBody}}Go([Ce("rowModel")],Ho.prototype,"rowModel",void 0),Go([Do("eFilterBody")],Ho.prototype,"eFilterBody",void 0),Go([fe],Ho.prototype,"postConstruct",null);var Vo=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class _o extends To{constructor(e,t){super(t),this.labelSeparator="",this.labelAlignment="left",this.disabled=!1,this.label="",this.config=e||{}}postConstruct(){this.addCssClass("ag-labeled"),this.eLabel.classList.add("ag-label");const{labelSeparator:e,label:t,labelWidth:r,labelAlignment:i}=this.config;null!=e&&this.setLabelSeparator(e),null!=t&&this.setLabel(t),null!=r&&this.setLabelWidth(r),this.setLabelAlignment(i||this.labelAlignment),this.refreshLabel()}refreshLabel(){Ai(this.eLabel),"string"==typeof this.label?this.eLabel.innerText=this.label+this.labelSeparator:this.label&&this.eLabel.appendChild(this.label),""===this.label?(vi(this.eLabel,!1),lr(this.eLabel,"presentation")):(vi(this.eLabel,!0),lr(this.eLabel,null))}setLabelSeparator(e){return this.labelSeparator===e||(this.labelSeparator=e,null!=this.label&&this.refreshLabel()),this}getLabelId(){return this.eLabel.id=this.eLabel.id||`ag-${this.getCompId()}-label`,this.eLabel.id}getLabel(){return this.label}setLabel(e){return this.label===e||(this.label=e,this.refreshLabel()),this}setLabelAlignment(e){const t=this.getGui().classList;return t.toggle("ag-label-align-left","left"===e),t.toggle("ag-label-align-right","right"===e),t.toggle("ag-label-align-top","top"===e),this}setLabelEllipsis(e){return this.eLabel.classList.toggle("ag-label-ellipsis",e),this}setLabelWidth(e){return null==this.label||Wi(this.eLabel,e),this}setDisabled(e){e=!!e;const t=this.getGui();return mi(t,e),t.classList.toggle("ag-disabled",e),this.disabled=e,this}isDisabled(){return!!this.disabled}}Vo([fe],_o.prototype,"postConstruct",null);class Bo extends _o{constructor(e,t,r){super(e,t),this.className=r}postConstruct(){super.postConstruct(),this.className&&this.addCssClass(this.className)}onValueChange(e){return this.addManagedListener(this,Bo.EVENT_CHANGED,()=>e(this.getValue())),this}getWidth(){return this.getGui().clientWidth}setWidth(e){return Ui(this.getGui(),e),this}getPreviousValue(){return this.previousValue}getValue(){return this.value}setValue(e,t){return this.value===e||(this.previousValue=this.value,this.value=e,t||this.dispatchEvent({type:Bo.EVENT_CHANGED})),this}}Bo.EVENT_CHANGED="valueChange";var jo=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Wo extends Bo{constructor(e,t,r,i){super(e,`<div class="ag-picker-field" role="presentation">\n <div ref="eLabel"></div>\n <div ref="eWrapper"\n class="ag-wrapper ag-picker-field-wrapper"\n tabIndex="-1"\n aria-expanded="false"\n ${i?`role="${i}"`:""}\n >\n <div ref="eDisplayField" class="ag-picker-field-display"></div>\n <div ref="eIcon" class="ag-picker-field-icon" aria-hidden="true"></div>\n </div>\n </div>`,t),this.pickerIcon=r,this.isPickerDisplayed=!1,this.isDestroyingPicker=!1,this.skipClick=!1}postConstruct(){super.postConstruct();const e=`ag-${this.getCompId()}-display`;this.eDisplayField.setAttribute("id",e),fr(this.eWrapper,e);const t=()=>{this.skipClick?this.skipClick=!1:this.isDisabled()||(this.pickerComponent=this.showPicker())},r=this.getGui();if(this.addManagedListener(r,"mousedown",e=>{!this.skipClick&&this.pickerComponent&&this.pickerComponent.isAlive()&&Pi(this.pickerComponent.getGui())&&r.contains(e.target)&&(this.skipClick=!0)}),this.addManagedListener(r,"keydown",e=>{switch(e.key){case io.UP:case io.DOWN:case io.ENTER:case io.SPACE:t();case io.ESCAPE:this.isPickerDisplayed&&e.preventDefault()}}),this.addManagedListener(this.eWrapper,"click",t),this.addManagedListener(this.eLabel,"click",t),this.pickerIcon){const e=ro(this.pickerIcon,this.gridOptionsService);e&&this.eIcon.appendChild(e)}}refreshLabel(){S(this.getLabel())?hr(this.eWrapper,this.getLabelId()):this.eWrapper.removeAttribute("aria-labelledby"),super.refreshLabel()}setAriaLabel(e){return pr(this.eWrapper,e),this}setInputWidth(e){return Wi(this.eWrapper,e),this}getFocusableElement(){return this.eWrapper}}jo([Do("eLabel")],Wo.prototype,"eLabel",void 0),jo([Do("eWrapper")],Wo.prototype,"eWrapper",void 0),jo([Do("eDisplayField")],Wo.prototype,"eDisplayField",void 0),jo([Do("eIcon")],Wo.prototype,"eIcon",void 0);var Uo=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Ko extends To{constructor(e="default"){super(`<div class="ag-list ag-${e}-list" role="listbox"></div>`),this.cssIdentifier=e,this.options=[],this.itemEls=[]}init(){this.addManagedListener(this.getGui(),"keydown",this.handleKeyDown.bind(this))}handleKeyDown(e){const t=e.key;switch(t){case io.ENTER:if(this.highlightedEl){const e=this.itemEls.indexOf(this.highlightedEl);this.setValueByIndex(e)}else this.setValue(this.getValue());break;case io.DOWN:case io.UP:const r=t===io.DOWN;let i;if(e.preventDefault(),this.highlightedEl){let e=this.itemEls.indexOf(this.highlightedEl)+(r?1:-1);e=Math.min(Math.max(e,0),this.itemEls.length-1),i=this.itemEls[e]}else i=this.itemEls[r?0:this.itemEls.length-1];this.highlightItem(i)}}addOptions(e){return e.forEach(e=>this.addOption(e)),this}addOption(e){const{value:t,text:r}=e,i=Et(r||t);return this.options.push({value:t,text:i}),this.renderOption(t,i),this.updateIndices(),this}updateIndices(){const e=this.getGui().querySelectorAll(".ag-list-item");e.forEach((t,r)=>{Rr(t,r+1),Er(t,e.length)})}renderOption(e,t){const r=document.createElement("div");lr(r,"option"),r.classList.add("ag-list-item",`ag-${this.cssIdentifier}-list-item`),r.innerHTML=`<span>${t}</span>`,r.tabIndex=-1,this.itemEls.push(r),this.addManagedListener(r,"mouseover",()=>this.highlightItem(r)),this.addManagedListener(r,"mouseleave",()=>this.clearHighlighted()),this.addManagedListener(r,"click",()=>this.setValue(e)),this.getGui().appendChild(r)}setValue(e,t){if(this.value===e)return this.fireItemSelected(),this;if(null==e)return this.reset(),this;const r=this.options.findIndex(t=>t.value===e);if(-1!==r){const e=this.options[r];this.value=e.value,this.displayValue=null!=e.text?e.text:e.value,this.highlightItem(this.itemEls[r]),t||this.fireChangeEvent()}return this}setValueByIndex(e){return this.setValue(this.options[e].value)}getValue(){return this.value}getDisplayValue(){return this.displayValue}refreshHighlighted(){this.clearHighlighted();const e=this.options.findIndex(e=>e.value===this.value);-1!==e&&this.highlightItem(this.itemEls[e])}reset(){this.value=null,this.displayValue=null,this.clearHighlighted(),this.fireChangeEvent()}highlightItem(e){e.offsetParent&&(this.clearHighlighted(),this.highlightedEl=e,this.highlightedEl.classList.add(Ko.ACTIVE_CLASS),Lr(this.highlightedEl,!0),this.highlightedEl.focus())}clearHighlighted(){this.highlightedEl&&this.highlightedEl.offsetParent&&(this.highlightedEl.classList.remove(Ko.ACTIVE_CLASS),Lr(this.highlightedEl,!1),this.highlightedEl=null)}fireChangeEvent(){this.dispatchEvent({type:Bo.EVENT_CHANGED}),this.fireItemSelected()}fireItemSelected(){this.dispatchEvent({type:Ko.EVENT_ITEM_SELECTED})}}Ko.EVENT_ITEM_SELECTED="selectedItem",Ko.ACTIVE_CLASS="ag-active-item",Uo([fe],Ko.prototype,"init",null);var Yo=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class qo extends Wo{constructor(e){super(e,"ag-select","smallDown","listbox")}init(){this.listComponent=this.createBean(new Ko("select")),this.listComponent.setParentComponent(this),this.eWrapper.tabIndex=0,this.listComponent.addManagedListener(this.listComponent,Ko.EVENT_ITEM_SELECTED,()=>{this.hideList&&this.hideList(),this.dispatchEvent({type:qo.EVENT_ITEM_SELECTED})}),this.listComponent.addManagedListener(this.listComponent,Bo.EVENT_CHANGED,()=>{this.setValue(this.listComponent.getValue(),!1,!0),this.hideList&&this.hideList()})}showPicker(){const e=this.listComponent.getGui(),t=this.gridOptionsService.getDocument(),r=this.addManagedListener(t.body,"wheel",t=>{!e.contains(t.target)&&this.hideList&&this.hideList()}),i=this.addManagedListener(e,"focusout",t=>{!e.contains(t.relatedTarget)&&this.hideList&&this.hideList()}),o=this.localeService.getLocaleTextFunc(),a=this.popupService.addPopup({modal:!0,eChild:e,closeOnEsc:!0,closedCallback:()=>{this.hideList=null,this.isPickerDisplayed=!1,i(),r(),this.isAlive()&&(yr(this.eWrapper,!1),this.getFocusableElement().focus())},ariaLabel:o("ariaLabelSelectField","Select Field")});return a&&(this.hideList=a.hideFunc),this.isPickerDisplayed=!0,Wi(e,Ei(this.eWrapper)),yr(this.eWrapper,!0),e.style.maxHeight=bi(this.popupService.getPopupParent())+"px",e.style.position="absolute",this.popupService.positionPopupByComponent({type:"ag-list",eventSource:this.eWrapper,ePopup:e,position:"under",keepWithinBounds:!0}),this.listComponent.refreshHighlighted(),this.listComponent}addOptions(e){return e.forEach(e=>this.addOption(e)),this}addOption(e){return this.listComponent.addOption(e),this}setValue(e,t,r){if(this.value===e)return this;r||this.listComponent.setValue(e,!0);return this.listComponent.getValue()===this.getValue()?this:(this.eDisplayField.innerHTML=this.listComponent.getDisplayValue(),super.setValue(e,t))}destroy(){this.hideList&&this.hideList(),this.destroyBean(this.listComponent),super.destroy()}}qo.EVENT_ITEM_SELECTED="selectedItem",Yo([Ce("popupService")],qo.prototype,"popupService",void 0),Yo([fe],qo.prototype,"init",null);var Qo=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Xo extends Bo{constructor(e,t,r="text",i="input"){super(e,`\n <div role="presentation">\n <div ref="eLabel" class="ag-input-field-label"></div>\n <div ref="eWrapper" class="ag-wrapper ag-input-wrapper" role="presentation">\n <${i} ref="eInput" class="ag-input-field-input"></${i}>\n </div>\n </div>`,t),this.inputType=r,this.displayFieldTag=i}postConstruct(){super.postConstruct(),this.setInputType(),this.eLabel.classList.add(this.className+"-label"),this.eWrapper.classList.add(this.className+"-input-wrapper"),this.eInput.classList.add(this.className+"-input"),this.addCssClass("ag-input-field"),this.eInput.id=this.eInput.id||`ag-${this.getCompId()}-input`;const{width:e,value:t}=this.config;null!=e&&this.setWidth(e),null!=t&&this.setValue(t),this.addInputListeners(),this.activateTabIndex([this.eInput])}refreshLabel(){S(this.getLabel())?hr(this.eInput,this.getLabelId()):this.eInput.removeAttribute("aria-labelledby"),super.refreshLabel()}addInputListeners(){this.addManagedListener(this.eInput,"input",e=>this.setValue(e.target.value))}setInputType(){"input"===this.displayFieldTag&&this.eInput.setAttribute("type",this.inputType)}getInputElement(){return this.eInput}setInputWidth(e){return Wi(this.eWrapper,e),this}setInputName(e){return this.getInputElement().setAttribute("name",e),this}getFocusableElement(){return this.eInput}setMaxLength(e){return this.eInput.maxLength=e,this}setInputPlaceholder(e){return Ji(this.eInput,"placeholder",e),this}setInputAriaLabel(e){return pr(this.eInput,e),this}setDisabled(e){return mi(this.eInput,e),super.setDisabled(e)}}Qo([Do("eLabel")],Xo.prototype,"eLabel",void 0),Qo([Do("eWrapper")],Xo.prototype,"eWrapper",void 0),Qo([Do("eInput")],Xo.prototype,"eInput",void 0);class Zo extends Xo{constructor(e,t="ag-checkbox",r="checkbox"){super(e,t,r),this.labelAlignment="right",this.selected=!1,this.readOnly=!1,this.passive=!1}addInputListeners(){this.addManagedListener(this.eInput,"click",this.onCheckboxClick.bind(this)),this.addManagedListener(this.eLabel,"click",this.toggle.bind(this))}getNextValue(){return void 0===this.selected||!this.selected}setPassive(e){this.passive=e}isReadOnly(){return this.readOnly}setReadOnly(e){this.eWrapper.classList.toggle("ag-disabled",e),this.eInput.disabled=e,this.readOnly=e}setDisabled(e){return this.eWrapper.classList.toggle("ag-disabled",e),super.setDisabled(e)}toggle(){if(this.eInput.disabled)return;const e=this.isSelected(),t=this.getNextValue();this.passive?this.dispatchChange(t,e):this.setValue(t)}getValue(){return this.isSelected()}setValue(e,t){return this.refreshSelectedClass(e),this.setSelected(e,t),this}setName(e){return this.getInputElement().name=e,this}isSelected(){return this.selected}setSelected(e,t){this.isSelected()!==e&&(this.previousValue=this.isSelected(),e=this.selected="boolean"==typeof e?e:void 0,this.eInput.checked=e,this.eInput.indeterminate=void 0===e,t||this.dispatchChange(this.selected,this.previousValue))}dispatchChange(e,t,r){this.dispatchEvent({type:Zo.EVENT_CHANGED,selected:e,previousValue:t,event:r});const i=this.getInputElement(),o={type:ht.EVENT_CHECKBOX_CHANGED,id:i.id,name:i.name,selected:e,previousValue:t};this.eventService.dispatchEvent(o)}onCheckboxClick(e){if(this.passive||this.eInput.disabled)return;const t=this.isSelected(),r=this.selected=e.target.checked;this.refreshSelectedClass(r),this.dispatchChange(r,t,e)}refreshSelectedClass(e){this.eWrapper.classList.toggle("ag-checked",!0===e),this.eWrapper.classList.toggle("ag-indeterminate",null==e)}}class Jo extends Zo{constructor(e){super(e,"ag-radio-button","radio")}isSelected(){return this.eInput.checked}toggle(){this.eInput.disabled||this.isSelected()||this.setValue(!0)}addInputListeners(){super.addInputListeners(),this.addManagedListener(this.eventService,ht.EVENT_CHECKBOX_CHANGED,this.onChange.bind(this))}onChange(e){e.selected&&e.name&&this.eInput.name&&this.eInput.name===e.name&&e.id&&this.eInput.id!==e.id&&this.setValue(!1,!0)}}class $o{constructor(e,t){this.localeService=e,this.optionsFactory=t}getModelAsString(e){if(!e)return null;const t=null!=e.operator,r=this.localeService.getLocaleTextFunc();if(t){const t=e;let{conditions:i}=t;if(!i){const{condition1:e,condition2:r}=t;i=[e,r]}const o=i.map(e=>this.getModelAsString(e)),a="AND"===t.operator?"andCondition":"orCondition";return o.join(` ${r(a,Lo[a])} `)}if(e.type===ea.BLANK||e.type===ea.NOT_BLANK)return r(e.type,e.type);{const t=e,i=this.optionsFactory.getCustomOption(t.type),{displayKey:o,displayName:a,numberOfInputs:n}=i||{};return o&&a&&0===n?(r(o,a),a):this.conditionToString(t,i)}}}class ea extends Ho{constructor(){super(...arguments),this.eTypes=[],this.eJoinOperatorPanels=[],this.eJoinOperatorsAnd=[],this.eJoinOperatorsOr=[],this.eConditionBodies=[],this.listener=()=>this.onUiChanged(),this.lastUiCompletePosition=null,this.joinOperatorId=0}getNumberOfInputs(e){const t=this.optionsFactory.getCustomOption(e);if(t){const{numberOfInputs:e}=t;return null!=e?e:1}const r=[ea.EMPTY,ea.NOT_BLANK,ea.BLANK];return e&&r.indexOf(e)>=0?0:e===ea.IN_RANGE?2:1}onFloatingFilterChanged(e,t){this.setTypeFromFloatingFilter(e),this.setValueFromFloatingFilter(t),this.onUiChanged(!0)}setTypeFromFloatingFilter(e){this.eTypes.forEach((t,r)=>{0===r?t.setValue(e,!0):t.setValue(this.optionsFactory.getDefaultOption(),!0)})}getModelFromUi(){const e=this.getUiCompleteConditions();return 0===e.length?null:this.maxNumConditions>1&&e.length>1?{filterType:this.getFilterType(),operator:this.getJoinOperator(),condition1:e[0],condition2:e[1],conditions:e}:e[0]}getConditionTypes(){return this.eTypes.map(e=>e.getValue())}getConditionType(e){return this.eTypes[e].getValue()}getJoinOperator(){return 0===this.eJoinOperatorsOr.length?this.defaultJoinOperator:!0===this.eJoinOperatorsOr[0].getValue()?"OR":"AND"}areModelsEqual(e,t){if(!e&&!t)return!0;if(!e&&t||e&&!t)return!1;const r=!e.operator,i=!t.operator;if(!r&&i||r&&!i)return!1;let o;if(r){const r=e,i=t;o=this.areSimpleModelsEqual(r,i)}else{const r=e,i=t;o=r.operator===i.operator&&ke(r.conditions,i.conditions,(e,t)=>this.areSimpleModelsEqual(e,t))}return o}setModelIntoUi(e){if(e.operator){let t=e;t.conditions||(t.conditions=[t.condition1,t.condition2]);const r=this.validateAndUpdateConditions(t.conditions),i=this.getNumConditions();if(r<i)this.removeConditionsAndOperators(r);else if(r>i)for(let e=i;e<r;e++)this.createJoinOperatorPanel(),this.createOption();const o="OR"===t.operator;this.eJoinOperatorsAnd.forEach(e=>e.setValue(!o,!0)),this.eJoinOperatorsOr.forEach(e=>e.setValue(o,!0)),t.conditions.forEach((e,t)=>{this.eTypes[t].setValue(e.type,!0),this.setConditionIntoUi(e,t)})}else{const t=e;this.getNumConditions()>1&&this.removeConditionsAndOperators(1),this.eTypes[0].setValue(t.type,!0),this.setConditionIntoUi(t,0)}return this.lastUiCompletePosition=this.getNumConditions()-1,this.createMissingConditionsAndOperators(),this.onUiChanged(),mo.resolve()}validateAndUpdateConditions(e){let t=e.length;return t>this.maxNumConditions&&(e.splice(this.maxNumConditions),J(()=>console.warn('AG Grid: Filter Model contains more conditions than "filterParams.maxNumConditions". Additional conditions have been ignored.'),"simpleFilterSetModelMaxNumConditions"),t=this.maxNumConditions),t}doesFilterPass(e){var t;const r=this.getModel();if(null==r)return!0;const{operator:i}=r,o=[];if(i){const e=r;o.push(...null!==(t=e.conditions)&&void 0!==t?t:[])}else o.push(r);return o[i&&"OR"===i?"some":"every"](t=>this.individualConditionPasses(e,t))}setParams(e){super.setParams(e),this.setNumConditions(e),this.defaultJoinOperator=this.getDefaultJoinOperator(e.defaultJoinOperator),this.filterPlaceholder=e.filterPlaceholder,this.optionsFactory=new No,this.optionsFactory.init(e,this.getDefaultFilterOptions()),this.createFilterListOptions(),this.createOption(),this.createMissingConditionsAndOperators()}setNumConditions(e){var t,r;null!=e.suppressAndOrCondition&&J(()=>console.warn('AG Grid: Since v29.2 "filterParams.suppressAndOrCondition" is deprecated. Use "filterParams.maxNumConditions = 1" instead.'),"simpleFilterSuppressAndOrCondition"),null!=e.alwaysShowBothConditions&&J(()=>console.warn('AG Grid: Since v29.2 "filterParams.alwaysShowBothConditions" is deprecated. Use "filterParams.numAlwaysVisibleConditions = 2" instead.'),"simpleFilterAlwaysShowBothConditions"),this.maxNumConditions=null!==(t=e.maxNumConditions)&&void 0!==t?t:e.suppressAndOrCondition?1:2,this.maxNumConditions<1&&(J(()=>console.warn('AG Grid: "filterParams.maxNumConditions" must be greater than or equal to zero.'),"simpleFilterMaxNumConditions"),this.maxNumConditions=1),this.numAlwaysVisibleConditions=null!==(r=e.numAlwaysVisibleConditions)&&void 0!==r?r:e.alwaysShowBothConditions?2:1,this.numAlwaysVisibleConditions<1&&(J(()=>console.warn('AG Grid: "filterParams.numAlwaysVisibleConditions" must be greater than or equal to zero.'),"simpleFilterNumAlwaysVisibleConditions"),this.numAlwaysVisibleConditions=1),this.numAlwaysVisibleConditions>this.maxNumConditions&&(J(()=>console.warn('AG Grid: "filterParams.numAlwaysVisibleConditions" cannot be greater than "filterParams.maxNumConditions".'),"simpleFilterNumAlwaysVisibleGreaterThanMaxNumConditions"),this.numAlwaysVisibleConditions=this.maxNumConditions)}createOption(){const e=this.createManagedBean(new qo);this.eTypes.push(e),e.addCssClass("ag-filter-select"),this.eFilterBody.appendChild(e.getGui());const t=this.createValueElement();this.eConditionBodies.push(t),this.eFilterBody.appendChild(t),this.putOptionsIntoDropdown(e),this.resetType(e);const r=this.getNumConditions()-1;this.forEachPositionInput(r,e=>this.resetInput(e)),this.addChangedListeners(e,r)}createJoinOperatorPanel(){const e=document.createElement("div");this.eJoinOperatorPanels.push(e),e.classList.add("ag-filter-condition");const t=this.createJoinOperator(this.eJoinOperatorsAnd,e,"and"),r=this.createJoinOperator(this.eJoinOperatorsOr,e,"or");this.eFilterBody.appendChild(e);const i=this.eJoinOperatorPanels.length-1,o=this.joinOperatorId++;this.resetJoinOperatorAnd(t,i,o),this.resetJoinOperatorOr(r,i,o),this.isReadOnly()||(t.onValueChange(this.listener),r.onValueChange(this.listener))}createJoinOperator(e,t,r){const i=this.createManagedBean(new Jo);return e.push(i),i.addCssClass("ag-filter-condition-operator"),i.addCssClass("ag-filter-condition-operator-"+r),t.appendChild(i.getGui()),i}getDefaultJoinOperator(e){return"AND"===e||"OR"===e?e:"AND"}createFilterListOptions(){const e=this.optionsFactory.getFilterOptions();this.filterListOptions=e.map(e=>"string"==typeof e?this.createBoilerplateListOption(e):this.createCustomListOption(e))}putOptionsIntoDropdown(e){this.filterListOptions.forEach(t=>{e.addOption(t)}),e.setDisabled(this.filterListOptions.length<=1)}createBoilerplateListOption(e){return{value:e,text:this.translate(e)}}createCustomListOption(e){const{displayKey:t}=e,r=this.optionsFactory.getCustomOption(e.displayKey);return{value:t,text:r?this.localeService.getLocaleTextFunc()(r.displayKey,r.displayName):this.translate(t)}}isAllowTwoConditions(){return this.maxNumConditions>=2}createBodyTemplate(){return""}getCssIdentifier(){return"simple-filter"}updateUiVisibility(){const e=this.getJoinOperator();this.updateNumConditions(),this.updateConditionStatusesAndValues(this.lastUiCompletePosition,e)}updateNumConditions(){var e;let t=-1,r=!0;for(let e=0;e<this.getNumConditions();e++)this.isConditionUiComplete(e)?t=e:r=!1;if(this.shouldAddNewConditionAtEnd(r))this.createJoinOperatorPanel(),this.createOption();else{const r=null!==(e=this.lastUiCompletePosition)&&void 0!==e?e:this.getNumConditions()-2;if(t<r){this.removeConditionsAndOperators(r+1);const e=t+1,i=r-e;i>0&&this.removeConditionsAndOperators(e,i),this.createMissingConditionsAndOperators()}}this.lastUiCompletePosition=t}updateConditionStatusesAndValues(e,t){this.eTypes.forEach((t,r)=>{const i=this.isConditionDisabled(r,e);t.setDisabled(i||this.filterListOptions.length<=1),1===r&&(mi(this.eJoinOperatorPanels[0],i),this.eJoinOperatorsAnd[0].setDisabled(i),this.eJoinOperatorsOr[0].setDisabled(i))}),this.eConditionBodies.forEach((e,t)=>{vi(e,this.isConditionBodyVisible(t))});const r="OR"===(null!=t?t:this.getJoinOperator());this.eJoinOperatorsAnd.forEach((e,t)=>{e.setValue(!r,!0)}),this.eJoinOperatorsOr.forEach((e,t)=>{e.setValue(r,!0)}),this.forEachInput((t,r,i,o)=>{this.setElementDisplayed(t,r<o),this.setElementDisabled(t,this.isConditionDisabled(i,e))}),this.resetPlaceholder()}shouldAddNewConditionAtEnd(e){return e&&this.getNumConditions()<this.maxNumConditions&&!this.isReadOnly()}removeConditionsAndOperators(e,t){if(e>=this.getNumConditions())return;this.removeComponents(this.eTypes,e,t),this.removeElements(this.eConditionBodies,e,t),this.removeValueElements(e,t);const r=Math.max(e-1,0);this.removeElements(this.eJoinOperatorPanels,r,t),this.removeComponents(this.eJoinOperatorsAnd,r,t),this.removeComponents(this.eJoinOperatorsOr,r,t)}removeElements(e,t,r){this.removeItems(e,t,r).forEach(e=>Mi(e))}removeComponents(e,t,r){this.removeItems(e,t,r).forEach(e=>{Mi(e.getGui()),this.destroyBean(e)})}removeItems(e,t,r){return null==r?e.splice(t):e.splice(t,r)}afterGuiAttached(e){if(super.afterGuiAttached(e),this.resetPlaceholder(),!e||!e.suppressFocus&&!this.isReadOnly()){const e=this.getInputs(0)[0];if(!e)return;e instanceof Xo&&e.getInputElement().focus()}}afterGuiDetached(){super.afterGuiDetached();const e=this.getModel();this.areModelsEqual(e,this.getModelFromUi())&&!this.hasInvalidInputs()||this.resetUiToActiveModel(e);let t=-1,r=-1,i=!1;const o=this.getJoinOperator();for(let e=this.getNumConditions()-1;e>=0;e--)if(this.isConditionUiComplete(e))-1===t&&(t=e,r=e);else{const o=e<t;(e>=this.numAlwaysVisibleConditions&&!this.isConditionUiComplete(e-1)||o)&&(this.removeConditionsAndOperators(e,1),i=!0,o&&r--)}let a=!1;this.getNumConditions()<this.numAlwaysVisibleConditions&&(this.createMissingConditionsAndOperators(),a=!0),this.shouldAddNewConditionAtEnd(r===this.getNumConditions()-1)&&(this.createJoinOperatorPanel(),this.createOption(),a=!0),a&&this.updateConditionStatusesAndValues(r,o),i&&this.updateJoinOperatorsDisabled(),this.lastUiCompletePosition=r}getPlaceholderText(e,t){let r=this.translate(e);if(ee(this.filterPlaceholder)){const e=this.filterPlaceholder,i=this.eTypes[t].getValue();r=e({filterOptionKey:i,filterOption:this.translate(i),placeholder:r})}else"string"==typeof this.filterPlaceholder&&(r=this.filterPlaceholder);return r}resetPlaceholder(){const e=this.localeService.getLocaleTextFunc();this.forEachInput((t,r,i,o)=>{if(!(t instanceof Xo))return;const a=0===r&&o>1?"inRangeStart":0===r?"filterOoo":"inRangeEnd",n=0===r&&o>1?e("ariaFilterFromValue","Filter from value"):0===r?e("ariaFilterValue","Filter Value"):e("ariaFilterToValue","Filter to Value");t.setInputPlaceholder(this.getPlaceholderText(a,i)),t.setInputAriaLabel(n)})}setElementValue(e,t){e instanceof Xo&&e.setValue(null!=t?String(t):null,!0)}setElementDisplayed(e,t){e instanceof To&&vi(e.getGui(),t)}setElementDisabled(e,t){e instanceof To&&mi(e.getGui(),t)}attachElementOnChange(e,t){e instanceof Xo&&e.onValueChange(t)}forEachInput(e){this.getConditionTypes().forEach((t,r)=>{this.forEachPositionTypeInput(r,t,e)})}forEachPositionInput(e,t){const r=this.getConditionType(e);this.forEachPositionTypeInput(e,r,t)}forEachPositionTypeInput(e,t,r){const i=this.getNumberOfInputs(t),o=this.getInputs(e);for(let t=0;t<o.length;t++){const a=o[t];null!=a&&r(a,t,e,i)}}isConditionDisabled(e,t){return!!this.isReadOnly()||0!==e&&e>t+1}isConditionBodyVisible(e){const t=this.getConditionType(e);return this.getNumberOfInputs(t)>0}isConditionUiComplete(e){if(e>=this.getNumConditions())return!1;return this.getConditionType(e)!==ea.EMPTY&&!this.getValues(e).some(e=>null==e)}getNumConditions(){return this.eTypes.length}getUiCompleteConditions(){const e=[];for(let t=0;t<this.getNumConditions();t++)this.isConditionUiComplete(t)&&e.push(this.createCondition(t));return e}createMissingConditionsAndOperators(){if(!this.isReadOnly())for(let e=this.getNumConditions();e<this.numAlwaysVisibleConditions;e++)this.createJoinOperatorPanel(),this.createOption()}resetUiToDefaults(e){return this.removeConditionsAndOperators(this.isReadOnly()?1:this.numAlwaysVisibleConditions),this.eTypes.forEach(e=>this.resetType(e)),this.eJoinOperatorsAnd.forEach((e,t)=>this.resetJoinOperatorAnd(e,t,this.joinOperatorId+t)),this.eJoinOperatorsOr.forEach((e,t)=>this.resetJoinOperatorOr(e,t,this.joinOperatorId+t)),this.joinOperatorId++,this.forEachInput(e=>this.resetInput(e)),this.resetPlaceholder(),this.createMissingConditionsAndOperators(),this.lastUiCompletePosition=null,e||this.onUiChanged(),mo.resolve()}resetType(e){const t=this.localeService.getLocaleTextFunc()("ariaFilteringOperator","Filtering operator");e.setValue(this.optionsFactory.getDefaultOption(),!0).setAriaLabel(t).setDisabled(this.isReadOnly()||this.filterListOptions.length<=1)}resetJoinOperatorAnd(e,t,r){this.resetJoinOperator(e,t,this.isDefaultOperator("AND"),this.translate("andCondition"),r)}resetJoinOperatorOr(e,t,r){this.resetJoinOperator(e,t,this.isDefaultOperator("OR"),this.translate("orCondition"),r)}resetJoinOperator(e,t,r,i,o){this.updateJoinOperatorDisabled(e.setValue(r,!0).setName(`ag-simple-filter-and-or-${this.getCompId()}-${o}`).setLabel(i),t)}updateJoinOperatorsDisabled(){this.eJoinOperatorsAnd.forEach((e,t)=>this.updateJoinOperatorDisabled(e,t)),this.eJoinOperatorsOr.forEach((e,t)=>this.updateJoinOperatorDisabled(e,t))}updateJoinOperatorDisabled(e,t){e.setDisabled(this.isReadOnly()||t>0)}resetInput(e){this.setElementValue(e,null),this.setElementDisabled(e,this.isReadOnly())}setConditionIntoUi(e,t){const r=this.mapValuesFromModel(e);this.forEachInput((e,i,o,a)=>{o===t&&this.setElementValue(e,null!=r[i]?r[i]:null)})}setValueFromFloatingFilter(e){this.forEachInput((t,r,i,o)=>{this.setElementValue(t,0===r&&0===i?e:null)})}isDefaultOperator(e){return e===this.defaultJoinOperator}addChangedListeners(e,t){this.isReadOnly()||(e.onValueChange(this.listener),this.forEachPositionInput(t,e=>{this.attachElementOnChange(e,this.listener)}))}individualConditionPasses(e,t){const r=this.getCellValue(e.node),i=this.mapValuesFromModel(t),o=this.optionsFactory.getCustomOption(t.type),a=this.evaluateCustomFilter(o,i,r);return null!=a?a:null==r?this.evaluateNullValue(t.type):this.evaluateNonNullValue(i,r,t,e)}evaluateCustomFilter(e,t,r){if(null==e)return;const{predicate:i}=e;return null==i||t.some(e=>null==e)?void 0:i(t,r)}isBlank(e){return null==e||"string"==typeof e&&0===e.trim().length}hasInvalidInputs(){return!1}}ea.EMPTY="empty",ea.BLANK="blank",ea.NOT_BLANK="notBlank",ea.EQUALS="equals",ea.NOT_EQUAL="notEqual",ea.LESS_THAN="lessThan",ea.LESS_THAN_OR_EQUAL="lessThanOrEqual",ea.GREATER_THAN="greaterThan",ea.GREATER_THAN_OR_EQUAL="greaterThanOrEqual",ea.IN_RANGE="inRange",ea.CONTAINS="contains",ea.NOT_CONTAINS="notContains",ea.STARTS_WITH="startsWith",ea.ENDS_WITH="endsWith";class ta extends ea{setParams(e){super.setParams(e),this.scalarFilterParams=e}evaluateNullValue(e){switch(e){case ta.EQUALS:case ta.NOT_EQUAL:if(this.scalarFilterParams.includeBlanksInEquals)return!0;break;case ta.GREATER_THAN:case ta.GREATER_THAN_OR_EQUAL:if(this.scalarFilterParams.includeBlanksInGreaterThan)return!0;break;case ta.LESS_THAN:case ta.LESS_THAN_OR_EQUAL:if(this.scalarFilterParams.includeBlanksInLessThan)return!0;break;case ta.IN_RANGE:if(this.scalarFilterParams.includeBlanksInRange)return!0;break;case ta.BLANK:return!0;case ta.NOT_BLANK:return!1}return!1}evaluateNonNullValue(e,t,r){const i=this.comparator(),o=null!=e[0]?i(e[0],t):0;switch(r.type){case ta.EQUALS:return 0===o;case ta.NOT_EQUAL:return 0!==o;case ta.GREATER_THAN:return o>0;case ta.GREATER_THAN_OR_EQUAL:return o>=0;case ta.LESS_THAN:return o<0;case ta.LESS_THAN_OR_EQUAL:return o<=0;case ta.IN_RANGE:{const r=i(e[1],t);return this.scalarFilterParams.inRangeInclusive?o>=0&&r<=0:o>0&&r<0}case ta.BLANK:return this.isBlank(t);case ta.NOT_BLANK:return!this.isBlank(t);default:return console.warn('AG Grid: Unexpected type of filter "'+r.type+'", it looks like the filter was configured with incorrect Filter Options'),!0}}}var ra=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class ia extends $o{constructor(e,t,r){super(t,r),this.dateFilterParams=e}conditionToString(e,t){const{type:r}=e,{numberOfInputs:i}=t||{},o=r==ea.IN_RANGE||2===i,a=gi(e.dateFrom),n=gi(e.dateTo),s=this.dateFilterParams.inRangeFloatingFilterDateFormat;if(o){return`${null!==a?li(a,s):"null"}-${null!==n?li(n,s):"null"}`}return null!=a?li(a,s):""+r}}class oa extends ta{constructor(){super("dateFilter"),this.eConditionPanelsFrom=[],this.eConditionPanelsTo=[],this.dateConditionFromComps=[],this.dateConditionToComps=[],this.minValidYear=1e3,this.maxValidYear=1/0}afterGuiAttached(e){super.afterGuiAttached(e),this.dateConditionFromComps[0].afterGuiAttached(e)}mapValuesFromModel(e){const{dateFrom:t,dateTo:r,type:i}=e||{};return[t&&gi(t)||null,r&&gi(r)||null].slice(0,this.getNumberOfInputs(i))}comparator(){return this.dateFilterParams.comparator?this.dateFilterParams.comparator:this.defaultComparator.bind(this)}defaultComparator(e,t){return null==t||t<e?-1:t>e?1:0}setParams(e){this.dateFilterParams=e,super.setParams(e);const t=(t,r)=>{if(null!=e[t]){if(!isNaN(e[t]))return null==e[t]?r:Number(e[t]);console.warn(`AG Grid: DateFilter ${t} is not a number`)}return r};this.minValidYear=t("minValidYear",1e3),this.maxValidYear=t("maxValidYear",1/0),this.minValidYear>this.maxValidYear&&console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear"),this.filterModelFormatter=new ia(this.dateFilterParams,this.localeService,this.optionsFactory)}createDateCompWrapper(e){const t=new Po(this.getContext(),this.userComponentFactory,{onDateChanged:()=>this.onUiChanged(),filterParams:this.dateFilterParams},e);return this.addDestroyFunc(()=>t.destroy()),t}setElementValue(e,t){e.setDate(t)}setElementDisplayed(e,t){e.setDisplayed(t)}setElementDisabled(e,t){e.setDisabled(t)}getDefaultFilterOptions(){return oa.DEFAULT_FILTER_OPTIONS}createValueElement(){const e=document.createElement("div");return e.classList.add("ag-filter-body"),this.createFromToElement(e,this.eConditionPanelsFrom,this.dateConditionFromComps,"from"),this.createFromToElement(e,this.eConditionPanelsTo,this.dateConditionToComps,"to"),e}createFromToElement(e,t,r,i){const o=document.createElement("div");o.classList.add("ag-filter-"+i),o.classList.add("ag-filter-date-"+i),t.push(o),e.appendChild(o),r.push(this.createDateCompWrapper(o))}removeValueElements(e,t){this.removeDateComps(this.dateConditionFromComps,e,t),this.removeDateComps(this.dateConditionToComps,e,t),this.removeItems(this.eConditionPanelsFrom,e,t),this.removeItems(this.eConditionPanelsTo,e,t)}removeDateComps(e,t,r){this.removeItems(e,t,r).forEach(e=>e.destroy())}isConditionUiComplete(e){if(!super.isConditionUiComplete(e))return!1;const t=e=>null!=e&&e.getUTCFullYear()>=this.minValidYear&&e.getUTCFullYear()<=this.maxValidYear;let r=!0;return this.forEachInput((i,o,a,n)=>{a!==e||!r||o>=n||(r=r&&t(i.getDate()))}),r}areSimpleModelsEqual(e,t){return e.dateFrom===t.dateFrom&&e.dateTo===t.dateTo&&e.type===t.type}getFilterType(){return"date"}createCondition(e){const t=this.getConditionType(e),r={},i=this.getValues(e);return i.length>0&&(r.dateFrom=ni(i[0])),i.length>1&&(r.dateTo=ni(i[1])),Object.assign({dateFrom:null,dateTo:null,filterType:this.getFilterType(),type:t},r)}resetPlaceholder(){const e=this.localeService.getLocaleTextFunc(),t=this.translate("dateFormatOoo"),r=e("ariaFilterValue","Filter Value");this.forEachInput(e=>{e.setInputPlaceholder(t),e.setInputAriaLabel(r)})}getInputs(e){return e>=this.dateConditionFromComps.length?[null,null]:[this.dateConditionFromComps[e],this.dateConditionToComps[e]]}getValues(e){const t=[];return this.forEachPositionInput(e,(e,r,i,o)=>{r<o&&t.push(e.getDate())}),t}getModelAsString(e){var t;return null!==(t=this.filterModelFormatter.getModelAsString(e))&&void 0!==t?t:""}}oa.DEFAULT_FILTER_OPTIONS=[ta.EQUALS,ta.GREATER_THAN,ta.LESS_THAN,ta.NOT_EQUAL,ta.IN_RANGE,ta.BLANK,ta.NOT_BLANK],ra([Ce("userComponentFactory")],oa.prototype,"userComponentFactory",void 0);class aa extends To{getDefaultDebounceMs(){return 0}destroy(){super.destroy()}isEventFromFloatingFilter(e){return e&&e.afterFloatingFilter}isEventFromDataChange(e){return null==e?void 0:e.afterDataChange}getLastType(){return this.lastType}isReadOnly(){return this.readOnly}setLastTypeFromModel(e){if(!e)return void(this.lastType=this.optionsFactory.getDefaultOption());let t;if(e.operator){t=e.conditions[0]}else t=e;this.lastType=t.type}canWeEditAfterModelFromParentFilter(e){if(!e)return this.isTypeEditable(this.lastType);if(e.operator)return!1;const t=e;return this.isTypeEditable(t.type)}init(e){this.optionsFactory=new No,this.optionsFactory.init(e.filterParams,this.getDefaultFilterOptions()),this.lastType=this.optionsFactory.getDefaultOption(),this.readOnly=!!e.filterParams.readOnly;const t=this.isTypeEditable(this.lastType);this.setEditable(t)}doesFilterHaveSingleInput(e){const t=this.optionsFactory.getCustomOption(e),{numberOfInputs:r}=t||{};return null==r||1==r}isTypeEditable(e){const t=[ea.IN_RANGE,ea.EMPTY,ea.BLANK,ea.NOT_BLANK];return!!e&&!this.isReadOnly()&&this.doesFilterHaveSingleInput(e)&&t.indexOf(e)<0}}var na=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class sa extends aa{constructor(){super('\n <div class="ag-floating-filter-input" role="presentation">\n <ag-input-text-field ref="eReadOnlyText"></ag-input-text-field>\n <div ref="eDateWrapper" style="display: flex;"></div>\n </div>')}getDefaultFilterOptions(){return oa.DEFAULT_FILTER_OPTIONS}init(e){super.init(e),this.params=e,this.filterParams=e.filterParams,this.createDateComponent();const t=this.localeService.getLocaleTextFunc();this.eReadOnlyText.setDisabled(!0).setInputAriaLabel(t("ariaDateFilterInput","Date Filter Input")),this.filterModelFormatter=new ia(this.filterParams,this.localeService,this.optionsFactory)}setEditable(e){vi(this.eDateWrapper,e),vi(this.eReadOnlyText.getGui(),!e)}onParentModelChanged(e,t){if(this.isEventFromFloatingFilter(t)||this.isEventFromDataChange(t))return;super.setLastTypeFromModel(e);const r=!this.isReadOnly()&&this.canWeEditAfterModelFromParentFilter(e);if(this.setEditable(r),r){if(e){const t=e;this.dateComp.setDate(gi(t.dateFrom))}else this.dateComp.setDate(null);this.eReadOnlyText.setValue("")}else this.eReadOnlyText.setValue(this.filterModelFormatter.getModelAsString(e)),this.dateComp.setDate(null)}onDateChanged(){const e=ni(this.dateComp.getDate());this.params.parentFilterInstance(t=>{if(t){const r=gi(e);t.onFloatingFilterChanged(this.getLastType()||null,r)}})}createDateComponent(){const e=Ho.getDebounceMs(this.params.filterParams,this.getDefaultDebounceMs()),t={onDateChanged:ne(this.onDateChanged.bind(this),e),filterParams:this.params.column.getColDef().filterParams};this.dateComp=new Po(this.getContext(),this.userComponentFactory,t,this.eDateWrapper),this.addDestroyFunc(()=>this.dateComp.destroy())}getFilterModelFormatter(){return this.filterModelFormatter}}na([Ce("userComponentFactory")],sa.prototype,"userComponentFactory",void 0),na([Do("eReadOnlyText")],sa.prototype,"eReadOnlyText",void 0),na([Do("eDateWrapper")],sa.prototype,"eDateWrapper",void 0);var la=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class ga extends To{constructor(){super('\n <div class="ag-filter-filter">\n <ag-input-text-field class="ag-date-filter" ref="eDateInput"></ag-input-text-field>\n </div>')}destroy(){super.destroy()}init(e){const t=this.gridOptionsService.getDocument(),r=this.eDateInput.getInputElement(),i=this.shouldUseBrowserDatePicker(e);i&&(r.type="date");const o=i&&kr();this.addManagedListener(r,"mousedown",()=>{this.eDateInput.isDisabled()||o||r.focus()}),this.addManagedListener(r,"input",r=>{r.target===t.activeElement&&(this.eDateInput.isDisabled()||e.onDateChanged())});const{minValidYear:a,maxValidYear:n}=e.filterParams||{};a&&(r.min=a+"-01-01"),n&&(r.max=n+"-12-31")}getDate(){return gi(this.eDateInput.getValue())}setDate(e){this.eDateInput.setValue(ni(e,!1))}setInputPlaceholder(e){this.eDateInput.setInputPlaceholder(e)}setDisabled(e){this.eDateInput.setDisabled(e)}afterGuiAttached(e){e&&e.suppressFocus||this.eDateInput.getInputElement().focus()}shouldUseBrowserDatePicker(e){return e.filterParams&&null!=e.filterParams.browserDatePicker?e.filterParams.browserDatePicker:Hr()||Vr()||kr()&&Gr()>=14.1}}la([Do("eDateInput")],ga.prototype,"eDateInput",void 0);class da extends Xo{constructor(e,t="ag-text-field",r="text"){super(e,t,r)}postConstruct(){super.postConstruct(),this.config.allowedCharPattern&&this.preventDisallowedCharacters()}setValue(e,t){const r=super.setValue(e,t);return this.eInput.value!==e&&(this.eInput.value=S(e)?e:""),r}setStartValue(e){this.setValue(e,!0)}preventDisallowedCharacters(){const e=new RegExp(`[${this.config.allowedCharPattern}]`);this.addManagedListener(this.eInput,"keydown",t=>{oo(t)&&t.key&&!e.test(t.key)&&t.preventDefault()}),this.addManagedListener(this.eInput,"paste",t=>{var r;const i=null===(r=t.clipboardData)||void 0===r?void 0:r.getData("text");i&&i.split("").some(t=>!e.test(t))&&t.preventDefault()})}}class ca extends da{constructor(e){super(e,"ag-number-field","number")}postConstruct(){super.postConstruct(),this.addManagedListener(this.eInput,"blur",()=>{const e=parseFloat(this.eInput.value),t=isNaN(e)?"":this.normalizeValue(e.toString());this.value!==t&&this.setValue(t)}),this.addManagedListener(this.eInput,"wheel",this.onWheel.bind(this)),this.eInput.step="any"}onWheel(e){document.activeElement===this.eInput&&e.preventDefault()}normalizeValue(e){if(""===e)return"";null!=this.precision&&(e=this.adjustPrecision(e));const t=parseFloat(e);return null!=this.min&&t<this.min?e=this.min.toString():null!=this.max&&t>this.max&&(e=this.max.toString()),e}adjustPrecision(e,t){if(null==this.precision)return e;if(t){const t=parseFloat(e).toFixed(this.precision);return parseFloat(t).toString()}const r=String(e).split(".");if(r.length>1){if(r[1].length<=this.precision)return e;if(this.precision>0)return`${r[0]}.${r[1].slice(0,this.precision)}`}return r[0]}setMin(e){return this.min===e||(this.min=e,Ji(this.eInput,"min",e)),this}setMax(e){return this.max===e||(this.max=e,Ji(this.eInput,"max",e)),this}setPrecision(e){return this.precision=e,this}setStep(e){return this.step===e||(this.step=e,Ji(this.eInput,"step",e)),this}setValue(e,t){return this.setValueOrInputValue(e=>super.setValue(e,t),()=>this,e)}setStartValue(e){return this.setValueOrInputValue(e=>super.setValue(e,!0),e=>{this.eInput.value=e},e)}setValueOrInputValue(e,t,r){if(S(r)){let i=this.isScientificNotation(r);if(i&&this.eInput.validity.valid)return e(r);if(!i){i=(r=this.adjustPrecision(r))!=this.normalizeValue(r)}if(i)return t(r)}return e(r)}getValue(){if(!this.eInput.validity.valid)return;const e=this.eInput.value;return this.isScientificNotation(e)?this.adjustPrecision(e,!0):super.getValue()}isScientificNotation(e){return"string"==typeof e&&e.includes("e")}}class ua extends $o{conditionToString(e,t){const{numberOfInputs:r}=t||{};return e.type==ea.IN_RANGE||2===r?`${e.filter}-${e.filterTo}`:null!=e.filter?""+e.filter:""+e.type}}function pa(e){const{allowedCharPattern:t}=null!=e?e:{};return null!=t?t:null}class ha extends ta{constructor(){super("numberFilter"),this.eValuesFrom=[],this.eValuesTo=[]}mapValuesFromModel(e){const{filter:t,filterTo:r,type:i}=e||{};return[this.processValue(t),this.processValue(r)].slice(0,this.getNumberOfInputs(i))}getDefaultDebounceMs(){return 500}comparator(){return(e,t)=>e===t?0:e<t?1:-1}setParams(e){this.numberFilterParams=e,super.setParams(e),this.filterModelFormatter=new ua(this.localeService,this.optionsFactory)}getDefaultFilterOptions(){return ha.DEFAULT_FILTER_OPTIONS}createValueElement(){const e=pa(this.numberFilterParams),t=document.createElement("div");return t.classList.add("ag-filter-body"),lr(t,"presentation"),this.createFromToElement(t,this.eValuesFrom,"from",e),this.createFromToElement(t,this.eValuesTo,"to",e),t}createFromToElement(e,t,r,i){const o=this.createManagedBean(i?new da({allowedCharPattern:i}):new ca);o.addCssClass("ag-filter-"+r),o.addCssClass("ag-filter-filter"),t.push(o),e.appendChild(o.getGui())}removeValueElements(e,t){this.removeComponents(this.eValuesFrom,e,t),this.removeComponents(this.eValuesTo,e,t)}getValues(e){const t=[];return this.forEachPositionInput(e,(e,r,i,o)=>{r<o&&t.push(this.processValue(this.stringToFloat(e.getValue())))}),t}areSimpleModelsEqual(e,t){return e.filter===t.filter&&e.filterTo===t.filterTo&&e.type===t.type}getFilterType(){return"number"}processValue(e){return null==e||isNaN(e)?null:e}stringToFloat(e){if("number"==typeof e)return e;let t=y(e);return null!=t&&""===t.trim()&&(t=null),this.numberFilterParams.numberParser?this.numberFilterParams.numberParser(t):null==t||"-"===t.trim()?null:parseFloat(t)}createCondition(e){const t=this.getConditionType(e),r={filterType:this.getFilterType(),type:t},i=this.getValues(e);return i.length>0&&(r.filter=i[0]),i.length>1&&(r.filterTo=i[1]),r}getInputs(e){return e>=this.eValuesFrom.length?[null,null]:[this.eValuesFrom[e],this.eValuesTo[e]]}getModelAsString(e){var t;return null!==(t=this.filterModelFormatter.getModelAsString(e))&&void 0!==t?t:""}hasInvalidInputs(){let e=!1;return this.forEachInput(t=>{t.getInputElement().validity.valid||(e=!0)}),e}}ha.DEFAULT_FILTER_OPTIONS=[ta.EQUALS,ta.NOT_EQUAL,ta.LESS_THAN,ta.LESS_THAN_OR_EQUAL,ta.GREATER_THAN,ta.GREATER_THAN_OR_EQUAL,ta.IN_RANGE,ta.BLANK,ta.NOT_BLANK];class va extends $o{conditionToString(e,t){const{numberOfInputs:r}=t||{};return e.type==ea.IN_RANGE||2===r?`${e.filter}-${e.filterTo}`:null!=e.filter?""+e.filter:""+e.type}}class fa extends ea{constructor(){super("textFilter"),this.eValuesFrom=[],this.eValuesTo=[]}static trimInput(e){const t=e&&e.trim();return""===t?e:t}getDefaultDebounceMs(){return 500}setParams(e){this.textFilterParams=e,super.setParams(e),this.matcher=this.getTextMatcher(),this.formatter=this.textFilterParams.textFormatter||(this.textFilterParams.caseSensitive?fa.DEFAULT_FORMATTER:fa.DEFAULT_LOWERCASE_FORMATTER),this.filterModelFormatter=new va(this.localeService,this.optionsFactory)}getTextMatcher(){const e=this.textFilterParams.textCustomComparator;return e?(ho.doOnce(()=>console.warn("AG Grid - textCustomComparator is deprecated, use textMatcher instead."),"textCustomComparator.deprecated"),({filterOption:t,value:r,filterText:i})=>e(t,r,i)):this.textFilterParams.textMatcher||fa.DEFAULT_MATCHER}createCondition(e){const t=this.getConditionType(e),r={filterType:this.getFilterType(),type:t},i=this.getValues(e);return i.length>0&&(r.filter=i[0]),i.length>1&&(r.filterTo=i[1]),r}getFilterType(){return"text"}areSimpleModelsEqual(e,t){return e.filter===t.filter&&e.filterTo===t.filterTo&&e.type===t.type}getInputs(e){return e>=this.eValuesFrom.length?[null,null]:[this.eValuesFrom[e],this.eValuesTo[e]]}getValues(e){const t=[];return this.forEachPositionInput(e,(e,r,i,o)=>{if(r<o){const r=y(e.getValue()),i=(this.textFilterParams.trimInput?fa.trimInput(r):r)||null;t.push(i),e.setValue(i,!0)}}),t}getDefaultFilterOptions(){return fa.DEFAULT_FILTER_OPTIONS}createValueElement(){const e=document.createElement("div");return e.classList.add("ag-filter-body"),lr(e,"presentation"),this.createFromToElement(e,this.eValuesFrom,"from"),this.createFromToElement(e,this.eValuesTo,"to"),e}createFromToElement(e,t,r){const i=this.createManagedBean(new da);i.addCssClass("ag-filter-"+r),i.addCssClass("ag-filter-filter"),t.push(i),e.appendChild(i.getGui())}removeValueElements(e,t){this.removeComponents(this.eValuesFrom,e,t),this.removeComponents(this.eValuesTo,e,t)}mapValuesFromModel(e){const{filter:t,filterTo:r,type:i}=e||{};return[t||null,r||null].slice(0,this.getNumberOfInputs(i))}evaluateNullValue(e){const t=[ea.NOT_EQUAL,ea.NOT_CONTAINS,ea.BLANK];return!!e&&t.indexOf(e)>=0}evaluateNonNullValue(e,t,r,i){const o=e.map(e=>this.formatter(e))||[],a=this.formatter(t),{api:n,colDef:s,column:l,columnApi:g,context:d,textFormatter:c}=this.textFilterParams;if(r.type===ea.BLANK)return this.isBlank(t);if(r.type===ea.NOT_BLANK)return!this.isBlank(t);const u={api:n,colDef:s,column:l,columnApi:g,context:d,node:i.node,data:i.data,filterOption:r.type,value:a,textFormatter:c};return o.some(e=>this.matcher(Object.assign(Object.assign({},u),{filterText:e})))}getModelAsString(e){var t;return null!==(t=this.filterModelFormatter.getModelAsString(e))&&void 0!==t?t:""}}fa.DEFAULT_FILTER_OPTIONS=[ea.CONTAINS,ea.NOT_CONTAINS,ea.EQUALS,ea.NOT_EQUAL,ea.STARTS_WITH,ea.ENDS_WITH,ea.BLANK,ea.NOT_BLANK],fa.DEFAULT_FORMATTER=e=>e,fa.DEFAULT_LOWERCASE_FORMATTER=e=>null==e?null:e.toString().toLowerCase(),fa.DEFAULT_MATCHER=({filterOption:e,value:t,filterText:r})=>{if(null==r)return!1;switch(e){case fa.CONTAINS:return t.indexOf(r)>=0;case fa.NOT_CONTAINS:return t.indexOf(r)<0;case fa.EQUALS:return t===r;case fa.NOT_EQUAL:return t!=r;case fa.STARTS_WITH:return 0===t.indexOf(r);case fa.ENDS_WITH:const e=t.lastIndexOf(r);return e>=0&&e===t.length-r.length;default:return!1}};var ma=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class wa extends lt{constructor(e){super(),this.params=e}setupGui(e){this.eFloatingFilterTextInput=this.createManagedBean(new da(this.params.config)),this.eFloatingFilterTextInput.setInputAriaLabel(this.params.ariaLabel),e.appendChild(this.eFloatingFilterTextInput.getGui())}setEditable(e){this.eFloatingFilterTextInput.setDisabled(!e)}getValue(){return this.eFloatingFilterTextInput.getValue()}setValue(e,t){this.eFloatingFilterTextInput.setValue(e,t)}addValueChangedListener(e){const t=this.eFloatingFilterTextInput.getGui();this.addManagedListener(t,"input",e),this.addManagedListener(t,"keydown",e)}}class Ca extends aa{postConstruct(){this.setTemplate('\n <div class="ag-floating-filter-input" role="presentation" ref="eFloatingFilterInputContainer"></div>\n ')}getDefaultDebounceMs(){return 500}onParentModelChanged(e,t){this.isEventFromFloatingFilter(t)||this.isEventFromDataChange(t)||(this.setLastTypeFromModel(e),this.setEditable(this.canWeEditAfterModelFromParentFilter(e)),this.floatingFilterInputService.setValue(this.getFilterModelFormatter().getModelAsString(e)))}init(e){this.params=e;const t=`${this.columnModel.getDisplayNameForColumn(e.column,"header",!0)} ${this.localeService.getLocaleTextFunc()("ariaFilterInput","Filter Input")}`;if(this.floatingFilterInputService=this.createFloatingFilterInputService(t),this.floatingFilterInputService.setupGui(this.eFloatingFilterInputContainer),super.init(e),this.applyActive=Ho.isUseApplyButton(this.params.filterParams),!this.isReadOnly()){const e=Ho.getDebounceMs(this.params.filterParams,this.getDefaultDebounceMs()),t=ne(this.syncUpWithParentFilter.bind(this),e);this.floatingFilterInputService.addValueChangedListener(t)}}syncUpWithParentFilter(e){const t=e.key===io.ENTER;if(this.applyActive&&!t)return;let r=this.floatingFilterInputService.getValue();this.params.filterParams.trimInput&&(r=fa.trimInput(r),this.floatingFilterInputService.setValue(r,!0)),this.params.parentFilterInstance(e=>{e&&e.onFloatingFilterChanged(this.getLastType()||null,r||null)})}setEditable(e){this.floatingFilterInputService.setEditable(e)}}ma([Ce("columnModel")],Ca.prototype,"columnModel",void 0),ma([Do("eFloatingFilterInputContainer")],Ca.prototype,"eFloatingFilterInputContainer",void 0),ma([fe],Ca.prototype,"postConstruct",null);class ba extends lt{constructor(e){super(),this.params=e,this.numberInputActive=!0}setupGui(e){this.eFloatingFilterNumberInput=this.createManagedBean(new ca),this.eFloatingFilterTextInput=this.createManagedBean(new da),this.eFloatingFilterTextInput.setDisabled(!0),this.eFloatingFilterNumberInput.setInputAriaLabel(this.params.ariaLabel),this.eFloatingFilterTextInput.setInputAriaLabel(this.params.ariaLabel),e.appendChild(this.eFloatingFilterNumberInput.getGui()),e.appendChild(this.eFloatingFilterTextInput.getGui())}setEditable(e){this.numberInputActive=e,this.eFloatingFilterNumberInput.setDisplayed(this.numberInputActive),this.eFloatingFilterTextInput.setDisplayed(!this.numberInputActive)}getValue(){return this.getActiveInputElement().getValue()}setValue(e,t){this.getActiveInputElement().setValue(e,t)}getActiveInputElement(){return this.numberInputActive?this.eFloatingFilterNumberInput:this.eFloatingFilterTextInput}addValueChangedListener(e){this.setupListeners(this.eFloatingFilterNumberInput.getGui(),e),this.setupListeners(this.eFloatingFilterTextInput.getGui(),e)}setupListeners(e,t){this.addManagedListener(e,"input",t),this.addManagedListener(e,"keydown",t)}}class ya extends Ca{init(e){super.init(e),this.filterModelFormatter=new ua(this.localeService,this.optionsFactory)}getDefaultFilterOptions(){return ha.DEFAULT_FILTER_OPTIONS}getFilterModelFormatter(){return this.filterModelFormatter}createFloatingFilterInputService(e){const t=pa(this.params.filterParams);return t?this.createManagedBean(new wa({config:{allowedCharPattern:t},ariaLabel:e})):this.createManagedBean(new ba({ariaLabel:e}))}}class Sa extends Ca{init(e){super.init(e),this.filterModelFormatter=new va(this.localeService,this.optionsFactory)}getDefaultFilterOptions(){return fa.DEFAULT_FILTER_OPTIONS}getFilterModelFormatter(){return this.filterModelFormatter}createFloatingFilterInputService(e){return this.createManagedBean(new wa({ariaLabel:e}))}}class Ea{constructor(e,t=!1){this.destroyFuncs=[],this.touching=!1,this.eventService=new xe,this.eElement=e,this.preventMouseClick=t;const r=this.onTouchStart.bind(this),i=this.onTouchMove.bind(this),o=this.onTouchEnd.bind(this);this.eElement.addEventListener("touchstart",r,{passive:!0}),this.eElement.addEventListener("touchmove",i,{passive:!0}),this.eElement.addEventListener("touchend",o,{passive:!1}),this.destroyFuncs.push(()=>{this.eElement.removeEventListener("touchstart",r,{passive:!0}),this.eElement.removeEventListener("touchmove",i,{passive:!0}),this.eElement.removeEventListener("touchend",o,{passive:!1})})}getActiveTouch(e){for(let t=0;t<e.length;t++){if(e[t].identifier===this.touchStart.identifier)return e[t]}return null}addEventListener(e,t){this.eventService.addEventListener(e,t)}removeEventListener(e,t){this.eventService.removeEventListener(e,t)}onTouchStart(e){if(this.touching)return;this.touchStart=e.touches[0],this.touching=!0,this.moved=!1;const t=this.touchStart;window.setTimeout(()=>{const r=this.touchStart===t;if(this.touching&&r&&!this.moved){this.moved=!0;const t={type:Ea.EVENT_LONG_TAP,touchStart:this.touchStart,touchEvent:e};this.eventService.dispatchEvent(t)}},500)}onTouchMove(e){if(!this.touching)return;const t=this.getActiveTouch(e.touches);if(!t)return;!go(t,this.touchStart,4)&&(this.moved=!0)}onTouchEnd(e){if(this.touching){if(!this.moved){const e={type:Ea.EVENT_TAP,touchStart:this.touchStart};this.eventService.dispatchEvent(e),this.checkForDoubleTap()}this.preventMouseClick&&e.cancelable&&e.preventDefault(),this.touching=!1}}checkForDoubleTap(){const e=(new Date).getTime();if(this.lastTapTime&&this.lastTapTime>0){if(e-this.lastTapTime>Ea.DOUBLE_TAP_MILLIS){const e={type:Ea.EVENT_DOUBLE_TAP,touchStart:this.touchStart};this.eventService.dispatchEvent(e),this.lastTapTime=null}else this.lastTapTime=e}else this.lastTapTime=e}destroy(){this.destroyFuncs.forEach(e=>e())}}Ea.EVENT_TAP="tap",Ea.EVENT_DOUBLE_TAP="doubleTap",Ea.EVENT_LONG_TAP="longTap",Ea.DOUBLE_TAP_MILLIS=500;var Ra=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Ta extends To{constructor(e){super(),e||this.setTemplate(Ta.TEMPLATE)}attachCustomElements(e,t,r,i,o){this.eSortOrder=e,this.eSortAsc=t,this.eSortDesc=r,this.eSortMixed=i,this.eSortNone=o}setupSort(e,t=!1){this.column=e,this.suppressOrder=t,this.setupMultiSortIndicator();!!this.column.getColDef().sortable&&(this.addInIcon("sortAscending",this.eSortAsc,e),this.addInIcon("sortDescending",this.eSortDesc,e),this.addInIcon("sortUnSort",this.eSortNone,e),this.addManagedListener(this.eventService,ht.EVENT_SORT_CHANGED,()=>this.onSortChanged()),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_ROW_GROUP_CHANGED,()=>this.onSortChanged()),this.onSortChanged())}addInIcon(e,t,r){if(null==t)return;const i=ro(e,this.gridOptionsService,r);i&&t.appendChild(i)}onSortChanged(){this.updateIcons(),this.suppressOrder||this.updateSortOrder()}updateIcons(){const e=this.sortController.getDisplaySortForColumn(this.column);if(this.eSortAsc){const t="asc"===e;vi(this.eSortAsc,t,{skipAriaHidden:!0})}if(this.eSortDesc){const t="desc"===e;vi(this.eSortDesc,t,{skipAriaHidden:!0})}if(this.eSortNone){const t=!this.column.getColDef().unSortIcon&&!this.gridOptionsService.is("unSortIcon"),r=null==e;vi(this.eSortNone,!t&&r,{skipAriaHidden:!0})}}setupMultiSortIndicator(){this.addInIcon("sortUnSort",this.eSortMixed,this.column);const e=this.column.getColDef().showRowGroup;this.gridOptionsService.isColumnsSortingCoupledToGroup()&&e&&(this.addManagedListener(this.eventService,ht.EVENT_SORT_CHANGED,()=>this.updateMultiSortIndicator()),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_ROW_GROUP_CHANGED,()=>this.updateMultiSortIndicator()),this.updateMultiSortIndicator())}updateMultiSortIndicator(){if(this.eSortMixed){const e="mixed"===this.sortController.getDisplaySortForColumn(this.column);vi(this.eSortMixed,e,{skipAriaHidden:!0})}}updateSortOrder(){var e;if(!this.eSortOrder)return;const t=this.sortController.getColumnsWithSortingOrdered(),r=null!==(e=this.sortController.getDisplaySortIndexForColumn(this.column))&&void 0!==e?e:-1,i=t.some(e=>{var t;return null!==(t=this.sortController.getDisplaySortIndexForColumn(e))&&void 0!==t&&t}),o=r>=0&&i;vi(this.eSortOrder,o,{skipAriaHidden:!0}),r>=0?this.eSortOrder.innerHTML=(r+1).toString():Ai(this.eSortOrder)}}Ta.TEMPLATE='<span class="ag-sort-indicator-container">\n <span ref="eSortOrder" class="ag-sort-indicator-icon ag-sort-order ag-hidden" aria-hidden="true"></span>\n <span ref="eSortAsc" class="ag-sort-indicator-icon ag-sort-ascending-icon ag-hidden" aria-hidden="true"></span>\n <span ref="eSortDesc" class="ag-sort-indicator-icon ag-sort-descending-icon ag-hidden" aria-hidden="true"></span>\n <span ref="eSortMixed" class="ag-sort-indicator-icon ag-sort-mixed-icon ag-hidden" aria-hidden="true"></span>\n <span ref="eSortNone" class="ag-sort-indicator-icon ag-sort-none-icon ag-hidden" aria-hidden="true"></span>\n </span>',Ra([Do("eSortOrder")],Ta.prototype,"eSortOrder",void 0),Ra([Do("eSortAsc")],Ta.prototype,"eSortAsc",void 0),Ra([Do("eSortDesc")],Ta.prototype,"eSortDesc",void 0),Ra([Do("eSortMixed")],Ta.prototype,"eSortMixed",void 0),Ra([Do("eSortNone")],Ta.prototype,"eSortNone",void 0),Ra([Ce("columnModel")],Ta.prototype,"columnModel",void 0),Ra([Ce("sortController")],Ta.prototype,"sortController",void 0);var xa=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Da extends To{constructor(){super(...arguments),this.lastMovingChanged=0}destroy(){super.destroy()}refresh(e){return this.params=e,this.workOutTemplate()==this.currentTemplate&&(this.workOutShowMenu()==this.currentShowMenu&&(this.workOutSort()==this.currentSort&&(this.setDisplayName(e),!0)))}workOutTemplate(){let e=Ie(this.params.template,Da.TEMPLATE);return e=e&&e.trim?e.trim():e,e}init(e){this.params=e,this.currentTemplate=this.workOutTemplate(),this.setTemplate(this.currentTemplate),this.setupTap(),this.setupIcons(e.column),this.setMenu(),this.setupSort(),this.setupFilterIcon(),this.setDisplayName(e)}setDisplayName(e){if(this.currentDisplayName!=e.displayName){this.currentDisplayName=e.displayName;const t=Et(this.currentDisplayName);this.eText&&(this.eText.innerHTML=t)}}setupIcons(e){this.addInIcon("menu",this.eMenu,e),this.addInIcon("filter",this.eFilter,e)}addInIcon(e,t,r){if(null==t)return;const i=ro(e,this.gridOptionsService,r);i&&t.appendChild(i)}setupTap(){const{gridOptionsService:e}=this;if(e.is("suppressTouch"))return;const t=new Ea(this.getGui(),!0),r=e.is("suppressMenuHide"),i=r&&S(this.eMenu),o=i?new Ea(this.eMenu,!0):t;if(this.params.enableMenu){const t=i?"EVENT_TAP":"EVENT_LONG_TAP",r=t=>{e.api.showColumnMenuAfterMouseClick(this.params.column,t.touchStart)};this.addManagedListener(o,Ea[t],r)}if(this.params.enableSorting){const e=e=>{const t=e.touchStart.target;r&&this.eMenu.contains(t)||this.sortController.progressSort(this.params.column,!1,"uiColumnSorted")};this.addManagedListener(t,Ea.EVENT_TAP,e)}this.addDestroyFunc(()=>t.destroy()),i&&this.addDestroyFunc(()=>o.destroy())}workOutShowMenu(){const e=!this.gridOptionsService.is("suppressMenuHide"),t=Br()&&e;return this.params.enableMenu&&!t}setMenu(){if(!this.eMenu)return;if(this.currentShowMenu=this.workOutShowMenu(),!this.currentShowMenu)return void Mi(this.eMenu);const e=this.gridOptionsService.is("suppressMenuHide");this.addManagedListener(this.eMenu,"click",()=>this.showMenu(this.eMenu)),this.eMenu.classList.toggle("ag-header-menu-always-show",e)}showMenu(e){e||(e=this.eMenu),this.menuFactory.showMenuAfterButtonClick(this.params.column,e,"columnMenu")}workOutSort(){return this.params.enableSorting}setupSort(){if(this.currentSort=this.params.enableSorting,this.eSortIndicator||(this.eSortIndicator=this.context.createBean(new Ta(!0)),this.eSortIndicator.attachCustomElements(this.eSortOrder,this.eSortAsc,this.eSortDesc,this.eSortMixed,this.eSortNone)),this.eSortIndicator.setupSort(this.params.column),!this.currentSort)return;const e="ctrl"===this.gridOptionsService.get("multiSortKey");this.addManagedListener(this.params.column,Me.EVENT_MOVING_CHANGED,()=>{this.lastMovingChanged=(new Date).getTime()}),this.eLabel&&this.addManagedListener(this.eLabel,"click",t=>{const r=this.params.column.isMoving(),i=(new Date).getTime()-this.lastMovingChanged<50;if(!(r||i)){const r=e?t.ctrlKey||t.metaKey:t.shiftKey;this.params.progressSort(r)}});const t=()=>{if(this.addOrRemoveCssClass("ag-header-cell-sorted-asc",this.params.column.isSortAscending()),this.addOrRemoveCssClass("ag-header-cell-sorted-desc",this.params.column.isSortDescending()),this.addOrRemoveCssClass("ag-header-cell-sorted-none",this.params.column.isSortNone()),this.params.column.getColDef().showRowGroup){const e=this.columnModel.getSourceColumnsForGroupColumn(this.params.column),t=!(null==e?void 0:e.every(e=>this.params.column.getSort()==e.getSort()));this.addOrRemoveCssClass("ag-header-cell-sorted-mixed",t)}};this.addManagedListener(this.eventService,ht.EVENT_SORT_CHANGED,t),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_ROW_GROUP_CHANGED,t)}setupFilterIcon(){this.eFilter&&(this.addManagedListener(this.params.column,Me.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.onFilterChanged())}onFilterChanged(){const e=this.params.column.isFilterActive();vi(this.eFilter,e,{skipAriaHidden:!0})}}Da.TEMPLATE='<div class="ag-cell-label-container" role="presentation">\n <span ref="eMenu" class="ag-header-icon ag-header-cell-menu-button" aria-hidden="true"></span>\n <div ref="eLabel" class="ag-header-cell-label" role="presentation">\n <span ref="eText" class="ag-header-cell-text"></span>\n <span ref="eFilter" class="ag-header-icon ag-header-label-icon ag-filter-icon" aria-hidden="true"></span>\n <ag-sort-indicator ref="eSortIndicator"></ag-sort-indicator>\n </div>\n </div>',xa([Ce("sortController")],Da.prototype,"sortController",void 0),xa([Ce("menuFactory")],Da.prototype,"menuFactory",void 0),xa([Ce("columnModel")],Da.prototype,"columnModel",void 0),xa([Do("eFilter")],Da.prototype,"eFilter",void 0),xa([Do("eSortIndicator")],Da.prototype,"eSortIndicator",void 0),xa([Do("eMenu")],Da.prototype,"eMenu",void 0),xa([Do("eLabel")],Da.prototype,"eLabel",void 0),xa([Do("eText")],Da.prototype,"eText",void 0),xa([Do("eSortOrder")],Da.prototype,"eSortOrder",void 0),xa([Do("eSortAsc")],Da.prototype,"eSortAsc",void 0),xa([Do("eSortDesc")],Da.prototype,"eSortDesc",void 0),xa([Do("eSortMixed")],Da.prototype,"eSortMixed",void 0),xa([Do("eSortNone")],Da.prototype,"eSortNone",void 0);var Aa=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Oa extends To{constructor(){super(Oa.TEMPLATE)}destroy(){super.destroy()}init(e){this.params=e,this.checkWarnings(),this.setupLabel(),this.addGroupExpandIcon(),this.setupExpandIcons()}checkWarnings(){if(this.params.template){const e="AG Grid: A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)";J(()=>console.warn(e),"HeaderGroupComp.templateNotSupported")}}setupExpandIcons(){this.addInIcon("columnGroupOpened","agOpened"),this.addInIcon("columnGroupClosed","agClosed");const e=e=>{if(et(e))return;const t=!this.params.columnGroup.isExpanded();this.columnModel.setColumnGroupOpened(this.params.columnGroup.getProvidedColumnGroup(),t,"uiColumnExpanded")};this.addTouchAndClickListeners(this.eCloseIcon,e),this.addTouchAndClickListeners(this.eOpenIcon,e);const t=e=>{$e(e)};this.addManagedListener(this.eCloseIcon,"dblclick",t),this.addManagedListener(this.eOpenIcon,"dblclick",t),this.addManagedListener(this.getGui(),"dblclick",e),this.updateIconVisibility();const r=this.params.columnGroup.getProvidedColumnGroup();this.addManagedListener(r,Ne.EVENT_EXPANDED_CHANGED,this.updateIconVisibility.bind(this)),this.addManagedListener(r,Ne.EVENT_EXPANDABLE_CHANGED,this.updateIconVisibility.bind(this))}addTouchAndClickListeners(e,t){const r=new Ea(e,!0);this.addManagedListener(r,Ea.EVENT_TAP,t),this.addDestroyFunc(()=>r.destroy()),this.addManagedListener(e,"click",t)}updateIconVisibility(){if(this.params.columnGroup.isExpandable()){const e=this.params.columnGroup.isExpanded();vi(this.eOpenIcon,e),vi(this.eCloseIcon,!e)}else vi(this.eOpenIcon,!1),vi(this.eCloseIcon,!1)}addInIcon(e,t){const r=ro(e,this.gridOptionsService,null);r&&this.getRefElement(t).appendChild(r)}addGroupExpandIcon(){if(!this.params.columnGroup.isExpandable())return vi(this.eOpenIcon,!1),void vi(this.eCloseIcon,!1)}setupLabel(){var e;const{displayName:t,columnGroup:r}=this.params;if(S(t)){const e=Et(t);this.getRefElement("agLabel").innerHTML=e}this.addOrRemoveCssClass("ag-sticky-label",!(null===(e=r.getColGroupDef())||void 0===e?void 0:e.suppressStickyLabel))}}Oa.TEMPLATE='<div class="ag-header-group-cell-label" ref="agContainer" role="presentation">\n <span ref="agLabel" class="ag-header-group-text" role="presentation"></span>\n <span ref="agOpened" class="ag-header-icon ag-header-expand-icon ag-header-expand-icon-expanded"></span>\n <span ref="agClosed" class="ag-header-icon ag-header-expand-icon ag-header-expand-icon-collapsed"></span>\n </div>',Aa([Ce("columnModel")],Oa.prototype,"columnModel",void 0),Aa([Do("agOpened")],Oa.prototype,"eOpenIcon",void 0),Aa([Do("agClosed")],Oa.prototype,"eCloseIcon",void 0);class Ma extends To{isPopup(){return!0}setParentComponent(e){e.addCssClass("ag-has-popup"),super.setParentComponent(e)}destroy(){const e=this.parentComponent;e&&e.isAlive()&&e.getGui().classList.remove("ag-has-popup"),super.destroy()}}var Pa=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Na extends Ma{constructor(){super(Na.TEMPLATE)}init(e){this.params=e,this.focusAfterAttached=e.cellStartedEdit,this.eTextArea.setMaxLength(e.maxLength||200).setCols(e.cols||60).setRows(e.rows||10),S(e.value,!0)&&this.eTextArea.setValue(e.value.toString(),!0),this.addGuiEventListener("keydown",this.onKeyDown.bind(this)),this.activateTabIndex()}onKeyDown(e){const t=e.key;(t===io.LEFT||t===io.UP||t===io.RIGHT||t===io.DOWN||e.shiftKey&&t===io.ENTER)&&e.stopPropagation()}afterGuiAttached(){const e=this.localeService.getLocaleTextFunc();this.eTextArea.setInputAriaLabel(e("ariaInputEditor","Input Editor")),this.focusAfterAttached&&this.eTextArea.getFocusableElement().focus()}getValue(){const e=this.eTextArea.getValue();return S(e)||S(this.params.value)?this.params.parseValue(e):this.params.value}}Na.TEMPLATE='<div class="ag-large-text">\n <ag-input-text-area ref="eTextArea" class="ag-large-text-input"></ag-input-text-area>\n </div>',Pa([Do("eTextArea")],Na.prototype,"eTextArea",void 0);var La=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Ia extends Ma{constructor(){super('<div class="ag-cell-edit-wrapper"><ag-select class="ag-cell-editor" ref="eSelect"></ag-select></div>'),this.startedByEnter=!1}init(e){if(this.focusAfterAttached=e.cellStartedEdit,E(e.values))return void console.warn("AG Grid: no values found for select cellEditor");this.startedByEnter=null!=e.eventKey&&e.eventKey===io.ENTER;let t=!1;e.values.forEach(r=>{const i={value:r},o=this.valueFormatterService.formatValue(e.column,null,r),a=null!=o;i.text=a?o:r,this.eSelect.addOption(i),t=t||e.value===r}),t?this.eSelect.setValue(e.value,!0):e.values.length&&this.eSelect.setValue(e.values[0],!0),"fullRow"!==this.gridOptionsService.get("editType")&&this.addManagedListener(this.eSelect,qo.EVENT_ITEM_SELECTED,()=>e.stopEditing())}afterGuiAttached(){this.focusAfterAttached&&this.eSelect.getFocusableElement().focus(),this.startedByEnter&&this.eSelect.showPicker()}focusIn(){this.eSelect.getFocusableElement().focus()}getValue(){return this.eSelect.getValue()}isPopup(){return!1}}La([Ce("valueFormatterService")],Ia.prototype,"valueFormatterService",void 0),La([Do("eSelect")],Ia.prototype,"eSelect",void 0);var za=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Fa extends Ma{constructor(e){super(`\n <div class="ag-cell-edit-wrapper">\n ${e.getTemplate()}\n </div>`),this.cellEditorInput=e}init(e){this.params=e;const t=this.eInput;let r;if(this.cellEditorInput.init(t,e),e.cellStartedEdit){this.focusAfterAttached=!0;const t=e.eventKey;t===io.BACKSPACE||e.eventKey===io.DELETE?r="":t&&1===t.length?r=t:(r=this.cellEditorInput.getStartValue(),t!==io.F2&&(this.highlightAllOnFocus=!0))}else this.focusAfterAttached=!1,r=this.cellEditorInput.getStartValue();null!=r&&t.setStartValue(r),this.addManagedListener(t.getGui(),"keydown",e=>{const{key:t}=e;t!==io.PAGE_UP&&t!==io.PAGE_DOWN||e.preventDefault()})}afterGuiAttached(){var e,t;const r=this.localeService.getLocaleTextFunc(),i=this.eInput;if(i.setInputAriaLabel(r("ariaInputEditor","Input Editor")),!this.focusAfterAttached)return;kr()||i.getFocusableElement().focus();const o=i.getInputElement();this.highlightAllOnFocus?o.select():null===(t=(e=this.cellEditorInput).setCaret)||void 0===t||t.call(e)}focusIn(){const e=this.eInput,t=e.getFocusableElement(),r=e.getInputElement();t.focus(),r.select()}getValue(){return this.cellEditorInput.getValue()}isPopup(){return!1}}za([Do("eInput")],Fa.prototype,"eInput",void 0);class ka{getTemplate(){return'<ag-input-text-field class="ag-cell-editor" ref="eInput"></ag-input-text-field>'}init(e,t){this.eInput=e,this.params=t,null!=t.maxLength&&e.setMaxLength(t.maxLength)}getValue(){const e=this.eInput.getValue();return S(e)||S(this.params.value)?this.params.parseValue(e):this.params.value}getStartValue(){return this.params.useFormatter||this.params.column.getColDef().refData?this.params.formatValue(this.params.value):this.params.value}setCaret(){const e=this.eInput.getValue(),t=S(e)&&e.length||0;t&&this.eInput.getInputElement().setSelectionRange(t,t)}}class Ga extends Fa{constructor(){super(new ka)}}var Ha=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Va extends To{constructor(){super(Va.TEMPLATE),this.refreshCount=0}init(e){this.eValue=this.queryForHtmlElement(".ag-value-change-value"),this.eDelta=this.queryForHtmlElement(".ag-value-change-delta"),this.refresh(e)}showDelta(e,t){const r=Math.abs(t),i=e.formatValue(r),o=S(i)?i:r,a=t>=0;this.eDelta.innerHTML=a?"↑"+o:"↓"+o,this.eDelta.classList.toggle("ag-value-change-delta-up",a),this.eDelta.classList.toggle("ag-value-change-delta-down",!a)}setTimerToRemoveDelta(){this.refreshCount++;const e=this.refreshCount;window.setTimeout(()=>{e===this.refreshCount&&this.hideDeltaValue()},2e3)}hideDeltaValue(){this.eValue.classList.remove("ag-value-change-value-highlight"),Ai(this.eDelta)}refresh(e){const t=e.value;if(t===this.lastValue)return!1;if(S(e.valueFormatted)?this.eValue.innerHTML=e.valueFormatted:S(e.value)?this.eValue.innerHTML=t:Ai(this.eValue),this.filterManager.isSuppressFlashingCellsBecauseFiltering())return!1;if("number"==typeof t&&"number"==typeof this.lastValue){const r=t-this.lastValue;this.showDelta(e,r)}return this.lastValue&&this.eValue.classList.add("ag-value-change-value-highlight"),this.setTimerToRemoveDelta(),this.lastValue=t,!0}}Va.TEMPLATE='<span><span class="ag-value-change-delta"></span><span class="ag-value-change-value"></span></span>',Ha([Ce("filterManager")],Va.prototype,"filterManager",void 0);var _a=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Ba extends To{constructor(){super(Ba.TEMPLATE),this.refreshCount=0,this.eCurrent=this.queryForHtmlElement(".ag-value-slide-current")}init(e){this.refresh(e)}addSlideAnimation(){this.refreshCount++;const e=this.refreshCount;this.ePrevious&&this.getGui().removeChild(this.ePrevious),this.ePrevious=Ni('<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(()=>{e===this.refreshCount&&this.ePrevious.classList.add("ag-value-slide-out-end")},50),window.setTimeout(()=>{e===this.refreshCount&&(this.getGui().removeChild(this.ePrevious),this.ePrevious=null)},3e3)}refresh(e){let t=e.value;return E(t)&&(t=""),t!==this.lastValue&&(!this.filterManager.isSuppressFlashingCellsBecauseFiltering()&&(this.addSlideAnimation(),this.lastValue=t,S(e.valueFormatted)?this.eCurrent.innerHTML=e.valueFormatted:S(e.value)?this.eCurrent.innerHTML=t:Ai(this.eCurrent),!0))}}Ba.TEMPLATE='<span>\n <span class="ag-value-slide-current"></span>\n </span>',_a([Ce("filterManager")],Ba.prototype,"filterManager",void 0);class ja{constructor(e){this.rowIndex=null,this.key=null,this.childrenMapped={},this.displayed=!1,this.rowTop=null,this.oldRowTop=null,this.selectable=!0,this.__objectId=ja.OBJECT_ID_SEQUENCE++,this.__autoHeights={},this.alreadyRendered=!1,this.highlighted=null,this.hovered=!1,this.selected=!1,this.beans=e}setData(e){this.setDataCommon(e,!1)}updateData(e){this.setDataCommon(e,!0)}setDataCommon(e,t){const r=this.data;this.data=e,this.beans.valueCache.onDataChanged(),this.updateDataOnDetailNode(),this.checkRowSelectable(),this.resetQuickFilterAggregateText();const i=this.createDataChangedEvent(e,r,t);this.dispatchLocalEvent(i)}updateDataOnDetailNode(){this.detailNode&&(this.detailNode.data=this.data)}createDataChangedEvent(e,t,r){return{type:ja.EVENT_DATA_CHANGED,node:this,oldData:t,newData:e,update:r}}createLocalRowEvent(e){return{type:e,node:this}}getRowIndexString(){return"top"===this.rowPinned?"t-"+this.rowIndex:"bottom"===this.rowPinned?"b-"+this.rowIndex:this.rowIndex.toString()}createDaemonNode(){const e=new ja(this.beans);return e.id=this.id,e.data=this.data,e.__daemon=!0,e.selected=this.selected,e.level=this.level,e}setDataAndId(e,t){const r=S(this.id)?this.createDaemonNode():null,i=this.data;this.data=e,this.updateDataOnDetailNode(),this.setId(t),this.beans.selectionService.syncInRowNode(this,r),this.checkRowSelectable();const o=this.createDataChangedEvent(e,i,!1);this.dispatchLocalEvent(o)}checkRowSelectable(){const e=this.beans.gridOptionsService.get("isRowSelectable");this.setRowSelectable(!e||e(this))}setRowSelectable(e){if(this.selectable!==e){this.selectable=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_SELECTABLE_CHANGED));if(this.beans.gridOptionsService.is("groupSelectsChildren")){const e=this.calculateSelectedFromChildren();this.setSelectedParams({newValue:null!=e&&e,source:"selectableChanged"})}}}setId(e){const t=this.beans.gridOptionsService.getCallback("getRowId");if(t)if(this.data){const e=this.getGroupKeys(!0);this.id=t({data:this.data,parentKeys:e.length>0?e:void 0,level:this.level}),null!==this.id&&"string"==typeof this.id&&this.id.startsWith(ja.ID_PREFIX_ROW_GROUP)&&console.error(`AG Grid: Row IDs cannot start with ${ja.ID_PREFIX_ROW_GROUP}, this is a reserved prefix for AG Grid's row grouping feature.`),null!==this.id&&"string"!=typeof this.id&&(this.id=""+this.id)}else this.id=void 0;else this.id=e}getGroupKeys(e=!1){const t=[];let r=this;for(e&&(r=r.parent);r&&r.level>=0;)t.push(r.key),r=r.parent;return t.reverse(),t}isPixelInRange(e){return!(!S(this.rowTop)||!S(this.rowHeight))&&(e>=this.rowTop&&e<this.rowTop+this.rowHeight)}setFirstChild(e){this.firstChild!==e&&(this.firstChild=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_FIRST_CHILD_CHANGED)))}setLastChild(e){this.lastChild!==e&&(this.lastChild=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_LAST_CHILD_CHANGED)))}setChildIndex(e){this.childIndex!==e&&(this.childIndex=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_CHILD_INDEX_CHANGED)))}setRowTop(e){this.oldRowTop=this.rowTop,this.rowTop!==e&&(this.rowTop=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_TOP_CHANGED)),this.setDisplayed(null!==e))}clearRowTopAndRowIndex(){this.oldRowTop=null,this.setRowTop(null),this.setRowIndex(null)}setDisplayed(e){this.displayed!==e&&(this.displayed=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_DISPLAYED_CHANGED)))}setDragging(e){this.dragging!==e&&(this.dragging=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_DRAGGING_CHANGED)))}setHighlighted(e){e!==this.highlighted&&(this.highlighted=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_HIGHLIGHT_CHANGED)))}setHovered(e){this.hovered!==e&&(this.hovered=e)}isHovered(){return this.hovered}setAllChildrenCount(e){this.allChildrenCount!==e&&(this.allChildrenCount=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_ALL_CHILDREN_COUNT_CHANGED)))}setMaster(e){this.master!==e&&(this.master&&!e&&(this.expanded=!1),this.master=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_MASTER_CHANGED)))}setGroup(e){this.group!==e&&(this.group&&!e&&(this.expanded=!1),this.group=e,this.updateHasChildren(),this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_GROUP_CHANGED)))}setRowHeight(e,t=!1){this.rowHeight=e,this.rowHeightEstimated=t,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_HEIGHT_CHANGED))}setRowAutoHeight(e,t){this.__autoHeights||(this.__autoHeights={}),this.__autoHeights[t.getId()]=e,null!=e&&(null==this.checkAutoHeightsDebounced&&(this.checkAutoHeightsDebounced=ne(this.checkAutoHeights.bind(this),1)),this.checkAutoHeightsDebounced())}checkAutoHeights(){let e=!1,t=!0,r=0;const i=this.__autoHeights;if(null==i)return;if(this.beans.columnModel.getAllDisplayedAutoHeightCols().forEach(o=>{let a=i[o.getId()];if(null==a){if(!this.beans.columnModel.isColSpanActive())return void(e=!0);{let t=[];switch(o.getPinned()){case"left":t=this.beans.columnModel.getDisplayedLeftColumnsForRow(this);break;case"right":t=this.beans.columnModel.getDisplayedRightColumnsForRow(this);break;case null:t=this.beans.columnModel.getViewportCenterColumnsForRow(this)}if(t.includes(o))return void(e=!0);a=-1}}else t=!1;a>r&&(r=a)}),e)return;if((t||r<10)&&(r=this.beans.gridOptionsService.getRowHeightForNode(this).height),r==this.rowHeight)return;this.setRowHeight(r);const o=this.beans.rowModel;o.onRowHeightChangedDebounced&&o.onRowHeightChangedDebounced()}setRowIndex(e){this.rowIndex!==e&&(this.rowIndex=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_ROW_INDEX_CHANGED)))}setUiLevel(e){this.uiLevel!==e&&(this.uiLevel=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_UI_LEVEL_CHANGED)))}setExpanded(e,t){if(this.expanded===e)return;this.expanded=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_EXPANDED_CHANGED));const r=Object.assign({},this.createGlobalRowEvent(ht.EVENT_ROW_GROUP_OPENED),{expanded:e,event:t||null});this.beans.rowNodeEventThrottle.dispatchExpanded(r),this.beans.gridOptionsService.is("groupIncludeFooter")&&this.beans.rowRenderer.refreshCells({rowNodes:[this]})}createGlobalRowEvent(e){return{type:e,node:this,data:this.data,rowIndex:this.rowIndex,rowPinned:this.rowPinned,context:this.beans.gridOptionsService.context,api:this.beans.gridOptionsService.api,columnApi:this.beans.gridOptionsService.columnApi}}dispatchLocalEvent(e){this.eventService&&this.eventService.dispatchEvent(e)}setDataValue(e,t,r){const i=(()=>{var t;return"string"!=typeof e?e:null!==(t=this.beans.columnModel.getGridColumn(e))&&void 0!==t?t:this.beans.columnModel.getPrimaryColumn(e)})(),o=this.getValueFromValueService(i);if(this.beans.gridOptionsService.is("readOnlyEdit"))return this.dispatchEventForSaveValueReadOnly(i,o,t,r),!1;const a=this.beans.valueService.setValue(this,i,t,r);return this.dispatchCellChangedEvent(i,t,o),this.checkRowSelectable(),a}getValueFromValueService(e){const t=this.leafGroup&&this.beans.columnModel.isPivotMode(),r=this.group&&this.expanded&&!this.footer&&!t,i=this.beans.gridOptionsService.is("groupIncludeFooter"),o=this.beans.gridOptionsService.is("groupSuppressBlankHeader"),a=r&&i&&!o;return this.beans.valueService.getValue(e,this,!1,a)}dispatchEventForSaveValueReadOnly(e,t,r,i){const o={type:ht.EVENT_CELL_EDIT_REQUEST,event:null,rowIndex:this.rowIndex,rowPinned:this.rowPinned,column:e,colDef:e.getColDef(),context:this.beans.gridOptionsService.context,api:this.beans.gridOptionsService.api,columnApi:this.beans.gridOptionsService.columnApi,data:this.data,node:this,oldValue:t,newValue:r,value:r,source:i};this.beans.eventService.dispatchEvent(o)}setGroupValue(e,t){const r=this.beans.columnModel.getGridColumn(e);E(this.groupData)&&(this.groupData={});const i=r.getColId(),o=this.groupData[i];o!==t&&(this.groupData[i]=t,this.dispatchCellChangedEvent(r,t,o))}setAggData(e){const t=B([this.aggData,e]),r=this.aggData;this.aggData=e,this.eventService&&t.forEach(e=>{const t=this.beans.columnModel.getGridColumn(e),i=this.aggData?this.aggData[e]:void 0,o=r?r[e]:void 0;this.dispatchCellChangedEvent(t,i,o)})}updateHasChildren(){let e=this.group&&!this.footer||this.childrenAfterGroup&&this.childrenAfterGroup.length>0;if(this.beans.gridOptionsService.isRowModelType("serverSide")){const t=this.beans.gridOptionsService.isTreeData(),r=this.beans.gridOptionsService.get("isServerSideGroup");e=!this.stub&&!this.footer&&(t?!!r&&r(this.data):!!this.group)}e!==this.__hasChildren&&(this.__hasChildren=!!e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(ja.EVENT_HAS_CHILDREN_CHANGED)))}hasChildren(){return null==this.__hasChildren&&this.updateHasChildren(),this.__hasChildren}isEmptyRowGroupNode(){return this.group&&R(this.childrenAfterGroup)}dispatchCellChangedEvent(e,t,r){const i={type:ja.EVENT_CELL_CHANGED,node:this,column:e,newValue:t,oldValue:r};this.dispatchLocalEvent(i)}resetQuickFilterAggregateText(){this.quickFilterAggregateText=null}isExpandable(){return!!(this.hasChildren()&&!this.footer||this.master)}isSelected(){return this.footer?this.sibling.isSelected():this.selected}depthFirstSearch(e){this.childrenAfterGroup&&this.childrenAfterGroup.forEach(t=>t.depthFirstSearch(e)),e(this)}calculateSelectedFromChildren(){var e;let t=!1,r=!1,i=!1;if(!(null===(e=this.childrenAfterGroup)||void 0===e?void 0:e.length))return this.selectable?this.selected:null;for(let e=0;e<this.childrenAfterGroup.length;e++){const o=this.childrenAfterGroup[e];let a=o.isSelected();if(!o.selectable){const e=o.calculateSelectedFromChildren();if(null===e)continue;a=e}switch(a){case!0:t=!0;break;case!1:r=!0;break;default:i=!0}}return i||t&&r?void 0:!!t||!r&&(this.selectable?this.selected:null)}setSelectedInitialValue(e){this.selected=e}selectThisNode(e,t,r="api"){const i=!this.selectable&&e,o=this.selected===e;if(i||o)return!1;this.selected=e,this.eventService&&this.dispatchLocalEvent(this.createLocalRowEvent(ja.EVENT_ROW_SELECTED));const a=Object.assign(Object.assign({},this.createGlobalRowEvent(ht.EVENT_ROW_SELECTED)),{event:t||null,source:r});return this.beans.eventService.dispatchEvent(a),!0}setSelected(e,t=!1,r="api"){"boolean"!=typeof r?this.setSelectedParams({newValue:e,clearSelection:t,rangeSelect:!1,source:r}):console.warn("AG Grid: since version v30, rowNode.setSelected() property `suppressFinishActions` has been removed, please use `gridApi.setNodesSelected()` for bulk actions, and the event `source` property for ignoring events instead.")}setSelectedParams(e){return this.rowPinned?(console.warn("AG Grid: cannot select pinned rows"),0):void 0===this.id?(console.warn("AG Grid: cannot select node until id for node is known"),0):this.beans.selectionService.setNodesSelected(Object.assign(Object.assign({},e),{nodes:[this.footer?this.sibling:this]}))}isRowPinned(){return"top"===this.rowPinned||"bottom"===this.rowPinned}isParentOfNode(e){let t=this.parent;for(;t;){if(t===e)return!0;t=t.parent}return!1}addEventListener(e,t){this.eventService||(this.eventService=new xe),this.eventService.addEventListener(e,t)}removeEventListener(e,t){this.eventService&&(this.eventService.removeEventListener(e,t),this.eventService.noRegisteredListenersExist()&&(this.eventService=null))}onMouseEnter(){this.dispatchLocalEvent(this.createLocalRowEvent(ja.EVENT_MOUSE_ENTER))}onMouseLeave(){this.dispatchLocalEvent(this.createLocalRowEvent(ja.EVENT_MOUSE_LEAVE))}getFirstChildOfFirstChild(e){let t=this,r=!0,i=!1,o=null;for(;r&&!i;){const a=t.parent;S(a)&&t.firstChild?a.rowGroupColumn===e&&(i=!0,o=a):r=!1,t=a}return i?o:null}isFullWidthCell(){const e=this.beans.gridOptionsService.getCallback("isFullWidthRow");return!!e&&e({rowNode:this})}getRoute(){if(null==this.key)return;const e=[];let t=this;for(;null!=t.key;)e.push(t.key),t=t.parent;return e.reverse()}createFooter(){if(this.sibling)return;const e=new ja(this.beans);Object.keys(this).forEach(t=>{e[t]=this[t]}),e.footer=!0,e.setRowTop(null),e.setRowIndex(null),e.oldRowTop=null,e.id="rowGroupFooter_"+this.id,e.sibling=this,this.sibling=e}}ja.ID_PREFIX_ROW_GROUP="row-group-",ja.ID_PREFIX_TOP_PINNED="t-",ja.ID_PREFIX_BOTTOM_PINNED="b-",ja.OBJECT_ID_SEQUENCE=0,ja.EVENT_ROW_SELECTED="rowSelected",ja.EVENT_DATA_CHANGED="dataChanged",ja.EVENT_CELL_CHANGED="cellChanged",ja.EVENT_ALL_CHILDREN_COUNT_CHANGED="allChildrenCountChanged",ja.EVENT_MASTER_CHANGED="masterChanged",ja.EVENT_GROUP_CHANGED="groupChanged",ja.EVENT_MOUSE_ENTER="mouseEnter",ja.EVENT_MOUSE_LEAVE="mouseLeave",ja.EVENT_HEIGHT_CHANGED="heightChanged",ja.EVENT_TOP_CHANGED="topChanged",ja.EVENT_DISPLAYED_CHANGED="displayedChanged",ja.EVENT_FIRST_CHILD_CHANGED="firstChildChanged",ja.EVENT_LAST_CHILD_CHANGED="lastChildChanged",ja.EVENT_CHILD_INDEX_CHANGED="childIndexChanged",ja.EVENT_ROW_INDEX_CHANGED="rowIndexChanged",ja.EVENT_EXPANDED_CHANGED="expandedChanged",ja.EVENT_HAS_CHILDREN_CHANGED="hasChildrenChanged",ja.EVENT_SELECTABLE_CHANGED="selectableChanged",ja.EVENT_UI_LEVEL_CHANGED="uiLevelChanged",ja.EVENT_HIGHLIGHT_CHANGED="rowHighlightChanged",ja.EVENT_DRAGGING_CHANGED="draggingChanged";var Wa=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Ua extends To{constructor(){super('\n <div class="ag-selection-checkbox" role="presentation">\n <ag-checkbox role="presentation" ref="eCheckbox"></ag-checkbox>\n </div>')}postConstruct(){this.eCheckbox.setPassive(!0),mr(this.eCheckbox.getInputElement(),"polite")}getCheckboxId(){return this.eCheckbox.getInputElement().id}onDataChanged(){this.onSelectionChanged()}onSelectableChanged(){this.showOrHideSelect()}onSelectionChanged(){const e=this.localeService.getLocaleTextFunc(),t=this.rowNode.isSelected(),r=Fr(e,t),i=e("ariaRowToggleSelection","Press Space to toggle row selection");this.eCheckbox.setValue(t,!0),this.eCheckbox.setInputAriaLabel(`${i} (${r})`)}onClicked(e,t,r){return this.rowNode.setSelectedParams({newValue:e,rangeSelect:r.shiftKey,groupSelectsFiltered:t,event:r,source:"checkboxSelected"})}init(e){this.rowNode=e.rowNode,this.column=e.column,this.overrides=e.overrides,this.onSelectionChanged(),this.addManagedListener(this.eCheckbox.getInputElement(),"dblclick",e=>{$e(e)}),this.addManagedListener(this.eCheckbox.getInputElement(),"click",e=>{$e(e);const t=this.gridOptionsService.is("groupSelectsFiltered"),r=this.eCheckbox.getValue();if(this.shouldHandleIndeterminateState(r,t)){0===this.onClicked(!0,t,e||{})&&this.onClicked(!1,t,e)}else r?this.onClicked(!1,t,e):this.onClicked(!0,t,e||{})}),this.addManagedListener(this.rowNode,ja.EVENT_ROW_SELECTED,this.onSelectionChanged.bind(this)),this.addManagedListener(this.rowNode,ja.EVENT_DATA_CHANGED,this.onDataChanged.bind(this)),this.addManagedListener(this.rowNode,ja.EVENT_SELECTABLE_CHANGED,this.onSelectableChanged.bind(this));if(this.gridOptionsService.get("isRowSelectable")||"function"==typeof this.getIsVisible()){const e=this.showOrHideSelect.bind(this);this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_CHANGED,e),this.addManagedListener(this.rowNode,ja.EVENT_DATA_CHANGED,e),this.addManagedListener(this.rowNode,ja.EVENT_CELL_CHANGED,e),this.showOrHideSelect()}this.eCheckbox.getInputElement().setAttribute("tabindex","-1")}shouldHandleIndeterminateState(e,t){return t&&(void 0===this.eCheckbox.getPreviousValue()||void 0===e)&&this.gridOptionsService.isRowModelType("clientSide")}showOrHideSelect(){var e,t,r,i;let o=this.rowNode.selectable;const a=this.getIsVisible();if(o)if("function"==typeof a){const r=null===(e=this.overrides)||void 0===e?void 0:e.callbackParams,i=null===(t=this.column)||void 0===t?void 0:t.createColumnFunctionCallbackParams(this.rowNode);o=!!i&&a(Object.assign(Object.assign({},r),i))}else o=null!=a&&a;if(null===(r=this.column)||void 0===r?void 0:r.getColDef().showDisabledCheckboxes)return this.eCheckbox.setDisabled(!o),this.setVisible(!0),void this.setDisplayed(!0);(null===(i=this.overrides)||void 0===i?void 0:i.removeHidden)?this.setDisplayed(o):this.setVisible(o)}getIsVisible(){var e,t;return this.overrides?this.overrides.isVisible:null===(t=null===(e=this.column)||void 0===e?void 0:e.getColDef())||void 0===t?void 0:t.checkboxSelection}}Wa([Do("eCheckbox")],Ua.prototype,"eCheckbox",void 0),Wa([fe],Ua.prototype,"postConstruct",null);var Ka,Ya,qa,Qa,Xa=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};!function(e){e[e.ToolPanel=0]="ToolPanel",e[e.HeaderCell=1]="HeaderCell",e[e.RowDrag=2]="RowDrag",e[e.ChartPanel=3]="ChartPanel"}(Ya||(Ya={})),function(e){e[e.Up=0]="Up",e[e.Down=1]="Down"}(qa||(qa={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(Qa||(Qa={}));let Za=Ka=class extends lt{constructor(){super(...arguments),this.dragSourceAndParamsList=[],this.dropTargets=[]}init(){this.ePinnedIcon=to("columnMovePin",this.gridOptionsService,null),this.eHideIcon=to("columnMoveHide",this.gridOptionsService,null),this.eMoveIcon=to("columnMoveMove",this.gridOptionsService,null),this.eLeftIcon=to("columnMoveLeft",this.gridOptionsService,null),this.eRightIcon=to("columnMoveRight",this.gridOptionsService,null),this.eGroupIcon=to("columnMoveGroup",this.gridOptionsService,null),this.eAggregateIcon=to("columnMoveValue",this.gridOptionsService,null),this.ePivotIcon=to("columnMovePivot",this.gridOptionsService,null),this.eDropNotAllowedIcon=to("dropNotAllowed",this.gridOptionsService,null)}addDragSource(e,t=!1){const r={eElement:e.eElement,dragStartPixels:e.dragStartPixels,onDragStart:this.onDragStart.bind(this,e),onDragStop:this.onDragStop.bind(this),onDragging:this.onDragging.bind(this),includeTouch:t};this.dragSourceAndParamsList.push({params:r,dragSource:e}),this.dragService.addDragSource(r)}removeDragSource(e){const t=this.dragSourceAndParamsList.find(t=>t.dragSource===e);t&&(this.dragService.removeDragSource(t.params),_e(this.dragSourceAndParamsList,t))}clearDragSourceParamsList(){this.dragSourceAndParamsList.forEach(e=>this.dragService.removeDragSource(e.params)),this.dragSourceAndParamsList.length=0,this.dropTargets.length=0}nudge(){this.dragging&&this.onDragging(this.eventLastTime,!0)}onDragStart(e,t){this.dragging=!0,this.dragSource=e,this.eventLastTime=t,this.dragItem=this.dragSource.getDragItem(),this.lastDropTarget=this.dragSource.dragSourceDropTarget,this.dragSource.onDragStarted&&this.dragSource.onDragStarted(),this.createGhost()}onDragStop(e){if(this.eventLastTime=null,this.dragging=!1,this.dragSource.onDragStopped&&this.dragSource.onDragStopped(),this.lastDropTarget&&this.lastDropTarget.onDragStop){const t=this.createDropTargetEvent(this.lastDropTarget,e,null,null,!1);this.lastDropTarget.onDragStop(t)}this.lastDropTarget=null,this.dragItem=null,this.removeGhost()}onDragging(e,t){var r,i,o,a;const n=this.getHorizontalDirection(e),s=this.getVerticalDirection(e);this.eventLastTime=e,this.positionGhost(e);const l=this.dropTargets.filter(t=>this.isMouseOnDropTarget(e,t)),g=this.findCurrentDropTarget(e,l);if(g!==this.lastDropTarget)this.leaveLastTargetIfExists(e,n,s,t),null!==this.lastDropTarget&&null===g&&(null===(i=(r=this.dragSource).onGridExit)||void 0===i||i.call(r,this.dragItem)),null===this.lastDropTarget&&null!==g&&(null===(a=(o=this.dragSource).onGridEnter)||void 0===a||a.call(o,this.dragItem)),this.enterDragTargetIfExists(g,e,n,s,t),this.lastDropTarget=g;else if(g&&g.onDragging){const r=this.createDropTargetEvent(g,e,n,s,t);g.onDragging(r)}}getAllContainersFromDropTarget(e){const t=e.getSecondaryContainers?e.getSecondaryContainers():null,r=[[e.getContainer()]];return t?r.concat(t):r}allContainersIntersect(e,t){for(const r of t){const t=r.getBoundingClientRect();if(0===t.width||0===t.height)return!1;const i=e.clientX>=t.left&&e.clientX<t.right,o=e.clientY>=t.top&&e.clientY<t.bottom;if(!i||!o)return!1}return!0}isMouseOnDropTarget(e,t){const r=this.getAllContainersFromDropTarget(t);let i=!1;for(const t of r)if(this.allContainersIntersect(e,t)){i=!0;break}return!(t.targetContainsSource&&!t.getContainer().contains(this.dragSource.eElement))&&(i&&t.isInterestedIn(this.dragSource.type,this.dragSource.eElement))}findCurrentDropTarget(e,t){const r=t.length;if(0===r)return null;if(1===r)return t[0];const i=this.gridOptionsService.getRootNode().elementsFromPoint(e.clientX,e.clientY);for(const e of i)for(const r of t){if(-1!==Ye(this.getAllContainersFromDropTarget(r)).indexOf(e))return r}return null}enterDragTargetIfExists(e,t,r,i,o){if(e){if(e.onDragEnter){const a=this.createDropTargetEvent(e,t,r,i,o);e.onDragEnter(a)}this.setGhostIcon(e.getIconName?e.getIconName():null)}}leaveLastTargetIfExists(e,t,r,i){if(this.lastDropTarget){if(this.lastDropTarget.onDragLeave){const o=this.createDropTargetEvent(this.lastDropTarget,e,t,r,i);this.lastDropTarget.onDragLeave(o)}this.setGhostIcon(null)}}addDropTarget(e){this.dropTargets.push(e)}removeDropTarget(e){this.dropTargets=this.dropTargets.filter(t=>t.getContainer()!==e.getContainer())}hasExternalDropZones(){return this.dropTargets.some(e=>e.external)}findExternalZone(e){return this.dropTargets.filter(e=>e.external).find(t=>t.getContainer()===e.getContainer())||null}getHorizontalDirection(e){const t=this.eventLastTime&&this.eventLastTime.clientX,r=e.clientX;return t===r?null:t>r?Qa.Left:Qa.Right}getVerticalDirection(e){const t=this.eventLastTime&&this.eventLastTime.clientY,r=e.clientY;return t===r?null:t>r?qa.Up:qa.Down}createDropTargetEvent(e,t,r,i,o){const a=e.getContainer(),n=a.getBoundingClientRect(),{gridApi:s,columnApi:l,dragItem:g,dragSource:d}=this;return{event:t,x:t.clientX-n.left,y:t.clientY-n.top,vDirection:i,hDirection:r,dragSource:d,fromNudge:o,dragItem:g,api:s,columnApi:l,dropZoneTarget:a}}positionGhost(e){const t=this.eGhost;if(!t)return;const r=t.getBoundingClientRect().height,i=Kr()-2,o=Yr()-2,a=Ri(t.offsetParent),{clientY:n,clientX:s}=e;let l=n-a.top-r/2,g=s-a.left-10;const d=this.gridOptionsService.getDocument(),c=d.defaultView||window,u=c.pageYOffset||d.documentElement.scrollTop,p=c.pageXOffset||d.documentElement.scrollLeft;i>0&&g+t.clientWidth>i+p&&(g=i+p-t.clientWidth),g<0&&(g=0),o>0&&l+t.clientHeight>o+u&&(l=o+u-t.clientHeight),l<0&&(l=0),t.style.left=g+"px",t.style.top=l+"px"}removeGhost(){this.eGhost&&this.eGhostParent&&this.eGhostParent.removeChild(this.eGhost),this.eGhost=null}createGhost(){this.eGhost=Ni(Ka.GHOST_TEMPLATE),this.mouseEventService.stampTopLevelGridCompWithGridInstance(this.eGhost);const{theme:e}=this.environment.getTheme();e&&this.eGhost.classList.add(e),this.eGhostIcon=this.eGhost.querySelector(".ag-dnd-ghost-icon"),this.setGhostIcon(null);const t=this.eGhost.querySelector(".ag-dnd-ghost-label");let r=this.dragSource.dragItemName;ee(r)&&(r=r()),t.innerHTML=Et(r)||"",this.eGhost.style.height="25px",this.eGhost.style.top="20px",this.eGhost.style.left="20px";const i=this.gridOptionsService.getDocument();let o=null;try{o=i.fullscreenElement}catch(e){}finally{if(!o){const e=this.gridOptionsService.getRootNode(),t=e.querySelector("body");o=t||(e instanceof ShadowRoot?e:null==e?void 0:e.documentElement)}}this.eGhostParent=o,this.eGhostParent?this.eGhostParent.appendChild(this.eGhost):console.warn("AG Grid: could not find document body, it is needed for dragging columns")}setGhostIcon(e,t=!1){Ai(this.eGhostIcon);let r=null;switch(e||(e=this.dragSource.defaultIconName||Ka.ICON_NOT_ALLOWED),e){case Ka.ICON_PINNED:r=this.ePinnedIcon;break;case Ka.ICON_MOVE:r=this.eMoveIcon;break;case Ka.ICON_LEFT:r=this.eLeftIcon;break;case Ka.ICON_RIGHT:r=this.eRightIcon;break;case Ka.ICON_GROUP:r=this.eGroupIcon;break;case Ka.ICON_AGGREGATE:r=this.eAggregateIcon;break;case Ka.ICON_PIVOT:r=this.ePivotIcon;break;case Ka.ICON_NOT_ALLOWED:r=this.eDropNotAllowedIcon;break;case Ka.ICON_HIDE:r=this.eHideIcon}this.eGhostIcon.classList.toggle("ag-shake-left-to-right",t),r===this.eHideIcon&&this.gridOptionsService.is("suppressDragLeaveHidesColumns")||r&&this.eGhostIcon.appendChild(r)}};Za.ICON_PINNED="pinned",Za.ICON_MOVE="move",Za.ICON_LEFT="left",Za.ICON_RIGHT="right",Za.ICON_GROUP="group",Za.ICON_AGGREGATE="aggregate",Za.ICON_PIVOT="pivot",Za.ICON_NOT_ALLOWED="notAllowed",Za.ICON_HIDE="hide",Za.GHOST_TEMPLATE='<div class="ag-dnd-ghost ag-unselectable">\n <span class="ag-dnd-ghost-icon ag-shake-left-to-right"></span>\n <div class="ag-dnd-ghost-label"></div>\n </div>',Xa([Ce("dragService")],Za.prototype,"dragService",void 0),Xa([Ce("mouseEventService")],Za.prototype,"mouseEventService",void 0),Xa([Ce("columnApi")],Za.prototype,"columnApi",void 0),Xa([Ce("gridApi")],Za.prototype,"gridApi",void 0),Xa([fe],Za.prototype,"init",null),Xa([me],Za.prototype,"clearDragSourceParamsList",null),Za=Ka=Xa([we("dragAndDropService")],Za);var Ja=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class $a extends To{constructor(e,t,r,i,o,a){super(),this.cellValueFn=e,this.rowNode=t,this.column=r,this.customGui=i,this.dragStartPixels=o,this.suppressVisibilityChange=a,this.dragSource=null}isCustomGui(){return null!=this.customGui}postConstruct(){if(this.customGui?this.setDragElement(this.customGui,this.dragStartPixels):(this.setTemplate('<div class="ag-drag-handle ag-row-drag" aria-hidden="true"></div>'),this.getGui().appendChild(ro("rowDrag",this.gridOptionsService,null)),this.addDragSource()),this.checkCompatibility(),!this.suppressVisibilityChange){const e=this.gridOptionsService.is("rowDragManaged")?new rn(this,this.beans,this.rowNode,this.column):new tn(this,this.beans,this.rowNode,this.column);this.createManagedBean(e,this.beans.context)}}setDragElement(e,t){this.setTemplateFromElement(e),this.addDragSource(t)}getSelectedNodes(){if(!this.gridOptionsService.is("rowDragMultiRow"))return[this.rowNode];const e=this.beans.selectionService.getSelectedNodes();return-1!==e.indexOf(this.rowNode)?e:[this.rowNode]}checkCompatibility(){const e=this.gridOptionsService.is("rowDragManaged");this.gridOptionsService.isTreeData()&&e&&J(()=>console.warn("AG Grid: If using row drag with tree data, you cannot have rowDragManaged=true"),"RowDragComp.managedAndTreeData")}getDragItem(){return{rowNode:this.rowNode,rowNodes:this.getSelectedNodes(),columns:this.column?[this.column]:void 0,defaultTextValue:this.cellValueFn()}}getRowDragText(e){if(e){const t=e.getColDef();if(t.rowDragText)return t.rowDragText}return this.gridOptionsService.get("rowDragText")}addDragSource(e=4){this.dragSource&&this.removeDragSource();const t=this.getRowDragText(this.column),r=this.localeService.getLocaleTextFunc();this.dragSource={type:Ya.RowDrag,eElement:this.getGui(),dragItemName:()=>{var e;const i=this.getDragItem(),o=(null===(e=i.rowNodes)||void 0===e?void 0:e.length)||1;return t?t(i,o):1===o?this.cellValueFn():`${o} ${r("rowDragRows","rows")}`},getDragItem:()=>this.getDragItem(),dragStartPixels:e,dragSourceDomDataKey:this.gridOptionsService.getDomDataKey()},this.beans.dragAndDropService.addDragSource(this.dragSource,!0)}removeDragSource(){this.dragSource&&this.beans.dragAndDropService.removeDragSource(this.dragSource),this.dragSource=null}}Ja([Ce("beans")],$a.prototype,"beans",void 0),Ja([fe],$a.prototype,"postConstruct",null),Ja([me],$a.prototype,"removeDragSource",null);class en extends lt{constructor(e,t,r){super(),this.parent=e,this.rowNode=t,this.column=r}setDisplayedOrVisible(e){const t={skipAriaHidden:!0};if(e)this.parent.setDisplayed(!1,t);else{let e=!0,r=!1;this.column&&(e=this.column.isRowDrag(this.rowNode)||this.parent.isCustomGui(),r=ee(this.column.getColDef().rowDrag)),r?(this.parent.setDisplayed(!0,t),this.parent.setVisible(e,t)):(this.parent.setDisplayed(e,t),this.parent.setVisible(!0,t))}}}class tn extends en{constructor(e,t,r,i){super(e,r,i),this.beans=t}postConstruct(){this.addManagedPropertyListener("suppressRowDrag",this.onSuppressRowDrag.bind(this)),this.addManagedListener(this.rowNode,ja.EVENT_DATA_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,ja.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,ja.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,ht.EVENT_NEW_COLUMNS_LOADED,this.workOutVisibility.bind(this)),this.workOutVisibility()}onSuppressRowDrag(){this.workOutVisibility()}workOutVisibility(){const e=this.gridOptionsService.is("suppressRowDrag");this.setDisplayedOrVisible(e)}}Ja([fe],tn.prototype,"postConstruct",null);class rn extends en{constructor(e,t,r,i){super(e,r,i),this.beans=t}postConstruct(){this.addManagedListener(this.beans.eventService,ht.EVENT_SORT_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,ht.EVENT_FILTER_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,ht.EVENT_COLUMN_ROW_GROUP_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.beans.eventService,ht.EVENT_NEW_COLUMNS_LOADED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,ja.EVENT_DATA_CHANGED,this.workOutVisibility.bind(this)),this.addManagedListener(this.rowNode,ja.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.addManagedPropertyListener("suppressRowDrag",this.onSuppressRowDrag.bind(this)),this.workOutVisibility()}onSuppressRowDrag(){this.workOutVisibility()}workOutVisibility(){const e=this.beans.ctrlsService.getGridBodyCtrl().getRowDragFeature(),t=e&&e.shouldPreventRowMove(),r=this.gridOptionsService.is("suppressRowDrag"),i=this.beans.dragAndDropService.hasExternalDropZones(),o=t&&!i||r;this.setDisplayedOrVisible(o)}}Ja([fe],rn.prototype,"postConstruct",null);var on=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class an extends lt{init(e,t,r,i,o,a,n){this.params=n,this.eGui=t,this.eCheckbox=r,this.eExpanded=i,this.eContracted=o,this.comp=e,this.compClass=a;const s=this.isTopLevelFooter(),l=this.isEmbeddedRowMismatch(),g=null==n.value&&!n.node.master;let d=!1;if(this.gridOptionsService.is("groupIncludeFooter")&&this.gridOptionsService.is("groupHideOpenParents")){const e=n.node;if(e.footer){d=(n.colDef&&n.colDef.showRowGroup)!==(e.rowGroupColumn&&e.rowGroupColumn.getColId())}}this.cellIsBlank=!s&&(l||g&&!n.node.master||d),this.cellIsBlank||(this.setupShowingValueForOpenedParent(),this.findDisplayedGroupNode(),this.addFullWidthRowDraggerIfNeeded(),this.addExpandAndContract(),this.addCheckboxIfNeeded(),this.addValueElement(),this.setupIndent(),this.refreshAriaExpanded())}destroy(){super.destroy(),this.expandListener=null}refreshAriaExpanded(){const{node:e,eParentOfValue:t}=this.params;if(this.expandListener&&(this.expandListener=this.expandListener()),!this.isExpandable())return void Sr(t);const r=()=>{yr(t,!!e.expanded)};this.expandListener=this.addManagedListener(e,ja.EVENT_EXPANDED_CHANGED,r)||null,r()}isTopLevelFooter(){if(!this.gridOptionsService.is("groupIncludeTotalFooter"))return!1;if(null!=this.params.value||-1!=this.params.node.level)return!1;const e=this.params.colDef;if(null==e)return!0;if(!0===e.showRowGroup)return!0;const t=this.columnModel.getRowGroupColumns();if(!t||0===t.length)return!0;return t[0].getId()===e.showRowGroup}isEmbeddedRowMismatch(){if(!this.params.fullWidth||!this.gridOptionsService.is("embedFullWidthRows"))return!1;const e="left"===this.params.pinned,t="right"===this.params.pinned,r=!e&&!t;return this.gridOptionsService.is("enableRtl")?this.columnModel.isPinningLeft()?!t:!r:this.columnModel.isPinningLeft()?!e:!r}findDisplayedGroupNode(){const e=this.params.column,t=this.params.node;if(this.showingValueForOpenedParent){let r=t.parent;for(;null!=r;){if(r.rowGroupColumn&&e.isRowGroupDisplayed(r.rowGroupColumn.getId())){this.displayedGroupNode=r;break}r=r.parent}}E(this.displayedGroupNode)&&(this.displayedGroupNode=t)}setupShowingValueForOpenedParent(){const e=this.params.node,t=this.params.column;if(!this.gridOptionsService.is("groupHideOpenParents"))return void(this.showingValueForOpenedParent=!1);if(!e.groupData)return void(this.showingValueForOpenedParent=!1);if(null!=e.rowGroupColumn){const r=e.rowGroupColumn.getId();if(t.isRowGroupDisplayed(r))return void(this.showingValueForOpenedParent=!1)}const r=null!=e.groupData[t.getId()];this.showingValueForOpenedParent=r}addValueElement(){this.displayedGroupNode.footer?this.addFooterValue():(this.addGroupValue(),this.addChildCount())}addGroupValue(){const e=this.adjustParamsWithDetailsFromRelatedColumn(),t=this.getInnerCompDetails(e),{valueFormatted:r,value:i}=e;let o=r;if(null==o)if(""===i&&this.params.node.group){o=this.localeService.getLocaleTextFunc()("blanks","(Blanks)")}else o=null!=i?i:null;this.comp.setInnerRenderer(t,o)}adjustParamsWithDetailsFromRelatedColumn(){const e=this.displayedGroupNode.rowGroupColumn,t=this.params.column;if(!e)return this.params;if(null!=t){if(!t.isRowGroupDisplayed(e.getId()))return this.params}const r=this.params,{value:i,node:o}=this.params,a=this.valueFormatterService.formatValue(e,o,i);return Object.assign(Object.assign({},r),{valueFormatted:a})}addFooterValue(){const e=this.params.footerValueGetter;let t="";if(e){const r=z(this.params);r.value=this.params.value,"function"==typeof e?t=e(r):"string"==typeof e?t=this.expressionService.evaluate(e,r):console.warn("AG Grid: footerValueGetter should be either a function or a string (expression)")}else t="Total "+(null!=this.params.value?this.params.value:"");const r=this.getInnerCompDetails(this.params);this.comp.setInnerRenderer(r,t)}getInnerCompDetails(e){if(e.fullWidth)return this.userComponentFactory.getFullWidthGroupRowInnerCellRenderer(this.gridOptionsService.get("groupRowRendererParams"),e);const t=this.userComponentFactory.getInnerRendererDetails(e,e),r=e=>e&&e.componentClass==this.compClass;if(t&&!r(t))return t;const i=this.displayedGroupNode.rowGroupColumn,o=i?i.getColDef():void 0;if(!o)return;const a=this.userComponentFactory.getCellRendererDetails(o,e);if(a&&!r(a))return a;if(r(a)&&o.cellRendererParams&&o.cellRendererParams.innerRenderer){return this.userComponentFactory.getInnerRendererDetails(o.cellRendererParams,e)}}addChildCount(){this.params.suppressCount||(this.addManagedListener(this.displayedGroupNode,ja.EVENT_ALL_CHILDREN_COUNT_CHANGED,this.updateChildCount.bind(this)),this.updateChildCount())}updateChildCount(){const e=this.displayedGroupNode.allChildrenCount,t=this.isShowRowGroupForThisRow()&&null!=e&&e>=0?`(${e})`:"";this.comp.setChildCount(t)}isShowRowGroupForThisRow(){if(this.gridOptionsService.isTreeData())return!0;const e=this.displayedGroupNode.rowGroupColumn;if(!e)return!1;const t=this.params.column;return null==t||t.isRowGroupDisplayed(e.getId())}addExpandAndContract(){var e;const t=this.params,r=ro("groupExpanded",this.gridOptionsService,null),i=ro("groupContracted",this.gridOptionsService,null);r&&this.eExpanded.appendChild(r),i&&this.eContracted.appendChild(i);const o=t.eGridCell;(null===(e=this.params.column)||void 0===e?void 0:e.isCellEditable(t.node))&&this.gridOptionsService.is("enableGroupEdit")||!this.isExpandable()||t.suppressDoubleClickExpand||this.addManagedListener(o,"dblclick",this.onCellDblClicked.bind(this)),this.addManagedListener(this.eExpanded,"click",this.onExpandClicked.bind(this)),this.addManagedListener(this.eContracted,"click",this.onExpandClicked.bind(this)),this.addManagedListener(o,"keydown",this.onKeyDown.bind(this)),this.addManagedListener(t.node,ja.EVENT_EXPANDED_CHANGED,this.showExpandAndContractIcons.bind(this)),this.showExpandAndContractIcons();const a=this.onRowNodeIsExpandableChanged.bind(this);this.addManagedListener(this.displayedGroupNode,ja.EVENT_ALL_CHILDREN_COUNT_CHANGED,a),this.addManagedListener(this.displayedGroupNode,ja.EVENT_MASTER_CHANGED,a),this.addManagedListener(this.displayedGroupNode,ja.EVENT_GROUP_CHANGED,a),this.addManagedListener(this.displayedGroupNode,ja.EVENT_HAS_CHILDREN_CHANGED,a)}onExpandClicked(e){et(e)||($e(e),this.onExpandOrContract(e))}onExpandOrContract(e){const t=this.displayedGroupNode,r=!t.expanded;!r&&t.sticky&&this.scrollToStickyNode(t),t.setExpanded(r,e)}scrollToStickyNode(e){this.ctrlsService.getGridBodyCtrl().getScrollFeature().setVerticalScrollPosition(e.rowTop-e.stickyRowTop)}isExpandable(){if(this.showingValueForOpenedParent)return!0;const e=this.displayedGroupNode,t=this.columnModel.isPivotMode()&&e.leafGroup;if(!(e.isExpandable()&&!e.footer&&!t))return!1;const r=this.params.column;if(null!=r&&"string"==typeof r.getColDef().showRowGroup){return this.isShowRowGroupForThisRow()}return!0}showExpandAndContractIcons(){const{params:e,displayedGroupNode:t,columnModel:r}=this,{node:i}=e,o=this.isExpandable();if(o){const e=!!this.showingValueForOpenedParent||i.expanded;this.comp.setExpandedDisplayed(e),this.comp.setContractedDisplayed(!e)}else this.comp.setExpandedDisplayed(!1),this.comp.setContractedDisplayed(!1);const a=r.isPivotMode(),n=a&&t.leafGroup,s=o&&!n,l=i.footer&&-1===i.level;this.comp.addOrRemoveCssClass("ag-cell-expandable",s),this.comp.addOrRemoveCssClass("ag-row-group",s),a?this.comp.addOrRemoveCssClass("ag-pivot-leaf-group",n):l||this.comp.addOrRemoveCssClass("ag-row-group-leaf-indent",!s)}onRowNodeIsExpandableChanged(){this.showExpandAndContractIcons(),this.setIndent(),this.refreshAriaExpanded()}setupIndent(){const e=this.params.node;this.params.suppressPadding||(this.addManagedListener(e,ja.EVENT_UI_LEVEL_CHANGED,this.setIndent.bind(this)),this.setIndent())}setIndent(){if(this.gridOptionsService.is("groupHideOpenParents"))return;const e=this.params,t=e.node,r=!!e.colDef,i=this.gridOptionsService.isTreeData(),o=!r||i||!0===e.colDef.showRowGroup?t.uiLevel:0;this.indentClass&&this.comp.addOrRemoveCssClass(this.indentClass,!1),this.indentClass="ag-row-group-indent-"+o,this.comp.addOrRemoveCssClass(this.indentClass,!0)}addFullWidthRowDraggerIfNeeded(){if(!this.params.fullWidth||!this.params.rowDrag)return;const e=new $a(()=>this.params.value,this.params.node);this.createManagedBean(e,this.context),this.eGui.insertAdjacentElement("afterbegin",e.getGui())}isUserWantsSelected(){const e=this.params.checkbox;return"function"==typeof e||!0===e}addCheckboxIfNeeded(){const e=this.displayedGroupNode,t=this.isUserWantsSelected()&&!e.footer&&!e.rowPinned&&!e.detail;if(t){const t=new Ua;this.getContext().createBean(t),t.init({rowNode:e,column:this.params.column,overrides:{isVisible:this.params.checkbox,callbackParams:this.params,removeHidden:!0}}),this.eCheckbox.appendChild(t.getGui()),this.addDestroyFunc(()=>this.getContext().destroyBean(t))}this.comp.setCheckboxVisible(t)}onKeyDown(e){if(!(e.key===io.ENTER)||this.params.suppressEnterExpand)return;this.params.column&&this.params.column.isCellEditable(this.params.node)||this.onExpandOrContract(e)}onCellDblClicked(e){if(et(e))return;it(this.eExpanded,e)||it(this.eContracted,e)||this.onExpandOrContract(e)}}on([Ce("expressionService")],an.prototype,"expressionService",void 0),on([Ce("valueFormatterService")],an.prototype,"valueFormatterService",void 0),on([Ce("columnModel")],an.prototype,"columnModel",void 0),on([Ce("userComponentFactory")],an.prototype,"userComponentFactory",void 0),on([Ce("ctrlsService")],an.prototype,"ctrlsService",void 0);var nn=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class sn extends To{constructor(){super(sn.TEMPLATE)}init(e){const t={setInnerRenderer:(e,t)=>this.setRenderDetails(e,t),setChildCount:e=>this.eChildCount.innerHTML=e,addOrRemoveCssClass:(e,t)=>this.addOrRemoveCssClass(e,t),setContractedDisplayed:e=>vi(this.eContracted,e),setExpandedDisplayed:e=>vi(this.eExpanded,e),setCheckboxVisible:e=>this.eCheckbox.classList.toggle("ag-invisible",!e)},r=this.createManagedBean(new an),i=!e.colDef,o=this.getGui();r.init(t,o,this.eCheckbox,this.eExpanded,this.eContracted,this.constructor,e),i&&lr(o,"gridcell")}setRenderDetails(e,t){if(e){const t=e.newAgStackInstance();if(!t)return;t.then(e=>{if(!e)return;const t=()=>this.context.destroyBean(e);this.isAlive()?(this.eValue.appendChild(e.getGui()),this.addDestroyFunc(t)):t()})}else this.eValue.innerText=t}destroy(){this.getContext().destroyBean(this.innerCellRenderer),super.destroy()}refresh(){return!1}}sn.TEMPLATE='<span class="ag-cell-wrapper">\n <span class="ag-group-expanded" ref="eExpanded"></span>\n <span class="ag-group-contracted" ref="eContracted"></span>\n <span class="ag-group-checkbox ag-invisible" ref="eCheckbox"></span>\n <span class="ag-group-value" ref="eValue"></span>\n <span class="ag-group-child-count" ref="eChildCount"></span>\n </span>',nn([Do("eExpanded")],sn.prototype,"eExpanded",void 0),nn([Do("eContracted")],sn.prototype,"eContracted",void 0),nn([Do("eCheckbox")],sn.prototype,"eCheckbox",void 0),nn([Do("eValue")],sn.prototype,"eValue",void 0),nn([Do("eChildCount")],sn.prototype,"eChildCount",void 0);var ln=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class gn extends To{constructor(){super(gn.TEMPLATE)}init(e){e.node.failedLoad?this.setupFailed():this.setupLoading()}setupFailed(){const e=this.localeService.getLocaleTextFunc();this.eLoadingText.innerText=e("loadingError","ERR")}setupLoading(){const e=ro("groupLoading",this.gridOptionsService,null);e&&this.eLoadingIcon.appendChild(e);const t=this.localeService.getLocaleTextFunc();this.eLoadingText.innerText=t("loadingOoo","Loading")}refresh(e){return!1}destroy(){super.destroy()}}gn.TEMPLATE='<div class="ag-loading">\n <span class="ag-loading-icon" ref="eLoadingIcon"></span>\n <span class="ag-loading-text" ref="eLoadingText"></span>\n </div>',ln([Do("eLoadingIcon")],gn.prototype,"eLoadingIcon",void 0),ln([Do("eLoadingText")],gn.prototype,"eLoadingText",void 0);class dn extends To{constructor(){super()}destroy(){super.destroy()}init(e){var t;const r=null!==(t=this.gridOptionsService.get("overlayLoadingTemplate"))&&void 0!==t?t:dn.DEFAULT_LOADING_OVERLAY_TEMPLATE,i=this.localeService.getLocaleTextFunc(),o=r.replace("[LOADING...]",i("loadingOoo","Loading..."));this.setTemplate(o)}}dn.DEFAULT_LOADING_OVERLAY_TEMPLATE='<span class="ag-overlay-loading-center">[LOADING...]</span>';class cn extends To{constructor(){super()}destroy(){super.destroy()}init(e){var t;const r=null!==(t=this.gridOptionsService.get("overlayNoRowsTemplate"))&&void 0!==t?t:cn.DEFAULT_NO_ROWS_TEMPLATE,i=this.localeService.getLocaleTextFunc(),o=r.replace("[NO_ROWS_TO_SHOW]",i("noRowsToShow","No Rows To Show"));this.setTemplate(o)}}cn.DEFAULT_NO_ROWS_TEMPLATE='<span class="ag-overlay-no-rows-center">[NO_ROWS_TO_SHOW]</span>';class un extends Ma{constructor(){super('<div class="ag-tooltip"></div>')}init(e){const{value:t}=e;this.getGui().innerHTML=Et(t)}}class pn{getTemplate(){return'<ag-input-number-field class="ag-cell-editor" ref="eInput"></ag-input-number-field>'}init(e,t){this.eInput=e,this.params=t,null!=t.max&&e.setMax(t.max),null!=t.min&&e.setMin(t.min),null!=t.precision&&e.setPrecision(t.precision),null!=t.step&&e.setStep(t.step),t.showStepperButtons&&e.getInputElement().classList.add("ag-number-field-input-stepper")}getValue(){const e=this.eInput.getValue();if(!S(e)&&!S(this.params.value))return this.params.value;let t=this.params.parseValue(e);if(null==t)return t;if("string"==typeof t){if(""===t)return null;t=Number(t)}return isNaN(t)?null:t}getStartValue(){return this.params.value}}class hn extends Fa{constructor(){super(new pn)}}class vn{getTemplate(){return'<ag-input-date-field class="ag-cell-editor" ref="eInput"></ag-input-date-field>'}init(e,t){this.eInput=e,this.params=t,null!=t.min&&e.setMin(t.min),null!=t.max&&e.setMax(t.max),null!=t.step&&e.setStep(t.step)}getValue(){const e=this.eInput.getDate();return S(e)||S(this.params.value)?null!=e?e:null:this.params.value}getStartValue(){const{value:e}=this.params;if(e instanceof Date)return ni(e,!1)}}class fn extends Fa{constructor(){super(new vn)}}var mn=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class wn{constructor(e){this.getDataTypeService=e}getTemplate(){return'<ag-input-date-field class="ag-cell-editor" ref="eInput"></ag-input-date-field>'}init(e,t){this.eInput=e,this.params=t,null!=t.min&&e.setMin(t.min),null!=t.max&&e.setMax(t.max),null!=t.step&&e.setStep(t.step)}getValue(){const e=this.formatDate(this.eInput.getDate());return S(e)||S(this.params.value)?this.params.parseValue(null!=e?e:""):this.params.value}getStartValue(){var e,t;return ni(null!==(t=this.parseDate(null!==(e=this.params.value)&&void 0!==e?e:void 0))&&void 0!==t?t:null,!1)}parseDate(e){return this.getDataTypeService().getDateParserFunction()(e)}formatDate(e){return this.getDataTypeService().getDateFormatterFunction()(e)}}class Cn extends Fa{constructor(){super(new wn(()=>this.dataTypeService))}}mn([Ce("dataTypeService")],Cn.prototype,"dataTypeService",void 0);var bn=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class yn extends To{constructor(){super(yn.TEMPLATE)}init(e){this.params=e,this.updateCheckbox(e),this.eCheckbox.getInputElement().setAttribute("tabindex","-1"),this.addManagedListener(this.eCheckbox.getInputElement(),"click",e=>{if($e(e),this.eCheckbox.isDisabled())return;const t=this.eCheckbox.getValue();this.onCheckboxChanged(t)}),this.addManagedListener(this.eCheckbox.getInputElement(),"dblclick",e=>{$e(e)});const t=this.gridOptionsService.getDocument();this.addManagedListener(this.params.eGridCell,"keydown",e=>{if(e.key===io.SPACE&&!this.eCheckbox.isDisabled()){this.params.eGridCell===t.activeElement&&this.eCheckbox.toggle();const r=this.eCheckbox.getValue();this.onCheckboxChanged(r),e.preventDefault()}})}refresh(e){return this.params=e,this.updateCheckbox(e),!0}updateCheckbox(e){var t,r,i;let o,a=!0;if(e.node.group&&e.column){const r=e.column.getColId();r.startsWith(mt)?o=null==e.value||""===e.value?void 0:"true"===e.value:e.node.aggData&&void 0!==e.node.aggData[r]?o=null!==(t=e.value)&&void 0!==t?t:void 0:a=!1}else o=null!==(r=e.value)&&void 0!==r?r:void 0;if(!a)return void this.eCheckbox.setDisplayed(!1);this.eCheckbox.setValue(o);const n=null!=e.disabled?e.disabled:!(null===(i=e.column)||void 0===i?void 0:i.isCellEditable(e.node));this.eCheckbox.setDisabled(n);const s=this.localeService.getLocaleTextFunc(),l=Fr(s,o),g=n?l:`${s("ariaToggleCellValue","Press SPACE to toggle cell value")} (${l})`;this.eCheckbox.setInputAriaLabel(g)}onCheckboxChanged(e){const{column:t,node:r,rowIndex:i,value:o}=this.params,a={type:ht.EVENT_CELL_EDITING_STARTED,column:t,colDef:null==t?void 0:t.getColDef(),data:r.data,node:r,rowIndex:i,rowPinned:r.rowPinned,value:o};this.eventService.dispatchEvent(a);const n=this.params.node.setDataValue(this.params.column,e,"edit"),s={type:ht.EVENT_CELL_EDITING_STOPPED,column:t,colDef:null==t?void 0:t.getColDef(),data:r.data,node:r,rowIndex:i,rowPinned:r.rowPinned,value:o,oldValue:o,newValue:e,valueChanged:n};this.eventService.dispatchEvent(s)}}yn.TEMPLATE='\n <div class="ag-cell-wrapper ag-checkbox-cell" role="presentation">\n <ag-checkbox role="presentation" ref="eCheckbox"></ag-checkbox>\n </div>',bn([Do("eCheckbox")],yn.prototype,"eCheckbox",void 0);var Sn=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class En extends Ma{constructor(){super('\n <div class="ag-cell-wrapper ag-cell-edit-wrapper ag-checkbox-edit">\n <ag-checkbox role="presentation" ref="eCheckbox"></ag-checkbox>\n </div>')}init(e){var t;this.params=e;const r=null!==(t=e.value)&&void 0!==t?t:void 0;this.eCheckbox.setValue(r),this.eCheckbox.getInputElement().setAttribute("tabindex","-1"),this.setAriaLabel(r),this.addManagedListener(this.eCheckbox,Zo.EVENT_CHANGED,e=>this.setAriaLabel(e.selected))}getValue(){return this.eCheckbox.getValue()}focusIn(){this.eCheckbox.getFocusableElement().focus()}afterGuiAttached(){this.params.cellStartedEdit&&this.focusIn()}isPopup(){return!1}setAriaLabel(e){const t=this.localeService.getLocaleTextFunc(),r=Fr(t,e),i=t("ariaToggleCellValue","Press SPACE to toggle cell value");this.eCheckbox.setInputAriaLabel(`${i} (${r})`)}}Sn([Do("eCheckbox")],En.prototype,"eCheckbox",void 0);var Rn=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Tn=class extends lt{constructor(){super(...arguments),this.agGridDefaults={agDateInput:ga,agColumnHeader:Da,agColumnGroupHeader:Oa,agSortIndicator:Ta,agTextColumnFloatingFilter:Sa,agNumberColumnFloatingFilter:ya,agDateColumnFloatingFilter:sa,agReadOnlyFloatingFilter:Mo,agAnimateShowChangeCellRenderer:Va,agAnimateSlideCellRenderer:Ba,agGroupCellRenderer:sn,agGroupRowRenderer:sn,agLoadingCellRenderer:gn,agCheckboxCellRenderer:yn,agCellEditor:Ga,agTextCellEditor:Ga,agNumberCellEditor:hn,agDateCellEditor:fn,agDateStringCellEditor:Cn,agSelectCellEditor:Ia,agLargeTextCellEditor:Na,agCheckboxCellEditor:En,agTextColumnFilter:fa,agNumberColumnFilter:ha,agDateColumnFilter:oa,agLoadingOverlay:dn,agNoRowsOverlay:cn,agTooltipComponent:un},this.enterpriseAgDefaultCompsModule={agSetColumnFilter:ue.SetFilterModule,agSetColumnFloatingFilter:ue.SetFilterModule,agMultiColumnFilter:ue.MultiFilterModule,agMultiColumnFloatingFilter:ue.MultiFilterModule,agGroupColumnFilter:ue.RowGroupingModule,agGroupColumnFloatingFilter:ue.RowGroupingModule,agRichSelect:ue.RichSelectModule,agRichSelectCellEditor:ue.RichSelectModule,agDetailCellRenderer:ue.MasterDetailModule,agSparklineCellRenderer:ue.SparklinesModule},this.jsComps={}}init(){null!=this.gridOptions.components&&I(this.gridOptions.components,(e,t)=>this.registerJsComponent(e,t))}registerDefaultComponent(e,t){this.agGridDefaults[e]?console.error("Trying to overwrite a default component. You should call registerComponent"):this.agGridDefaults[e]=t}registerJsComponent(e,t){this.jsComps[e]=t}retrieve(e,t){const r=(e,t)=>({componentFromFramework:t,component:e}),i=this.getFrameworkOverrides().frameworkComponent(t,this.gridOptions.components);if(null!=i)return r(i,!0);const o=this.jsComps[t];if(o){return r(o,this.getFrameworkOverrides().isFrameworkComponent(o))}const a=this.agGridDefaults[t];if(a)return r(a,!1);const n=this.enterpriseAgDefaultCompsModule[t];return n?pe.__assertRegistered(n,`AG Grid '${e}' component: ${t}`,this.context.getGridId()):J(()=>{this.warnAboutMissingComponent(e,t)},"MissingComp"+t),null}warnAboutMissingComponent(e,t){const r=Lt(t,[...Object.keys(this.agGridDefaults).filter(e=>!["agCellEditor","agGroupRowRenderer","agSortIndicator"].includes(e)),...Object.keys(this.jsComps)],!0,.8);console.warn(`AG Grid: Could not find '${t}' component. It was configured as "${e}: '${t}'" but it wasn't found in the list of registered components.`),r.length>0&&console.warn(` Did you mean: [${r.slice(0,3)}]?`),console.warn("If using a custom component check it has been registered as described in: https://ag-grid.com/javascript-data-grid/components/")}};Rn([Ce("gridOptions")],Tn.prototype,"gridOptions",void 0),Rn([fe],Tn.prototype,"init",null),Tn=Rn([we("userComponentRegistry")],Tn);const xn={propertyName:"dateComponent",cellRenderer:!1},Dn={propertyName:"headerComponent",cellRenderer:!1},An={propertyName:"headerGroupComponent",cellRenderer:!1},On={propertyName:"cellRenderer",cellRenderer:!0},Mn={propertyName:"cellEditor",cellRenderer:!1},Pn={propertyName:"innerRenderer",cellRenderer:!0},Nn={propertyName:"loadingOverlayComponent",cellRenderer:!1},Ln={propertyName:"noRowsOverlayComponent",cellRenderer:!1},In={propertyName:"tooltipComponent",cellRenderer:!1},zn={propertyName:"filter",cellRenderer:!1},Fn={propertyName:"floatingFilterComponent",cellRenderer:!1},kn={propertyName:"toolPanel",cellRenderer:!1},Gn={propertyName:"statusPanel",cellRenderer:!1},Hn={propertyName:"fullWidthCellRenderer",cellRenderer:!0},Vn={propertyName:"loadingCellRenderer",cellRenderer:!0},_n={propertyName:"groupRowRenderer",cellRenderer:!0},Bn={propertyName:"detailCellRenderer",cellRenderer:!0};class jn{static getFloatingFilterType(e){return this.filterToFloatingFilterMapping[e]}}jn.filterToFloatingFilterMapping={set:"agSetColumnFloatingFilter",agSetColumnFilter:"agSetColumnFloatingFilter",multi:"agMultiColumnFloatingFilter",agMultiColumnFilter:"agMultiColumnFloatingFilter",group:"agGroupColumnFloatingFilter",agGroupColumnFilter:"agGroupColumnFloatingFilter",number:"agNumberColumnFloatingFilter",agNumberColumnFilter:"agNumberColumnFloatingFilter",date:"agDateColumnFloatingFilter",agDateColumnFilter:"agDateColumnFloatingFilter",text:"agTextColumnFloatingFilter",agTextColumnFilter:"agTextColumnFloatingFilter"};var Wn=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Un=class extends lt{getHeaderCompDetails(e,t){return this.getCompDetails(e,Dn,"agColumnHeader",t)}getHeaderGroupCompDetails(e){const t=e.columnGroup.getColGroupDef();return this.getCompDetails(t,An,"agColumnGroupHeader",e)}getFullWidthCellRendererDetails(e){return this.getCompDetails(this.gridOptions,Hn,null,e,!0)}getFullWidthLoadingCellRendererDetails(e){return this.getCompDetails(this.gridOptions,Vn,"agLoadingCellRenderer",e,!0)}getFullWidthGroupCellRendererDetails(e){return this.getCompDetails(this.gridOptions,_n,"agGroupRowRenderer",e,!0)}getFullWidthDetailCellRendererDetails(e){return this.getCompDetails(this.gridOptions,Bn,"agDetailCellRenderer",e,!0)}getInnerRendererDetails(e,t){return this.getCompDetails(e,Pn,null,t)}getFullWidthGroupRowInnerCellRenderer(e,t){return this.getCompDetails(e,Pn,null,t)}getCellRendererDetails(e,t){return this.getCompDetails(e,On,null,t)}getCellEditorDetails(e,t){return this.getCompDetails(e,Mn,"agCellEditor",t,!0)}getFilterDetails(e,t,r){return this.getCompDetails(e,zn,r,t,!0)}getDateCompDetails(e){return this.getCompDetails(this.gridOptions,xn,"agDateInput",e,!0)}getLoadingOverlayCompDetails(e){return this.getCompDetails(this.gridOptions,Nn,"agLoadingOverlay",e,!0)}getNoRowsOverlayCompDetails(e){return this.getCompDetails(this.gridOptions,Ln,"agNoRowsOverlay",e,!0)}getTooltipCompDetails(e){return this.getCompDetails(e.colDef,In,"agTooltipComponent",e,!0)}getSetFilterCellRendererDetails(e,t){return this.getCompDetails(e,On,null,t)}getFloatingFilterCompDetails(e,t,r){return this.getCompDetails(e,Fn,r,t)}getToolPanelCompDetails(e,t){return this.getCompDetails(e,kn,null,t,!0)}getStatusPanelCompDetails(e,t){return this.getCompDetails(e,Gn,null,t,!0)}getCompDetails(e,t,r,i,o=!1){const{propertyName:a,cellRenderer:n}=t;let{compName:s,jsComp:l,fwComp:g,paramsFromSelector:d,popupFromSelector:c,popupPositionFromSelector:u}=this.getCompKeys(e,t,i);const p=e=>{const t=this.userComponentRegistry.retrieve(a,e);t&&(l=t.componentFromFramework?void 0:t.component,g=t.componentFromFramework?t.component:void 0)};if(null!=s&&p(s),null==l&&null==g&&null!=r&&p(r),l&&n&&!this.agComponentUtils.doesImplementIComponent(l)&&(l=this.agComponentUtils.adaptFunction(a,l)),!l&&!g)return void(o&&console.error(`AG Grid: Could not find component ${s}, did you forget to configure this component?`));const h=this.mergeParamsWithApplicationProvidedParams(e,t,i,d),v=null==l,f=l||g;return{componentFromFramework:v,componentClass:f,params:h,type:t,popupFromSelector:c,popupPositionFromSelector:u,newAgStackInstance:()=>this.newAgStackInstance(f,v,h,t)}}getCompKeys(e,t,r){const{propertyName:i}=t;let o,a,n,s,l,g;if(e){const t=e,d=t[i+"Selector"],c=d?d(r):null,u=e=>{if("string"==typeof e)o=e;else if(null!=e&&!0!==e){this.getFrameworkOverrides().isFrameworkComponent(e)?n=e:a=e}};c?(u(c.component),s=c.params,l=c.popup,g=c.popupPosition):u(t[i])}return{compName:o,jsComp:a,fwComp:n,paramsFromSelector:s,popupFromSelector:l,popupPositionFromSelector:g}}newAgStackInstance(e,t,r,i){const o=i.propertyName;let a;if(!t)a=new e;else{const t=this.componentMetadataProvider.retrieve(o);a=this.frameworkComponentWrapper.wrap(e,t.mandatoryMethodList,t.optionalMethodList,i)}const n=this.initComponent(a,r);return null==n?mo.resolve(a):n.then(()=>a)}mergeParamsWithApplicationProvidedParams(e,t,r,i=null){const o={context:this.gridOptionsService.context,columnApi:this.gridOptionsService.columnApi,api:this.gridOptionsService.api};W(o,r);const a=e&&e[t.propertyName+"Params"];if("function"==typeof a){W(o,a(r))}else"object"==typeof a&&W(o,a);return W(o,i),o}initComponent(e,t){if(this.context.createBean(e),null!=e.init)return e.init(t)}getDefaultFloatingFilterType(e,t){if(null==e)return null;let r=null,{compName:i,jsComp:o,fwComp:a}=this.getCompKeys(e,zn);if(i)r=jn.getFloatingFilterType(i);else{null==o&&null==a&&!0===e.filter&&(r=t())}return r}};var Kn;Wn([Ce("gridOptions")],Un.prototype,"gridOptions",void 0),Wn([Ce("agComponentUtils")],Un.prototype,"agComponentUtils",void 0),Wn([Ce("componentMetadataProvider")],Un.prototype,"componentMetadataProvider",void 0),Wn([Ce("userComponentRegistry")],Un.prototype,"userComponentRegistry",void 0),Wn([be("frameworkComponentWrapper")],Un.prototype,"frameworkComponentWrapper",void 0),Un=Wn([we("userComponentFactory")],Un),function(e){e[e.SINGLE_SHEET=0]="SINGLE_SHEET",e[e.MULTI_SHEET=1]="MULTI_SHEET"}(Kn||(Kn={}));var Yn=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let qn=class extends lt{constructor(){super(...arguments),this.dragEndFunctions=[],this.dragSources=[]}removeAllListeners(){this.dragSources.forEach(this.removeListener.bind(this)),this.dragSources.length=0}removeListener(e){const t=e.dragSource.eElement,r=e.mouseDownListener;if(t.removeEventListener("mousedown",r),e.touchEnabled){const r=e.touchStartListener;t.removeEventListener("touchstart",r,{passive:!0})}}removeDragSource(e){const t=this.dragSources.find(t=>t.dragSource===e);t&&(this.removeListener(t),_e(this.dragSources,t))}isDragging(){return this.dragging}addDragSource(e){const t=this.onMouseDown.bind(this,e),{eElement:r,includeTouch:i,stopPropagationForTouch:o}=e;r.addEventListener("mousedown",t);let a=null;const n=this.gridOptionsService.is("suppressTouch");i&&!n&&(a=t=>{hi(t.target)||(t.cancelable&&(t.preventDefault(),o&&t.stopPropagation()),this.onTouchStart(e,t))},r.addEventListener("touchstart",a,{passive:!1})),this.dragSources.push({dragSource:e,mouseDownListener:t,touchStartListener:a,touchEnabled:!!i})}getStartTarget(){return this.startTarget}onTouchStart(e,t){this.currentDragParams=e,this.dragging=!1;const r=t.touches[0];this.touchLastTime=r,this.touchStart=r;const i=t=>this.onTouchUp(t,e.eElement),o=t.target,a=[{target:this.gridOptionsService.getRootNode(),type:"touchmove",listener:e=>{e.cancelable&&e.preventDefault()},options:{passive:!1}},{target:o,type:"touchmove",listener:t=>this.onTouchMove(t,e.eElement),options:{passive:!0}},{target:o,type:"touchend",listener:i,options:{passive:!0}},{target:o,type:"touchcancel",listener:i,options:{passive:!0}}];this.addTemporaryEvents(a),0===e.dragStartPixels&&this.onCommonMove(r,this.touchStart,e.eElement)}onMouseDown(e,t){const r=t;if(e.skipMouseEvent&&e.skipMouseEvent(t))return;if(r._alreadyProcessedByDragService)return;if(r._alreadyProcessedByDragService=!0,0!==t.button)return;this.shouldPreventMouseEvent(t)&&t.preventDefault(),this.currentDragParams=e,this.dragging=!1,this.mouseStartEvent=t,this.startTarget=t.target;const i=this.gridOptionsService.getRootNode(),o=[{target:i,type:"mousemove",listener:t=>this.onMouseMove(t,e.eElement)},{target:i,type:"mouseup",listener:t=>this.onMouseUp(t,e.eElement)},{target:i,type:"contextmenu",listener:e=>e.preventDefault()}];this.addTemporaryEvents(o),0===e.dragStartPixels&&this.onMouseMove(t,e.eElement)}addTemporaryEvents(e){e.forEach(e=>{const{target:t,type:r,listener:i,options:o}=e;t.addEventListener(r,i,o)}),this.dragEndFunctions.push(()=>{e.forEach(e=>{const{target:t,type:r,listener:i,options:o}=e;t.removeEventListener(r,i,o)})})}isEventNearStartEvent(e,t){const{dragStartPixels:r}=this.currentDragParams;return go(e,t,S(r)?r:4)}getFirstActiveTouch(e){for(let t=0;t<e.length;t++)if(e[t].identifier===this.touchStart.identifier)return e[t];return null}onCommonMove(e,t,r){if(!this.dragging){if(!this.dragging&&this.isEventNearStartEvent(e,t))return;this.dragging=!0;const i={type:ht.EVENT_DRAG_STARTED,target:r};this.eventService.dispatchEvent(i),this.currentDragParams.onDragStart(t),this.currentDragParams.onDragging(t)}this.currentDragParams.onDragging(e)}onTouchMove(e,t){const r=this.getFirstActiveTouch(e.touches);r&&this.onCommonMove(r,this.touchStart,t)}onMouseMove(e,t){this.shouldPreventMouseEvent(e)&&e.preventDefault(),this.onCommonMove(e,this.mouseStartEvent,t)}shouldPreventMouseEvent(e){const t=this.gridOptionsService.is("enableCellTextSelection"),r=kr(),i="mousemove"===e.type;return(t&&i||r)&&e.cancelable&&this.mouseEventService.isEventFromThisGrid(e)&&!this.isOverFormFieldElement(e)}isOverFormFieldElement(e){const t=e.target,r=null==t?void 0:t.tagName.toLocaleLowerCase();return!!(null==r?void 0:r.match("^a$|textarea|input|select|button"))}onTouchUp(e,t){let r=this.getFirstActiveTouch(e.changedTouches);r||(r=this.touchLastTime),this.onUpCommon(r,t)}onMouseUp(e,t){this.onUpCommon(e,t)}onUpCommon(e,t){if(this.dragging){this.dragging=!1,this.currentDragParams.onDragStop(e);const r={type:ht.EVENT_DRAG_STOPPED,target:t};this.eventService.dispatchEvent(r)}this.mouseStartEvent=null,this.startTarget=null,this.touchStart=null,this.touchLastTime=null,this.currentDragParams=null,this.dragEndFunctions.forEach(e=>e()),this.dragEndFunctions.length=0}};var Qn,Xn;Yn([Ce("mouseEventService")],qn.prototype,"mouseEventService",void 0),Yn([me],qn.prototype,"removeAllListeners",null),qn=Yn([we("dragService")],qn),function(e){e[e.Above=0]="Above",e[e.Below=1]="Below"}(Qn||(Qn={})),function(e){e.EVERYTHING="group",e.FILTER="filter",e.SORT="sort",e.MAP="map",e.AGGREGATE="aggregate",e.FILTER_AGGREGATES="filter_aggregates",e.PIVOT="pivot",e.NOTHING="nothing"}(Xn||(Xn={}));var Zn=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};function Jn(e){const t=e;return null!=t&&null!=t.getFrameworkComponentInstance?t.getFrameworkComponentInstance():e}let $n=class{constructor(){this.detailGridInfoMap={},this.destroyCalled=!1}registerOverlayWrapperComp(e){this.overlayWrapperComp=e}registerSideBarComp(e){this.sideBarComp=e}init(){switch(this.rowModel.getType()){case"clientSide":this.clientSideRowModel=this.rowModel;break;case"infinite":this.infiniteRowModel=this.rowModel;break;case"serverSide":this.serverSideRowModel=this.rowModel}this.ctrlsService.whenReady(()=>{this.gridBodyCtrl=this.ctrlsService.getGridBodyCtrl()})}__getAlignedGridService(){return this.alignedGridsService}__getContext(){return this.context}getSetterMethod(e){return`set${e.charAt(0).toUpperCase()}${e.substring(1)}`}__setProperty(e,t){this.gridOptionsService.set(e,t);const r=this.getSetterMethod(e),i=this;i[r]&&i[r](t)}getGridId(){return this.context.getGridId()}addDetailGridInfo(e,t){this.detailGridInfoMap[e]=t}removeDetailGridInfo(e){this.detailGridInfoMap[e]=void 0}getDetailGridInfo(e){return this.detailGridInfoMap[e]}forEachDetailGridInfo(e){let t=0;I(this.detailGridInfoMap,(r,i)=>{S(i)&&(e(i,t),t++)})}getDataAsCsv(e){if(pe.__assertRegistered(ue.CsvExportModule,"api.getDataAsCsv",this.context.getGridId()))return this.csvCreator.getDataAsCsv(e)}exportDataAsCsv(e){pe.__assertRegistered(ue.CsvExportModule,"api.exportDataAsCSv",this.context.getGridId())&&this.csvCreator.exportDataAsCsv(e)}getExcelExportMode(e){const t=this.gridOptionsService.get("defaultExcelExportParams");return Object.assign({exportMode:"xlsx"},t,e).exportMode}assertNotExcelMultiSheet(e,t){if(!pe.__assertRegistered(ue.ExcelExportModule,"api."+e,this.context.getGridId()))return!1;const r=this.getExcelExportMode(t);return this.excelCreator.getFactoryMode(r)!==Kn.MULTI_SHEET||(console.warn("AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling 'api.getMultipleSheetAsExcel()' or 'api.exportMultipleSheetsAsExcel()'"),!1)}getDataAsExcel(e){if(this.assertNotExcelMultiSheet("getDataAsExcel",e))return this.excelCreator.getDataAsExcel(e)}exportDataAsExcel(e){this.assertNotExcelMultiSheet("exportDataAsExcel",e)&&this.excelCreator.exportDataAsExcel(e)}getSheetDataForExcel(e){if(!pe.__assertRegistered(ue.ExcelExportModule,"api.getSheetDataForExcel",this.context.getGridId()))return;const t=this.getExcelExportMode(e);return this.excelCreator.setFactoryMode(Kn.MULTI_SHEET,t),this.excelCreator.getSheetDataForExcel(e)}getMultipleSheetsAsExcel(e){if(pe.__assertRegistered(ue.ExcelExportModule,"api.getMultipleSheetsAsExcel",this.context.getGridId()))return this.excelCreator.getMultipleSheetsAsExcel(e)}exportMultipleSheetsAsExcel(e){if(pe.__assertRegistered(ue.ExcelExportModule,"api.exportMultipleSheetsAsExcel",this.context.getGridId()))return this.excelCreator.exportMultipleSheetsAsExcel(e)}setGridAriaProperty(e,t){if(!e)return;const r=this.ctrlsService.getGridBodyCtrl().getGui(),i="aria-"+e;null===t?r.removeAttribute(i):r.setAttribute(i,t)}logMissingRowModel(e,...t){console.error(`AG Grid: api.${e} can only be called when gridOptions.rowModelType is ${t.join(" or ")}`)}setServerSideDatasource(e){this.serverSideRowModel?this.serverSideRowModel.setDatasource(e):this.logMissingRowModel("setServerSideDatasource","serverSide")}setCacheBlockSize(e){this.serverSideRowModel?(this.gridOptionsService.set("cacheBlockSize",e),this.serverSideRowModel.resetRootStore()):this.logMissingRowModel("setCacheBlockSize","serverSide")}setDatasource(e){this.gridOptionsService.isRowModelType("infinite")?this.rowModel.setDatasource(e):this.logMissingRowModel("setDatasource","infinite")}setViewportDatasource(e){this.gridOptionsService.isRowModelType("viewport")?this.rowModel.setViewportDatasource(e):this.logMissingRowModel("setViewportDatasource","viewport")}setRowData(e){null==this.immutableService?this.logMissingRowModel("setRowData","clientSide"):this.immutableService.isActive()?this.immutableService.setRowData(e):(this.selectionService.reset(),this.clientSideRowModel.setRowData(e))}setPinnedTopRowData(e){this.pinnedRowModel.setPinnedTopRowData(e)}setPinnedBottomRowData(e){this.pinnedRowModel.setPinnedBottomRowData(e)}getPinnedTopRowCount(){return this.pinnedRowModel.getPinnedTopRowCount()}getPinnedBottomRowCount(){return this.pinnedRowModel.getPinnedBottomRowCount()}getPinnedTopRow(e){return this.pinnedRowModel.getPinnedTopRow(e)}getPinnedBottomRow(e){return this.pinnedRowModel.getPinnedBottomRow(e)}setColumnDefs(e,t="api"){this.columnModel.setColumnDefs(e,t),this.gridOptionsService.set("columnDefs",e,!0,{source:t})}setAutoGroupColumnDef(e,t="api"){this.gridOptionsService.set("autoGroupColumnDef",e,!0,{source:t})}setDefaultColDef(e,t="api"){this.gridOptionsService.set("defaultColDef",e,!0,{source:t})}setColumnTypes(e,t="api"){this.gridOptionsService.set("columnTypes",e,!0,{source:t})}expireValueCache(){this.valueCache.expire()}getVerticalPixelRange(){return this.gridBodyCtrl.getScrollFeature().getVScrollPosition()}getHorizontalPixelRange(){return this.gridBodyCtrl.getScrollFeature().getHScrollPosition()}setAlwaysShowHorizontalScroll(e){this.gridOptionsService.set("alwaysShowHorizontalScroll",e)}setAlwaysShowVerticalScroll(e){this.gridOptionsService.set("alwaysShowVerticalScroll",e)}refreshCells(e={}){this.rowRenderer.refreshCells(e)}flashCells(e={}){this.rowRenderer.flashCells(e)}redrawRows(e={}){const t=e?e.rowNodes:void 0;this.rowRenderer.redrawRows(t)}setFunctionsReadOnly(e){this.gridOptionsService.set("functionsReadOnly",e)}refreshHeader(){this.ctrlsService.getHeaderRowContainerCtrls().forEach(e=>e.refresh())}isAnyFilterPresent(){return this.filterManager.isAnyFilterPresent()}isColumnFilterPresent(){return this.filterManager.isColumnFilterPresent()||this.filterManager.isAggregateFilterPresent()}isQuickFilterPresent(){return this.filterManager.isQuickFilterPresent()}getModel(){return this.rowModel}setRowNodeExpanded(e,t,r){e&&(r&&e.parent&&-1!==e.parent.level&&this.setRowNodeExpanded(e.parent,t,r),e.setExpanded(t))}onGroupExpandedOrCollapsed(){E(this.clientSideRowModel)?this.logMissingRowModel("onGroupExpandedOrCollapsed","clientSide"):this.clientSideRowModel.refreshModel({step:Xn.MAP})}refreshClientSideRowModel(e){E(this.clientSideRowModel)?this.logMissingRowModel("refreshClientSideRowModel","clientSide"):this.clientSideRowModel.refreshModel(e)}isAnimationFrameQueueEmpty(){return this.animationFrameService.isQueueEmpty()}flushAllAnimationFrames(){this.animationFrameService.flushAllFrames()}getRowNode(e){return this.rowModel.getRowNode(e)}getSizesForCurrentTheme(){return{rowHeight:this.gridOptionsService.getRowHeightAsNumber(),headerHeight:this.columnModel.getHeaderHeight()}}expandAll(){this.clientSideRowModel?this.clientSideRowModel.expandOrCollapseAll(!0):this.serverSideRowModel?this.serverSideRowModel.expandAll(!0):this.logMissingRowModel("expandAll","clientSide","serverSide")}collapseAll(){this.clientSideRowModel?this.clientSideRowModel.expandOrCollapseAll(!1):this.serverSideRowModel?this.serverSideRowModel.expandAll(!1):this.logMissingRowModel("expandAll","clientSide","serverSide")}addRenderedRowListener(e,t,r){this.rowRenderer.addRenderedRowListener(e,t,r)}getQuickFilter(){return this.gridOptionsService.get("quickFilterText")}setQuickFilter(e){this.gridOptionsService.set("quickFilterText",e)}setExcludeHiddenColumnsFromQuickFilter(e){Ft("30","setExcludeHiddenColumnsFromQuickFilter",void 0,"Hidden columns are now excluded from the Quick Filter by default. This can be toggled using `setIncludeHiddenColumnsInQuickFilter`"),this.setIncludeHiddenColumnsInQuickFilter(!e)}setIncludeHiddenColumnsInQuickFilter(e){this.gridOptionsService.set("includeHiddenColumnsInQuickFilter",e)}setNodesSelected(e){if(!e.nodes.every(e=>e.rowPinned?(console.warn("AG Grid: cannot select pinned rows"),!1):void 0!==e.id||(console.warn("AG Grid: cannot select node until id for node is known"),!1)))return;const{nodes:t,source:r,newValue:i}=e,o=t;this.selectionService.setNodesSelected({nodes:o,source:null!=r?r:"api",newValue:i})}selectAll(e="apiSelectAll"){this.selectionService.selectAllRowNodes({source:e})}deselectAll(e="apiSelectAll"){this.selectionService.deselectAllRowNodes({source:e})}selectAllFiltered(e="apiSelectAllFiltered"){this.selectionService.selectAllRowNodes({source:e,justFiltered:!0})}deselectAllFiltered(e="apiSelectAllFiltered"){this.selectionService.deselectAllRowNodes({source:e,justFiltered:!0})}getServerSideSelectionState(){return E(this.serverSideRowModel)?(this.logMissingRowModel("getServerSideSelectionState","serverSide"),null):this.selectionService.getServerSideSelectionState()}setServerSideSelectionState(e){E(this.serverSideRowModel)?this.logMissingRowModel("setServerSideSelectionState","serverSide"):this.selectionService.setServerSideSelectionState(e)}selectAllOnCurrentPage(e="apiSelectAllCurrentPage"){this.selectionService.selectAllRowNodes({source:e,justCurrentPage:!0})}deselectAllOnCurrentPage(e="apiSelectAllCurrentPage"){this.selectionService.deselectAllRowNodes({source:e,justCurrentPage:!0})}sizeColumnsToFit(e){this.gridBodyCtrl.sizeColumnsToFit(e)}showLoadingOverlay(){this.overlayWrapperComp.showLoadingOverlay()}showNoRowsOverlay(){this.overlayWrapperComp.showNoRowsOverlay()}hideOverlay(){this.overlayWrapperComp.hideOverlay()}getSelectedNodes(){return this.selectionService.getSelectedNodes()}getSelectedRows(){return this.selectionService.getSelectedRows()}getBestCostNodeSelection(){if(!E(this.clientSideRowModel))return this.selectionService.getBestCostNodeSelection();this.logMissingRowModel("getBestCostNodeSelection","clientSide")}getRenderedNodes(){return this.rowRenderer.getRenderedNodes()}ensureColumnVisible(e,t="auto"){this.gridBodyCtrl.getScrollFeature().ensureColumnVisible(e,t)}ensureIndexVisible(e,t){this.gridBodyCtrl.getScrollFeature().ensureIndexVisible(e,t)}ensureNodeVisible(e,t=null){this.gridBodyCtrl.getScrollFeature().ensureNodeVisible(e,t)}forEachLeafNode(e){E(this.clientSideRowModel)?this.logMissingRowModel("forEachLeafNode","clientSide"):this.clientSideRowModel.forEachLeafNode(e)}forEachNode(e,t){this.rowModel.forEachNode(e,t)}forEachNodeAfterFilter(e){E(this.clientSideRowModel)?this.logMissingRowModel("forEachNodeAfterFilter","clientSide"):this.clientSideRowModel.forEachNodeAfterFilter(e)}forEachNodeAfterFilterAndSort(e){E(this.clientSideRowModel)?this.logMissingRowModel("forEachNodeAfterFilterAndSort","clientSide"):this.clientSideRowModel.forEachNodeAfterFilterAndSort(e)}getFilterInstance(e,t){const r=this.getFilterInstanceImpl(e,e=>{if(!t)return;const r=Jn(e);t(r)});return Jn(r)}getFilterInstanceImpl(e,t){const r=this.columnModel.getPrimaryColumn(e);if(!r)return;const i=this.filterManager.getFilterComponent(r,"NO_UI"),o=i&&i.resolveNow(null,e=>e);return o?setTimeout(t,0,o):i&&i.then(e=>{t(e)}),o}destroyFilter(e){const t=this.columnModel.getPrimaryColumn(e);if(t)return this.filterManager.destroyFilter(t,"api")}getStatusPanel(e){if(!pe.__assertRegistered(ue.StatusBarModule,"api.getStatusPanel",this.context.getGridId()))return;return Jn(this.statusBarService.getStatusPanel(e))}getColumnDef(e){const t=this.columnModel.getPrimaryColumn(e);return t?t.getColDef():null}getColumnDefs(){return this.columnModel.getColumnDefs()}onFilterChanged(){this.filterManager.onFilterChanged()}onSortChanged(){this.sortController.onSortChanged("api")}setFilterModel(e){this.filterManager.setFilterModel(e)}getFilterModel(){return this.filterManager.getFilterModel()}getFocusedCell(){return this.focusService.getFocusedCell()}clearFocusedCell(){return this.focusService.clearFocusedCell()}setFocusedCell(e,t,r){this.focusService.setFocusedCell({rowIndex:e,column:t,rowPinned:r,forceBrowserFocus:!0})}setSuppressRowDrag(e){this.gridOptionsService.set("suppressRowDrag",e)}setSuppressMoveWhenRowDragging(e){this.gridOptionsService.set("suppressMoveWhenRowDragging",e)}setSuppressRowClickSelection(e){this.gridOptionsService.set("suppressRowClickSelection",e)}addRowDropZone(e){this.gridBodyCtrl.getRowDragFeature().addRowDropZone(e)}removeRowDropZone(e){const t=this.dragAndDropService.findExternalZone(e);t&&this.dragAndDropService.removeDropTarget(t)}getRowDropZoneParams(e){return this.gridBodyCtrl.getRowDragFeature().getRowDropZone(e)}setHeaderHeight(e){this.gridOptionsService.set("headerHeight",e)}setDomLayout(e){this.gridOptionsService.set("domLayout",e)}setEnableCellTextSelection(e){this.gridBodyCtrl.setCellTextSelection(e)}setFillHandleDirection(e){this.gridOptionsService.set("fillHandleDirection",e)}setGroupHeaderHeight(e){this.gridOptionsService.set("groupHeaderHeight",e)}setFloatingFiltersHeight(e){this.gridOptionsService.set("floatingFiltersHeight",e)}setPivotHeaderHeight(e){this.gridOptionsService.set("pivotHeaderHeight",e)}setPivotGroupHeaderHeight(e){this.gridOptionsService.set("pivotGroupHeaderHeight",e)}setPivotMode(e){this.columnModel.setPivotMode(e)}setAnimateRows(e){this.gridOptionsService.set("animateRows",e)}setIsExternalFilterPresent(e){this.gridOptionsService.set("isExternalFilterPresent",e)}setDoesExternalFilterPass(e){this.gridOptionsService.set("doesExternalFilterPass",e)}setNavigateToNextCell(e){this.gridOptionsService.set("navigateToNextCell",e)}setTabToNextCell(e){this.gridOptionsService.set("tabToNextCell",e)}setTabToNextHeader(e){this.gridOptionsService.set("tabToNextHeader",e)}setNavigateToNextHeader(e){this.gridOptionsService.set("navigateToNextHeader",e)}setRowGroupPanelShow(e){this.gridOptionsService.set("rowGroupPanelShow",e)}setGetGroupRowAgg(e){this.gridOptionsService.set("getGroupRowAgg",e)}setGetBusinessKeyForNode(e){this.gridOptionsService.set("getBusinessKeyForNode",e)}setGetChildCount(e){this.gridOptionsService.set("getChildCount",e)}setProcessRowPostCreate(e){this.gridOptionsService.set("processRowPostCreate",e)}setGetRowId(e){this.gridOptionsService.set("getRowId",e)}setGetRowClass(e){this.gridOptionsService.set("getRowClass",e)}setIsFullWidthRow(e){this.gridOptionsService.set("isFullWidthRow",e)}setIsRowSelectable(e){this.gridOptionsService.set("isRowSelectable",e)}setIsRowMaster(e){this.gridOptionsService.set("isRowMaster",e)}setPostSortRows(e){this.gridOptionsService.set("postSortRows",e)}setGetDocument(e){this.gridOptionsService.set("getDocument",e)}setGetContextMenuItems(e){this.gridOptionsService.set("getContextMenuItems",e)}setGetMainMenuItems(e){this.gridOptionsService.set("getMainMenuItems",e)}setProcessCellForClipboard(e){this.gridOptionsService.set("processCellForClipboard",e)}setSendToClipboard(e){this.gridOptionsService.set("sendToClipboard",e)}setProcessCellFromClipboard(e){this.gridOptionsService.set("processCellFromClipboard",e)}setProcessSecondaryColDef(e){Ft("28.0","setProcessSecondaryColDef","setProcessPivotResultColDef"),this.setProcessPivotResultColDef(e)}setProcessSecondaryColGroupDef(e){Ft("28.0","setProcessSecondaryColGroupDef","setProcessPivotResultColGroupDef"),this.setProcessPivotResultColGroupDef(e)}setProcessPivotResultColDef(e){this.gridOptionsService.set("processPivotResultColDef",e)}setProcessPivotResultColGroupDef(e){this.gridOptionsService.set("processPivotResultColGroupDef",e)}setPostProcessPopup(e){this.gridOptionsService.set("postProcessPopup",e)}setInitialGroupOrderComparator(e){this.gridOptionsService.set("initialGroupOrderComparator",e)}setGetChartToolbarItems(e){this.gridOptionsService.set("getChartToolbarItems",e)}setPaginationNumberFormatter(e){this.gridOptionsService.set("paginationNumberFormatter",e)}setGetServerSideStoreParams(e){Ft("28.0","setGetServerSideStoreParams","setGetServerSideGroupLevelParams"),this.setGetServerSideGroupLevelParams(e)}setGetServerSideGroupLevelParams(e){this.gridOptionsService.set("getServerSideGroupLevelParams",e)}setIsServerSideGroupOpenByDefault(e){this.gridOptionsService.set("isServerSideGroupOpenByDefault",e)}setIsApplyServerSideTransaction(e){this.gridOptionsService.set("isApplyServerSideTransaction",e)}setIsServerSideGroup(e){this.gridOptionsService.set("isServerSideGroup",e)}setGetServerSideGroupKey(e){this.gridOptionsService.set("getServerSideGroupKey",e)}setGetRowStyle(e){this.gridOptionsService.set("getRowStyle",e)}setGetRowHeight(e){this.gridOptionsService.set("getRowHeight",e)}assertSideBarLoaded(e){return pe.__assertRegistered(ue.SideBarModule,"api."+e,this.context.getGridId())}isSideBarVisible(){return this.assertSideBarLoaded("isSideBarVisible")&&this.sideBarComp.isDisplayed()}setSideBarVisible(e){this.assertSideBarLoaded("setSideBarVisible")&&this.sideBarComp.setDisplayed(e)}setSideBarPosition(e){this.assertSideBarLoaded("setSideBarPosition")&&this.sideBarComp.setSideBarPosition(e)}openToolPanel(e){this.assertSideBarLoaded("openToolPanel")&&this.sideBarComp.openToolPanel(e,"api")}closeToolPanel(){this.assertSideBarLoaded("closeToolPanel")&&this.sideBarComp.close("api")}getOpenedToolPanel(){return this.assertSideBarLoaded("getOpenedToolPanel")?this.sideBarComp.openedItem():null}refreshToolPanel(){this.assertSideBarLoaded("refreshToolPanel")&&this.sideBarComp.refresh()}isToolPanelShowing(){return this.assertSideBarLoaded("isToolPanelShowing")&&this.sideBarComp.isToolPanelShowing()}getToolPanelInstance(e){if(this.assertSideBarLoaded("getToolPanelInstance")){return Jn(this.sideBarComp.getToolPanelInstance(e))}}getSideBar(){if(this.assertSideBarLoaded("getSideBar"))return this.sideBarComp.getDef()}setSideBar(e){this.gridOptionsService.set("sideBar",e)}setSuppressClipboardPaste(e){this.gridOptionsService.set("suppressClipboardPaste",e)}resetRowHeights(){if(S(this.clientSideRowModel)){if(this.columnModel.isAutoRowHeightActive())return void console.warn("AG Grid: calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.");this.clientSideRowModel.resetRowHeights()}}setGroupRemoveSingleChildren(e){this.gridOptionsService.set("groupRemoveSingleChildren",e)}setGroupRemoveLowestSingleChildren(e){this.gridOptionsService.set("groupRemoveLowestSingleChildren",e)}setGroupDisplayType(e){this.gridOptionsService.set("groupDisplayType",e)}setRowClass(e){this.gridOptionsService.set("rowClass",e)}setDeltaSort(e){this.gridOptionsService.set("deltaSort",e)}setRowCount(e,t){if(this.serverSideRowModel)return this.columnModel.isRowGroupEmpty()?void this.serverSideRowModel.setRowCount(e,t):void console.error("AG Grid: setRowCount cannot be used while using row grouping.");this.infiniteRowModel?this.infiniteRowModel.setRowCount(e,t):this.logMissingRowModel("setRowCount","infinite","serverSide")}onRowHeightChanged(){this.clientSideRowModel?this.clientSideRowModel.onRowHeightChanged():this.serverSideRowModel&&this.serverSideRowModel.onRowHeightChanged()}getValue(e,t){let r=this.columnModel.getPrimaryColumn(e);return E(r)&&(r=this.columnModel.getGridColumn(e)),E(r)?null:this.valueService.getValue(r,t)}addEventListener(e,t){const r=this.gridOptionsService.useAsyncEvents();this.eventService.addEventListener(e,t,r)}addGlobalListener(e){const t=this.gridOptionsService.useAsyncEvents();this.eventService.addGlobalListener(e,t)}removeEventListener(e,t){const r=this.gridOptionsService.useAsyncEvents();this.eventService.removeEventListener(e,t,r)}removeGlobalListener(e){const t=this.gridOptionsService.useAsyncEvents();this.eventService.removeGlobalListener(e,t)}dispatchEvent(e){this.eventService.dispatchEvent(e)}destroy(){if(this.destroyCalled)return;this.destroyCalled=!0;const e=this.ctrlsService.getGridCtrl();e&&e.destroyGridUi(),this.context.destroy()}cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid(){setTimeout(Q.bind(window,this,"Grid API"),100)}warnIfDestroyed(e){return this.destroyCalled&&console.warn(`AG Grid: Grid API method ${e} was called on a grid that was destroyed.`),this.destroyCalled}resetQuickFilter(){this.warnIfDestroyed("resetQuickFilter")||this.filterManager.resetQuickFilterCache()}getCellRanges(){return this.rangeService?this.rangeService.getCellRanges():(pe.__assertRegistered(ue.RangeSelectionModule,"api.getCellRanges",this.context.getGridId()),null)}addCellRange(e){this.rangeService?this.rangeService.addCellRange(e):pe.__assertRegistered(ue.RangeSelectionModule,"api.addCellRange",this.context.getGridId())}clearRangeSelection(){this.rangeService&&this.rangeService.removeAllCellRanges(),pe.__assertRegistered(ue.RangeSelectionModule,"gridApi.clearRangeSelection",this.context.getGridId())}undoCellEditing(){this.undoRedoService.undo("api")}redoCellEditing(){this.undoRedoService.redo("api")}getCurrentUndoSize(){return this.undoRedoService.getCurrentUndoStackSize()}getCurrentRedoSize(){return this.undoRedoService.getCurrentRedoStackSize()}getChartModels(){if(pe.__assertRegistered(ue.GridChartsModule,"api.getChartModels",this.context.getGridId()))return this.chartService.getChartModels()}getChartRef(e){if(pe.__assertRegistered(ue.GridChartsModule,"api.getChartRef",this.context.getGridId()))return this.chartService.getChartRef(e)}getChartImageDataURL(e){if(pe.__assertRegistered(ue.GridChartsModule,"api.getChartImageDataURL",this.context.getGridId()))return this.chartService.getChartImageDataURL(e)}downloadChart(e){if(pe.__assertRegistered(ue.GridChartsModule,"api.downloadChart",this.context.getGridId()))return this.chartService.downloadChart(e)}openChartToolPanel(e){if(pe.__assertRegistered(ue.GridChartsModule,"api.openChartToolPanel",this.context.getGridId()))return this.chartService.openChartToolPanel(e)}closeChartToolPanel(e){if(pe.__assertRegistered(ue.GridChartsModule,"api.closeChartToolPanel",this.context.getGridId()))return this.chartService.closeChartToolPanel(e.chartId)}createRangeChart(e){if(pe.__assertRegistered(ue.GridChartsModule,"api.createRangeChart",this.context.getGridId()))return this.chartService.createRangeChart(e)}createPivotChart(e){if(pe.__assertRegistered(ue.GridChartsModule,"api.createPivotChart",this.context.getGridId()))return this.chartService.createPivotChart(e)}createCrossFilterChart(e){if(pe.__assertRegistered(ue.GridChartsModule,"api.createCrossFilterChart",this.context.getGridId()))return this.chartService.createCrossFilterChart(e)}updateChart(e){pe.__assertRegistered(ue.GridChartsModule,"api.updateChart",this.context.getGridId())&&this.chartService.updateChart(e)}restoreChart(e,t){if(pe.__assertRegistered(ue.GridChartsModule,"api.restoreChart",this.context.getGridId()))return this.chartService.restoreChart(e,t)}copyToClipboard(e){pe.__assertRegistered(ue.ClipboardModule,"api.copyToClipboard",this.context.getGridId())&&this.clipboardService.copyToClipboard(e)}cutToClipboard(e){pe.__assertRegistered(ue.ClipboardModule,"api.cutToClipboard",this.context.getGridId())&&this.clipboardService.cutToClipboard(e,"api")}copySelectedRowsToClipboard(e){pe.__assertRegistered(ue.ClipboardModule,"api.copySelectedRowsToClipboard",this.context.getGridId())&&this.clipboardService.copySelectedRowsToClipboard(e)}copySelectedRangeToClipboard(e){pe.__assertRegistered(ue.ClipboardModule,"api.copySelectedRangeToClipboard",this.context.getGridId())&&this.clipboardService.copySelectedRangeToClipboard(e)}copySelectedRangeDown(){pe.__assertRegistered(ue.ClipboardModule,"api.copySelectedRangeDown",this.context.getGridId())&&this.clipboardService.copyRangeDown()}pasteFromClipboard(){pe.__assertRegistered(ue.ClipboardModule,"api.pasteFromClipboard",this.context.getGridId())&&this.clipboardService.pasteFromClipboard()}showColumnMenuAfterButtonClick(e,t){const r=this.columnModel.getGridColumn(e);this.menuFactory.showMenuAfterButtonClick(r,t,"columnMenu")}showColumnMenuAfterMouseClick(e,t){let r=this.columnModel.getGridColumn(e);r||(r=this.columnModel.getPrimaryColumn(e)),r?this.menuFactory.showMenuAfterMouseEvent(r,t):console.error(`AG Grid: column '${e}' not found`)}hidePopupMenu(){this.contextMenuFactory&&this.contextMenuFactory.hideActiveMenu(),this.menuFactory.hideActiveMenu()}setPopupParent(e){this.gridOptionsService.set("popupParent",e)}tabToNextCell(e){return this.navigationService.tabToNextCell(!1,e)}tabToPreviousCell(e){return this.navigationService.tabToNextCell(!0,e)}getCellRendererInstances(e={}){return this.rowRenderer.getCellRendererInstances(e).map(Jn)}getCellEditorInstances(e={}){return this.rowRenderer.getCellEditorInstances(e).map(Jn)}getEditingCells(){return this.rowRenderer.getEditingCells()}stopEditing(e=!1){this.rowRenderer.stopEditing(e)}startEditingCell(e){const t=this.columnModel.getGridColumn(e.colKey);if(!t)return void console.warn("AG Grid: no column found for "+e.colKey);const r={rowIndex:e.rowIndex,rowPinned:e.rowPinned||null,column:t};null==e.rowPinned&&this.gridBodyCtrl.getScrollFeature().ensureIndexVisible(e.rowIndex);const i=this.navigationService.getCellByPosition(r);i&&i.startRowOrCellEdit(e.key)}addAggFunc(e,t){this.aggFuncService&&this.aggFuncService.addAggFunc(e,t)}addAggFuncs(e){this.aggFuncService&&this.aggFuncService.addAggFuncs(e)}clearAggFuncs(){this.aggFuncService&&this.aggFuncService.clear()}applyServerSideTransaction(e){if(this.serverSideTransactionManager)return this.serverSideTransactionManager.applyTransaction(e);this.logMissingRowModel("applyServerSideTransaction","serverSide")}applyServerSideTransactionAsync(e,t){if(this.serverSideTransactionManager)return this.serverSideTransactionManager.applyTransactionAsync(e,t);this.logMissingRowModel("applyServerSideTransactionAsync","serverSide")}retryServerSideLoads(){this.serverSideRowModel?this.serverSideRowModel.retryLoads():this.logMissingRowModel("retryServerSideLoads","serverSide")}flushServerSideAsyncTransactions(){if(this.serverSideTransactionManager)return this.serverSideTransactionManager.flushAsyncTransactions();this.logMissingRowModel("flushServerSideAsyncTransactions","serverSide")}applyTransaction(e){if(this.clientSideRowModel)return this.clientSideRowModel.updateRowData(e);this.logMissingRowModel("applyTransaction","clientSide")}applyTransactionAsync(e,t){this.clientSideRowModel?this.clientSideRowModel.batchUpdateRowData(e,t):this.logMissingRowModel("applyTransactionAsync","clientSide")}flushAsyncTransactions(){this.clientSideRowModel?this.clientSideRowModel.flushAsyncTransactions():this.logMissingRowModel("flushAsyncTransactions","clientSide")}setSuppressModelUpdateAfterUpdateTransaction(e){this.gridOptionsService.set("suppressModelUpdateAfterUpdateTransaction",e)}refreshInfiniteCache(){this.infiniteRowModel?this.infiniteRowModel.refreshCache():this.logMissingRowModel("refreshInfiniteCache","infinite")}purgeInfiniteCache(){this.infiniteRowModel?this.infiniteRowModel.purgeCache():this.logMissingRowModel("purgeInfiniteCache","infinite")}refreshServerSide(e){this.serverSideRowModel?this.serverSideRowModel.refreshStore(e):this.logMissingRowModel("refreshServerSide","serverSide")}refreshServerSideStore(e){return Ft("28.0","refreshServerSideStore","refreshServerSide"),this.refreshServerSide(e)}getServerSideStoreState(){return Ft("28.0","getServerSideStoreState","getServerSideGroupLevelState"),this.getServerSideGroupLevelState()}getServerSideGroupLevelState(){return this.serverSideRowModel?this.serverSideRowModel.getStoreState():(this.logMissingRowModel("getServerSideGroupLevelState","serverSide"),[])}getInfiniteRowCount(){if(this.infiniteRowModel)return this.infiniteRowModel.getRowCount();this.logMissingRowModel("getInfiniteRowCount","infinite")}isLastRowIndexKnown(){if(this.infiniteRowModel)return this.infiniteRowModel.isLastRowIndexKnown();this.logMissingRowModel("isLastRowIndexKnown","infinite")}getCacheBlockState(){return this.rowNodeBlockLoader.getBlockState()}getFirstDisplayedRow(){return this.rowRenderer.getFirstVirtualRenderedRow()}getLastDisplayedRow(){return this.rowRenderer.getLastVirtualRenderedRow()}getDisplayedRowAtIndex(e){return this.rowModel.getRow(e)}getDisplayedRowCount(){return this.rowModel.getRowCount()}setDataTypeDefinitions(e){this.gridOptionsService.set("dataTypeDefinitions",e)}setPagination(e){this.gridOptionsService.set("pagination",e)}paginationIsLastPageFound(){return this.paginationProxy.isLastPageFound()}paginationGetPageSize(){return this.paginationProxy.getPageSize()}paginationSetPageSize(e){this.gridOptionsService.set("paginationPageSize",e)}paginationGetCurrentPage(){return this.paginationProxy.getCurrentPage()}paginationGetTotalPages(){return this.paginationProxy.getTotalPages()}paginationGetRowCount(){return this.paginationProxy.getMasterRowCount()}paginationGoToNextPage(){this.paginationProxy.goToNextPage()}paginationGoToPreviousPage(){this.paginationProxy.goToPreviousPage()}paginationGoToFirstPage(){this.paginationProxy.goToFirstPage()}paginationGoToLastPage(){this.paginationProxy.goToLastPage()}paginationGoToPage(e){this.paginationProxy.goToPage(e)}};Zn([be("immutableService")],$n.prototype,"immutableService",void 0),Zn([be("csvCreator")],$n.prototype,"csvCreator",void 0),Zn([be("excelCreator")],$n.prototype,"excelCreator",void 0),Zn([Ce("rowRenderer")],$n.prototype,"rowRenderer",void 0),Zn([Ce("navigationService")],$n.prototype,"navigationService",void 0),Zn([Ce("filterManager")],$n.prototype,"filterManager",void 0),Zn([Ce("columnModel")],$n.prototype,"columnModel",void 0),Zn([Ce("selectionService")],$n.prototype,"selectionService",void 0),Zn([Ce("gridOptionsService")],$n.prototype,"gridOptionsService",void 0),Zn([Ce("valueService")],$n.prototype,"valueService",void 0),Zn([Ce("alignedGridsService")],$n.prototype,"alignedGridsService",void 0),Zn([Ce("eventService")],$n.prototype,"eventService",void 0),Zn([Ce("pinnedRowModel")],$n.prototype,"pinnedRowModel",void 0),Zn([Ce("context")],$n.prototype,"context",void 0),Zn([Ce("rowModel")],$n.prototype,"rowModel",void 0),Zn([Ce("sortController")],$n.prototype,"sortController",void 0),Zn([Ce("paginationProxy")],$n.prototype,"paginationProxy",void 0),Zn([Ce("focusService")],$n.prototype,"focusService",void 0),Zn([Ce("dragAndDropService")],$n.prototype,"dragAndDropService",void 0),Zn([be("rangeService")],$n.prototype,"rangeService",void 0),Zn([be("clipboardService")],$n.prototype,"clipboardService",void 0),Zn([be("aggFuncService")],$n.prototype,"aggFuncService",void 0),Zn([Ce("menuFactory")],$n.prototype,"menuFactory",void 0),Zn([be("contextMenuFactory")],$n.prototype,"contextMenuFactory",void 0),Zn([Ce("valueCache")],$n.prototype,"valueCache",void 0),Zn([Ce("animationFrameService")],$n.prototype,"animationFrameService",void 0),Zn([be("statusBarService")],$n.prototype,"statusBarService",void 0),Zn([be("chartService")],$n.prototype,"chartService",void 0),Zn([be("undoRedoService")],$n.prototype,"undoRedoService",void 0),Zn([be("rowNodeBlockLoader")],$n.prototype,"rowNodeBlockLoader",void 0),Zn([be("ssrmTransactionManager")],$n.prototype,"serverSideTransactionManager",void 0),Zn([Ce("ctrlsService")],$n.prototype,"ctrlsService",void 0),Zn([fe],$n.prototype,"init",null),Zn([me],$n.prototype,"cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid",null),$n=Zn([we("gridApi")],$n);var es,ts=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let rs=es=class extends lt{constructor(){super(...arguments),this.allColumnFilters=new Map,this.allColumnListeners=new Map,this.activeAggregateFilters=[],this.activeColumnFilters=[],this.quickFilter=null,this.quickFilterParts=null,this.processingFilterChange=!1}init(){this.addManagedListener(this.eventService,ht.EVENT_GRID_COLUMNS_CHANGED,()=>this.onColumnsChanged()),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_VALUE_CHANGED,()=>this.refreshFiltersForAggregations()),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_PIVOT_CHANGED,()=>this.refreshFiltersForAggregations()),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_PIVOT_MODE_CHANGED,()=>{this.refreshFiltersForAggregations(),this.resetQuickFilterCache()}),this.addManagedListener(this.eventService,ht.EVENT_NEW_COLUMNS_LOADED,()=>this.resetQuickFilterCache()),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_ROW_GROUP_CHANGED,()=>this.resetQuickFilterCache()),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_VISIBLE,()=>{this.gridOptionsService.is("includeHiddenColumnsInQuickFilter")||this.resetQuickFilterCache()}),this.addManagedPropertyListener("quickFilterText",e=>this.setQuickFilter(e.currentValue)),this.addManagedPropertyListener("includeHiddenColumnsInQuickFilter",()=>this.onIncludeHiddenColumnsInQuickFilterChanged()),this.quickFilter=this.parseQuickFilter(this.gridOptionsService.get("quickFilterText")),this.setQuickFilterParts(),this.allowShowChangeAfterFilter=this.gridOptionsService.is("allowShowChangeAfterFilter"),this.externalFilterPresent=this.isExternalFilterPresentCallback(),this.updateAggFiltering(),this.addManagedPropertyListener("groupAggFiltering",()=>this.updateAggFiltering())}isExternalFilterPresentCallback(){const e=this.gridOptionsService.getCallback("isExternalFilterPresent");return"function"==typeof e&&e({})}doesExternalFilterPass(e){const t=this.gridOptionsService.get("doesExternalFilterPass");return"function"==typeof t&&t(e)}setQuickFilterParts(){this.quickFilterParts=this.quickFilter?this.quickFilter.split(" "):null}setFilterModel(e){const t=[],r=this.getFilterModel();if(e){const r=po(Object.keys(e));this.allColumnFilters.forEach((i,o)=>{const a=e[o];t.push(this.setModelOnFilterWrapper(i.filterPromise,a)),r.delete(o)}),r.forEach(r=>{const i=this.columnModel.getPrimaryColumn(r)||this.columnModel.getGridColumn(r);if(!i)return void console.warn("AG Grid: setFilterModel() - no column found for colId: "+r);if(!i.isFilterAllowed())return void console.warn("AG Grid: setFilterModel() - unable to fully apply model, filtering disabled for colId: "+r);const o=this.getOrCreateFilterWrapper(i,"NO_UI");o?t.push(this.setModelOnFilterWrapper(o.filterPromise,e[r])):console.warn("AG-Grid: setFilterModel() - unable to fully apply model, unable to create filter for colId: "+r)})}else this.allColumnFilters.forEach(e=>{t.push(this.setModelOnFilterWrapper(e.filterPromise,null))});mo.all(t).then(()=>{const e=this.getFilterModel(),t=[];this.allColumnFilters.forEach((i,o)=>{const a=r?r[o]:null,n=e?e[o]:null;ho.jsonEquals(a,n)||t.push(i.column)}),t.length>0&&this.onFilterChanged({columns:t})})}setModelOnFilterWrapper(e,t){return new mo(r=>{e.then(e=>{"function"!=typeof e.setModel&&(console.warn("AG Grid: filter missing setModel method, which is needed for setFilterModel"),r()),(e.setModel(t)||mo.resolve()).then(()=>r())})})}getFilterModel(){const e={};return this.allColumnFilters.forEach((t,r)=>{const i=t.filterPromise.resolveNow(null,e=>e);if(null==i)return null;if("function"!=typeof i.getModel)return void console.warn("AG Grid: filter API missing getModel method, which is needed for getFilterModel");const o=i.getModel();S(o)&&(e[r]=o)}),e}isColumnFilterPresent(){return this.activeColumnFilters.length>0}isAggregateFilterPresent(){return!!this.activeAggregateFilters.length}isExternalFilterPresent(){return this.externalFilterPresent}doAggregateFiltersPass(e,t){return this.doColumnFiltersPass(e,t,!0)}updateActiveFilters(){this.activeColumnFilters.length=0,this.activeAggregateFilters.length=0;const e=e=>!!e&&(e.isFilterActive?e.isFilterActive():(console.warn("AG Grid: Filter is missing isFilterActive() method"),!1)),t=!!this.gridOptionsService.getGroupAggFiltering(),r=e=>{if(!e.isPrimary())return!0;const r=!this.columnModel.isPivotActive();return!(!e.isValueActive()||!r)&&(!!this.columnModel.isPivotMode()||t)};this.allColumnFilters.forEach(t=>{if(t.filterPromise.resolveNow(!1,e)){const e=t.filterPromise.resolveNow(null,e=>e);r(t.column)?this.activeAggregateFilters.push(e):this.activeColumnFilters.push(e)}})}updateFilterFlagInColumns(e,t){this.allColumnFilters.forEach(r=>{const i=r.filterPromise.resolveNow(!1,e=>e.isFilterActive());r.column.setFilterActive(i,e,t)})}isAnyFilterPresent(){return this.isQuickFilterPresent()||this.isColumnFilterPresent()||this.isAggregateFilterPresent()||this.isExternalFilterPresent()}doColumnFiltersPass(e,t,r){const{data:i,aggData:o}=e,a=r?this.activeAggregateFilters:this.activeColumnFilters,n=r?o:i;for(let r=0;r<a.length;r++){const i=a[r];if(null!=i&&i!==t){if("function"!=typeof i.doesFilterPass)throw new Error("Filter is missing method doesFilterPass");if(!i.doesFilterPass({node:e,data:n}))return!1}}return!0}parseQuickFilter(e){return S(e)?this.gridOptionsService.isRowModelType("clientSide")?e.toUpperCase():(console.warn("AG Grid - Quick filtering only works with the Client-Side Row Model"),null):null}setQuickFilter(e){if(null!=e&&"string"!=typeof e)return void console.warn("AG Grid - setQuickFilter() only supports string inputs, received: "+typeof e);const t=this.parseQuickFilter(e);this.quickFilter!==t&&(this.quickFilter=t,this.setQuickFilterParts(),this.onFilterChanged())}resetQuickFilterCache(){this.rowModel.forEachNode(e=>e.quickFilterAggregateText=null)}onIncludeHiddenColumnsInQuickFilterChanged(){this.columnModel.refreshQuickFilterColumns(),this.resetQuickFilterCache(),this.isQuickFilterPresent()&&this.onFilterChanged()}refreshFiltersForAggregations(){this.gridOptionsService.getGroupAggFiltering()&&this.onFilterChanged()}callOnFilterChangedOutsideRenderCycle(e={}){const t=()=>this.onFilterChanged(e);this.rowRenderer.isRefreshInProgress()?setTimeout(t,0):t()}onFilterChanged(e={}){const{filterInstance:t,additionalEventAttributes:r,columns:i}=e;this.updateDependantFilters(),this.updateActiveFilters(),this.updateFilterFlagInColumns("filterChanged",r),this.externalFilterPresent=this.isExternalFilterPresentCallback(),this.allColumnFilters.forEach(e=>{e.filterPromise&&e.filterPromise.then(e=>{e&&e!==t&&e.onAnyFilterChanged&&e.onAnyFilterChanged()})});const o={type:ht.EVENT_FILTER_CHANGED,columns:i||[]};r&&W(o,r),this.processingFilterChange=!0,this.eventService.dispatchEvent(o),this.processingFilterChange=!1}isSuppressFlashingCellsBecauseFiltering(){return!this.allowShowChangeAfterFilter&&this.processingFilterChange}isQuickFilterPresent(){return null!==this.quickFilter}updateAggFiltering(){this.aggFiltering=!!this.gridOptionsService.getGroupAggFiltering()}isAggregateQuickFilterPresent(){return this.isQuickFilterPresent()&&(this.aggFiltering||this.columnModel.isPivotMode())}isNonAggregateQuickFilterPresent(){return this.isQuickFilterPresent()&&!(this.aggFiltering||this.columnModel.isPivotMode())}doesRowPassOtherFilters(e,t){return this.doesRowPassFilter({rowNode:t,filterInstanceToSkip:e})}doesRowPassQuickFilterNoCache(e,t){return this.columnModel.getAllColumnsForQuickFilter().some(r=>{const i=this.getQuickFilterTextForColumn(r,e);return S(i)&&i.indexOf(t)>=0})}doesRowPassQuickFilterCache(e,t){return e.quickFilterAggregateText||this.aggregateRowForQuickFilter(e),e.quickFilterAggregateText.indexOf(t)>=0}doesRowPassQuickFilter(e){const t=this.gridOptionsService.is("cacheQuickFilter");return this.quickFilterParts.every(r=>t?this.doesRowPassQuickFilterCache(e,r):this.doesRowPassQuickFilterNoCache(e,r))}doesRowPassAggregateFilters(e){return!(this.isAggregateQuickFilterPresent()&&!this.doesRowPassQuickFilter(e.rowNode))&&!(this.isAggregateFilterPresent()&&!this.doAggregateFiltersPass(e.rowNode,e.filterInstanceToSkip))}doesRowPassFilter(e){return!(this.isNonAggregateQuickFilterPresent()&&!this.doesRowPassQuickFilter(e.rowNode))&&(!(this.isExternalFilterPresent()&&!this.doesExternalFilterPass(e.rowNode))&&!(this.isColumnFilterPresent()&&!this.doColumnFiltersPass(e.rowNode,e.filterInstanceToSkip)))}getQuickFilterTextForColumn(e,t){let r=this.valueService.getValue(e,t,!0);const i=e.getColDef();if(i.getQuickFilterText){const o={value:r,node:t,data:t.data,column:e,colDef:i,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context};r=i.getQuickFilterText(o)}return S(r)?r.toString().toUpperCase():null}aggregateRowForQuickFilter(e){const t=[];this.columnModel.getAllColumnsForQuickFilter().forEach(r=>{const i=this.getQuickFilterTextForColumn(r,e);S(i)&&t.push(i)}),e.quickFilterAggregateText=t.join(es.QUICK_FILTER_SEPARATOR)}onNewRowsLoaded(e){this.allColumnFilters.forEach(e=>{e.filterPromise.then(e=>{e.onNewRowsLoaded&&e.onNewRowsLoaded()})}),this.updateFilterFlagInColumns(e,{afterDataChange:!0}),this.updateActiveFilters()}createValueGetter(e){return({node:t})=>this.valueService.getValue(e,t,!0)}getFilterComponent(e,t,r=!0){var i;if(r)return(null===(i=this.getOrCreateFilterWrapper(e,t))||void 0===i?void 0:i.filterPromise)||null;const o=this.cachedFilter(e);return o?o.filterPromise:null}isFilterActive(e){const t=this.cachedFilter(e);return!!t&&t.filterPromise.resolveNow(!1,e=>e.isFilterActive())}getOrCreateFilterWrapper(e,t){if(!e.isFilterAllowed())return null;let r=this.cachedFilter(e);if(r)"NO_UI"!==t&&this.putIntoGui(r,t);else{r=this.createFilterWrapper(e,t);const i=e.getColId();this.allColumnFilters.set(i,r),this.allColumnListeners.set(i,this.addManagedListener(e,Me.EVENT_COL_DEF_CHANGED,()=>this.checkDestroyFilter(i)))}return r}cachedFilter(e){return this.allColumnFilters.get(e.getColId())}getDefaultFilter(e){let t;if(pe.__isRegistered(ue.SetFilterModule,this.context.getGridId()))t="agSetColumnFilter";else{const r=e.getColDef().cellDataType;t="number"===r?"agNumberColumnFilter":"date"===r||"dateString"===r?"agDateColumnFilter":"agTextColumnFilter"}return t}getDefaultFloatingFilter(e){let t;if(pe.__isRegistered(ue.SetFilterModule,this.context.getGridId()))t="agSetColumnFloatingFilter";else{const r=e.getColDef().cellDataType;t="number"===r?"agNumberColumnFloatingFilter":"date"===r||"dateString"===r?"agDateColumnFloatingFilter":"agTextColumnFloatingFilter"}return t}createFilterInstance(e){const t=this.getDefaultFilter(e),r=e.getColDef();let i;const o=Object.assign(Object.assign({},this.createFilterParams(e,r)),{filterModifiedCallback:()=>{const t={type:ht.EVENT_FILTER_MODIFIED,column:e,filterInstance:i};this.eventService.dispatchEvent(t)},filterChangedCallback:t=>{const r={filterInstance:i,additionalEventAttributes:t,columns:[e]};this.callOnFilterChangedOutsideRenderCycle(r)},doesRowPassOtherFilter:e=>this.doesRowPassOtherFilters(i,e)}),a=this.userComponentFactory.getFilterDetails(r,o,t);return a?{filterPromise:()=>{const e=a.newAgStackInstance();return e&&e.then(e=>i=e),e},compDetails:a}:{filterPromise:null,compDetails:null}}createFilterParams(e,t){return{column:e,colDef:z(t),rowModel:this.rowModel,filterChangedCallback:()=>{},filterModifiedCallback:()=>{},valueGetter:this.createValueGetter(e),doesRowPassOtherFilter:()=>!0,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context}}createFilterWrapper(e,t){var r;const i={column:e,filterPromise:null,compiledElement:null,guiPromise:mo.resolve(null),compDetails:null},{filterPromise:o,compDetails:a}=this.createFilterInstance(e);return i.filterPromise=null!==(r=null==o?void 0:o())&&void 0!==r?r:null,i.compDetails=a,o&&this.putIntoGui(i,t),i}putIntoGui(e,t){const r=document.createElement("div");r.className="ag-filter",e.guiPromise=new mo(i=>{e.filterPromise.then(o=>{let a=o.getGui();S(a)||console.warn(`AG Grid: getGui method from filter returned ${a}, it should be a DOM element or an HTML template string.`),"string"==typeof a&&(a=Ni(a)),r.appendChild(a),i(r);const n={type:ht.EVENT_FILTER_OPENED,column:e.column,source:t,eGui:r};this.eventService.dispatchEvent(n)})})}onColumnsChanged(){const e=[];this.allColumnFilters.forEach((t,r)=>{let i;i=t.column.isPrimary()?this.columnModel.getPrimaryColumn(r):this.columnModel.getGridColumn(r),i||(e.push(t.column),this.disposeFilterWrapper(t,"columnChanged"),this.disposeColumnListener(r))}),e.length>0?this.onFilterChanged({columns:e}):this.updateDependantFilters()}updateDependantFilters(){const e=this.columnModel.getGroupAutoColumns();null==e||e.forEach(e=>{"agGroupColumnFilter"===e.getColDef().filter&&this.getOrCreateFilterWrapper(e,"NO_UI")})}isFilterAllowed(e){var t,r;if(!e.isFilterAllowed())return!1;const i=this.allColumnFilters.get(e.getColId());return null===(r=null===(t=null==i?void 0:i.filterPromise)||void 0===t?void 0:t.resolveNow(!0,e=>{var t,r;return"function"!=typeof(null===(t=e)||void 0===t?void 0:t.isFilterAllowed)||(null===(r=e)||void 0===r?void 0:r.isFilterAllowed())}))||void 0===r||r}getFloatingFilterCompDetails(e,t){const r=e.getColDef(),i=this.createFilterParams(e,r),o=this.userComponentFactory.mergeParamsWithApplicationProvidedParams(r,zn,i);let a=this.userComponentFactory.getDefaultFloatingFilterType(r,()=>this.getDefaultFloatingFilter(e));null==a&&(a="agReadOnlyFloatingFilter");const n={column:e,filterParams:o,currentParentModel:()=>this.getCurrentFloatingFilterParentModel(e),parentFilterInstance:t=>{const r=this.getFilterComponent(e,"NO_UI");null!=r&&r.then(e=>{t(Jn(e))})},showParentFilter:t,suppressFilterButton:!1};return this.userComponentFactory.getFloatingFilterCompDetails(r,n,a)}getCurrentFloatingFilterParentModel(e){const t=this.getFilterComponent(e,"NO_UI",!1);return t?t.resolveNow(null,e=>e&&e.getModel()):null}destroyFilter(e,t="api"){const r=e.getColId(),i=this.allColumnFilters.get(r);this.disposeColumnListener(r),i&&(this.disposeFilterWrapper(i,t),this.onFilterChanged({columns:[e]}))}disposeColumnListener(e){const t=this.allColumnListeners.get(e);t&&(this.allColumnListeners.delete(e),t())}disposeFilterWrapper(e,t){e.filterPromise.then(r=>{(r.setModel(null)||mo.resolve()).then(()=>{this.getContext().destroyBean(r),e.column.setFilterActive(!1,"filterDestroyed"),this.allColumnFilters.delete(e.column.getColId());const i={type:ht.EVENT_FILTER_DESTROYED,source:t,column:e.column};this.eventService.dispatchEvent(i)})})}checkDestroyFilter(e){const t=this.allColumnFilters.get(e);if(!t)return;const r=t.column,{compDetails:i}=r.isFilterAllowed()?this.createFilterInstance(r):{compDetails:null};((e,t)=>{if(!t||!e)return!0;const{componentClass:r}=e,{componentClass:i}=t;return!(r===i||(null==r?void 0:r.render)&&(null==i?void 0:i.render)&&r.render===i.render)})(t.compDetails,i)&&this.destroyFilter(r,"columnChanged")}destroy(){super.destroy(),this.allColumnFilters.forEach(e=>this.disposeFilterWrapper(e,"gridDestroyed")),this.allColumnListeners.clear()}};rs.QUICK_FILTER_SEPARATOR="\n",ts([Ce("valueService")],rs.prototype,"valueService",void 0),ts([Ce("columnModel")],rs.prototype,"columnModel",void 0),ts([Ce("rowModel")],rs.prototype,"rowModel",void 0),ts([Ce("userComponentFactory")],rs.prototype,"userComponentFactory",void 0),ts([Ce("rowRenderer")],rs.prototype,"rowRenderer",void 0),ts([fe],rs.prototype,"init",null),rs=es=ts([we("filterManager")],rs);class is extends To{constructor(e,t){super(e),this.ctrl=t}getCtrl(){return this.ctrl}}var os=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class as extends is{constructor(e){super(as.TEMPLATE,e)}postConstruct(){const e=this.getGui(),t={addOrRemoveCssClass:(e,t)=>this.addOrRemoveCssClass(e,t),addOrRemoveBodyCssClass:(e,t)=>this.eFloatingFilterBody.classList.toggle(e,t),setButtonWrapperDisplayed:e=>vi(this.eButtonWrapper,e),setCompDetails:e=>this.setCompDetails(e),getFloatingFilterComp:()=>this.compPromise,setWidth:t=>e.style.width=t,setMenuIcon:e=>this.eButtonShowMainFilter.appendChild(e)};this.ctrl.setComp(t,e,this.eButtonShowMainFilter,this.eFloatingFilterBody)}setCompDetails(e){if(!e)return this.destroyFloatingFilterComp(),void(this.compPromise=null);this.compPromise=e.newAgStackInstance(),this.compPromise.then(e=>this.afterCompCreated(e))}destroyFloatingFilterComp(){this.floatingFilterComp&&(this.eFloatingFilterBody.removeChild(this.floatingFilterComp.getGui()),this.floatingFilterComp=this.destroyBean(this.floatingFilterComp))}afterCompCreated(e){e&&(this.isAlive()?(this.destroyFloatingFilterComp(),this.floatingFilterComp=e,this.eFloatingFilterBody.appendChild(e.getGui()),e.afterGuiAttached&&e.afterGuiAttached()):this.destroyBean(e))}}as.TEMPLATE='<div class="ag-header-cell ag-floating-filter" role="gridcell" tabindex="-1">\n <div ref="eFloatingFilterBody" role="presentation"></div>\n <div class="ag-floating-filter-button ag-hidden" ref="eButtonWrapper" role="presentation">\n <button type="button" class="ag-button ag-floating-filter-button-button" ref="eButtonShowMainFilter" tabindex="-1"></button>\n </div>\n </div>',os([Do("eFloatingFilterBody")],as.prototype,"eFloatingFilterBody",void 0),os([Do("eButtonWrapper")],as.prototype,"eButtonWrapper",void 0),os([Do("eButtonShowMainFilter")],as.prototype,"eButtonShowMainFilter",void 0),os([fe],as.prototype,"postConstruct",null),os([me],as.prototype,"destroyFloatingFilterComp",null);var ns,ss=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};!function(e){e.AUTO_HEIGHT="ag-layout-auto-height",e.NORMAL="ag-layout-normal",e.PRINT="ag-layout-print"}(ns||(ns={}));class ls extends lt{constructor(e){super(),this.view=e}postConstruct(){this.addManagedPropertyListener("domLayout",this.updateLayoutClasses.bind(this)),this.updateLayoutClasses()}updateLayoutClasses(){const e=this.getDomLayout(),t={autoHeight:"autoHeight"===e,normal:"normal"===e,print:"print"===e},r=t.autoHeight?ns.AUTO_HEIGHT:t.print?ns.PRINT:ns.NORMAL;this.view.updateLayoutClasses(r,t)}getDomLayout(){var e;const t=null!==(e=this.gridOptionsService.get("domLayout"))&&void 0!==e?e:"normal";return-1===["normal","print","autoHeight"].indexOf(t)?(J(()=>console.warn(`AG Grid: ${t} is not valid for DOM Layout, valid values are 'normal', 'autoHeight', 'print'.`),"warn about dom layout values"),"normal"):t}}ss([fe],ls.prototype,"postConstruct",null);var gs,ds,cs=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};!function(e){e[e.Vertical=0]="Vertical",e[e.Horizontal=1]="Horizontal"}(gs||(gs={})),function(e){e[e.Container=0]="Container",e[e.FakeContainer=1]="FakeContainer"}(ds||(ds={}));class us extends lt{constructor(e){super(),this.lastScrollSource=[null,null],this.scrollLeft=-1,this.nextScrollTop=-1,this.scrollTop=-1,this.eBodyViewport=e,this.resetLastHScrollDebounced=ne(()=>this.lastScrollSource[gs.Horizontal]=null,500),this.resetLastVScrollDebounced=ne(()=>this.lastScrollSource[gs.Vertical]=null,500)}postConstruct(){this.enableRtl=this.gridOptionsService.is("enableRtl"),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onDisplayedColumnsWidthChanged.bind(this)),this.ctrlsService.whenReady(e=>{this.centerRowContainerCtrl=e.centerRowContainerCtrl,this.onDisplayedColumnsWidthChanged(),this.addScrollListener()})}addScrollListener(){const e=this.ctrlsService.getFakeHScrollComp(),t=this.ctrlsService.getFakeVScrollComp();this.addManagedListener(this.centerRowContainerCtrl.getViewportElement(),"scroll",this.onHScroll.bind(this)),e.onScrollCallback(this.onFakeHScroll.bind(this));const r=this.gridOptionsService.is("debounceVerticalScrollbar"),i=r?ne(this.onVScroll.bind(this),100):this.onVScroll.bind(this),o=r?ne(this.onFakeVScroll.bind(this),100):this.onFakeVScroll.bind(this);this.addManagedListener(this.eBodyViewport,"scroll",i),t.onScrollCallback(o)}onDisplayedColumnsWidthChanged(){this.enableRtl&&this.horizontallyScrollHeaderCenterAndFloatingCenter()}horizontallyScrollHeaderCenterAndFloatingCenter(e){if(null==this.centerRowContainerCtrl)return;void 0===e&&(e=this.centerRowContainerCtrl.getCenterViewportScrollLeft());const t=this.enableRtl?e:-e,r=this.ctrlsService.getTopCenterRowContainerCtrl(),i=this.ctrlsService.getStickyTopCenterRowContainerCtrl(),o=this.ctrlsService.getBottomCenterRowContainerCtrl(),a=this.ctrlsService.getFakeHScrollComp();this.ctrlsService.getHeaderRowContainerCtrl().setHorizontalScroll(-t),o.setContainerTranslateX(t),r.setContainerTranslateX(t),i.setContainerTranslateX(t);const n=this.centerRowContainerCtrl.getViewportElement(),s=this.lastScrollSource[gs.Horizontal]===ds.Container;e=Math.abs(e),s?a.setScrollPosition(e):Di(n,e,this.enableRtl)}isControllingScroll(e,t){return null==this.lastScrollSource[t]?(this.lastScrollSource[t]=e,!0):this.lastScrollSource[t]===e}onFakeHScroll(){this.isControllingScroll(ds.FakeContainer,gs.Horizontal)&&this.onHScrollCommon(ds.FakeContainer)}onHScroll(){this.isControllingScroll(ds.Container,gs.Horizontal)&&this.onHScrollCommon(ds.Container)}onHScrollCommon(e){const t=this.centerRowContainerCtrl.getViewportElement(),{scrollLeft:r}=t;if(this.shouldBlockScrollUpdate(gs.Horizontal,r,!0))return;let i;i=e===ds.Container?xi(t,this.enableRtl):this.ctrlsService.getFakeHScrollComp().getScrollPosition(),this.doHorizontalScroll(Math.round(i)),this.resetLastHScrollDebounced()}onFakeVScroll(){this.isControllingScroll(ds.FakeContainer,gs.Vertical)&&this.onVScrollCommon(ds.FakeContainer)}onVScroll(){this.isControllingScroll(ds.Container,gs.Vertical)&&this.onVScrollCommon(ds.Container)}onVScrollCommon(e){let t;t=e===ds.Container?this.eBodyViewport.scrollTop:this.ctrlsService.getFakeVScrollComp().getScrollPosition(),this.shouldBlockScrollUpdate(gs.Vertical,t,!0)||(this.animationFrameService.setScrollTop(t),this.nextScrollTop=t,e===ds.Container?this.ctrlsService.getFakeVScrollComp().setScrollPosition(t):this.eBodyViewport.scrollTop=t,this.gridOptionsService.is("suppressAnimationFrame")?this.scrollGridIfNeeded():this.animationFrameService.schedule(),this.resetLastVScrollDebounced())}doHorizontalScroll(e){const t=this.ctrlsService.getFakeHScrollComp().getScrollPosition();this.scrollLeft===e&&e===t||(this.scrollLeft=e,this.fireScrollEvent(gs.Horizontal),this.horizontallyScrollHeaderCenterAndFloatingCenter(e),this.onHorizontalViewportChanged())}fireScrollEvent(e){const t={type:ht.EVENT_BODY_SCROLL,direction:e===gs.Horizontal?"horizontal":"vertical",left:this.scrollLeft,top:this.scrollTop};this.eventService.dispatchEvent(t),window.clearTimeout(this.scrollTimer),this.scrollTimer=void 0,this.scrollTimer=window.setTimeout(()=>{const e=Object.assign(Object.assign({},t),{type:ht.EVENT_BODY_SCROLL_END});this.eventService.dispatchEvent(e)},100)}shouldBlockScrollUpdate(e,t,r=!1){return!(r&&!Br())&&(e===gs.Vertical?this.shouldBlockVerticalScroll(t):this.shouldBlockHorizontalScroll(t))}shouldBlockVerticalScroll(e){const t=bi(this.eBodyViewport),{scrollHeight:r}=this.eBodyViewport;return e<0||e+t>r}shouldBlockHorizontalScroll(e){const t=this.centerRowContainerCtrl.getCenterWidth(),{scrollWidth:r}=this.centerRowContainerCtrl.getViewportElement();if(this.enableRtl&&Ti()){if(e>0)return!0}else if(e<0)return!0;return Math.abs(e)+t>r}redrawRowsAfterScroll(){this.fireScrollEvent(gs.Vertical)}onHorizontalViewportChanged(){this.centerRowContainerCtrl.onHorizontalViewportChanged()}checkScrollLeft(){this.scrollLeft!==this.centerRowContainerCtrl.getCenterViewportScrollLeft()&&this.onHScrollCommon(ds.Container)}scrollGridIfNeeded(){const e=this.scrollTop!=this.nextScrollTop;return e&&(this.scrollTop=this.nextScrollTop,this.redrawRowsAfterScroll()),e}setHorizontalScrollPosition(e,t=!1){const r=this.centerRowContainerCtrl.getViewportElement().scrollWidth-this.centerRowContainerCtrl.getCenterWidth();!t&&this.shouldBlockScrollUpdate(gs.Horizontal,e)&&(e=this.enableRtl&&Ti()?e>0?0:r:Math.min(Math.max(e,0),r)),Di(this.centerRowContainerCtrl.getViewportElement(),Math.abs(e),this.enableRtl),this.doHorizontalScroll(e)}setVerticalScrollPosition(e){this.eBodyViewport.scrollTop=e}getVScrollPosition(){return{top:this.eBodyViewport.scrollTop,bottom:this.eBodyViewport.scrollTop+this.eBodyViewport.offsetHeight}}getHScrollPosition(){return this.centerRowContainerCtrl.getHScrollPosition()}isHorizontalScrollShowing(){return this.centerRowContainerCtrl.isHorizontalScrollShowing()}scrollHorizontally(e){const t=this.centerRowContainerCtrl.getViewportElement().scrollLeft;return this.setHorizontalScrollPosition(t+e),this.centerRowContainerCtrl.getViewportElement().scrollLeft-t}scrollToTop(){this.eBodyViewport.scrollTop=0}ensureNodeVisible(e,t=null){const r=this.rowModel.getRowCount();let i=-1;for(let t=0;t<r;t++){const r=this.rowModel.getRow(t);if("function"==typeof e){const o=e;if(r&&o(r)){i=t;break}}else if(e===r||e===r.data){i=t;break}}i>=0&&this.ensureIndexVisible(i,t)}ensureIndexVisible(e,t){if(this.gridOptionsService.isDomLayout("print"))return;const r=this.paginationProxy.getRowCount();if("number"!=typeof e||e<0||e>=r)return void console.warn("AG Grid: Invalid row index for ensureIndexVisible: "+e);this.gridOptionsService.is("pagination")&&!this.gridOptionsService.is("suppressPaginationPanel")||this.paginationProxy.goToPageWithIndex(e);const i=this.ctrlsService.getGridBodyCtrl().getStickyTopHeight(),o=this.paginationProxy.getRow(e);let a;do{const e=o.rowTop,r=o.rowHeight,n=this.paginationProxy.getPixelOffset(),s=o.rowTop-n,l=s+o.rowHeight,g=this.getVScrollPosition(),d=this.heightScaler.getDivStretchOffset(),c=g.top+d,u=g.bottom+d,p=u-c,h=this.heightScaler.getScrollPositionForPixel(s),v=this.heightScaler.getScrollPositionForPixel(l-p),f=Math.min((h+v)/2,s),m=c+i>s,w=u<l;let C=null;"top"===t?C=h:"bottom"===t?C=v:"middle"===t?C=f:m?C=h-i:w&&(C=v),null!==C&&(this.setVerticalScrollPosition(C),this.rowRenderer.redraw()),a=e!==o.rowTop||r!==o.rowHeight}while(a);this.animationFrameService.flushAllFrames()}ensureColumnVisible(e,t="auto"){const r=this.columnModel.getGridColumn(e);if(!r)return;if(r.isPinned())return;if(!this.columnModel.isColumnDisplayed(r))return;const i=this.getPositionedHorizontalScroll(r,t);null!==i&&this.centerRowContainerCtrl.setCenterViewportScrollLeft(i),this.centerRowContainerCtrl.onHorizontalViewportChanged(),this.animationFrameService.flushAllFrames()}getPositionedHorizontalScroll(e,t){const{columnBeforeStart:r,columnAfterEnd:i}=this.isColumnOutsideViewport(e),o=this.centerRowContainerCtrl.getCenterWidth()<e.getActualWidth(),a=this.centerRowContainerCtrl.getCenterWidth(),n=this.enableRtl;let s=(n?r:i)||o,l=n?i:r;"auto"!==t&&(s="start"===t,l="end"===t);const g="middle"===t;if(s||l||g){const{colLeft:t,colMiddle:r,colRight:i}=this.getColumnBounds(e);return g?r-a/2:s?n?i:t:n?t-a:i-a}return null}isColumnOutsideViewport(e){const{start:t,end:r}=this.getViewportBounds(),{colLeft:i,colRight:o}=this.getColumnBounds(e),a=this.enableRtl;return{columnBeforeStart:a?t>o:r<o,columnAfterEnd:a?r<i:t>i}}getColumnBounds(e){const t=this.enableRtl,r=this.columnModel.getBodyContainerWidth(),i=e.getActualWidth(),o=e.getLeft(),a=t?-1:1,n=t?r-o:o;return{colLeft:n,colMiddle:n+i/2*a,colRight:n+i*a}}getViewportBounds(){const e=this.centerRowContainerCtrl.getCenterWidth(),t=this.centerRowContainerCtrl.getCenterViewportScrollLeft();return{start:t,end:e+t,width:e}}}cs([Ce("ctrlsService")],us.prototype,"ctrlsService",void 0),cs([Ce("animationFrameService")],us.prototype,"animationFrameService",void 0),cs([Ce("paginationProxy")],us.prototype,"paginationProxy",void 0),cs([Ce("rowModel")],us.prototype,"rowModel",void 0),cs([Ce("rowContainerHeightService")],us.prototype,"heightScaler",void 0),cs([Ce("rowRenderer")],us.prototype,"rowRenderer",void 0),cs([Ce("columnModel")],us.prototype,"columnModel",void 0),cs([fe],us.prototype,"postConstruct",null);class ps{constructor(e){this.tickingInterval=null,this.onScrollCallback=null,this.scrollContainer=e.scrollContainer,this.scrollHorizontally=-1!==e.scrollAxis.indexOf("x"),this.scrollVertically=-1!==e.scrollAxis.indexOf("y"),this.scrollByTick=null!=e.scrollByTick?e.scrollByTick:20,e.onScrollCallback&&(this.onScrollCallback=e.onScrollCallback),this.scrollVertically&&(this.getVerticalPosition=e.getVerticalPosition,this.setVerticalPosition=e.setVerticalPosition),this.scrollHorizontally&&(this.getHorizontalPosition=e.getHorizontalPosition,this.setHorizontalPosition=e.setHorizontalPosition),this.shouldSkipVerticalScroll=e.shouldSkipVerticalScroll||(()=>!1),this.shouldSkipHorizontalScroll=e.shouldSkipHorizontalScroll||(()=>!1)}check(e,t=!1){const r=t||this.shouldSkipVerticalScroll();if(r&&this.shouldSkipHorizontalScroll())return;const i=this.scrollContainer.getBoundingClientRect(),o=this.scrollByTick;this.tickLeft=e.clientX<i.left+o,this.tickRight=e.clientX>i.right-o,this.tickUp=e.clientY<i.top+o&&!r,this.tickDown=e.clientY>i.bottom-o&&!r,this.tickLeft||this.tickRight||this.tickUp||this.tickDown?this.ensureTickingStarted():this.ensureCleared()}ensureTickingStarted(){null===this.tickingInterval&&(this.tickingInterval=window.setInterval(this.doTick.bind(this),100),this.tickCount=0)}doTick(){let e;if(this.tickCount++,e=this.tickCount>20?200:this.tickCount>10?80:40,this.scrollVertically){const t=this.getVerticalPosition();this.tickUp&&this.setVerticalPosition(t-e),this.tickDown&&this.setVerticalPosition(t+e)}if(this.scrollHorizontally){const t=this.getHorizontalPosition();this.tickLeft&&this.setHorizontalPosition(t-e),this.tickRight&&this.setHorizontalPosition(t+e)}this.onScrollCallback&&this.onScrollCallback()}ensureCleared(){this.tickingInterval&&(window.clearInterval(this.tickingInterval),this.tickingInterval=null)}}var hs=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class vs extends lt{constructor(e){super(),this.isMultiRowDrag=!1,this.isGridSorted=!1,this.isGridFiltered=!1,this.isRowGroupActive=!1,this.eContainer=e}postConstruct(){this.gridOptionsService.isRowModelType("clientSide")&&(this.clientSideRowModel=this.rowModel);const e=()=>{this.onSortChanged(),this.onFilterChanged(),this.onRowGroupChanged()};this.addManagedListener(this.eventService,ht.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_ROW_GROUP_CHANGED,this.onRowGroupChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_MODEL_UPDATED,()=>{e()}),e(),this.ctrlsService.whenReady(()=>{const e=this.ctrlsService.getGridBodyCtrl();this.autoScrollService=new ps({scrollContainer:e.getBodyViewportElement(),scrollAxis:"y",getVerticalPosition:()=>e.getScrollFeature().getVScrollPosition().top,setVerticalPosition:t=>e.getScrollFeature().setVerticalScrollPosition(t),onScrollCallback:()=>{this.onDragging(this.lastDraggingEvent)}})})}onSortChanged(){this.isGridSorted=this.sortController.isSortActive()}onFilterChanged(){this.isGridFiltered=this.filterManager.isAnyFilterPresent()}onRowGroupChanged(){const e=this.columnModel.getRowGroupColumns();this.isRowGroupActive=!R(e)}getContainer(){return this.eContainer}isInterestedIn(e){return e===Ya.RowDrag}getIconName(){return this.gridOptionsService.is("rowDragManaged")&&this.shouldPreventRowMove()?Za.ICON_NOT_ALLOWED:Za.ICON_MOVE}shouldPreventRowMove(){return this.isGridSorted||this.isGridFiltered||this.isRowGroupActive}getRowNodes(e){if(!this.isFromThisGrid(e))return e.dragItem.rowNodes||[];const t=this.gridOptionsService.is("rowDragMultiRow"),r=[...this.selectionService.getSelectedNodes()].sort((e,t)=>null==e.rowIndex||null==t.rowIndex?0:this.getRowIndexNumber(e)-this.getRowIndexNumber(t)),i=e.dragItem.rowNode;return t&&-1!==r.indexOf(i)?(this.isMultiRowDrag=!0,r):(this.isMultiRowDrag=!1,[i])}onDragEnter(e){e.dragItem.rowNodes=this.getRowNodes(e),this.dispatchGridEvent(ht.EVENT_ROW_DRAG_ENTER,e),this.getRowNodes(e).forEach(e=>{e.setDragging(!0)}),this.onEnterOrDragging(e)}onDragging(e){this.onEnterOrDragging(e)}isFromThisGrid(e){const{dragSourceDomDataKey:t}=e.dragSource;return t===this.gridOptionsService.getDomDataKey()}isDropZoneWithinThisGrid(e){const t=this.ctrlsService.getGridBodyCtrl().getGui(),{dropZoneTarget:r}=e;return!t.contains(r)}onEnterOrDragging(e){this.dispatchGridEvent(ht.EVENT_ROW_DRAG_MOVE,e),this.lastDraggingEvent=e;const t=this.mouseEventService.getNormalisedPosition(e).y;this.gridOptionsService.is("rowDragManaged")&&this.doManagedDrag(e,t),this.autoScrollService.check(e.event)}doManagedDrag(e,t){const r=this.isFromThisGrid(e),i=this.gridOptionsService.is("rowDragManaged"),o=e.dragItem.rowNodes;i&&this.shouldPreventRowMove()||(this.gridOptionsService.is("suppressMoveWhenRowDragging")||!r?this.isDropZoneWithinThisGrid(e)||this.clientSideRowModel.highlightRowAtPixel(o[0],t):this.moveRows(o,t))}getRowIndexNumber(e){return parseInt(Fe(e.getRowIndexString().split("-")),10)}moveRowAndClearHighlight(e){const t=this.clientSideRowModel.getLastHighlightedRowNode(),r=t&&t.highlighted===Qn.Below,i=this.mouseEventService.getNormalisedPosition(e).y,o=e.dragItem.rowNodes;let a=r?1:0;if(this.isFromThisGrid(e))o.forEach(e=>{e.rowTop<i&&(a-=1)}),this.moveRows(o,i,a);else{const e=this.gridOptionsService.getCallback("getRowId");let t=this.clientSideRowModel.getRowIndexAtPixel(i)+1;this.clientSideRowModel.getHighlightPosition(i)===Qn.Above&&t--,this.clientSideRowModel.updateRowData({add:o.map(e=>e.data).filter(t=>!this.clientSideRowModel.getRowNode(e?e({data:t,level:0}):t.id)),addIndex:t})}this.clearRowHighlight()}clearRowHighlight(){this.clientSideRowModel.highlightRowAtPixel(null)}moveRows(e,t,r=0){this.clientSideRowModel.ensureRowsAtPixel(e,t,r)&&(this.focusService.clearFocusedCell(),this.rangeService&&this.rangeService.removeAllCellRanges())}addRowDropZone(e){if(!e.getContainer())return void J(()=>console.warn("AG Grid: addRowDropZone - A container target needs to be provided"),"add-drop-zone-empty-target");if(this.dragAndDropService.findExternalZone(e))return void console.warn("AG Grid: addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.");let t={getContainer:e.getContainer};e.fromGrid?(e.fromGrid=void 0,t=e):(e.onDragEnter&&(t.onDragEnter=t=>{e.onDragEnter(this.draggingToRowDragEvent(ht.EVENT_ROW_DRAG_ENTER,t))}),e.onDragLeave&&(t.onDragLeave=t=>{e.onDragLeave(this.draggingToRowDragEvent(ht.EVENT_ROW_DRAG_LEAVE,t))}),e.onDragging&&(t.onDragging=t=>{e.onDragging(this.draggingToRowDragEvent(ht.EVENT_ROW_DRAG_MOVE,t))}),e.onDragStop&&(t.onDragStop=t=>{e.onDragStop(this.draggingToRowDragEvent(ht.EVENT_ROW_DRAG_END,t))})),this.dragAndDropService.addDropTarget(Object.assign({isInterestedIn:e=>e===Ya.RowDrag,getIconName:()=>Za.ICON_MOVE,external:!0},t))}getRowDropZone(e){const t=this.getContainer.bind(this),r=this.onDragEnter.bind(this),i=this.onDragLeave.bind(this),o=this.onDragging.bind(this),a=this.onDragStop.bind(this);return e?{getContainer:t,onDragEnter:e.onDragEnter?t=>{r(t),e.onDragEnter(this.draggingToRowDragEvent(ht.EVENT_ROW_DRAG_ENTER,t))}:r,onDragLeave:e.onDragLeave?t=>{i(t),e.onDragLeave(this.draggingToRowDragEvent(ht.EVENT_ROW_DRAG_LEAVE,t))}:i,onDragging:e.onDragging?t=>{o(t),e.onDragging(this.draggingToRowDragEvent(ht.EVENT_ROW_DRAG_MOVE,t))}:o,onDragStop:e.onDragStop?t=>{a(t),e.onDragStop(this.draggingToRowDragEvent(ht.EVENT_ROW_DRAG_END,t))}:a,fromGrid:!0}:{getContainer:t,onDragEnter:r,onDragLeave:i,onDragging:o,onDragStop:a,fromGrid:!0}}draggingToRowDragEvent(e,t){const r=this.mouseEventService.getNormalisedPosition(t).y;let i,o,a=-1;switch(r>this.paginationProxy.getCurrentPageHeight()||(a=this.rowModel.getRowIndexAtPixel(r),i=this.rowModel.getRow(a)),t.vDirection){case qa.Down:o="down";break;case qa.Up:o="up";break;default:o=null}return{type:e,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context,event:t.event,node:t.dragItem.rowNode,nodes:t.dragItem.rowNodes,overIndex:a,overNode:i,y:r,vDirection:o}}dispatchGridEvent(e,t){const r=this.draggingToRowDragEvent(e,t);this.eventService.dispatchEvent(r)}onDragLeave(e){this.dispatchGridEvent(ht.EVENT_ROW_DRAG_LEAVE,e),this.stopDragging(e),this.gridOptionsService.is("rowDragManaged")&&this.clearRowHighlight(),this.isFromThisGrid(e)&&(this.isMultiRowDrag=!1)}onDragStop(e){this.dispatchGridEvent(ht.EVENT_ROW_DRAG_END,e),this.stopDragging(e),!this.gridOptionsService.is("rowDragManaged")||!this.gridOptionsService.is("suppressMoveWhenRowDragging")&&this.isFromThisGrid(e)||this.isDropZoneWithinThisGrid(e)||this.moveRowAndClearHighlight(e)}stopDragging(e){this.autoScrollService.ensureCleared(),this.getRowNodes(e).forEach(e=>{e.setDragging(!1)})}}hs([Ce("dragAndDropService")],vs.prototype,"dragAndDropService",void 0),hs([Ce("rowModel")],vs.prototype,"rowModel",void 0),hs([Ce("paginationProxy")],vs.prototype,"paginationProxy",void 0),hs([Ce("columnModel")],vs.prototype,"columnModel",void 0),hs([Ce("focusService")],vs.prototype,"focusService",void 0),hs([Ce("sortController")],vs.prototype,"sortController",void 0),hs([Ce("filterManager")],vs.prototype,"filterManager",void 0),hs([Ce("selectionService")],vs.prototype,"selectionService",void 0),hs([Ce("mouseEventService")],vs.prototype,"mouseEventService",void 0),hs([Ce("ctrlsService")],vs.prototype,"ctrlsService",void 0),hs([be("rangeService")],vs.prototype,"rangeService",void 0),hs([fe],vs.prototype,"postConstruct",null);var fs,ms=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};!function(e){e.ANIMATION_ON="ag-row-animation",e.ANIMATION_OFF="ag-row-no-animation"}(fs||(fs={}));class ws extends lt{constructor(){super(...arguments),this.stickyTopHeight=0}getScrollFeature(){return this.bodyScrollFeature}getBodyViewportElement(){return this.eBodyViewport}setComp(e,t,r,i,o,a){this.comp=e,this.eGridBody=t,this.eBodyViewport=r,this.eTop=i,this.eBottom=o,this.eStickyTop=a,this.setCellTextSelection(this.gridOptionsService.is("enableCellTextSelection")),this.createManagedBean(new ls(this.comp)),this.bodyScrollFeature=this.createManagedBean(new us(this.eBodyViewport)),this.addRowDragListener(),this.setupRowAnimationCssClass(),this.addEventListeners(),this.addFocusListeners([i,r,o,a]),this.onGridColumnsChanged(),this.addBodyViewportListener(),this.setFloatingHeights(),this.disableBrowserDragging(),this.addStopEditingWhenGridLosesFocus(),this.ctrlsService.registerGridBodyCtrl(this)}getComp(){return this.comp}addEventListeners(){this.addManagedListener(this.eventService,ht.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_SCROLL_VISIBILITY_CHANGED,this.onScrollVisibilityChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_PINNED_ROW_DATA_CHANGED,this.onPinnedRowDataChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_HEADER_HEIGHT_CHANGED,this.onHeaderHeightChanged.bind(this))}addFocusListeners(e){e.forEach(e=>{this.addManagedListener(e,"focusin",t=>{const{target:r}=t,i=wi(r,"ag-root",e);e.classList.toggle("ag-has-focus",!i)}),this.addManagedListener(e,"focusout",t=>{const{target:r,relatedTarget:i}=t,o=e.contains(i),a=wi(i,"ag-root",e);wi(r,"ag-root",e)||o&&!a||e.classList.remove("ag-has-focus")})})}setColumnMovingCss(e){this.comp.setColumnMovingCss("ag-column-moving",e)}setCellTextSelection(e=!1){this.comp.setCellSelectableCss("ag-selectable",e)}onScrollVisibilityChanged(){const e=this.scrollVisibleService.isVerticalScrollShowing();this.setVerticalScrollPaddingVisible(e),this.setStickyTopWidth(e);const t=`calc(100% + ${(e&&this.gridOptionsService.getScrollbarWidth()||0)+(Xr()?16:0)}px)`;this.animationFrameService.requestAnimationFrame(()=>this.comp.setBodyViewportWidth(t))}onGridColumnsChanged(){const e=this.columnModel.getAllGridColumns();this.comp.setColumnCount(e?e.length:0)}disableBrowserDragging(){this.addManagedListener(this.eGridBody,"dragstart",e=>{if(e.target instanceof HTMLImageElement)return e.preventDefault(),!1})}addStopEditingWhenGridLosesFocus(){if(!this.gridOptionsService.is("stopEditingWhenCellsLoseFocus"))return;const e=e=>{const r=e.relatedTarget;if(null===Wr(r))return void this.rowRenderer.stopEditing();let i=t.some(e=>e.contains(r))&&this.mouseEventService.isElementInThisGrid(r);if(!i){const e=this.popupService;i=e.getActivePopups().some(e=>e.contains(r))||e.isElementWithinCustomPopup(r)}i||this.rowRenderer.stopEditing()},t=[this.eBodyViewport,this.eBottom,this.eTop,this.eStickyTop];t.forEach(t=>this.addManagedListener(t,"focusout",e))}updateRowCount(){const e=this.headerNavigationService.getHeaderRowCount(),t=this.rowModel.isLastRowIndexKnown()?this.rowModel.getRowCount():-1,r=-1===t?-1:e+t;this.comp.setRowCount(r)}registerBodyViewportResizeListener(e){this.comp.registerBodyViewportResizeListener(e)}setVerticalScrollPaddingVisible(e){const t=e?"scroll":"hidden";this.comp.setPinnedTopBottomOverflowY(t)}isVerticalScrollShowing(){const e=this.gridOptionsService.is("alwaysShowVerticalScroll"),t=e?"ag-force-vertical-scroll":null,r=this.gridOptionsService.isDomLayout("normal");return this.comp.setAlwaysVerticalScrollClass(t,e),e||r&&ji(this.eBodyViewport)}setupRowAnimationCssClass(){const e=()=>{const e=this.gridOptionsService.isAnimateRows()&&!this.rowContainerHeightService.isStretching(),t=e?fs.ANIMATION_ON:fs.ANIMATION_OFF;this.comp.setRowAnimationCssOnBodyViewport(t,e)};e(),this.addManagedListener(this.eventService,ht.EVENT_HEIGHT_SCALE_CHANGED,e),this.addManagedPropertyListener("animateRows",e)}getGridBodyElement(){return this.eGridBody}addBodyViewportListener(){const e=this.onBodyViewportContextMenu.bind(this);this.addManagedListener(this.eBodyViewport,"contextmenu",e),this.mockContextMenuForIPad(e),this.addManagedListener(this.eBodyViewport,"wheel",this.onBodyViewportWheel.bind(this)),this.addManagedListener(this.eStickyTop,"wheel",this.onStickyTopWheel.bind(this)),this.addFullWidthContainerWheelListener()}addFullWidthContainerWheelListener(){const e=this.eBodyViewport.querySelector(".ag-full-width-container"),t=this.eBodyViewport.querySelector(".ag-center-cols-viewport");e&&t&&this.addManagedListener(e,"wheel",e=>this.onFullWidthContainerWheel(e,t))}onFullWidthContainerWheel(e,t){!e.deltaX||Math.abs(e.deltaY)>Math.abs(e.deltaX)||!this.mouseEventService.isEventFromThisGrid(e)||(e.preventDefault(),t.scrollBy({left:e.deltaX}))}onBodyViewportContextMenu(e,t,r){if(!e&&!r)return;if(this.gridOptionsService.is("preventDefaultOnContextMenu")){(e||r).preventDefault()}const{target:i}=e||t;if(i===this.eBodyViewport||i===this.ctrlsService.getCenterRowContainerCtrl().getViewportElement()){if(!this.contextMenuFactory)return;e?this.contextMenuFactory.onContextMenu(e,null,null,null,null,this.eGridBody):r&&this.contextMenuFactory.onContextMenu(null,r,null,null,null,this.eGridBody)}}mockContextMenuForIPad(e){if(!Br())return;const t=new Ea(this.eBodyViewport);this.addManagedListener(t,Ea.EVENT_LONG_TAP,t=>{e(void 0,t.touchStart,t.touchEvent)}),this.addDestroyFunc(()=>t.destroy())}onBodyViewportWheel(e){this.gridOptionsService.is("suppressScrollWhenPopupsAreOpen")&&this.popupService.hasAnchoredPopup()&&e.preventDefault()}onStickyTopWheel(e){e.preventDefault(),e.offsetY&&this.scrollVertically(e.deltaY)}getGui(){return this.eGridBody}scrollVertically(e){const t=this.eBodyViewport.scrollTop;return this.bodyScrollFeature.setVerticalScrollPosition(t+e),this.eBodyViewport.scrollTop-t}addRowDragListener(){this.rowDragFeature=this.createManagedBean(new vs(this.eBodyViewport)),this.dragAndDropService.addDropTarget(this.rowDragFeature)}getRowDragFeature(){return this.rowDragFeature}onPinnedRowDataChanged(){this.setFloatingHeights()}setFloatingHeights(){const{pinnedRowModel:e}=this;let t=e.getPinnedTopTotalHeight();t&&(t+=1);let r=e.getPinnedBottomTotalHeight();r&&(r+=1),this.comp.setTopHeight(t),this.comp.setBottomHeight(r),this.comp.setTopDisplay(t?"inherit":"none"),this.comp.setBottomDisplay(r?"inherit":"none"),this.setStickyTopOffsetTop()}setStickyTopHeight(e=0){this.comp.setStickyTopHeight(e+"px"),this.stickyTopHeight=e}getStickyTopHeight(){return this.stickyTopHeight}setStickyTopWidth(e){if(e){const e=this.gridOptionsService.getScrollbarWidth();this.comp.setStickyTopWidth(`calc(100% - ${e}px)`)}else this.comp.setStickyTopWidth("100%")}onHeaderHeightChanged(){this.setStickyTopOffsetTop()}setStickyTopOffsetTop(){const e=this.ctrlsService.getGridHeaderCtrl().getHeaderHeight(),t=this.pinnedRowModel.getPinnedTopTotalHeight();let r=0;e>0&&(r+=e+1),t>0&&(r+=t+1),this.comp.setStickyTopTop(r+"px")}sizeColumnsToFit(e,t){const r=this.isVerticalScrollShowing()?this.gridOptionsService.getScrollbarWidth():0,i=yi(this.eGridBody)-r;i>0?this.columnModel.sizeColumnsToFit(i,"sizeColumnsToFit",!1,e):void 0===t?window.setTimeout(()=>{this.sizeColumnsToFit(e,100)},0):100===t?window.setTimeout(()=>{this.sizeColumnsToFit(e,500)},100):500===t?window.setTimeout(()=>{this.sizeColumnsToFit(e,-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?")}addScrollEventListener(e){this.eBodyViewport.addEventListener("scroll",e,{passive:!0})}removeScrollEventListener(e){this.eBodyViewport.removeEventListener("scroll",e)}}var Cs,bs;ms([Ce("animationFrameService")],ws.prototype,"animationFrameService",void 0),ms([Ce("rowContainerHeightService")],ws.prototype,"rowContainerHeightService",void 0),ms([Ce("ctrlsService")],ws.prototype,"ctrlsService",void 0),ms([Ce("columnModel")],ws.prototype,"columnModel",void 0),ms([Ce("scrollVisibleService")],ws.prototype,"scrollVisibleService",void 0),ms([be("contextMenuFactory")],ws.prototype,"contextMenuFactory",void 0),ms([Ce("headerNavigationService")],ws.prototype,"headerNavigationService",void 0),ms([Ce("dragAndDropService")],ws.prototype,"dragAndDropService",void 0),ms([Ce("pinnedRowModel")],ws.prototype,"pinnedRowModel",void 0),ms([Ce("rowRenderer")],ws.prototype,"rowRenderer",void 0),ms([Ce("popupService")],ws.prototype,"popupService",void 0),ms([Ce("mouseEventService")],ws.prototype,"mouseEventService",void 0),ms([Ce("rowModel")],ws.prototype,"rowModel",void 0),function(e){e[e.FILL=0]="FILL",e[e.RANGE=1]="RANGE"}(Cs||(Cs={})),function(e){e[e.VALUE=0]="VALUE",e[e.DIMENSION=1]="DIMENSION"}(bs||(bs={}));class ys{constructor(e,t){this.beans=e,this.cellCtrl=t}setComp(e,t){this.cellComp=e,this.eGui=t,this.onRangeSelectionChanged()}onRangeSelectionChanged(){this.cellComp&&(this.rangeCount=this.beans.rangeService.getCellRangeCount(this.cellCtrl.getCellPosition()),this.hasChartRange=this.getHasChartRange(),this.cellComp.addOrRemoveCssClass("ag-cell-range-selected",0!==this.rangeCount),this.cellComp.addOrRemoveCssClass("ag-cell-range-selected-1",1===this.rangeCount),this.cellComp.addOrRemoveCssClass("ag-cell-range-selected-2",2===this.rangeCount),this.cellComp.addOrRemoveCssClass("ag-cell-range-selected-3",3===this.rangeCount),this.cellComp.addOrRemoveCssClass("ag-cell-range-selected-4",this.rangeCount>=4),this.cellComp.addOrRemoveCssClass("ag-cell-range-chart",this.hasChartRange),Lr(this.eGui,this.rangeCount>0||void 0),this.cellComp.addOrRemoveCssClass("ag-cell-range-single-cell",this.isSingleCell()),this.updateRangeBorders(),this.refreshHandle())}updateRangeBorders(){const e=this.getRangeBorders(),t=this.isSingleCell(),r=!t&&e.top,i=!t&&e.right,o=!t&&e.bottom,a=!t&&e.left;this.cellComp.addOrRemoveCssClass("ag-cell-range-top",r),this.cellComp.addOrRemoveCssClass("ag-cell-range-right",i),this.cellComp.addOrRemoveCssClass("ag-cell-range-bottom",o),this.cellComp.addOrRemoveCssClass("ag-cell-range-left",a)}isSingleCell(){const{rangeService:e}=this.beans;return 1===this.rangeCount&&e&&!e.isMoreThanOneCell()}getHasChartRange(){const{rangeService:e}=this.beans;if(!this.rangeCount||!e)return!1;const t=e.getCellRanges();return t.length>0&&t.every(e=>Ke([bs.DIMENSION,bs.VALUE],e.type))}updateRangeBordersIfRangeCount(){this.rangeCount>0&&(this.updateRangeBorders(),this.refreshHandle())}getRangeBorders(){const e=this.beans.gridOptionsService.is("enableRtl");let t=!1,r=!1,i=!1,o=!1;const a=this.cellCtrl.getCellPosition().column,{rangeService:n,columnModel:s}=this.beans;let l,g;e?(l=s.getDisplayedColAfter(a),g=s.getDisplayedColBefore(a)):(l=s.getDisplayedColBefore(a),g=s.getDisplayedColAfter(a));const d=n.getCellRanges().filter(e=>n.isCellInSpecificRange(this.cellCtrl.getCellPosition(),e));l||(o=!0),g||(r=!0);for(let e=0;e<d.length&&!(t&&r&&i&&o);e++){const a=d[e],s=n.getRangeStartRow(a),c=n.getRangeEndRow(a);!t&&this.beans.rowPositionUtils.sameRow(s,this.cellCtrl.getCellPosition())&&(t=!0),!i&&this.beans.rowPositionUtils.sameRow(c,this.cellCtrl.getCellPosition())&&(i=!0),!o&&l&&a.columns.indexOf(l)<0&&(o=!0),!r&&g&&a.columns.indexOf(g)<0&&(r=!0)}return{top:t,right:r,bottom:i,left:o}}refreshHandle(){if(!this.beans.rangeService)return;const e=this.shouldHaveSelectionHandle();this.selectionHandle&&!e&&(this.selectionHandle=this.beans.context.destroyBean(this.selectionHandle)),e&&this.addSelectionHandle(),this.cellComp.addOrRemoveCssClass("ag-cell-range-handle",!!this.selectionHandle)}shouldHaveSelectionHandle(){const{gridOptionsService:e,rangeService:t}=this.beans,r=t.getCellRanges(),i=r.length;if(this.rangeCount<1||i<1)return!1;const o=Fe(r),a=this.cellCtrl.getCellPosition(),n=e.is("enableFillHandle")&&!this.cellCtrl.isSuppressFillHandle(),s=e.is("enableRangeHandle");let l=1===i&&!this.cellCtrl.isEditing()&&(n||s);if(this.hasChartRange){const e=r[0].type===bs.DIMENSION&&t.isCellInSpecificRange(a,r[0]);this.cellComp.addOrRemoveCssClass("ag-cell-range-chart-category",e),l=o.type===bs.VALUE}return l&&null!=o.endRow&&t.isContiguousRange(o)&&t.isBottomRightCell(o,a)}addSelectionHandle(){const{gridOptionsService:e,rangeService:t}=this.beans,r=Fe(t.getCellRanges()).type,i=e.is("enableFillHandle")&&E(r)?Cs.FILL:Cs.RANGE;this.selectionHandle&&this.selectionHandle.getType()!==i&&(this.selectionHandle=this.beans.context.destroyBean(this.selectionHandle)),this.selectionHandle||(this.selectionHandle=this.beans.selectionHandleFactory.createSelectionHandle(i)),this.selectionHandle.refresh(this.cellCtrl)}destroy(){this.beans.context.destroyBean(this.selectionHandle)}}class Ss extends lt{constructor(e,t){super(),this.cellCtrl=e,this.beans=t,this.column=e.getColumn(),this.rowNode=e.getRowNode(),this.setupColSpan(),this.setupRowSpan()}setupRowSpan(){this.rowSpan=this.column.getRowSpan(this.rowNode)}setComp(e){this.eGui=e,this.onLeftChanged(),this.onWidthChanged(),this.applyRowSpan()}onDisplayColumnsChanged(){const e=this.getColSpanningList();ke(this.colsSpanning,e)||(this.colsSpanning=e,this.onWidthChanged(),this.onLeftChanged())}setupColSpan(){null!=this.column.getColDef().colSpan&&(this.colsSpanning=this.getColSpanningList(),this.addManagedListener(this.beans.eventService,ht.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayColumnsChanged.bind(this)),this.addManagedListener(this.beans.eventService,ht.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onWidthChanged.bind(this)))}onWidthChanged(){if(!this.eGui)return;const e=this.getCellWidth();this.eGui.style.width=e+"px"}getCellWidth(){return this.colsSpanning?this.colsSpanning.reduce((e,t)=>e+t.getActualWidth(),0):this.column.getActualWidth()}getColSpanningList(){const e=this.column.getColSpan(this.rowNode),t=[];if(1===e)t.push(this.column);else{let r=this.column;const i=this.column.getPinned();for(let o=0;r&&o<e&&(t.push(r),r=this.beans.columnModel.getDisplayedColAfter(r),r&&!E(r))&&i===r.getPinned();o++);}return t}onLeftChanged(){if(!this.eGui)return;const e=this.modifyLeftForPrintLayout(this.getCellLeft());this.eGui.style.left=e+"px"}getCellLeft(){let e;return e=this.beans.gridOptionsService.is("enableRtl")&&this.colsSpanning?Fe(this.colsSpanning):this.column,e.getLeft()}modifyLeftForPrintLayout(e){if(!this.cellCtrl.isPrintLayout()||"left"===this.column.getPinned())return e;const t=this.beans.columnModel.getDisplayedColumnsLeftWidth();if("right"===this.column.getPinned()){return t+this.beans.columnModel.getBodyContainerWidth()+(e||0)}return t+(e||0)}applyRowSpan(){if(1===this.rowSpan)return;const e=this.beans.gridOptionsService.getRowHeightAsNumber()*this.rowSpan;this.eGui.style.height=e+"px",this.eGui.style.zIndex="1"}destroy(){super.destroy()}}class Es extends lt{constructor(e,t){super(),this.staticClasses=[],this.cellCtrl=e,this.beans=t,this.column=e.getColumn(),this.rowNode=e.getRowNode()}setComp(e){this.cellComp=e,this.applyUserStyles(),this.applyCellClassRules(),this.applyClassesFromColDef()}applyCellClassRules(){const e=this.column.getColDef(),t={value:this.cellCtrl.getValue(),data:this.rowNode.data,node:this.rowNode,colDef:e,column:this.column,rowIndex:this.rowNode.rowIndex,api:this.beans.gridOptionsService.api,columnApi:this.beans.gridOptionsService.columnApi,context:this.beans.gridOptionsService.context};this.beans.stylingService.processClassRules(e.cellClassRules,t,e=>this.cellComp.addOrRemoveCssClass(e,!0),e=>this.cellComp.addOrRemoveCssClass(e,!1))}applyUserStyles(){const e=this.column.getColDef();if(!e.cellStyle)return;let t;if("function"==typeof e.cellStyle){const r={column:this.column,value:this.cellCtrl.getValue(),colDef:e,data:this.rowNode.data,node:this.rowNode,rowIndex:this.rowNode.rowIndex,api:this.beans.gridOptionsService.api,columnApi:this.beans.gridOptionsService.columnApi,context:this.beans.gridOptionsService.context};t=(0,e.cellStyle)(r)}else t=e.cellStyle;t&&this.cellComp.setUserStyles(t)}applyClassesFromColDef(){const e=this.column.getColDef(),t={value:this.cellCtrl.getValue(),data:this.rowNode.data,node:this.rowNode,column:this.column,colDef:e,rowIndex:this.rowNode.rowIndex,api:this.beans.gridOptionsService.api,columnApi:this.beans.gridOptionsService.columnApi,context:this.beans.gridOptionsService.context};this.staticClasses.length&&this.staticClasses.forEach(e=>this.cellComp.addOrRemoveCssClass(e,!1)),this.staticClasses=this.beans.stylingService.getStaticCellClasses(e,t),this.staticClasses.length&&this.staticClasses.forEach(e=>this.cellComp.addOrRemoveCssClass(e,!0))}destroy(){super.destroy()}}class Rs extends lt{constructor(e,t){super(),this.ctrl=e,this.beans=t}setComp(e){this.comp=e,this.setupTooltip()}setupTooltip(){this.browserTooltips=this.beans.gridOptionsService.is("enableBrowserTooltips"),this.updateTooltipText(),this.browserTooltips?this.comp.setTitle(null!=this.tooltip?this.tooltip:void 0):this.createTooltipFeatureIfNeeded()}updateTooltipText(){this.tooltip=this.ctrl.getTooltipValue()}createTooltipFeatureIfNeeded(){if(null!=this.genericTooltipFeature)return;const e={getTooltipParams:()=>this.getTooltipParams(),getGui:()=>this.ctrl.getGui()};this.genericTooltipFeature=this.createManagedBean(new yo(e),this.beans.context)}refreshToolTip(){this.updateTooltipText(),this.browserTooltips&&this.comp.setTitle(null!=this.tooltip?this.tooltip:void 0)}getTooltipParams(){const e=this.ctrl,t=e.getColumn?e.getColumn():void 0,r=e.getColDef?e.getColDef():void 0,i=e.getRowNode?e.getRowNode():void 0;return{location:e.getLocation(),colDef:r,column:t,rowIndex:e.getRowIndex?e.getRowIndex():void 0,node:i,data:i?i.data:void 0,value:this.getTooltipText(),valueFormatted:e.getValueFormatted?e.getValueFormatted():void 0}}getTooltipText(){return this.tooltip}destroy(){super.destroy()}}var Ts=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let xs=class{postConstruct(){this.doingMasterDetail=this.gridOptionsService.isMasterDetail(),this.gridOptionsService.isRowModelType("clientSide")&&(this.clientSideRowModel=this.rowModel),this.gridOptionsService.isRowModelType("serverSide")&&(this.serverSideRowModel=this.rowModel)}};Ts([Ce("resizeObserverService")],xs.prototype,"resizeObserverService",void 0),Ts([Ce("paginationProxy")],xs.prototype,"paginationProxy",void 0),Ts([Ce("context")],xs.prototype,"context",void 0),Ts([Ce("columnApi")],xs.prototype,"columnApi",void 0),Ts([Ce("gridApi")],xs.prototype,"gridApi",void 0),Ts([Ce("gridOptionsService")],xs.prototype,"gridOptionsService",void 0),Ts([Ce("expressionService")],xs.prototype,"expressionService",void 0),Ts([Ce("environment")],xs.prototype,"environment",void 0),Ts([Ce("rowRenderer")],xs.prototype,"rowRenderer",void 0),Ts([Ce("templateService")],xs.prototype,"templateService",void 0),Ts([Ce("valueService")],xs.prototype,"valueService",void 0),Ts([Ce("eventService")],xs.prototype,"eventService",void 0),Ts([Ce("columnModel")],xs.prototype,"columnModel",void 0),Ts([Ce("headerNavigationService")],xs.prototype,"headerNavigationService",void 0),Ts([Ce("navigationService")],xs.prototype,"navigationService",void 0),Ts([Ce("columnAnimationService")],xs.prototype,"columnAnimationService",void 0),Ts([be("rangeService")],xs.prototype,"rangeService",void 0),Ts([Ce("focusService")],xs.prototype,"focusService",void 0),Ts([be("contextMenuFactory")],xs.prototype,"contextMenuFactory",void 0),Ts([Ce("popupService")],xs.prototype,"popupService",void 0),Ts([Ce("valueFormatterService")],xs.prototype,"valueFormatterService",void 0),Ts([Ce("stylingService")],xs.prototype,"stylingService",void 0),Ts([Ce("columnHoverService")],xs.prototype,"columnHoverService",void 0),Ts([Ce("userComponentFactory")],xs.prototype,"userComponentFactory",void 0),Ts([Ce("userComponentRegistry")],xs.prototype,"userComponentRegistry",void 0),Ts([Ce("animationFrameService")],xs.prototype,"animationFrameService",void 0),Ts([Ce("dragService")],xs.prototype,"dragService",void 0),Ts([Ce("dragAndDropService")],xs.prototype,"dragAndDropService",void 0),Ts([Ce("sortController")],xs.prototype,"sortController",void 0),Ts([Ce("filterManager")],xs.prototype,"filterManager",void 0),Ts([Ce("rowContainerHeightService")],xs.prototype,"rowContainerHeightService",void 0),Ts([Ce("frameworkOverrides")],xs.prototype,"frameworkOverrides",void 0),Ts([Ce("cellPositionUtils")],xs.prototype,"cellPositionUtils",void 0),Ts([Ce("rowPositionUtils")],xs.prototype,"rowPositionUtils",void 0),Ts([Ce("selectionService")],xs.prototype,"selectionService",void 0),Ts([be("selectionHandleFactory")],xs.prototype,"selectionHandleFactory",void 0),Ts([Ce("rowCssClassCalculator")],xs.prototype,"rowCssClassCalculator",void 0),Ts([Ce("rowModel")],xs.prototype,"rowModel",void 0),Ts([Ce("ctrlsService")],xs.prototype,"ctrlsService",void 0),Ts([Ce("ctrlsFactory")],xs.prototype,"ctrlsFactory",void 0),Ts([Ce("agStackComponentsRegistry")],xs.prototype,"agStackComponentsRegistry",void 0),Ts([Ce("valueCache")],xs.prototype,"valueCache",void 0),Ts([Ce("rowNodeEventThrottle")],xs.prototype,"rowNodeEventThrottle",void 0),Ts([Ce("localeService")],xs.prototype,"localeService",void 0),Ts([Ce("valueParserService")],xs.prototype,"valueParserService",void 0),Ts([fe],xs.prototype,"postConstruct",null),xs=Ts([we("beans")],xs);class Ds extends xs{constructor(e,t,r){super(),this.cellCtrl=e,this.beans=t,this.column=r}onMouseEvent(e,t){if(!et(t))switch(e){case"click":this.onCellClicked(t);break;case"mousedown":case"touchstart":this.onMouseDown(t);break;case"dblclick":this.onCellDoubleClicked(t);break;case"mouseout":this.onMouseOut(t);break;case"mouseover":this.onMouseOver(t)}}onCellClicked(e){if(this.isDoubleClickOnIPad())return this.onCellDoubleClicked(e),void e.preventDefault();const{eventService:t,rangeService:r,gridOptionsService:i}=this.beans,o=e.ctrlKey||e.metaKey;r&&o&&r.getCellRangeCount(this.cellCtrl.getCellPosition())>1&&r.intersectLastRange(!0);const a=this.cellCtrl.createEvent(e,ht.EVENT_CELL_CLICKED);t.dispatchEvent(a);const n=this.column.getColDef();n.onCellClicked&&window.setTimeout(()=>n.onCellClicked(a),0);(i.is("singleClickEdit")||n.singleClickEdit)&&!i.is("suppressClickEdit")&&this.cellCtrl.startRowOrCellEdit()}isDoubleClickOnIPad(){if(!Br()||tt("dblclick"))return!1;const e=(new Date).getTime(),t=e-this.lastIPadMouseClickEvent<200;return this.lastIPadMouseClickEvent=e,t}onCellDoubleClicked(e){const t=this.column.getColDef(),r=this.cellCtrl.createEvent(e,ht.EVENT_CELL_DOUBLE_CLICKED);this.beans.eventService.dispatchEvent(r),"function"==typeof t.onCellDoubleClicked&&window.setTimeout(()=>t.onCellDoubleClicked(r),0);!this.beans.gridOptionsService.is("singleClickEdit")&&!this.beans.gridOptionsService.is("suppressClickEdit")&&this.cellCtrl.startRowOrCellEdit(null,e)}onMouseDown(e){const{ctrlKey:t,metaKey:r,shiftKey:i}=e,o=e.target,{eventService:a,rangeService:n}=this.beans;if(this.isRightClickInExistingRange(e))return;const s=n&&0!=n.getCellRanges().length;if(!i||!s){const e=kr()&&!this.cellCtrl.isEditing()&&!hi(o);this.cellCtrl.focusCell(e)}if(i&&s&&e.preventDefault(),!this.containsWidget(o)){if(n){const e=this.cellCtrl.getCellPosition();if(i)n.extendLatestRangeToCell(e);else{const i=t||r;n.setRangeToCell(e,i)}}a.dispatchEvent(this.cellCtrl.createEvent(e,ht.EVENT_CELL_MOUSE_DOWN))}}isRightClickInExistingRange(e){const{rangeService:t}=this.beans;if(t){if(t.isCellInAnyRange(this.cellCtrl.getCellPosition())&&2===e.button)return!0}return!1}containsWidget(e){return wi(e,"ag-selection-checkbox",3)}onMouseOut(e){if(this.mouseStayingInsideCell(e))return;const t=this.cellCtrl.createEvent(e,ht.EVENT_CELL_MOUSE_OUT);this.beans.eventService.dispatchEvent(t),this.beans.columnHoverService.clearMouseOver()}onMouseOver(e){if(this.mouseStayingInsideCell(e))return;const t=this.cellCtrl.createEvent(e,ht.EVENT_CELL_MOUSE_OVER);this.beans.eventService.dispatchEvent(t),this.beans.columnHoverService.setMouseOver([this.column])}mouseStayingInsideCell(e){if(!e.target||!e.relatedTarget)return!1;const t=this.cellCtrl.getGui(),r=t.contains(e.target),i=t.contains(e.relatedTarget);return r&&i}destroy(){}}class As extends lt{constructor(e,t,r,i,o){super(),this.cellCtrl=e,this.beans=t,this.rowNode=i,this.rowCtrl=o}setComp(e){this.eGui=e}onKeyDown(e){const t=e.key;switch(t){case io.ENTER:this.onEnterKeyDown(e);break;case io.F2:this.onF2KeyDown(e);break;case io.ESCAPE:this.onEscapeKeyDown(e);break;case io.TAB:this.onTabKeyDown(e);break;case io.BACKSPACE:case io.DELETE:this.onBackspaceOrDeleteKeyDown(t,e);break;case io.DOWN:case io.UP:case io.RIGHT:case io.LEFT:this.onNavigationKeyDown(e,t)}}onNavigationKeyDown(e,t){this.cellCtrl.isEditing()||(e.shiftKey&&this.cellCtrl.isRangeSelectionEnabled()?this.onShiftRangeSelect(e):this.beans.navigationService.navigateToNextCell(e,t,this.cellCtrl.getCellPosition(),!0),e.preventDefault())}onShiftRangeSelect(e){if(!this.beans.rangeService)return;const t=this.beans.rangeService.extendLatestRangeInDirection(e);t&&this.beans.navigationService.ensureCellVisible(t)}onTabKeyDown(e){this.beans.navigationService.onTabKeyDown(this.cellCtrl,e)}onBackspaceOrDeleteKeyDown(e,t){const{cellCtrl:r,beans:i,rowNode:o}=this,{gridOptionsService:a,rangeService:n,eventService:s}=i;r.isEditing()||(s.dispatchEvent({type:ht.EVENT_KEY_SHORTCUT_CHANGED_CELL_START}),lo(e,a.is("enableCellEditingOnBackspace"))?n&&a.isEnableRangeSelection()?n.clearCellRangeCellValues({dispatchWrapperEvents:!0,wrapperEventSource:"deleteKey"}):r.isCellEditable()&&o.setDataValue(r.getColumn(),null,"cellClear"):r.startRowOrCellEdit(e,t),s.dispatchEvent({type:ht.EVENT_KEY_SHORTCUT_CHANGED_CELL_END}))}onEnterKeyDown(e){if(this.cellCtrl.isEditing()||this.rowCtrl.isEditing())this.cellCtrl.stopEditingAndFocus(!1,e.shiftKey);else if(this.beans.gridOptionsService.is("enterNavigatesVertically")){const t=e.shiftKey?io.UP:io.DOWN;this.beans.navigationService.navigateToNextCell(null,t,this.cellCtrl.getCellPosition(),!1)}else this.cellCtrl.startRowOrCellEdit(io.ENTER,e),this.cellCtrl.isEditing()&&e.preventDefault()}onF2KeyDown(e){this.cellCtrl.isEditing()||this.cellCtrl.startRowOrCellEdit(io.F2,e)}onEscapeKeyDown(e){this.cellCtrl.isEditing()&&(this.cellCtrl.stopRowOrCellEdit(!0),this.cellCtrl.focusCell(!0))}processCharacter(e){if(e.target!==this.eGui||this.cellCtrl.isEditing())return;const t=e.key;" "===t?this.onSpaceKeyDown(e):(this.cellCtrl.startRowOrCellEdit(t,e),e.preventDefault())}onSpaceKeyDown(e){const{gridOptionsService:t}=this.beans;if(!this.cellCtrl.isEditing()&&t.isRowSelection()){const r=this.rowNode.isSelected(),i=!r;if(i||!t.is("suppressRowDeselection")){const t=this.beans.gridOptionsService.is("groupSelectsFiltered"),o=this.rowNode.setSelectedParams({newValue:i,rangeSelect:e.shiftKey,groupSelectsFiltered:t,event:e,source:"spaceKey"});void 0===r&&0===o&&this.rowNode.setSelectedParams({newValue:!1,rangeSelect:e.shiftKey,groupSelectsFiltered:t,event:e,source:"spaceKey"})}}e.preventDefault()}destroy(){super.destroy()}}var Os=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Ms extends To{constructor(e,t,r){super('<div class="ag-drag-handle ag-row-drag" draggable="true"></div>'),this.rowNode=e,this.column=t,this.eCell=r}postConstruct(){this.getGui().appendChild(ro("rowDrag",this.gridOptionsService,null)),this.addGuiEventListener("mousedown",e=>{e.stopPropagation()}),this.addDragSource(),this.checkVisibility()}addDragSource(){this.addGuiEventListener("dragstart",this.onDragStart.bind(this))}onDragStart(e){const t=this.column.getColDef().dndSourceOnRowDrag;e.dataTransfer.setDragImage(this.eCell,0,0);const r=()=>{try{const t=JSON.stringify(this.rowNode.data);e.dataTransfer.setData("application/json",t),e.dataTransfer.setData("text/plain",t)}catch(e){}};if(t){t({rowNode:this.rowNode,dragEvent:e,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context})}else r()}checkVisibility(){const e=this.column.isDndSource(this.rowNode);this.setDisplayed(e)}}Os([fe],Ms.prototype,"postConstruct",null);let Ps=0;class Ns extends lt{constructor(e,t,r,i){super(),this.cellRangeFeature=null,this.cellPositionFeature=null,this.cellCustomStyleFeature=null,this.tooltipFeature=null,this.cellMouseListenerFeature=null,this.cellKeyboardListenerFeature=null,this.suppressRefreshCell=!1,this.onCellCompAttachedFuncs=[],this.column=e,this.rowNode=t,this.beans=r,this.rowCtrl=i,this.instanceId=e.getId()+"-"+Ps++,this.createCellPosition(),this.addFeatures()}shouldRestoreFocus(){return this.beans.focusService.shouldRestoreFocus(this.cellPosition)}addFeatures(){this.cellPositionFeature=new Ss(this,this.beans),this.addDestroyFunc(()=>{var e;null===(e=this.cellPositionFeature)||void 0===e||e.destroy(),this.cellPositionFeature=null}),this.cellCustomStyleFeature=new Es(this,this.beans),this.addDestroyFunc(()=>{var e;null===(e=this.cellCustomStyleFeature)||void 0===e||e.destroy(),this.cellCustomStyleFeature=null}),this.cellMouseListenerFeature=new Ds(this,this.beans,this.column),this.addDestroyFunc(()=>{var e;null===(e=this.cellMouseListenerFeature)||void 0===e||e.destroy(),this.cellMouseListenerFeature=null}),this.cellKeyboardListenerFeature=new As(this,this.beans,this.column,this.rowNode,this.rowCtrl),this.addDestroyFunc(()=>{var e;null===(e=this.cellKeyboardListenerFeature)||void 0===e||e.destroy(),this.cellKeyboardListenerFeature=null});this.beans.rangeService&&this.beans.gridOptionsService.isEnableRangeSelection()&&(this.cellRangeFeature=new ys(this.beans,this),this.addDestroyFunc(()=>{var e;null===(e=this.cellRangeFeature)||void 0===e||e.destroy(),this.cellRangeFeature=null})),this.column.isTooltipEnabled()&&this.addTooltipFeature()}addTooltipFeature(){const e={getColumn:()=>this.column,getColDef:()=>this.column.getColDef(),getRowIndex:()=>this.cellPosition.rowIndex,getRowNode:()=>this.rowNode,getGui:()=>this.getGui(),getLocation:()=>"cell",getTooltipValue:()=>{const e=this.column.getColDef(),t=this.rowNode.data;if(e.tooltipField&&S(t))return q(t,e.tooltipField,this.column.isTooltipFieldContainsDots());const r=e.tooltipValueGetter;return r?r({location:"cell",api:this.beans.gridOptionsService.api,columnApi:this.beans.gridOptionsService.columnApi,context:this.beans.gridOptionsService.context,colDef:this.column.getColDef(),column:this.column,rowIndex:this.cellPosition.rowIndex,node:this.rowNode,data:this.rowNode.data,value:this.value,valueFormatted:this.valueFormatted}):null},getValueFormatted:()=>this.valueFormatted};this.tooltipFeature=new Rs(e,this.beans),this.addDestroyFunc(()=>{var e;null===(e=this.tooltipFeature)||void 0===e||e.destroy(),this.tooltipFeature=null})}setComp(e,t,r,i,o){var a,n,s,l;this.cellComp=e,this.eGui=t,this.printLayout=i,this.updateAndFormatValue(!0),this.addDomData(),this.onCellFocused(),this.applyStaticCssClasses(),this.setWrapText(),this.onFirstRightPinnedChanged(),this.onLastLeftPinnedChanged(),this.onColumnHover(),this.setupControlComps(),r&&this.setupAutoHeight(r),this.setAriaColIndex(),this.beans.gridOptionsService.is("suppressCellFocus")||this.cellComp.setTabIndex(-1);const g=Et(this.column.getId());this.cellComp.setColId(g),this.cellComp.setRole("gridcell"),null===(a=this.cellPositionFeature)||void 0===a||a.setComp(t),null===(n=this.cellCustomStyleFeature)||void 0===n||n.setComp(e),null===(s=this.tooltipFeature)||void 0===s||s.setComp(e),null===(l=this.cellKeyboardListenerFeature)||void 0===l||l.setComp(this.eGui),this.cellRangeFeature&&this.cellRangeFeature.setComp(e,t),o&&this.isCellEditable()?this.startEditing():this.showValue(),this.onCellCompAttachedFuncs.length&&(this.onCellCompAttachedFuncs.forEach(e=>e()),this.onCellCompAttachedFuncs=[])}setupAutoHeight(e){if(!this.column.isAutoHeight())return;const t=e.parentElement,r=this.beans.gridOptionsService.getRowHeightForNode(this.rowNode).height,i=o=>{if(this.editing)return;if(!this.isAlive())return;const{paddingTop:a,paddingBottom:n,borderBottomWidth:s,borderTopWidth:l}=Ci(t),g=a+n+s+l,d=e.offsetHeight+g;if(o<5){const t=this.beans.gridOptionsService.getDocument(),r=0==d;if(!t||!t.contains(e)||r)return void this.beans.frameworkOverrides.setTimeout(()=>i(o+1),0)}const c=Math.max(d,r);this.rowNode.setRowAutoHeight(c,this.column)},o=()=>i(0);o();const a=this.beans.resizeObserverService.observeResize(e,o);this.addDestroyFunc(()=>{a(),this.rowNode.setRowAutoHeight(void 0,this.column)})}getInstanceId(){return this.instanceId}showValue(e=!1){const t=null!=this.valueFormatted?this.valueFormatted:this.value,r=this.createCellRendererParams(),i=this.beans.userComponentFactory.getCellRendererDetails(this.column.getColDef(),r);this.cellComp.setRenderDetails(i,t,e),this.refreshHandle()}setupControlComps(){const e=this.column.getColDef();this.includeSelection=this.isIncludeControl(e.checkboxSelection),this.includeRowDrag=this.isIncludeControl(e.rowDrag),this.includeDndSource=this.isIncludeControl(e.dndSource),this.cellComp.setIncludeSelection(this.includeSelection),this.cellComp.setIncludeDndSource(this.includeDndSource),this.cellComp.setIncludeRowDrag(this.includeRowDrag)}isForceWrapper(){return this.beans.gridOptionsService.is("enableCellTextSelection")||this.column.isAutoHeight()}isIncludeControl(e){return!(null!=this.rowNode.rowPinned)&&("function"==typeof e||!0===e)}refreshShouldDestroy(){const e=this.column.getColDef(),t=this.includeSelection!=this.isIncludeControl(e.checkboxSelection),r=this.includeRowDrag!=this.isIncludeControl(e.rowDrag),i=this.includeDndSource!=this.isIncludeControl(e.dndSource);return t||r||i}startEditing(e=null,t=!1,r=null){if(!this.isCellEditable()||this.editing)return;if(!this.cellComp)return void this.onCellCompAttachedFuncs.push(()=>{this.startEditing(e,t,r)});const i=this.createCellEditorParams(e,t),o=this.column.getColDef(),a=this.beans.userComponentFactory.getCellEditorDetails(o,i),n=null!=(null==a?void 0:a.popupFromSelector)?a.popupFromSelector:!!o.cellEditorPopup,s=null!=(null==a?void 0:a.popupPositionFromSelector)?a.popupPositionFromSelector:o.cellEditorPopupPosition;this.setEditing(!0),this.cellComp.setEditDetails(a,n,s);const l=this.createEvent(r,ht.EVENT_CELL_EDITING_STARTED);this.beans.eventService.dispatchEvent(l)}setEditing(e){this.editing!==e&&(this.editing=e,this.refreshHandle())}stopRowOrCellEdit(e=!1){"fullRow"===this.beans.gridOptionsService.get("editType")?this.rowCtrl.stopRowEditing(e):this.stopEditing(e)}onPopupEditorClosed(){this.isEditing()&&this.stopEditingAndFocus()}takeValueFromCellEditor(e){const t={newValueExists:!1};if(e)return t;const r=this.cellComp.getCellEditor();if(!r)return t;if(r.isCancelAfterEnd&&r.isCancelAfterEnd())return t;return{newValue:r.getValue(),newValueExists:!0}}saveNewValue(e,t){if(t===e)return!1;this.suppressRefreshCell=!0;const r=this.rowNode.setDataValue(this.column,t,"edit");return this.suppressRefreshCell=!1,r}stopEditing(e=!1){if(!this.editing)return!1;const{newValue:t,newValueExists:r}=this.takeValueFromCellEditor(e),i=this.rowNode.getValueFromValueService(this.column);let o=!1;return r&&(o=this.saveNewValue(i,t)),this.setEditing(!1),this.cellComp.setEditDetails(),this.updateAndFormatValue(),this.refreshCell({forceRefresh:!0,suppressFlash:!0}),this.dispatchEditingStoppedEvent(i,t,!e&&!!o),o}dispatchEditingStoppedEvent(e,t,r){const i=Object.assign(Object.assign({},this.createEvent(null,ht.EVENT_CELL_EDITING_STOPPED)),{oldValue:e,newValue:t,valueChanged:r});this.beans.eventService.dispatchEvent(i)}createCellEditorParams(e,t){return{value:this.rowNode.getValueFromValueService(this.column),eventKey:e,column:this.column,colDef:this.column.getColDef(),rowIndex:this.getCellPosition().rowIndex,node:this.rowNode,data:this.rowNode.data,api:this.beans.gridOptionsService.api,cellStartedEdit:t,columnApi:this.beans.gridOptionsService.columnApi,context:this.beans.gridOptionsService.context,onKeyDown:this.onKeyDown.bind(this),stopEditing:this.stopEditingAndFocus.bind(this),eGridCell:this.getGui(),parseValue:this.parseValue.bind(this),formatValue:this.formatValue.bind(this)}}createCellRendererParams(){return{value:this.value,valueFormatted:this.valueFormatted,getValue:()=>this.rowNode.getValueFromValueService(this.column),setValue:e=>this.beans.valueService.setValue(this.rowNode,this.column,e),formatValue:this.formatValue.bind(this),data:this.rowNode.data,node:this.rowNode,pinned:this.column.getPinned(),colDef:this.column.getColDef(),column:this.column,rowIndex:this.getCellPosition().rowIndex,api:this.beans.gridOptionsService.api,columnApi:this.beans.gridOptionsService.columnApi,context:this.beans.gridOptionsService.context,refreshCell:this.refreshCell.bind(this),eGridCell:this.getGui(),eParentOfValue:this.cellComp.getParentOfValue(),registerRowDragger:(e,t,r,i)=>this.registerRowDragger(e,t,i)}}parseValue(e){return this.beans.valueParserService.parseValue(this.column,this.rowNode,e,this.getValue())}setFocusOutOnEditor(){if(!this.editing)return;const e=this.cellComp.getCellEditor();e&&e.focusOut&&e.focusOut()}setFocusInOnEditor(){if(!this.editing)return;const e=this.cellComp.getCellEditor();e&&e.focusIn?e.focusIn():this.focusCell(!0)}onCellChanged(e){if(!this.cellComp)return;e.column===this.column&&this.refreshCell({})}refreshCell(e){var t,r,i;if(this.suppressRefreshCell||this.editing)return;if(!this.cellComp)return;const o=this.column.getColDef(),a=null!=e&&!!e.newData,n=null!=e&&!!e.suppressFlash||!!o.suppressCellFlash,s=null==o.field&&null==o.valueGetter&&null==o.showRowGroup,l=e&&e.forceRefresh||s||a,g=this.updateAndFormatValue();if(l||g){this.showValue(a);const e=this.beans.filterManager.isSuppressFlashingCellsBecauseFiltering();!n&&!e&&(this.beans.gridOptionsService.is("enableCellChangeFlash")||o.enableCellChangeFlash)&&this.flashCell(),null===(t=this.cellCustomStyleFeature)||void 0===t||t.applyUserStyles(),null===(r=this.cellCustomStyleFeature)||void 0===r||r.applyClassesFromColDef()}this.refreshToolTip(),null===(i=this.cellCustomStyleFeature)||void 0===i||i.applyCellClassRules()}stopEditingAndFocus(e=!1,t=!1){this.stopRowOrCellEdit(),this.focusCell(!0),e||this.navigateAfterEdit(t)}navigateAfterEdit(e){if(this.beans.gridOptionsService.is("enterNavigatesVerticallyAfterEdit")){const t=e?io.UP:io.DOWN;this.beans.navigationService.navigateToNextCell(null,t,this.getCellPosition(),!1)}}flashCell(e){const t=e&&e.flashDelay,r=e&&e.fadeDelay;this.animateCell("data-changed",t,r)}animateCell(e,t,r){var i,o;const a="ag-cell-"+e,n=`ag-cell-${e}-animation`,{gridOptionsService:s}=this.beans;t||(t=null!==(i=s.getNum("cellFlashDelay"))&&void 0!==i?i:500),S(r)||(r=null!==(o=s.getNum("cellFadeDelay"))&&void 0!==o?o:1e3),this.cellComp.addOrRemoveCssClass(a,!0),this.cellComp.addOrRemoveCssClass(n,!1),window.setTimeout(()=>{this.isAlive()&&(this.cellComp.addOrRemoveCssClass(a,!1),this.cellComp.addOrRemoveCssClass(n,!0),this.eGui.style.transition=`background-color ${r}ms`,window.setTimeout(()=>{this.isAlive()&&(this.cellComp.addOrRemoveCssClass(n,!1),this.eGui.style.transition="")},r))},t)}onFlashCells(e){if(!this.cellComp)return;const t=this.beans.cellPositionUtils.createId(this.getCellPosition());e.cells[t]&&this.animateCell("highlight")}isCellEditable(){return this.column.isCellEditable(this.rowNode)}isSuppressFillHandle(){return this.column.isSuppressFillHandle()}formatValue(e){const t=this.callValueFormatter(e);return null!=t?t:e}callValueFormatter(e){return this.beans.valueFormatterService.formatValue(this.column,this.rowNode,e)}updateAndFormatValue(e=!1){const t=this.value,r=this.valueFormatted;this.value=this.rowNode.getValueFromValueService(this.column),this.valueFormatted=this.callValueFormatter(this.value);return!!e||(!this.valuesAreEqual(t,this.value)||this.valueFormatted!=r)}valuesAreEqual(e,t){const r=this.column.getColDef();return r.equals?r.equals(e,t):e===t}getComp(){return this.cellComp}getValue(){return this.value}getValueFormatted(){return this.valueFormatted}addDomData(){const e=this.getGui();this.beans.gridOptionsService.setDomData(e,Ns.DOM_DATA_KEY_CELL_CTRL,this),this.addDestroyFunc(()=>this.beans.gridOptionsService.setDomData(e,Ns.DOM_DATA_KEY_CELL_CTRL,null))}createEvent(e,t){return{type:t,node:this.rowNode,data:this.rowNode.data,value:this.value,column:this.column,colDef:this.column.getColDef(),context:this.beans.gridOptionsService.context,api:this.beans.gridApi,columnApi:this.beans.columnApi,rowPinned:this.rowNode.rowPinned,event:e,rowIndex:this.rowNode.rowIndex}}processCharacter(e){var t;null===(t=this.cellKeyboardListenerFeature)||void 0===t||t.processCharacter(e)}onKeyDown(e){var t;null===(t=this.cellKeyboardListenerFeature)||void 0===t||t.onKeyDown(e)}onMouseEvent(e,t){var r;null===(r=this.cellMouseListenerFeature)||void 0===r||r.onMouseEvent(e,t)}getGui(){return this.eGui}refreshToolTip(){var e;null===(e=this.tooltipFeature)||void 0===e||e.refreshToolTip()}getColSpanningList(){return this.cellPositionFeature.getColSpanningList()}onLeftChanged(){var e;this.cellComp&&(null===(e=this.cellPositionFeature)||void 0===e||e.onLeftChanged())}onDisplayedColumnsChanged(){this.eGui&&this.setAriaColIndex()}setAriaColIndex(){const e=this.beans.columnModel.getAriaColumnIndex(this.column);Or(this.getGui(),e)}isSuppressNavigable(){return this.column.isSuppressNavigable(this.rowNode)}onWidthChanged(){var e;return null===(e=this.cellPositionFeature)||void 0===e?void 0:e.onWidthChanged()}getColumn(){return this.column}getRowNode(){return this.rowNode}getBeans(){return this.beans}isPrintLayout(){return this.printLayout}appendChild(e){this.eGui.appendChild(e)}refreshHandle(){this.cellRangeFeature&&this.cellRangeFeature.refreshHandle()}getCellPosition(){return this.cellPosition}isEditing(){return this.editing}startRowOrCellEdit(e,t=null){this.cellComp&&("fullRow"===this.beans.gridOptionsService.get("editType")?this.rowCtrl.startRowEditing(e,this):this.startEditing(e,!0,t))}getRowCtrl(){return this.rowCtrl}getRowPosition(){return{rowIndex:this.cellPosition.rowIndex,rowPinned:this.cellPosition.rowPinned}}updateRangeBordersIfRangeCount(){this.cellComp&&this.cellRangeFeature&&this.cellRangeFeature.updateRangeBordersIfRangeCount()}onRangeSelectionChanged(){this.cellComp&&this.cellRangeFeature&&this.cellRangeFeature.onRangeSelectionChanged()}isRangeSelectionEnabled(){return null!=this.cellRangeFeature}focusCell(e=!1){this.beans.focusService.setFocusedCell({rowIndex:this.getCellPosition().rowIndex,column:this.column,rowPinned:this.rowNode.rowPinned,forceBrowserFocus:e})}onRowIndexChanged(){this.createCellPosition(),this.onCellFocused(),this.cellRangeFeature&&this.cellRangeFeature.onRangeSelectionChanged()}onFirstRightPinnedChanged(){if(!this.cellComp)return;const e=this.column.isFirstRightPinned();this.cellComp.addOrRemoveCssClass("ag-cell-first-right-pinned",e)}onLastLeftPinnedChanged(){if(!this.cellComp)return;const e=this.column.isLastLeftPinned();this.cellComp.addOrRemoveCssClass("ag-cell-last-left-pinned",e)}onCellFocused(e){if(!this.cellComp||this.beans.gridOptionsService.is("suppressCellFocus"))return;const t=this.beans.focusService.isCellFocused(this.cellPosition);if(this.cellComp.addOrRemoveCssClass("ag-cell-focus",t),t&&e&&e.forceBrowserFocus){this.cellComp.getFocusableElement().focus({preventScroll:!!e.preventScrollOnBrowserFocus})}const r="fullRow"===this.beans.gridOptionsService.get("editType");t||r||!this.editing||this.stopRowOrCellEdit()}createCellPosition(){this.cellPosition={rowIndex:this.rowNode.rowIndex,rowPinned:y(this.rowNode.rowPinned),column:this.column}}applyStaticCssClasses(){this.cellComp.addOrRemoveCssClass("ag-cell",!0),this.cellComp.addOrRemoveCssClass("ag-cell-not-inline-editing",!0);const e=1==this.column.isAutoHeight();this.cellComp.addOrRemoveCssClass("ag-cell-auto-height",e),this.cellComp.addOrRemoveCssClass("ag-cell-normal-height",!e)}onColumnHover(){if(!this.cellComp)return;if(!this.beans.gridOptionsService.is("columnHoverHighlight"))return;const e=this.beans.columnHoverService.isHovered(this.column);this.cellComp.addOrRemoveCssClass("ag-column-hover",e)}onColDefChanged(){this.cellComp&&(this.setWrapText(),this.editing||this.refreshCell({forceRefresh:!0,suppressFlash:!0}))}setWrapText(){const e=1==this.column.getColDef().wrapText;this.cellComp.addOrRemoveCssClass("ag-cell-wrap-text",e)}dispatchCellContextMenuEvent(e){const t=this.column.getColDef(),r=this.createEvent(e,ht.EVENT_CELL_CONTEXT_MENU);this.beans.eventService.dispatchEvent(r),t.onCellContextMenu&&window.setTimeout(()=>t.onCellContextMenu(r),0)}getCellRenderer(){return this.cellComp?this.cellComp.getCellRenderer():null}getCellEditor(){return this.cellComp?this.cellComp.getCellEditor():null}destroy(){this.onCellCompAttachedFuncs=[],super.destroy()}createSelectionCheckbox(){const e=new Ua;return this.beans.context.createBean(e),e.init({rowNode:this.rowNode,column:this.column}),e}createDndSource(){const e=new Ms(this.rowNode,this.column,this.eGui);return this.beans.context.createBean(e),e}registerRowDragger(e,t,r){if(this.customRowDragComp)return void this.customRowDragComp.setDragElement(e,t);const i=this.createRowDragComp(e,t,r);i&&(this.customRowDragComp=i,this.addDestroyFunc(()=>{this.beans.context.destroyBean(i),this.customRowDragComp=null}))}createRowDragComp(e,t,r){const i=this.beans.gridOptionsService.is("pagination"),o=this.beans.gridOptionsService.is("rowDragManaged"),a=this.beans.gridOptionsService.isRowModelType("clientSide");if(o){if(!a)return void J(()=>console.warn("AG Grid: managed row dragging is only allowed in the Client Side Row Model"),"CellComp.addRowDragging");if(i)return void J(()=>console.warn("AG Grid: managed row dragging is not possible when doing pagination"),"CellComp.addRowDragging")}const n=new $a(()=>this.value,this.rowNode,this.column,e,t,r);return this.beans.context.createBean(n),n}}var Ls;Ns.DOM_DATA_KEY_CELL_CTRL="cellCtrl",function(e){e.Normal="Normal",e.FullWidth="FullWidth",e.FullWidthLoading="FullWidthLoading",e.FullWidthGroup="FullWidthGroup",e.FullWidthDetail="FullWidthDetail"}(Ls||(Ls={}));let Is=0;class zs extends lt{constructor(e,t,r,i,o){super(),this.allRowGuis=[],this.active=!0,this.centerCellCtrls={list:[],map:{}},this.leftCellCtrls={list:[],map:{}},this.rightCellCtrls={list:[],map:{}},this.slideInAnimation={left:!1,center:!1,right:!1,fullWidth:!1},this.fadeInAnimation={left:!1,center:!1,right:!1,fullWidth:!1},this.lastMouseDownOnDragger=!1,this.updateColumnListsPending=!1,this.businessKeySanitised=null,this.beans=t,this.gridOptionsService=t.gridOptionsService,this.rowNode=e,this.paginationPage=t.paginationProxy.getCurrentPage(),this.useAnimationFrameForCreate=i,this.printLayout=o,this.instanceId=e.id+"-"+Is++,this.setAnimateFlags(r),this.initRowBusinessKey(),this.rowFocused=t.focusService.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned),this.rowLevel=t.rowCssClassCalculator.calculateRowLevel(this.rowNode),this.setRowType(),this.addListeners()}initRowBusinessKey(){this.businessKeyForNodeFunc=this.gridOptionsService.get("getBusinessKeyForNode"),this.updateRowBusinessKey()}updateRowBusinessKey(){if("function"!=typeof this.businessKeyForNodeFunc)return;const e=this.businessKeyForNodeFunc(this.rowNode);this.businessKeySanitised=Et(e)}isSticky(){return this.rowNode.sticky}getBeans(){return this.beans}getInstanceId(){return this.instanceId}setComp(e,t,r){const i={rowComp:e,element:t,containerType:r};this.allRowGuis.push(i),r===Zs.LEFT?this.leftGui=i:r===Zs.RIGHT?this.rightGui=i:r===Zs.FULL_WIDTH?this.fullWidthGui=i:this.centerGui=i,this.initialiseRowComp(i),"FullWidthLoading"===this.rowType||this.rowNode.rowPinned||this.beans.rowRenderer.dispatchFirstDataRenderedEvent()}unsetComp(e){this.allRowGuis=this.allRowGuis.filter(t=>t.containerType!==e),e===Zs.LEFT?this.leftGui=void 0:e===Zs.RIGHT?this.rightGui=void 0:e===Zs.FULL_WIDTH&&(this.fullWidthGui=void 0)}isCacheable(){return this.rowType===Ls.FullWidthDetail&&this.gridOptionsService.is("keepDetailRows")}setCached(e){const t=e?"none":"";this.allRowGuis.forEach(e=>e.element.style.display=t)}initialiseRowComp(e){const t=this.gridOptionsService;this.listenOnDomOrder(e),this.onRowHeightChanged(e),this.updateRowIndexes(e),this.setFocusedClasses(e),this.setStylesFromGridOptions(e),t.isRowSelection()&&this.rowNode.selectable&&this.onRowSelected(e),this.updateColumnLists(!this.useAnimationFrameForCreate);const r=e.rowComp;r.setRole("row");this.getInitialRowClasses(e.containerType).forEach(e=>r.addOrRemoveCssClass(e,!0)),this.executeSlideAndFadeAnimations(e),this.rowNode.group&&yr(e.element,1==this.rowNode.expanded),this.setRowCompRowId(r),this.setRowCompRowBusinessKey(r),this.isFullWidth()&&!this.gridOptionsService.is("suppressCellFocus")&&r.setTabIndex(-1),t.setDomData(e.element,zs.DOM_DATA_KEY_ROW_CTRL,this),this.addDestroyFunc(()=>t.setDomData(e.element,zs.DOM_DATA_KEY_ROW_CTRL,null)),this.useAnimationFrameForCreate?this.beans.animationFrameService.createTask(this.addHoverFunctionality.bind(this,e.element),this.rowNode.rowIndex,"createTasksP2"):this.addHoverFunctionality(e.element),this.isFullWidth()&&this.setupFullWidth(e),t.is("rowDragEntireRow")&&this.addRowDraggerToRow(e),this.useAnimationFrameForCreate&&this.beans.animationFrameService.addDestroyTask(()=>{this.isAlive()&&e.rowComp.addOrRemoveCssClass("ag-after-created",!0)}),this.executeProcessRowPostCreateFunc()}setRowCompRowBusinessKey(e){null!=this.businessKeySanitised&&e.setRowBusinessKey(this.businessKeySanitised)}setRowCompRowId(e){const t=Et(this.rowNode.id);null!=t&&e.setRowId(t)}executeSlideAndFadeAnimations(e){const{containerType:t}=e;this.slideInAnimation[t]&&(oe(()=>{this.onTopChanged()}),this.slideInAnimation[t]=!1);this.fadeInAnimation[t]&&(oe(()=>{e.rowComp.addOrRemoveCssClass("ag-opacity-zero",!1)}),this.fadeInAnimation[t]=!1)}addRowDraggerToRow(e){if(this.gridOptionsService.isEnableRangeSelection())return void J(()=>{console.warn("AG Grid: Setting `rowDragEntireRow: true` in the gridOptions doesn't work with `enableRangeSelection: true`")},"rowDragAndRangeSelectionEnabled");const t=this.beans.localeService.getLocaleTextFunc(),r=new $a(()=>"1 "+t("rowDragRow","row"),this.rowNode,void 0,e.element,void 0,!0);this.createManagedBean(r,this.beans.context)}setupFullWidth(e){const t=this.getPinnedForContainer(e.containerType),r=this.createFullWidthParams(e.element,t);if(this.rowType==Ls.FullWidthDetail&&!pe.__assertRegistered(ue.MasterDetailModule,"cell renderer 'agDetailCellRenderer' (for master detail)",this.beans.context.getGridId()))return;let i;switch(this.rowType){case Ls.FullWidthDetail:i=this.beans.userComponentFactory.getFullWidthDetailCellRendererDetails(r);break;case Ls.FullWidthGroup:i=this.beans.userComponentFactory.getFullWidthGroupCellRendererDetails(r);break;case Ls.FullWidthLoading:i=this.beans.userComponentFactory.getFullWidthLoadingCellRendererDetails(r);break;default:i=this.beans.userComponentFactory.getFullWidthCellRendererDetails(r)}e.rowComp.showFullWidth(i)}isPrintLayout(){return this.printLayout}getFullWidthCellRenderer(){var e,t;return null===(t=null===(e=this.fullWidthGui)||void 0===e?void 0:e.rowComp)||void 0===t?void 0:t.getFullWidthCellRenderer()}getCellElement(e){const t=this.getCellCtrl(e);return t?t.getGui():null}executeProcessRowPostCreateFunc(){var e;const t=this.gridOptionsService.getCallback("processRowPostCreate");if(!t||!this.areAllContainersReady())return;t({eRow:null===(e=this.centerGui)||void 0===e?void 0:e.element,ePinnedLeftRow:this.leftGui?this.leftGui.element:void 0,ePinnedRightRow:this.rightGui?this.rightGui.element:void 0,node:this.rowNode,rowIndex:this.rowNode.rowIndex,addRenderedRowListener:this.addEventListener.bind(this)})}areAllContainersReady(){const e=!!this.leftGui||!this.beans.columnModel.isPinningLeft(),t=!!this.centerGui,r=!!this.rightGui||!this.beans.columnModel.isPinningRight();return e&&t&&r}setRowType(){const e=this.rowNode.stub,t=this.rowNode.isFullWidthCell(),r=this.beans.doingMasterDetail&&this.rowNode.detail,i=this.beans.columnModel.isPivotMode(),o=!!this.rowNode.group&&!this.rowNode.footer&&this.gridOptionsService.isGroupUseEntireRow(i);this.rowType=e?Ls.FullWidthLoading:r?Ls.FullWidthDetail:t?Ls.FullWidth:o?Ls.FullWidthGroup:Ls.Normal}updateColumnLists(e=!1,t=!1){if(this.isFullWidth())return;e||this.gridOptionsService.is("suppressAnimationFrame")||this.printLayout?this.updateColumnListsImpl(t):this.updateColumnListsPending||(this.beans.animationFrameService.createTask(()=>{this.active&&this.updateColumnListsImpl(!0)},this.rowNode.rowIndex,"createTasksP1"),this.updateColumnListsPending=!0)}createCellCtrls(e,t,r=null){const i={list:[],map:{}},o=(e,t)=>{i.list.push(t),i.map[e]=t};return t.forEach(t=>{const r=t.getInstanceId();let i=e.map[r];i||(i=new Ns(t,this.rowNode,this.beans,this)),o(r,i)}),e.list.forEach(e=>{if(null!=i.map[e.getColumn().getInstanceId()])return;this.isCellEligibleToBeRemoved(e,r)?e.destroy():o(e.getColumn().getInstanceId(),e)}),i}updateColumnListsImpl(e=!1){this.updateColumnListsPending=!1;const t=this.beans.columnModel;if(this.printLayout)this.centerCellCtrls=this.createCellCtrls(this.centerCellCtrls,t.getAllDisplayedColumns()),this.leftCellCtrls={list:[],map:{}},this.rightCellCtrls={list:[],map:{}};else{const e=t.getViewportCenterColumnsForRow(this.rowNode);this.centerCellCtrls=this.createCellCtrls(this.centerCellCtrls,e);const r=t.getDisplayedLeftColumnsForRow(this.rowNode);this.leftCellCtrls=this.createCellCtrls(this.leftCellCtrls,r,"left");const i=t.getDisplayedRightColumnsForRow(this.rowNode);this.rightCellCtrls=this.createCellCtrls(this.rightCellCtrls,i,"right")}this.allRowGuis.forEach(t=>{const r=t.containerType===Zs.LEFT?this.leftCellCtrls:t.containerType===Zs.RIGHT?this.rightCellCtrls:this.centerCellCtrls;t.rowComp.setCellCtrls(r.list,e)})}isCellEligibleToBeRemoved(e,t){if(e.getColumn().getPinned()!=t)return!0;const r=e.isEditing(),i=this.beans.focusService.isCellFocused(e.getCellPosition());if(r||i){const t=e.getColumn();return!(this.beans.columnModel.getAllDisplayedColumns().indexOf(t)>=0)}return!0}listenOnDomOrder(e){const t=()=>{const t=this.gridOptionsService.is("ensureDomOrder"),r=this.gridOptionsService.isDomLayout("print");e.rowComp.setDomOrder(t||r)};this.addManagedPropertyListener("domLayout",t),t()}setAnimateFlags(e){if(this.isSticky()||!e)return;const t=S(this.rowNode.oldRowTop),r=this.beans.columnModel.isPinningLeft(),i=this.beans.columnModel.isPinningRight();t?(this.slideInAnimation.center=!0,this.slideInAnimation.left=r,this.slideInAnimation.right=i):(this.fadeInAnimation.center=!0,this.fadeInAnimation.left=r,this.fadeInAnimation.right=i)}isEditing(){return this.editingRow}stopRowEditing(e){this.stopEditing(e)}isFullWidth(){return this.rowType!==Ls.Normal}getRowType(){return this.rowType}refreshFullWidth(){const e=(e,t)=>{if(!e)return!0;const r=e.rowComp.getFullWidthCellRenderer();if(!r)return!1;if(!r.refresh)return!1;const i=this.createFullWidthParams(e.element,t);return r.refresh(i)},t=e(this.fullWidthGui,null),r=e(this.centerGui,null),i=e(this.leftGui,"left"),o=e(this.rightGui,"right");return t&&r&&i&&o}addListeners(){this.addManagedListener(this.rowNode,ja.EVENT_HEIGHT_CHANGED,()=>this.onRowHeightChanged()),this.addManagedListener(this.rowNode,ja.EVENT_ROW_SELECTED,()=>this.onRowSelected()),this.addManagedListener(this.rowNode,ja.EVENT_ROW_INDEX_CHANGED,this.onRowIndexChanged.bind(this)),this.addManagedListener(this.rowNode,ja.EVENT_TOP_CHANGED,this.onTopChanged.bind(this)),this.addManagedListener(this.rowNode,ja.EVENT_EXPANDED_CHANGED,this.updateExpandedCss.bind(this)),this.addManagedListener(this.rowNode,ja.EVENT_HAS_CHILDREN_CHANGED,this.updateExpandedCss.bind(this)),this.addManagedListener(this.rowNode,ja.EVENT_DATA_CHANGED,this.onRowNodeDataChanged.bind(this)),this.addManagedListener(this.rowNode,ja.EVENT_CELL_CHANGED,this.onRowNodeCellChanged.bind(this)),this.addManagedListener(this.rowNode,ja.EVENT_HIGHLIGHT_CHANGED,this.onRowNodeHighlightChanged.bind(this)),this.addManagedListener(this.rowNode,ja.EVENT_DRAGGING_CHANGED,this.onRowNodeDraggingChanged.bind(this)),this.addManagedListener(this.rowNode,ja.EVENT_UI_LEVEL_CHANGED,this.onUiLevelChanged.bind(this));const e=this.beans.eventService;this.addManagedListener(e,ht.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED,this.onPaginationPixelOffsetChanged.bind(this)),this.addManagedListener(e,ht.EVENT_HEIGHT_SCALE_CHANGED,this.onTopChanged.bind(this)),this.addManagedListener(e,ht.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(e,ht.EVENT_VIRTUAL_COLUMNS_CHANGED,this.onVirtualColumnsChanged.bind(this)),this.addManagedListener(e,ht.EVENT_CELL_FOCUSED,this.onCellFocused.bind(this)),this.addManagedListener(e,ht.EVENT_CELL_FOCUS_CLEARED,this.onCellFocusCleared.bind(this)),this.addManagedListener(e,ht.EVENT_PAGINATION_CHANGED,this.onPaginationChanged.bind(this)),this.addManagedListener(e,ht.EVENT_MODEL_UPDATED,this.onModelUpdated.bind(this)),this.addManagedListener(e,ht.EVENT_COLUMN_MOVED,this.onColumnMoved.bind(this)),this.addListenersForCellComps()}onColumnMoved(){this.updateColumnLists()}addListenersForCellComps(){this.addManagedListener(this.rowNode,ja.EVENT_ROW_INDEX_CHANGED,()=>{this.getAllCellCtrls().forEach(e=>e.onRowIndexChanged())}),this.addManagedListener(this.rowNode,ja.EVENT_CELL_CHANGED,e=>{this.getAllCellCtrls().forEach(t=>t.onCellChanged(e))})}onRowNodeDataChanged(e){this.rowNode.detailNode&&this.beans.rowRenderer.refreshFullWidthRow(this.rowNode.detailNode),this.isFullWidth()?this.beans.rowRenderer.refreshFullWidthRow(this.rowNode):(this.getAllCellCtrls().forEach(t=>t.refreshCell({suppressFlash:!e.update,newData:!e.update})),this.allRowGuis.forEach(e=>{this.setRowCompRowId(e.rowComp),this.updateRowBusinessKey(),this.setRowCompRowBusinessKey(e.rowComp)}),this.onRowSelected(),this.postProcessCss())}onRowNodeCellChanged(){this.postProcessCss()}postProcessCss(){this.setStylesFromGridOptions(),this.postProcessClassesFromGridOptions(),this.postProcessRowClassRules(),this.postProcessRowDragging()}onRowNodeHighlightChanged(){const e=this.rowNode.highlighted;this.allRowGuis.forEach(t=>{const r=e===Qn.Above,i=e===Qn.Below;t.rowComp.addOrRemoveCssClass("ag-row-highlight-above",r),t.rowComp.addOrRemoveCssClass("ag-row-highlight-below",i)})}onRowNodeDraggingChanged(){this.postProcessRowDragging()}postProcessRowDragging(){const e=this.rowNode.dragging;this.allRowGuis.forEach(t=>t.rowComp.addOrRemoveCssClass("ag-row-dragging",e))}updateExpandedCss(){const e=this.rowNode.isExpandable(),t=1==this.rowNode.expanded;this.allRowGuis.forEach(r=>{r.rowComp.addOrRemoveCssClass("ag-row-group",e),r.rowComp.addOrRemoveCssClass("ag-row-group-expanded",e&&t),r.rowComp.addOrRemoveCssClass("ag-row-group-contracted",e&&!t),yr(r.element,e&&t)})}onDisplayedColumnsChanged(){this.updateColumnLists(!0),this.beans.columnModel.wasAutoRowHeightEverActive()&&this.rowNode.checkAutoHeights()}onVirtualColumnsChanged(){this.updateColumnLists(!1,!0)}getRowPosition(){return{rowPinned:y(this.rowNode.rowPinned),rowIndex:this.rowNode.rowIndex}}onKeyboardNavigate(e){const t=this.allRowGuis.find(t=>t.element.contains(e.target));if(!((t?t.element:null)===e.target))return;const r=this.rowNode,i=this.beans.focusService.getFocusedCell(),o={rowIndex:r.rowIndex,rowPinned:r.rowPinned,column:i&&i.column};this.beans.navigationService.navigateToNextCell(e,e.key,o,!0),e.preventDefault()}onTabKeyDown(e){if(e.defaultPrevented||et(e))return;const t=this.allRowGuis.find(t=>t.element.contains(e.target)),r=t?t.element:null,i=r===e.target;let o=null;i||(o=this.beans.focusService.findNextFocusableElement(r,!1,e.shiftKey)),(this.isFullWidth()&&i||!o)&&this.beans.navigationService.onTabKeyDown(this,e)}onFullWidthRowFocused(e){var t;const r=this.rowNode,i=!!e&&(this.isFullWidth()&&e.rowIndex===r.rowIndex&&e.rowPinned==r.rowPinned),o=this.fullWidthGui?this.fullWidthGui.element:null===(t=this.centerGui)||void 0===t?void 0:t.element;o&&(o.classList.toggle("ag-full-width-focus",i),i&&o.focus({preventScroll:!0}))}refreshCell(e){this.centerCellCtrls=this.removeCellCtrl(this.centerCellCtrls,e),this.leftCellCtrls=this.removeCellCtrl(this.leftCellCtrls,e),this.rightCellCtrls=this.removeCellCtrl(this.rightCellCtrls,e),this.updateColumnLists()}removeCellCtrl(e,t){const r={list:[],map:{}};return e.list.forEach(e=>{e!==t&&(r.list.push(e),r.map[e.getInstanceId()]=e)}),r}onMouseEvent(e,t){switch(e){case"dblclick":this.onRowDblClick(t);break;case"click":this.onRowClick(t);break;case"touchstart":case"mousedown":this.onRowMouseDown(t)}}createRowEvent(e,t){return{type:e,node:this.rowNode,data:this.rowNode.data,rowIndex:this.rowNode.rowIndex,rowPinned:this.rowNode.rowPinned,context:this.gridOptionsService.context,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,event:t}}createRowEventWithSource(e,t){const r=this.createRowEvent(e,t);return r.source=this,r}onRowDblClick(e){if(et(e))return;const t=this.createRowEventWithSource(ht.EVENT_ROW_DOUBLE_CLICKED,e);this.beans.eventService.dispatchEvent(t)}onRowMouseDown(e){if(this.lastMouseDownOnDragger=wi(e.target,"ag-row-drag",3),!this.isFullWidth())return;const t=this.rowNode,r=this.beans.columnModel;this.beans.rangeService&&this.beans.rangeService.removeAllCellRanges(),this.beans.focusService.setFocusedCell({rowIndex:t.rowIndex,column:r.getAllDisplayedColumns()[0],rowPinned:t.rowPinned,forceBrowserFocus:!0})}onRowClick(e){if(et(e)||this.lastMouseDownOnDragger)return;const t=this.createRowEventWithSource(ht.EVENT_ROW_CLICKED,e);this.beans.eventService.dispatchEvent(t);const r=e.ctrlKey||e.metaKey,i=e.shiftKey;if(this.gridOptionsService.is("groupSelectsChildren")&&this.rowNode.group||!this.rowNode.selectable||this.rowNode.rowPinned||!this.gridOptionsService.isRowSelection()||this.gridOptionsService.is("suppressRowClickSelection"))return;const o=this.gridOptionsService.is("rowMultiSelectWithClick"),a=!this.gridOptionsService.is("suppressRowDeselection"),n="rowClicked";if(this.rowNode.isSelected())o?this.rowNode.setSelectedParams({newValue:!1,event:e,source:n}):r?a&&this.rowNode.setSelectedParams({newValue:!1,event:e,source:n}):this.rowNode.setSelectedParams({newValue:!0,clearSelection:!i,rangeSelect:i,event:e,source:n});else{const t=!o&&!r;this.rowNode.setSelectedParams({newValue:!0,clearSelection:t,rangeSelect:i,event:e,source:n})}}setupDetailRowAutoHeight(e){if(this.rowType!==Ls.FullWidthDetail)return;if(!this.gridOptionsService.is("detailRowAutoHeight"))return;const t=()=>{const t=e.clientHeight;if(null!=t&&t>0){const e=()=>{this.rowNode.setRowHeight(t),this.beans.clientSideRowModel?this.beans.clientSideRowModel.onRowHeightChanged():this.beans.serverSideRowModel&&this.beans.serverSideRowModel.onRowHeightChanged()};this.beans.frameworkOverrides.setTimeout(e,0)}},r=this.beans.resizeObserverService.observeResize(e,t);this.addDestroyFunc(r),t()}createFullWidthParams(e,t){return{fullWidth:!0,data:this.rowNode.data,node:this.rowNode,value:this.rowNode.key,valueFormatted:this.rowNode.key,rowIndex:this.rowNode.rowIndex,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context,eGridCell:e,eParentOfValue:e,pinned:t,addRenderedRowListener:this.addEventListener.bind(this),registerRowDragger:(e,t,r,i)=>this.addFullWidthRowDragging(e,t,r,i)}}addFullWidthRowDragging(e,t,r="",i){if(!this.isFullWidth())return;const o=new $a(()=>r,this.rowNode,void 0,e,t,i);this.createManagedBean(o,this.beans.context)}onUiLevelChanged(){const e=this.beans.rowCssClassCalculator.calculateRowLevel(this.rowNode);if(this.rowLevel!=e){const t="ag-row-level-"+e,r="ag-row-level-"+this.rowLevel;this.allRowGuis.forEach(e=>{e.rowComp.addOrRemoveCssClass(t,!0),e.rowComp.addOrRemoveCssClass(r,!1)})}this.rowLevel=e}isFirstRowOnPage(){return this.rowNode.rowIndex===this.beans.paginationProxy.getPageFirstRow()}isLastRowOnPage(){return this.rowNode.rowIndex===this.beans.paginationProxy.getPageLastRow()}onModelUpdated(){this.refreshFirstAndLastRowStyles()}refreshFirstAndLastRowStyles(){const e=this.isFirstRowOnPage(),t=this.isLastRowOnPage();this.firstRowOnPage!==e&&(this.firstRowOnPage=e,this.allRowGuis.forEach(t=>t.rowComp.addOrRemoveCssClass("ag-row-first",e))),this.lastRowOnPage!==t&&(this.lastRowOnPage=t,this.allRowGuis.forEach(e=>e.rowComp.addOrRemoveCssClass("ag-row-last",t)))}stopEditing(e=!1){if(this.stoppingRowEdit)return;const t=this.getAllCellCtrls(),r=this.editingRow;this.stoppingRowEdit=!0;let i=!1;for(const o of t){const t=o.stopEditing(e);r&&!e&&!i&&t&&(i=!0)}if(i){const e=this.createRowEvent(ht.EVENT_ROW_VALUE_CHANGED);this.beans.eventService.dispatchEvent(e)}r&&this.setEditingRow(!1),this.stoppingRowEdit=!1}setInlineEditingCss(e){this.allRowGuis.forEach(t=>{t.rowComp.addOrRemoveCssClass("ag-row-inline-editing",e),t.rowComp.addOrRemoveCssClass("ag-row-not-inline-editing",!e)})}setEditingRow(e){this.editingRow=e,this.allRowGuis.forEach(t=>t.rowComp.addOrRemoveCssClass("ag-row-editing",e));const t=e?this.createRowEvent(ht.EVENT_ROW_EDITING_STARTED):this.createRowEvent(ht.EVENT_ROW_EDITING_STOPPED);this.beans.eventService.dispatchEvent(t)}startRowEditing(e=null,t=null,r=null){if(this.editingRow)return;this.getAllCellCtrls().reduce((i,o)=>{const a=o===t;return a?o.startEditing(e,a,r):o.startEditing(null,a,r),!!i||o.isEditing()},!1)&&this.setEditingRow(!0)}getAllCellCtrls(){if(0===this.leftCellCtrls.list.length&&0===this.rightCellCtrls.list.length)return this.centerCellCtrls.list;return[...this.centerCellCtrls.list,...this.leftCellCtrls.list,...this.rightCellCtrls.list]}postProcessClassesFromGridOptions(){const e=this.beans.rowCssClassCalculator.processClassesFromGridOptions(this.rowNode);e&&e.length&&e.forEach(e=>{this.allRowGuis.forEach(t=>t.rowComp.addOrRemoveCssClass(e,!0))})}postProcessRowClassRules(){this.beans.rowCssClassCalculator.processRowClassRules(this.rowNode,e=>{this.allRowGuis.forEach(t=>t.rowComp.addOrRemoveCssClass(e,!0))},e=>{this.allRowGuis.forEach(t=>t.rowComp.addOrRemoveCssClass(e,!1))})}setStylesFromGridOptions(e){const t=this.processStylesFromGridOptions();this.forEachGui(e,e=>e.rowComp.setUserStyles(t))}getPinnedForContainer(e){return e===Zs.LEFT?"left":e===Zs.RIGHT?"right":null}getInitialRowClasses(e){const t=this.getPinnedForContainer(e),r={rowNode:this.rowNode,rowFocused:this.rowFocused,fadeRowIn:this.fadeInAnimation[e],rowIsEven:this.rowNode.rowIndex%2==0,rowLevel:this.rowLevel,fullWidthRow:this.isFullWidth(),firstRowOnPage:this.isFirstRowOnPage(),lastRowOnPage:this.isLastRowOnPage(),printLayout:this.printLayout,expandable:this.rowNode.isExpandable(),pinned:t};return this.beans.rowCssClassCalculator.getInitialRowClasses(r)}processStylesFromGridOptions(){const e=this.gridOptionsService.get("rowStyle");if(e&&"function"==typeof e)return void console.warn("AG Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead");const t=this.gridOptionsService.getCallback("getRowStyle");let r;if(t){r=t({data:this.rowNode.data,node:this.rowNode,rowIndex:this.rowNode.rowIndex})}return Object.assign({},e,r)}onRowSelected(e){const t=!!this.rowNode.isSelected();this.forEachGui(e,e=>{e.rowComp.addOrRemoveCssClass("ag-row-selected",t),Lr(e.element,!!t||void 0);const r=this.createAriaLabel();pr(e.element,null==r?"":r)})}createAriaLabel(){const e=this.rowNode.isSelected();if(e&&this.gridOptionsService.is("suppressRowDeselection"))return;return this.beans.localeService.getLocaleTextFunc()(e?"ariaRowDeselect":"ariaRowSelect",`Press SPACE to ${e?"deselect":"select"} this row.`)}isUseAnimationFrameForCreate(){return this.useAnimationFrameForCreate}addHoverFunctionality(e){this.active&&(this.addManagedListener(e,"mouseenter",()=>this.rowNode.onMouseEnter()),this.addManagedListener(e,"mouseleave",()=>this.rowNode.onMouseLeave()),this.addManagedListener(this.rowNode,ja.EVENT_MOUSE_ENTER,()=>{this.beans.dragService.isDragging()||this.gridOptionsService.is("suppressRowHoverHighlight")||(e.classList.add("ag-row-hover"),this.rowNode.setHovered(!0))}),this.addManagedListener(this.rowNode,ja.EVENT_MOUSE_LEAVE,()=>{e.classList.remove("ag-row-hover"),this.rowNode.setHovered(!1)}))}roundRowTopToBounds(e){const t=this.beans.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition(),r=this.applyPaginationOffset(t.top,!0)-100,i=this.applyPaginationOffset(t.bottom,!0)+100;return Math.min(Math.max(r,e),i)}getFrameworkOverrides(){return this.beans.frameworkOverrides}forEachGui(e,t){(e?[e]:this.allRowGuis).forEach(t)}onRowHeightChanged(e){if(null==this.rowNode.rowHeight)return;const t=this.rowNode.rowHeight,r=this.beans.environment.getDefaultRowHeight(),i=this.gridOptionsService.isGetRowHeightFunction()?this.gridOptionsService.getRowHeightForNode(this.rowNode).height:void 0,o=i?Math.min(r,i)-2+"px":void 0;this.forEachGui(e,e=>{e.element.style.height=t+"px",o&&e.element.style.setProperty("--ag-line-height",o)})}addEventListener(e,t){super.addEventListener(e,t)}removeEventListener(e,t){super.removeEventListener(e,t)}destroyFirstPass(){this.active=!1,this.gridOptionsService.isAnimateRows()&&this.setupRemoveAnimation(),this.rowNode.setHovered(!1);const e=this.createRowEvent(ht.EVENT_VIRTUAL_ROW_REMOVED);this.dispatchEvent(e),this.beans.eventService.dispatchEvent(e),super.destroy()}setupRemoveAnimation(){if(this.isSticky())return;if(null!=this.rowNode.rowTop){const e=this.roundRowTopToBounds(this.rowNode.rowTop);this.setRowTop(e)}else this.allRowGuis.forEach(e=>e.rowComp.addOrRemoveCssClass("ag-opacity-zero",!0))}destroySecondPass(){this.allRowGuis.length=0;const e=e=>(e.list.forEach(e=>e.destroy()),{list:[],map:{}});this.centerCellCtrls=e(this.centerCellCtrls),this.leftCellCtrls=e(this.leftCellCtrls),this.rightCellCtrls=e(this.rightCellCtrls)}setFocusedClasses(e){this.forEachGui(e,e=>{e.rowComp.addOrRemoveCssClass("ag-row-focus",this.rowFocused),e.rowComp.addOrRemoveCssClass("ag-row-no-focus",!this.rowFocused)})}onCellFocused(){this.onCellFocusChanged()}onCellFocusCleared(){this.onCellFocusChanged()}onCellFocusChanged(){const e=this.beans.focusService.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned);e!==this.rowFocused&&(this.rowFocused=e,this.setFocusedClasses()),!e&&this.editingRow&&this.stopEditing(!1)}onPaginationChanged(){const e=this.beans.paginationProxy.getCurrentPage();this.paginationPage!==e&&(this.paginationPage=e,this.onTopChanged()),this.refreshFirstAndLastRowStyles()}onTopChanged(){this.setRowTop(this.rowNode.rowTop)}onPaginationPixelOffsetChanged(){this.onTopChanged()}applyPaginationOffset(e,t=!1){if(this.rowNode.isRowPinned()||this.rowNode.sticky)return e;return e+this.beans.paginationProxy.getPixelOffset()*(t?1:-1)}setRowTop(e){if(!this.printLayout&&S(e)){const t=this.applyPaginationOffset(e),r=(this.rowNode.isRowPinned()||this.rowNode.sticky?t:this.beans.rowContainerHeightService.getRealPixelPosition(t))+"px";this.setRowTopStyle(r)}}getInitialRowTop(e){return this.gridOptionsService.is("suppressRowTransform")?this.getInitialRowTopShared(e):void 0}getInitialTransform(e){return this.gridOptionsService.is("suppressRowTransform")?void 0:`translateY(${this.getInitialRowTopShared(e)})`}getInitialRowTopShared(e){if(this.printLayout)return"";let t;if(this.isSticky())t=this.rowNode.stickyRowTop;else{const r=this.slideInAnimation[e]?this.roundRowTopToBounds(this.rowNode.oldRowTop):this.rowNode.rowTop,i=this.applyPaginationOffset(r);t=this.rowNode.isRowPinned()?i:this.beans.rowContainerHeightService.getRealPixelPosition(i)}return t+"px"}setRowTopStyle(e){const t=this.gridOptionsService.is("suppressRowTransform");this.allRowGuis.forEach(r=>t?r.rowComp.setTop(e):r.rowComp.setTransform(`translateY(${e})`))}getRowNode(){return this.rowNode}getCellCtrl(e){let t=null;return this.getAllCellCtrls().forEach(r=>{r.getColumn()==e&&(t=r)}),null!=t||this.getAllCellCtrls().forEach(r=>{r.getColSpanningList().indexOf(e)>=0&&(t=r)}),t}onRowIndexChanged(){null!=this.rowNode.rowIndex&&(this.onCellFocusChanged(),this.updateRowIndexes(),this.postProcessCss())}updateRowIndexes(e){const t=this.rowNode.getRowIndexString(),r=this.beans.headerNavigationService.getHeaderRowCount(),i=this.rowNode.rowIndex%2==0,o=r+this.rowNode.rowIndex+1;this.forEachGui(e,e=>{e.rowComp.setRowIndex(t),e.rowComp.addOrRemoveCssClass("ag-row-even",i),e.rowComp.addOrRemoveCssClass("ag-row-odd",!i),Dr(e.element,o)})}getPinnedLeftRowElement(){return this.leftGui?this.leftGui.element:void 0}getPinnedRightRowElement(){return this.rightGui?this.rightGui.element:void 0}getBodyRowElement(){return this.centerGui?this.centerGui.element:void 0}getFullWidthRowElement(){return this.fullWidthGui?this.fullWidthGui.element:void 0}}zs.DOM_DATA_KEY_ROW_CTRL="renderedRow";var Fs=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class ks extends lt{constructor(e){super(),this.element=e}postConstruct(){this.addKeyboardListeners(),this.addMouseListeners(),this.mockContextMenuForIPad()}addKeyboardListeners(){const e=this.processKeyboardEvent.bind(this,"keydown");this.addManagedListener(this.element,"keydown",e)}addMouseListeners(){["dblclick","contextmenu","mouseover","mouseout","click",tt("touchstart")?"touchstart":"mousedown"].forEach(e=>{const t=this.processMouseEvent.bind(this,e);this.addManagedListener(this.element,e,t)})}processMouseEvent(e,t){if(!this.mouseEventService.isEventFromThisGrid(t)||et(t))return;const r=this.getRowForEvent(t),i=this.mouseEventService.getRenderedCellForEvent(t);"contextmenu"===e?this.handleContextMenuMouseEvent(t,null,r,i):(i&&i.onMouseEvent(e,t),r&&r.onMouseEvent(e,t))}mockContextMenuForIPad(){if(!Br())return;const e=new Ea(this.element);this.addManagedListener(e,Ea.EVENT_LONG_TAP,e=>{const t=this.getRowForEvent(e.touchEvent),r=this.mouseEventService.getRenderedCellForEvent(e.touchEvent);this.handleContextMenuMouseEvent(null,e.touchEvent,t,r)}),this.addDestroyFunc(()=>e.destroy())}getRowForEvent(e){let t=e.target;for(;t;){const e=this.gridOptionsService.getDomData(t,zs.DOM_DATA_KEY_ROW_CTRL);if(e)return e;t=t.parentElement}return null}handleContextMenuMouseEvent(e,t,r,i){const o=r?r.getRowNode():null,a=i?i.getColumn():null;let n=null;if(a){const r=e||t;i.dispatchCellContextMenuEvent(r),n=this.valueService.getValue(a,o)}const s=this.ctrlsService.getGridBodyCtrl(),l=i?i.getGui():s.getGridBodyElement();this.contextMenuFactory&&this.contextMenuFactory.onContextMenu(e,t,o,a,n,l)}getControlsForEventTarget(e){return{cellCtrl:rt(this.gridOptionsService,e,Ns.DOM_DATA_KEY_CELL_CTRL),rowCtrl:rt(this.gridOptionsService,e,zs.DOM_DATA_KEY_ROW_CTRL)}}processKeyboardEvent(e,t){const{cellCtrl:r,rowCtrl:i}=this.getControlsForEventTarget(t.target);t.defaultPrevented||(r?this.processCellKeyboardEvent(r,e,t):i&&i.isFullWidth()&&this.processFullWidthRowKeyboardEvent(i,e,t))}processCellKeyboardEvent(e,t,r){const i=e.getRowNode(),o=e.getColumn(),a=e.isEditing();if(!ao(this.gridOptionsService,r,i,o,a)&&"keydown"===t){!a&&this.navigationService.handlePageScrollingKey(r)||e.onKeyDown(r),this.doGridOperations(r,e.isEditing()),oo(r)&&e.processCharacter(r)}if("keydown"===t){const t=e.createEvent(r,ht.EVENT_CELL_KEY_DOWN);this.eventService.dispatchEvent(t)}}processFullWidthRowKeyboardEvent(e,t,r){const i=e.getRowNode(),o=this.focusService.getFocusedCell(),a=o&&o.column;if(!ao(this.gridOptionsService,r,i,a,!1)){const i=r.key;if("keydown"===t)switch(i){case io.PAGE_HOME:case io.PAGE_END:case io.PAGE_UP:case io.PAGE_DOWN:this.navigationService.handlePageScrollingKey(r,!0);break;case io.UP:case io.DOWN:e.onKeyboardNavigate(r);break;case io.TAB:e.onTabKeyDown(r)}}if("keydown"===t){const t=e.createRowEvent(ht.EVENT_CELL_KEY_DOWN,r);this.eventService.dispatchEvent(t)}}doGridOperations(e,t){if(!e.ctrlKey&&!e.metaKey)return;if(t)return;if(!this.mouseEventService.isEventFromThisGrid(e))return;const r=so(e);return r===io.A?this.onCtrlAndA(e):r===io.C?this.onCtrlAndC(e):r===io.D?this.onCtrlAndD(e):r===io.V?this.onCtrlAndV(e):r===io.X?this.onCtrlAndX(e):r===io.Y?this.onCtrlAndY():r===io.Z?this.onCtrlAndZ(e):void 0}onCtrlAndA(e){const{pinnedRowModel:t,paginationProxy:r,rangeService:i}=this;if(i&&r.isRowsToRender()){const[e,r]=[t.isEmpty("top"),t.isEmpty("bottom")],o=e?null:"top";let a,n;r?(a=null,n=this.paginationProxy.getRowCount()-1):(a="bottom",n=t.getPinnedBottomRowData().length-1);const s=this.columnModel.getAllDisplayedColumns();if(R(s))return;i.setCellRange({rowStartIndex:0,rowStartPinned:o,rowEndIndex:n,rowEndPinned:a,columnStart:s[0],columnEnd:Fe(s)})}e.preventDefault()}onCtrlAndC(e){if(!this.clipboardService||this.gridOptionsService.is("enableCellTextSelection"))return;const{cellCtrl:t,rowCtrl:r}=this.getControlsForEventTarget(e.target);(null==t?void 0:t.isEditing())||(null==r?void 0:r.isEditing())||(e.preventDefault(),this.clipboardService.copyToClipboard())}onCtrlAndX(e){if(!this.clipboardService||this.gridOptionsService.is("enableCellTextSelection")||this.gridOptionsService.is("suppressCutToClipboard"))return;const{cellCtrl:t,rowCtrl:r}=this.getControlsForEventTarget(e.target);(null==t?void 0:t.isEditing())||(null==r?void 0:r.isEditing())||(e.preventDefault(),this.clipboardService.cutToClipboard(void 0,"ui"))}onCtrlAndV(e){const{cellCtrl:t,rowCtrl:r}=this.getControlsForEventTarget(e.target);(null==t?void 0:t.isEditing())||(null==r?void 0:r.isEditing())||this.clipboardService&&!this.gridOptionsService.is("suppressClipboardPaste")&&this.clipboardService.pasteFromClipboard()}onCtrlAndD(e){this.clipboardService&&!this.gridOptionsService.is("suppressClipboardPaste")&&this.clipboardService.copyRangeDown(),e.preventDefault()}onCtrlAndZ(e){this.gridOptionsService.is("undoRedoCellEditing")&&(e.preventDefault(),e.shiftKey?this.undoRedoService.redo("ui"):this.undoRedoService.undo("ui"))}onCtrlAndY(){this.undoRedoService.redo("ui")}}Fs([Ce("mouseEventService")],ks.prototype,"mouseEventService",void 0),Fs([Ce("valueService")],ks.prototype,"valueService",void 0),Fs([be("contextMenuFactory")],ks.prototype,"contextMenuFactory",void 0),Fs([Ce("ctrlsService")],ks.prototype,"ctrlsService",void 0),Fs([Ce("navigationService")],ks.prototype,"navigationService",void 0),Fs([Ce("focusService")],ks.prototype,"focusService",void 0),Fs([Ce("undoRedoService")],ks.prototype,"undoRedoService",void 0),Fs([Ce("columnModel")],ks.prototype,"columnModel",void 0),Fs([Ce("paginationProxy")],ks.prototype,"paginationProxy",void 0),Fs([Ce("pinnedRowModel")],ks.prototype,"pinnedRowModel",void 0),Fs([be("rangeService")],ks.prototype,"rangeService",void 0),Fs([be("clipboardService")],ks.prototype,"clipboardService",void 0),Fs([fe],ks.prototype,"postConstruct",null);var Gs=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Hs extends lt{constructor(e){super(),this.centerContainerCtrl=e}postConstruct(){this.ctrlsService.whenReady(()=>{this.gridBodyCtrl=this.ctrlsService.getGridBodyCtrl(),this.listenForResize()}),this.addManagedListener(this.eventService,ht.EVENT_SCROLLBAR_WIDTH_CHANGED,this.onScrollbarWidthChanged.bind(this))}listenForResize(){const e=()=>this.onCenterViewportResized();this.centerContainerCtrl.registerViewportResizeListener(e),this.gridBodyCtrl.registerBodyViewportResizeListener(e)}onScrollbarWidthChanged(){this.checkViewportAndScrolls()}onCenterViewportResized(){if(this.centerContainerCtrl.isViewportVisible()){this.checkViewportAndScrolls();const e=this.centerContainerCtrl.getCenterWidth();e!==this.centerWidth&&(this.centerWidth=e,this.columnModel.refreshFlexedColumns({viewportWidth:this.centerWidth,updateBodyWidths:!0,fireResizedEvent:!0}))}else this.bodyHeight=0}checkViewportAndScrolls(){this.updateScrollVisibleService(),this.checkBodyHeight(),this.onHorizontalViewportChanged(),this.gridBodyCtrl.getScrollFeature().checkScrollLeft()}getBodyHeight(){return this.bodyHeight}checkBodyHeight(){const e=bi(this.gridBodyCtrl.getBodyViewportElement());if(this.bodyHeight!==e){this.bodyHeight=e;const t={type:ht.EVENT_BODY_HEIGHT_CHANGED};this.eventService.dispatchEvent(t)}}updateScrollVisibleService(){this.updateScrollVisibleServiceImpl(),setTimeout(this.updateScrollVisibleServiceImpl.bind(this),500)}updateScrollVisibleServiceImpl(){const e={horizontalScrollShowing:this.isHorizontalScrollShowing(),verticalScrollShowing:this.gridBodyCtrl.isVerticalScrollShowing()};this.scrollVisibleService.setScrollsVisible(e)}isHorizontalScrollShowing(){return this.centerContainerCtrl.isHorizontalScrollShowing()}onHorizontalViewportChanged(){const e=this.centerContainerCtrl.getCenterWidth(),t=this.centerContainerCtrl.getViewportScrollLeft();this.columnModel.setViewportPosition(e,t)}}Gs([Ce("ctrlsService")],Hs.prototype,"ctrlsService",void 0),Gs([Ce("columnModel")],Hs.prototype,"columnModel",void 0),Gs([Ce("scrollVisibleService")],Hs.prototype,"scrollVisibleService",void 0),Gs([fe],Hs.prototype,"postConstruct",null);var Vs=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class _s extends lt{constructor(e){super(),this.element=e}postConstruct(){this.addManagedListener(this.eventService,ht.EVENT_LEFT_PINNED_WIDTH_CHANGED,this.onPinnedLeftWidthChanged.bind(this))}onPinnedLeftWidthChanged(){const e=this.pinnedWidthService.getPinnedLeftWidth(),t=e>0;vi(this.element,t),Ui(this.element,e)}getWidth(){return this.pinnedWidthService.getPinnedLeftWidth()}}Vs([Ce("pinnedWidthService")],_s.prototype,"pinnedWidthService",void 0),Vs([fe],_s.prototype,"postConstruct",null);var Bs=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class js extends lt{constructor(e){super(),this.element=e}postConstruct(){this.addManagedListener(this.eventService,ht.EVENT_RIGHT_PINNED_WIDTH_CHANGED,this.onPinnedRightWidthChanged.bind(this))}onPinnedRightWidthChanged(){const e=this.pinnedWidthService.getPinnedRightWidth(),t=e>0;vi(this.element,t),Ui(this.element,e)}getWidth(){return this.pinnedWidthService.getPinnedRightWidth()}}Bs([Ce("pinnedWidthService")],js.prototype,"pinnedWidthService",void 0),Bs([fe],js.prototype,"postConstruct",null);var Ws=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Us extends lt{constructor(e,t){super(),this.eContainer=e,this.eWrapper=t}postConstruct(){this.addManagedListener(this.eventService,ht.EVENT_ROW_CONTAINER_HEIGHT_CHANGED,this.onHeightChanged.bind(this))}onHeightChanged(){const e=this.maxDivHeightScaler.getUiContainerHeight(),t=null!=e?e+"px":"";this.eContainer.style.height=t,this.eWrapper&&(this.eWrapper.style.height=t)}}Ws([Ce("rowContainerHeightService")],Us.prototype,"maxDivHeightScaler",void 0),Ws([fe],Us.prototype,"postConstruct",null);var Ks=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Ys extends lt{constructor(e){super(),this.eContainer=e}postConstruct(){if(!this.gridOptionsService.isEnableRangeSelection()||E(this.rangeService))return;const e={eElement:this.eContainer,onDragStart:this.rangeService.onDragStart.bind(this.rangeService),onDragStop:this.rangeService.onDragStop.bind(this.rangeService),onDragging:this.rangeService.onDragging.bind(this.rangeService)};this.dragService.addDragSource(e),this.addDestroyFunc(()=>this.dragService.removeDragSource(e))}}Ks([be("rangeService")],Ys.prototype,"rangeService",void 0),Ks([Ce("dragService")],Ys.prototype,"dragService",void 0),Ks([fe],Ys.prototype,"postConstruct",null);var qs=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Qs extends lt{constructor(e,t=!1){super(),this.callback=e,this.addSpacer=t}postConstruct(){const e=this.setWidth.bind(this);this.addManagedPropertyListener("domLayout",e),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_CHANGED,e),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,e),this.addManagedListener(this.eventService,ht.EVENT_LEFT_PINNED_WIDTH_CHANGED,e),this.addSpacer&&(this.addManagedListener(this.eventService,ht.EVENT_RIGHT_PINNED_WIDTH_CHANGED,e),this.addManagedListener(this.eventService,ht.EVENT_SCROLL_VISIBILITY_CHANGED,e),this.addManagedListener(this.eventService,ht.EVENT_SCROLLBAR_WIDTH_CHANGED,e)),this.setWidth()}setWidth(){const{columnModel:e}=this,t=this.gridOptionsService.isDomLayout("print"),r=e.getBodyContainerWidth(),i=e.getDisplayedColumnsLeftWidth(),o=e.getDisplayedColumnsRightWidth();let a;if(t)a=r+i+o;else if(a=r,this.addSpacer){0===(this.gridOptionsService.is("enableRtl")?i:o)&&this.scrollVisibleService.isVerticalScrollShowing()&&(a+=this.gridOptionsService.getScrollbarWidth())}this.callback(a)}}qs([Ce("columnModel")],Qs.prototype,"columnModel",void 0),qs([Ce("scrollVisibleService")],Qs.prototype,"scrollVisibleService",void 0),qs([fe],Qs.prototype,"postConstruct",null);var Xs,Zs,Js=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};function $s(e){switch(e){case Xs.CENTER:case Xs.TOP_CENTER:case Xs.STICKY_TOP_CENTER:case Xs.BOTTOM_CENTER:return Zs.CENTER;case Xs.LEFT:case Xs.TOP_LEFT:case Xs.STICKY_TOP_LEFT:case Xs.BOTTOM_LEFT:return Zs.LEFT;case Xs.RIGHT:case Xs.TOP_RIGHT:case Xs.STICKY_TOP_RIGHT:case Xs.BOTTOM_RIGHT:return Zs.RIGHT;case Xs.FULL_WIDTH:case Xs.TOP_FULL_WIDTH:case Xs.STICKY_TOP_FULL_WIDTH:case Xs.BOTTOM_FULL_WIDTH:return Zs.FULL_WIDTH;default:throw Error("Invalid Row Container Type")}}!function(e){e.LEFT="left",e.RIGHT="right",e.CENTER="center",e.FULL_WIDTH="fullWidth",e.TOP_LEFT="topLeft",e.TOP_RIGHT="topRight",e.TOP_CENTER="topCenter",e.TOP_FULL_WIDTH="topFullWidth",e.STICKY_TOP_LEFT="stickyTopLeft",e.STICKY_TOP_RIGHT="stickyTopRight",e.STICKY_TOP_CENTER="stickyTopCenter",e.STICKY_TOP_FULL_WIDTH="stickyTopFullWidth",e.BOTTOM_LEFT="bottomLeft",e.BOTTOM_RIGHT="bottomRight",e.BOTTOM_CENTER="bottomCenter",e.BOTTOM_FULL_WIDTH="bottomFullWidth"}(Xs||(Xs={})),function(e){e.LEFT="left",e.RIGHT="right",e.CENTER="center",e.FULL_WIDTH="fullWidth"}(Zs||(Zs={}));const el=xt([[Xs.CENTER,"ag-center-cols-container"],[Xs.LEFT,"ag-pinned-left-cols-container"],[Xs.RIGHT,"ag-pinned-right-cols-container"],[Xs.FULL_WIDTH,"ag-full-width-container"],[Xs.TOP_CENTER,"ag-floating-top-container"],[Xs.TOP_LEFT,"ag-pinned-left-floating-top"],[Xs.TOP_RIGHT,"ag-pinned-right-floating-top"],[Xs.TOP_FULL_WIDTH,"ag-floating-top-full-width-container"],[Xs.STICKY_TOP_CENTER,"ag-sticky-top-container"],[Xs.STICKY_TOP_LEFT,"ag-pinned-left-sticky-top"],[Xs.STICKY_TOP_RIGHT,"ag-pinned-right-sticky-top"],[Xs.STICKY_TOP_FULL_WIDTH,"ag-sticky-top-full-width-container"],[Xs.BOTTOM_CENTER,"ag-floating-bottom-container"],[Xs.BOTTOM_LEFT,"ag-pinned-left-floating-bottom"],[Xs.BOTTOM_RIGHT,"ag-pinned-right-floating-bottom"],[Xs.BOTTOM_FULL_WIDTH,"ag-floating-bottom-full-width-container"]]),tl=xt([[Xs.CENTER,"ag-center-cols-viewport"],[Xs.TOP_CENTER,"ag-floating-top-viewport"],[Xs.STICKY_TOP_CENTER,"ag-sticky-top-viewport"],[Xs.BOTTOM_CENTER,"ag-floating-bottom-viewport"]]),rl=xt([[Xs.CENTER,"ag-center-cols-clipper"]]);class il extends lt{constructor(e){super(),this.visible=!0,this.EMPTY_CTRLS=[],this.name=e,this.isFullWithContainer=this.name===Xs.TOP_FULL_WIDTH||this.name===Xs.STICKY_TOP_FULL_WIDTH||this.name===Xs.BOTTOM_FULL_WIDTH||this.name===Xs.FULL_WIDTH}static getRowContainerCssClasses(e){return{container:el.get(e),viewport:tl.get(e),wrapper:rl.get(e)}}static getPinned(e){switch(e){case Xs.BOTTOM_LEFT:case Xs.TOP_LEFT:case Xs.STICKY_TOP_LEFT:case Xs.LEFT:return"left";case Xs.BOTTOM_RIGHT:case Xs.TOP_RIGHT:case Xs.STICKY_TOP_RIGHT:case Xs.RIGHT:return"right";default:return null}}postConstruct(){this.enableRtl=this.gridOptionsService.is("enableRtl"),this.embedFullWidthRows=this.gridOptionsService.is("embedFullWidthRows"),this.forContainers([Xs.CENTER],()=>this.viewportSizeFeature=this.createManagedBean(new Hs(this)))}registerWithCtrlsService(){switch(this.name){case Xs.CENTER:this.ctrlsService.registerCenterRowContainerCtrl(this);break;case Xs.LEFT:this.ctrlsService.registerLeftRowContainerCtrl(this);break;case Xs.RIGHT:this.ctrlsService.registerRightRowContainerCtrl(this);break;case Xs.TOP_CENTER:this.ctrlsService.registerTopCenterRowContainerCtrl(this);break;case Xs.TOP_LEFT:this.ctrlsService.registerTopLeftRowContainerCon(this);break;case Xs.TOP_RIGHT:this.ctrlsService.registerTopRightRowContainerCtrl(this);break;case Xs.STICKY_TOP_CENTER:this.ctrlsService.registerStickyTopCenterRowContainerCtrl(this);break;case Xs.STICKY_TOP_LEFT:this.ctrlsService.registerStickyTopLeftRowContainerCon(this);break;case Xs.STICKY_TOP_RIGHT:this.ctrlsService.registerStickyTopRightRowContainerCtrl(this);break;case Xs.BOTTOM_CENTER:this.ctrlsService.registerBottomCenterRowContainerCtrl(this);break;case Xs.BOTTOM_LEFT:this.ctrlsService.registerBottomLeftRowContainerCtrl(this);break;case Xs.BOTTOM_RIGHT:this.ctrlsService.registerBottomRightRowContainerCtrl(this)}}forContainers(e,t){e.indexOf(this.name)>=0&&t()}getContainerElement(){return this.eContainer}getViewportSizeFeature(){return this.viewportSizeFeature}setComp(e,t,r,i){this.comp=e,this.eContainer=t,this.eViewport=r,this.eWrapper=i,this.createManagedBean(new ks(this.eContainer)),this.addPreventScrollWhileDragging(),this.listenOnDomOrder(),this.stopHScrollOnPinnedRows();const o=[Xs.TOP_CENTER,Xs.TOP_LEFT,Xs.TOP_RIGHT],a=[Xs.STICKY_TOP_CENTER,Xs.STICKY_TOP_LEFT,Xs.STICKY_TOP_RIGHT],n=[...o,...[Xs.BOTTOM_CENTER,Xs.BOTTOM_LEFT,Xs.BOTTOM_RIGHT],...[Xs.CENTER,Xs.LEFT,Xs.RIGHT],...a],s=[Xs.CENTER,Xs.LEFT,Xs.RIGHT,Xs.FULL_WIDTH],l=[Xs.CENTER,Xs.TOP_CENTER,Xs.STICKY_TOP_CENTER,Xs.BOTTOM_CENTER],g=[Xs.LEFT,Xs.BOTTOM_LEFT,Xs.TOP_LEFT,Xs.STICKY_TOP_LEFT],d=[Xs.RIGHT,Xs.BOTTOM_RIGHT,Xs.TOP_RIGHT,Xs.STICKY_TOP_RIGHT];this.forContainers(g,()=>{this.pinnedWidthFeature=this.createManagedBean(new _s(this.eContainer)),this.addManagedListener(this.eventService,ht.EVENT_LEFT_PINNED_WIDTH_CHANGED,()=>this.onPinnedWidthChanged())}),this.forContainers(d,()=>{this.pinnedWidthFeature=this.createManagedBean(new js(this.eContainer)),this.addManagedListener(this.eventService,ht.EVENT_RIGHT_PINNED_WIDTH_CHANGED,()=>this.onPinnedWidthChanged())}),this.forContainers(s,()=>this.createManagedBean(new Us(this.eContainer,this.eWrapper))),this.forContainers(n,()=>this.createManagedBean(new Ys(this.eContainer))),this.forContainers(l,()=>this.createManagedBean(new Qs(e=>this.comp.setContainerWidth(e+"px")))),Xr()&&(this.forContainers([Xs.CENTER],()=>{const e=this.enableRtl?ht.EVENT_LEFT_PINNED_WIDTH_CHANGED:ht.EVENT_RIGHT_PINNED_WIDTH_CHANGED;this.addManagedListener(this.eventService,e,()=>this.refreshPaddingForFakeScrollbar())}),this.refreshPaddingForFakeScrollbar()),this.addListeners(),this.registerWithCtrlsService()}refreshPaddingForFakeScrollbar(){const{enableRtl:e,columnModel:t,name:r,eWrapper:i,eContainer:o}=this,a=e?Xs.LEFT:Xs.RIGHT;this.forContainers([Xs.CENTER,a],()=>{const n=t.getContainerWidth(a),s=e?"marginLeft":"marginRight";r===Xs.CENTER?i.style[s]=n?"0px":"16px":o.style[s]=n?"16px":"0px"})}addListeners(){this.addManagedListener(this.eventService,ht.EVENT_SCROLL_VISIBILITY_CHANGED,()=>this.onScrollVisibilityChanged()),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_CHANGED,()=>this.onDisplayedColumnsChanged()),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,()=>this.onDisplayedColumnsWidthChanged()),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_ROWS_CHANGED,e=>this.onDisplayedRowsChanged(e.afterScroll)),this.onScrollVisibilityChanged(),this.onDisplayedColumnsChanged(),this.onDisplayedColumnsWidthChanged(),this.onDisplayedRowsChanged()}listenOnDomOrder(){if([Xs.STICKY_TOP_CENTER,Xs.STICKY_TOP_LEFT,Xs.STICKY_TOP_RIGHT,Xs.STICKY_TOP_FULL_WIDTH].indexOf(this.name)>=0)return void this.comp.setDomOrder(!0);const e=()=>{const e=this.gridOptionsService.is("ensureDomOrder"),t=this.gridOptionsService.isDomLayout("print");this.comp.setDomOrder(e||t)};this.addManagedPropertyListener("domLayout",e),e()}stopHScrollOnPinnedRows(){this.forContainers([Xs.TOP_CENTER,Xs.STICKY_TOP_CENTER,Xs.BOTTOM_CENTER],()=>{this.addManagedListener(this.eViewport,"scroll",()=>this.eViewport.scrollLeft=0)})}onDisplayedColumnsChanged(){this.forContainers([Xs.CENTER],()=>this.onHorizontalViewportChanged())}onDisplayedColumnsWidthChanged(){this.forContainers([Xs.CENTER],()=>this.onHorizontalViewportChanged())}onScrollVisibilityChanged(){const e=this.gridOptionsService.getScrollbarWidth()||0;if(this.name===Xs.CENTER){const t=this.scrollVisibleService.isHorizontalScrollShowing()?e:0,r=0==t?"100%":`calc(100% + ${t}px)`;this.animationFrameService.requestAnimationFrame(()=>this.comp.setViewportHeight(r))}if(this.name===Xs.FULL_WIDTH){const e=`calc(100% - ${Xr()?16:0}px)`;this.eContainer.style.setProperty("width",e)}}addPreventScrollWhileDragging(){const e=e=>{this.dragService.isDragging()&&e.cancelable&&e.preventDefault()};this.eContainer.addEventListener("touchmove",e,{passive:!1}),this.addDestroyFunc(()=>this.eContainer.removeEventListener("touchmove",e))}onHorizontalViewportChanged(){const e=this.getCenterWidth(),t=this.getCenterViewportScrollLeft();this.columnModel.setViewportPosition(e,t)}getCenterWidth(){return yi(this.eViewport)}getCenterViewportScrollLeft(){return xi(this.eViewport,this.enableRtl)}registerViewportResizeListener(e){const t=this.resizeObserverService.observeResize(this.eViewport,e);this.addDestroyFunc(()=>t())}isViewportVisible(){return Pi(this.eViewport)}getViewportScrollLeft(){return xi(this.eViewport,this.enableRtl)}isHorizontalScrollShowing(){return this.gridOptionsService.is("alwaysShowHorizontalScroll")||Bi(this.eViewport)}getViewportElement(){return this.eViewport}setContainerTranslateX(e){this.eContainer.style.transform=`translateX(${e}px)`}getHScrollPosition(){return{left:this.eViewport.scrollLeft,right:this.eViewport.scrollLeft+this.eViewport.offsetWidth}}setCenterViewportScrollLeft(e){Di(this.eViewport,e,this.enableRtl)}isContainerVisible(){return!il.getPinned(this.name)||!!this.pinnedWidthFeature&&this.pinnedWidthFeature.getWidth()>0}onPinnedWidthChanged(){const e=this.isContainerVisible();this.visible!=e&&(this.visible=e,this.onDisplayedRowsChanged()),Xr()&&this.refreshPaddingForFakeScrollbar()}onDisplayedRowsChanged(e=!1){if(this.visible){const t=this.gridOptionsService.isDomLayout("print"),r=e=>{const r=e.isFullWidth(),i=this.embedFullWidthRows||t;return this.isFullWithContainer?!i&&r:i||!r},i=this.getRowCtrls().filter(r);this.comp.setRowCtrls(i,e)}else this.comp.setRowCtrls(this.EMPTY_CTRLS,!1)}getRowCtrls(){switch(this.name){case Xs.TOP_CENTER:case Xs.TOP_LEFT:case Xs.TOP_RIGHT:case Xs.TOP_FULL_WIDTH:return this.rowRenderer.getTopRowCtrls();case Xs.STICKY_TOP_CENTER:case Xs.STICKY_TOP_LEFT:case Xs.STICKY_TOP_RIGHT:case Xs.STICKY_TOP_FULL_WIDTH:return this.rowRenderer.getStickyTopRowCtrls();case Xs.BOTTOM_CENTER:case Xs.BOTTOM_LEFT:case Xs.BOTTOM_RIGHT:case Xs.BOTTOM_FULL_WIDTH:return this.rowRenderer.getBottomRowCtrls();default:return this.rowRenderer.getRowCtrls()}}}Js([Ce("scrollVisibleService")],il.prototype,"scrollVisibleService",void 0),Js([Ce("dragService")],il.prototype,"dragService",void 0),Js([Ce("ctrlsService")],il.prototype,"ctrlsService",void 0),Js([Ce("columnModel")],il.prototype,"columnModel",void 0),Js([Ce("resizeObserverService")],il.prototype,"resizeObserverService",void 0),Js([Ce("animationFrameService")],il.prototype,"animationFrameService",void 0),Js([Ce("rowRenderer")],il.prototype,"rowRenderer",void 0),Js([fe],il.prototype,"postConstruct",null);var ol=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};const al=`<div class="ag-root ag-unselectable" role="treegrid">\n <ag-header-root ref="gridHeader"></ag-header-root>\n <div class="ag-floating-top" ref="eTop" role="presentation">\n <ag-row-container ref="topLeftContainer" name="${Xs.TOP_LEFT}"></ag-row-container>\n <ag-row-container ref="topCenterContainer" name="${Xs.TOP_CENTER}"></ag-row-container>\n <ag-row-container ref="topRightContainer" name="${Xs.TOP_RIGHT}"></ag-row-container>\n <ag-row-container ref="topFullWidthContainer" name="${Xs.TOP_FULL_WIDTH}"></ag-row-container>\n </div>\n <div class="ag-body" ref="eBody" role="presentation">\n <div class="ag-body-clipper" ref="eBodyClipper" role="presentation">\n <div class="ag-body-viewport" ref="eBodyViewport" role="presentation">\n <ag-row-container ref="leftContainer" name="${Xs.LEFT}"></ag-row-container>\n <ag-row-container ref="centerContainer" name="${Xs.CENTER}"></ag-row-container>\n <ag-row-container ref="rightContainer" name="${Xs.RIGHT}"></ag-row-container>\n <ag-row-container ref="fullWidthContainer" name="${Xs.FULL_WIDTH}"></ag-row-container>\n </div>\n </div>\n <ag-fake-vertical-scroll></ag-fake-vertical-scroll>\n </div>\n <div class="ag-sticky-top" ref="eStickyTop" role="presentation">\n <ag-row-container ref="stickyTopLeftContainer" name="${Xs.STICKY_TOP_LEFT}"></ag-row-container>\n <ag-row-container ref="stickyTopCenterContainer" name="${Xs.STICKY_TOP_CENTER}"></ag-row-container>\n <ag-row-container ref="stickyTopRightContainer" name="${Xs.STICKY_TOP_RIGHT}"></ag-row-container>\n <ag-row-container ref="stickyTopFullWidthContainer" name="${Xs.STICKY_TOP_FULL_WIDTH}"></ag-row-container>\n </div>\n <div class="ag-floating-bottom" ref="eBottom" role="presentation">\n <ag-row-container ref="bottomLeftContainer" name="${Xs.BOTTOM_LEFT}"></ag-row-container>\n <ag-row-container ref="bottomCenterContainer" name="${Xs.BOTTOM_CENTER}"></ag-row-container>\n <ag-row-container ref="bottomRightContainer" name="${Xs.BOTTOM_RIGHT}"></ag-row-container>\n <ag-row-container ref="bottomFullWidthContainer" name="${Xs.BOTTOM_FULL_WIDTH}"></ag-row-container>\n </div>\n <ag-fake-horizontal-scroll></ag-fake-horizontal-scroll>\n <ag-overlay-wrapper></ag-overlay-wrapper>\n </div>`;class nl extends To{constructor(){super(al)}init(){const e=(e,t)=>{const r=e+"px";t.style.minHeight=r,t.style.height=r},t={setRowAnimationCssOnBodyViewport:(e,t)=>this.setRowAnimationCssOnBodyViewport(e,t),setColumnCount:e=>Ar(this.getGui(),e),setRowCount:e=>xr(this.getGui(),e),setTopHeight:t=>e(t,this.eTop),setBottomHeight:t=>e(t,this.eBottom),setTopDisplay:e=>this.eTop.style.display=e,setBottomDisplay:e=>this.eBottom.style.display=e,setStickyTopHeight:e=>this.eStickyTop.style.height=e,setStickyTopTop:e=>this.eStickyTop.style.top=e,setStickyTopWidth:e=>this.eStickyTop.style.width=e,setColumnMovingCss:(e,t)=>this.addOrRemoveCssClass(e,t),updateLayoutClasses:(e,t)=>{[this.eBodyViewport.classList,this.eBodyClipper.classList,this.eBody.classList].forEach(e=>{e.toggle(ns.AUTO_HEIGHT,t.autoHeight),e.toggle(ns.NORMAL,t.normal),e.toggle(ns.PRINT,t.print)}),this.addOrRemoveCssClass(ns.AUTO_HEIGHT,t.autoHeight),this.addOrRemoveCssClass(ns.NORMAL,t.normal),this.addOrRemoveCssClass(ns.PRINT,t.print)},setAlwaysVerticalScrollClass:(e,t)=>this.eBodyViewport.classList.toggle("ag-force-vertical-scroll",t),registerBodyViewportResizeListener:e=>{const t=this.resizeObserverService.observeResize(this.eBodyViewport,e);this.addDestroyFunc(()=>t())},setPinnedTopBottomOverflowY:e=>this.eTop.style.overflowY=this.eBottom.style.overflowY=e,setCellSelectableCss:(e,t)=>{[this.eTop,this.eBodyViewport,this.eBottom].forEach(r=>r.classList.toggle(e,t))},setBodyViewportWidth:e=>this.eBodyViewport.style.width=e};this.ctrl=this.createManagedBean(new ws),this.ctrl.setComp(t,this.getGui(),this.eBodyViewport,this.eTop,this.eBottom,this.eStickyTop),(this.rangeService||"multiple"===this.gridOptionsService.get("rowSelection"))&&Tr(this.getGui(),!0)}setRowAnimationCssOnBodyViewport(e,t){const r=this.eBodyViewport.classList;r.toggle(fs.ANIMATION_ON,t),r.toggle(fs.ANIMATION_OFF,!t)}getFloatingTopBottom(){return[this.eTop,this.eBottom]}}ol([Ce("resizeObserverService")],nl.prototype,"resizeObserverService",void 0),ol([be("rangeService")],nl.prototype,"rangeService",void 0),ol([Do("eBodyViewport")],nl.prototype,"eBodyViewport",void 0),ol([Do("eStickyTop")],nl.prototype,"eStickyTop",void 0),ol([Do("eTop")],nl.prototype,"eTop",void 0),ol([Do("eBottom")],nl.prototype,"eBottom",void 0),ol([Do("gridHeader")],nl.prototype,"headerRootComp",void 0),ol([Do("eBodyClipper")],nl.prototype,"eBodyClipper",void 0),ol([Do("eBody")],nl.prototype,"eBody",void 0),ol([fe],nl.prototype,"init",null);var sl=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let ll=class extends lt{postConstruct(){this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onDisplayedColumnsWidthChanged.bind(this))}onDisplayedColumnsChanged(){this.update()}onDisplayedColumnsWidthChanged(){this.update()}update(){this.updateImpl(),setTimeout(this.updateImpl.bind(this),500)}updateImpl(){const e=this.ctrlsService.getCenterRowContainerCtrl();if(!e)return;const t={horizontalScrollShowing:e.isHorizontalScrollShowing(),verticalScrollShowing:this.isVerticalScrollShowing()};this.setScrollsVisible(t)}setScrollsVisible(e){if(this.horizontalScrollShowing!==e.horizontalScrollShowing||this.verticalScrollShowing!==e.verticalScrollShowing){this.horizontalScrollShowing=e.horizontalScrollShowing,this.verticalScrollShowing=e.verticalScrollShowing;const t={type:ht.EVENT_SCROLL_VISIBILITY_CHANGED};this.eventService.dispatchEvent(t)}}isHorizontalScrollShowing(){return this.horizontalScrollShowing}isVerticalScrollShowing(){return this.verticalScrollShowing}};sl([Ce("ctrlsService")],ll.prototype,"ctrlsService",void 0),sl([fe],ll.prototype,"postConstruct",null),ll=sl([we("scrollVisibleService")],ll);var gl,dl=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let cl=gl=class extends lt{constructor(){super(...arguments),this.gridInstanceId=gl.gridInstanceSequence.next()}stampTopLevelGridCompWithGridInstance(e){e[gl.GRID_DOM_KEY]=this.gridInstanceId}getRenderedCellForEvent(e){return rt(this.gridOptionsService,e.target,Ns.DOM_DATA_KEY_CELL_CTRL)}isEventFromThisGrid(e){return this.isElementInThisGrid(e.target)}isElementInThisGrid(e){let t=e;for(;t;){const e=t[gl.GRID_DOM_KEY];if(S(e)){return e===this.gridInstanceId}t=t.parentElement}return!1}getCellPositionForEvent(e){const t=this.getRenderedCellForEvent(e);return t?t.getCellPosition():null}getNormalisedPosition(e){const t=this.gridOptionsService.isDomLayout("normal"),r=e;let i,o;if(null!=r.clientX||null!=r.clientY?(i=r.clientX,o=r.clientY):(i=r.x,o=r.y),t){const e=this.ctrlsService.getGridBodyCtrl(),t=e.getScrollFeature().getVScrollPosition();i+=e.getScrollFeature().getHScrollPosition().left,o+=t.top}return{x:i,y:o}}};cl.gridInstanceSequence=new vo,cl.GRID_DOM_KEY="__ag_grid_instance",dl([Ce("ctrlsService")],cl.prototype,"ctrlsService",void 0),cl=gl=dl([we("mouseEventService")],cl);var ul=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let pl=class extends lt{constructor(){super(),this.onPageDown=se(this.onPageDown,100),this.onPageUp=se(this.onPageUp,100)}postConstruct(){this.ctrlsService.whenReady(e=>{this.gridBodyCon=e.gridBodyCtrl})}handlePageScrollingKey(e,t=!1){const r=e.key,i=e.altKey,o=e.ctrlKey||e.metaKey,a=!!this.rangeService&&e.shiftKey,n=this.mouseEventService.getCellPositionForEvent(e);let s=!1;switch(r){case io.PAGE_HOME:case io.PAGE_END:o||i||(this.onHomeOrEndKey(r),s=!0);break;case io.LEFT:case io.RIGHT:case io.UP:case io.DOWN:if(!n)return!1;!o||i||a||(this.onCtrlUpDownLeftRight(r,n),s=!0);break;case io.PAGE_DOWN:case io.PAGE_UP:o||i||(s=this.handlePageUpDown(r,n,t))}return s&&e.preventDefault(),s}handlePageUpDown(e,t,r){return r&&(t=this.focusService.getFocusedCell()),!!t&&(e===io.PAGE_UP?this.onPageUp(t):this.onPageDown(t),!0)}navigateTo(e){const{scrollIndex:t,scrollType:r,scrollColumn:i,focusIndex:o,focusColumn:a}=e;if(S(i)&&!i.isPinned()&&this.gridBodyCon.getScrollFeature().ensureColumnVisible(i),S(t)&&this.gridBodyCon.getScrollFeature().ensureIndexVisible(t,r),e.isAsync||this.gridBodyCon.getScrollFeature().ensureIndexVisible(o),this.focusService.setFocusedCell({rowIndex:o,column:a,rowPinned:null,forceBrowserFocus:!0}),this.rangeService){const e={rowIndex:o,rowPinned:null,column:a};this.rangeService.setRangeToCell(e)}}onPageDown(e){const t=this.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition(),r=this.getViewportHeight(),i=this.paginationProxy.getPixelOffset(),o=t.top+r,a=this.paginationProxy.getRowIndexAtPixel(o+i);this.columnModel.isAutoRowHeightActive()?this.navigateToNextPageWithAutoHeight(e,a):this.navigateToNextPage(e,a)}onPageUp(e){const t=this.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition(),r=this.paginationProxy.getPixelOffset(),i=t.top,o=this.paginationProxy.getRowIndexAtPixel(i+r);this.columnModel.isAutoRowHeightActive()?this.navigateToNextPageWithAutoHeight(e,o,!0):this.navigateToNextPage(e,o,!0)}navigateToNextPage(e,t,r=!1){const i=this.getViewportHeight(),o=this.paginationProxy.getPageFirstRow(),a=this.paginationProxy.getPageLastRow(),n=this.paginationProxy.getPixelOffset(),s=this.paginationProxy.getRow(e.rowIndex),l=r?(null==s?void 0:s.rowHeight)-i-n:i-n,g=(null==s?void 0:s.rowTop)+l;let d,c=this.paginationProxy.getRowIndexAtPixel(g+n);if(c===e.rowIndex){const i=r?-1:1;t=c=e.rowIndex+i}r?(d="bottom",c<o&&(c=o),t<o&&(t=o)):(d="top",c>a&&(c=a),t>a&&(t=a)),this.isRowTallerThanView(c)&&(t=c,d="top"),this.navigateTo({scrollIndex:t,scrollType:d,scrollColumn:null,focusIndex:c,focusColumn:e.column})}navigateToNextPageWithAutoHeight(e,t,r=!1){this.navigateTo({scrollIndex:t,scrollType:r?"bottom":"top",scrollColumn:null,focusIndex:t,focusColumn:e.column}),setTimeout(()=>{const i=this.getNextFocusIndexForAutoHeight(e,r);this.navigateTo({scrollIndex:t,scrollType:r?"bottom":"top",scrollColumn:null,focusIndex:i,focusColumn:e.column,isAsync:!0})},50)}getNextFocusIndexForAutoHeight(e,t=!1){var r;const i=t?-1:1,o=this.getViewportHeight(),a=this.paginationProxy.getPageLastRow();let n=0,s=e.rowIndex;for(;s>=0&&s<=a;){const e=this.paginationProxy.getRow(s);if(e){const t=null!==(r=e.rowHeight)&&void 0!==r?r:0;if(n+t>o)break;n+=t}s+=i}return Math.max(0,Math.min(s,a))}getViewportHeight(){const e=this.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition(),t=this.gridOptionsService.getScrollbarWidth();let r=e.bottom-e.top;return this.ctrlsService.getCenterRowContainerCtrl().isHorizontalScrollShowing()&&(r-=t),r}isRowTallerThanView(e){const t=this.paginationProxy.getRow(e);if(!t)return!1;const r=t.rowHeight;return"number"==typeof r&&r>this.getViewportHeight()}onCtrlUpDownLeftRight(e,t){const r=this.cellNavigationService.getNextCellToFocus(e,t,!0),{rowIndex:i,column:o}=r;this.navigateTo({scrollIndex:i,scrollType:null,scrollColumn:o,focusIndex:i,focusColumn:o})}onHomeOrEndKey(e){const t=e===io.PAGE_HOME,r=this.columnModel.getAllDisplayedColumns(),i=t?r[0]:Fe(r),o=t?this.paginationProxy.getPageFirstRow():this.paginationProxy.getPageLastRow();this.navigateTo({scrollIndex:o,scrollType:null,scrollColumn:i,focusIndex:o,focusColumn:i})}onTabKeyDown(e,t){const r=t.shiftKey;if(this.tabToNextCellCommon(e,r,t))t.preventDefault();else if(r){const{rowIndex:r,rowPinned:i}=e.getRowPosition();(i?0===r:r===this.paginationProxy.getPageFirstRow())&&(0===this.gridOptionsService.getNum("headerHeight")?this.focusService.focusNextGridCoreContainer(!0,!0):(t.preventDefault(),this.focusService.focusLastHeader(t)))}else e instanceof Ns&&e.focusCell(!0),this.focusService.focusNextGridCoreContainer(r)&&t.preventDefault()}tabToNextCell(e,t){const r=this.focusService.getFocusedCell();if(!r)return!1;let i=this.getCellByPosition(r);return!!(i||(i=this.rowRenderer.getRowByPosition(r),i&&i.isFullWidth()))&&this.tabToNextCellCommon(i,e,t)}tabToNextCellCommon(e,t,r){let i,o=e.isEditing();if(!o&&e instanceof Ns){const t=e.getRowCtrl();t&&(o=t.isEditing())}return i=o?"fullRow"===this.gridOptionsService.get("editType")?this.moveToNextEditingRow(e,t,r):this.moveToNextEditingCell(e,t,r):this.moveToNextCellNotEditing(e,t),i||!!this.focusService.getFocusedHeader()}moveToNextEditingCell(e,t,r=null){const i=e.getCellPosition();e.getGui().focus(),e.stopEditing();const o=this.findNextCellToFocusOn(i,t,!0);return null!=o&&(o.startEditing(null,!0,r),o.focusCell(!1),!0)}moveToNextEditingRow(e,t,r=null){const i=e.getCellPosition(),o=this.findNextCellToFocusOn(i,t,!0);if(null==o)return!1;const a=o.getCellPosition(),n=this.isCellEditable(i),s=this.isCellEditable(a),l=a&&i.rowIndex===a.rowIndex&&i.rowPinned===a.rowPinned;if(n&&e.setFocusOutOnEditor(),!l){e.getRowCtrl().stopEditing();o.getRowCtrl().startRowEditing(void 0,void 0,r)}return s?(o.setFocusInOnEditor(),o.focusCell()):o.focusCell(!0),!0}moveToNextCellNotEditing(e,t){const r=this.columnModel.getAllDisplayedColumns();let i;i=e instanceof zs?Object.assign(Object.assign({},e.getRowPosition()),{column:t?r[0]:Fe(r)}):e.getCellPosition();const o=this.findNextCellToFocusOn(i,t,!1);if(o instanceof Ns)o.focusCell(!0);else if(o)return this.tryToFocusFullWidthRow(o.getRowPosition(),t);return S(o)}findNextCellToFocusOn(e,t,r){let i=e;for(;;){e!==i&&(e=i),t||(i=this.getLastCellOfColSpan(i)),i=this.cellNavigationService.getNextTabbedCell(i,t);const o=this.gridOptionsService.getCallback("tabToNextCell");if(S(o)){const a=o({backwards:t,editing:r,previousCellPosition:e,nextCellPosition:i||null});S(a)?(a.floating&&(J(()=>{console.warn("AG Grid: tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?")},"no floating in userCell"),a.rowPinned=a.floating),i={rowIndex:a.rowIndex,column:a.column,rowPinned:a.rowPinned}):i=null}if(!i)return null;if(i.rowIndex<0){const e=this.headerNavigationService.getHeaderRowCount();return this.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:e+i.rowIndex,column:i.column}}),null}const a="fullRow"===this.gridOptionsService.get("editType");if(r&&!a){if(!this.isCellEditable(i))continue}this.ensureCellVisible(i);const n=this.getCellByPosition(i);if(!n){const e=this.rowRenderer.getRowByPosition(i);if(!e||!e.isFullWidth()||r)continue;return e}if(!n.isSuppressNavigable())return this.rangeService&&this.rangeService.setRangeToCell(i),n}}isCellEditable(e){const t=this.lookupRowNodeForCell(e);return!!t&&e.column.isCellEditable(t)}getCellByPosition(e){const t=this.rowRenderer.getRowByPosition(e);return t?t.getCellCtrl(e.column):null}lookupRowNodeForCell(e){return"top"===e.rowPinned?this.pinnedRowModel.getPinnedTopRow(e.rowIndex):"bottom"===e.rowPinned?this.pinnedRowModel.getPinnedBottomRow(e.rowIndex):this.paginationProxy.getRow(e.rowIndex)}navigateToNextCell(e,t,r,i){let o=r,a=!1;for(;o&&(o===r||!this.isValidNavigateCell(o));)this.gridOptionsService.is("enableRtl")?t===io.LEFT&&(o=this.getLastCellOfColSpan(o)):t===io.RIGHT&&(o=this.getLastCellOfColSpan(o)),o=this.cellNavigationService.getNextCellToFocus(t,o),a=E(o);if(a&&e&&e.key===io.UP&&(o={rowIndex:-1,rowPinned:null,column:r.column}),i){const i=this.gridOptionsService.getCallback("navigateToNextCell");if(S(i)){const a=i({key:t,previousCellPosition:r,nextCellPosition:o||null,event:e});S(a)?(a.floating&&(J(()=>{console.warn("AG Grid: tabToNextCellFunc return type should have attributes: rowIndex, rowPinned, column. However you had 'floating', maybe you meant 'rowPinned'?")},"no floating in userCell"),a.rowPinned=a.floating),o={rowPinned:a.rowPinned,rowIndex:a.rowIndex,column:a.column}):o=null}}if(!o)return;if(o.rowIndex<0){const t=this.headerNavigationService.getHeaderRowCount();return void this.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:t+o.rowIndex,column:r.column},event:e||void 0})}const n=this.getNormalisedPosition(o);n?this.focusPosition(n):this.tryToFocusFullWidthRow(o)}getNormalisedPosition(e){this.ensureCellVisible(e);const t=this.getCellByPosition(e);return t?(e=t.getCellPosition(),this.ensureCellVisible(e),e):null}tryToFocusFullWidthRow(e,t=!1){const r=this.columnModel.getAllDisplayedColumns(),i=this.rowRenderer.getRowByPosition(e);if(!i||!i.isFullWidth())return!1;const o=this.focusService.getFocusedCell(),a={rowIndex:e.rowIndex,rowPinned:e.rowPinned,column:e.column||(t?Fe(r):r[0])};this.focusPosition(a);const n=null!=o&&this.rowPositionUtils.before(a,o),s={type:ht.EVENT_FULL_WIDTH_ROW_FOCUSED,rowIndex:a.rowIndex,rowPinned:a.rowPinned,column:a.column,isFullWidthCell:!0,floating:a.rowPinned,fromBelow:n};return this.eventService.dispatchEvent(s),!0}focusPosition(e){this.focusService.setFocusedCell({rowIndex:e.rowIndex,column:e.column,rowPinned:e.rowPinned,forceBrowserFocus:!0}),this.rangeService&&this.rangeService.setRangeToCell(e)}isValidNavigateCell(e){return!!this.rowPositionUtils.getRowNode(e)}getLastCellOfColSpan(e){const t=this.getCellByPosition(e);if(!t)return e;const r=t.getColSpanningList();return 1===r.length?e:{rowIndex:e.rowIndex,column:Fe(r),rowPinned:e.rowPinned}}ensureCellVisible(e){const t=this.gridOptionsService.isGroupRowsSticky(),r=this.rowModel.getRow(e.rowIndex);!(t&&(null==r?void 0:r.sticky))&&E(e.rowPinned)&&this.gridBodyCon.getScrollFeature().ensureIndexVisible(e.rowIndex),e.column.isPinned()||this.gridBodyCon.getScrollFeature().ensureColumnVisible(e.column)}};ul([Ce("mouseEventService")],pl.prototype,"mouseEventService",void 0),ul([Ce("paginationProxy")],pl.prototype,"paginationProxy",void 0),ul([Ce("focusService")],pl.prototype,"focusService",void 0),ul([be("rangeService")],pl.prototype,"rangeService",void 0),ul([Ce("columnModel")],pl.prototype,"columnModel",void 0),ul([Ce("rowModel")],pl.prototype,"rowModel",void 0),ul([Ce("ctrlsService")],pl.prototype,"ctrlsService",void 0),ul([Ce("rowRenderer")],pl.prototype,"rowRenderer",void 0),ul([Ce("headerNavigationService")],pl.prototype,"headerNavigationService",void 0),ul([Ce("rowPositionUtils")],pl.prototype,"rowPositionUtils",void 0),ul([Ce("cellNavigationService")],pl.prototype,"cellNavigationService",void 0),ul([Ce("pinnedRowModel")],pl.prototype,"pinnedRowModel",void 0),ul([fe],pl.prototype,"postConstruct",null),pl=ul([we("navigationService")],pl);var hl=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class vl extends Ma{constructor(e){super('<div class="ag-popup-editor" tabindex="-1"/>'),this.params=e}postConstruct(){this.gridOptionsService.setDomData(this.getGui(),vl.DOM_KEY_POPUP_EDITOR_WRAPPER,!0),this.addKeyDownListener()}addKeyDownListener(){const e=this.getGui(),t=this.params;this.addManagedListener(e,"keydown",e=>{ao(this.gridOptionsService,e,t.node,t.column,!0)||t.onKeyDown(e)})}}vl.DOM_KEY_POPUP_EDITOR_WRAPPER="popupEditorWrapper",hl([fe],vl.prototype,"postConstruct",null);class fl extends To{constructor(e,t,r,i,o){super(),this.rendererVersion=0,this.editorVersion=0,this.beans=e,this.column=t.getColumn(),this.rowNode=t.getRowNode(),this.rowCtrl=t.getRowCtrl(),this.eRow=i,this.setTemplate(`<div comp-id="${this.getCompId()}"/>`);const a=this.getGui();this.forceWrapper=t.isForceWrapper(),this.refreshWrapper(!1);const n=(e,t,r)=>{const i=r||a;null!=t&&""!=t?i.setAttribute(e,t):i.removeAttribute(e)},s={addOrRemoveCssClass:(e,t)=>this.addOrRemoveCssClass(e,t),setUserStyles:e=>_i(a,e),getFocusableElement:()=>this.getFocusableElement(),setTabIndex:e=>n("tabindex",e.toString()),setRole:e=>lr(a,e),setColId:e=>n("col-id",e),setTitle:e=>n("title",e),setIncludeSelection:e=>this.includeSelection=e,setIncludeRowDrag:e=>this.includeRowDrag=e,setIncludeDndSource:e=>this.includeDndSource=e,setRenderDetails:(e,t,r)=>this.setRenderDetails(e,t,r),setEditDetails:(e,t,r)=>this.setEditDetails(e,t,r),getCellEditor:()=>this.cellEditor||null,getCellRenderer:()=>this.cellRenderer||null,getParentOfValue:()=>this.getParentOfValue()};this.cellCtrl=t,t.setComp(s,this.getGui(),this.eCellWrapper,r,o)}getParentOfValue(){return this.eCellValue?this.eCellValue:this.eCellWrapper?this.eCellWrapper:this.getGui()}setRenderDetails(e,t,r){if(this.cellEditor&&!this.cellEditorPopupWrapper)return;this.firstRender=null==this.firstRender;const i=this.refreshWrapper(!1);if(this.refreshEditStyles(!1),e){!(r||i)&&this.refreshCellRenderer(e)||(this.destroyRenderer(),this.createCellRendererInstance(e))}else this.destroyRenderer(),this.insertValueWithoutCellRenderer(t)}setEditDetails(e,t,r){e?this.createCellEditorInstance(e,t,r):this.destroyEditor()}removeControls(){this.checkboxSelectionComp=this.beans.context.destroyBean(this.checkboxSelectionComp),this.dndSourceComp=this.beans.context.destroyBean(this.dndSourceComp),this.rowDraggingComp=this.beans.context.destroyBean(this.rowDraggingComp)}refreshWrapper(e){const t=this.includeRowDrag||this.includeDndSource||this.includeSelection,r=t||this.forceWrapper,i=r&&null==this.eCellWrapper;i&&(this.eCellWrapper=Ni('<div class="ag-cell-wrapper" role="presentation"></div>'),this.getGui().appendChild(this.eCellWrapper));const o=!r&&null!=this.eCellWrapper;o&&(Mi(this.eCellWrapper),this.eCellWrapper=void 0),this.addOrRemoveCssClass("ag-cell-value",!r);const a=!e&&r,n=a&&null==this.eCellValue;n&&(this.eCellValue=Ni('<span class="ag-cell-value" role="presentation"></span>'),this.eCellWrapper.appendChild(this.eCellValue));const s=!a&&null!=this.eCellValue;s&&(Mi(this.eCellValue),this.eCellValue=void 0);const l=i||o||n||s;return l&&this.removeControls(),e||t&&this.addControls(),l}addControls(){this.includeRowDrag&&null==this.rowDraggingComp&&(this.rowDraggingComp=this.cellCtrl.createRowDragComp(),this.rowDraggingComp&&this.eCellWrapper.insertBefore(this.rowDraggingComp.getGui(),this.eCellValue)),this.includeDndSource&&null==this.dndSourceComp&&(this.dndSourceComp=this.cellCtrl.createDndSource(),this.eCellWrapper.insertBefore(this.dndSourceComp.getGui(),this.eCellValue)),this.includeSelection&&null==this.checkboxSelectionComp&&(this.checkboxSelectionComp=this.cellCtrl.createSelectionCheckbox(),this.eCellWrapper.insertBefore(this.checkboxSelectionComp.getGui(),this.eCellValue))}createCellEditorInstance(e,t,r){const i=this.editorVersion,o=e.newAgStackInstance();if(!o)return;const{params:a}=e;o.then(e=>this.afterCellEditorCreated(i,e,a,t,r));E(this.cellEditor)&&a.cellStartedEdit&&this.cellCtrl.focusCell(!0)}insertValueWithoutCellRenderer(e){const t=this.getParentOfValue();Ai(t);const r=null!=e?Et(e):null;null!=r&&(t.innerHTML=r)}destroyEditorAndRenderer(){this.destroyRenderer(),this.destroyEditor()}destroyRenderer(){const{context:e}=this.beans;this.cellRenderer=e.destroyBean(this.cellRenderer),Mi(this.cellRendererGui),this.cellRendererGui=null,this.rendererVersion++}destroyEditor(){const{context:e}=this.beans;this.hideEditorPopup&&this.hideEditorPopup(),this.hideEditorPopup=void 0,this.cellEditor=e.destroyBean(this.cellEditor),this.cellEditorPopupWrapper=e.destroyBean(this.cellEditorPopupWrapper),Mi(this.cellEditorGui),this.cellEditorGui=null,this.editorVersion++}refreshCellRenderer(e){if(null==this.cellRenderer||null==this.cellRenderer.refresh)return!1;if(this.cellRendererClass!==e.componentClass)return!1;const t=this.cellRenderer.refresh(e.params);return!0===t||void 0===t}createCellRendererInstance(e){const t=!this.beans.gridOptionsService.is("suppressAnimationFrame"),r=this.rendererVersion,{componentClass:i}=e,o=()=>{if(this.rendererVersion!==r||!this.isAlive())return;const t=e.newAgStackInstance(),o=this.afterCellRendererCreated.bind(this,r,i);t&&t.then(o)};t&&this.firstRender?this.beans.animationFrameService.createTask(o,this.rowNode.rowIndex,"createTasksP2"):o()}getCtrl(){return this.cellCtrl}getRowCtrl(){return this.rowCtrl}getCellRenderer(){return this.cellRenderer}getCellEditor(){return this.cellEditor}afterCellRendererCreated(e,t,r){if(!this.isAlive()||e!==this.rendererVersion)this.beans.context.destroyBean(r);else if(this.cellRenderer=r,this.cellRendererClass=t,this.cellRendererGui=this.cellRenderer.getGui(),null!=this.cellRendererGui){const e=this.getParentOfValue();Ai(e),e.appendChild(this.cellRendererGui)}}afterCellEditorCreated(e,t,r,i,o){if(e!==this.editorVersion)return void this.beans.context.destroyBean(t);if(t.isCancelBeforeStart&&t.isCancelBeforeStart())return this.beans.context.destroyBean(t),void this.cellCtrl.stopEditing(!0);if(!t.getGui)return console.warn(`AG Grid: cellEditor for column ${this.column.getId()} is missing getGui() method`),void this.beans.context.destroyBean(t);this.cellEditor=t,this.cellEditorGui=t.getGui();const a=i||void 0!==t.isPopup&&t.isPopup();a?this.addPopupCellEditor(r,o):this.addInCellEditor(),this.refreshEditStyles(!0,a),t.afterGuiAttached&&t.afterGuiAttached()}refreshEditStyles(e,t){var r;this.addOrRemoveCssClass("ag-cell-inline-editing",e&&!t),this.addOrRemoveCssClass("ag-cell-popup-editing",e&&!!t),this.addOrRemoveCssClass("ag-cell-not-inline-editing",!e||!!t),null===(r=this.rowCtrl)||void 0===r||r.setInlineEditingCss(e)}addInCellEditor(){const e=this.getGui(),t=this.beans.gridOptionsService.getDocument();if(e.contains(t.activeElement)&&e.focus(),this.destroyRenderer(),this.refreshWrapper(!0),this.clearParentOfValue(),this.cellEditorGui){this.getParentOfValue().appendChild(this.cellEditorGui)}}addPopupCellEditor(e,t){"fullRow"===this.beans.gridOptionsService.get("editType")&&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.");const r=this.cellEditor;this.cellEditorPopupWrapper=this.beans.context.createBean(new vl(e));const i=this.cellEditorPopupWrapper.getGui();this.cellEditorGui&&i.appendChild(this.cellEditorGui);const o=this.beans.popupService,a=this.beans.gridOptionsService.is("stopEditingWhenCellsLoseFocus"),n=null!=t?t:r.getPopupPosition?r.getPopupPosition():"over",s=this.beans.gridOptionsService.is("enableRtl"),l={ePopup:i,column:this.column,rowNode:this.rowNode,type:"popupCellEditor",eventSource:this.getGui(),position:n,alignSide:s?"right":"left",keepWithinBounds:!0},g=o.positionPopupByComponent.bind(o,l),d=this.beans.localeService.getLocaleTextFunc(),c=o.addPopup({modal:a,eChild:i,closeOnEsc:!0,closedCallback:()=>{this.cellCtrl.onPopupEditorClosed()},anchorToElement:this.getGui(),positionCallback:g,ariaLabel:d("ariaLabelCellEditor","Cell Editor")});c&&(this.hideEditorPopup=c.hideFunc)}detach(){this.eRow.removeChild(this.getGui())}destroy(){this.cellCtrl.stopEditing(),this.destroyEditorAndRenderer(),this.removeControls(),super.destroy()}clearParentOfValue(){const e=this.getGui(),t=this.beans.gridOptionsService.getDocument();e.contains(t.activeElement)&&jr()&&e.focus({preventScroll:!0}),Ai(this.getParentOfValue())}}class ml extends To{constructor(e,t,r){super(),this.cellComps={},this.beans=t,this.rowCtrl=e,this.setTemplate(`<div comp-id="${this.getCompId()}" style="${this.getInitialStyle(r)}"/>`);const i=this.getGui(),o=i.style,a={setDomOrder:e=>this.domOrder=e,setCellCtrls:e=>this.setCellCtrls(e),showFullWidth:e=>this.showFullWidth(e),getFullWidthCellRenderer:()=>this.getFullWidthCellRenderer(),addOrRemoveCssClass:(e,t)=>this.addOrRemoveCssClass(e,t),setUserStyles:e=>_i(i,e),setTop:e=>o.top=e,setTransform:e=>o.transform=e,setRowIndex:e=>i.setAttribute("row-index",e),setRole:e=>lr(i,e),setRowId:e=>i.setAttribute("row-id",e),setRowBusinessKey:e=>i.setAttribute("row-business-key",e),setTabIndex:e=>i.setAttribute("tabindex",e.toString())};e.setComp(a,this.getGui(),r),this.addDestroyFunc(()=>{e.unsetComp(r)})}getInitialStyle(e){const t=this.rowCtrl.getInitialTransform(e),r=this.rowCtrl.getInitialRowTop(e);return t?"transform: "+t:"top: "+r}showFullWidth(e){const t=e.newAgStackInstance();t&&t.then(e=>{if(this.isAlive()){const t=e.getGui();this.getGui().appendChild(t),this.rowCtrl.setupDetailRowAutoHeight(t),this.setFullWidthRowComp(e)}else this.beans.context.destroyBean(e)})}setCellCtrls(e){const t=Object.assign({},this.cellComps);e.forEach(e=>{const r=e.getInstanceId();null==this.cellComps[r]?this.newCellComp(e):t[r]=null});const r=j(t).filter(e=>null!=e);this.destroyCells(r),this.ensureDomOrder(e)}ensureDomOrder(e){if(!this.domOrder)return;const t=[];e.forEach(e=>{const r=this.cellComps[e.getInstanceId()];r&&t.push(r.getGui())}),Gi(this.getGui(),t)}newCellComp(e){const t=new fl(this.beans,e,this.rowCtrl.isPrintLayout(),this.getGui(),this.rowCtrl.isEditing());this.cellComps[e.getInstanceId()]=t,this.getGui().appendChild(t.getGui())}destroy(){super.destroy(),this.destroyAllCells()}destroyAllCells(){const e=j(this.cellComps).filter(e=>null!=e);this.destroyCells(e)}setFullWidthRowComp(e){this.fullWidthCellRenderer&&console.error("AG Grid - should not be setting fullWidthRowComponent twice"),this.fullWidthCellRenderer=e,this.addDestroyFunc(()=>{this.fullWidthCellRenderer=this.beans.context.destroyBean(this.fullWidthCellRenderer)})}getFullWidthCellRenderer(){return this.fullWidthCellRenderer}destroyCells(e){e.forEach(e=>{if(!e)return;const t=e.getCtrl().getInstanceId();this.cellComps[t]===e&&(e.detach(),e.destroy(),this.cellComps[t]=null)})}}var wl=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Cl extends To{constructor(){super(function(){const e=To.elementGettingCreated.getAttribute("name"),t=il.getRowContainerCssClasses(e);let r;const i=e===Xs.CENTER,o=e===Xs.TOP_CENTER||e===Xs.STICKY_TOP_CENTER||e===Xs.BOTTOM_CENTER;return r=i?`<div class="${t.wrapper}" ref="eWrapper" role="presentation">\n <div class="${t.viewport}" ref="eViewport" role="presentation">\n <div class="${t.container}" ref="eContainer"></div>\n </div>\n </div>`:o?`<div class="${t.viewport}" ref="eViewport" role="presentation">\n <div class="${t.container}" ref="eContainer"></div>\n </div>`:`<div class="${t.container}" ref="eContainer"></div>`,r}()),this.rowComps={},this.name=To.elementGettingCreated.getAttribute("name"),this.type=$s(this.name)}postConstruct(){const e={setViewportHeight:e=>this.eViewport.style.height=e,setRowCtrls:e=>this.setRowCtrls(e),setDomOrder:e=>{this.domOrder=e},setContainerWidth:e=>this.eContainer.style.width=e};this.createManagedBean(new il(this.name)).setComp(e,this.eContainer,this.eViewport,this.eWrapper)}preDestroy(){this.setRowCtrls([])}setRowCtrls(e){const t=Object.assign({},this.rowComps);this.rowComps={},this.lastPlacedElement=null;e.forEach(e=>{const r=e.getInstanceId(),i=t[r];if(i)this.rowComps[r]=i,delete t[r],this.ensureDomOrder(i.getGui());else{if(!e.getRowNode().displayed)return;const t=new ml(e,this.beans,this.type);this.rowComps[r]=t,this.appendRow(t.getGui())}}),j(t).forEach(e=>{this.eContainer.removeChild(e.getGui()),e.destroy()}),lr(this.eContainer,e.length?"rowgroup":"presentation")}appendRow(e){this.domOrder?Hi(this.eContainer,e,this.lastPlacedElement):this.eContainer.appendChild(e),this.lastPlacedElement=e}ensureDomOrder(e){this.domOrder&&(ki(this.eContainer,e,this.lastPlacedElement),this.lastPlacedElement=e)}}wl([Ce("beans")],Cl.prototype,"beans",void 0),wl([Do("eViewport")],Cl.prototype,"eViewport",void 0),wl([Do("eContainer")],Cl.prototype,"eContainer",void 0),wl([Do("eWrapper")],Cl.prototype,"eWrapper",void 0),wl([fe],Cl.prototype,"postConstruct",null),wl([me],Cl.prototype,"preDestroy",null);var bl=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class yl{constructor(e){this.columnsToAggregate=[],this.columnsToGroup=[],this.columnsToPivot=[],this.pinned=e}onDragEnter(e){if(this.clearColumnsList(),this.gridOptionsService.is("functionsReadOnly"))return;const t=e.dragItem.columns;t&&t.forEach(e=>{e.isPrimary()&&(e.isAnyFunctionActive()||(e.isAllowValue()?this.columnsToAggregate.push(e):e.isAllowRowGroup()?this.columnsToGroup.push(e):e.isAllowPivot()&&this.columnsToPivot.push(e)))})}getIconName(){return this.columnsToAggregate.length+this.columnsToGroup.length+this.columnsToPivot.length>0?this.pinned?Za.ICON_PINNED:Za.ICON_MOVE:null}onDragLeave(e){this.clearColumnsList()}clearColumnsList(){this.columnsToAggregate.length=0,this.columnsToGroup.length=0,this.columnsToPivot.length=0}onDragging(e){}onDragStop(e){this.columnsToAggregate.length>0&&this.columnModel.addValueColumns(this.columnsToAggregate,"toolPanelDragAndDrop"),this.columnsToGroup.length>0&&this.columnModel.addRowGroupColumns(this.columnsToGroup,"toolPanelDragAndDrop"),this.columnsToPivot.length>0&&this.columnModel.addPivotColumns(this.columnsToPivot,"toolPanelDragAndDrop")}}bl([Ce("columnModel")],yl.prototype,"columnModel",void 0),bl([Ce("gridOptionsService")],yl.prototype,"gridOptionsService",void 0);var Sl=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class El{constructor(e,t){this.needToMoveLeft=!1,this.needToMoveRight=!1,this.lastMovedInfo=null,this.pinned=e,this.eContainer=t,this.centerContainer=!S(e)}init(){this.ctrlsService.whenReady(()=>{this.gridBodyCon=this.ctrlsService.getGridBodyCtrl()})}getIconName(){return this.pinned?Za.ICON_PINNED:Za.ICON_MOVE}onDragEnter(e){const t=e.dragItem.columns;if(e.dragSource.type===Ya.ToolPanel)this.setColumnsVisible(t,!0,"uiColumnDragged");else{const r=e.dragItem.visibleState,i=(t||[]).filter(e=>r[e.getId()]);this.setColumnsVisible(i,!0,"uiColumnDragged")}this.setColumnsPinned(t,this.pinned,"uiColumnDragged"),this.onDragging(e,!0,!0)}onDragLeave(){this.ensureIntervalCleared(),this.lastMovedInfo=null}setColumnsVisible(e,t,r="api"){if(e){const i=e.filter(e=>!e.getColDef().lockVisible);this.columnModel.setColumnsVisible(i,t,r)}}setColumnsPinned(e,t,r="api"){if(e){const i=e.filter(e=>!e.getColDef().lockPinned);this.columnModel.setColumnsPinned(i,t,r)}}onDragStop(){this.onDragging(this.lastDraggingEvent,!1,!0,!0),this.ensureIntervalCleared(),this.lastMovedInfo=null}normaliseX(e){if(this.gridOptionsService.is("enableRtl")){e=this.eContainer.clientWidth-e}return this.centerContainer&&(e+=this.ctrlsService.getCenterRowContainerCtrl().getCenterViewportScrollLeft()),e}checkCenterForScrolling(e){if(this.centerContainer){const t=this.ctrlsService.getCenterRowContainerCtrl().getCenterViewportScrollLeft(),r=t+this.ctrlsService.getCenterRowContainerCtrl().getCenterWidth();this.gridOptionsService.is("enableRtl")?(this.needToMoveRight=e<t+50,this.needToMoveLeft=e>r-50):(this.needToMoveLeft=e<t+50,this.needToMoveRight=e>r-50),this.needToMoveLeft||this.needToMoveRight?this.ensureIntervalStarted():this.ensureIntervalCleared()}}onDragging(e=this.lastDraggingEvent,t=!1,r=!1,i=!1){var o;if(i){if(this.lastMovedInfo){const{columns:e,toIndex:t}=this.lastMovedInfo;this.moveColumns(e,t,"uiColumnMoved",!0)}return}if(this.lastDraggingEvent=e,E(e.hDirection))return;const a=this.normaliseX(e.x);t||this.checkCenterForScrolling(a);const n=this.normaliseDirection(e.hDirection),s=e.dragSource.type,l=(null===(o=e.dragSource.getDragItem().columns)||void 0===o?void 0:o.filter(e=>!e.getColDef().lockPinned||e.getPinned()==this.pinned))||[];this.attemptMoveColumns({dragSourceType:s,allMovingColumns:l,hDirection:n,mouseX:a,fromEnter:t,fakeEvent:r})}normaliseDirection(e){if(!this.gridOptionsService.is("enableRtl"))return e;switch(e){case Qa.Left:return Qa.Right;case Qa.Right:return Qa.Left;default:console.error("AG Grid: Unknown direction "+e)}}attemptMoveColumns(e){const{dragSourceType:t,hDirection:r,mouseX:i,fromEnter:o,fakeEvent:a}=e,n=r===Qa.Left,s=r===Qa.Right;let{allMovingColumns:l}=e;if(t===Ya.HeaderCell){let e=[];l.forEach(t=>{let r=null,i=t.getParent();for(;null!=i&&1===i.getDisplayedLeafColumns().length;)r=i,i=i.getParent();if(null!=r){r.getProvidedColumnGroup().getLeafColumns().forEach(t=>{e.includes(t)||e.push(t)})}else e.includes(t)||e.push(t)}),l=e}const g=l.slice();this.columnModel.sortColumnsLikeGridColumns(g);const d=this.calculateValidMoves(g,s,i),c=this.calculateOldIndex(g);if(0===d.length)return;const u=d[0];let p=null!==c&&!o;if(t==Ya.HeaderCell&&(p=null!==c),p&&!a){if(n&&u>=c)return;if(s&&u<=c)return}const h=this.columnModel.getAllDisplayedColumns();let v=[],f=null;for(let e=0;e<d.length;e++){const t=d[e],r=this.columnModel.getProposedColumnOrder(g,t);if(!this.columnModel.doesOrderPassRules(r))continue;const i=r.filter(e=>h.includes(e));if(null===f)f=i;else if(!ho.areEqual(i,f))break;const o=this.groupFragCount(r);v.push({move:t,fragCount:o})}0!==v.length&&(v.sort((e,t)=>e.fragCount-t.fragCount),this.moveColumns(l,v[0].move,"uiColumnMoved",!1))}calculateOldIndex(e){const t=this.columnModel.getAllGridColumns(),r=He(e.map(e=>t.indexOf(e))),i=r[0];return Fe(r)-i!==r.length-1?null:i}moveColumns(e,t,r,i){this.columnModel.moveColumns(e,t,r,i),this.lastMovedInfo=i?null:{columns:e,toIndex:t}}groupFragCount(e){function t(e){let t=[],r=e.getOriginalParent();for(;null!=r;)t.push(r),r=r.getOriginalParent();return t}let r=0;for(let i=0;i<e.length-1;i++){let o=t(e[i]),a=t(e[i+1]);[o,a]=o.length>a.length?[o,a]:[a,o],o.forEach(e=>{-1===a.indexOf(e)&&r++})}return r}calculateValidMoves(e,t,r){if(this.gridOptionsService.is("suppressMovableColumns")||e.some(e=>e.getColDef().suppressMovable))return[];const i=this.columnModel.getDisplayedColumns(this.pinned),o=this.columnModel.getAllGridColumns(),a=i.filter(t=>Ke(e,t)),n=i.filter(t=>!Ke(e,t)),s=o.filter(t=>!Ke(e,t));let l,g=0,d=r;if(t){let e=0;a.forEach(t=>e+=t.getActualWidth()),d-=e}if(d>0){for(let e=0;e<n.length;e++){if(d-=n[e].getActualWidth(),d<0)break;g++}t&&g++}if(g>0){const e=n[g-1];l=s.indexOf(e)+1}else l=s.indexOf(n[0]),-1===l&&(l=0);const c=[l],u=(e,t)=>e-t;if(t){let e=l+1;const t=o.length-1;for(;e<=t;)c.push(e),e++;c.sort(u)}else{let e=l;const t=o.length-1;let r=o[e];for(;e<=t&&this.isColumnHidden(i,r);)e++,c.push(e),r=o[e];e=l-1;const a=0;for(;e>=a;)c.push(e),e--;c.sort(u).reverse()}return c}isColumnHidden(e,t){return e.indexOf(t)<0}ensureIntervalStarted(){this.movingIntervalId||(this.intervalCount=0,this.failedMoveAttempts=0,this.movingIntervalId=window.setInterval(this.moveInterval.bind(this),100),this.needToMoveLeft?this.dragAndDropService.setGhostIcon(Za.ICON_LEFT,!0):this.dragAndDropService.setGhostIcon(Za.ICON_RIGHT,!0))}ensureIntervalCleared(){this.movingIntervalId&&(window.clearInterval(this.movingIntervalId),this.movingIntervalId=null,this.dragAndDropService.setGhostIcon(Za.ICON_MOVE))}moveInterval(){let e;this.intervalCount++,e=10+5*this.intervalCount,e>100&&(e=100);let t=null;const r=this.gridBodyCon.getScrollFeature();if(this.needToMoveLeft?t=r.scrollHorizontally(-e):this.needToMoveRight&&(t=r.scrollHorizontally(e)),0!==t)this.onDragging(this.lastDraggingEvent),this.failedMoveAttempts=0;else{this.failedMoveAttempts++;const e=this.lastDraggingEvent.dragItem.columns.filter(e=>!e.getColDef().lockPinned);if(e.length>0&&(this.dragAndDropService.setGhostIcon(Za.ICON_PINNED),this.failedMoveAttempts>7)){const t=this.needToMoveLeft?"left":"right";this.setColumnsPinned(e,t,"uiColumnDragged"),this.dragAndDropService.nudge()}}}}Sl([Ce("columnModel")],El.prototype,"columnModel",void 0),Sl([Ce("dragAndDropService")],El.prototype,"dragAndDropService",void 0),Sl([Ce("gridOptionsService")],El.prototype,"gridOptionsService",void 0),Sl([Ce("ctrlsService")],El.prototype,"ctrlsService",void 0),Sl([fe],El.prototype,"init",null);var Rl=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Tl extends lt{constructor(e,t){super(),this.pinned=e,this.eContainer=t}postConstruct(){this.ctrlsService.whenReady(e=>{switch(this.pinned){case"left":this.eSecondaryContainers=[[e.gridBodyCtrl.getBodyViewportElement(),e.leftRowContainerCtrl.getContainerElement()],[e.bottomLeftRowContainerCtrl.getContainerElement()],[e.topLeftRowContainerCtrl.getContainerElement()]];break;case"right":this.eSecondaryContainers=[[e.gridBodyCtrl.getBodyViewportElement(),e.rightRowContainerCtrl.getContainerElement()],[e.bottomRightRowContainerCtrl.getContainerElement()],[e.topRightRowContainerCtrl.getContainerElement()]];break;default:this.eSecondaryContainers=[[e.gridBodyCtrl.getBodyViewportElement(),e.centerRowContainerCtrl.getViewportElement()],[e.bottomCenterRowContainerCtrl.getViewportElement()],[e.topCenterRowContainerCtrl.getViewportElement()]]}})}isInterestedIn(e){return e===Ya.HeaderCell||e===Ya.ToolPanel&&this.gridOptionsService.is("allowDragFromColumnsToolPanel")}getSecondaryContainers(){return this.eSecondaryContainers}getContainer(){return this.eContainer}init(){this.moveColumnFeature=this.createManagedBean(new El(this.pinned,this.eContainer)),this.bodyDropPivotTarget=this.createManagedBean(new yl(this.pinned)),this.dragAndDropService.addDropTarget(this)}getIconName(){return this.currentDropListener.getIconName()}isDropColumnInPivotMode(e){return this.columnModel.isPivotMode()&&e.dragSource.type===Ya.ToolPanel}onDragEnter(e){this.currentDropListener=this.isDropColumnInPivotMode(e)?this.bodyDropPivotTarget:this.moveColumnFeature,this.currentDropListener.onDragEnter(e)}onDragLeave(e){this.currentDropListener.onDragLeave(e)}onDragging(e){this.currentDropListener.onDragging(e)}onDragStop(e){this.currentDropListener.onDragStop(e)}}Rl([Ce("dragAndDropService")],Tl.prototype,"dragAndDropService",void 0),Rl([Ce("columnModel")],Tl.prototype,"columnModel",void 0),Rl([Ce("ctrlsService")],Tl.prototype,"ctrlsService",void 0),Rl([fe],Tl.prototype,"postConstruct",null),Rl([fe],Tl.prototype,"init",null);class xl{static getHeaderClassesFromColDef(e,t,r,i){return E(e)?[]:this.getColumnClassesFromCollDef(e.headerClass,e,t,r,i)}static getToolPanelClassesFromColDef(e,t,r,i){return E(e)?[]:this.getColumnClassesFromCollDef(e.toolPanelClass,e,t,r,i)}static getClassParams(e,t,r,i){return{colDef:e,column:r,columnGroup:i,api:t.api,columnApi:t.columnApi,context:t.context}}static getColumnClassesFromCollDef(e,t,r,i,o){if(E(e))return[];let a;if("function"==typeof e){a=e(this.getClassParams(t,r,i,o))}else a=e;return"string"==typeof a?[a]:Array.isArray(a)?[...a]:[]}}var Dl=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Al extends is{constructor(e){super(Al.TEMPLATE,e),this.headerCompVersion=0,this.column=e.getColumnGroupChild(),this.pinned=e.getPinned()}postConstruct(){const e=this.getGui(),t=(t,r,i)=>{const o=i||e;null!=r&&""!=r?o.setAttribute(t,r):o.removeAttribute(t)},r={setWidth:t=>e.style.width=t,addOrRemoveCssClass:(e,t)=>this.addOrRemoveCssClass(e,t),setColId:e=>t("col-id",e),setTitle:e=>t("title",e),setAriaDescription:t=>vr(e,t),setAriaSort:t=>t?Pr(e,t):Nr(e),setUserCompDetails:e=>this.setUserCompDetails(e),getUserCompInstance:()=>this.headerComp};this.ctrl.setComp(r,this.getGui(),this.eResize,this.eHeaderCompWrapper);const i=this.ctrl.getSelectAllGui();this.eResize.insertAdjacentElement("afterend",i)}destroyHeaderComp(){this.headerComp&&(this.eHeaderCompWrapper.removeChild(this.headerCompGui),this.headerComp=this.destroyBean(this.headerComp),this.headerCompGui=void 0)}setUserCompDetails(e){this.headerCompVersion++;const t=this.headerCompVersion;e.newAgStackInstance().then(e=>this.afterCompCreated(t,e))}afterCompCreated(e,t){e==this.headerCompVersion&&this.isAlive()?(this.destroyHeaderComp(),this.headerComp=t,this.headerCompGui=t.getGui(),this.eHeaderCompWrapper.appendChild(this.headerCompGui),this.ctrl.setDragSource(this.getGui())):this.destroyBean(t)}}Al.TEMPLATE='<div class="ag-header-cell" role="columnheader" tabindex="-1">\n <div ref="eResize" class="ag-header-cell-resize" role="presentation"></div>\n <div ref="eHeaderCompWrapper" class="ag-header-cell-comp-wrapper" role="presentation"></div>\n </div>',Dl([Do("eResize")],Al.prototype,"eResize",void 0),Dl([Do("eHeaderCompWrapper")],Al.prototype,"eHeaderCompWrapper",void 0),Dl([fe],Al.prototype,"postConstruct",null),Dl([me],Al.prototype,"destroyHeaderComp",null);var Ol=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Ml extends is{constructor(e){super(Ml.TEMPLATE,e)}postConstruct(){const e=this.getGui(),t=(t,r)=>null!=r?e.setAttribute(t,r):e.removeAttribute(t),r={addOrRemoveCssClass:(e,t)=>this.addOrRemoveCssClass(e,t),setResizableDisplayed:e=>vi(this.eResize,e),setWidth:t=>e.style.width=t,setColId:t=>e.setAttribute("col-id",t),setAriaExpanded:e=>t("aria-expanded",e),setTitle:e=>t("title",e),setUserCompDetails:e=>this.setUserCompDetails(e)};this.ctrl.setComp(r,e,this.eResize)}setUserCompDetails(e){e.newAgStackInstance().then(e=>this.afterHeaderCompCreated(e))}afterHeaderCompCreated(e){const t=()=>this.destroyBean(e);if(!this.isAlive())return void t();const r=this.getGui(),i=e.getGui();r.appendChild(i),this.addDestroyFunc(t),this.ctrl.setDragSource(r)}}Ml.TEMPLATE='<div class="ag-header-group-cell" role="columnheader" tabindex="-1">\n <div ref="eResize" class="ag-header-cell-resize" role="presentation"></div>\n </div>',Ol([Ce("userComponentFactory")],Ml.prototype,"userComponentFactory",void 0),Ol([Do("eResize")],Ml.prototype,"eResize",void 0),Ol([fe],Ml.prototype,"postConstruct",null);var Pl,Nl=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};!function(e){e.COLUMN_GROUP="group",e.COLUMN="column",e.FLOATING_FILTER="filter"}(Pl||(Pl={}));class Ll extends To{constructor(e){super(),this.headerComps={};const t=e.getType()==Pl.COLUMN_GROUP?"ag-header-row-column-group":e.getType()==Pl.FLOATING_FILTER?"ag-header-row-column-filter":"ag-header-row-column";this.setTemplate(`<div class="ag-header-row ${t}" role="row"></div>`),this.ctrl=e}init(){const e={setTransform:e=>this.getGui().style.transform=e,setHeight:e=>this.getGui().style.height=e,setTop:e=>this.getGui().style.top=e,setHeaderCtrls:e=>this.setHeaderCtrls(e),setWidth:e=>this.getGui().style.width=e,setAriaRowIndex:e=>Dr(this.getGui(),e)};this.ctrl.setComp(e)}destroyHeaderCtrls(){this.setHeaderCtrls([])}setHeaderCtrls(e){if(!this.isAlive())return;const t=this.headerComps;this.headerComps={},e.forEach(e=>{const r=e.getInstanceId();let i=t[r];delete t[r],null==i&&(i=this.createHeaderComp(e),this.getGui().appendChild(i.getGui())),this.headerComps[r]=i}),I(t,(e,t)=>{this.getGui().removeChild(t.getGui()),this.destroyBean(t)});const r=this.gridOptionsService.is("ensureDomOrder"),i=this.gridOptionsService.isDomLayout("print");if(r||i){const e=j(this.headerComps);e.sort((e,t)=>e.getCtrl().getColumnGroupChild().getLeft()-t.getCtrl().getColumnGroupChild().getLeft());const t=e.map(e=>e.getGui());Gi(this.getGui(),t)}}createHeaderComp(e){let t;switch(this.ctrl.getType()){case Pl.COLUMN_GROUP:t=new Ml(e);break;case Pl.FLOATING_FILTER:t=new as(e);break;default:t=new Al(e)}return this.createBean(t),t.setParentComponent(this),t}}Nl([fe],Ll.prototype,"init",null),Nl([me],Ll.prototype,"destroyHeaderCtrls",null);var Il=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let zl=0;class Fl extends lt{constructor(e,t){super(),this.lastFocusEvent=null,this.columnGroupChild=e,this.parentRowCtrl=t,this.instanceId=e.getUniqueId()+"-"+zl++}shouldStopEventPropagation(e){const{headerRowIndex:t,column:r}=this.focusService.getFocusedHeader();return no(this.gridOptionsService,e,t,r)}getWrapperHasFocus(){return this.gridOptionsService.getDocument().activeElement===this.eGui}setGui(e){this.eGui=e,this.addDomData()}handleKeyDown(e){const t=this.getWrapperHasFocus();switch(e.key){case io.PAGE_DOWN:case io.PAGE_UP:case io.PAGE_HOME:case io.PAGE_END:t&&e.preventDefault()}}addDomData(){const e=Fl.DOM_DATA_KEY_HEADER_CTRL;this.gridOptionsService.setDomData(this.eGui,e,this),this.addDestroyFunc(()=>this.gridOptionsService.setDomData(this.eGui,e,null))}getGui(){return this.eGui}focus(e){return!!this.eGui&&(this.lastFocusEvent=e||null,this.eGui.focus(),!0)}getRowIndex(){return this.parentRowCtrl.getRowIndex()}getParentRowCtrl(){return this.parentRowCtrl}getPinned(){return this.parentRowCtrl.getPinned()}getInstanceId(){return this.instanceId}getColumnGroupChild(){return this.columnGroupChild}}Fl.DOM_DATA_KEY_HEADER_CTRL="headerCtrl",Il([Ce("focusService")],Fl.prototype,"focusService",void 0),Il([Ce("beans")],Fl.prototype,"beans",void 0),Il([Ce("userComponentFactory")],Fl.prototype,"userComponentFactory",void 0);var kl=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Gl extends lt{constructor(e,t,r,i){super(),this.columnOrGroup=e,this.eCell=t,this.ariaEl=this.eCell.querySelector("[role=columnheader]")||this.eCell,this.colsSpanning=i,this.beans=r}setColsSpanning(e){this.colsSpanning=e,this.onLeftChanged()}getColumnOrGroup(){return this.beans.gridOptionsService.is("enableRtl")&&this.colsSpanning?Fe(this.colsSpanning):this.columnOrGroup}postConstruct(){this.addManagedListener(this.columnOrGroup,Me.EVENT_LEFT_CHANGED,this.onLeftChanged.bind(this)),this.setLeftFirstTime(),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onLeftChanged.bind(this)),this.addManagedPropertyListener("domLayout",this.onLeftChanged.bind(this))}setLeftFirstTime(){const e=this.beans.gridOptionsService.is("suppressColumnMoveAnimation"),t=S(this.columnOrGroup.getOldLeft());this.beans.columnAnimationService.isActive()&&t&&!e?this.animateInLeft():this.onLeftChanged()}animateInLeft(){const e=this.getColumnOrGroup(),t=e.getLeft(),r=e.getOldLeft(),i=this.modifyLeftForPrintLayout(e,r),o=this.modifyLeftForPrintLayout(e,t);this.setLeft(i),this.actualLeft=o,this.beans.columnAnimationService.executeNextVMTurn(()=>{this.actualLeft===o&&this.setLeft(o)})}onLeftChanged(){const e=this.getColumnOrGroup(),t=e.getLeft();this.actualLeft=this.modifyLeftForPrintLayout(e,t),this.setLeft(this.actualLeft)}modifyLeftForPrintLayout(e,t){if(!this.beans.gridOptionsService.isDomLayout("print"))return t;if("left"===e.getPinned())return t;const r=this.beans.columnModel.getDisplayedColumnsLeftWidth();if("right"===e.getPinned()){return r+this.beans.columnModel.getBodyContainerWidth()+t}return r+t}setLeft(e){let t;if(S(e)&&(this.eCell.style.left=e+"px"),this.columnOrGroup instanceof Me)t=this.columnOrGroup;else{const e=this.columnOrGroup.getLeafColumns();if(!e.length)return;e.length>1&&Mr(this.ariaEl,e.length),t=e[0]}const r=this.beans.columnModel.getAriaColumnIndex(t);Or(this.ariaEl,r)}}kl([fe],Gl.prototype,"postConstruct",null);var Hl=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Vl extends lt{constructor(e,t){super(),this.columns=e,this.element=t}postConstruct(){this.gridOptionsService.is("columnHoverHighlight")&&this.addMouseHoverListeners()}addMouseHoverListeners(){this.addManagedListener(this.element,"mouseout",this.onMouseOut.bind(this)),this.addManagedListener(this.element,"mouseover",this.onMouseOver.bind(this))}onMouseOut(){this.columnHoverService.clearMouseOver()}onMouseOver(){this.columnHoverService.setMouseOver(this.columns)}}Hl([Ce("columnHoverService")],Vl.prototype,"columnHoverService",void 0),Hl([fe],Vl.prototype,"postConstruct",null);var _l=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Bl extends Fl{constructor(e,t){super(e,t),this.iconCreated=!1,this.column=e}setComp(e,t,r,i){super.setGui(t),this.comp=e,this.eButtonShowMainFilter=r,this.eFloatingFilterBody=i,this.setupActive(),this.setupWidth(),this.setupLeft(),this.setupHover(),this.setupFocus(),this.setupAria(),this.setupFilterButton(),this.setupUserComp(),this.setupSyncWithFilter(),this.setupUi(),this.addManagedListener(this.eButtonShowMainFilter,"click",this.showParentFilter.bind(this)),this.setupFilterChangedListener(),this.addManagedListener(this.column,Me.EVENT_COL_DEF_CHANGED,this.onColDefChanged.bind(this))}setupActive(){const e=this.column.getColDef(),t=!!e.filter,r=!!e.floatingFilter;this.active=t&&r}setupUi(){if(this.comp.setButtonWrapperDisplayed(!this.suppressFilterButton&&this.active),this.comp.addOrRemoveBodyCssClass("ag-floating-filter-full-body",this.suppressFilterButton),this.comp.addOrRemoveBodyCssClass("ag-floating-filter-body",!this.suppressFilterButton),!this.active||this.iconCreated)return;const e=ro("filter",this.gridOptionsService,this.column);e&&(this.iconCreated=!0,this.eButtonShowMainFilter.appendChild(e))}setupFocus(){this.createManagedBean(new zo(this.eGui,{shouldStopEventPropagation:this.shouldStopEventPropagation.bind(this),onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this)}))}setupAria(){const e=this.localeService.getLocaleTextFunc();pr(this.eButtonShowMainFilter,e("ariaFilterMenuOpen","Open Filter Menu"))}onTabKeyDown(e){if(this.gridOptionsService.getDocument().activeElement===this.eGui)return;const t=this.focusService.findNextFocusableElement(this.eGui,null,e.shiftKey);if(t)return this.beans.headerNavigationService.scrollToColumn(this.column),e.preventDefault(),void t.focus();const r=this.findNextColumnWithFloatingFilter(e.shiftKey);r&&this.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:this.getParentRowCtrl().getRowIndex(),column:r},event:e})&&e.preventDefault()}findNextColumnWithFloatingFilter(e){const t=this.beans.columnModel;let r=this.column;do{if(r=e?t.getDisplayedColBefore(r):t.getDisplayedColAfter(r),!r)break}while(!r.getColDef().filter||!r.getColDef().floatingFilter);return r}handleKeyDown(e){super.handleKeyDown(e);const t=this.getWrapperHasFocus();switch(e.key){case io.UP:case io.DOWN:t||e.preventDefault();case io.LEFT:case io.RIGHT:if(t)return;e.stopPropagation();case io.ENTER:t&&this.focusService.focusInto(this.eGui)&&e.preventDefault();break;case io.ESCAPE:t||this.eGui.focus()}}onFocusIn(e){if(this.eGui.contains(e.relatedTarget))return;const t=!!e.relatedTarget&&!e.relatedTarget.classList.contains("ag-floating-filter"),r=!!e.relatedTarget&&wi(e.relatedTarget,"ag-floating-filter");if(t&&r&&e.target===this.eGui){const e=this.lastFocusEvent,t=!(!e||e.key!==io.TAB);if(e&&t){const t=e.shiftKey;this.focusService.focusInto(this.eGui,t)}}const i=this.getRowIndex();this.beans.focusService.setFocusedHeader(i,this.column)}setupHover(){this.createManagedBean(new Vl([this.column],this.eGui));const e=()=>{if(!this.gridOptionsService.is("columnHoverHighlight"))return;const e=this.columnHoverService.isHovered(this.column);this.comp.addOrRemoveCssClass("ag-column-hover",e)};this.addManagedListener(this.eventService,ht.EVENT_COLUMN_HOVER_CHANGED,e),e()}setupLeft(){const e=new Gl(this.column,this.eGui,this.beans);this.createManagedBean(e)}setupFilterButton(){const e=this.column.getColDef();this.suppressFilterButton=!!e.floatingFilterComponentParams&&!!e.floatingFilterComponentParams.suppressFilterButton}setupUserComp(){if(!this.active)return;const e=this.filterManager.getFloatingFilterCompDetails(this.column,()=>this.showParentFilter());e&&this.setCompDetails(e)}setCompDetails(e){this.userCompDetails=e,this.comp.setCompDetails(e)}showParentFilter(){const e=this.suppressFilterButton?this.eFloatingFilterBody:this.eButtonShowMainFilter;this.menuFactory.showMenuAfterButtonClick(this.column,e,"floatingFilter","filterMenuTab",["filterMenuTab"])}setupSyncWithFilter(){if(!this.active)return;const e=e=>{const t=this.comp.getFloatingFilterComp();t&&t.then(t=>{if(t){const r=this.filterManager.getCurrentFloatingFilterParentModel(this.column);t.onParentModelChanged(r,e)}})};this.destroySyncListener=this.addManagedListener(this.column,Me.EVENT_FILTER_CHANGED,e),this.filterManager.isFilterActive(this.column)&&e(null)}setupWidth(){const e=()=>{const e=this.column.getActualWidth()+"px";this.comp.setWidth(e)};this.addManagedListener(this.column,Me.EVENT_WIDTH_CHANGED,e),e()}setupFilterChangedListener(){this.active&&(this.destroyFilterChangedListener=this.addManagedListener(this.column,Me.EVENT_FILTER_CHANGED,this.updateFilterButton.bind(this)))}updateFilterButton(){!this.suppressFilterButton&&this.comp&&this.comp.setButtonWrapperDisplayed(this.filterManager.isFilterAllowed(this.column))}onColDefChanged(){var e,t;const r=this.active;this.setupActive();const i=!r&&this.active;r&&!this.active&&(null===(e=this.destroySyncListener)||void 0===e||e.call(this),null===(t=this.destroyFilterChangedListener)||void 0===t||t.call(this));const o=this.active?this.filterManager.getFloatingFilterCompDetails(this.column,()=>this.showParentFilter()):null,a=this.comp.getFloatingFilterComp();a&&o?a.then(e=>{var t;e&&(null===(t=this.userCompDetails)||void 0===t?void 0:t.componentClass)===o.componentClass||this.updateCompDetails(o,i)}):this.updateCompDetails(o,i)}updateCompDetails(e,t){this.setCompDetails(e),this.setupFilterButton(),this.setupUi(),t&&(this.setupSyncWithFilter(),this.setupFilterChangedListener())}}_l([Ce("filterManager")],Bl.prototype,"filterManager",void 0),_l([Ce("columnHoverService")],Bl.prototype,"columnHoverService",void 0),_l([Ce("menuFactory")],Bl.prototype,"menuFactory",void 0);var jl=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Wl extends lt{constructor(e,t,r,i,o){super(),this.pinned=e,this.column=t,this.eResize=r,this.comp=i,this.ctrl=o}postConstruct(){const e=this.column.getColDef(),t=[];let r,i;const o=()=>{if(vi(this.eResize,r),!r)return;const e=this.horizontalResizeService.addResizeBar({eResizeBar:this.eResize,onResizeStart:this.onResizeStart.bind(this),onResizing:this.onResizing.bind(this,!1),onResizeEnd:this.onResizing.bind(this,!0)});if(t.push(e),i){const e=this.gridOptionsService.is("skipHeaderOnAutoSize"),t=()=>{this.columnModel.autoSizeColumn(this.column,e,"uiColumnResized")};this.eResize.addEventListener("dblclick",t);const r=new Ea(this.eResize);r.addEventListener(Ea.EVENT_DOUBLE_TAP,t),this.addDestroyFunc(()=>{this.eResize.removeEventListener("dblclick",t),r.removeEventListener(Ea.EVENT_DOUBLE_TAP,t),r.destroy()})}},a=()=>{t.forEach(e=>e()),t.length=0},n=()=>{const t=this.column.isResizable(),n=!this.gridOptionsService.is("suppressAutoSize")&&!e.suppressAutoSize;(t!==r||n!==i)&&(r=t,i=n,a(),o())};n(),this.addDestroyFunc(a),this.ctrl.addRefreshFunction(n)}onResizing(e,t){const r=this.normaliseResizeAmount(t),i=[{key:this.column,newWidth:this.resizeStartWidth+r}];this.columnModel.setColumnWidths(i,this.resizeWithShiftKey,e,"uiColumnResized"),e&&this.comp.addOrRemoveCssClass("ag-column-resizing",!1)}onResizeStart(e){this.resizeStartWidth=this.column.getActualWidth(),this.resizeWithShiftKey=e,this.comp.addOrRemoveCssClass("ag-column-resizing",!0)}normaliseResizeAmount(e){let t=e;const r="left"!==this.pinned,i="right"===this.pinned;return this.gridOptionsService.is("enableRtl")?r&&(t*=-1):i&&(t*=-1),t}}jl([Ce("horizontalResizeService")],Wl.prototype,"horizontalResizeService",void 0),jl([Ce("columnModel")],Wl.prototype,"columnModel",void 0),jl([fe],Wl.prototype,"postConstruct",null);var Ul=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Kl extends lt{constructor(e){super(),this.cbSelectAllVisible=!1,this.processingEventFromCheckbox=!1,this.column=e;const t=e.getColDef();this.filteredOnly=!!(null==t?void 0:t.headerCheckboxSelectionFilteredOnly),this.currentPageOnly=!!(null==t?void 0:t.headerCheckboxSelectionCurrentPageOnly)}onSpaceKeyDown(e){const t=this.cbSelectAll,r=this.gridOptionsService.getDocument();t.isDisplayed()&&!t.getGui().contains(r.activeElement)&&(e.preventDefault(),t.setValue(!t.getValue()))}getCheckboxGui(){return this.cbSelectAll.getGui()}setComp(e){this.headerCellCtrl=e,this.cbSelectAll=this.createManagedBean(new Zo),this.cbSelectAll.addCssClass("ag-header-select-all"),lr(this.cbSelectAll.getGui(),"presentation"),this.showOrHideSelectAll(),this.addManagedListener(this.eventService,ht.EVENT_NEW_COLUMNS_LOADED,this.showOrHideSelectAll.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_CHANGED,this.showOrHideSelectAll.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_SELECTION_CHANGED,this.onSelectionChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_PAGINATION_CHANGED,this.onSelectionChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_MODEL_UPDATED,this.onModelChanged.bind(this)),this.addManagedListener(this.cbSelectAll,Zo.EVENT_CHANGED,this.onCbSelectAll.bind(this)),br(this.cbSelectAll.getGui(),!0),this.cbSelectAll.getInputElement().setAttribute("tabindex","-1"),this.refreshSelectAllLabel()}showOrHideSelectAll(){this.cbSelectAllVisible=this.isCheckboxSelection(),this.cbSelectAll.setDisplayed(this.cbSelectAllVisible,{skipAriaHidden:!0}),this.cbSelectAllVisible&&(this.checkRightRowModelType("selectAllCheckbox"),this.updateStateOfCheckbox()),this.refreshSelectAllLabel()}onModelChanged(){this.cbSelectAllVisible&&this.updateStateOfCheckbox()}onSelectionChanged(){this.cbSelectAllVisible&&this.updateStateOfCheckbox()}updateStateOfCheckbox(){if(this.processingEventFromCheckbox)return;this.processingEventFromCheckbox=!0;const e=this.selectionService.getSelectAllState(this.filteredOnly,this.currentPageOnly);this.cbSelectAll.setValue(e),this.refreshSelectAllLabel(),this.processingEventFromCheckbox=!1}refreshSelectAllLabel(){const e=this.localeService.getLocaleTextFunc(),t=this.cbSelectAll.getValue()?e("ariaChecked","checked"):e("ariaUnchecked","unchecked"),r=e("ariaRowSelectAll","Press Space to toggle all rows selection");this.cbSelectAllVisible?this.headerCellCtrl.setAriaDescriptionProperty("selectAll",`${r} (${t})`):this.headerCellCtrl.setAriaDescriptionProperty("selectAll",null),this.cbSelectAll.setInputAriaLabel(`${r} (${t})`),this.headerCellCtrl.refreshAriaDescription()}checkRightRowModelType(e){const t=this.rowModel.getType();return!("clientSide"!==t&&"serverSide"!==t)||(console.warn(`AG Grid: ${e} is only available if using 'clientSide' or 'serverSide' rowModelType, you are using ${t}.`),!1)}onCbSelectAll(){if(this.processingEventFromCheckbox)return;if(!this.cbSelectAllVisible)return;const e=this.cbSelectAll.getValue();let t="uiSelectAll";this.currentPageOnly?t="uiSelectAllCurrentPage":this.filteredOnly&&(t="uiSelectAllFiltered");const r={source:t,justFiltered:this.filteredOnly,justCurrentPage:this.currentPageOnly};e?this.selectionService.selectAllRowNodes(r):this.selectionService.deselectAllRowNodes(r)}isCheckboxSelection(){let e=this.column.getColDef().headerCheckboxSelection;if("function"==typeof e){e=e({column:this.column,colDef:this.column.getColDef(),columnApi:this.columnApi,api:this.gridApi,context:this.gridOptionsService.context})}return!!e&&this.checkRightRowModelType("headerCheckboxSelection")}}Ul([Ce("gridApi")],Kl.prototype,"gridApi",void 0),Ul([Ce("columnApi")],Kl.prototype,"columnApi",void 0),Ul([Ce("rowModel")],Kl.prototype,"rowModel",void 0),Ul([Ce("selectionService")],Kl.prototype,"selectionService",void 0);var Yl,ql=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};!function(e){e.TAB_GUARD="ag-tab-guard",e.TAB_GUARD_TOP="ag-tab-guard-top",e.TAB_GUARD_BOTTOM="ag-tab-guard-bottom"}(Yl||(Yl={}));class Ql extends lt{constructor(e){super(),this.skipTabGuardFocus=!1;const{comp:t,eTopGuard:r,eBottomGuard:i,focusInnerElement:o,onFocusIn:a,onFocusOut:n,shouldStopEventPropagation:s,onTabKeyDown:l,handleKeyDown:g,eFocusableElement:d}=e;this.comp=t,this.eTopGuard=r,this.eBottomGuard=i,this.providedFocusInnerElement=o,this.eFocusableElement=d,this.providedFocusIn=a,this.providedFocusOut=n,this.providedShouldStopEventPropagation=s,this.providedOnTabKeyDown=l,this.providedHandleKeyDown=g}postConstruct(){this.createManagedBean(new zo(this.eFocusableElement,{shouldStopEventPropagation:()=>this.shouldStopEventPropagation(),onTabKeyDown:e=>this.onTabKeyDown(e),handleKeyDown:e=>this.handleKeyDown(e),onFocusIn:e=>this.onFocusIn(e),onFocusOut:e=>this.onFocusOut(e)})),this.activateTabGuards(),[this.eTopGuard,this.eBottomGuard].forEach(e=>this.addManagedListener(e,"focus",this.onFocus.bind(this)))}handleKeyDown(e){this.providedHandleKeyDown&&this.providedHandleKeyDown(e)}tabGuardsAreActive(){return!!this.eTopGuard&&this.eTopGuard.hasAttribute("tabIndex")}shouldStopEventPropagation(){return!!this.providedShouldStopEventPropagation&&this.providedShouldStopEventPropagation()}activateTabGuards(){const e=this.gridOptionsService.getNum("tabIndex")||0;this.comp.setTabIndex(e.toString())}deactivateTabGuards(){this.comp.setTabIndex()}onFocus(e){if(this.skipTabGuardFocus)return void(this.skipTabGuardFocus=!1);const t=e.target===this.eBottomGuard;this.providedFocusInnerElement?this.providedFocusInnerElement(t):this.focusInnerElement(t)}onFocusIn(e){this.providedFocusIn&&this.providedFocusIn(e)||this.deactivateTabGuards()}onFocusOut(e){this.providedFocusOut&&this.providedFocusOut(e)||this.eFocusableElement.contains(e.relatedTarget)||this.activateTabGuards()}onTabKeyDown(e){if(this.providedOnTabKeyDown)return void this.providedOnTabKeyDown(e);if(e.defaultPrevented)return;const t=this.tabGuardsAreActive();t&&this.deactivateTabGuards();const r=this.getNextFocusableElement(e.shiftKey);t&&setTimeout(()=>this.activateTabGuards(),0),r&&(r.focus(),e.preventDefault())}focusInnerElement(e=!1){const t=this.focusService.findFocusableElements(this.eFocusableElement);this.tabGuardsAreActive()&&(t.splice(0,1),t.splice(t.length-1,1)),t.length&&t[e?t.length-1:0].focus({preventScroll:!0})}getNextFocusableElement(e){return this.focusService.findNextFocusableElement(this.eFocusableElement,!1,e)}forceFocusOutOfContainer(e=!1){const t=e?this.eTopGuard:this.eBottomGuard;this.activateTabGuards(),this.skipTabGuardFocus=!0,t.focus()}}ql([Ce("focusService")],Ql.prototype,"focusService",void 0),ql([fe],Ql.prototype,"postConstruct",null);var Xl,Zl=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Jl=Xl=class extends lt{static addKeyboardModeEvents(e,t){const r=Xl.instancesMonitored.get(e);r&&r.length>0?-1===r.indexOf(t)&&r.push(t):(Xl.instancesMonitored.set(e,[t]),e.addEventListener("keydown",Xl.toggleKeyboardMode),e.addEventListener("mousedown",Xl.toggleKeyboardMode))}static removeKeyboardModeEvents(e,t){const r=Xl.instancesMonitored.get(e);let i=[];r&&r.length&&(i=[...r].filter(e=>e!==t),Xl.instancesMonitored.set(e,i)),0===i.length&&(e.removeEventListener("keydown",Xl.toggleKeyboardMode),e.removeEventListener("mousedown",Xl.toggleKeyboardMode))}static toggleKeyboardMode(e){const t=Xl.keyboardModeActive,r="keydown"===e.type;if(r&&(e.ctrlKey||e.metaKey||e.altKey))return;if(t&&r||!t&&!r)return;Xl.keyboardModeActive=r;const i=e.target.ownerDocument;if(!i)return;const o=Xl.instancesMonitored.get(i);o&&o.forEach(e=>{e.dispatchEvent({type:r?ht.EVENT_KEYBOARD_FOCUS:ht.EVENT_MOUSE_FOCUS})})}init(){const e=this.clearFocusedCell.bind(this);this.addManagedListener(this.eventService,ht.EVENT_COLUMN_PIVOT_MODE_CHANGED,e),this.addManagedListener(this.eventService,ht.EVENT_NEW_COLUMNS_LOADED,this.onColumnEverythingChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_GROUP_OPENED,e),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_ROW_GROUP_CHANGED,e),this.ctrlsService.whenReady(e=>{this.gridCtrl=e.gridCtrl;const t=this.gridOptionsService.getDocument();Xl.addKeyboardModeEvents(t,this.gridCtrl),this.addDestroyFunc(()=>this.unregisterGridCompController(this.gridCtrl))})}unregisterGridCompController(e){const t=this.gridOptionsService.getDocument();Xl.removeKeyboardModeEvents(t,e)}onColumnEverythingChanged(){if(!this.focusedCellPosition)return;const e=this.focusedCellPosition.column,t=this.columnModel.getGridColumn(e.getId());e!==t&&this.clearFocusedCell()}isKeyboardMode(){return Xl.keyboardModeActive}getFocusCellToUseAfterRefresh(){const e=this.gridOptionsService.getDocument();return this.gridOptionsService.is("suppressFocusAfterRefresh")||!this.focusedCellPosition||this.isDomDataMissingInHierarchy(e.activeElement,zs.DOM_DATA_KEY_ROW_CTRL)?null:this.focusedCellPosition}getFocusHeaderToUseAfterRefresh(){const e=this.gridOptionsService.getDocument();return this.gridOptionsService.is("suppressFocusAfterRefresh")||!this.focusedHeaderPosition||this.isDomDataMissingInHierarchy(e.activeElement,Fl.DOM_DATA_KEY_HEADER_CTRL)?null:this.focusedHeaderPosition}isDomDataMissingInHierarchy(e,t){let r=e;for(;r;){if(this.gridOptionsService.getDomData(r,t))return!1;r=r.parentNode}return!0}getFocusedCell(){return this.focusedCellPosition}shouldRestoreFocus(e){return!!this.isCellRestoreFocused(e)&&(setTimeout(()=>{this.restoredFocusedCellPosition=null},0),!0)}isCellRestoreFocused(e){return null!=this.restoredFocusedCellPosition&&this.cellPositionUtils.equals(e,this.restoredFocusedCellPosition)}setRestoreFocusedCell(e){"react"===this.getFrameworkOverrides().renderingEngine&&(this.restoredFocusedCellPosition=e)}getFocusEventParams(){const{rowIndex:e,rowPinned:t,column:r}=this.focusedCellPosition,i={rowIndex:e,rowPinned:t,column:r,isFullWidthCell:!1},o=this.rowRenderer.getRowByPosition({rowIndex:e,rowPinned:t});return o&&(i.isFullWidthCell=o.isFullWidth()),i}clearFocusedCell(){if(this.restoredFocusedCellPosition=null,null==this.focusedCellPosition)return;const e=Object.assign({type:ht.EVENT_CELL_FOCUS_CLEARED},this.getFocusEventParams());this.focusedCellPosition=null,this.eventService.dispatchEvent(e)}setFocusedCell(e){const{column:t,rowIndex:r,rowPinned:i,forceBrowserFocus:o=!1,preventScrollOnBrowserFocus:a=!1}=e,n=this.columnModel.getGridColumn(t);if(!n)return void(this.focusedCellPosition=null);this.focusedCellPosition=n?{rowIndex:r,rowPinned:y(i),column:n}:null;const s=Object.assign(Object.assign({type:ht.EVENT_CELL_FOCUSED},this.getFocusEventParams()),{forceBrowserFocus:o,preventScrollOnBrowserFocus:a,floating:null});this.eventService.dispatchEvent(s)}isCellFocused(e){return null!=this.focusedCellPosition&&this.cellPositionUtils.equals(e,this.focusedCellPosition)}isRowNodeFocused(e){return this.isRowFocused(e.rowIndex,e.rowPinned)}isHeaderWrapperFocused(e){if(null==this.focusedHeaderPosition)return!1;const t=e.getColumnGroupChild(),r=e.getRowIndex(),i=e.getPinned(),{column:o,headerRowIndex:a}=this.focusedHeaderPosition;return t===o&&r===a&&i==o.getPinned()}clearFocusedHeader(){this.focusedHeaderPosition=null}getFocusedHeader(){return this.focusedHeaderPosition}setFocusedHeader(e,t){this.focusedHeaderPosition={headerRowIndex:e,column:t}}focusHeaderPosition(e){const{direction:t,fromTab:r,allowUserOverride:i,event:o}=e;let{headerPosition:a}=e;if(i){const e=this.getFocusedHeader(),i=this.headerNavigationService.getHeaderRowCount();if(r){const r=this.gridOptionsService.getCallback("tabToNextHeader");if(r){a=r({backwards:"Before"===t,previousHeaderPosition:e,nextHeaderPosition:a,headerRowCount:i})}}else{const t=this.gridOptionsService.getCallback("navigateToNextHeader");if(t&&o){a=t({key:o.key,previousHeaderPosition:e,nextHeaderPosition:a,headerRowCount:i,event:o})}}}if(!a)return!1;if(-1===a.headerRowIndex)return this.focusGridView(a.column);this.headerNavigationService.scrollToColumn(a.column,t);return this.ctrlsService.getHeaderRowContainerCtrl(a.column.getPinned()).focusHeader(a.headerRowIndex,a.column,o)}focusFirstHeader(){let e=this.columnModel.getAllDisplayedColumns()[0];return!!e&&(e.getParent()&&(e=this.columnModel.getColumnGroupAtLevel(e,0)),this.focusHeaderPosition({headerPosition:{headerRowIndex:0,column:e}}))}focusLastHeader(e){const t=this.headerNavigationService.getHeaderRowCount()-1,r=Fe(this.columnModel.getAllDisplayedColumns());return this.focusHeaderPosition({headerPosition:{headerRowIndex:t,column:r},event:e})}isAnyCellFocused(){return!!this.focusedCellPosition}isRowFocused(e,t){return null!=this.focusedCellPosition&&(this.focusedCellPosition.rowIndex===e&&this.focusedCellPosition.rowPinned===y(t))}findFocusableElements(e,t,r=!1){const i=ui;let o=pi;t&&(o+=", "+t),r&&(o+=', [tabindex="-1"]');const a=Array.prototype.slice.apply(e.querySelectorAll(i)),n=Array.prototype.slice.apply(e.querySelectorAll(o));if(!n.length)return a;return s=n,a.filter(e=>-1===s.indexOf(e));var s}focusInto(e,t=!1,r=!1){const i=this.findFocusableElements(e,null,r),o=t?Fe(i):i[0];return!!o&&(o.focus({preventScroll:!0}),!0)}findFocusableElementBeforeTabGuard(e,t){if(!t)return null;const r=this.findFocusableElements(e),i=r.indexOf(t);if(-1===i)return null;let o=-1;for(let e=i-1;e>=0;e--)if(r[e].classList.contains(Yl.TAB_GUARD_TOP)){o=e;break}return o<=0?null:r[o-1]}findNextFocusableElement(e=this.eGridDiv,t,r){const i=this.findFocusableElements(e,t?':not([tabindex="-1"])':null),o=this.gridOptionsService.getDocument().activeElement;let a;a=t?i.findIndex(e=>e.contains(o)):i.indexOf(o);const n=a+(r?-1:1);return n<0||n>=i.length?null:i[n]}isTargetUnderManagedComponent(e,t){if(!t)return!1;const r=e.querySelectorAll("."+zo.FOCUS_MANAGED_CLASS);if(!r.length)return!1;for(let e=0;e<r.length;e++)if(r[e].contains(t))return!0;return!1}findTabbableParent(e,t=5){let r=0;for(;e&&null===Wr(e)&&++r<=t;)e=e.parentElement;return null===Wr(e)?null:e}focusGridView(e,t){if(this.gridOptionsService.is("suppressCellFocus"))return t?this.focusLastHeader():this.focusNextGridCoreContainer(!1);const r=t?this.rowPositionUtils.getLastRow():this.rowPositionUtils.getFirstRow();if(!r)return!1;const{rowIndex:i,rowPinned:o}=r,a=this.getFocusedHeader();if(!e&&a&&(e=a.column),null==i||!e)return!1;if(this.navigationService.ensureCellVisible({rowIndex:i,column:e,rowPinned:o}),this.setFocusedCell({rowIndex:i,column:e,rowPinned:y(o),forceBrowserFocus:!0}),this.rangeService){const t={rowIndex:i,rowPinned:o,column:e};this.rangeService.setRangeToCell(t)}return!0}focusNextGridCoreContainer(e,t=!1){return!(t||!this.gridCtrl.focusNextInnerContainer(e))||((t||!e&&!this.gridCtrl.isDetailGrid())&&this.gridCtrl.forceFocusOutOfContainer(e),!1)}};Jl.AG_KEYBOARD_FOCUS="ag-keyboard-focus",Jl.keyboardModeActive=!1,Jl.instancesMonitored=new Map,Zl([Ce("eGridDiv")],Jl.prototype,"eGridDiv",void 0),Zl([Ce("columnModel")],Jl.prototype,"columnModel",void 0),Zl([Ce("headerNavigationService")],Jl.prototype,"headerNavigationService",void 0),Zl([Ce("rowRenderer")],Jl.prototype,"rowRenderer",void 0),Zl([Ce("rowPositionUtils")],Jl.prototype,"rowPositionUtils",void 0),Zl([Ce("cellPositionUtils")],Jl.prototype,"cellPositionUtils",void 0),Zl([be("rangeService")],Jl.prototype,"rangeService",void 0),Zl([Ce("navigationService")],Jl.prototype,"navigationService",void 0),Zl([Ce("ctrlsService")],Jl.prototype,"ctrlsService",void 0),Zl([fe],Jl.prototype,"init",null),Jl=Xl=Zl([we("focusService")],Jl);var $l=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class eg extends Fl{constructor(e,t){super(e,t),this.refreshFunctions=[],this.userHeaderClasses=new Set,this.ariaDescriptionProperties=new Map,this.column=e}setComp(e,t,r,i){super.setGui(t),this.comp=e,this.updateState(),this.setupWidth(),this.setupMovingCss(),this.setupMenuClass(),this.setupSortableClass(),this.setupWrapTextClass(),this.refreshSpanHeaderHeight(),this.setupAutoHeight(i),this.addColumnHoverListener(),this.setupFilterCss(),this.setupColId(),this.setupClassesFromColDef(),this.setupTooltip(),this.addActiveHeaderMouseListeners(),this.setupSelectAll(),this.setupUserComp(),this.refreshAria(),this.createManagedBean(new Wl(this.getPinned(),this.column,r,e,this)),this.createManagedBean(new Vl([this.column],t)),this.createManagedBean(new Gl(this.column,t,this.beans)),this.createManagedBean(new zo(t,{shouldStopEventPropagation:e=>this.shouldStopEventPropagation(e),onTabKeyDown:()=>null,handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this),onFocusOut:this.onFocusOut.bind(this)})),this.addMouseDownListenerIfNeeded(t),this.addManagedListener(this.column,Me.EVENT_COL_DEF_CHANGED,this.onColDefChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_VALUE_CHANGED,this.onColumnValueChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_ROW_GROUP_CHANGED,this.onColumnRowGroupChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_PIVOT_CHANGED,this.onColumnPivotChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_HEADER_HEIGHT_CHANGED,this.onHeaderHeightChanged.bind(this))}addMouseDownListenerIfNeeded(e){if(!kr())return;const t=this.gridOptionsService.getDocument();["mousedown","touchstart"].forEach(r=>{this.addManagedListener(e,r,r=>{const i=t.activeElement;i===e||e.contains(i)||(e.focus(),Jl.toggleKeyboardMode(r))})})}setupUserComp(){const e=this.lookupUserCompDetails();this.setCompDetails(e)}setCompDetails(e){this.userCompDetails=e,this.comp.setUserCompDetails(e)}lookupUserCompDetails(){const e=this.createParams(),t=this.column.getColDef();return this.userComponentFactory.getHeaderCompDetails(t,e)}createParams(){const e=this.column.getColDef();return{column:this.column,displayName:this.displayName,enableSorting:e.sortable,enableMenu:this.menuEnabled,showColumnMenu:e=>{this.gridApi.showColumnMenuAfterButtonClick(this.column,e)},progressSort:e=>{this.sortController.progressSort(this.column,!!e,"uiColumnSorted")},setSort:(e,t)=>{this.sortController.setSortForColumn(this.column,e,!!t,"uiColumnSorted")},api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsService.context,eGridHeader:this.getGui()}}setupSelectAll(){this.selectAllFeature=this.createManagedBean(new Kl(this.column)),this.selectAllFeature.setComp(this)}getSelectAllGui(){return this.selectAllFeature.getCheckboxGui()}handleKeyDown(e){super.handleKeyDown(e),e.key===io.SPACE&&this.selectAllFeature.onSpaceKeyDown(e),e.key===io.ENTER&&this.onEnterKeyDown(e)}onEnterKeyDown(e){const t=this.comp.getUserCompInstance();if(t)if(e.ctrlKey||e.metaKey)this.menuEnabled&&t.showMenu&&(e.preventDefault(),t.showMenu());else if(this.sortable){const t=e.shiftKey;this.sortController.progressSort(this.column,t,"uiColumnSorted")}}isMenuEnabled(){return this.menuEnabled}onFocusIn(e){if(!this.getGui().contains(e.relatedTarget)){const e=this.getRowIndex();this.focusService.setFocusedHeader(e,this.column)}this.setActiveHeader(!0)}onFocusOut(e){this.getGui().contains(e.relatedTarget)||this.setActiveHeader(!1)}setupTooltip(){const e={getColumn:()=>this.column,getColDef:()=>this.column.getColDef(),getGui:()=>this.eGui,getLocation:()=>"header",getTooltipValue:()=>this.column.getColDef().headerTooltip},t=this.createManagedBean(new Rs(e,this.beans));t.setComp(this.comp),this.refreshFunctions.push(()=>t.refreshToolTip())}setupClassesFromColDef(){const e=()=>{const e=this.column.getColDef(),t=xl.getHeaderClassesFromColDef(e,this.gridOptionsService,this.column,null),r=this.userHeaderClasses;this.userHeaderClasses=new Set(t),t.forEach(e=>{r.has(e)?r.delete(e):this.comp.addOrRemoveCssClass(e,!0)}),r.forEach(e=>this.comp.addOrRemoveCssClass(e,!1))};this.refreshFunctions.push(e),e()}setDragSource(e){if(this.dragSourceElement=e,this.removeDragSource(),!e)return;if(!this.draggable)return;const t=!this.gridOptionsService.is("suppressDragLeaveHidesColumns");this.moveDragSource={type:Ya.HeaderCell,eElement:e,defaultIconName:t?Za.ICON_HIDE:Za.ICON_NOT_ALLOWED,getDragItem:()=>this.createDragItem(),dragItemName:this.displayName,onDragStarted:()=>this.column.setMoving(!0,"uiColumnMoved"),onDragStopped:()=>this.column.setMoving(!1,"uiColumnMoved"),onGridEnter:e=>{var r;if(t){const t=(null===(r=null==e?void 0:e.columns)||void 0===r?void 0:r.filter(e=>!e.getColDef().lockVisible))||[];this.columnModel.setColumnsVisible(t,!0,"uiColumnMoved")}},onGridExit:e=>{var r;if(t){const t=(null===(r=null==e?void 0:e.columns)||void 0===r?void 0:r.filter(e=>!e.getColDef().lockVisible))||[];this.columnModel.setColumnsVisible(t,!1,"uiColumnMoved")}}},this.dragAndDropService.addDragSource(this.moveDragSource,!0)}createDragItem(){const e={};return e[this.column.getId()]=this.column.isVisible(),{columns:[this.column],visibleState:e}}removeDragSource(){this.moveDragSource&&(this.dragAndDropService.removeDragSource(this.moveDragSource),this.moveDragSource=void 0)}onColDefChanged(){this.refresh()}updateState(){const e=this.column.getColDef();this.menuEnabled=this.menuFactory.isMenuEnabled(this.column)&&!e.suppressMenu,this.sortable=e.sortable,this.displayName=this.calculateDisplayName(),this.draggable=this.workOutDraggable()}addRefreshFunction(e){this.refreshFunctions.push(e)}refresh(){this.updateState(),this.refreshHeaderComp(),this.refreshAria(),this.refreshFunctions.forEach(e=>e())}refreshHeaderComp(){const e=this.lookupUserCompDetails();!!(null!=this.comp.getUserCompInstance()&&this.userCompDetails.componentClass==e.componentClass)&&this.attemptHeaderCompRefresh(e.params)?this.setDragSource(this.dragSourceElement):this.setCompDetails(e)}attemptHeaderCompRefresh(e){const t=this.comp.getUserCompInstance();if(!t)return!1;if(!t.refresh)return!1;return t.refresh(e)}calculateDisplayName(){return this.columnModel.getDisplayNameForColumn(this.column,"header",!0)}checkDisplayName(){this.displayName!==this.calculateDisplayName()&&this.refresh()}workOutDraggable(){const e=this.column.getColDef();return!!(!this.gridOptionsService.is("suppressMovableColumns")&&!e.suppressMovable&&!e.lockPosition)||!!e.enableRowGroup||!!e.enablePivot}onColumnRowGroupChanged(){this.checkDisplayName()}onColumnPivotChanged(){this.checkDisplayName()}onColumnValueChanged(){this.checkDisplayName()}setupWidth(){const e=()=>{const e=this.column.getActualWidth();this.comp.setWidth(e+"px")};this.addManagedListener(this.column,Me.EVENT_WIDTH_CHANGED,e),e()}setupMovingCss(){const e=()=>{this.comp.addOrRemoveCssClass("ag-header-cell-moving",this.column.isMoving())};this.addManagedListener(this.column,Me.EVENT_MOVING_CHANGED,e),e()}setupMenuClass(){const e=()=>{this.comp.addOrRemoveCssClass("ag-column-menu-visible",this.column.isMenuVisible())};this.addManagedListener(this.column,Me.EVENT_MENU_VISIBLE_CHANGED,e),e()}setupSortableClass(){const e=()=>{this.comp.addOrRemoveCssClass("ag-header-cell-sortable",!!this.sortable)};e(),this.addRefreshFunction(e),this.addManagedListener(this.eventService,Me.EVENT_SORT_CHANGED,this.refreshAriaSort.bind(this))}setupWrapTextClass(){const e=()=>{const e=!!this.column.getColDef().wrapHeaderText;this.comp.addOrRemoveCssClass("ag-header-cell-wrap-text",e)};e(),this.addRefreshFunction(e)}onHeaderHeightChanged(){this.refreshSpanHeaderHeight()}refreshSpanHeaderHeight(){const{eGui:e,column:t,comp:r,columnModel:i,gridOptionsService:o}=this;if(!t.isSpanHeaderHeight())return;const{numberOfParents:a,isSpanningTotal:n}=this.getColumnGroupPaddingInfo();if(r.addOrRemoveCssClass("ag-header-span-height",a>0),0===a)return;r.addOrRemoveCssClass("ag-header-span-total",n);const s=o.is("pivotMode")?i.getPivotGroupHeaderHeight():i.getGroupHeaderHeight(),l=i.getColumnHeaderRowHeight(),g=a*s;e.style.setProperty("top",-g+"px"),e.style.setProperty("height",l+g+"px")}getColumnGroupPaddingInfo(){let e=this.column.getParent();if(!e||!e.isPadding())return{numberOfParents:0,isSpanningTotal:!1};const t=e.getPaddingLevel()+1;let r=!0;for(;e;){if(!e.isPadding()){r=!1;break}e=e.getParent()}return{numberOfParents:t,isSpanningTotal:r}}setupAutoHeight(e){const t=r=>{if(!this.isAlive())return;const{paddingTop:i,paddingBottom:o,borderBottomWidth:a,borderTopWidth:n}=Ci(this.getGui()),s=i+o+a+n,l=e.offsetHeight+s;if(r<5){const i=this.beans.gridOptionsService.getDocument(),o=0==l;if(!i||!i.contains(e)||o)return void this.beans.frameworkOverrides.setTimeout(()=>t(r+1),0)}this.columnModel.setColumnHeaderHeight(this.column,l)};let r,i=!1;const o=()=>{const e=this.column.isAutoHeaderHeight();e&&!i&&a(),!e&&i&&n()},a=()=>{i=!0,t(0),this.comp.addOrRemoveCssClass("ag-header-cell-auto-height",!0),r=this.resizeObserverService.observeResize(e,()=>t(0))},n=()=>{i=!1,r&&r(),this.comp.addOrRemoveCssClass("ag-header-cell-auto-height",!1),r=void 0};o(),this.addDestroyFunc(()=>n()),this.addManagedListener(this.column,Me.EVENT_WIDTH_CHANGED,()=>i&&t(0)),this.addManagedListener(this.eventService,Me.EVENT_SORT_CHANGED,()=>{i&&this.beans.frameworkOverrides.setTimeout(()=>t(0))}),this.addRefreshFunction(o)}refreshAriaSort(){if(this.sortable){const e=this.localeService.getLocaleTextFunc(),t=this.sortController.getDisplaySortForColumn(this.column)||null;this.comp.setAriaSort(gr(t)),this.setAriaDescriptionProperty("sort",e("ariaSortableColumn","Press ENTER to sort."))}else this.comp.setAriaSort(),this.setAriaDescriptionProperty("sort",null)}refreshAriaMenu(){if(this.menuEnabled){const e=this.localeService.getLocaleTextFunc();this.setAriaDescriptionProperty("menu",e("ariaMenuColumn","Press CTRL ENTER to open column menu."))}else this.setAriaDescriptionProperty("menu",null)}setAriaDescriptionProperty(e,t){null!=t?this.ariaDescriptionProperties.set(e,t):this.ariaDescriptionProperties.delete(e)}refreshAriaDescription(){const e=Array.from(this.ariaDescriptionProperties.values());this.comp.setAriaDescription(e.length?e.join(" "):void 0)}refreshAria(){this.refreshAriaSort(),this.refreshAriaMenu(),this.refreshAriaDescription()}addColumnHoverListener(){const e=()=>{if(!this.gridOptionsService.is("columnHoverHighlight"))return;const e=this.columnHoverService.isHovered(this.column);this.comp.addOrRemoveCssClass("ag-column-hover",e)};this.addManagedListener(this.eventService,ht.EVENT_COLUMN_HOVER_CHANGED,e),e()}setupFilterCss(){const e=()=>{this.comp.addOrRemoveCssClass("ag-header-cell-filtered",this.column.isFilterActive())};this.addManagedListener(this.column,Me.EVENT_FILTER_ACTIVE_CHANGED,e),e()}setupColId(){this.comp.setColId(this.column.getColId())}addActiveHeaderMouseListeners(){const e=e=>this.setActiveHeader("mouseenter"===e.type);this.addManagedListener(this.getGui(),"mouseenter",e),this.addManagedListener(this.getGui(),"mouseleave",e)}setActiveHeader(e){this.comp.addOrRemoveCssClass("ag-header-active",e)}}$l([Ce("columnModel")],eg.prototype,"columnModel",void 0),$l([Ce("columnHoverService")],eg.prototype,"columnHoverService",void 0),$l([Ce("sortController")],eg.prototype,"sortController",void 0),$l([Ce("menuFactory")],eg.prototype,"menuFactory",void 0),$l([Ce("dragAndDropService")],eg.prototype,"dragAndDropService",void 0),$l([Ce("resizeObserverService")],eg.prototype,"resizeObserverService",void 0),$l([Ce("gridApi")],eg.prototype,"gridApi",void 0),$l([Ce("columnApi")],eg.prototype,"columnApi",void 0),$l([me],eg.prototype,"removeDragSource",null);var tg=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class rg extends lt{constructor(e,t,r,i){super(),this.eResize=t,this.comp=e,this.pinned=r,this.columnGroup=i}postConstruct(){if(!this.columnGroup.isResizable())return void this.comp.setResizableDisplayed(!1);const e=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(e),!this.gridOptionsService.is("suppressAutoSize")){const e=this.gridOptionsService.is("skipHeaderOnAutoSize");this.eResize.addEventListener("dblclick",()=>{const t=[];this.columnGroup.getDisplayedLeafColumns().forEach(e=>{e.getColDef().suppressAutoSize||t.push(e.getColId())}),t.length>0&&this.columnModel.autoSizeColumns({columns:t,skipHeader:e,stopAtGroup:this.columnGroup,source:"uiColumnResized"}),this.resizeLeafColumnsToFit("uiColumnResized")})}}onResizeStart(e){this.calculateInitialValues();let t=null;if(e&&(t=this.columnModel.getDisplayedGroupAfter(this.columnGroup)),t){const e=t.getDisplayedLeafColumns();this.resizeTakeFromCols=e.filter(e=>e.isResizable()),this.resizeTakeFromStartWidth=0,this.resizeTakeFromCols.forEach(e=>this.resizeTakeFromStartWidth+=e.getActualWidth()),this.resizeTakeFromRatios=[],this.resizeTakeFromCols.forEach(e=>this.resizeTakeFromRatios.push(e.getActualWidth()/this.resizeTakeFromStartWidth))}else this.resizeTakeFromCols=null,this.resizeTakeFromStartWidth=null,this.resizeTakeFromRatios=null;this.comp.addOrRemoveCssClass("ag-column-resizing",!0)}onResizing(e,t,r="uiColumnResized"){const i=this.normaliseDragChange(t),o=this.resizeStartWidth+i;this.resizeColumns(o,r,e)}resizeLeafColumnsToFit(e){const t=this.autoWidthCalculator.getPreferredWidthForColumnGroup(this.columnGroup);this.calculateInitialValues(),t>this.resizeStartWidth&&this.resizeColumns(t,e,!0)}resizeColumns(e,t,r=!0){const i=[];if(i.push({columns:this.resizeCols,ratios:this.resizeRatios,width:e}),this.resizeTakeFromCols){const t=e-this.resizeStartWidth;i.push({columns:this.resizeTakeFromCols,ratios:this.resizeTakeFromRatios,width:this.resizeTakeFromStartWidth-t})}this.columnModel.resizeColumnSets({resizeSets:i,finished:r,source:t}),r&&this.comp.addOrRemoveCssClass("ag-column-resizing",!1)}calculateInitialValues(){const e=this.columnGroup.getDisplayedLeafColumns();this.resizeCols=e.filter(e=>e.isResizable()),this.resizeStartWidth=0,this.resizeCols.forEach(e=>this.resizeStartWidth+=e.getActualWidth()),this.resizeRatios=[],this.resizeCols.forEach(e=>this.resizeRatios.push(e.getActualWidth()/this.resizeStartWidth))}normaliseDragChange(e){let t=e;return this.gridOptionsService.is("enableRtl")?"left"!==this.pinned&&(t*=-1):"right"===this.pinned&&(t*=-1),t}}tg([Ce("horizontalResizeService")],rg.prototype,"horizontalResizeService",void 0),tg([Ce("autoWidthCalculator")],rg.prototype,"autoWidthCalculator",void 0),tg([Ce("columnModel")],rg.prototype,"columnModel",void 0),tg([fe],rg.prototype,"postConstruct",null);var ig=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class og extends lt{constructor(e,t){super(),this.removeChildListenersFuncs=[],this.columnGroup=t,this.comp=e}postConstruct(){this.addListenersToChildrenColumns(),this.addManagedListener(this.columnGroup,pt.EVENT_DISPLAYED_CHILDREN_CHANGED,this.onDisplayedChildrenChanged.bind(this)),this.onWidthChanged(),this.addDestroyFunc(this.removeListenersOnChildrenColumns.bind(this))}addListenersToChildrenColumns(){this.removeListenersOnChildrenColumns();const e=this.onWidthChanged.bind(this);this.columnGroup.getLeafColumns().forEach(t=>{t.addEventListener("widthChanged",e),t.addEventListener("visibleChanged",e),this.removeChildListenersFuncs.push(()=>{t.removeEventListener("widthChanged",e),t.removeEventListener("visibleChanged",e)})})}removeListenersOnChildrenColumns(){this.removeChildListenersFuncs.forEach(e=>e()),this.removeChildListenersFuncs=[]}onDisplayedChildrenChanged(){this.addListenersToChildrenColumns(),this.onWidthChanged()}onWidthChanged(){const e=this.columnGroup.getActualWidth();this.comp.setWidth(e+"px"),this.comp.addOrRemoveCssClass("ag-hidden",0===e)}}ig([fe],og.prototype,"postConstruct",null);var ag=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class ng extends Fl{constructor(e,t){super(e,t),this.columnGroup=e}setComp(e,t,r){super.setGui(t),this.comp=e,this.displayName=this.columnModel.getDisplayNameForColumnGroup(this.columnGroup,"header"),this.addClasses(),this.addAttributes(),this.setupMovingCss(),this.setupExpandable(),this.setupTooltip(),this.setupUserComp();const i=this.getParentRowCtrl().getPinned(),o=this.columnGroup.getProvidedColumnGroup().getLeafColumns();this.createManagedBean(new Vl(o,t)),this.createManagedBean(new Gl(this.columnGroup,t,this.beans)),this.createManagedBean(new og(e,this.columnGroup)),this.groupResizeFeature=this.createManagedBean(new rg(e,r,i,this.columnGroup)),this.createManagedBean(new zo(t,{shouldStopEventPropagation:this.shouldStopEventPropagation.bind(this),onTabKeyDown:()=>{},handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this)}))}resizeLeafColumnsToFit(e){this.groupResizeFeature&&this.groupResizeFeature.resizeLeafColumnsToFit(e)}setupUserComp(){let e=this.displayName;const t={displayName:this.displayName,columnGroup:this.columnGroup,setExpanded:e=>{this.columnModel.setColumnGroupOpened(this.columnGroup.getProvidedColumnGroup(),e,"gridInitializing")},api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsService.context};if(!e){let t=this.columnGroup;const r=t.getLeafColumns();for(;t.getParent()&&t.getParent().getLeafColumns().length===r.length;)t=t.getParent();const i=t.getColGroupDef();i&&(e=i.headerName),e||(e=r?this.columnModel.getDisplayNameForColumn(r[0],"header",!0):"")}const r=this.userComponentFactory.getHeaderGroupCompDetails(t);this.comp.setUserCompDetails(r)}setupTooltip(){const e=this.columnGroup.getColGroupDef(),t={getColumn:()=>this.columnGroup,getGui:()=>this.eGui,getLocation:()=>"headerGroup",getTooltipValue:()=>e&&e.headerTooltip};e&&(t.getColDef=()=>e);this.createManagedBean(new Rs(t,this.beans)).setComp(this.comp)}setupExpandable(){const e=this.columnGroup.getProvidedColumnGroup();this.refreshExpanded(),this.addManagedListener(e,Ne.EVENT_EXPANDABLE_CHANGED,this.refreshExpanded.bind(this)),this.addManagedListener(e,Ne.EVENT_EXPANDED_CHANGED,this.refreshExpanded.bind(this))}refreshExpanded(){const e=this.columnGroup;this.expandable=e.isExpandable();const t=e.isExpanded();this.expandable?this.comp.setAriaExpanded(t?"true":"false"):this.comp.setAriaExpanded(void 0)}addAttributes(){this.comp.setColId(this.columnGroup.getUniqueId())}addClasses(){const e=this.columnGroup.getColGroupDef(),t=xl.getHeaderClassesFromColDef(e,this.gridOptionsService,null,this.columnGroup);if(this.columnGroup.isPadding()){t.push("ag-header-group-cell-no-group");this.columnGroup.getLeafColumns().every(e=>e.isSpanHeaderHeight())&&t.push("ag-header-span-height")}else t.push("ag-header-group-cell-with-group");t.forEach(e=>this.comp.addOrRemoveCssClass(e,!0))}setupMovingCss(){const e=this.columnGroup.getProvidedColumnGroup().getLeafColumns(),t=()=>this.comp.addOrRemoveCssClass("ag-header-cell-moving",this.columnGroup.isMoving());e.forEach(e=>{this.addManagedListener(e,Me.EVENT_MOVING_CHANGED,t)}),t()}onFocusIn(e){if(!this.eGui.contains(e.relatedTarget)){const e=this.getRowIndex();this.beans.focusService.setFocusedHeader(e,this.columnGroup)}}handleKeyDown(e){super.handleKeyDown(e);const t=this.getWrapperHasFocus();if(this.expandable&&t&&e.key===io.ENTER){const e=this.columnGroup,t=!e.isExpanded();this.columnModel.setColumnGroupOpened(e.getProvidedColumnGroup(),t,"uiColumnExpanded")}}setDragSource(e){if(this.isSuppressMoving())return;const t=this.columnGroup.getProvidedColumnGroup().getLeafColumns(),r=!this.gridOptionsService.is("suppressDragLeaveHidesColumns"),i={type:Ya.HeaderCell,eElement:e,defaultIconName:r?Za.ICON_HIDE:Za.ICON_NOT_ALLOWED,dragItemName:this.displayName,getDragItem:this.getDragItemForGroup.bind(this),onDragStarted:()=>t.forEach(e=>e.setMoving(!0,"uiColumnDragged")),onDragStopped:()=>t.forEach(e=>e.setMoving(!1,"uiColumnDragged")),onGridEnter:e=>{var t;if(r){const r=(null===(t=null==e?void 0:e.columns)||void 0===t?void 0:t.filter(e=>!e.getColDef().lockVisible))||[];this.columnModel.setColumnsVisible(r,!0,"uiColumnMoved")}},onGridExit:e=>{var t;if(r){const r=(null===(t=null==e?void 0:e.columns)||void 0===t?void 0:t.filter(e=>!e.getColDef().lockVisible))||[];this.columnModel.setColumnsVisible(r,!1,"uiColumnMoved")}}};this.dragAndDropService.addDragSource(i,!0),this.addDestroyFunc(()=>this.dragAndDropService.removeDragSource(i))}getDragItemForGroup(){const e=this.columnGroup.getProvidedColumnGroup().getLeafColumns(),t={};e.forEach(e=>t[e.getId()]=e.isVisible());const r=[];return this.columnModel.getAllDisplayedColumns().forEach(t=>{e.indexOf(t)>=0&&(r.push(t),_e(e,t))}),e.forEach(e=>r.push(e)),{columns:r,visibleState:t}}isSuppressMoving(){let e=!1;this.columnGroup.getLeafColumns().forEach(t=>{(t.getColDef().suppressMovable||t.getColDef().lockPosition)&&(e=!0)});return e||this.gridOptionsService.is("suppressMovableColumns")}}ag([Ce("columnModel")],ng.prototype,"columnModel",void 0),ag([Ce("dragAndDropService")],ng.prototype,"dragAndDropService",void 0),ag([Ce("gridApi")],ng.prototype,"gridApi",void 0),ag([Ce("columnApi")],ng.prototype,"columnApi",void 0);var sg=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let lg=0;class gg extends lt{constructor(e,t,r){super(),this.instanceId=lg++,this.headerCellCtrls={},this.rowIndex=e,this.pinned=t,this.type=r}getInstanceId(){return this.instanceId}setComp(e){this.comp=e,this.onRowHeightChanged(),this.onVirtualColumnsChanged(),this.setWidth(),this.addEventListeners(),kr()&&this.comp.setTransform("translateZ(0)"),e.setAriaRowIndex(this.rowIndex+1)}addEventListeners(){this.addManagedListener(this.eventService,ht.EVENT_COLUMN_RESIZED,this.onColumnResized.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_VIRTUAL_COLUMNS_CHANGED,this.onVirtualColumnsChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_HEADER_HEIGHT_CHANGED,this.onRowHeightChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_GRID_STYLES_CHANGED,this.onRowHeightChanged.bind(this)),this.addManagedPropertyListener("domLayout",this.onDisplayedColumnsChanged.bind(this)),this.addManagedPropertyListener("headerHeight",this.onRowHeightChanged.bind(this)),this.addManagedPropertyListener("pivotHeaderHeight",this.onRowHeightChanged.bind(this)),this.addManagedPropertyListener("groupHeaderHeight",this.onRowHeightChanged.bind(this)),this.addManagedPropertyListener("pivotGroupHeaderHeight",this.onRowHeightChanged.bind(this)),this.addManagedPropertyListener("floatingFiltersHeight",this.onRowHeightChanged.bind(this))}getHeaderCellCtrl(e){return N(this.headerCellCtrls).find(t=>t.getColumnGroupChild()===e)}onDisplayedColumnsChanged(){this.onVirtualColumnsChanged(),this.setWidth(),this.onRowHeightChanged()}getType(){return this.type}onColumnResized(){this.setWidth()}setWidth(){const e=this.getWidthForRow();this.comp.setWidth(e+"px")}getWidthForRow(){if(this.gridOptionsService.isDomLayout("print")){return null!=this.pinned?0:this.columnModel.getContainerWidth("right")+this.columnModel.getContainerWidth("left")+this.columnModel.getContainerWidth(null)}return this.columnModel.getContainerWidth(this.pinned)}onRowHeightChanged(){let e=this.columnModel.getHeaderRowCount();const t=[];let r=0;this.columnModel.hasFloatingFilters()&&(e++,r=1);const i=this.columnModel.getColumnGroupHeaderRowHeight(),o=this.columnModel.getColumnHeaderRowHeight(),a=e-(1+r);for(let e=0;e<a;e++)t.push(i);t.push(o);for(let e=0;e<r;e++)t.push(this.columnModel.getFloatingFiltersHeight());let n=0;for(let e=0;e<this.rowIndex;e++)n+=t[e];const s=t[this.rowIndex]+"px";this.comp.setTop(n+"px"),this.comp.setHeight(s)}getPinned(){return this.pinned}getRowIndex(){return this.rowIndex}onVirtualColumnsChanged(){const e=this.headerCellCtrls;this.headerCellCtrls={};this.getColumnsInViewport().forEach(t=>{if(t.isEmptyGroup())return;const r=t.getUniqueId();let i=e[r];delete e[r];if(i&&i.getColumnGroupChild()!=t&&(this.destroyBean(i),i=void 0),null==i)switch(this.type){case Pl.FLOATING_FILTER:i=this.createBean(new Bl(t,this));break;case Pl.COLUMN_GROUP:i=this.createBean(new ng(t,this));break;default:i=this.createBean(new eg(t,this))}this.headerCellCtrls[r]=i});const t=e=>{if(!this.focusService.isHeaderWrapperFocused(e))return!1;return this.columnModel.isDisplayed(e.getColumnGroupChild())};I(e,(e,r)=>{t(r)?this.headerCellCtrls[e]=r:this.destroyBean(r)});const r=j(this.headerCellCtrls);this.comp.setHeaderCtrls(r)}getColumnsInViewport(){return this.gridOptionsService.isDomLayout("print")?this.getColumnsInViewportPrintLayout():this.getColumnsInViewportNormalLayout()}getColumnsInViewportPrintLayout(){if(null!=this.pinned)return[];let e=[];const t=this.getActualDepth();return["left",null,"right"].forEach(r=>{const i=this.columnModel.getVirtualHeaderGroupRow(r,t);e=e.concat(i)}),e}getActualDepth(){return this.type==Pl.FLOATING_FILTER?this.rowIndex-1:this.rowIndex}getColumnsInViewportNormalLayout(){return this.columnModel.getVirtualHeaderGroupRow(this.pinned,this.getActualDepth())}focusHeader(e,t){const r=j(this.headerCellCtrls).find(t=>t.getColumnGroupChild()==e);return!!r&&(r.focus(t),!0)}destroy(){I(this.headerCellCtrls,(e,t)=>{this.destroyBean(t)}),this.headerCellCtrls={},super.destroy()}}sg([Ce("columnModel")],gg.prototype,"columnModel",void 0),sg([Ce("focusService")],gg.prototype,"focusService",void 0);var dg=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class cg extends lt{constructor(e){super(),this.hidden=!1,this.includeFloatingFilter=!1,this.groupsRowCtrls=[],this.pinned=e}setComp(e,t){this.comp=e,this.eViewport=t,this.setupCenterWidth(),this.setupPinnedWidth(),this.setupDragAndDrop(this.eViewport),this.addManagedListener(this.eventService,ht.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.ctrlsService.registerHeaderContainer(this,this.pinned),this.columnModel.isReady()&&this.refresh()}setupDragAndDrop(e){const t=new Tl(this.pinned,e);this.createManagedBean(t)}refresh(e=!1){const t=new vo,r=this.focusService.getFocusHeaderToUseAfterRefresh();(()=>{const e=this.columnModel.getHeaderRowCount()-1;this.groupsRowCtrls=this.destroyBeans(this.groupsRowCtrls);for(let r=0;r<e;r++){const e=this.createBean(new gg(t.next(),this.pinned,Pl.COLUMN_GROUP));this.groupsRowCtrls.push(e)}})(),(()=>{const r=t.next(),i=!(this.hidden||null!=this.columnsRowCtrl&&e&&this.columnsRowCtrl.getRowIndex()===r);(i||this.hidden)&&(this.columnsRowCtrl=this.destroyBean(this.columnsRowCtrl)),i&&(this.columnsRowCtrl=this.createBean(new gg(r,this.pinned,Pl.COLUMN)))})(),(()=>{this.includeFloatingFilter=this.columnModel.hasFloatingFilters()&&!this.hidden;const r=()=>{this.filtersRowCtrl=this.destroyBean(this.filtersRowCtrl)};if(!this.includeFloatingFilter)return void r();const i=t.next();if(this.filtersRowCtrl){const t=this.filtersRowCtrl.getRowIndex()!==i;e&&!t||r()}this.filtersRowCtrl||(this.filtersRowCtrl=this.createBean(new gg(i,this.pinned,Pl.FLOATING_FILTER)))})();const i=this.getAllCtrls();this.comp.setCtrls(i),this.restoreFocusOnHeader(r)}restoreFocusOnHeader(e){null!=e&&e.column.getPinned()==this.pinned&&this.focusService.focusHeaderPosition({headerPosition:e})}getAllCtrls(){const e=[...this.groupsRowCtrls];return this.columnsRowCtrl&&e.push(this.columnsRowCtrl),this.filtersRowCtrl&&e.push(this.filtersRowCtrl),e}onGridColumnsChanged(){this.refresh(!0)}onDisplayedColumnsChanged(){const e=this.columnModel.hasFloatingFilters()&&!this.hidden;this.includeFloatingFilter!==e&&this.refresh(!0)}setupCenterWidth(){null==this.pinned&&this.createManagedBean(new Qs(e=>this.comp.setCenterWidth(e+"px"),!0))}setHorizontalScroll(e){this.comp.setViewportScrollLeft(e)}setupPinnedWidth(){if(null==this.pinned)return;const e="left"===this.pinned,t="right"===this.pinned;this.hidden=!0;const r=()=>{const r=e?this.pinnedWidthService.getPinnedLeftWidth():this.pinnedWidthService.getPinnedRightWidth();if(null==r)return;const i=0==r,o=this.hidden!==i,a=this.gridOptionsService.is("enableRtl"),n=this.gridOptionsService.getScrollbarWidth(),s=this.scrollVisibleService.isVerticalScrollShowing()&&(a&&e||!a&&t)?r+n:r;this.comp.setPinnedContainerWidth(s+"px"),this.comp.setDisplayed(!i),o&&(this.hidden=i,this.refresh())};this.addManagedListener(this.eventService,ht.EVENT_LEFT_PINNED_WIDTH_CHANGED,r),this.addManagedListener(this.eventService,ht.EVENT_RIGHT_PINNED_WIDTH_CHANGED,r),this.addManagedListener(this.eventService,ht.EVENT_SCROLL_VISIBILITY_CHANGED,r),this.addManagedListener(this.eventService,ht.EVENT_SCROLLBAR_WIDTH_CHANGED,r)}getHeaderCtrlForColumn(e){if(e instanceof Me){if(!this.columnsRowCtrl)return;return this.columnsRowCtrl.getHeaderCellCtrl(e)}if(0!==this.groupsRowCtrls.length)for(let t=0;t<this.groupsRowCtrls.length;t++){const r=this.groupsRowCtrls[t].getHeaderCellCtrl(e);if(r)return r}}getHtmlElementForColumnHeader(e){const t=this.getHeaderCtrlForColumn(e);return t?t.getGui():null}getRowType(e){const t=this.getAllCtrls()[e];return t?t.getType():void 0}focusHeader(e,t,r){const i=this.getAllCtrls()[e];return!!i&&i.focusHeader(t,r)}getRowCount(){return this.groupsRowCtrls.length+(this.columnsRowCtrl?1:0)+(this.filtersRowCtrl?1:0)}destroy(){this.filtersRowCtrl&&(this.filtersRowCtrl=this.destroyBean(this.filtersRowCtrl)),this.columnsRowCtrl&&(this.columnsRowCtrl=this.destroyBean(this.columnsRowCtrl)),this.groupsRowCtrls&&this.groupsRowCtrls.length&&(this.groupsRowCtrls=this.destroyBeans(this.groupsRowCtrls)),super.destroy()}}dg([Ce("ctrlsService")],cg.prototype,"ctrlsService",void 0),dg([Ce("scrollVisibleService")],cg.prototype,"scrollVisibleService",void 0),dg([Ce("pinnedWidthService")],cg.prototype,"pinnedWidthService",void 0),dg([Ce("columnModel")],cg.prototype,"columnModel",void 0),dg([Ce("focusService")],cg.prototype,"focusService",void 0);var ug=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class pg extends To{constructor(e){super(),this.headerRowComps={},this.rowCompsList=[],this.pinned=e}init(){this.selectAndSetTemplate();const e={setDisplayed:e=>this.setDisplayed(e),setCtrls:e=>this.setCtrls(e),setCenterWidth:e=>this.eCenterContainer.style.width=e,setViewportScrollLeft:e=>this.getGui().scrollLeft=e,setPinnedContainerWidth:e=>{const t=this.getGui();t.style.width=e,t.style.maxWidth=e,t.style.minWidth=e}};this.createManagedBean(new cg(this.pinned)).setComp(e,this.getGui())}selectAndSetTemplate(){const e="left"==this.pinned,t="right"==this.pinned,r=e?pg.PINNED_LEFT_TEMPLATE:t?pg.PINNED_RIGHT_TEMPLATE:pg.CENTER_TEMPLATE;this.setTemplate(r),this.eRowContainer=this.eCenterContainer?this.eCenterContainer:this.getGui()}destroyRowComps(){this.setCtrls([])}destroyRowComp(e){this.destroyBean(e),this.eRowContainer.removeChild(e.getGui())}setCtrls(e){const t=this.headerRowComps;let r;this.headerRowComps={},this.rowCompsList=[];const i=e=>{const t=e.getGui();t.parentElement!=this.eRowContainer&&this.eRowContainer.appendChild(t),r&&ki(this.eRowContainer,t,r),r=t};e.forEach(e=>{const r=e.getInstanceId(),o=t[r];delete t[r];const a=o||this.createBean(new Ll(e));this.headerRowComps[r]=a,this.rowCompsList.push(a),i(a)}),j(t).forEach(e=>this.destroyRowComp(e))}}pg.PINNED_LEFT_TEMPLATE='<div class="ag-pinned-left-header" role="presentation"></div>',pg.PINNED_RIGHT_TEMPLATE='<div class="ag-pinned-right-header" role="presentation"></div>',pg.CENTER_TEMPLATE='<div class="ag-header-viewport" role="presentation">\n <div class="ag-header-container" ref="eCenterContainer" role="rowgroup"></div>\n </div>',ug([Do("eCenterContainer")],pg.prototype,"eCenterContainer",void 0),ug([fe],pg.prototype,"init",null),ug([me],pg.prototype,"destroyRowComps",null);var hg,vg=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};!function(e){e[e.UP=0]="UP",e[e.DOWN=1]="DOWN",e[e.LEFT=2]="LEFT",e[e.RIGHT=3]="RIGHT"}(hg||(hg={}));let fg=class extends lt{postConstruct(){this.ctrlsService.whenReady(e=>{this.gridBodyCon=e.gridBodyCtrl})}getHeaderRowCount(){const e=this.ctrlsService.getHeaderRowContainerCtrl();return e?e.getRowCount():0}navigateVertically(e,t,r){if(t||(t=this.focusService.getFocusedHeader()),!t)return!1;const{headerRowIndex:i,column:o}=t,a=this.getHeaderRowCount(),n=e===hg.UP;let{nextRow:s,nextFocusColumn:l}=n?this.headerPositionUtils.getColumnVisibleParent(o,i):this.headerPositionUtils.getColumnVisibleChild(o,i),g=!1;return s<0&&(s=0,l=o,g=!0),s>=a&&(s=-1),!(!g&&!l)&&this.focusService.focusHeaderPosition({headerPosition:{headerRowIndex:s,column:l},allowUserOverride:!0,event:r})}navigateHorizontally(e,t=!1,r){const i=this.focusService.getFocusedHeader();let o,a;return e===hg.LEFT!==this.gridOptionsService.is("enableRtl")?(a="Before",o=this.headerPositionUtils.findHeader(i,a)):(a="After",o=this.headerPositionUtils.findHeader(i,a)),o||!t?this.focusService.focusHeaderPosition({headerPosition:o,direction:a,fromTab:t,allowUserOverride:!0,event:r}):this.focusNextHeaderRow(i,a,r)}focusNextHeaderRow(e,t,r){const i=e.headerRowIndex;let o,a=null;return"Before"===t?i>0&&(o=i-1,a=this.headerPositionUtils.findColAtEdgeForHeaderRow(o,"end")):(o=i+1,a=this.headerPositionUtils.findColAtEdgeForHeaderRow(o,"start")),this.focusService.focusHeaderPosition({headerPosition:a,direction:t,fromTab:!0,allowUserOverride:!0,event:r})}scrollToColumn(e,t="After"){if(e.getPinned())return;let r;if(e instanceof pt){const i=e.getDisplayedLeafColumns();r="Before"===t?Fe(i):i[0]}else r=e;this.gridBodyCon.getScrollFeature().ensureColumnVisible(r)}};vg([Ce("focusService")],fg.prototype,"focusService",void 0),vg([Ce("headerPositionUtils")],fg.prototype,"headerPositionUtils",void 0),vg([Ce("ctrlsService")],fg.prototype,"ctrlsService",void 0),vg([fe],fg.prototype,"postConstruct",null),fg=vg([we("headerNavigationService")],fg);var mg=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class wg extends lt{setComp(e,t,r){this.comp=e,this.eGui=t,this.createManagedBean(new zo(r,{onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this),onFocusOut:this.onFocusOut.bind(this)})),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.onPivotModeChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.onPivotModeChanged(),this.setupHeaderHeight(),this.ctrlsService.registerGridHeaderCtrl(this)}setupHeaderHeight(){const e=this.setHeaderHeight.bind(this);e(),this.addManagedPropertyListener("headerHeight",e),this.addManagedPropertyListener("pivotHeaderHeight",e),this.addManagedPropertyListener("groupHeaderHeight",e),this.addManagedPropertyListener("pivotGroupHeaderHeight",e),this.addManagedPropertyListener("floatingFiltersHeight",e),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_CHANGED,e),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_HEADER_HEIGHT_CHANGED,e),this.addManagedListener(this.eventService,ht.EVENT_GRID_STYLES_CHANGED,e)}getHeaderHeight(){return this.headerHeight}setHeaderHeight(){const{columnModel:e}=this;let t,r=0,i=e.getHeaderRowCount();e.hasFloatingFilters()&&(i++,r=1);const o=this.columnModel.getColumnGroupHeaderRowHeight(),a=this.columnModel.getColumnHeaderRowHeight(),n=i-(1+r);if(t=r*e.getFloatingFiltersHeight(),t+=n*o,t+=a,this.headerHeight===t)return;this.headerHeight=t;const s=t+1+"px";this.comp.setHeightAndMinHeight(s),this.eventService.dispatchEvent({type:ht.EVENT_HEADER_HEIGHT_CHANGED})}onPivotModeChanged(){const e=this.columnModel.isPivotMode();this.comp.addOrRemoveCssClass("ag-pivot-on",e),this.comp.addOrRemoveCssClass("ag-pivot-off",!e)}onDisplayedColumnsChanged(){const e=this.columnModel.getAllDisplayedColumns().some(e=>e.isSpanHeaderHeight());this.comp.addOrRemoveCssClass("ag-header-allow-overflow",e)}onTabKeyDown(e){const t=this.gridOptionsService.is("enableRtl"),r=e.shiftKey!==t?hg.LEFT:hg.RIGHT;(this.headerNavigationService.navigateHorizontally(r,!0,e)||this.focusService.focusNextGridCoreContainer(e.shiftKey))&&e.preventDefault()}handleKeyDown(e){let t=null;switch(e.key){case io.LEFT:t=hg.LEFT;case io.RIGHT:S(t)||(t=hg.RIGHT),this.headerNavigationService.navigateHorizontally(t,!1,e);break;case io.UP:t=hg.UP;case io.DOWN:S(t)||(t=hg.DOWN),this.headerNavigationService.navigateVertically(t,null,e)&&e.preventDefault();break;default:return}}onFocusOut(e){const t=this.gridOptionsService.getDocument(),{relatedTarget:r}=e;!r&&this.eGui.contains(t.activeElement)||this.eGui.contains(r)||this.focusService.clearFocusedHeader()}}mg([Ce("headerNavigationService")],wg.prototype,"headerNavigationService",void 0),mg([Ce("focusService")],wg.prototype,"focusService",void 0),mg([Ce("columnModel")],wg.prototype,"columnModel",void 0),mg([Ce("ctrlsService")],wg.prototype,"ctrlsService",void 0);var Cg=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class bg extends To{constructor(){super(bg.TEMPLATE)}postConstruct(){const e={addOrRemoveCssClass:(e,t)=>this.addOrRemoveCssClass(e,t),setHeightAndMinHeight:e=>{this.getGui().style.height=e,this.getGui().style.minHeight=e}};this.createManagedBean(new wg).setComp(e,this.getGui(),this.getFocusableElement());const t=e=>{this.createManagedBean(e),this.appendChild(e)};t(new pg("left")),t(new pg(null)),t(new pg("right"))}}bg.TEMPLATE='<div class="ag-header" role="presentation"/>',Cg([fe],bg.prototype,"postConstruct",null);var yg=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Sg=class extends lt{addResizeBar(e){const t={dragStartPixels:e.dragStartPixels||0,eElement:e.eResizeBar,onDragStart:this.onDragStart.bind(this,e),onDragStop:this.onDragStop.bind(this,e),onDragging:this.onDragging.bind(this,e),includeTouch:!0,stopPropagationForTouch:!0};this.dragService.addDragSource(t);return()=>this.dragService.removeDragSource(t)}onDragStart(e,t){this.dragStartX=t.clientX,this.setResizeIcons();const r=t instanceof MouseEvent&&!0===t.shiftKey;e.onResizeStart(r)}setResizeIcons(){const e=this.ctrlsService.getGridCtrl();e.setResizeCursor(!0),e.disableUserSelect(!0)}onDragStop(e,t){e.onResizeEnd(this.resizeAmount),this.resetIcons()}resetIcons(){const e=this.ctrlsService.getGridCtrl();e.setResizeCursor(!1),e.disableUserSelect(!1)}onDragging(e,t){this.resizeAmount=t.clientX-this.dragStartX,e.onResizing(this.resizeAmount)}};yg([Ce("dragService")],Sg.prototype,"dragService",void 0),yg([Ce("ctrlsService")],Sg.prototype,"ctrlsService",void 0),Sg=yg([we("horizontalResizeService")],Sg);var Eg=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Rg=class extends lt{hideActiveMenu(){this.hidePopup&&this.hidePopup()}showMenuAfterMouseEvent(e,t){this.showPopup(e,r=>{this.popupService.positionPopupUnderMouseEvent({column:e,type:"columnMenu",mouseEvent:t,ePopup:r})},"columnMenu",t.target)}showMenuAfterButtonClick(e,t,r){this.showPopup(e,i=>{this.popupService.positionPopupByComponent({type:r,eventSource:t,ePopup:i,keepWithinBounds:!0,position:"under",column:e})},r,t)}showPopup(e,t,r,i){const o=this.filterManager.getOrCreateFilterWrapper(e,"COLUMN_MENU");if(!o)throw new Error("AG Grid - unable to show popup filter, filter instantiation failed");const a=document.createElement("div");let n;lr(a,"presentation"),a.classList.add("ag-menu"),this.tabListener=this.addManagedListener(a,"keydown",e=>this.trapFocusWithin(e,a)),o.guiPromise.then(e=>a.appendChild(e));const s=i||this.ctrlsService.getGridBodyCtrl().getGui(),l=this.localeService.getLocaleTextFunc(),g=this.popupService.addPopup({modal:!0,eChild:a,closeOnEsc:!0,closedCallback:t=>{e.setMenuVisible(!1,"contextMenu");const r=t instanceof KeyboardEvent;if(this.tabListener&&(this.tabListener=this.tabListener()),r&&i&&Pi(i)){const e=this.focusService.findTabbableParent(i);e&&e.focus()}var a;null===(a=o.filterPromise)||void 0===a||a.then(e=>{var t;return null===(t=null==e?void 0:e.afterGuiDetached)||void 0===t?void 0:t.call(e)})},positionCallback:()=>t(a),anchorToElement:s,ariaLabel:l("ariaLabelColumnMenu","Column Menu")});g&&(this.hidePopup=n=g.hideFunc),o.filterPromise.then(e=>{t(a),e.afterGuiAttached&&e.afterGuiAttached({container:r,hidePopup:n})}),e.setMenuVisible(!0,"contextMenu")}trapFocusWithin(e,t){e.key!==io.TAB||e.defaultPrevented||this.focusService.findNextFocusableElement(t,!1,e.shiftKey)||(e.preventDefault(),this.focusService.focusInto(t,e.shiftKey))}isMenuEnabled(e){return e.isFilterAllowed()&&e.getMenuTabs(["filterMenuTab"]).includes("filterMenuTab")}};Eg([Ce("filterManager")],Rg.prototype,"filterManager",void 0),Eg([Ce("popupService")],Rg.prototype,"popupService",void 0),Eg([Ce("focusService")],Rg.prototype,"focusService",void 0),Eg([Ce("ctrlsService")],Rg.prototype,"ctrlsService",void 0),Rg=Eg([we("menuFactory")],Rg);var Tg=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class xg extends To{constructor(e){super(xg.getTemplate(e.cssClass)),this.items=[],this.tabbedItemScrollMap=new Map,this.params=e,e.items&&e.items.forEach(e=>this.addItem(e))}postConstruct(){this.createManagedBean(new zo(this.getFocusableElement(),{onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this)})),this.addDestroyFunc(()=>{var e,t,r;return null===(r=null===(t=null===(e=this.activeItem)||void 0===e?void 0:e.tabbedItem)||void 0===t?void 0:t.afterDetachedCallback)||void 0===r?void 0:r.call(t)})}static getTemplate(e){return`<div class="ag-tabs ${e}">\n <div ref="eHeader" role="tablist" class="ag-tabs-header ${e?e+"-header":""}"></div>\n <div ref="eBody" role="presentation" class="ag-tabs-body ${e?e+"-body":""}"></div>\n </div>`}handleKeyDown(e){const t=this.gridOptionsService.getDocument();switch(e.key){case io.RIGHT:case io.LEFT:if(!this.eHeader.contains(t.activeElement))return;const r=e.key===io.RIGHT,i=this.gridOptionsService.is("enableRtl"),o=this.items.indexOf(this.activeItem),a=r!==i?Math.min(o+1,this.items.length-1):Math.max(o-1,0);if(o===a)return;e.preventDefault();const n=this.items[a];this.showItemWrapper(n),n.eHeaderButton.focus();break;case io.UP:case io.DOWN:e.stopPropagation()}}onTabKeyDown(e){if(e.defaultPrevented)return;const{focusService:t,eHeader:r,eBody:i,activeItem:o}=this,a=this.gridOptionsService.getDocument().activeElement,n=e.target;if(e.preventDefault(),r.contains(a))return void t.focusInto(i,e.shiftKey);let s=null;t.isTargetUnderManagedComponent(i,n)&&(e.shiftKey&&(s=this.focusService.findFocusableElementBeforeTabGuard(i,n)),s||(s=o.eHeaderButton)),!s&&i.contains(a)&&(s=t.findNextFocusableElement(i,!1,e.shiftKey),s||(s=o.eHeaderButton)),s&&s.focus()}setAfterAttachedParams(e){this.afterAttachedParams=e}showFirstItem(){this.items.length>0&&this.showItemWrapper(this.items[0])}addItem(e){const t=document.createElement("span");lr(t,"tab"),t.setAttribute("tabindex","-1"),t.appendChild(e.title),t.classList.add("ag-tab"),this.eHeader.appendChild(t),pr(t,e.titleLabel);const r={tabbedItem:e,eHeaderButton:t};this.items.push(r),t.addEventListener("click",this.showItemWrapper.bind(this,r))}showItem(e){const t=this.items.find(t=>t.tabbedItem===e);t&&this.showItemWrapper(t)}showItemWrapper(e){var t,r;const{tabbedItem:i,eHeaderButton:o}=e;this.params.onItemClicked&&this.params.onItemClicked({item:i}),this.activeItem!==e?(this.lastScrollListener&&(this.lastScrollListener=this.lastScrollListener()),Ai(this.eBody),i.bodyPromise.then(e=>{this.eBody.appendChild(e);const t=!this.focusService.isKeyboardMode();if(this.focusService.focusInto(this.eBody,!1,t),i.afterAttachedCallback&&i.afterAttachedCallback(this.afterAttachedParams),this.params.keepScrollPosition){const t=i.getScrollableContainer&&i.getScrollableContainer()||e;this.lastScrollListener=this.addManagedListener(t,"scroll",()=>{this.tabbedItemScrollMap.set(i.name,t.scrollTop)});const r=this.tabbedItemScrollMap.get(i.name);void 0!==r&&setTimeout(()=>{t.scrollTop=r},0)}}),this.activeItem&&(this.activeItem.eHeaderButton.classList.remove("ag-tab-selected"),null===(r=(t=this.activeItem.tabbedItem).afterDetachedCallback)||void 0===r||r.call(t)),o.classList.add("ag-tab-selected"),this.activeItem=e):de(this.params.onActiveItemClicked)}}function Dg(e){return J(()=>console.warn("AG Grid: Since v29 simpleHttpRequest has been deprecated as it was only meant for use in internal AG Grid documentation examples. Please use the browser fetch api directly."),"simpleHttpRequest"),new mo(t=>{const r=new XMLHttpRequest;r.open("GET",e.url),r.send(),r.onreadystatechange=function(){4===r.readyState&&200===r.status&&t(JSON.parse(r.responseText))}})}Tg([Ce("focusService")],xg.prototype,"focusService",void 0),Tg([Do("eHeader")],xg.prototype,"eHeader",void 0),Tg([Do("eBody")],xg.prototype,"eBody",void 0),Tg([fe],xg.prototype,"postConstruct",null);var Ag=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Og=class extends lt{constructor(){super(...arguments),this.polyfillFunctions=[]}observeResize(e,t){const r=this.gridOptionsService.getWindow(),i=this.gridOptionsService.is("suppressBrowserResizeObserver");return!!r.ResizeObserver&&!i?(()=>{const i=new r.ResizeObserver(t);return i.observe(e),()=>i.disconnect()})():(()=>{let r=Fi(e),i=zi(e),o=!0;const a=()=>{if(o){const o=Fi(e),n=zi(e);(o!==r||n!==i)&&(r=o,i=n,t()),this.doNextPolyfillTurn(a)}};return a(),()=>o=!1})()}doNextPolyfillTurn(e){this.polyfillFunctions.push(e),this.schedulePolyfill()}schedulePolyfill(){if(this.polyfillScheduled)return;this.polyfillScheduled=!0,this.getFrameworkOverrides().setTimeout(()=>{const e=this.polyfillFunctions;this.polyfillScheduled=!1,this.polyfillFunctions=[],e.forEach(e=>e())},50)}};Og=Ag([we("resizeObserverService")],Og);var Mg=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Pg=class extends lt{constructor(){super(...arguments),this.createTasksP1={list:[],sorted:!1},this.createTasksP2={list:[],sorted:!1},this.destroyTasks=[],this.ticking=!1,this.scrollGoingDown=!0,this.lastPage=0,this.lastScrollTop=0,this.taskCount=0,this.cancelledTasks=new Set}setScrollTop(e){const t=this.gridOptionsService.is("pagination");if(this.scrollGoingDown=e>=this.lastScrollTop,t&&0===e){const e=this.paginationProxy.getCurrentPage();e!==this.lastPage&&(this.lastPage=e,this.scrollGoingDown=!0)}this.lastScrollTop=e}init(){this.useAnimationFrame=!this.gridOptionsService.is("suppressAnimationFrame")}isOn(){return this.useAnimationFrame}verifyAnimationFrameOn(e){!1===this.useAnimationFrame&&console.warn(`AG Grid: AnimationFrameService.${e} called but animation frames are off`)}createTask(e,t,r){this.verifyAnimationFrameOn(r);const i={task:e,index:t,createOrder:++this.taskCount};this.addTaskToList(this[r],i),this.schedule()}cancelTask(e){this.cancelledTasks.add(e)}addTaskToList(e,t){e.list.push(t),e.sorted=!1}sortTaskList(e){if(e.sorted)return;const t=this.scrollGoingDown?1:-1;e.list.sort((e,r)=>e.index!==r.index?t*(r.index-e.index):r.createOrder-e.createOrder),e.sorted=!0}addDestroyTask(e){this.verifyAnimationFrameOn("createTasksP3"),this.destroyTasks.push(e),this.schedule()}executeFrame(e){this.verifyAnimationFrameOn("executeFrame");const t=this.createTasksP1,r=t.list,i=this.createTasksP2,o=i.list,a=this.destroyTasks,n=(new Date).getTime();let s=(new Date).getTime()-n;const l=e<=0,g=this.ctrlsService.getGridBodyCtrl();for(;l||s<e;){if(!g.getScrollFeature().scrollGridIfNeeded()){let e;if(r.length)this.sortTaskList(t),e=r.pop().task;else if(o.length)this.sortTaskList(i),e=o.pop().task;else{if(!a.length){this.cancelledTasks.clear();break}e=a.pop()}this.cancelledTasks.has(e)||e()}s=(new Date).getTime()-n}r.length||o.length||a.length?this.requestFrame():this.stopTicking()}stopTicking(){this.ticking=!1}flushAllFrames(){this.useAnimationFrame&&this.executeFrame(-1)}schedule(){this.useAnimationFrame&&(this.ticking||(this.ticking=!0,this.requestFrame()))}requestFrame(){const e=this.executeFrame.bind(this,60);this.requestAnimationFrame(e)}requestAnimationFrame(e){const t=this.gridOptionsService.getWindow();t.requestAnimationFrame?t.requestAnimationFrame(e):t.webkitRequestAnimationFrame?t.webkitRequestAnimationFrame(e):t.setTimeout(e,0)}isQueueEmpty(){return!this.ticking}debounce(e){let t=!1;return()=>{this.isOn()?t||(t=!0,this.addDestroyTask(()=>{t=!1,e()})):this.getFrameworkOverrides().setTimeout(e,0)}}};Mg([Ce("ctrlsService")],Pg.prototype,"ctrlsService",void 0),Mg([Ce("paginationProxy")],Pg.prototype,"paginationProxy",void 0),Mg([fe],Pg.prototype,"init",null),Pg=Mg([we("animationFrameService")],Pg);var Ng=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Lg=class extends lt{postConstruct(){this.ctrlsService.whenReady(e=>{this.centerRowContainerCtrl=e.centerRowContainerCtrl})}getPreferredWidthForColumn(e,t){const r=this.getHeaderCellForColumn(e);if(!r)return-1;const i=this.rowRenderer.getAllCellsForColumn(e);return t||i.push(r),this.addElementsToContainerAndGetWidth(i)}getPreferredWidthForColumnGroup(e){const t=this.getHeaderCellForColumn(e);return t?this.addElementsToContainerAndGetWidth([t]):-1}addElementsToContainerAndGetWidth(e){const t=document.createElement("form");t.style.position="fixed";const r=this.centerRowContainerCtrl.getContainerElement();e.forEach(e=>this.cloneItemIntoDummy(e,t)),r.appendChild(t);const i=t.offsetWidth;r.removeChild(t);return i+this.getAutoSizePadding()}getAutoSizePadding(){const e=this.gridOptionsService.getNum("autoSizePadding");return null!=e&&e>=0?e:20}getHeaderCellForColumn(e){let t=null;return this.ctrlsService.getHeaderRowContainerCtrls().forEach(r=>{const i=r.getHtmlElementForColumnHeader(e);null!=i&&(t=i)}),t}cloneItemIntoDummy(e,t){const r=e.cloneNode(!0);r.style.width="",r.style.position="static",r.style.left="";const i=document.createElement("div"),o=i.classList;["ag-header-cell","ag-header-group-cell"].some(e=>r.classList.contains(e))?(o.add("ag-header","ag-header-row"),i.style.position="static"):o.add("ag-row");let a=e.parentElement;for(;a;){if(["ag-header-row","ag-row"].some(e=>a.classList.contains(e))){for(let e=0;e<a.classList.length;e++){const t=a.classList[e];"ag-row-position-absolute"!=t&&o.add(t)}break}a=a.parentElement}i.appendChild(r),t.appendChild(i)}};Ng([Ce("rowRenderer")],Lg.prototype,"rowRenderer",void 0),Ng([Ce("ctrlsService")],Lg.prototype,"ctrlsService",void 0),Ng([Ce("rowCssClassCalculator")],Lg.prototype,"rowCssClassCalculator",void 0),Ng([fe],Lg.prototype,"postConstruct",null),Lg=Ng([we("autoWidthCalculator")],Lg);var Ig=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class zg extends lt{constructor(e,t){super(),this.createRowCon=e,this.destroyRowCtrls=t,this.stickyRowCtrls=[],this.containerHeight=0}postConstruct(){this.isClientSide="clientSide"===this.rowModel.getType(),this.ctrlsService.whenReady(e=>{this.gridBodyCtrl=e.gridBodyCtrl})}getStickyRowCtrls(){return this.stickyRowCtrls}checkStickyRows(){let e=0;if(!this.gridOptionsService.isGroupRowsSticky())return void this.refreshNodesAndContainerHeight([],e);const t=[],r=this.rowRenderer.getFirstVisibleVerticalPixel(),i=i=>{var o,a,n;let s;if(t.push(i),this.isClientSide){let e=i;for(;e.expanded;)if(e.master)e=e.detailNode;else if(e.childrenAfterSort){if(0===e.childrenAfterSort.length)break;e=Fe(e.childrenAfterSort)}s=e.rowTop+e.rowHeight}else if(i.master)s=i.detailNode.rowTop+i.detailNode.rowHeight;else{const e=null===(o=i.childStore)||void 0===o?void 0:o.getStoreBounds();s=(null!==(a=null==e?void 0:e.heightPx)&&void 0!==a?a:0)+(null!==(n=null==e?void 0:e.topPx)&&void 0!==n?n:0)}const l=r+e+i.rowHeight;i.stickyRowTop=s<l?e+(s-l):e,e=0,t.forEach(t=>{const r=t.stickyRowTop+t.rowHeight;e<r&&(e=r)})};for(;;){const o=r+e,a=this.rowModel.getRowIndexAtPixel(o),n=this.rowModel.getRow(a);if(null==n)break;if(n.level<0)break;const s=[];let l=n.parent;for(;l.level>=0;)s.push(l),l=l.parent;const g=s.reverse().find(e=>t.indexOf(e)<0&&e.displayed);if(g)i(g);else{if(!(n.isExpandable()&&n.expanded&&n.rowTop<o))break;i(n)}}this.refreshNodesAndContainerHeight(t,e)}refreshStickyNode(e){const t=[];for(let r=0;r<this.stickyRowCtrls.length;r++){const i=this.stickyRowCtrls[r].getRowNode();i!==e&&t.push(i)}this.refreshNodesAndContainerHeight(t,this.containerHeight),this.checkStickyRows()}refreshNodesAndContainerHeight(e,t){const r=this.stickyRowCtrls.filter(t=>-1===e.indexOf(t.getRowNode())),i=e.filter(e=>-1===this.stickyRowCtrls.findIndex(t=>t.getRowNode()===e)),o={};r.forEach(e=>{o[e.getRowNode().id]=e,this.stickyRowCtrls=this.stickyRowCtrls.filter(t=>t!==e)});for(const e of Object.values(o))e.getRowNode().sticky=!1;this.destroyRowCtrls(o,!1);const a=i.map(e=>(e.sticky=!0,this.createRowCon(e,!1,!1)));this.stickyRowCtrls.push(...a),this.stickyRowCtrls.forEach(e=>e.setRowTop(e.getRowNode().stickyRowTop)),this.stickyRowCtrls.sort((e,t)=>t.getRowNode().rowIndex-e.getRowNode().rowIndex),this.containerHeight!==t&&(this.containerHeight=t,this.gridBodyCtrl.setStickyTopHeight(t))}}Ig([Ce("rowModel")],zg.prototype,"rowModel",void 0),Ig([Ce("rowRenderer")],zg.prototype,"rowRenderer",void 0),Ig([Ce("ctrlsService")],zg.prototype,"ctrlsService",void 0),Ig([fe],zg.prototype,"postConstruct",null);var Fg=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let kg=class extends lt{constructor(){super(...arguments),this.destroyFuncsForColumnListeners=[],this.rowCtrlsByRowIndex={},this.zombieRowCtrls={},this.allRowCtrls=[],this.topRowCtrls=[],this.bottomRowCtrls=[],this.refreshInProgress=!1,this.dataFirstRenderedFired=!1}postConstruct(){this.ctrlsService.whenReady(()=>{this.gridBodyCtrl=this.ctrlsService.getGridBodyCtrl(),this.initialise()})}initialise(){if(this.addManagedListener(this.eventService,ht.EVENT_PAGINATION_CHANGED,this.onPageLoaded.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_PINNED_ROW_DATA_CHANGED,this.onPinnedRowDataChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_BODY_SCROLL,this.onBodyScroll.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_BODY_HEIGHT_CHANGED,this.redraw.bind(this)),this.addManagedPropertyListener("domLayout",this.onDomLayoutChanged.bind(this)),this.addManagedPropertyListener("rowClass",this.redrawRows.bind(this)),this.gridOptionsService.isGroupRowsSticky()){const e=this.rowModel.getType();"clientSide"!==e&&"serverSide"!==e||(this.stickyRowFeature=this.createManagedBean(new zg(this.createRowCon.bind(this),this.destroyRowCtrls.bind(this))))}this.registerCellEventListeners(),this.initialiseCache(),this.printLayout=this.gridOptionsService.isDomLayout("print"),this.embedFullWidthRows=this.printLayout||this.gridOptionsService.is("embedFullWidthRows"),this.redrawAfterModelUpdate()}initialiseCache(){if(this.gridOptionsService.is("keepDetailRows")){const e=this.getKeepDetailRowsCount(),t=null!=e?e:3;this.cachedRowCtrls=new Gg(t)}}getKeepDetailRowsCount(){const e=this.gridOptionsService.getNum("keepDetailRowsCount");return S(e)&&e>0?e:10}getRowCtrls(){return this.allRowCtrls}getStickyTopRowCtrls(){return this.stickyRowFeature?this.stickyRowFeature.getStickyRowCtrls():[]}updateAllRowCtrls(){const e=j(this.rowCtrlsByRowIndex),t=this.gridOptionsService.is("ensureDomOrder"),r=this.gridOptionsService.isDomLayout("print");(t||r)&&e.sort((e,t)=>e.getRowNode().rowIndex-t.getRowNode.rowIndex);const i=j(this.zombieRowCtrls),o=this.cachedRowCtrls?this.cachedRowCtrls.getEntries():[];this.allRowCtrls=[...e,...i,...o]}onCellFocusChanged(e){this.getAllCellCtrls().forEach(t=>t.onCellFocused(e)),this.getFullWidthRowCtrls().forEach(t=>t.onFullWidthRowFocused(e))}registerCellEventListeners(){this.addManagedListener(this.eventService,ht.EVENT_CELL_FOCUSED,e=>{this.onCellFocusChanged(e)}),this.addManagedListener(this.eventService,ht.EVENT_CELL_FOCUS_CLEARED,()=>{this.onCellFocusChanged()}),this.addManagedListener(this.eventService,ht.EVENT_FLASH_CELLS,e=>{this.getAllCellCtrls().forEach(t=>t.onFlashCells(e))}),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_HOVER_CHANGED,()=>{this.getAllCellCtrls().forEach(e=>e.onColumnHover())}),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_CHANGED,()=>{this.getAllCellCtrls().forEach(e=>e.onDisplayedColumnsChanged())}),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,()=>{this.printLayout&&this.getAllCellCtrls().forEach(e=>e.onLeftChanged())});this.gridOptionsService.isEnableRangeSelection()&&(this.addManagedListener(this.eventService,ht.EVENT_RANGE_SELECTION_CHANGED,()=>{this.getAllCellCtrls().forEach(e=>e.onRangeSelectionChanged())}),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_MOVED,()=>{this.getAllCellCtrls().forEach(e=>e.updateRangeBordersIfRangeCount())}),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_PINNED,()=>{this.getAllCellCtrls().forEach(e=>e.updateRangeBordersIfRangeCount())}),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_VISIBLE,()=>{this.getAllCellCtrls().forEach(e=>e.updateRangeBordersIfRangeCount())})),this.refreshListenersToColumnsForCellComps(),this.addManagedListener(this.eventService,ht.EVENT_GRID_COLUMNS_CHANGED,this.refreshListenersToColumnsForCellComps.bind(this)),this.addDestroyFunc(this.removeGridColumnListeners.bind(this))}removeGridColumnListeners(){this.destroyFuncsForColumnListeners.forEach(e=>e()),this.destroyFuncsForColumnListeners.length=0}refreshListenersToColumnsForCellComps(){this.removeGridColumnListeners();const e=this.columnModel.getAllGridColumns();e&&e.forEach(e=>{const t=t=>{this.getAllCellCtrls().forEach(r=>{r.getColumn()===e&&t(r)})},r=()=>{t(e=>e.onLeftChanged())},i=()=>{t(e=>e.onWidthChanged())},o=()=>{t(e=>e.onFirstRightPinnedChanged())},a=()=>{t(e=>e.onLastLeftPinnedChanged())},n=()=>{t(e=>e.onColDefChanged())};e.addEventListener("leftChanged",r),e.addEventListener("widthChanged",i),e.addEventListener("firstRightPinnedChanged",o),e.addEventListener("lastLeftPinnedChanged",a),e.addEventListener("colDefChanged",n),this.destroyFuncsForColumnListeners.push(()=>{e.removeEventListener("leftChanged",r),e.removeEventListener("widthChanged",i),e.removeEventListener("firstRightPinnedChanged",o),e.removeEventListener("lastLeftPinnedChanged",a),e.removeEventListener("colDefChanged",n)})})}onDomLayoutChanged(){const e=this.gridOptionsService.isDomLayout("print"),t=e||this.gridOptionsService.is("embedFullWidthRows"),r=t!==this.embedFullWidthRows||this.printLayout!==e;this.printLayout=e,this.embedFullWidthRows=t,r&&this.redrawAfterModelUpdate({domLayoutChanged:!0})}datasourceChanged(){this.firstRenderedRow=0,this.lastRenderedRow=-1;const e=Object.keys(this.rowCtrlsByRowIndex);this.removeRowCtrls(e)}onPageLoaded(e){const t={recycleRows:e.keepRenderedRows,animate:e.animate,newData:e.newData,newPage:e.newPage,onlyBody:!0};this.redrawAfterModelUpdate(t)}getAllCellsForColumn(e){const t=[];return this.getAllRowCtrls().forEach(r=>{const i=r.getCellElement(e);i&&t.push(i)}),t}refreshFloatingRowComps(){this.refreshFloatingRows(this.topRowCtrls,this.pinnedRowModel.getPinnedTopRowData()),this.refreshFloatingRows(this.bottomRowCtrls,this.pinnedRowModel.getPinnedBottomRowData())}getTopRowCtrls(){return this.topRowCtrls}getBottomRowCtrls(){return this.bottomRowCtrls}refreshFloatingRows(e,t){e.forEach(e=>{e.destroyFirstPass(),e.destroySecondPass()}),e.length=0,t&&t.forEach(t=>{const r=new zs(t,this.beans,!1,!1,this.printLayout);e.push(r)})}onPinnedRowDataChanged(){this.redrawAfterModelUpdate({recycleRows:!0})}getRenderedIndexesForRowNodes(e){const t=[];return E(e)||I(this.rowCtrlsByRowIndex,(r,i)=>{const o=i.getRowNode();e.indexOf(o)>=0&&t.push(r)}),t}redrawRows(e){const t=null!=e&&e.length>0;if(t){const t=this.getRenderedIndexesForRowNodes(e);this.removeRowCtrls(t)}this.redrawAfterModelUpdate({recycleRows:t})}getCellToRestoreFocusToAfterRefresh(e){const t=(null==e?void 0:e.suppressKeepFocus)?null:this.focusService.getFocusCellToUseAfterRefresh();if(null==t)return null;const r=this.gridOptionsService.getDocument().activeElement,i=this.gridOptionsService.getDomData(r,Ns.DOM_DATA_KEY_CELL_CTRL),o=this.gridOptionsService.getDomData(r,zs.DOM_DATA_KEY_ROW_CTRL);return i||o?t:null}redrawAfterModelUpdate(e={}){this.getLockOnRefresh();const t=this.getCellToRestoreFocusToAfterRefresh(e);this.updateContainerHeights(),this.scrollToTopIfNewData(e);const r=!e.domLayoutChanged&&!!e.recycleRows,i=e.animate&&this.gridOptionsService.isAnimateRows(),o=r?this.getRowsToRecycle():null;r||this.removeAllRowComps(),this.recycleRows(o,i),this.gridBodyCtrl.updateRowCount(),e.onlyBody||this.refreshFloatingRowComps(),this.dispatchDisplayedRowsChanged(),null!=t&&this.restoreFocusedCell(t),this.releaseLockOnRefresh()}scrollToTopIfNewData(e){const t=e.newData||e.newPage,r=this.gridOptionsService.is("suppressScrollOnNewData");t&&!r&&this.gridBodyCtrl.getScrollFeature().scrollToTop()}updateContainerHeights(){if(this.printLayout)return void this.rowContainerHeightService.setModelHeight(null);let e=this.paginationProxy.getCurrentPageHeight();0===e&&(e=1),this.rowContainerHeightService.setModelHeight(e)}getLockOnRefresh(){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, e.g. instead of api.redrawRows(), call setTimeout(function() { api.redrawRows(); }, 0). To see what part of your code that caused the refresh check this stacktrace.");this.refreshInProgress=!0}releaseLockOnRefresh(){this.refreshInProgress=!1}isRefreshInProgress(){return this.refreshInProgress}restoreFocusedCell(e){e&&(this.focusService.setRestoreFocusedCell(e),this.onCellFocusChanged({rowIndex:e.rowIndex,column:e.column,rowPinned:e.rowPinned,forceBrowserFocus:!0,preventScrollOnBrowserFocus:!0,api:this.beans.gridApi,columnApi:this.beans.columnApi,context:this.beans.gridOptionsService.context,type:"mock"}))}stopEditing(e=!1){this.getAllRowCtrls().forEach(t=>{t.stopEditing(e)})}getAllCellCtrls(){const e=[],t=this.getAllRowCtrls(),r=t.length;for(let i=0;i<r;i++){const r=t[i].getAllCellCtrls(),o=r.length;for(let t=0;t<o;t++)e.push(r[t])}return e}getAllRowCtrls(){const e=this.stickyRowFeature&&this.stickyRowFeature.getStickyRowCtrls()||[],t=[...this.topRowCtrls,...this.bottomRowCtrls,...e];for(const e of Object.keys(this.rowCtrlsByRowIndex))t.push(this.rowCtrlsByRowIndex[e]);return t}addRenderedRowListener(e,t,r){const i=this.rowCtrlsByRowIndex[t];i&&i.addEventListener(e,r)}flashCells(e={}){const{flashDelay:t,fadeDelay:r}=e;this.getCellCtrls(e.rowNodes,e.columns).forEach(e=>e.flashCell({flashDelay:t,fadeDelay:r}))}refreshCells(e={}){const t={forceRefresh:e.force,newData:!1,suppressFlash:e.suppressFlash};this.getCellCtrls(e.rowNodes,e.columns).forEach(e=>{if(e.refreshShouldDestroy()){const t=e.getRowCtrl();t&&t.refreshCell(e)}else e.refreshCell(t)}),this.refreshFullWidthRows(e.rowNodes)}getCellRendererInstances(e){var t;const r=this.getCellCtrls(e.rowNodes,e.columns).map(e=>e.getCellRenderer()).filter(e=>null!=e);if(null===(t=e.columns)||void 0===t?void 0:t.length)return r;const i=[],o=this.mapRowNodes(e.rowNodes);return this.getAllRowCtrls().forEach(e=>{if(o&&!this.isRowInMap(e.getRowNode(),o))return;if(!e.isFullWidth())return;const t=e.getFullWidthCellRenderer();t&&i.push(t)}),[...i,...r]}getCellEditorInstances(e){const t=[];return this.getCellCtrls(e.rowNodes,e.columns).forEach(e=>{const r=e.getCellEditor();r&&t.push(r)}),t}getEditingCells(){const e=[];return this.getAllCellCtrls().forEach(t=>{if(t.isEditing()){const r=t.getCellPosition();e.push(r)}}),e}mapRowNodes(e){if(!e)return;const t={top:{},bottom:{},normal:{}};return e.forEach(e=>{const r=e.id;"top"===e.rowPinned?t.top[r]=e:"bottom"===e.rowPinned?t.bottom[r]=e:t.normal[r]=e}),t}isRowInMap(e,t){const r=e.id,i=e.rowPinned;return"bottom"===i?null!=t.bottom[r]:"top"===i?null!=t.top[r]:null!=t.normal[r]}getCellCtrls(e,t){const r=this.mapRowNodes(e),i=[];let o;S(t)&&(o={},t.forEach(e=>{const t=this.columnModel.getGridColumn(e);S(t)&&(o[t.getId()]=!0)}));const a=e=>{const t=e.getRowNode();(null==r||this.isRowInMap(t,r))&&e.getAllCellCtrls().forEach(e=>{const t=e.getColumn().getId();o&&!o[t]||i.push(e)})};return this.getAllRowCtrls().forEach(e=>a(e)),i}destroy(){this.removeAllRowComps(),super.destroy()}removeAllRowComps(){const e=Object.keys(this.rowCtrlsByRowIndex);this.removeRowCtrls(e)}getRowsToRecycle(){const e=[];I(this.rowCtrlsByRowIndex,(t,r)=>{null==r.getRowNode().id&&e.push(t)}),this.removeRowCtrls(e);const t={};return I(this.rowCtrlsByRowIndex,(e,r)=>{const i=r.getRowNode();t[i.id]=r}),this.rowCtrlsByRowIndex={},t}removeRowCtrls(e){e.forEach(e=>{const t=this.rowCtrlsByRowIndex[e];t&&(t.destroyFirstPass(),t.destroySecondPass()),delete this.rowCtrlsByRowIndex[e]})}onBodyScroll(e){"vertical"===e.direction&&this.redraw()}redraw(e=!0){let t;if(this.stickyRowFeature&&jr()&&(t=this.getCellToRestoreFocusToAfterRefresh()||void 0),this.getLockOnRefresh(),this.recycleRows(null,!1,e),this.releaseLockOnRefresh(),this.dispatchDisplayedRowsChanged(e),null!=t){const e=this.getCellToRestoreFocusToAfterRefresh();null!=t&&null==e&&(this.animationFrameService.flushAllFrames(),this.restoreFocusedCell(t))}}removeRowCompsNotToDraw(e){const t={};e.forEach(e=>t[e]=!0);const r=Object.keys(this.rowCtrlsByRowIndex).filter(e=>!t[e]);this.removeRowCtrls(r)}calculateIndexesToDraw(e){let t=Jr(this.firstRenderedRow,this.lastRenderedRow);const r=(e,r)=>{const i=r.getRowNode().rowIndex;null!=i&&(i<this.firstRenderedRow||i>this.lastRenderedRow)&&this.doNotUnVirtualiseRow(r)&&t.push(i)};return I(this.rowCtrlsByRowIndex,r),I(e,r),t.sort((e,t)=>e-t),t=t.filter(e=>{const t=this.paginationProxy.getRow(e);return t&&!t.sticky}),t}recycleRows(e,t=!1,r=!1){this.rowContainerHeightService.updateOffset(),this.workOutFirstAndLastRowsToRender(),this.stickyRowFeature&&this.stickyRowFeature.checkStickyRows();const i=this.calculateIndexesToDraw(e);this.removeRowCompsNotToDraw(i),this.printLayout&&(t=!1);const o=[];if(i.forEach(i=>{const a=this.createOrUpdateRowCtrl(i,e,t,r);S(a)&&o.push(a)}),e){r&&!this.gridOptionsService.is("suppressAnimationFrame")&&!this.printLayout?this.beans.animationFrameService.addDestroyTask(()=>{this.destroyRowCtrls(e,t),this.updateAllRowCtrls(),this.dispatchDisplayedRowsChanged()}):this.destroyRowCtrls(e,t)}this.updateAllRowCtrls()}dispatchDisplayedRowsChanged(e=!1){const t={type:ht.EVENT_DISPLAYED_ROWS_CHANGED,afterScroll:e};this.eventService.dispatchEvent(t)}onDisplayedColumnsChanged(){const e=this.columnModel.isPinningLeft(),t=this.columnModel.isPinningRight();(this.pinningLeft!==e||t!==this.pinningRight)&&(this.pinningLeft=e,this.pinningRight=t,this.embedFullWidthRows&&this.redrawFullWidthEmbeddedRows())}redrawFullWidthEmbeddedRows(){const e=[];this.getFullWidthRowCtrls().forEach(t=>{const r=t.getRowNode().rowIndex;e.push(r.toString())}),this.refreshFloatingRowComps(),this.removeRowCtrls(e),this.redraw()}getFullWidthRowCtrls(e){const t=this.mapRowNodes(e);return this.getAllRowCtrls().filter(e=>{if(!e.isFullWidth())return!1;const r=e.getRowNode();return!(null!=t&&!this.isRowInMap(r,t))})}refreshFullWidthRow(e){this.refreshFullWidthRows([e])}refreshFullWidthRows(e){const t=this.getFullWidthRowCtrls(e);let r=!1;const i=[];t.forEach(e=>{if(e.refreshFullWidth())return;const t=e.getRowNode();t.sticky?this.stickyRowFeature.refreshStickyNode(t):i.push(t.rowIndex),r=!0}),i.length>0&&this.removeRowCtrls(i),r&&this.redraw(!1)}createOrUpdateRowCtrl(e,t,r,i){let o,a=this.rowCtrlsByRowIndex[e];a||(o=this.paginationProxy.getRow(e),S(o)&&S(t)&&t[o.id]&&o.alreadyRendered&&(a=t[o.id],t[o.id]=null));if(!a){if(o||(o=this.paginationProxy.getRow(e)),!S(o))return;a=this.createRowCon(o,r,i)}return o&&(o.alreadyRendered=!0),this.rowCtrlsByRowIndex[e]=a,a}destroyRowCtrls(e,t){const r=[];I(e,(e,i)=>{i&&(this.cachedRowCtrls&&i.isCacheable()?this.cachedRowCtrls.addRow(i):(i.destroyFirstPass(),t?(this.zombieRowCtrls[i.getInstanceId()]=i,r.push(()=>{i.destroySecondPass(),delete this.zombieRowCtrls[i.getInstanceId()]})):i.destroySecondPass()))}),t&&(r.push(()=>{this.updateAllRowCtrls(),this.dispatchDisplayedRowsChanged()}),te(r))}getRowBuffer(){let e=this.gridOptionsService.getNum("rowBuffer");return"number"==typeof e?e<0&&(J(()=>console.warn("AG Grid: rowBuffer should not be negative"),"warn rowBuffer negative"),e=0,this.gridOptionsService.set("rowBuffer",0)):e=10,e}getRowBufferInPixels(){return this.getRowBuffer()*this.gridOptionsService.getRowHeightAsNumber()}workOutFirstAndLastRowsToRender(){let e,t;if(this.paginationProxy.isRowsToRender())if(this.printLayout)e=this.paginationProxy.getPageFirstRow(),t=this.paginationProxy.getPageLastRow();else{const r=this.getRowBufferInPixels(),i=this.ctrlsService.getGridBodyCtrl(),o=this.gridOptionsService.is("suppressRowVirtualisation");let a,n,s=!1;do{const e=this.paginationProxy.getPixelOffset(),{pageFirstPixel:t,pageLastPixel:l}=this.paginationProxy.getCurrentPagePixelRange(),g=this.rowContainerHeightService.getDivStretchOffset(),d=i.getScrollFeature().getVScrollPosition(),c=d.top,u=d.bottom;o?(a=t+g,n=l+g):(a=Math.max(c+e-r,t)+g,n=Math.min(u+e+r,l)+g),this.firstVisibleVPixel=Math.max(c+e,t)+g,s=this.ensureAllRowsInRangeHaveHeightsCalculated(a,n)}while(s);let l=this.paginationProxy.getRowIndexAtPixel(a),g=this.paginationProxy.getRowIndexAtPixel(n);const d=this.paginationProxy.getPageFirstRow(),c=this.paginationProxy.getPageLastRow();l<d&&(l=d),g>c&&(g=c),e=l,t=g}else e=0,t=-1;const r=this.gridOptionsService.isDomLayout("normal"),i=this.gridOptionsService.is("suppressMaxRenderedRowRestriction"),o=Math.max(this.getRowBuffer(),500);r&&!i&&t-e>o&&(t=e+o);const a=e!==this.firstRenderedRow,n=t!==this.lastRenderedRow;if(a||n){this.firstRenderedRow=e,this.lastRenderedRow=t;const r={type:ht.EVENT_VIEWPORT_CHANGED,firstRow:e,lastRow:t};this.eventService.dispatchEvent(r)}}dispatchFirstDataRenderedEvent(){if(this.dataFirstRenderedFired)return;this.dataFirstRenderedFired=!0;const e={type:ht.EVENT_FIRST_DATA_RENDERED,firstRow:this.firstRenderedRow,lastRow:this.lastRenderedRow};window.requestAnimationFrame(()=>{this.beans.eventService.dispatchEvent(e)})}ensureAllRowsInRangeHaveHeightsCalculated(e,t){const r=this.paginationProxy.ensureRowHeightsValid(e,t,-1,-1);return r&&this.updateContainerHeights(),r}getFirstVisibleVerticalPixel(){return this.firstVisibleVPixel}getFirstVirtualRenderedRow(){return this.firstRenderedRow}getLastVirtualRenderedRow(){return this.lastRenderedRow}doNotUnVirtualiseRow(e){const t=e.getRowNode(),r=this.focusService.isRowNodeFocused(t),i=e.isEditing(),o=t.detail;if(!(r||i||o))return!1;return!!this.paginationProxy.isRowPresent(t)}createRowCon(e,t,r){const i=this.cachedRowCtrls?this.cachedRowCtrls.getRow(e):null;if(i)return i;const o=this.gridOptionsService.is("suppressAnimationFrame"),a=r&&!o&&!this.printLayout;return new zs(e,this.beans,t,a,this.printLayout)}getRenderedNodes(){const e=this.rowCtrlsByRowIndex;return Object.keys(e).map(t=>e[t].getRowNode())}getRowByPosition(e){let t;const{rowIndex:r}=e;switch(e.rowPinned){case"top":t=this.topRowCtrls[r];break;case"bottom":t=this.bottomRowCtrls[r];break;default:t=this.rowCtrlsByRowIndex[r],t||(t=this.getStickyTopRowCtrls().find(e=>e.getRowNode().rowIndex===r)||null)}return t}getRowNode(e){switch(e.rowPinned){case"top":return this.pinnedRowModel.getPinnedTopRowData()[e.rowIndex];case"bottom":return this.pinnedRowModel.getPinnedBottomRowData()[e.rowIndex];default:return this.rowModel.getRow(e.rowIndex)}}isRangeInRenderedViewport(e,t){if(null==e||null==t)return!1;const r=e>this.lastRenderedRow;return!(t<this.firstRenderedRow)&&!r}};Fg([Ce("animationFrameService")],kg.prototype,"animationFrameService",void 0),Fg([Ce("paginationProxy")],kg.prototype,"paginationProxy",void 0),Fg([Ce("columnModel")],kg.prototype,"columnModel",void 0),Fg([Ce("pinnedRowModel")],kg.prototype,"pinnedRowModel",void 0),Fg([Ce("rowModel")],kg.prototype,"rowModel",void 0),Fg([Ce("focusService")],kg.prototype,"focusService",void 0),Fg([Ce("beans")],kg.prototype,"beans",void 0),Fg([Ce("rowContainerHeightService")],kg.prototype,"rowContainerHeightService",void 0),Fg([Ce("ctrlsService")],kg.prototype,"ctrlsService",void 0),Fg([fe],kg.prototype,"postConstruct",null),kg=Fg([we("rowRenderer")],kg);class Gg{constructor(e){this.entriesMap={},this.entriesList=[],this.maxCount=e}addRow(e){if(this.entriesMap[e.getRowNode().id]=e,this.entriesList.push(e),e.setCached(!0),this.entriesList.length>this.maxCount){const e=this.entriesList[0];e.destroyFirstPass(),e.destroySecondPass(),this.removeFromCache(e)}}getRow(e){if(null==e||null==e.id)return null;const t=this.entriesMap[e.id];if(!t)return null;this.removeFromCache(t),t.setCached(!1);return t.getRowNode()!=e?null:t}removeFromCache(e){const t=e.getRowNode().id;delete this.entriesMap[t],_e(this.entriesList,e)}getEntries(){return this.entriesList}}var Hg=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Vg=class extends lt{formatValue(e,t,r,i,o=!0){let a,n=null;const s=e.getColDef();if(i?a=i:o&&(a=s.valueFormatter),a){const i={value:r,node:t,data:t?t.data:null,colDef:s,column:e,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context};n="function"==typeof a?a(i):this.expressionService.evaluate(a,i)}else if(s.refData)return s.refData[r]||"";return null==n&&Array.isArray(r)&&(n=r.join(", ")),n}};Hg([Ce("expressionService")],Vg.prototype,"expressionService",void 0),Vg=Hg([we("valueFormatterService")],Vg);var _g=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Bg=class extends lt{init(){this.setPinnedTopRowData(this.gridOptionsService.get("pinnedTopRowData")),this.setPinnedBottomRowData(this.gridOptionsService.get("pinnedBottomRowData"))}isEmpty(e){return R("top"===e?this.pinnedTopRows:this.pinnedBottomRows)}isRowsToRender(e){return!this.isEmpty(e)}getRowAtPixel(e,t){const r="top"===t?this.pinnedTopRows:this.pinnedBottomRows;if(R(r))return 0;for(let t=0;t<r.length;t++){const i=r[t];if(i.rowTop+i.rowHeight-1>=e)return t}return r.length-1}setPinnedTopRowData(e){this.pinnedTopRows=this.createNodesFromData(e,!0);const t={type:ht.EVENT_PINNED_ROW_DATA_CHANGED};this.eventService.dispatchEvent(t)}setPinnedBottomRowData(e){this.pinnedBottomRows=this.createNodesFromData(e,!1);const t={type:ht.EVENT_PINNED_ROW_DATA_CHANGED};this.eventService.dispatchEvent(t)}createNodesFromData(e,t){const r=[];if(e){let i=0;e.forEach((e,o)=>{const a=new ja(this.beans);a.data=e;const n=t?ja.ID_PREFIX_TOP_PINNED:ja.ID_PREFIX_BOTTOM_PINNED;a.id=n+o,a.rowPinned=t?"top":"bottom",a.setRowTop(i),a.setRowHeight(this.gridOptionsService.getRowHeightForNode(a).height),a.setRowIndex(o),i+=a.rowHeight,r.push(a)})}return r}getPinnedTopRowData(){return this.pinnedTopRows}getPinnedBottomRowData(){return this.pinnedBottomRows}getPinnedTopTotalHeight(){return this.getTotalHeight(this.pinnedTopRows)}getPinnedTopRowCount(){return this.pinnedTopRows?this.pinnedTopRows.length:0}getPinnedBottomRowCount(){return this.pinnedBottomRows?this.pinnedBottomRows.length:0}getPinnedTopRow(e){return this.pinnedTopRows[e]}getPinnedBottomRow(e){return this.pinnedBottomRows[e]}forEachPinnedTopRow(e){R(this.pinnedTopRows)||this.pinnedTopRows.forEach(e)}forEachPinnedBottomRow(e){R(this.pinnedBottomRows)||this.pinnedBottomRows.forEach(e)}getPinnedBottomTotalHeight(){return this.getTotalHeight(this.pinnedBottomRows)}getTotalHeight(e){if(!e||0===e.length)return 0;const t=Fe(e);return t.rowTop+t.rowHeight}};var jg;_g([Ce("beans")],Bg.prototype,"beans",void 0),_g([fe],Bg.prototype,"init",null),Bg=_g([we("pinnedRowModel")],Bg),function(e){e.Applied="Applied",e.StoreNotFound="StoreNotFound",e.StoreLoading="StoreLoading",e.StoreWaitingToLoad="StoreWaitingToLoad",e.StoreLoadingFailed="StoreLoadingFailed",e.StoreWrongType="StoreWrongType",e.Cancelled="Cancelled"}(jg||(jg={}));class Wg{constructor(e,t){this.active=!0,this.nodeIdsToColumns={},this.mapToItems={},this.keepingColumns=e,this.pathRoot={rowNode:t,children:null},this.mapToItems[t.id]=this.pathRoot}setInactive(){this.active=!1}isActive(){return this.active}depthFirstSearchChangedPath(e,t){if(e.children)for(let r=0;r<e.children.length;r++)this.depthFirstSearchChangedPath(e.children[r],t);t(e.rowNode)}depthFirstSearchEverything(e,t,r){if(e.childrenAfterGroup)for(let i=0;i<e.childrenAfterGroup.length;i++){const o=e.childrenAfterGroup[i];o.childrenAfterGroup?this.depthFirstSearchEverything(e.childrenAfterGroup[i],t,r):r&&t(o)}t(e)}forEachChangedNodeDepthFirst(e,t=!1,r=!1){this.active&&!r?this.depthFirstSearchChangedPath(this.pathRoot,e):this.depthFirstSearchEverything(this.pathRoot.rowNode,e,t)}executeFromRootNode(e){e(this.pathRoot.rowNode)}createPathItems(e){let t=e,r=0;for(;!this.mapToItems[t.id];){const e={rowNode:t,children:null};this.mapToItems[t.id]=e,r++,t=t.parent}return r}populateColumnsMap(e,t){if(!this.keepingColumns||!t)return;let r=e;for(;r;)this.nodeIdsToColumns[r.id]||(this.nodeIdsToColumns[r.id]={}),t.forEach(e=>this.nodeIdsToColumns[r.id][e.getId()]=!0),r=r.parent}linkPathItems(e,t){let r=e;for(let e=0;e<t;e++){const e=this.mapToItems[r.id],t=this.mapToItems[r.parent.id];t.children||(t.children=[]),t.children.push(e),r=r.parent}}addParentNode(e,t){if(!e||e.isRowPinned())return;const r=this.createPathItems(e);this.linkPathItems(e,r),this.populateColumnsMap(e,t)}canSkip(e){return this.active&&!this.mapToItems[e.id]}getValueColumnsForNode(e,t){if(!this.keepingColumns)return t;const r=this.nodeIdsToColumns[e.id];return t.filter(e=>r[e.getId()])}getNotValueColumnsForNode(e,t){if(!this.keepingColumns)return null;const r=this.nodeIdsToColumns[e.id];return t.filter(e=>!r[e.getId()])}}class Ug extends lt{constructor(e){super(),this.state=Ug.STATE_WAITING_TO_LOAD,this.version=0,this.id=e}getId(){return this.id}load(){this.state=Ug.STATE_LOADING,this.loadFromDatasource()}getVersion(){return this.version}setStateWaitingToLoad(){this.version++,this.state=Ug.STATE_WAITING_TO_LOAD}getState(){return this.state}pageLoadFailed(e){this.isRequestMostRecentAndLive(e)&&(this.state=Ug.STATE_FAILED,this.processServerFail()),this.dispatchLoadCompleted(!1)}success(e,t){this.successCommon(e,t)}pageLoaded(e,t,r){this.successCommon(e,{rowData:t,rowCount:r})}isRequestMostRecentAndLive(e){const t=e===this.version,r=this.isAlive();return t&&r}successCommon(e,t){this.dispatchLoadCompleted();this.isRequestMostRecentAndLive(e)&&(this.state=Ug.STATE_LOADED,this.processServerResult(t))}dispatchLoadCompleted(e=!0){const t={type:Ug.EVENT_LOAD_COMPLETE,success:e,block:this};this.dispatchEvent(t)}}Ug.EVENT_LOAD_COMPLETE="loadComplete",Ug.STATE_WAITING_TO_LOAD="needsLoading",Ug.STATE_LOADING="loading",Ug.STATE_LOADED="loaded",Ug.STATE_FAILED="failed";var Kg,Yg=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},qg=function(e,t){return function(r,i){t(r,i,e)}};let Qg=Kg=class extends lt{constructor(){super(...arguments),this.activeBlockLoadsCount=0,this.blocks=[],this.active=!0}postConstruct(){this.maxConcurrentRequests=this.getMaxConcurrentDatasourceRequests();const e=this.gridOptionsService.getNum("blockLoadDebounceMillis");e&&e>0&&(this.checkBlockToLoadDebounce=ho.debounce(this.performCheckBlocksToLoad.bind(this),e))}setBeans(e){this.logger=e.create("RowNodeBlockLoader")}getMaxConcurrentDatasourceRequests(){const e=this.gridOptionsService.getNum("maxConcurrentDatasourceRequests");return null==e?2:e<=0?void 0:e}addBlock(e){this.blocks.push(e),e.addEventListener(Ug.EVENT_LOAD_COMPLETE,this.loadComplete.bind(this)),this.checkBlockToLoad()}removeBlock(e){ho.removeFromArray(this.blocks,e)}destroy(){super.destroy(),this.active=!1}loadComplete(){this.activeBlockLoadsCount--,this.checkBlockToLoad(),this.dispatchEvent({type:Kg.BLOCK_LOADED_EVENT}),0==this.activeBlockLoadsCount&&this.dispatchEvent({type:Kg.BLOCK_LOADER_FINISHED_EVENT})}checkBlockToLoad(){this.checkBlockToLoadDebounce?this.checkBlockToLoadDebounce():this.performCheckBlocksToLoad()}performCheckBlocksToLoad(){if(!this.active)return;if(this.printCacheStatus(),null!=this.maxConcurrentRequests&&this.activeBlockLoadsCount>=this.maxConcurrentRequests)return void this.logger.log("checkBlockToLoad: max loads exceeded");const e=this.getAvailableLoadingCount(),t=this.blocks.filter(e=>e.getState()===Ug.STATE_WAITING_TO_LOAD).slice(0,e);this.registerLoads(t.length),t.forEach(e=>e.load()),this.printCacheStatus()}getBlockState(){if(this.gridOptionsService.isRowModelType("serverSide")){return this.rowModel.getBlockStates()}const e={};return this.blocks.forEach(t=>{const{id:r,state:i}=t.getBlockStateJson();e[r]=i}),e}printCacheStatus(){this.logger.isLogging()&&this.logger.log(`printCacheStatus: activePageLoadsCount = ${this.activeBlockLoadsCount}, blocks = `+JSON.stringify(this.getBlockState()))}isLoading(){return this.activeBlockLoadsCount>0}registerLoads(e){this.activeBlockLoadsCount+=e}getAvailableLoadingCount(){return void 0!==this.maxConcurrentRequests?this.maxConcurrentRequests-this.activeBlockLoadsCount:void 0}};Qg.BLOCK_LOADED_EVENT="blockLoaded",Qg.BLOCK_LOADER_FINISHED_EVENT="blockLoaderFinished",Yg([Ce("rowModel")],Qg.prototype,"rowModel",void 0),Yg([fe],Qg.prototype,"postConstruct",null),Yg([qg(0,Se("loggerFactory"))],Qg.prototype,"setBeans",null),Qg=Kg=Yg([we("rowNodeBlockLoader")],Qg);var Xg=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Zg=class extends lt{constructor(){super(...arguments),this.currentPage=0,this.topDisplayedRowIndex=0,this.bottomDisplayedRowIndex=0,this.pixelOffset=0,this.masterRowCount=0}postConstruct(){this.active=this.gridOptionsService.is("pagination"),this.paginateChildRows=this.isPaginateChildRows(),this.addManagedListener(this.eventService,ht.EVENT_MODEL_UPDATED,this.onModelUpdated.bind(this)),this.addManagedPropertyListener("pagination",this.onPaginationPageSizeChanged.bind(this)),this.addManagedPropertyListener("paginationPageSize",this.onPaginationPageSizeChanged.bind(this)),this.onModelUpdated()}ensureRowHeightsValid(e,t,r,i){const o=this.rowModel.ensureRowHeightsValid(e,t,this.getPageFirstRow(),this.getPageLastRow());return o&&this.calculatePages(),o}isPaginateChildRows(){return!(!this.gridOptionsService.is("groupRemoveSingleChildren")&&!this.gridOptionsService.is("groupRemoveLowestSingleChildren"))||this.gridOptionsService.is("paginateChildRows")}onModelUpdated(e){this.calculatePages();const t={type:ht.EVENT_PAGINATION_CHANGED,animate:!!e&&e.animate,newData:!!e&&e.newData,newPage:!!e&&e.newPage,keepRenderedRows:!!e&&e.keepRenderedRows};this.eventService.dispatchEvent(t)}onPaginationPageSizeChanged(){this.active=this.gridOptionsService.is("pagination"),this.calculatePages();const e={type:ht.EVENT_PAGINATION_CHANGED,animate:!1,newData:!1,newPage:!1,keepRenderedRows:!0};this.eventService.dispatchEvent(e)}goToPage(e){if(!this.active||this.currentPage===e||"number"!=typeof this.currentPage)return;this.currentPage=e;const t={type:ht.EVENT_MODEL_UPDATED,animate:!1,keepRenderedRows:!1,newData:!1,newPage:!0};this.onModelUpdated(t)}getPixelOffset(){return this.pixelOffset}getRow(e){return this.rowModel.getRow(e)}getRowNode(e){return this.rowModel.getRowNode(e)}getRowIndexAtPixel(e){return this.rowModel.getRowIndexAtPixel(e)}getCurrentPageHeight(){return E(this.topRowBounds)||E(this.bottomRowBounds)?0:Math.max(this.bottomRowBounds.rowTop+this.bottomRowBounds.rowHeight-this.topRowBounds.rowTop,0)}getCurrentPagePixelRange(){return{pageFirstPixel:this.topRowBounds?this.topRowBounds.rowTop:0,pageLastPixel:this.bottomRowBounds?this.bottomRowBounds.rowTop+this.bottomRowBounds.rowHeight:0}}isRowPresent(e){if(!this.rowModel.isRowPresent(e))return!1;return e.rowIndex>=this.topDisplayedRowIndex&&e.rowIndex<=this.bottomDisplayedRowIndex}isEmpty(){return this.rowModel.isEmpty()}isRowsToRender(){return this.rowModel.isRowsToRender()}forEachNode(e){return this.rowModel.forEachNode(e)}forEachNodeOnPage(e){const t=this.getPageFirstRow(),r=this.getPageLastRow();for(let i=t;i<=r;i++){const t=this.getRow(i);t&&e(t)}}getType(){return this.rowModel.getType()}getRowBounds(e){const t=this.rowModel.getRowBounds(e);return t.rowIndex=e,t}getPageFirstRow(){return this.topRowBounds?this.topRowBounds.rowIndex:-1}getPageLastRow(){return this.bottomRowBounds?this.bottomRowBounds.rowIndex:-1}getRowCount(){return this.rowModel.getRowCount()}getPageForIndex(e){return Math.floor(e/this.pageSize)}goToPageWithIndex(e){if(!this.active)return;const t=this.getPageForIndex(e);this.goToPage(t)}isRowInPage(e){if(!this.active)return!0;return this.getPageForIndex(e.rowIndex)===this.currentPage}isLastPageFound(){return this.rowModel.isLastRowIndexKnown()}getCurrentPage(){return this.currentPage}goToNextPage(){this.goToPage(this.currentPage+1)}goToPreviousPage(){this.goToPage(this.currentPage-1)}goToFirstPage(){this.goToPage(0)}goToLastPage(){const e=this.rowModel.getRowCount(),t=Math.floor(e/this.pageSize);this.goToPage(t)}getPageSize(){return this.pageSize}getTotalPages(){return this.totalPages}setPageSize(){this.pageSize=this.gridOptionsService.getNum("paginationPageSize"),(null==this.pageSize||this.pageSize<1)&&(this.pageSize=100)}calculatePages(){this.active?(this.setPageSize(),this.paginateChildRows?this.calculatePagesAllRows():this.calculatePagesMasterRowsOnly()):this.calculatedPagesNotActive(),this.topRowBounds=this.rowModel.getRowBounds(this.topDisplayedRowIndex),this.topRowBounds&&(this.topRowBounds.rowIndex=this.topDisplayedRowIndex),this.bottomRowBounds=this.rowModel.getRowBounds(this.bottomDisplayedRowIndex),this.bottomRowBounds&&(this.bottomRowBounds.rowIndex=this.bottomDisplayedRowIndex),this.setPixelOffset(S(this.topRowBounds)?this.topRowBounds.rowTop:0)}setPixelOffset(e){this.pixelOffset!==e&&(this.pixelOffset=e,this.eventService.dispatchEvent({type:ht.EVENT_PAGINATION_PIXEL_OFFSET_CHANGED}))}setZeroRows(){this.masterRowCount=0,this.topDisplayedRowIndex=0,this.bottomDisplayedRowIndex=-1,this.currentPage=0,this.totalPages=0}adjustCurrentPageIfInvalid(){this.currentPage>=this.totalPages&&(this.currentPage=this.totalPages-1),(!isFinite(this.currentPage)||isNaN(this.currentPage)||this.currentPage<0)&&(this.currentPage=0)}calculatePagesMasterRowsOnly(){if(this.masterRowCount=this.rowModel.getTopLevelRowCount(),this.masterRowCount<=0)return void this.setZeroRows();const e=this.masterRowCount-1;this.totalPages=Math.floor(e/this.pageSize)+1,this.adjustCurrentPageIfInvalid();const t=this.pageSize*this.currentPage;let r=this.pageSize*(this.currentPage+1)-1;if(r>e&&(r=e),this.topDisplayedRowIndex=this.rowModel.getTopLevelRowDisplayedIndex(t),r===e)this.bottomDisplayedRowIndex=this.rowModel.getRowCount()-1;else{const e=this.rowModel.getTopLevelRowDisplayedIndex(r+1);this.bottomDisplayedRowIndex=e-1}}getMasterRowCount(){return this.masterRowCount}calculatePagesAllRows(){if(this.masterRowCount=this.rowModel.getRowCount(),0===this.masterRowCount)return void this.setZeroRows();const e=this.masterRowCount-1;this.totalPages=Math.floor(e/this.pageSize)+1,this.adjustCurrentPageIfInvalid(),this.topDisplayedRowIndex=this.pageSize*this.currentPage,this.bottomDisplayedRowIndex=this.pageSize*(this.currentPage+1)-1,this.bottomDisplayedRowIndex>e&&(this.bottomDisplayedRowIndex=e)}calculatedPagesNotActive(){this.pageSize=this.rowModel.getRowCount(),this.totalPages=1,this.currentPage=0,this.topDisplayedRowIndex=0,this.bottomDisplayedRowIndex=this.rowModel.getRowCount()-1}};Xg([Ce("rowModel")],Zg.prototype,"rowModel",void 0),Xg([fe],Zg.prototype,"postConstruct",null),Zg=Xg([we("paginationProxy")],Zg);var Jg=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let $g=class extends lt{processAllCellClasses(e,t,r,i){this.processClassRules(e.cellClassRules,t,r,i),this.processStaticCellClasses(e,t,r)}processClassRules(e,t,r,i){if(null==e)return;const o=Object.keys(e),a={},n={};for(let r=0;r<o.length;r++){const i=o[r],s=e[i];let l;"string"==typeof s?l=this.expressionService.evaluate(s,t):"function"==typeof s&&(l=s(t)),i.split(" ").forEach(e=>{null!=e&&""!=e.trim()&&(l?a[e]=!0:n[e]=!0)})}i&&Object.keys(n).forEach(i),Object.keys(a).forEach(r)}getStaticCellClasses(e,t){const{cellClass:r}=e;if(!r)return[];let i;if("function"==typeof r){i=r(t)}else i=r;return"string"==typeof i&&(i=[i]),i||[]}processStaticCellClasses(e,t,r){this.getStaticCellClasses(e,t).forEach(e=>{r(e)})}};Jg([Ce("expressionService")],$g.prototype,"expressionService",void 0),$g=Jg([we("stylingService")],$g);class ed extends Zo{constructor(e){super(e,"ag-toggle-button")}setValue(e,t){return super.setValue(e,t),this.addOrRemoveCssClass("ag-selected",this.getValue()),this}}class td extends Xo{constructor(e){super(e,"ag-text-area",null,"textarea")}setValue(e,t){const r=super.setValue(e,t);return this.eInput.value=e,r}setCols(e){return this.eInput.cols=e,this}setRows(e){return this.eInput.rows=e,this}}class rd extends da{constructor(e){super(e,"ag-date-field","date")}postConstruct(){super.postConstruct(),this.addManagedListener(this.eInput,"wheel",this.onWheel.bind(this));const e=kr();this.addManagedListener(this.eInput,"mousedown",()=>{this.isDisabled()||e||this.eInput.focus()}),this.eInput.step="any"}onWheel(e){document.activeElement===this.eInput&&e.preventDefault()}setMin(e){var t;const r=e instanceof Date?null!==(t=ni(null!=e?e:null,!1))&&void 0!==t?t:void 0:e;return this.min===r||(this.min=r,Ji(this.eInput,"min",r)),this}setMax(e){var t;const r=e instanceof Date?null!==(t=ni(null!=e?e:null,!1))&&void 0!==t?t:void 0:e;return this.max===r||(this.max=r,Ji(this.eInput,"max",r)),this}setStep(e){return this.step===e||(this.step=e,Ji(this.eInput,"step",e)),this}getDate(){var e;if(this.eInput.validity.valid)return null!==(e=gi(this.getValue()))&&void 0!==e?e:void 0}setDate(e,t){this.setValue(ni(null!=e?e:null,!1),t)}}class id extends Xo{constructor(e){super(e,"ag-range-field","range")}postConstruct(){super.postConstruct();const{min:e,max:t,step:r}=this.config;null!=e&&this.setMinValue(e),null!=t&&this.setMaxValue(t),this.setStep(r||1)}addInputListeners(){this.addManagedListener(this.eInput,"input",e=>{const t=e.target.value;this.setValue(t)})}setMinValue(e){return this.min=e,this.eInput.setAttribute("min",e.toString()),this}setMaxValue(e){return this.max=e,this.eInput.setAttribute("max",e.toString()),this}setStep(e){return this.eInput.setAttribute("step",e.toString()),this}setValue(e,t){null!=this.min&&(e=Math.max(parseFloat(e),this.min).toString()),null!=this.max&&(e=Math.min(parseFloat(e),this.max).toString());const r=super.setValue(e,t);return this.eInput.value=e,r}}var od=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class ad extends _o{constructor(e){super(e,ad.TEMPLATE),this.labelAlignment="top"}init(){this.eSlider.addCssClass("ag-slider-field")}onValueChange(e){const t=Bo.EVENT_CHANGED;return this.addManagedListener(this.eText,t,()=>{const t=parseFloat(this.eText.getValue());this.eSlider.setValue(t.toString(),!0),e(t||0)}),this.addManagedListener(this.eSlider,t,()=>{const t=this.eSlider.getValue();this.eText.setValue(t,!0),e(parseFloat(t))}),this}setSliderWidth(e){return this.eSlider.setWidth(e),this}setTextFieldWidth(e){return this.eText.setWidth(e),this}setMinValue(e){return this.eSlider.setMinValue(e),this.eText.setMin(e),this}setMaxValue(e){return this.eSlider.setMaxValue(e),this.eText.setMax(e),this}getValue(){return this.eText.getValue()}setValue(e){return this.getValue()===e||(this.eText.setValue(e,!0),this.eSlider.setValue(e,!0),this.dispatchEvent({type:Bo.EVENT_CHANGED})),this}setStep(e){return this.eSlider.setStep(e),this.eText.setStep(e),this}}ad.TEMPLATE='<div class="ag-slider">\n <label ref="eLabel"></label>\n <div class="ag-wrapper ag-slider-wrapper">\n <ag-input-range ref="eSlider"></ag-input-range>\n <ag-input-number-field ref="eText"></ag-input-number-field>\n </div>\n </div>',od([Do("eLabel")],ad.prototype,"eLabel",void 0),od([Do("eSlider")],ad.prototype,"eSlider",void 0),od([Do("eText")],ad.prototype,"eText",void 0),od([fe],ad.prototype,"init",null);var nd=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class sd extends To{constructor(e={}){super(sd.getTemplate(e)),this.suppressEnabledCheckbox=!0,this.suppressOpenCloseIcons=!1;const{title:t,enabled:r,items:i,suppressEnabledCheckbox:o,suppressOpenCloseIcons:a}=e;this.title=t,this.cssIdentifier=e.cssIdentifier||"default",this.enabled=null==r||r,this.items=i||[],this.alignItems=e.alignItems||"center",null!=o&&(this.suppressEnabledCheckbox=o),null!=a&&(this.suppressOpenCloseIcons=a)}static getTemplate(e){const t=e.cssIdentifier||"default";return`<div class="ag-group ag-${t}-group" role="presentation">\n <div class="ag-group-title-bar ag-${t}-group-title-bar ag-unselectable" ref="eTitleBar" role="button">\n <span class="ag-group-title-bar-icon ag-${t}-group-title-bar-icon" ref="eGroupOpenedIcon" role="presentation"></span>\n <span class="ag-group-title-bar-icon ag-${t}-group-title-bar-icon" ref="eGroupClosedIcon" role="presentation"></span>\n <span ref="eTitle" class="ag-group-title ag-${t}-group-title"></span>\n </div>\n <div ref="eToolbar" class="ag-group-toolbar ag-${t}-group-toolbar">\n <ag-checkbox ref="cbGroupEnabled"></ag-checkbox>\n </div>\n <div ref="eContainer" class="ag-group-container ag-group-container-${e.direction||"vertical"} ag-${t}-group-container"></div>\n </div>`}postConstruct(){if(this.items.length){const e=this.items;this.items=[],this.addItems(e)}const e=this.localeService.getLocaleTextFunc();this.cbGroupEnabled.setLabel(e("enabled","Enabled")),this.title&&this.setTitle(this.title),this.enabled&&this.setEnabled(this.enabled),this.setAlignItems(this.alignItems),this.hideEnabledCheckbox(this.suppressEnabledCheckbox),this.hideOpenCloseIcons(this.suppressOpenCloseIcons),this.setupExpandContract(),this.refreshAriaStatus(),this.refreshChildDisplay()}setupExpandContract(){this.eGroupClosedIcon.appendChild(to("columnSelectClosed",this.gridOptionsService,null)),this.eGroupOpenedIcon.appendChild(to("columnSelectOpen",this.gridOptionsService,null)),this.addManagedListener(this.eTitleBar,"click",()=>this.toggleGroupExpand()),this.addManagedListener(this.eTitleBar,"keydown",e=>{switch(e.key){case io.ENTER:case io.SPACE:e.preventDefault(),this.toggleGroupExpand();break;case io.RIGHT:case io.LEFT:e.preventDefault(),this.toggleGroupExpand(e.key===io.RIGHT)}})}refreshAriaStatus(){this.suppressOpenCloseIcons||yr(this.eTitleBar,this.expanded)}refreshChildDisplay(){const e=!this.suppressOpenCloseIcons;vi(this.eToolbar,this.expanded&&!this.suppressEnabledCheckbox),vi(this.eGroupOpenedIcon,e&&this.expanded),vi(this.eGroupClosedIcon,e&&!this.expanded)}isExpanded(){return this.expanded}setAlignItems(e){this.alignItems!==e&&this.removeCssClass("ag-group-item-alignment-"+this.alignItems),this.alignItems=e;const t="ag-group-item-alignment-"+this.alignItems;return this.addCssClass(t),this}toggleGroupExpand(e){return this.suppressOpenCloseIcons?(this.expanded=!0,this.refreshChildDisplay(),vi(this.eContainer,!0),this):(e=null!=e?e:!this.expanded,this.expanded===e||(this.expanded=e,this.refreshAriaStatus(),this.refreshChildDisplay(),vi(this.eContainer,e),this.dispatchEvent({type:this.expanded?sd.EVENT_EXPANDED:sd.EVENT_COLLAPSED})),this)}addItems(e){e.forEach(e=>this.addItem(e))}addItem(e){const t=this.eContainer,r=e instanceof To?e.getGui():e;r.classList.add("ag-group-item",`ag-${this.cssIdentifier}-group-item`),t.appendChild(r),this.items.push(r)}hideItem(e,t){vi(this.items[t],!e)}setTitle(e){return this.eTitle.innerText=e,this}addCssClassToTitleBar(e){this.eTitleBar.classList.add(e)}setEnabled(e,t){return this.enabled=e,this.refreshDisabledStyles(),this.toggleGroupExpand(e),t||this.cbGroupEnabled.setValue(e),this}isEnabled(){return this.enabled}onEnableChange(e){return this.cbGroupEnabled.onValueChange(t=>{this.setEnabled(t,!0),e(t)}),this}hideEnabledCheckbox(e){return this.suppressEnabledCheckbox=e,this.refreshChildDisplay(),this.refreshDisabledStyles(),this}hideOpenCloseIcons(e){return this.suppressOpenCloseIcons=e,e&&this.toggleGroupExpand(!0),this}refreshDisabledStyles(){this.addOrRemoveCssClass("ag-disabled",!this.enabled),this.suppressEnabledCheckbox&&!this.enabled?(this.eTitleBar.classList.add("ag-disabled-group-title-bar"),this.eTitleBar.removeAttribute("tabindex")):(this.eTitleBar.classList.remove("ag-disabled-group-title-bar"),this.eTitleBar.setAttribute("tabindex","0")),this.eContainer.classList.toggle("ag-disabled-group-container",!this.enabled)}}sd.EVENT_EXPANDED="expanded",sd.EVENT_COLLAPSED="collapsed",nd([Do("eTitleBar")],sd.prototype,"eTitleBar",void 0),nd([Do("eGroupOpenedIcon")],sd.prototype,"eGroupOpenedIcon",void 0),nd([Do("eGroupClosedIcon")],sd.prototype,"eGroupClosedIcon",void 0),nd([Do("eToolbar")],sd.prototype,"eToolbar",void 0),nd([Do("cbGroupEnabled")],sd.prototype,"cbGroupEnabled",void 0),nd([Do("eTitle")],sd.prototype,"eTitle",void 0),nd([Do("eContainer")],sd.prototype,"eContainer",void 0),nd([fe],sd.prototype,"postConstruct",null);class ld extends To{initialiseTabGuard(e){this.eTopGuard=this.createTabGuard("top"),this.eBottomGuard=this.createTabGuard("bottom"),this.eFocusableElement=this.getFocusableElement();const t=[this.eTopGuard,this.eBottomGuard],r={setTabIndex:e=>{t.forEach(t=>null!=e?t.setAttribute("tabindex",e):t.removeAttribute("tabindex"))}};this.addTabGuards(this.eTopGuard,this.eBottomGuard),this.tabGuardCtrl=this.createManagedBean(new Ql({comp:r,eTopGuard:this.eTopGuard,eBottomGuard:this.eBottomGuard,eFocusableElement:this.eFocusableElement,onFocusIn:e.onFocusIn,onFocusOut:e.onFocusOut,focusInnerElement:e.focusInnerElement,handleKeyDown:e.handleKeyDown,onTabKeyDown:e.onTabKeyDown,shouldStopEventPropagation:e.shouldStopEventPropagation}))}createTabGuard(e){const t=document.createElement("div"),r="top"===e?Yl.TAB_GUARD_TOP:Yl.TAB_GUARD_BOTTOM;return t.classList.add(Yl.TAB_GUARD,r),lr(t,"presentation"),t}addTabGuards(e,t){this.eFocusableElement.insertAdjacentElement("afterbegin",e),this.eFocusableElement.insertAdjacentElement("beforeend",t)}removeAllChildrenExceptTabGuards(){const e=[this.eTopGuard,this.eBottomGuard];Ai(this.getFocusableElement()),this.addTabGuards(...e)}forceFocusOutOfContainer(e=!1){this.tabGuardCtrl.forceFocusOutOfContainer(e)}appendChild(e,t){Qi(e)||(e=e.getGui());const{eBottomGuard:r}=this;r?r.insertAdjacentElement("beforebegin",e):super.appendChild(e,t)}}var gd=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class dd extends ld{constructor(e=1){super('<div class="ag-menu-list" role="tree"></div>'),this.level=e,this.menuItems=[]}postConstruct(){this.initialiseTabGuard({onTabKeyDown:e=>this.onTabKeyDown(e),handleKeyDown:e=>this.handleKeyDown(e)})}onTabKeyDown(e){const t=this.getParentComponent(),r=t&&t.getGui();r&&r.classList.contains("ag-focus-managed")||e.preventDefault(),e.shiftKey&&this.closeIfIsChild(e)}handleKeyDown(e){switch(e.key){case io.UP:case io.RIGHT:case io.DOWN:case io.LEFT:e.preventDefault(),this.handleNavKey(e.key);break;case io.ESCAPE:const t=this.findTopMenu();t&&this.focusService.focusInto(t.getGui())}}clearActiveItem(){this.activeMenuItem&&(this.activeMenuItem.deactivate(),this.activeMenuItem=null)}addMenuItems(e){null!=e&&e.forEach(e=>{"separator"===e?this.addSeparator():"string"==typeof e?console.warn("AG Grid: unrecognised menu item "+e):this.addItem(e)})}addItem(e){const t=this.createManagedBean(new hd(Object.assign(Object.assign({},e),{isAnotherSubMenuOpen:()=>this.menuItems.some(e=>e.isSubMenuOpen())})));t.setParentComponent(this),wr(t.getGui(),this.level),this.menuItems.push(t),this.appendChild(t.getGui()),this.addManagedListener(t,hd.EVENT_MENU_ITEM_SELECTED,e=>{this.dispatchEvent(e)}),this.addManagedListener(t,hd.EVENT_MENU_ITEM_ACTIVATED,e=>{this.activeMenuItem&&this.activeMenuItem!==e.menuItem&&this.activeMenuItem.deactivate(),this.activeMenuItem=e.menuItem})}activateFirstItem(){const e=this.menuItems.filter(e=>!e.isDisabled())[0];e&&e.activate()}addSeparator(){this.appendChild(Ni('\n <div class="ag-menu-separator" aria-hidden="true">\n <div class="ag-menu-separator-part"></div>\n <div class="ag-menu-separator-part"></div>\n <div class="ag-menu-separator-part"></div>\n <div class="ag-menu-separator-part"></div>\n </div>'))}findTopMenu(){let e=this.getParentComponent();if(!e&&this instanceof dd)return this;for(;;){const t=e&&e.getParentComponent&&e.getParentComponent();if(!t||!(t instanceof dd||t instanceof hd))break;e=t}return e instanceof dd?e:void 0}handleNavKey(e){switch(e){case io.UP:case io.DOWN:const t=this.findNextItem(e===io.UP);return void(t&&t!==this.activeMenuItem&&t.activate())}e===(this.gridOptionsService.is("enableRtl")?io.RIGHT:io.LEFT)?this.closeIfIsChild():this.openChild()}closeIfIsChild(e){const t=this.getParentComponent();t&&t instanceof hd&&(e&&e.preventDefault(),t.closeSubMenu(),t.getGui().focus())}openChild(){this.activeMenuItem&&this.activeMenuItem.openSubMenu(!0)}findNextItem(e){const t=this.menuItems.filter(e=>!e.isDisabled());if(!t.length)return;if(!this.activeMenuItem)return e?Fe(t):t[0];let r;e&&t.reverse();let i=!1;for(let e=0;e<t.length;e++){const o=t[e];if(i){r=o;break}o===this.activeMenuItem&&(i=!0)}return r||this.activeMenuItem}destroy(){this.clearActiveItem(),super.destroy()}}gd([Ce("focusService")],dd.prototype,"focusService",void 0),gd([fe],dd.prototype,"postConstruct",null);var cd=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class ud extends ld{constructor(e){super(),this.wrappedComponent=e,this.setTemplateFromElement(e.getGui())}postConstruct(){this.initialiseTabGuard({onTabKeyDown:e=>this.onTabKeyDown(e),handleKeyDown:e=>this.handleKeyDown(e)})}handleKeyDown(e){e.key===io.ESCAPE&&this.closePanel()}onTabKeyDown(e){e.defaultPrevented||(this.closePanel(),e.preventDefault())}closePanel(){const e=this.parentComponent;e.closeSubMenu(),setTimeout(()=>e.getGui().focus(),0)}}cd([fe],ud.prototype,"postConstruct",null);var pd=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class hd extends To{constructor(e){super(),this.params=e,this.isActive=!1,this.subMenuIsOpen=!1,this.setTemplate(`<div class="${this.getClassName()}" tabindex="-1" role="treeitem"></div>`)}init(){this.addIcon(),this.addName(),this.addShortcut(),this.addSubMenu(),this.addTooltip();const e=this.getGui();this.params.disabled?(this.addCssClass(this.getClassName("disabled")),Cr(e,!0)):(this.addGuiEventListener("click",e=>this.onItemSelected(e)),this.addGuiEventListener("keydown",e=>{e.key!==io.ENTER&&e.key!==io.SPACE||(e.preventDefault(),this.onItemSelected(e))}),this.addGuiEventListener("mousedown",e=>{e.stopPropagation(),e.preventDefault()}),this.addGuiEventListener("mouseenter",()=>this.onMouseEnter()),this.addGuiEventListener("mouseleave",()=>this.onMouseLeave())),this.params.cssClasses&&this.params.cssClasses.forEach(e=>this.addCssClass(e))}isDisabled(){return!!this.params.disabled}openSubMenu(e=!1){if(this.closeSubMenu(),!this.params.subMenu)return;const t=Ni('<div class="ag-menu" role="presentation"></div>');let r;if(this.params.subMenu instanceof Array){const i=dr(this.getGui()),o=isNaN(i)?1:i+1,a=this.createBean(new dd(o));a.setParentComponent(this),a.addMenuItems(this.params.subMenu),t.appendChild(a.getGui()),this.addManagedListener(a,hd.EVENT_MENU_ITEM_SELECTED,e=>this.dispatchEvent(e)),a.addGuiEventListener("mouseenter",()=>this.cancelDeactivate()),r=()=>this.destroyBean(a),e&&setTimeout(()=>a.activateFirstItem(),0)}else{const{subMenu:e}=this.params,i=this.createBean(new ud(e));i.setParentComponent(this);const o=i.getGui(),a="mouseenter",n=()=>this.cancelDeactivate();o.addEventListener(a,n),r=()=>o.removeEventListener(a,n),t.appendChild(o),e.afterGuiAttached&&setTimeout(()=>e.afterGuiAttached(),0)}const i=this.getGui(),o=this.popupService.positionPopupForMenu.bind(this.popupService,{eventSource:i,ePopup:t}),a=this.localeService.getLocaleTextFunc(),n=this.popupService.addPopup({modal:!0,eChild:t,positionCallback:o,anchorToElement:i,ariaLabel:a("ariaLabelSubMenu","SubMenu")});this.subMenuIsOpen=!0,yr(i,!0),this.hideSubMenu=()=>{n&&n.hideFunc(),this.subMenuIsOpen=!1,yr(i,!1),r()}}closeSubMenu(){this.hideSubMenu&&(this.hideSubMenu(),this.hideSubMenu=null,yr(this.getGui(),!1))}isSubMenuOpen(){return this.subMenuIsOpen}activate(e){this.cancelActivate(),this.params.disabled||(this.isActive=!0,this.addCssClass(this.getClassName("active")),this.getGui().focus(),e&&this.params.subMenu&&window.setTimeout(()=>{this.isAlive()&&this.isActive&&this.openSubMenu()},300),this.onItemActivated())}deactivate(){this.cancelDeactivate(),this.removeCssClass(this.getClassName("active")),this.isActive=!1,this.subMenuIsOpen&&this.hideSubMenu()}addIcon(){if(!this.params.checked&&!this.params.icon&&this.params.isCompact)return;const e=Ni(`<span ref="eIcon" class="${this.getClassName("part")} ${this.getClassName("icon")}" role="presentation"></span>`);this.params.checked?e.appendChild(ro("check",this.gridOptionsService)):this.params.icon&&(Qi(this.params.icon)?e.appendChild(this.params.icon):"string"==typeof this.params.icon?e.innerHTML=this.params.icon:console.warn("AG Grid: menu item icon must be DOM node or string")),this.getGui().appendChild(e)}addName(){if(!this.params.name&&this.params.isCompact)return;const e=Ni(`<span ref="eName" class="${this.getClassName("part")} ${this.getClassName("text")}">${this.params.name||""}</span>`);this.getGui().appendChild(e)}addTooltip(){this.params.tooltip&&(this.tooltip=this.params.tooltip,this.gridOptionsService.is("enableBrowserTooltips")?this.getGui().setAttribute("title",this.tooltip):this.createManagedBean(new yo(this)))}getTooltipParams(){return{location:"menu",value:this.tooltip}}addShortcut(){if(!this.params.shortcut&&this.params.isCompact)return;const e=Ni(`<span ref="eShortcut" class="${this.getClassName("part")} ${this.getClassName("shortcut")}">${this.params.shortcut||""}</span>`);this.getGui().appendChild(e)}addSubMenu(){if(!this.params.subMenu&&this.params.isCompact)return;const e=Ni(`<span ref="ePopupPointer" class="${this.getClassName("part")} ${this.getClassName("popup-pointer")}"></span>`),t=this.getGui();if(this.params.subMenu){const r=this.gridOptionsService.is("enableRtl")?"smallLeft":"smallRight";yr(t,!1),e.appendChild(ro(r,this.gridOptionsService))}t.appendChild(e)}onItemSelected(e){if(this.params.action?this.params.action():this.openSubMenu(e&&"keydown"===e.type),this.params.subMenu&&!this.params.action)return;const t={type:hd.EVENT_MENU_ITEM_SELECTED,action:this.params.action,checked:this.params.checked,cssClasses:this.params.cssClasses,disabled:this.params.disabled,icon:this.params.icon,name:this.params.name,shortcut:this.params.shortcut,subMenu:this.params.subMenu,tooltip:this.params.tooltip,event:e};this.dispatchEvent(t)}onItemActivated(){const e={type:hd.EVENT_MENU_ITEM_ACTIVATED,menuItem:this};this.dispatchEvent(e)}cancelActivate(){this.activateTimeoutId&&(window.clearTimeout(this.activateTimeoutId),this.activateTimeoutId=0)}cancelDeactivate(){this.deactivateTimeoutId&&(window.clearTimeout(this.deactivateTimeoutId),this.deactivateTimeoutId=0)}onMouseEnter(){this.cancelDeactivate(),this.params.isAnotherSubMenuOpen()?this.activateTimeoutId=window.setTimeout(()=>this.activate(!0),hd.ACTIVATION_DELAY):this.activate(!0)}onMouseLeave(){this.cancelActivate(),this.isSubMenuOpen()?this.deactivateTimeoutId=window.setTimeout(()=>this.deactivate(),hd.ACTIVATION_DELAY):this.deactivate()}getClassName(e){const t=this.params.isCompact?"ag-compact-menu-option":"ag-menu-option";return e?`${t}-${e}`:t}}hd.EVENT_MENU_ITEM_SELECTED="menuItemSelected",hd.EVENT_MENU_ITEM_ACTIVATED="menuItemActivated",hd.ACTIVATION_DELAY=80,pd([Ce("popupService")],hd.prototype,"popupService",void 0),pd([fe],hd.prototype,"init",null);var vd=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class fd extends To{constructor(e){super(fd.getTemplate(e)),this.closable=!0,this.config=e}static getTemplate(e){const t=e&&e.cssIdentifier||"default";return`<div class="ag-panel ag-${t}-panel" tabindex="-1">\n <div ref="eTitleBar" class="ag-panel-title-bar ag-${t}-panel-title-bar ag-unselectable">\n <span ref="eTitle" class="ag-panel-title-bar-title ag-${t}-panel-title-bar-title"></span>\n <div ref="eTitleBarButtons" class="ag-panel-title-bar-buttons ag-${t}-panel-title-bar-buttons"></div>\n </div>\n <div ref="eContentWrapper" class="ag-panel-content-wrapper ag-${t}-panel-content-wrapper"></div>\n </div>`}postConstruct(){const{component:e,closable:t,hideTitleBar:r,title:i,minWidth:o=250,width:a,minHeight:n=250,height:s,centered:l,popup:g,x:d,y:c}=this.config;this.positionableFeature=new ko(this.getGui(),{minWidth:o,width:a,minHeight:n,height:s,centered:l,x:d,y:c,popup:g,calculateTopBuffer:()=>this.positionableFeature.getHeight()-this.getBodyHeight()}),this.createManagedBean(this.positionableFeature);const u=this.getGui();e&&this.setBodyComponent(e),r?vi(this.eTitleBar,!1):(i&&this.setTitle(i),this.setClosable(null!=t?t:this.closable)),this.addManagedListener(this.eTitleBar,"mousedown",e=>{const t=this.gridOptionsService.getDocument();if(u.contains(e.relatedTarget)||u.contains(t.activeElement)||this.eTitleBarButtons.contains(e.target))return void e.preventDefault();const r=this.eContentWrapper.querySelector("button, [href], input, select, textarea, [tabindex]");r&&r.focus()}),g&&this.positionableFeature.isPositioned()||(this.renderComponent&&this.renderComponent(),this.positionableFeature.initialisePosition(),this.eContentWrapper.style.height="0")}renderComponent(){const e=this.getGui();e.focus(),this.close=()=>{e.parentElement.removeChild(e),this.destroy()}}getHeight(){return this.positionableFeature.getHeight()}setHeight(e){this.positionableFeature.setHeight(e)}getWidth(){return this.positionableFeature.getWidth()}setWidth(e){this.positionableFeature.setWidth(e)}setClosable(e){if(e!==this.closable&&(this.closable=e),e){const e=this.closeButtonComp=new To(fd.CLOSE_BTN_TEMPLATE);this.getContext().createBean(e);const t=e.getGui(),r=ro("close",this.gridOptionsService);r.classList.add("ag-panel-title-bar-button-icon"),t.appendChild(r),this.addTitleBarButton(e),e.addManagedListener(t,"click",this.onBtClose.bind(this))}else if(this.closeButtonComp){const e=this.closeButtonComp.getGui();e.parentElement.removeChild(e),this.closeButtonComp=this.destroyBean(this.closeButtonComp)}}setBodyComponent(e){e.setParentComponent(this),this.eContentWrapper.appendChild(e.getGui())}addTitleBarButton(e,t){const r=this.eTitleBarButtons,i=r.children,o=i.length;null==t&&(t=o),t=Math.max(0,Math.min(t,o)),e.addCssClass("ag-panel-title-bar-button");const a=e.getGui();0===t?r.insertAdjacentElement("afterbegin",a):t===o?r.insertAdjacentElement("beforeend",a):i[t-1].insertAdjacentElement("afterend",a),e.setParentComponent(this)}getBodyHeight(){return bi(this.eContentWrapper)}getBodyWidth(){return yi(this.eContentWrapper)}setTitle(e){this.eTitle.innerText=e}onBtClose(){this.close()}destroy(){this.closeButtonComp&&(this.closeButtonComp=this.destroyBean(this.closeButtonComp));const e=this.getGui();e&&e.offsetParent&&this.close(),super.destroy()}}fd.CLOSE_BTN_TEMPLATE='<div class="ag-button"></div>',vd([Do("eContentWrapper")],fd.prototype,"eContentWrapper",void 0),vd([Do("eTitleBar")],fd.prototype,"eTitleBar",void 0),vd([Do("eTitleBarButtons")],fd.prototype,"eTitleBarButtons",void 0),vd([Do("eTitle")],fd.prototype,"eTitle",void 0),vd([fe],fd.prototype,"postConstruct",null);var md=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class wd extends fd{constructor(e){super(Object.assign(Object.assign({},e),{popup:!0})),this.isMaximizable=!1,this.isMaximized=!1,this.maximizeListeners=[],this.resizeListenerDestroy=null,this.lastPosition={x:0,y:0,width:0,height:0}}postConstruct(){const e=this.getGui(),{movable:t,resizable:r,maximizable:i}=this.config;this.addCssClass("ag-dialog"),super.postConstruct(),this.addManagedListener(e,"focusin",t=>{e.contains(t.relatedTarget)||this.popupService.bringPopupToFront(e)}),t&&this.setMovable(t),i&&this.setMaximizable(i),r&&this.setResizable(r)}renderComponent(){const e=this.getGui(),{alwaysOnTop:t,modal:r,title:i}=this.config,o=this.localeService.getLocaleTextFunc(),a=this.popupService.addPopup({modal:r,eChild:e,closeOnEsc:!0,closedCallback:this.destroy.bind(this),alwaysOnTop:t,ariaLabel:i||o("ariaLabelDialog","Dialog")});a&&(this.close=a.hideFunc)}toggleMaximize(){const e=this.positionableFeature.getPosition();if(this.isMaximized){const{x:e,y:t,width:r,height:i}=this.lastPosition;this.setWidth(r),this.setHeight(i),this.positionableFeature.offsetElement(e,t)}else this.lastPosition.width=this.getWidth(),this.lastPosition.height=this.getHeight(),this.lastPosition.x=e.x,this.lastPosition.y=e.y,this.positionableFeature.offsetElement(0,0),this.setHeight("100%"),this.setWidth("100%");this.isMaximized=!this.isMaximized,this.refreshMaximizeIcon()}refreshMaximizeIcon(){vi(this.maximizeIcon,!this.isMaximized),vi(this.minimizeIcon,this.isMaximized)}clearMaximizebleListeners(){this.maximizeListeners.length&&(this.maximizeListeners.forEach(e=>e()),this.maximizeListeners.length=0),this.resizeListenerDestroy&&(this.resizeListenerDestroy(),this.resizeListenerDestroy=null)}destroy(){this.maximizeButtonComp=this.destroyBean(this.maximizeButtonComp),this.clearMaximizebleListeners(),super.destroy()}setResizable(e){this.positionableFeature.setResizable(e)}setMovable(e){this.positionableFeature.setMovable(e,this.eTitleBar)}setMaximizable(e){if(!e)return this.clearMaximizebleListeners(),void(this.maximizeButtonComp&&(this.destroyBean(this.maximizeButtonComp),this.maximizeButtonComp=this.maximizeIcon=this.minimizeIcon=void 0));const t=this.eTitleBar;if(!t||e===this.isMaximizable)return;const r=this.buildMaximizeAndMinimizeElements();this.refreshMaximizeIcon(),r.addManagedListener(r.getGui(),"click",this.toggleMaximize.bind(this)),this.addTitleBarButton(r,0),this.maximizeListeners.push(this.addManagedListener(t,"dblclick",this.toggleMaximize.bind(this))),this.resizeListenerDestroy=this.addManagedListener(this,"resize",()=>{this.isMaximized=!1,this.refreshMaximizeIcon()})}buildMaximizeAndMinimizeElements(){const e=this.maximizeButtonComp=this.createBean(new To('<div class="ag-dialog-button"></span>')),t=e.getGui();return this.maximizeIcon=ro("maximize",this.gridOptionsService),t.appendChild(this.maximizeIcon),this.maximizeIcon.classList.add("ag-panel-title-bar-button-icon"),this.minimizeIcon=ro("minimize",this.gridOptionsService),t.appendChild(this.minimizeIcon),this.minimizeIcon.classList.add("ag-panel-title-bar-button-icon"),e}}md([Ce("popupService")],wd.prototype,"popupService",void 0);var Cd,bd,yd=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal"}(bd||(bd={}));let Sd=0,Ed=Cd=class extends lt{constructor(){super(...arguments),this.popupList=[]}postConstruct(){this.ctrlsService.whenReady(e=>{this.gridCtrl=e.gridCtrl,this.addManagedListener(this.gridCtrl,ht.EVENT_KEYBOARD_FOCUS,()=>{this.popupList.forEach(e=>e.element.classList.add(Jl.AG_KEYBOARD_FOCUS))}),this.addManagedListener(this.gridCtrl,ht.EVENT_MOUSE_FOCUS,()=>{this.popupList.forEach(e=>e.element.classList.remove(Jl.AG_KEYBOARD_FOCUS))})})}getPopupParent(){const e=this.gridOptionsService.get("popupParent");return e||this.gridCtrl.getGui()}positionPopupForMenu(e){const t=e.eventSource.getBoundingClientRect(),r=this.getParentRect(),i=this.keepXYWithinBounds(e.ePopup,t.top-r.top,bd.vertical),o=e.ePopup.clientWidth>0?e.ePopup.clientWidth:200;e.ePopup.style.minWidth=o+"px";const a=r.right-r.left-o;let n;function s(){return t.right-r.left-2}function l(){return t.left-r.left-o}this.gridOptionsService.is("enableRtl")?(n=l(),n<0&&(n=s()),n>a&&(n=0)):(n=s(),n>a&&(n=l()),n<0&&(n=0)),e.ePopup.style.left=n+"px",e.ePopup.style.top=i+"px"}positionPopupUnderMouseEvent(e){const{ePopup:t,nudgeX:r,nudgeY:i,skipObserver:o}=e;this.positionPopup({ePopup:t,nudgeX:r,nudgeY:i,keepWithinBounds:!0,skipObserver:o,updatePosition:()=>this.calculatePointerAlign(e.mouseEvent),postProcessCallback:()=>this.callPostProcessPopup(e.type,e.ePopup,null,e.mouseEvent,e.column,e.rowNode)})}calculatePointerAlign(e){const t=this.getParentRect();return{x:e.clientX-t.left,y:e.clientY-t.top}}positionPopupByComponent(e){const t=e.eventSource.getBoundingClientRect(),r=e.alignSide||"left",i=e.position||"over",o=this.getParentRect();this.positionPopup({ePopup:e.ePopup,nudgeX:e.nudgeX,nudgeY:e.nudgeY,keepWithinBounds:e.keepWithinBounds,updatePosition:()=>{let a=t.left-o.left;"right"===r&&(a-=e.ePopup.offsetWidth-t.width);return{x:a,y:"over"===i?t.top-o.top:t.top-o.top+t.height}},postProcessCallback:()=>this.callPostProcessPopup(e.type,e.ePopup,e.eventSource,null,e.column,e.rowNode)})}callPostProcessPopup(e,t,r,i,o,a){const n=this.gridOptionsService.getCallback("postProcessPopup");if(n){n({column:o,rowNode:a,ePopup:t,type:e,eventSource:r,mouseEvent:i})}}positionPopup(e){const{ePopup:t,keepWithinBounds:r,nudgeX:i,nudgeY:o,skipObserver:a,updatePosition:n}=e,s={width:0,height:0},l=(a=!1)=>{let{x:l,y:g}=n();a&&t.clientWidth===s.width&&t.clientHeight===s.height||(s.width=t.clientWidth,s.height=t.clientHeight,i&&(l+=i),o&&(g+=o),r&&(l=this.keepXYWithinBounds(t,l,bd.horizontal),g=this.keepXYWithinBounds(t,g,bd.vertical)),t.style.left=l+"px",t.style.top=g+"px",e.postProcessCallback&&e.postProcessCallback())};if(l(),!a){const e=this.resizeObserverService.observeResize(t,()=>l(!0));setTimeout(()=>e(),Cd.WAIT_FOR_POPUP_CONTENT_RESIZE)}}getActivePopups(){return this.popupList.map(e=>e.element)}getPopupList(){return this.popupList}getParentRect(){const e=this.gridOptionsService.getDocument();let t=this.getPopupParent();return t===e.body?t=e.documentElement:"static"===getComputedStyle(t).position&&(t=t.offsetParent),Ri(t)}keepXYWithinBounds(e,t,r){const i=r===bd.vertical,o=i?"clientHeight":"clientWidth",a=i?"top":"left",n=i?"offsetHeight":"offsetWidth",s=i?"scrollTop":"scrollLeft",l=this.gridOptionsService.getDocument(),g=l.documentElement,d=this.getPopupParent(),c=d.getBoundingClientRect(),u=l.documentElement.getBoundingClientRect(),p=d===l.body,h=e[n];let v=p?(i?Si:Ei)(g)+g[s]:d[o];p&&(v-=Math.abs(u[a]-c[a]));const f=v-h;return Math.min(Math.max(t,0),Math.abs(f))}addPopup(e){const t=this.gridOptionsService.getDocument(),{eChild:r,ariaLabel:i,alwaysOnTop:o,positionCallback:a,anchorToElement:n}=e;if(!t)return console.warn("AG Grid: could not find the document, document is empty"),{hideFunc:()=>{}};const s=this.popupList.findIndex(e=>e.element===r);if(-1!==s){return{hideFunc:this.popupList[s].hideFunc}}this.initialisePopupPosition(r);const l=this.createPopupWrapper(r,i,!!o),g=this.addEventListenersToPopup(Object.assign(Object.assign({},e),{wrapperEl:l}));return a&&a(),this.addPopupToPopupList(r,l,g,n),{hideFunc:g}}initialisePopupPosition(e){const t=this.getPopupParent().getBoundingClientRect();S(e.style.top)||(e.style.top=-1*t.top+"px"),S(e.style.left)||(e.style.left=-1*t.left+"px")}createPopupWrapper(e,t,r){const i=this.getPopupParent(),o=document.createElement("div"),{allThemes:a}=this.environment.getTheme();return a.length&&o.classList.add(...a),o.classList.add("ag-popup"),e.classList.add(this.gridOptionsService.is("enableRtl")?"ag-rtl":"ag-ltr","ag-popup-child"),e.hasAttribute("role")||lr(e,"dialog"),pr(e,t),this.focusService.isKeyboardMode()&&e.classList.add(Jl.AG_KEYBOARD_FOCUS),o.appendChild(e),i.appendChild(o),r?this.setAlwaysOnTop(e,!0):this.bringPopupToFront(e),o}addEventListenersToPopup(e){const t=this.gridOptionsService.getDocument(),r=this.getPopupParent(),{wrapperEl:i,eChild:o,click:a,closedCallback:n,afterGuiAttached:s,closeOnEsc:l,modal:g}=e;let d=!1;const c=e=>{if(!i.contains(t.activeElement))return;e.key===io.ESCAPE&&h({keyboardEvent:e})},u=e=>h({mouseEvent:e}),p=e=>h({touchEvent:e}),h=(e={})=>{const{mouseEvent:s,touchEvent:l,keyboardEvent:g}=e;this.isEventFromCurrentPopup({mouseEvent:s,touchEvent:l},o)||this.isEventSameChainAsOriginalEvent({originalMouseEvent:a,mouseEvent:s,touchEvent:l})||d||(d=!0,r.removeChild(i),t.removeEventListener("keydown",c),t.removeEventListener("mousedown",u),t.removeEventListener("touchstart",p),t.removeEventListener("contextmenu",u),this.eventService.removeEventListener(ht.EVENT_DRAG_STARTED,u),n&&n(s||l||g),this.removePopupFromPopupList(o))};return s&&s({hidePopup:h}),window.setTimeout(()=>{l&&t.addEventListener("keydown",c),g&&(t.addEventListener("mousedown",u),this.eventService.addEventListener(ht.EVENT_DRAG_STARTED,u),t.addEventListener("touchstart",p),t.addEventListener("contextmenu",u))},0),h}addPopupToPopupList(e,t,r,i){this.popupList.push({element:e,wrapper:t,hideFunc:r,instanceId:Sd++,isAnchored:!!i}),i&&this.setPopupPositionRelatedToElement(e,i)}setPopupPositionRelatedToElement(e,t){const r=this.popupList.find(t=>t.element===e);if(!r)return;if(r.stopAnchoringPromise&&r.stopAnchoringPromise.then(e=>e&&e()),r.stopAnchoringPromise=void 0,r.isAnchored=!1,!t)return;const i=this.keepPopupPositionedRelativeTo({element:t,ePopup:e,hidePopup:r.hideFunc});return r.stopAnchoringPromise=i,r.isAnchored=!0,i}removePopupFromPopupList(e){this.setPopupPositionRelatedToElement(e,null),this.popupList=this.popupList.filter(t=>t.element!==e)}keepPopupPositionedRelativeTo(e){const t=this.getPopupParent(),r=t.getBoundingClientRect(),{element:i,ePopup:o}=e,a=i.getBoundingClientRect(),n=r.top-a.top,s=r.left-a.left;let l=n,g=s;const d=o.style.top,c=parseInt(d.substring(0,d.length-1),10),u=o.style.left,p=parseInt(u.substring(0,u.length-1),10);return new mo(r=>{this.getFrameworkOverrides().setInterval(()=>{const r=t.getBoundingClientRect(),a=i.getBoundingClientRect();if(0==a.top&&0==a.left&&0==a.height&&0==a.width)return void e.hidePopup();const d=r.top-a.top;if(d!=l){const e=this.keepXYWithinBounds(o,c+n-d,bd.vertical);o.style.top=e+"px"}l=d;const u=r.left-a.left;if(u!=g){const e=this.keepXYWithinBounds(o,p+s-u,bd.horizontal);o.style.left=e+"px"}g=u},200).then(e=>{r(()=>{null!=e&&window.clearInterval(e)})})})}hasAnchoredPopup(){return this.popupList.some(e=>e.isAnchored)}isEventFromCurrentPopup(e,t){const{mouseEvent:r,touchEvent:i}=e,o=r||i;if(!o)return!1;const a=this.popupList.findIndex(e=>e.element===t);if(-1===a)return!1;for(let e=a;e<this.popupList.length;e++){if(it(this.popupList[e].element,o))return!0}return this.isElementWithinCustomPopup(o.target)}isElementWithinCustomPopup(e){const t=this.gridOptionsService.getDocument();for(;e&&e!==t.body;){if(e.classList.contains("ag-custom-component-popup")||null===e.parentElement)return!0;e=e.parentElement}return!1}isEventSameChainAsOriginalEvent(e){const{originalMouseEvent:t,mouseEvent:r,touchEvent:i}=e;let o=null;if(r?o=r:i&&(o=i.touches[0]),o&&t){const e=r?r.screenX:0,i=r?r.screenY:0,o=Math.abs(t.screenX-e)<5,a=Math.abs(t.screenY-i)<5;if(o&&a)return!0}return!1}getWrapper(e){for(;!e.classList.contains("ag-popup")&&e.parentElement;)e=e.parentElement;return e.classList.contains("ag-popup")?e:null}setAlwaysOnTop(e,t){const r=this.getWrapper(e);r&&(r.classList.toggle("ag-always-on-top",!!t),t&&this.bringPopupToFront(r))}bringPopupToFront(e){const t=this.getPopupParent(),r=Array.prototype.slice.call(t.querySelectorAll(".ag-popup")),i=r.length,o=Array.prototype.slice.call(t.querySelectorAll(".ag-popup.ag-always-on-top")),a=o.length,n=this.getWrapper(e);if(!n||i<=1||!t.contains(e))return;const s=r.indexOf(n),l=n.querySelectorAll("div"),g=[];if(l.forEach(e=>{0!==e.scrollTop&&g.push([e,e.scrollTop])}),a){n.classList.contains("ag-always-on-top")?s!==i-1&&Fe(o).insertAdjacentElement("afterend",n):s!==i-a-1&&o[0].insertAdjacentElement("beforebegin",n)}else s!==i-1&&Fe(r).insertAdjacentElement("afterend",n);for(;g.length;){const e=g.pop();e[0].scrollTop=e[1]}const d={type:"popupToFront",api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,eWrapper:n};this.eventService.dispatchEvent(d)}};Ed.WAIT_FOR_POPUP_CONTENT_RESIZE=200,yd([Ce("focusService")],Ed.prototype,"focusService",void 0),yd([Ce("ctrlsService")],Ed.prototype,"ctrlsService",void 0),yd([Ce("resizeObserverService")],Ed.prototype,"resizeObserverService",void 0),yd([fe],Ed.prototype,"postConstruct",null),Ed=Cd=yd([we("popupService")],Ed);var Rd=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Td extends ld{constructor(e="default",t="listbox",r){super(Td.getTemplate(e)),this.cssIdentifier=e,this.ariaRole=t,this.listName=r,this.renderedRows=new Map,this.rowHeight=20}postConstruct(){this.addScrollListener(),this.rowHeight=this.getItemHeight(),this.addResizeObserver(),this.initialiseTabGuard({onFocusIn:e=>this.onFocusIn(e),onFocusOut:e=>this.onFocusOut(e),focusInnerElement:e=>this.focusInnerElement(e),onTabKeyDown:e=>this.onTabKeyDown(e),handleKeyDown:e=>this.handleKeyDown(e)}),this.setAriaProperties(),this.addManagedListener(this.eventService,ht.EVENT_GRID_STYLES_CHANGED,this.onGridStylesChanged.bind(this))}onGridStylesChanged(){this.rowHeight=this.getItemHeight(),this.refresh()}setAriaProperties(){const e=this.localeService.getLocaleTextFunc()("ariaDefaultListName",this.listName||"List"),t=this.eContainer;lr(t,this.ariaRole),pr(t,e)}addResizeObserver(){const e=this.resizeObserverService.observeResize(this.getGui(),()=>this.drawVirtualRows());this.addDestroyFunc(e)}focusInnerElement(e){this.focusRow(e?this.model.getRowCount()-1:0)}onFocusIn(e){const t=e.target;return t.classList.contains("ag-virtual-list-item")&&(this.lastFocusedRowIndex=cr(t)-1),!1}onFocusOut(e){return this.getFocusableElement().contains(e.relatedTarget)||(this.lastFocusedRowIndex=null),!1}handleKeyDown(e){switch(e.key){case io.UP:case io.DOWN:this.navigate(e.key===io.UP)&&e.preventDefault()}}onTabKeyDown(e){this.navigate(e.shiftKey)?e.preventDefault():($e(e),this.forceFocusOutOfContainer(e.shiftKey))}navigate(e){if(null==this.lastFocusedRowIndex)return!1;const t=this.lastFocusedRowIndex+(e?-1:1);return!(t<0||t>=this.model.getRowCount())&&(this.focusRow(t),!0)}getLastFocusedRow(){return this.lastFocusedRowIndex}focusRow(e){this.ensureIndexVisible(e),window.setTimeout(()=>{if(!this.isAlive())return;const t=this.renderedRows.get(e);t&&t.eDiv.focus()},10)}getComponentAt(e){const t=this.renderedRows.get(e);return t&&t.rowComponent}forEachRenderedRow(e){this.renderedRows.forEach((t,r)=>e(t.rowComponent,r))}static getTemplate(e){return`\n <div class="ag-virtual-list-viewport ag-${e}-virtual-list-viewport" role="presentation">\n <div class="ag-virtual-list-container ag-${e}-virtual-list-container" ref="eContainer"></div>\n </div>`}getItemHeight(){return this.environment.getListItemHeight()}ensureIndexVisible(e){const t=this.model.getRowCount();if("number"!=typeof e||e<0||e>=t)return void console.warn("AG Grid: invalid row index for ensureIndexVisible: "+e);const r=e*this.rowHeight,i=r+this.rowHeight,o=this.getGui(),a=o.scrollTop,n=o.offsetHeight,s=a+n<i;if(a>r)o.scrollTop=r;else if(s){const e=i-n;o.scrollTop=e}}setComponentCreator(e){this.componentCreator=e}setComponentUpdater(e){this.componentUpdater=e}getRowHeight(){return this.rowHeight}getScrollTop(){return this.getGui().scrollTop}setRowHeight(e){this.rowHeight=e,this.refresh()}refresh(e){if(null==this.model||!this.isAlive())return;const t=this.model.getRowCount();this.eContainer.style.height=t*this.rowHeight+"px",le(()=>this.eContainer.clientHeight>=t*this.rowHeight,()=>{this.isAlive()&&(this.canSoftRefresh(e)?this.drawVirtualRows(!0):(this.clearVirtualRows(),this.drawVirtualRows()))})}canSoftRefresh(e){return!!(e&&this.renderedRows.size&&"function"==typeof this.model.areRowsEqual&&this.componentUpdater)}clearVirtualRows(){this.renderedRows.forEach((e,t)=>this.removeRow(t))}drawVirtualRows(e){if(!this.isAlive())return;const t=this.getGui(),r=t.scrollTop,i=r+t.offsetHeight,o=Math.floor(r/this.rowHeight),a=Math.floor(i/this.rowHeight);this.ensureRowsRendered(o,a,e)}ensureRowsRendered(e,t,r){this.renderedRows.forEach((r,i)=>{(i<e||i>t)&&i!==this.lastFocusedRowIndex&&this.removeRow(i)}),r&&this.refreshRows();for(let r=e;r<=t;r++)this.renderedRows.has(r)||r<this.model.getRowCount()&&this.insertRow(r)}insertRow(e){const t=this.model.getRow(e),r=document.createElement("div");if(r.classList.add("ag-virtual-list-item",`ag-${this.cssIdentifier}-virtual-list-item`),lr(r,"tree"===this.ariaRole?"treeitem":"option"),Er(r,this.model.getRowCount()),Rr(r,e+1),r.setAttribute("tabindex","-1"),"function"==typeof this.model.isRowSelected){const t=this.model.isRowSelected(e);Lr(r,!!t),Ir(r,t)}r.style.height=this.rowHeight+"px",r.style.top=this.rowHeight*e+"px";const i=this.componentCreator(t,r);i.addGuiEventListener("focusin",()=>this.lastFocusedRowIndex=e),r.appendChild(i.getGui()),this.renderedRows.has(e-1)?this.renderedRows.get(e-1).eDiv.insertAdjacentElement("afterend",r):this.renderedRows.has(e+1)?this.renderedRows.get(e+1).eDiv.insertAdjacentElement("beforebegin",r):this.eContainer.appendChild(r),this.renderedRows.set(e,{rowComponent:i,eDiv:r,value:t})}removeRow(e){const t=this.renderedRows.get(e);this.eContainer.removeChild(t.eDiv),this.destroyBean(t.rowComponent),this.renderedRows.delete(e)}refreshRows(){const e=this.model.getRowCount();this.renderedRows.forEach((t,r)=>{var i,o;if(r>=e)this.removeRow(r);else{const e=this.model.getRow(r);(null===(o=(i=this.model).areRowsEqual)||void 0===o?void 0:o.call(i,t.value,e))?this.componentUpdater(e,t.rowComponent):this.removeRow(r)}})}addScrollListener(){this.addGuiEventListener("scroll",()=>this.drawVirtualRows(),{passive:!0})}setModel(e){this.model=e}destroy(){this.isAlive()&&(this.clearVirtualRows(),super.destroy())}}Rd([Ce("resizeObserverService")],Td.prototype,"resizeObserverService",void 0),Rd([Do("eContainer")],Td.prototype,"eContainer",void 0),Rd([fe],Td.prototype,"postConstruct",null);const xd=["mouseover","mouseout","mouseenter","mouseleave","mousemove"],Dd=["touchstart","touchend","touchmove","touchcancel"];class Ad{constructor(){this.renderingEngine="vanilla",this.isOutsideAngular=e=>Ke(xd,e)}setTimeout(e,t){window.setTimeout(e,t)}setInterval(e,t){return new mo(r=>{r(window.setInterval(e,t))})}addEventListener(e,t,r,i){const o=Ke(Dd,t);e.addEventListener(t,r,{capture:!!i,passive:o})}dispatchEvent(e,t,r=!1){t()}frameworkComponent(e){return null}isFrameworkComponent(e){return!1}}var Od=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Md=class extends lt{getNextCellToFocus(e,t,r=!1){return r?this.getNextCellToFocusWithCtrlPressed(e,t):this.getNextCellToFocusWithoutCtrlPressed(e,t)}getNextCellToFocusWithCtrlPressed(e,t){const r=e===io.UP,i=e===io.DOWN,o=e===io.LEFT;let a,n;if(r||i)n=r?this.paginationProxy.getPageFirstRow():this.paginationProxy.getPageLastRow(),a=t.column;else{const e=this.columnModel.getAllDisplayedColumns(),r=this.gridOptionsService.is("enableRtl");n=t.rowIndex,a=o!==r?e[0]:Fe(e)}return{rowIndex:n,rowPinned:null,column:a}}getNextCellToFocusWithoutCtrlPressed(e,t){let r=t,i=!1;for(;!i;){switch(e){case io.UP:r=this.getCellAbove(r);break;case io.DOWN:r=this.getCellBelow(r);break;case io.RIGHT:r=this.gridOptionsService.is("enableRtl")?this.getCellToLeft(r):this.getCellToRight(r);break;case io.LEFT:r=this.gridOptionsService.is("enableRtl")?this.getCellToRight(r):this.getCellToLeft(r);break;default:r=null,console.warn("AG Grid: unknown key for navigation "+e)}i=!r||this.isCellGoodToFocusOn(r)}return r}isCellGoodToFocusOn(e){const t=e.column;let r;switch(e.rowPinned){case"top":r=this.pinnedRowModel.getPinnedTopRow(e.rowIndex);break;case"bottom":r=this.pinnedRowModel.getPinnedBottomRow(e.rowIndex);break;default:r=this.rowModel.getRow(e.rowIndex)}if(!r)return!1;return!t.isSuppressNavigable(r)}getCellToLeft(e){if(!e)return null;const t=this.columnModel.getDisplayedColBefore(e.column);return t?{rowIndex:e.rowIndex,column:t,rowPinned:e.rowPinned}:null}getCellToRight(e){if(!e)return null;const t=this.columnModel.getDisplayedColAfter(e.column);return t?{rowIndex:e.rowIndex,column:t,rowPinned:e.rowPinned}:null}getRowBelow(e){const t=e.rowIndex,r=e.rowPinned;if(this.isLastRowInContainer(e))switch(r){case"bottom":return null;case"top":return this.rowModel.isRowsToRender()?{rowIndex:this.paginationProxy.getPageFirstRow(),rowPinned:null}:this.pinnedRowModel.isRowsToRender("bottom")?{rowIndex:0,rowPinned:"bottom"}:null;default:return this.pinnedRowModel.isRowsToRender("bottom")?{rowIndex:0,rowPinned:"bottom"}:null}const i=this.rowModel.getRow(e.rowIndex),o=this.getNextStickyPosition(i);return o||{rowIndex:t+1,rowPinned:r}}getNextStickyPosition(e,t){if(!this.gridOptionsService.isGroupRowsSticky()||!e||!e.sticky)return;const r=[...this.rowRenderer.getStickyTopRowCtrls()].sort((e,t)=>e.getRowNode().rowIndex-t.getRowNode().rowIndex),i=t?-1:1,o=r.findIndex(t=>t.getRowNode().rowIndex===e.rowIndex),a=r[o+i];return a?{rowIndex:a.getRowNode().rowIndex,rowPinned:null}:void 0}getCellBelow(e){if(!e)return null;const t=this.getRowBelow(e);return t?{rowIndex:t.rowIndex,column:e.column,rowPinned:t.rowPinned}:null}isLastRowInContainer(e){const t=e.rowPinned,r=e.rowIndex;if("top"===t){return this.pinnedRowModel.getPinnedTopRowData().length-1<=r}if("bottom"===t){return this.pinnedRowModel.getPinnedBottomRowData().length-1<=r}return this.paginationProxy.getPageLastRow()<=r}getRowAbove(e){const t=e.rowIndex,r=e.rowPinned;if(r?0===t:t===this.paginationProxy.getPageFirstRow())return"top"===r?null:r&&this.rowModel.isRowsToRender()?this.getLastBodyCell():this.pinnedRowModel.isRowsToRender("top")?this.getLastFloatingTopRow():null;const i=this.rowModel.getRow(e.rowIndex),o=this.getNextStickyPosition(i,!0);return o||{rowIndex:t-1,rowPinned:r}}getCellAbove(e){if(!e)return null;const t=this.getRowAbove({rowIndex:e.rowIndex,rowPinned:e.rowPinned});return t?{rowIndex:t.rowIndex,column:e.column,rowPinned:t.rowPinned}:null}getLastBodyCell(){return{rowIndex:this.paginationProxy.getPageLastRow(),rowPinned:null}}getLastFloatingTopRow(){return{rowIndex:this.pinnedRowModel.getPinnedTopRowData().length-1,rowPinned:"top"}}getNextTabbedCell(e,t){return t?this.getNextTabbedCellBackwards(e):this.getNextTabbedCellForwards(e)}getNextTabbedCellForwards(e){const t=this.columnModel.getAllDisplayedColumns();let r=e.rowIndex,i=e.rowPinned,o=this.columnModel.getDisplayedColAfter(e.column);if(!o){o=t[0];const a=this.getRowBelow(e);if(E(a))return null;if(!a.rowPinned&&!this.paginationProxy.isRowInPage(a))return null;r=a?a.rowIndex:null,i=a?a.rowPinned:null}return{rowIndex:r,column:o,rowPinned:i}}getNextTabbedCellBackwards(e){const t=this.columnModel.getAllDisplayedColumns();let r=e.rowIndex,i=e.rowPinned,o=this.columnModel.getDisplayedColBefore(e.column);if(!o){o=Fe(t);const a=this.getRowAbove({rowIndex:e.rowIndex,rowPinned:e.rowPinned});if(E(a))return null;if(!a.rowPinned&&!this.paginationProxy.isRowInPage(a))return null;r=a?a.rowIndex:null,i=a?a.rowPinned:null}return{rowIndex:r,column:o,rowPinned:i}}};Od([Ce("columnModel")],Md.prototype,"columnModel",void 0),Od([Ce("rowModel")],Md.prototype,"rowModel",void 0),Od([Ce("rowRenderer")],Md.prototype,"rowRenderer",void 0),Od([Ce("pinnedRowModel")],Md.prototype,"pinnedRowModel",void 0),Od([Ce("paginationProxy")],Md.prototype,"paginationProxy",void 0),Md=Od([we("cellNavigationService")],Md);var Pd=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Nd=function(e,t){return function(r,i){t(r,i,e)}};let Ld=class extends lt{constructor(){super(...arguments),this.consuming=!1}setBeans(e){this.logger=e.create("AlignedGridsService")}init(){this.addManagedListener(this.eventService,ht.EVENT_COLUMN_MOVED,this.fireColumnEvent.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_VISIBLE,this.fireColumnEvent.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_PINNED,this.fireColumnEvent.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_GROUP_OPENED,this.fireColumnEvent.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_RESIZED,this.fireColumnEvent.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_BODY_SCROLL,this.fireScrollEvent.bind(this))}fireEvent(e){if(this.consuming)return;const t=this.gridOptionsService.get("alignedGrids");t&&t.forEach(t=>{if(t.api){const r=t.api.__getAlignedGridService();e(r)}})}onEvent(e){this.consuming=!0,e(),this.consuming=!1}fireColumnEvent(e){this.fireEvent(t=>{t.onColumnEvent(e)})}fireScrollEvent(e){"horizontal"===e.direction&&this.fireEvent(t=>{t.onScrollEvent(e)})}onScrollEvent(e){this.onEvent(()=>{this.ctrlsService.getGridBodyCtrl().getScrollFeature().setHorizontalScrollPosition(e.left,!0)})}getMasterColumns(e){const t=[];return e.columns?e.columns.forEach(e=>{t.push(e)}):e.column&&t.push(e.column),t}getColumnIds(e){const t=[];return e.columns?e.columns.forEach(e=>{t.push(e.getColId())}):e.column&&t.push(e.column.getColId()),t}onColumnEvent(e){this.onEvent(()=>{switch(e.type){case ht.EVENT_COLUMN_MOVED:case ht.EVENT_COLUMN_VISIBLE:case ht.EVENT_COLUMN_PINNED:case ht.EVENT_COLUMN_RESIZED:const t=e;this.processColumnEvent(t);break;case ht.EVENT_COLUMN_GROUP_OPENED:const r=e;this.processGroupOpenedEvent(r);break;case ht.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.")}})}processGroupOpenedEvent(e){const t=e.columnGroup;let r=null;if(t){const e=t.getGroupId();r=this.columnModel.getProvidedColumnGroup(e)}t&&!r||(this.logger.log("onColumnEvent-> processing "+e+" expanded = "+t.isExpanded()),this.columnModel.setColumnGroupOpened(r,t.isExpanded(),"alignedGridChanged"))}processColumnEvent(e){var t;const r=e.column;let i=null;if(r&&(i=this.columnModel.getPrimaryColumn(r.getColId())),r&&!i)return;const o=this.getMasterColumns(e);switch(e.type){case ht.EVENT_COLUMN_MOVED:{const t=e,r=e.columnApi.getColumnState().map(e=>({colId:e.colId}));this.columnModel.applyColumnState({state:r,applyOrder:!0},"alignedGridChanged"),this.logger.log(`onColumnEvent-> processing ${e.type} toIndex = ${t.toIndex}`)}break;case ht.EVENT_COLUMN_VISIBLE:{const t=e,r=e.columnApi.getColumnState().map(e=>({colId:e.colId,hide:e.hide}));this.columnModel.applyColumnState({state:r},"alignedGridChanged"),this.logger.log(`onColumnEvent-> processing ${e.type} visible = ${t.visible}`)}break;case ht.EVENT_COLUMN_PINNED:{const t=e,r=e.columnApi.getColumnState().map(e=>({colId:e.colId,pinned:e.pinned}));this.columnModel.applyColumnState({state:r},"alignedGridChanged"),this.logger.log(`onColumnEvent-> processing ${e.type} pinned = ${t.pinned}`)}break;case ht.EVENT_COLUMN_RESIZED:const r=e,i={};o.forEach(t=>{this.logger.log(`onColumnEvent-> processing ${e.type} actualWidth = ${t.getActualWidth()}`),i[t.getId()]={key:t.getColId(),newWidth:t.getActualWidth()}}),null===(t=r.flexColumns)||void 0===t||t.forEach(e=>{i[e.getId()]&&delete i[e.getId()]}),this.columnModel.setColumnWidths(Object.values(i),!1,r.finished,"alignedGridChanged")}const a=this.ctrlsService.getGridBodyCtrl().isVerticalScrollShowing(),n=this.gridOptionsService.get("alignedGrids");n&&n.forEach(e=>{e.api&&e.api.setAlwaysShowVerticalScroll(a)})}};Pd([Ce("columnModel")],Ld.prototype,"columnModel",void 0),Pd([Ce("ctrlsService")],Ld.prototype,"ctrlsService",void 0),Pd([Nd(0,Se("loggerFactory"))],Ld.prototype,"setBeans",null),Pd([fe],Ld.prototype,"init",null),Ld=Pd([we("alignedGridsService")],Ld);var Id=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},zd=function(e,t){return function(r,i){t(r,i,e)}};let Fd=class extends lt{setBeans(e){this.logger=e.create("selectionService"),this.reset()}init(){this.groupSelectsChildren=this.gridOptionsService.is("groupSelectsChildren"),this.addManagedPropertyListener("groupSelectsChildren",e=>this.groupSelectsChildren=e.currentValue),this.rowSelection=this.gridOptionsService.get("rowSelection"),this.addManagedPropertyListener("rowSelection",e=>this.rowSelection=e.currentValue),this.addManagedListener(this.eventService,ht.EVENT_ROW_SELECTED,this.onRowSelected.bind(this))}isMultiselect(){return"multiple"===this.rowSelection}setNodesSelected(e){var t;if(0===e.nodes.length)return 0;const{newValue:r,clearSelection:i,suppressFinishActions:o,rangeSelect:a,event:n,source:s="api"}=e;if(e.nodes.length>1&&!this.isMultiselect())return console.warn("AG Grid: cannot multi select while rowSelection='single'"),0;const l=this.groupSelectsChildren&&!0===e.groupSelectsFiltered,g=e.nodes.map(e=>e.footer?e.sibling:e);if(a){if(e.nodes.length>1)return console.warn("AG Grid: cannot range select while selecting multiple rows"),0;const t=this.getLastSelectedNode();if(t){const r=g[0];if(t!==r&&this.isMultiselect()){const i=this.selectRange(r,t,e.newValue,s);return this.setLastSelectedNode(r),i}}}let d=0;for(let i=0;i<g.length;i++){const o=g[i];if(!(l&&o.group)){o.selectThisNode(r,e.event,s)&&d++}this.groupSelectsChildren&&(null===(t=o.childrenAfterGroup)||void 0===t?void 0:t.length)&&(d+=this.selectChildren(o,r,l,s))}if(!o){if(r&&(i||!this.isMultiselect())&&(d+=this.clearOtherNodes(g[0],s)),d>0){this.updateGroupsFromChildrenSelections(s);const e={type:ht.EVENT_SELECTION_CHANGED,source:s};this.eventService.dispatchEvent(e)}r&&this.setLastSelectedNode(g[g.length-1])}return d}selectRange(e,t,r=!0,i){const o=this.rowModel.getNodesInRangeForSelection(e,t);let a=0;o.forEach(t=>{if(t.group&&this.groupSelectsChildren||!1===r&&e===t)return;t.selectThisNode(r,void 0,i)&&a++}),this.updateGroupsFromChildrenSelections(i);const n={type:ht.EVENT_SELECTION_CHANGED,source:i};return this.eventService.dispatchEvent(n),a}selectChildren(e,t,r,i){const o=r?e.childrenAfterAggFilter:e.childrenAfterGroup;return ho.missing(o)?0:this.setNodesSelected({newValue:t,clearSelection:!1,suppressFinishActions:!0,groupSelectsFiltered:r,source:i,nodes:o})}setLastSelectedNode(e){this.lastSelectedNode=e}getLastSelectedNode(){return this.lastSelectedNode}getSelectedNodes(){const e=[];return I(this.selectedNodes,(t,r)=>{r&&e.push(r)}),e}getSelectedRows(){const e=[];return I(this.selectedNodes,(t,r)=>{r&&r.data&&e.push(r.data)}),e}getSelectionCount(){return Object.values(this.selectedNodes).length}filterFromSelection(e){const t={};Object.entries(this.selectedNodes).forEach(([r,i])=>{i&&e(i)&&(t[r]=i)}),this.selectedNodes=t}updateGroupsFromChildrenSelections(e,t){if(!this.groupSelectsChildren)return!1;if("clientSide"!==this.rowModel.getType())return!1;const r=this.rowModel.getRootNode();t||(t=new Wg(!0,r)).setInactive();let i=!1;return t.forEachChangedNodeDepthFirst(t=>{if(t!==r){const r=t.calculateSelectedFromChildren();i=t.selectThisNode(null!==r&&r,void 0,e)||i}}),i}clearOtherNodes(e,t){const r={};let i=0;return I(this.selectedNodes,(o,a)=>{if(a&&a.id!==e.id){const e=this.selectedNodes[a.id];i+=e.setSelectedParams({newValue:!1,clearSelection:!1,suppressFinishActions:!0,source:t}),this.groupSelectsChildren&&a.parent&&(r[a.parent.id]=a.parent)}}),I(r,(e,r)=>{const i=r.calculateSelectedFromChildren();r.selectThisNode(null!==i&&i,void 0,t)}),i}onRowSelected(e){const t=e.node;this.groupSelectsChildren&&t.group||(t.isSelected()?this.selectedNodes[t.id]=t:delete this.selectedNodes[t.id])}syncInRowNode(e,t){this.syncInOldRowNode(e,t),this.syncInNewRowNode(e)}syncInOldRowNode(e,t){if(S(t)&&e.id!==t.id&&t){const r=t.id;this.selectedNodes[r]==e&&(this.selectedNodes[t.id]=t)}}syncInNewRowNode(e){S(this.selectedNodes[e.id])?(e.setSelectedInitialValue(!0),this.selectedNodes[e.id]=e):e.setSelectedInitialValue(!1)}reset(){this.logger.log("reset"),this.selectedNodes={},this.lastSelectedNode=null}getBestCostNodeSelection(){if("clientSide"!==this.rowModel.getType())return;const e=this.rowModel.getTopLevelNodes();if(null===e)return;const t=[];return function e(r){for(let i=0,o=r.length;i<o;i++){const o=r[i];if(o.isSelected())t.push(o);else{const t=o;t.group&&t.children&&e(t.children)}}}(e),t}isEmpty(){let e=0;return I(this.selectedNodes,(t,r)=>{r&&e++}),0===e}deselectAllRowNodes(e){const t=e=>e.selectThisNode(!1,void 0,i),r="clientSide"===this.rowModel.getType(),{source:i,justFiltered:o,justCurrentPage:a}=e;if(a||o){if(!r)return void console.error("AG Grid: selecting just filtered only works when gridOptions.rowModelType='clientSide'");this.getNodesToSelect(o,a).forEach(t)}else I(this.selectedNodes,(e,r)=>{r&&t(r)}),this.reset();r&&this.groupSelectsChildren&&this.updateGroupsFromChildrenSelections(i);const n={type:ht.EVENT_SELECTION_CHANGED,source:i};this.eventService.dispatchEvent(n)}getSelectAllState(e,t){let r=0,i=0;return this.getNodesToSelect(e,t).forEach(e=>{this.groupSelectsChildren&&e.group||(e.isSelected()?r++:e.selectable&&i++)}),(0!==r||0!==i)&&(r>0&&i>0?null:r>0)}getNodesToSelect(e=!1,t=!1){if("clientSide"!==this.rowModel.getType())throw new Error("selectAll only available when rowModelType='clientSide', ie not "+this.rowModel.getType());const r=[];if(t)return this.paginationProxy.forEachNodeOnPage(e=>{if(e.group)if(e.expanded)this.groupSelectsChildren||r.push(e);else{const t=e=>{var i;r.push(e),(null===(i=e.childrenAfterFilter)||void 0===i?void 0:i.length)&&e.childrenAfterFilter.forEach(t)};t(e)}else r.push(e)}),r;const i=this.rowModel;return e?(i.forEachNodeAfterFilter(e=>{r.push(e)}),r):(i.forEachNode(e=>{r.push(e)}),r)}selectAllRowNodes(e){if("clientSide"!==this.rowModel.getType())throw new Error("selectAll only available when rowModelType='clientSide', ie not "+this.rowModel.getType());const{source:t,justFiltered:r,justCurrentPage:i}=e;this.getNodesToSelect(r,i).forEach(e=>e.selectThisNode(!0,void 0,t)),"clientSide"===this.rowModel.getType()&&this.groupSelectsChildren&&this.updateGroupsFromChildrenSelections(t);const o={type:ht.EVENT_SELECTION_CHANGED,source:t};this.eventService.dispatchEvent(o)}getServerSideSelectionState(){return null}setServerSideSelectionState(e){}};Id([Ce("rowModel")],Fd.prototype,"rowModel",void 0),Id([Ce("paginationProxy")],Fd.prototype,"paginationProxy",void 0),Id([zd(0,Se("loggerFactory"))],Fd.prototype,"setBeans",null),Id([fe],Fd.prototype,"init",null),Fd=Id([we("selectionService")],Fd);var kd=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Gd=class{sizeColumnsToFit(e){void 0===e&&console.error("AG Grid: missing parameter to columnApi.sizeColumnsToFit(gridWidth)"),this.columnModel.sizeColumnsToFit(e,"api")}setColumnGroupOpened(e,t){this.columnModel.setColumnGroupOpened(e,t,"api")}getColumnGroup(e,t){return this.columnModel.getColumnGroup(e,t)}getProvidedColumnGroup(e){return this.columnModel.getProvidedColumnGroup(e)}getDisplayNameForColumn(e,t){return this.columnModel.getDisplayNameForColumn(e,t)||""}getDisplayNameForColumnGroup(e,t){return this.columnModel.getDisplayNameForColumnGroup(e,t)||""}getColumn(e){return this.columnModel.getPrimaryColumn(e)}getColumns(){return this.columnModel.getAllPrimaryColumns()}applyColumnState(e){return this.columnModel.applyColumnState(e,"api")}getColumnState(){return this.columnModel.getColumnState()}resetColumnState(){this.columnModel.resetColumnState("api")}getColumnGroupState(){return this.columnModel.getColumnGroupState()}setColumnGroupState(e){this.columnModel.setColumnGroupState(e,"api")}resetColumnGroupState(){this.columnModel.resetColumnGroupState("api")}isPinning(){return this.columnModel.isPinningLeft()||this.columnModel.isPinningRight()}isPinningLeft(){return this.columnModel.isPinningLeft()}isPinningRight(){return this.columnModel.isPinningRight()}getDisplayedColAfter(e){return this.columnModel.getDisplayedColAfter(e)}getDisplayedColBefore(e){return this.columnModel.getDisplayedColBefore(e)}setColumnVisible(e,t){this.columnModel.setColumnVisible(e,t,"api")}setColumnsVisible(e,t){this.columnModel.setColumnsVisible(e,t,"api")}setColumnPinned(e,t){this.columnModel.setColumnPinned(e,t,"api")}setColumnsPinned(e,t){this.columnModel.setColumnsPinned(e,t,"api")}getAllGridColumns(){return this.columnModel.getAllGridColumns()}getDisplayedLeftColumns(){return this.columnModel.getDisplayedLeftColumns()}getDisplayedCenterColumns(){return this.columnModel.getDisplayedCenterColumns()}getDisplayedRightColumns(){return this.columnModel.getDisplayedRightColumns()}getAllDisplayedColumns(){return this.columnModel.getAllDisplayedColumns()}getAllDisplayedVirtualColumns(){return this.columnModel.getViewportColumns()}moveColumn(e,t){this.columnModel.moveColumn(e,t,"api")}moveColumnByIndex(e,t){this.columnModel.moveColumnByIndex(e,t,"api")}moveColumns(e,t){this.columnModel.moveColumns(e,t,"api")}moveRowGroupColumn(e,t){this.columnModel.moveRowGroupColumn(e,t)}setColumnAggFunc(e,t){this.columnModel.setColumnAggFunc(e,t)}setColumnWidth(e,t,r=!0,i){this.columnModel.setColumnWidths([{key:e,newWidth:t}],!1,r,i)}setColumnWidths(e,t=!0,r){this.columnModel.setColumnWidths(e,!1,t,r)}setPivotMode(e){this.columnModel.setPivotMode(e)}isPivotMode(){return this.columnModel.isPivotMode()}getPivotResultColumn(e,t){return this.columnModel.getSecondaryPivotColumn(e,t)}setValueColumns(e){this.columnModel.setValueColumns(e,"api")}getValueColumns(){return this.columnModel.getValueColumns()}removeValueColumn(e){this.columnModel.removeValueColumn(e,"api")}removeValueColumns(e){this.columnModel.removeValueColumns(e,"api")}addValueColumn(e){this.columnModel.addValueColumn(e,"api")}addValueColumns(e){this.columnModel.addValueColumns(e,"api")}setRowGroupColumns(e){this.columnModel.setRowGroupColumns(e,"api")}removeRowGroupColumn(e){this.columnModel.removeRowGroupColumn(e,"api")}removeRowGroupColumns(e){this.columnModel.removeRowGroupColumns(e,"api")}addRowGroupColumn(e){this.columnModel.addRowGroupColumn(e,"api")}addRowGroupColumns(e){this.columnModel.addRowGroupColumns(e,"api")}getRowGroupColumns(){return this.columnModel.getRowGroupColumns()}setPivotColumns(e){this.columnModel.setPivotColumns(e,"api")}removePivotColumn(e){this.columnModel.removePivotColumn(e,"api")}removePivotColumns(e){this.columnModel.removePivotColumns(e,"api")}addPivotColumn(e){this.columnModel.addPivotColumn(e,"api")}addPivotColumns(e){this.columnModel.addPivotColumns(e,"api")}getPivotColumns(){return this.columnModel.getPivotColumns()}getLeftDisplayedColumnGroups(){return this.columnModel.getDisplayedTreeLeft()}getCenterDisplayedColumnGroups(){return this.columnModel.getDisplayedTreeCentre()}getRightDisplayedColumnGroups(){return this.columnModel.getDisplayedTreeRight()}getAllDisplayedColumnGroups(){return this.columnModel.getAllDisplayedTrees()}autoSizeColumn(e,t){return this.columnModel.autoSizeColumn(e,t,"api")}autoSizeColumns(e,t){this.columnModel.autoSizeColumns({columns:e,skipHeader:t})}autoSizeAllColumns(e){this.columnModel.autoSizeAllColumns(e,"api")}setPivotResultColumns(e){this.columnModel.setSecondaryColumns(e,"api")}getPivotResultColumns(){return this.columnModel.getSecondaryColumns()}cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid(){setTimeout(ho.removeAllReferences.bind(window,this,"Column API"),100)}getAllColumns(){return Ft("28.0","getAllColumns","getColumns"),this.getColumns()}getPrimaryColumns(){return Ft("28.0","getPrimaryColumns","getColumns"),this.getColumns()}getSecondaryColumns(){return Ft("28.0","getSecondaryColumns","getPivotResultColumns"),this.getPivotResultColumns()}setSecondaryColumns(e){Ft("28.0","setSecondaryColumns","setPivotResultColumns"),this.setPivotResultColumns(e)}getSecondaryPivotColumn(e,t){return Ft("28.0","getSecondaryPivotColumn","getPivotResultColumn"),this.getPivotResultColumn(e,t)}};kd([Ce("columnModel")],Gd.prototype,"columnModel",void 0),kd([me],Gd.prototype,"cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid",null),Gd=kd([we("columnApi")],Gd);var Hd=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Vd=class extends lt{constructor(){super(...arguments),this.initialised=!1,this.isSsrm=!1}init(){this.isSsrm=this.gridOptionsService.isRowModelType("serverSide"),this.cellExpressions=this.gridOptionsService.is("enableCellExpressions"),this.isTreeData=this.gridOptionsService.is("treeData"),this.initialised=!0,this.eventService.addEventListener(ht.EVENT_CELL_VALUE_CHANGED,e=>this.callColumnCellValueChangedHandler(e),this.gridOptionsService.useAsyncEvents()),this.addManagedPropertyListener("treeData",e=>this.isTreeData=e.currentValue)}getValue(e,t,r=!1,i=!1){if(this.initialised||this.init(),!t)return;const o=e.getColDef(),a=o.field,n=e.getColId(),s=t.data;let l;const g=t.groupData&&void 0!==t.groupData[n],d=!i&&t.aggData&&void 0!==t.aggData[n],c=this.isSsrm&&i&&!!e.getColDef().aggFunc,u=this.isSsrm&&t.footer&&t.field&&(!0===e.getColDef().showRowGroup||e.getColDef().showRowGroup===t.field);if(r&&o.filterValueGetter?l=this.executeFilterValueGetter(o.filterValueGetter,s,e,t):this.isTreeData&&d?l=t.aggData[n]:this.isTreeData&&o.valueGetter?l=this.executeValueGetter(o.valueGetter,s,e,t):this.isTreeData&&a&&s?l=q(s,a,e.isFieldContainsDots()):g?l=t.groupData[n]:d?l=t.aggData[n]:o.valueGetter?l=this.executeValueGetter(o.valueGetter,s,e,t):u?l=q(s,t.field,e.isFieldContainsDots()):a&&s&&!c&&(l=q(s,a,e.isFieldContainsDots())),this.cellExpressions&&"string"==typeof l&&0===l.indexOf("=")){const r=l.substring(1);l=this.executeValueGetter(r,s,e,t)}if(null==l){const r=this.getOpenedGroup(t,e);if(null!=r)return r}return l}getOpenedGroup(e,t){if(!this.gridOptionsService.is("showOpenedGroup"))return;if(!t.getColDef().showRowGroup)return;const r=t.getColDef().showRowGroup;let i=e.parent;for(;null!=i;){if(i.rowGroupColumn&&(!0===r||r===i.rowGroupColumn.getColId()))return i.key;i=i.parent}}setValue(e,t,r,i){const o=this.columnModel.getPrimaryColumn(t);if(!e||!o)return!1;E(e.data)&&(e.data={});const{field:a,valueSetter:n}=o.getColDef();if(E(a)&&E(n))return console.warn("AG Grid: you need either field or valueSetter set on colDef for editing to work"),!1;if(!this.dataTypeService.checkType(o,r))return console.warn("AG Grid: Data type of the new value does not match the cell data type of the column"),!1;const s={node:e,data:e.data,oldValue:this.getValue(o,e),newValue:r,colDef:o.getColDef(),column:o,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context};let l;if(s.newValue=r,l=S(n)?"function"==typeof n?n(s):this.expressionService.evaluate(n,s):this.setValueUsingField(e.data,a,r,o.isFieldContainsDots()),void 0===l&&(l=!0),!l)return!1;e.resetQuickFilterAggregateText(),this.valueCache.onDataChanged(),s.newValue=this.getValue(o,e);const g={type:ht.EVENT_CELL_VALUE_CHANGED,event:null,rowIndex:e.rowIndex,rowPinned:e.rowPinned,column:s.column,api:s.api,columnApi:s.columnApi,colDef:s.colDef,context:s.context,data:e.data,node:e,oldValue:s.oldValue,newValue:s.newValue,value:s.newValue,source:i};return this.eventService.dispatchEvent(g),!0}callColumnCellValueChangedHandler(e){const t=e.colDef.onCellValueChanged;"function"==typeof t&&t({node:e.node,data:e.data,oldValue:e.oldValue,newValue:e.newValue,colDef:e.colDef,column:e.column,api:e.api,columnApi:e.columnApi,context:e.context})}setValueUsingField(e,t,r,i){if(!t)return!1;let o=!1;if(i){const i=t.split(".");let a=e;for(;i.length>0&&a;){const e=i.shift();0===i.length?(o=a[e]==r,o||(a[e]=r)):a=a[e]}}else o=e[t]==r,o||(e[t]=r);return!o}executeFilterValueGetter(e,t,r,i){const o={data:t,node:i,column:r,colDef:r.getColDef(),api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context,getValue:this.getValueCallback.bind(this,i)};return"function"==typeof e?e(o):this.expressionService.evaluate(e,o)}executeValueGetter(e,t,r,i){const o=r.getColId(),a=this.valueCache.getValue(i,o);if(void 0!==a)return a;const n={data:t,node:i,column:r,colDef:r.getColDef(),api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context,getValue:this.getValueCallback.bind(this,i)};let s;return s="function"==typeof e?e(n):this.expressionService.evaluate(e,n),this.valueCache.setValue(i,o,s),s}getValueCallback(e,t){const r=this.columnModel.getPrimaryColumn(t);return r?this.getValue(r,e):null}getKeyForNode(e,t){const r=this.getValue(e,t),i=e.getColDef().keyCreator;let o=r;if(i){o=i({value:r,colDef:e.getColDef(),column:e,node:t,data:t.data,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context})}return"string"==typeof o||null==o||(o=String(o),"[object Object]"===o&&J(()=>{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]")),o}};Hd([Ce("expressionService")],Vd.prototype,"expressionService",void 0),Hd([Ce("columnModel")],Vd.prototype,"columnModel",void 0),Hd([Ce("valueCache")],Vd.prototype,"valueCache",void 0),Hd([Ce("dataTypeService")],Vd.prototype,"dataTypeService",void 0),Hd([fe],Vd.prototype,"init",null),Vd=Hd([we("valueService")],Vd);var _d=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Bd=function(e,t){return function(r,i){t(r,i,e)}};let jd=class extends lt{constructor(){super(...arguments),this.expressionToFunctionCache={}}setBeans(e){this.logger=e.create("ExpressionService")}evaluate(e,t){if("string"==typeof e)return this.evaluateExpression(e,t);console.error("AG Grid: value should be either a string or a function",e)}evaluateExpression(e,t){try{const r=this.createExpressionFunction(e);return r(t.value,t.context,t.oldValue,t.newValue,t.value,t.node,t.data,t.colDef,t.rowIndex,t.api,t.columnApi,t.getValue,t.column,t.columnGroup)}catch(r){return console.log("Processing of the expression failed"),console.log("Expression = "+e),console.log("Params =",t),console.log("Exception = "+r),null}}createExpressionFunction(e){if(this.expressionToFunctionCache[e])return this.expressionToFunctionCache[e];const t=this.createFunctionBody(e),r=new Function("x, ctx, oldValue, newValue, value, node, data, colDef, rowIndex, api, columnApi, getValue, column, columnGroup",t);return this.expressionToFunctionCache[e]=r,r}createFunctionBody(e){return e.indexOf("return")>=0?e:"return "+e+";"}};_d([Bd(0,Se("loggerFactory"))],jd.prototype,"setBeans",null),jd=_d([we("expressionService")],jd);var Wd=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Ud=class extends lt{constructor(){super(...arguments),this.templateCache={},this.waitingCallbacks={}}getTemplate(e,t){const r=this.templateCache[e];if(r)return r;let i=this.waitingCallbacks[e];const o=this;if(!i){i=[],this.waitingCallbacks[e]=i;const t=new XMLHttpRequest;t.onload=function(){o.handleHttpResult(this,e)},t.open("GET",e),t.send()}return t&&i.push(t),null}handleHttpResult(e,t){if(200!==e.status||null===e.response)return void console.warn(`AG Grid: Unable to get template error ${e.status} - ${t}`);this.templateCache[t]=e.response||e.responseText;const r=this.waitingCallbacks[t];for(let e=0;e<r.length;e++){(0,r[e])()}}};Ud=Wd([we("templateService")],Ud);var Kd=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Yd=function(e,t){return function(r,i){t(r,i,e)}};let qd=class extends lt{setBeans(e){this.logging=e.is("debug")}create(e){return new Qd(e,this.isLogging.bind(this))}isLogging(){return this.logging}};Kd([Yd(0,Se("gridOptionsService"))],qd.prototype,"setBeans",null),qd=Kd([we("loggerFactory")],qd);class Qd{constructor(e,t){this.name=e,this.isLoggingFunc=t}isLogging(){return this.isLoggingFunc()}log(e){this.isLoggingFunc()&&console.log("AG Grid."+this.name+": "+e)}}var Xd=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Zd extends lt{setComp(e,t,r){this.view=e,this.eGridHostDiv=t,this.eGui=r,this.eGui.setAttribute("grid-id",this.context.getGridId()),this.dragAndDropService.addDropTarget({getContainer:()=>this.eGui,isInterestedIn:e=>e===Ya.HeaderCell||e===Ya.ToolPanel,getIconName:()=>Za.ICON_NOT_ALLOWED}),this.mouseEventService.stampTopLevelGridCompWithGridInstance(t),this.createManagedBean(new ls(this.view)),this.addRtlSupport(),this.addManagedListener(this,ht.EVENT_KEYBOARD_FOCUS,()=>{this.view.addOrRemoveKeyboardFocusClass(!0)}),this.addManagedListener(this,ht.EVENT_MOUSE_FOCUS,()=>{this.view.addOrRemoveKeyboardFocusClass(!1)});const i=this.resizeObserverService.observeResize(this.eGridHostDiv,this.onGridSizeChanged.bind(this));this.addDestroyFunc(()=>i()),this.ctrlsService.registerGridCtrl(this)}isDetailGrid(){var e;const t=this.focusService.findTabbableParent(this.getGui());return(null===(e=null==t?void 0:t.getAttribute("row-id"))||void 0===e?void 0:e.startsWith("detail"))||!1}showDropZones(){return pe.__isRegistered(ue.RowGroupingModule,this.context.getGridId())}showSideBar(){return pe.__isRegistered(ue.SideBarModule,this.context.getGridId())}showStatusBar(){return pe.__isRegistered(ue.StatusBarModule,this.context.getGridId())}showWatermark(){return pe.__isRegistered(ue.EnterpriseCoreModule,this.context.getGridId())}onGridSizeChanged(){const e={type:ht.EVENT_GRID_SIZE_CHANGED,clientWidth:this.eGridHostDiv.clientWidth,clientHeight:this.eGridHostDiv.clientHeight};this.eventService.dispatchEvent(e)}addRtlSupport(){const e=this.gridOptionsService.is("enableRtl")?"ag-rtl":"ag-ltr";this.view.setRtlClass(e)}destroyGridUi(){this.view.destroyGridUi()}getGui(){return this.eGui}setResizeCursor(e){this.view.setCursor(e?"ew-resize":null)}disableUserSelect(e){this.view.setUserSelect(e?"none":null)}focusNextInnerContainer(e){const t=this.gridOptionsService.getDocument(),r=this.view.getFocusableContainers(),i=r.findIndex(e=>e.contains(t.activeElement))+(e?-1:1);return!(i<=0||i>=r.length)&&this.focusService.focusInto(r[i])}focusInnerElement(e){const t=this.view.getFocusableContainers(),r=this.columnModel.getAllDisplayedColumns();if(e){if(t.length>1)return this.focusService.focusInto(Fe(t),!0);const e=Fe(r);if(this.focusService.focusGridView(e,!0))return!0}return 0===this.gridOptionsService.getNum("headerHeight")?this.focusService.focusGridView(r[0]):this.focusService.focusFirstHeader()}forceFocusOutOfContainer(e=!1){this.view.forceFocusOutOfContainer(e)}}Xd([Ce("focusService")],Zd.prototype,"focusService",void 0),Xd([Ce("resizeObserverService")],Zd.prototype,"resizeObserverService",void 0),Xd([Ce("columnModel")],Zd.prototype,"columnModel",void 0),Xd([Ce("ctrlsService")],Zd.prototype,"ctrlsService",void 0),Xd([Ce("mouseEventService")],Zd.prototype,"mouseEventService",void 0),Xd([Ce("dragAndDropService")],Zd.prototype,"dragAndDropService",void 0);var Jd=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class $d extends ld{constructor(e){super(),this.eGridDiv=e}postConstruct(){this.logger=this.loggerFactory.create("GridComp");const e={destroyGridUi:()=>this.destroyBean(this),setRtlClass:e=>this.addCssClass(e),addOrRemoveKeyboardFocusClass:e=>this.addOrRemoveCssClass(Jl.AG_KEYBOARD_FOCUS,e),forceFocusOutOfContainer:this.forceFocusOutOfContainer.bind(this),updateLayoutClasses:this.updateLayoutClasses.bind(this),getFocusableContainers:this.getFocusableContainers.bind(this),setUserSelect:e=>{this.getGui().style.userSelect=null!=e?e:"",this.getGui().style.webkitUserSelect=null!=e?e:""},setCursor:e=>{this.getGui().style.cursor=null!=e?e:""}};this.ctrl=this.createManagedBean(new Zd);const t=this.createTemplate();this.setTemplate(t),this.ctrl.setComp(e,this.eGridDiv,this.getGui()),this.insertGridIntoDom(),this.initialiseTabGuard({onTabKeyDown:()=>{},focusInnerElement:e=>this.ctrl.focusInnerElement(e)})}insertGridIntoDom(){const e=this.getGui();this.eGridDiv.appendChild(e),this.addDestroyFunc(()=>{this.eGridDiv.removeChild(e),this.logger.log("Grid removed from DOM")})}updateLayoutClasses(e,t){const r=this.eRootWrapperBody.classList;r.toggle(ns.AUTO_HEIGHT,t.autoHeight),r.toggle(ns.NORMAL,t.normal),r.toggle(ns.PRINT,t.print),this.addOrRemoveCssClass(ns.AUTO_HEIGHT,t.autoHeight),this.addOrRemoveCssClass(ns.NORMAL,t.normal),this.addOrRemoveCssClass(ns.PRINT,t.print)}createTemplate(){return`<div class="ag-root-wrapper" role="presentation">\n ${this.ctrl.showDropZones()?"<ag-grid-header-drop-zones></ag-grid-header-drop-zones>":""}\n <div class="ag-root-wrapper-body" ref="rootWrapperBody" role="presentation">\n <ag-grid-body ref="gridBody"></ag-grid-body>\n ${this.ctrl.showSideBar()?'<ag-side-bar ref="sideBar"></ag-side-bar>':""}\n </div>\n ${this.ctrl.showStatusBar()?'<ag-status-bar ref="statusBar"></ag-status-bar>':""}\n <ag-pagination></ag-pagination>\n ${this.ctrl.showWatermark()?"<ag-watermark></ag-watermark>":""}\n </div>`}getFocusableElement(){return this.eRootWrapperBody}getFocusableContainers(){const e=[this.gridBodyComp.getGui()];return this.sideBarComp&&e.push(this.sideBarComp.getGui()),e.filter(e=>Pi(e))}}Jd([Ce("loggerFactory")],$d.prototype,"loggerFactory",void 0),Jd([Do("gridBody")],$d.prototype,"gridBodyComp",void 0),Jd([Do("sideBar")],$d.prototype,"sideBarComp",void 0),Jd([Do("rootWrapperBody")],$d.prototype,"eRootWrapperBody",void 0),Jd([fe],$d.prototype,"postConstruct",null);var ec,tc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let rc=ec=class extends lt{progressSort(e,t,r){const i=this.getNextSortDirection(e);this.setSortForColumn(e,i,t,r)}setSortForColumn(e,t,r,i){"asc"!==t&&"desc"!==t&&(t=null);let o=[e];if(this.gridOptionsService.isColumnsSortingCoupledToGroup()&&e.getColDef().showRowGroup){const t=this.columnModel.getSourceColumnsForGroupColumn(e),r=null==t?void 0:t.filter(e=>e.getColDef().sortable);r&&(o=[e,...r])}o.forEach(e=>e.setSort(t,i));(r||this.gridOptionsService.is("alwaysMultiSort"))&&!this.gridOptionsService.is("suppressMultiSort")||this.clearSortBarTheseColumns(o,i),this.updateSortIndex(e),this.dispatchSortChangedEvents(i)}updateSortIndex(e){const t=this.gridOptionsService.isColumnsSortingCoupledToGroup(),r=this.columnModel.getGroupDisplayColumnForGroup(e.getId()),i=t&&r||e,o=this.getColumnsWithSortingOrdered();this.columnModel.getPrimaryAndSecondaryAndAutoColumns().forEach(e=>e.setSortIndex(null));const a=o.filter(e=>e!==i);(i.getSort()?[...a,i]:a).forEach((e,t)=>e.setSortIndex(t))}onSortChanged(e){this.dispatchSortChangedEvents(e)}isSortActive(){const e=this.columnModel.getPrimaryAndSecondaryAndAutoColumns().filter(e=>!!e.getSort());return e&&e.length>0}dispatchSortChangedEvents(e){const t={type:ht.EVENT_SORT_CHANGED,source:e};this.eventService.dispatchEvent(t)}clearSortBarTheseColumns(e,t){this.columnModel.getPrimaryAndSecondaryAndAutoColumns().forEach(r=>{e.includes(r)||r.setSort(void 0,t)})}getNextSortDirection(e){let t;if(t=e.getColDef().sortingOrder?e.getColDef().sortingOrder:this.gridOptionsService.get("sortingOrder")?this.gridOptionsService.get("sortingOrder"):ec.DEFAULT_SORTING_ORDER,!Array.isArray(t)||t.length<=0)return console.warn("AG Grid: sortingOrder must be an array with at least one element, currently it's "+t),null;const r=t.indexOf(e.getSort()),i=r<0,o=r==t.length-1;let a;return a=i||o?t[0]:t[r+1],ec.DEFAULT_SORTING_ORDER.indexOf(a)<0?(console.warn("AG Grid: invalid sort type "+a),null):a}getIndexedSortMap(){let e=this.columnModel.getPrimaryAndSecondaryAndAutoColumns().filter(e=>!!e.getSort());if(this.columnModel.isPivotMode()){const t=this.gridOptionsService.isColumnsSortingCoupledToGroup();e=e.filter(e=>{const r=!!e.getAggFunc(),i=!e.isPrimary(),o=t?this.columnModel.getGroupDisplayColumnForGroup(e.getId()):e.getColDef().showRowGroup;return r||i||o})}const t=this.columnModel.getRowGroupColumns().filter(e=>!!e.getSort()),r=this.gridOptionsService.isColumnsSortingCoupledToGroup()&&!!t.length;r&&(e=[...new Set(e.map(e=>{var t;return null!==(t=this.columnModel.getGroupDisplayColumnForGroup(e.getId()))&&void 0!==t?t:e}))]);const i={};e.forEach((e,t)=>i[e.getId()]=t),e.sort((e,t)=>{const r=e.getSortIndex(),o=t.getSortIndex();if(null!=r&&null!=o)return r-o;if(null==r&&null==o){return i[e.getId()]>i[t.getId()]?1:-1}return null==o?-1:1});const o=new Map;return e.forEach((e,t)=>o.set(e,t)),r&&t.forEach(e=>{const t=this.columnModel.getGroupDisplayColumnForGroup(e.getId());o.set(e,o.get(t))}),o}getColumnsWithSortingOrdered(){return[...this.getIndexedSortMap().entries()].sort(([e,t],[r,i])=>t-i).map(([e])=>e)}getSortModel(){return this.getColumnsWithSortingOrdered().map(e=>({sort:e.getSort(),colId:e.getId()}))}getSortOptions(){return this.getColumnsWithSortingOrdered().map(e=>({sort:e.getSort(),column:e}))}canColumnDisplayMixedSort(e){const t=this.gridOptionsService.isColumnsSortingCoupledToGroup(),r=!!e.getColDef().showRowGroup;return t&&r}getDisplaySortForColumn(e){const t=this.columnModel.getSourceColumnsForGroupColumn(e);if(!this.canColumnDisplayMixedSort(e)||!(null==t?void 0:t.length))return e.getSort();const r=!!e.getColDef().field?[e,...t]:t,i=r[0].getSort();return r.every(e=>e.getSort()==i)?i:"mixed"}getDisplaySortIndexForColumn(e){return this.getIndexedSortMap().get(e)}};rc.DEFAULT_SORTING_ORDER=["asc","desc",null],tc([Ce("columnModel")],rc.prototype,"columnModel",void 0),rc=ec=tc([we("sortController")],rc);var ic=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let oc=class extends lt{setMouseOver(e){this.selectedColumns=e;const t={type:ht.EVENT_COLUMN_HOVER_CHANGED};this.eventService.dispatchEvent(t)}clearMouseOver(){this.selectedColumns=null;const e={type:ht.EVENT_COLUMN_HOVER_CHANGED};this.eventService.dispatchEvent(e)}isHovered(e){return!!this.selectedColumns&&this.selectedColumns.indexOf(e)>=0}};oc=ic([we("columnHoverService")],oc);var ac=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let nc=class extends lt{constructor(){super(...arguments),this.executeNextFuncs=[],this.executeLaterFuncs=[],this.active=!1,this.animationThreadCount=0}postConstruct(){this.ctrlsService.whenReady(e=>this.gridBodyCtrl=e.gridBodyCtrl)}isActive(){return this.active}start(){this.active||this.gridOptionsService.is("suppressColumnMoveAnimation")||this.gridOptionsService.is("enableRtl")||(this.ensureAnimationCssClassPresent(),this.active=!0)}finish(){this.active&&(this.flush(),this.active=!1)}executeNextVMTurn(e){this.active?this.executeNextFuncs.push(e):e()}executeLaterVMTurn(e){this.active?this.executeLaterFuncs.push(e):e()}ensureAnimationCssClassPresent(){this.animationThreadCount++;const e=this.animationThreadCount;this.gridBodyCtrl.setColumnMovingCss(!0),this.executeLaterFuncs.push(()=>{this.animationThreadCount===e&&this.gridBodyCtrl.setColumnMovingCss(!1)})}flush(){const e=this.executeNextFuncs;this.executeNextFuncs=[];const t=this.executeLaterFuncs;this.executeLaterFuncs=[],0===e.length&&0===t.length||(window.setTimeout(()=>e.forEach(e=>e()),0),window.setTimeout(()=>t.forEach(e=>e()),300))}};ac([Ce("ctrlsService")],nc.prototype,"ctrlsService",void 0),ac([fe],nc.prototype,"postConstruct",null),nc=ac([we("columnAnimationService")],nc);var sc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let lc=class extends lt{postConstruct(){this.ctrlsService.whenReady(e=>{this.centerRowContainerCon=e.centerRowContainerCtrl,this.addManagedListener(this.eventService,ht.EVENT_BODY_HEIGHT_CHANGED,this.checkPageSize.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_SCROLL_VISIBILITY_CHANGED,this.checkPageSize.bind(this)),this.checkPageSize()})}notActive(){return!this.gridOptionsService.is("paginationAutoPageSize")||null==this.centerRowContainerCon}checkPageSize(){if(this.notActive())return;const e=this.centerRowContainerCon.getViewportSizeFeature().getBodyHeight();if(e>0){const t=()=>{const t=this.gridOptionsService.getRowHeightAsNumber(),r=Math.floor(e/t);this.gridOptionsService.set("paginationPageSize",r)};this.isBodyRendered?ne(()=>t(),50)():(t(),this.isBodyRendered=!0)}else this.isBodyRendered=!1}};sc([Ce("ctrlsService")],lc.prototype,"ctrlsService",void 0),sc([fe],lc.prototype,"postConstruct",null),lc=sc([we("paginationAutoPageSizeService")],lc);var gc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let dc=class extends lt{constructor(){super(...arguments),this.cacheVersion=0}init(){this.active=this.gridOptionsService.is("valueCache"),this.neverExpires=this.gridOptionsService.is("valueCacheNeverExpires")}onDataChanged(){this.neverExpires||this.expire()}expire(){this.cacheVersion++}setValue(e,t,r){this.active&&(e.__cacheVersion!==this.cacheVersion&&(e.__cacheVersion=this.cacheVersion,e.__cacheData={}),e.__cacheData[t]=r)}getValue(e,t){if(this.active&&e.__cacheVersion===this.cacheVersion)return e.__cacheData[t]}};gc([fe],dc.prototype,"init",null),dc=gc([we("valueCache")],dc);var cc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let uc=class extends lt{init(){"clientSide"===this.rowModel.getType()&&(this.clientSideRowModel=this.rowModel),this.addManagedListener(this.eventService,ht.EVENT_CELL_VALUE_CHANGED,this.onCellValueChanged.bind(this))}onCellValueChanged(e){"paste"!==e.source&&this.doChangeDetection(e.node,e.column)}doChangeDetection(e,t){if(this.gridOptionsService.is("suppressChangeDetection"))return;const r=[e];if(this.clientSideRowModel&&!e.isRowPinned()){const i=this.gridOptionsService.is("aggregateOnlyChangedColumns"),o=new Wg(i,this.clientSideRowModel.getRootNode());o.addParentNode(e.parent,[t]),this.clientSideRowModel.doAggregate(o),o.forEachChangedNodeDepthFirst(e=>{r.push(e)})}this.rowRenderer.refreshCells({rowNodes:r})}};cc([Ce("rowModel")],uc.prototype,"rowModel",void 0),cc([Ce("rowRenderer")],uc.prototype,"rowRenderer",void 0),cc([fe],uc.prototype,"init",null),uc=cc([we("changeDetectionService")],uc);var pc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let hc=class extends lt{adaptFunction(e,t){const r=this.componentMetadataProvider.retrieve(e);return r&&r.functionAdapter?r.functionAdapter(t):null}adaptCellRendererFunction(e){return class{refresh(e){return!1}getGui(){return this.eGui}init(t){const r=e(t),i=typeof r;this.eGui="string"!==i&&"number"!==i&&"boolean"!==i?null!=r?r:Ni("<span></span>"):Ni("<span>"+r+"</span>")}}}doesImplementIComponent(e){return!!e&&(e.prototype&&"getGui"in e.prototype)}};pc([Ce("componentMetadataProvider")],hc.prototype,"componentMetadataProvider",void 0),hc=pc([we("agComponentUtils")],hc);var vc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let fc=class extends lt{postConstruct(){this.componentMetaData={dateComponent:{mandatoryMethodList:["getDate","setDate"],optionalMethodList:["afterGuiAttached","setInputPlaceholder","setInputAriaLabel"]},detailCellRenderer:{mandatoryMethodList:[],optionalMethodList:["refresh"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},headerComponent:{mandatoryMethodList:[],optionalMethodList:["refresh"]},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","getPopupPosition","focusIn","focusOut","afterGuiAttached"]},innerRenderer:{mandatoryMethodList:[],optionalMethodList:["afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},fullWidthCellRenderer:{mandatoryMethodList:[],optionalMethodList:["refresh","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","afterGuiDetached","onNewRowsLoaded","getModelAsString","onFloatingFilterChanged","onAnyFilterChanged"]},filterComponent:{mandatoryMethodList:["isFilterActive","doesFilterPass","getModel","setModel"],optionalMethodList:["afterGuiAttached","afterGuiDetached","onNewRowsLoaded","getModelAsString","onFloatingFilterChanged","onAnyFilterChanged"]},statusPanel:{mandatoryMethodList:[],optionalMethodList:["afterGuiAttached"]},toolPanel:{mandatoryMethodList:[],optionalMethodList:["refresh","afterGuiAttached"]},tooltipComponent:{mandatoryMethodList:[],optionalMethodList:[]}}}retrieve(e){return this.componentMetaData[e]}};vc([Ce("agComponentUtils")],fc.prototype,"agComponentUtils",void 0),vc([fe],fc.prototype,"postConstruct",null),fc=vc([we("componentMetadataProvider")],fc);var mc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};const wc={"ag-theme-custom":{headerHeight:25,headerCellMinWidth:24,listItemHeight:20,rowHeight:25,chartMenuPanelWidth:220},"ag-theme-material":{headerHeight:56,headerCellMinWidth:48,listItemHeight:32,rowHeight:48,chartMenuPanelWidth:240},"ag-theme-balham":{headerHeight:32,headerCellMinWidth:24,listItemHeight:24,rowHeight:28,chartMenuPanelWidth:220},"ag-theme-alpine":{headerHeight:48,headerCellMinWidth:36,listItemHeight:24,rowHeight:42,chartMenuPanelWidth:240}},Cc={headerHeight:["ag-header-row"],headerCellMinWidth:["ag-header-cell"],listItemHeight:["ag-virtual-list-item"],rowHeight:["ag-row"],chartMenuPanelWidth:["ag-chart-docked-container"]};let bc=class extends lt{constructor(){super(...arguments),this.calculatedSizes={}}postConstruct(){var e;const t=null!==(e=this.getTheme().el)&&void 0!==e?e:this.eGridDiv;this.mutationObserver=new MutationObserver(()=>{this.calculatedSizes={},this.fireGridStylesChangedEvent()}),this.mutationObserver.observe(t||this.eGridDiv,{attributes:!0,attributeFilter:["class"]})}fireGridStylesChangedEvent(){const e={type:ht.EVENT_GRID_STYLES_CHANGED};this.eventService.dispatchEvent(e)}getSassVariable(e){const{themeFamily:t,el:r}=this.getTheme();if(!t||0!==t.indexOf("ag-theme"))return;this.calculatedSizes||(this.calculatedSizes={}),this.calculatedSizes[t]||(this.calculatedSizes[t]={});const i=this.calculatedSizes[t][e];return null!=i?i:(this.calculatedSizes[t][e]=this.calculateValueForSassProperty(e,t,r),this.calculatedSizes[t][e])}calculateValueForSassProperty(e,t,r){const i="ag-theme-"+(t.match("material")?"material":t.match("balham")?"balham":t.match("alpine")?"alpine":"custom"),o=wc[i][e],a=this.gridOptionsService.getDocument();if(r||(r=this.eGridDiv),!Cc[e])return o;const n=Cc[e],s=a.createElement("div"),l=Array.from(r.classList);s.classList.add(t,...l),s.style.position="absolute";const g=n.reduce((e,t)=>{const r=a.createElement("div");return r.style.position="static",r.classList.add(t),e.appendChild(r),r},s);let d=0;if(a.body){a.body.appendChild(s);const t=-1!==e.toLowerCase().indexOf("height")?"height":"width";d=parseInt(window.getComputedStyle(g)[t],10),a.body.removeChild(s)}return d||o}isThemeDark(){const{theme:e}=this.getTheme();return!!e&&e.indexOf("dark")>=0}chartMenuPanelWidth(){return this.getSassVariable("chartMenuPanelWidth")}getTheme(){const e=/\bag-(material|(?:theme-([\w\-]*)))\b/g;let t=this.eGridDiv,r=null,i=[];for(;t;){if(r=e.exec(t.className),r){const r=t.className.match(e);r&&(i=r);break}t=t.parentElement||void 0}if(!r)return{allThemes:i};const o=r[0];return{theme:o,el:t,themeFamily:o.replace(/-dark$/,""),allThemes:i}}getFromTheme(e,t){var r;return null!==(r=this.getSassVariable(t))&&void 0!==r?r:e}getDefaultRowHeight(){return this.getFromTheme(25,"rowHeight")}getListItemHeight(){return this.getFromTheme(20,"listItemHeight")}setRowHeightVariable(e){const t=e+"px";this.eGridDiv.style.getPropertyValue("--ag-line-height").trim()!=t&&this.eGridDiv.style.setProperty("--ag-line-height",t)}getMinColWidth(){const e=this.getFromTheme(null,"headerCellMinWidth");return S(e)?Math.max(e,10):10}destroy(){this.calculatedSizes=null,this.mutationObserver&&this.mutationObserver.disconnect(),super.destroy()}};mc([Ce("eGridDiv")],bc.prototype,"eGridDiv",void 0),mc([fe],bc.prototype,"postConstruct",null),bc=mc([we("environment")],bc);var yc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},Sc=function(e,t){return function(r,i){t(r,i,e)}};let Ec=class extends lt{constructor(){super(...arguments),this.scrollY=0,this.uiBodyHeight=0}agWire(e){this.logger=e.create("RowContainerHeightService")}postConstruct(){this.addManagedListener(this.eventService,ht.EVENT_BODY_HEIGHT_CHANGED,this.updateOffset.bind(this)),this.maxDivHeight=Ur(),this.logger.log("maxDivHeight = "+this.maxDivHeight)}isStretching(){return this.stretching}getDivStretchOffset(){return this.divStretchOffset}updateOffset(){if(!this.stretching)return;const e=this.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition().top,t=this.getUiBodyHeight();(e!==this.scrollY||t!==this.uiBodyHeight)&&(this.scrollY=e,this.uiBodyHeight=t,this.calculateOffset())}calculateOffset(){this.setUiContainerHeight(this.maxDivHeight),this.pixelsToShave=this.modelHeight-this.uiContainerHeight,this.maxScrollY=this.uiContainerHeight-this.uiBodyHeight;const e=this.scrollY/this.maxScrollY,t=e*this.pixelsToShave;this.logger.log(`Div Stretch Offset = ${t} (${this.pixelsToShave} * ${e})`),this.setDivStretchOffset(t)}setUiContainerHeight(e){e!==this.uiContainerHeight&&(this.uiContainerHeight=e,this.eventService.dispatchEvent({type:ht.EVENT_ROW_CONTAINER_HEIGHT_CHANGED}))}clearOffset(){this.setUiContainerHeight(this.modelHeight),this.pixelsToShave=0,this.setDivStretchOffset(0)}setDivStretchOffset(e){const t="number"==typeof e?Math.floor(e):null;this.divStretchOffset!==t&&(this.divStretchOffset=t,this.eventService.dispatchEvent({type:ht.EVENT_HEIGHT_SCALE_CHANGED}))}setModelHeight(e){this.modelHeight=e,this.stretching=null!=e&&this.maxDivHeight>0&&e>this.maxDivHeight,this.stretching?this.calculateOffset():this.clearOffset()}getUiContainerHeight(){return this.uiContainerHeight}getRealPixelPosition(e){return e-this.divStretchOffset}getUiBodyHeight(){const e=this.ctrlsService.getGridBodyCtrl().getScrollFeature().getVScrollPosition();return e.bottom-e.top}getScrollPositionForPixel(e){if(this.pixelsToShave<=0)return e;const t=e/(this.modelHeight-this.getUiBodyHeight());return this.maxScrollY*t}};yc([Ce("ctrlsService")],Ec.prototype,"ctrlsService",void 0),yc([Sc(0,Se("loggerFactory"))],Ec.prototype,"agWire",null),yc([fe],Ec.prototype,"postConstruct",null),Ec=yc([we("rowContainerHeightService")],Ec);var Rc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Tc=class extends lt{init(){this.groupSelectsChildren=this.gridOptionsService.is("groupSelectsChildren"),this.isRowSelectableFunc=this.gridOptionsService.get("isRowSelectable")}updateSelectableAfterGrouping(e){if(this.isRowSelectableFunc){const t=e=>e.childrenAfterGroup;this.recurseDown(e.childrenAfterGroup,t)}}recurseDown(e,t){e&&e.forEach(e=>{if(!e.group)return;let r;if(e.hasChildren()&&this.recurseDown(t(e),t),this.groupSelectsChildren){r=S((t(e)||[]).find(e=>!0===e.selectable))}else r=!!this.isRowSelectableFunc&&this.isRowSelectableFunc(e);e.setRowSelectable(r)})}};Rc([fe],Tc.prototype,"init",null),Tc=Rc([we("selectableService")],Tc);var xc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class Dc extends To{constructor(){super(),this.previousAndFirstButtonsDisabled=!1,this.nextButtonDisabled=!1,this.lastButtonDisabled=!1,this.areListenersSetup=!1}postConstruct(){const e=this.gridOptionsService.is("enableRtl");this.setTemplate(this.getTemplate());const{btFirst:t,btPrevious:r,btNext:i,btLast:o}=this;this.activateTabIndex([t,r,i,o]),t.insertAdjacentElement("afterbegin",ro(e?"last":"first",this.gridOptionsService)),r.insertAdjacentElement("afterbegin",ro(e?"next":"previous",this.gridOptionsService)),i.insertAdjacentElement("afterbegin",ro(e?"previous":"next",this.gridOptionsService)),o.insertAdjacentElement("afterbegin",ro(e?"first":"last",this.gridOptionsService)),this.addManagedPropertyListener("pagination",this.onPaginationChanged.bind(this)),this.addManagedPropertyListener("suppressPaginationPanel",this.onPaginationChanged.bind(this)),this.onPaginationChanged()}onPaginationChanged(){const e=this.gridOptionsService.is("pagination")&&!this.gridOptionsService.is("suppressPaginationPanel");this.setDisplayed(e),e&&(this.setupListeners(),this.enableOrDisableButtons(),this.updateRowLabels(),this.setCurrentPageLabel(),this.setTotalLabels())}setupListeners(){this.areListenersSetup||(this.addManagedListener(this.eventService,ht.EVENT_PAGINATION_CHANGED,this.onPaginationChanged.bind(this)),[{el:this.btFirst,fn:this.onBtFirst.bind(this)},{el:this.btPrevious,fn:this.onBtPrevious.bind(this)},{el:this.btNext,fn:this.onBtNext.bind(this)},{el:this.btLast,fn:this.onBtLast.bind(this)}].forEach(e=>{const{el:t,fn:r}=e;this.addManagedListener(t,"click",r),this.addManagedListener(t,"keydown",e=>{e.key!==io.ENTER&&e.key!==io.SPACE||(e.preventDefault(),r())})}),this.areListenersSetup=!0)}onBtFirst(){this.previousAndFirstButtonsDisabled||this.paginationProxy.goToFirstPage()}setCurrentPageLabel(){const e=this.paginationProxy.getTotalPages()>0,t=this.paginationProxy.getCurrentPage(),r=e?t+1:0;this.lbCurrent.innerHTML=this.formatNumber(r)}formatNumber(e){const t=this.gridOptionsService.getCallback("paginationNumberFormatter");if(t){return t({value:e})}const r=this.localeService.getLocaleTextFunc();return ri(e,r("thousandSeparator",","),r("decimalSeparator","."))}getTemplate(){const e=this.localeService.getLocaleTextFunc(),t=e("page","Page"),r=e("to","to"),i=e("of","of"),o=e("firstPage","First Page"),a=e("previousPage","Previous Page"),n=e("nextPage","Next Page"),s=e("lastPage","Last Page"),l=this.getCompId();return`<div class="ag-paging-panel ag-unselectable" id="ag-${l}">\n <span class="ag-paging-row-summary-panel" role="status">\n <span id="ag-${l}-first-row" ref="lbFirstRowOnPage" class="ag-paging-row-summary-panel-number"></span>\n <span id="ag-${l}-to">${r}</span>\n <span id="ag-${l}-last-row" ref="lbLastRowOnPage" class="ag-paging-row-summary-panel-number"></span>\n <span id="ag-${l}-of">${i}</span>\n <span id="ag-${l}-row-count" ref="lbRecordCount" class="ag-paging-row-summary-panel-number"></span>\n </span>\n <span class="ag-paging-page-summary-panel" role="presentation">\n <div ref="btFirst" class="ag-button ag-paging-button" role="button" aria-label="${o}"></div>\n <div ref="btPrevious" class="ag-button ag-paging-button" role="button" aria-label="${a}"></div>\n <span class="ag-paging-description" role="status">\n <span id="ag-${l}-start-page">${t}</span>\n <span id="ag-${l}-start-page-number" ref="lbCurrent" class="ag-paging-number"></span>\n <span id="ag-${l}-of-page">${i}</span>\n <span id="ag-${l}-of-page-number" ref="lbTotal" class="ag-paging-number"></span>\n </span>\n <div ref="btNext" class="ag-button ag-paging-button" role="button" aria-label="${n}"></div>\n <div ref="btLast" class="ag-button ag-paging-button" role="button" aria-label="${s}"></div>\n </span>\n </div>`}onBtNext(){this.nextButtonDisabled||this.paginationProxy.goToNextPage()}onBtPrevious(){this.previousAndFirstButtonsDisabled||this.paginationProxy.goToPreviousPage()}onBtLast(){this.lastButtonDisabled||this.paginationProxy.goToLastPage()}enableOrDisableButtons(){const e=this.paginationProxy.getCurrentPage(),t=this.paginationProxy.isLastPageFound(),r=this.paginationProxy.getTotalPages();this.previousAndFirstButtonsDisabled=0===e,this.toggleButtonDisabled(this.btFirst,this.previousAndFirstButtonsDisabled),this.toggleButtonDisabled(this.btPrevious,this.previousAndFirstButtonsDisabled);const i=this.isZeroPagesToDisplay(),o=t&&e===r-1;this.nextButtonDisabled=o||i,this.lastButtonDisabled=!t||i||e===r-1,this.toggleButtonDisabled(this.btNext,this.nextButtonDisabled),this.toggleButtonDisabled(this.btLast,this.lastButtonDisabled)}toggleButtonDisabled(e,t){Cr(e,t),e.classList.toggle("ag-disabled",t)}updateRowLabels(){const e=this.paginationProxy.getCurrentPage(),t=this.paginationProxy.getPageSize(),r=this.paginationProxy.isLastPageFound(),i=this.paginationProxy.isLastPageFound()?this.paginationProxy.getMasterRowCount():null;let o,a;if(this.isZeroPagesToDisplay()?o=a=0:(o=t*e+1,a=o+t-1,r&&a>i&&(a=i)),this.lbFirstRowOnPage.innerHTML=this.formatNumber(o),this.rowNodeBlockLoader.isLoading()){const e=this.localeService.getLocaleTextFunc();this.lbLastRowOnPage.innerHTML=e("pageLastRowUnknown","?")}else this.lbLastRowOnPage.innerHTML=this.formatNumber(a)}isZeroPagesToDisplay(){const e=this.paginationProxy.isLastPageFound(),t=this.paginationProxy.getTotalPages();return e&&0===t}setTotalLabels(){const e=this.paginationProxy.isLastPageFound(),t=this.paginationProxy.getTotalPages(),r=e?this.paginationProxy.getMasterRowCount():null;if(1===r){const e=this.paginationProxy.getRow(0);if(e&&e.group&&!(e.groupData||e.aggData))return void this.setTotalLabelsToZero()}if(e)this.lbTotal.innerHTML=this.formatNumber(t),this.lbRecordCount.innerHTML=this.formatNumber(r);else{const e=this.localeService.getLocaleTextFunc()("more","more");this.lbTotal.innerHTML=e,this.lbRecordCount.innerHTML=e}}setTotalLabelsToZero(){this.lbFirstRowOnPage.innerHTML=this.formatNumber(0),this.lbCurrent.innerHTML=this.formatNumber(0),this.lbLastRowOnPage.innerHTML=this.formatNumber(0),this.lbTotal.innerHTML=this.formatNumber(0),this.lbRecordCount.innerHTML=this.formatNumber(0)}}xc([Ce("paginationProxy")],Dc.prototype,"paginationProxy",void 0),xc([Ce("rowNodeBlockLoader")],Dc.prototype,"rowNodeBlockLoader",void 0),xc([Do("btFirst")],Dc.prototype,"btFirst",void 0),xc([Do("btPrevious")],Dc.prototype,"btPrevious",void 0),xc([Do("btNext")],Dc.prototype,"btNext",void 0),xc([Do("btLast")],Dc.prototype,"btLast",void 0),xc([Do("lbRecordCount")],Dc.prototype,"lbRecordCount",void 0),xc([Do("lbFirstRowOnPage")],Dc.prototype,"lbFirstRowOnPage",void 0),xc([Do("lbLastRowOnPage")],Dc.prototype,"lbLastRowOnPage",void 0),xc([Do("lbCurrent")],Dc.prototype,"lbCurrent",void 0),xc([Do("lbTotal")],Dc.prototype,"lbTotal",void 0),xc([fe],Dc.prototype,"postConstruct",null);var Ac,Oc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};!function(e){e[e.Loading=0]="Loading",e[e.NoRows=1]="NoRows"}(Ac||(Ac={}));class Mc extends To{constructor(){super(Mc.TEMPLATE),this.inProgress=!1,this.destroyRequested=!1,this.manuallyDisplayed=!1}updateLayoutClasses(e,t){const r=this.eOverlayWrapper.classList;r.toggle(ns.AUTO_HEIGHT,t.autoHeight),r.toggle(ns.NORMAL,t.normal),r.toggle(ns.PRINT,t.print)}postConstruct(){this.createManagedBean(new ls(this)),this.setDisplayed(!1,{skipAriaHidden:!0}),this.addManagedListener(this.eventService,ht.EVENT_ROW_DATA_UPDATED,this.onRowDataUpdated.bind(this)),this.addManagedListener(this.eventService,ht.EVENT_NEW_COLUMNS_LOADED,this.onNewColumnsLoaded.bind(this)),this.gridOptionsService.isRowModelType("clientSide")&&!this.gridOptionsService.get("rowData")&&this.showLoadingOverlay(),this.gridApi.registerOverlayWrapperComp(this)}setWrapperTypeClass(e){const t=this.eOverlayWrapper.classList;t.toggle("ag-overlay-loading-wrapper",e===Ac.Loading),t.toggle("ag-overlay-no-rows-wrapper",e===Ac.NoRows)}showLoadingOverlay(){if(this.gridOptionsService.is("suppressLoadingOverlay"))return;const e=this.userComponentFactory.getLoadingOverlayCompDetails({}).newAgStackInstance();this.showOverlay(e,Ac.Loading)}showNoRowsOverlay(){if(this.gridOptionsService.is("suppressNoRowsOverlay"))return;const e=this.userComponentFactory.getNoRowsOverlayCompDetails({}).newAgStackInstance();this.showOverlay(e,Ac.NoRows)}showOverlay(e,t){this.inProgress||(this.setWrapperTypeClass(t),this.destroyActiveOverlay(),this.inProgress=!0,e&&e.then(e=>{this.inProgress=!1,this.eOverlayWrapper.appendChild(e.getGui()),this.activeOverlay=e,this.destroyRequested&&(this.destroyRequested=!1,this.destroyActiveOverlay())}),this.manuallyDisplayed=this.columnModel.isReady()&&!this.paginationProxy.isEmpty(),this.setDisplayed(!0,{skipAriaHidden:!0}))}destroyActiveOverlay(){this.inProgress?this.destroyRequested=!0:this.activeOverlay&&(this.activeOverlay=this.getContext().destroyBean(this.activeOverlay),Ai(this.eOverlayWrapper))}hideOverlay(){this.manuallyDisplayed=!1,this.destroyActiveOverlay(),this.setDisplayed(!1,{skipAriaHidden:!0})}destroy(){this.destroyActiveOverlay(),super.destroy()}showOrHideOverlay(){const e=this.paginationProxy.isEmpty(),t=this.gridOptionsService.is("suppressNoRowsOverlay");e&&!t?this.showNoRowsOverlay():this.hideOverlay()}onRowDataUpdated(){this.showOrHideOverlay()}onNewColumnsLoaded(){!this.columnModel.isReady()||this.paginationProxy.isEmpty()||this.manuallyDisplayed||this.hideOverlay()}}Mc.TEMPLATE='\n <div class="ag-overlay" aria-hidden="true">\n <div class="ag-overlay-panel">\n <div class="ag-overlay-wrapper" ref="eOverlayWrapper"></div>\n </div>\n </div>',Oc([Ce("userComponentFactory")],Mc.prototype,"userComponentFactory",void 0),Oc([Ce("paginationProxy")],Mc.prototype,"paginationProxy",void 0),Oc([Ce("gridApi")],Mc.prototype,"gridApi",void 0),Oc([Ce("columnModel")],Mc.prototype,"columnModel",void 0),Oc([Do("eOverlayWrapper")],Mc.prototype,"eOverlayWrapper",void 0),Oc([fe],Mc.prototype,"postConstruct",null);var Pc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Nc=class extends lt{getFirstRow(){let e,t=0;return this.pinnedRowModel.getPinnedTopRowCount()?e="top":this.rowModel.getRowCount()?(e=null,t=this.paginationProxy.getPageFirstRow()):this.pinnedRowModel.getPinnedBottomRowCount()&&(e="bottom"),void 0===e?null:{rowIndex:t,rowPinned:e}}getLastRow(){let e,t=null;const r=this.pinnedRowModel.getPinnedBottomRowCount(),i=this.pinnedRowModel.getPinnedTopRowCount();return r?(t="bottom",e=r-1):this.rowModel.getRowCount()?(t=null,e=this.paginationProxy.getPageLastRow()):i&&(t="top",e=i-1),void 0===e?null:{rowIndex:e,rowPinned:t}}getRowNode(e){switch(e.rowPinned){case"top":return this.pinnedRowModel.getPinnedTopRowData()[e.rowIndex];case"bottom":return this.pinnedRowModel.getPinnedBottomRowData()[e.rowIndex];default:return this.rowModel.getRow(e.rowIndex)}}sameRow(e,t){return!e&&!t||!(e&&!t||!e&&t)&&(e.rowIndex===t.rowIndex&&e.rowPinned==t.rowPinned)}before(e,t){switch(e.rowPinned){case"top":if("top"!==t.rowPinned)return!0;break;case"bottom":if("bottom"!==t.rowPinned)return!1;break;default:if(S(t.rowPinned))return"top"!==t.rowPinned}return e.rowIndex<t.rowIndex}rowMax(e){let t;return e.forEach(e=>{(void 0===t||this.before(t,e))&&(t=e)}),t}rowMin(e){let t;return e.forEach(e=>{(void 0===t||this.before(e,t))&&(t=e)}),t}};Pc([Ce("rowModel")],Nc.prototype,"rowModel",void 0),Pc([Ce("pinnedRowModel")],Nc.prototype,"pinnedRowModel",void 0),Pc([Ce("paginationProxy")],Nc.prototype,"paginationProxy",void 0),Nc=Pc([we("rowPositionUtils")],Nc);var Lc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Ic=class extends lt{createId(e){const{rowIndex:t,rowPinned:r,column:i}=e;return this.createIdFromValues({rowIndex:t,column:i,rowPinned:r})}createIdFromValues(e){const{rowIndex:t,rowPinned:r,column:i}=e;return`${t}.${null==r?"null":r}.${i.getId()}`}equals(e,t){const r=e.column===t.column,i=e.rowPinned===t.rowPinned,o=e.rowIndex===t.rowIndex;return r&&i&&o}};Ic=Lc([we("cellPositionUtils")],Ic);class zc{constructor(e){this.cellValueChanges=e}}class Fc extends zc{constructor(e,t,r,i){super(e),this.initialRange=t,this.finalRange=r,this.ranges=i}}class kc{constructor(e){this.actionStack=[],this.maxStackSize=e||kc.DEFAULT_STACK_SIZE,this.actionStack=new Array(this.maxStackSize)}pop(){return this.actionStack.pop()}push(e){e.cellValueChanges&&e.cellValueChanges.length>0&&(this.actionStack.length===this.maxStackSize&&this.actionStack.shift(),this.actionStack.push(e))}clear(){this.actionStack=[]}getCurrentStackSize(){return this.actionStack.length}}kc.DEFAULT_STACK_SIZE=10;var Gc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Hc=class extends lt{constructor(){super(...arguments),this.cellValueChanges=[],this.activeCellEdit=null,this.activeRowEdit=null,this.isPasting=!1,this.isRangeInAction=!1,this.onCellValueChanged=e=>{const t={column:e.column,rowIndex:e.rowIndex,rowPinned:e.rowPinned},r=null!==this.activeCellEdit&&this.cellPositionUtils.equals(this.activeCellEdit,t),i=null!==this.activeRowEdit&&this.rowPositionUtils.sameRow(this.activeRowEdit,t);if(!(r||i||this.isPasting||this.isRangeInAction))return;const{rowPinned:o,rowIndex:a,column:n,oldValue:s,value:l}=e,g={rowPinned:o,rowIndex:a,columnId:n.getColId(),newValue:l,oldValue:s};this.cellValueChanges.push(g)},this.clearStacks=()=>{this.undoStack.clear(),this.redoStack.clear()}}init(){if(!this.gridOptionsService.is("undoRedoCellEditing"))return;const e=this.gridOptionsService.getNum("undoRedoCellEditingLimit");e<=0||(this.undoStack=new kc(e),this.redoStack=new kc(e),this.addRowEditingListeners(),this.addCellEditingListeners(),this.addPasteListeners(),this.addFillListeners(),this.addCellKeyListeners(),this.addManagedListener(this.eventService,ht.EVENT_CELL_VALUE_CHANGED,this.onCellValueChanged),this.addManagedListener(this.eventService,ht.EVENT_MODEL_UPDATED,e=>{e.keepUndoRedoStack||this.clearStacks()}),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.clearStacks),this.addManagedListener(this.eventService,ht.EVENT_NEW_COLUMNS_LOADED,this.clearStacks),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_GROUP_OPENED,this.clearStacks),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_ROW_GROUP_CHANGED,this.clearStacks),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_MOVED,this.clearStacks),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_PINNED,this.clearStacks),this.addManagedListener(this.eventService,ht.EVENT_COLUMN_VISIBLE,this.clearStacks),this.addManagedListener(this.eventService,ht.EVENT_ROW_DRAG_END,this.clearStacks),this.ctrlsService.whenReady(()=>{this.gridBodyCtrl=this.ctrlsService.getGridBodyCtrl()}))}getCurrentUndoStackSize(){return this.undoStack?this.undoStack.getCurrentStackSize():0}getCurrentRedoStackSize(){return this.redoStack?this.redoStack.getCurrentStackSize():0}undo(e){const t={type:ht.EVENT_UNDO_STARTED,source:e};this.eventService.dispatchEvent(t);const r=this.undoRedo(this.undoStack,this.redoStack,"initialRange","oldValue","undo"),i={type:ht.EVENT_UNDO_ENDED,source:e,operationPerformed:r};this.eventService.dispatchEvent(i)}redo(e){const t={type:ht.EVENT_REDO_STARTED,source:e};this.eventService.dispatchEvent(t);const r=this.undoRedo(this.redoStack,this.undoStack,"finalRange","newValue","redo"),i={type:ht.EVENT_REDO_ENDED,source:e,operationPerformed:r};this.eventService.dispatchEvent(i)}undoRedo(e,t,r,i,o){if(!e)return!1;const a=e.pop();return!(!a||!a.cellValueChanges)&&(this.processAction(a,e=>e[i],o),a instanceof Fc?this.processRange(a.ranges||[a[r]]):this.processCell(a.cellValueChanges),t.push(a),!0)}processAction(e,t,r){e.cellValueChanges.forEach(e=>{const{rowIndex:i,rowPinned:o,columnId:a}=e,n={rowIndex:i,rowPinned:o},s=this.getRowNode(n);s.displayed&&s.setDataValue(a,t(e),r)})}processRange(e){let t;this.rangeService.removeAllCellRanges(!0),e.forEach((r,i)=>{if(!r)return;const o=r.startRow,a=r.endRow;i===e.length-1&&(t={rowPinned:o.rowPinned,rowIndex:o.rowIndex,columnId:r.startColumn.getColId()},this.setLastFocusedCell(t));const n={rowStartIndex:o.rowIndex,rowStartPinned:o.rowPinned,rowEndIndex:a.rowIndex,rowEndPinned:a.rowPinned,columnStart:r.startColumn,columns:r.columns};this.rangeService.addCellRange(n)})}processCell(e){const t=e[0],{rowIndex:r,rowPinned:i}=t,o={rowIndex:r,rowPinned:i},a=this.getRowNode(o),n={rowPinned:t.rowPinned,rowIndex:a.rowIndex,columnId:t.columnId};this.setLastFocusedCell(n,!!this.rangeService)}setLastFocusedCell(e,t){const{rowIndex:r,columnId:i,rowPinned:o}=e,a=this.gridBodyCtrl.getScrollFeature(),n=this.columnModel.getGridColumn(i);if(!n)return;a.ensureIndexVisible(r),a.ensureColumnVisible(n);const s={rowIndex:r,column:n,rowPinned:o};this.focusService.setFocusedCell(Object.assign(Object.assign({},s),{forceBrowserFocus:!0})),t&&this.rangeService.setRangeToCell(s)}addRowEditingListeners(){this.addManagedListener(this.eventService,ht.EVENT_ROW_EDITING_STARTED,e=>{this.activeRowEdit={rowIndex:e.rowIndex,rowPinned:e.rowPinned}}),this.addManagedListener(this.eventService,ht.EVENT_ROW_EDITING_STOPPED,()=>{const e=new zc(this.cellValueChanges);this.pushActionsToUndoStack(e),this.activeRowEdit=null})}addCellEditingListeners(){this.addManagedListener(this.eventService,ht.EVENT_CELL_EDITING_STARTED,e=>{this.activeCellEdit={column:e.column,rowIndex:e.rowIndex,rowPinned:e.rowPinned}}),this.addManagedListener(this.eventService,ht.EVENT_CELL_EDITING_STOPPED,e=>{this.activeCellEdit=null;if(e.valueChanged&&!this.activeRowEdit&&!this.isPasting&&!this.isRangeInAction){const e=new zc(this.cellValueChanges);this.pushActionsToUndoStack(e)}})}addPasteListeners(){this.addManagedListener(this.eventService,ht.EVENT_PASTE_START,()=>{this.isPasting=!0}),this.addManagedListener(this.eventService,ht.EVENT_PASTE_END,()=>{const e=new zc(this.cellValueChanges);this.pushActionsToUndoStack(e),this.isPasting=!1})}addFillListeners(){this.addManagedListener(this.eventService,ht.EVENT_FILL_START,()=>{this.isRangeInAction=!0}),this.addManagedListener(this.eventService,ht.EVENT_FILL_END,e=>{const t=new Fc(this.cellValueChanges,e.initialRange,e.finalRange);this.pushActionsToUndoStack(t),this.isRangeInAction=!1})}addCellKeyListeners(){this.addManagedListener(this.eventService,ht.EVENT_KEY_SHORTCUT_CHANGED_CELL_START,()=>{this.isRangeInAction=!0}),this.addManagedListener(this.eventService,ht.EVENT_KEY_SHORTCUT_CHANGED_CELL_END,()=>{let e;e=this.rangeService&&this.gridOptionsService.isEnableRangeSelection()?new Fc(this.cellValueChanges,void 0,void 0,[...this.rangeService.getCellRanges()]):new zc(this.cellValueChanges),this.pushActionsToUndoStack(e),this.isRangeInAction=!1})}pushActionsToUndoStack(e){this.undoStack.push(e),this.cellValueChanges=[],this.redoStack.clear()}getRowNode(e){switch(e.rowPinned){case"top":return this.pinnedRowModel.getPinnedTopRowData()[e.rowIndex];case"bottom":return this.pinnedRowModel.getPinnedBottomRowData()[e.rowIndex];default:return this.rowModel.getRow(e.rowIndex)}}};Gc([Ce("focusService")],Hc.prototype,"focusService",void 0),Gc([Ce("ctrlsService")],Hc.prototype,"ctrlsService",void 0),Gc([Ce("rowModel")],Hc.prototype,"rowModel",void 0),Gc([Ce("pinnedRowModel")],Hc.prototype,"pinnedRowModel",void 0),Gc([Ce("cellPositionUtils")],Hc.prototype,"cellPositionUtils",void 0),Gc([Ce("rowPositionUtils")],Hc.prototype,"rowPositionUtils",void 0),Gc([Ce("columnModel")],Hc.prototype,"columnModel",void 0),Gc([be("rangeService")],Hc.prototype,"rangeService",void 0),Gc([fe],Hc.prototype,"init",null),Hc=Gc([we("undoRedoService")],Hc);var Vc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let _c=class extends lt{findHeader(e,t){let r,i,o;if(e.column instanceof pt?(i="getDisplayedGroup"+t,r=this.columnModel[i](e.column)):(o="getDisplayedCol"+t,r=this.columnModel[o](e.column)),!r)return;let{headerRowIndex:a}=e;if(this.getHeaderRowType(a)===Pl.COLUMN_GROUP){const e=r;if(e.isPadding()&&this.isAnyChildSpanningHeaderHeight(e)){const{nextFocusColumn:i,nextRow:o}=this.getColumnVisibleChild(e,a,t);i&&(r=i,a=o)}}return{column:r,headerRowIndex:a}}isAnyChildSpanningHeaderHeight(e){return!!e&&e.getLeafColumns().some(e=>e.isSpanHeaderHeight())}getColumnVisibleParent(e,t){const r=this.getHeaderRowType(t),i=r===Pl.FLOATING_FILTER,o=r===Pl.COLUMN;let a=i?e:e.getParent(),n=t-1;if(o&&this.isAnyChildSpanningHeaderHeight(e.getParent())){for(;a&&a.isPadding();)a=a.getParent(),n--;n<0&&(a=e,n=t)}return{nextFocusColumn:a,nextRow:n}}getColumnVisibleChild(e,t,r="After"){let i=e,o=t+1;if(this.getHeaderRowType(t)===Pl.COLUMN_GROUP){const t=e.getLeafColumns(),a="After"===r?t[0]:Fe(t);if(this.isAnyChildSpanningHeaderHeight(a.getParent())){i=a;let t=a.getParent();for(;t&&t!==e;)t=t.getParent(),o++}else i=e.getDisplayedChildren()[0]}return{nextFocusColumn:i,nextRow:o}}getHeaderRowType(e){const t=this.ctrlsService.getHeaderRowContainerCtrl();if(t)return t.getRowType(e)}findColAtEdgeForHeaderRow(e,t){const r=this.columnModel.getAllDisplayedColumns(),i=r["start"===t?0:r.length-1];if(!i)return;const o=this.ctrlsService.getHeaderRowContainerCtrl(i.getPinned()).getRowType(e);if(o==Pl.COLUMN_GROUP){return{headerRowIndex:e,column:this.columnModel.getColumnGroupAtLevel(i,e)}}return{headerRowIndex:null==o?-1:e,column:i}}};Vc([Ce("columnModel")],_c.prototype,"columnModel",void 0),Vc([Ce("ctrlsService")],_c.prototype,"ctrlsService",void 0),_c=Vc([we("headerPositionUtils")],_c);var Bc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let jc=class{buildColumnDefs(e,t,r){const i=[],o={};return e.forEach(e=>{let a=!0,n=this.createDefFromColumn(e,t,r),s=e.getOriginalParent(),l=null;for(;s;){let e=null;if(s.isPadding()){s=s.getOriginalParent();continue}const t=o[s.getGroupId()];if(t){t.children.push(n),a=!1;break}if(e=this.createDefFromGroup(s),e&&(e.children=[n],o[e.groupId]=e,n=e,s=s.getOriginalParent()),null!=s&&l===s){a=!1;break}l=s}a&&i.push(n)}),i}createDefFromGroup(e){const t=k(e.getColGroupDef(),["children"]);return t&&(t.groupId=e.getGroupId()),t}createDefFromColumn(e,t,r){const i=k(e.getColDef());return i.colId=e.getColId(),i.width=e.getActualWidth(),i.rowGroup=e.isRowGroupActive(),i.rowGroupIndex=e.isRowGroupActive()?t.indexOf(e):null,i.pivot=e.isPivotActive(),i.pivotIndex=e.isPivotActive()?r.indexOf(e):null,i.aggFunc=e.isValueActive()?e.getAggFunc():null,i.hide=!e.isVisible()||void 0,i.pinned=e.isPinned()?e.getPinned():null,i.sort=e.getSort()?e.getSort():null,i.sortIndex=null!=e.getSortIndex()?e.getSortIndex():null,i}};jc=Bc([we("columnDefFactory")],jc);var Wc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Uc=class{getInitialRowClasses(e){const t=[];return S(e.extraCssClass)&&t.push(e.extraCssClass),t.push("ag-row"),t.push(e.rowFocused?"ag-row-focus":"ag-row-no-focus"),e.fadeRowIn&&t.push("ag-opacity-zero"),t.push(e.rowIsEven?"ag-row-even":"ag-row-odd"),e.rowNode.isRowPinned()&&t.push("ag-row-pinned"),e.rowNode.isSelected()&&t.push("ag-row-selected"),e.rowNode.footer&&t.push("ag-row-footer"),t.push("ag-row-level-"+e.rowLevel),e.rowNode.stub&&t.push("ag-row-loading"),e.fullWidthRow&&t.push("ag-full-width-row"),e.expandable&&(t.push("ag-row-group"),t.push(e.rowNode.expanded?"ag-row-group-expanded":"ag-row-group-contracted")),e.rowNode.dragging&&t.push("ag-row-dragging"),qe(t,this.processClassesFromGridOptions(e.rowNode)),qe(t,this.preProcessRowClassRules(e.rowNode)),t.push(e.printLayout?"ag-row-position-relative":"ag-row-position-absolute"),e.firstRowOnPage&&t.push("ag-row-first"),e.lastRowOnPage&&t.push("ag-row-last"),e.fullWidthRow&&("left"===e.pinned&&t.push("ag-cell-last-left-pinned"),"right"===e.pinned&&t.push("ag-cell-first-right-pinned")),t}processClassesFromGridOptions(e){const t=[],r=e=>{"string"==typeof e?t.push(e):Array.isArray(e)&&e.forEach(e=>t.push(e))},i=this.gridOptionsService.get("rowClass");if(i){if("function"==typeof i)return console.warn("AG Grid: rowClass should not be a function, please use getRowClass instead"),[];r(i)}const o=this.gridOptionsService.getCallback("getRowClass");if(o){r(o({data:e.data,node:e,rowIndex:e.rowIndex}))}return t}preProcessRowClassRules(e){const t=[];return this.processRowClassRules(e,e=>{t.push(e)},e=>{}),t}processRowClassRules(e,t,r){const i={data:e.data,node:e,rowIndex:e.rowIndex,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context};this.stylingService.processClassRules(this.gridOptionsService.get("rowClassRules"),i,t,r)}calculateRowLevel(e){return e.group?e.level:e.parent?e.parent.level+1:0}};Wc([Ce("stylingService")],Uc.prototype,"stylingService",void 0),Wc([Ce("gridOptionsService")],Uc.prototype,"gridOptionsService",void 0),Uc=Wc([we("rowCssClassCalculator")],Uc);var Kc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Yc=class extends lt{init(){this.isAccentedSort=this.gridOptionsService.is("accentedSort"),this.primaryColumnsSortGroups=this.gridOptionsService.isColumnsSortingCoupledToGroup(),this.addManagedPropertyListener("accentedSort",e=>this.isAccentedSort=e.currentValue),this.addManagedPropertyListener("autoGroupColumnDef",()=>this.primaryColumnsSortGroups=this.gridOptionsService.isColumnsSortingCoupledToGroup())}doFullSort(e,t){const r=e.map((e,t)=>({currentPos:t,rowNode:e}));return r.sort(this.compareRowNodes.bind(this,t)),r.map(e=>e.rowNode)}compareRowNodes(e,t,r){const i=t.rowNode,o=r.rowNode;for(let t=0,r=e.length;t<r;t++){const r=e[t],a="desc"===r.sort,n=this.getValue(i,r.column),s=this.getValue(o,r.column);let l;const g=this.getComparator(r,i);l=g?g(n,s,i,o,a):ho.defaultComparator(n,s,this.isAccentedSort);if(!isNaN(l)&&0!==l)return"asc"===r.sort?l:-1*l}return t.currentPos-r.currentPos}getComparator(e,t){const r=e.column,i=r.getColDef().comparator;if(null!=i)return i;if(!r.getColDef().showRowGroup)return;const o=!t.group&&r.getColDef().field;if(!o)return;const a=this.columnModel.getPrimaryColumn(o);return a?a.getColDef().comparator:void 0}getValue(e,t){var r,i;if(!this.primaryColumnsSortGroups)return this.valueService.getValue(t,e,!1,!1);if(e.rowGroupColumn===t){if(this.gridOptionsService.isGroupUseEntireRow(this.columnModel.isPivotActive())){if(t.getColDef().keyCreator)return e.key;const i=null===(r=e.allLeafChildren)||void 0===r?void 0:r[0];return i?this.valueService.getValue(t,i,!1,!1):void 0}const o=this.columnModel.getGroupDisplayColumnForGroup(t.getId());if(!o)return;return null===(i=e.groupData)||void 0===i?void 0:i[o.getId()]}return e.group&&t.getColDef().showRowGroup?void 0:this.valueService.getValue(t,e,!1,!1)}};Kc([Ce("valueService")],Yc.prototype,"valueService",void 0),Kc([Ce("columnModel")],Yc.prototype,"columnModel",void 0),Kc([fe],Yc.prototype,"init",null),Yc=Kc([we("rowNodeSorter")],Yc);var qc,Qc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Xc=qc=class extends lt{constructor(){super(...arguments),this.ready=!1,this.readyCallbacks=[]}checkReady(){if(this.ready=null!=this.gridCtrl&&null!=this.gridBodyCtrl&&null!=this.centerRowContainerCtrl&&null!=this.leftRowContainerCtrl&&null!=this.rightRowContainerCtrl&&null!=this.bottomCenterRowContainerCtrl&&null!=this.bottomLeftRowContainerCtrl&&null!=this.bottomRightRowContainerCtrl&&null!=this.topCenterRowContainerCtrl&&null!=this.topLeftRowContainerCtrl&&null!=this.topRightRowContainerCtrl&&null!=this.stickyTopCenterRowContainerCtrl&&null!=this.stickyTopLeftRowContainerCtrl&&null!=this.stickyTopRightRowContainerCtrl&&null!=this.centerHeaderRowContainerCtrl&&null!=this.leftHeaderRowContainerCtrl&&null!=this.rightHeaderRowContainerCtrl&&null!=this.fakeHScrollComp&&null!=this.fakeVScrollComp&&null!=this.gridHeaderCtrl,this.ready){const e=this.createReadyParams();this.readyCallbacks.forEach(t=>t(e)),this.readyCallbacks.length=0}}whenReady(e){this.ready?e(this.createReadyParams()):this.readyCallbacks.push(e)}createReadyParams(){return{centerRowContainerCtrl:this.centerRowContainerCtrl,leftRowContainerCtrl:this.leftRowContainerCtrl,rightRowContainerCtrl:this.rightRowContainerCtrl,bottomCenterRowContainerCtrl:this.bottomCenterRowContainerCtrl,bottomLeftRowContainerCtrl:this.bottomLeftRowContainerCtrl,bottomRightRowContainerCtrl:this.bottomRightRowContainerCtrl,topCenterRowContainerCtrl:this.topCenterRowContainerCtrl,topLeftRowContainerCtrl:this.topLeftRowContainerCtrl,topRightRowContainerCtrl:this.topRightRowContainerCtrl,stickyTopCenterRowContainerCtrl:this.stickyTopCenterRowContainerCtrl,stickyTopLeftRowContainerCtrl:this.stickyTopLeftRowContainerCtrl,stickyTopRightRowContainerCtrl:this.stickyTopRightRowContainerCtrl,centerHeaderRowContainerCtrl:this.centerHeaderRowContainerCtrl,leftHeaderRowContainerCtrl:this.leftHeaderRowContainerCtrl,rightHeaderRowContainerCtrl:this.rightHeaderRowContainerCtrl,fakeHScrollComp:this.fakeHScrollComp,fakeVScrollComp:this.fakeVScrollComp,gridBodyCtrl:this.gridBodyCtrl,gridCtrl:this.gridCtrl,gridHeaderCtrl:this.gridHeaderCtrl}}registerFakeHScrollComp(e){this.fakeHScrollComp=e,this.checkReady()}registerFakeVScrollComp(e){this.fakeVScrollComp=e,this.checkReady()}registerGridHeaderCtrl(e){this.gridHeaderCtrl=e,this.checkReady()}registerCenterRowContainerCtrl(e){this.centerRowContainerCtrl=e,this.checkReady()}registerLeftRowContainerCtrl(e){this.leftRowContainerCtrl=e,this.checkReady()}registerRightRowContainerCtrl(e){this.rightRowContainerCtrl=e,this.checkReady()}registerTopCenterRowContainerCtrl(e){this.topCenterRowContainerCtrl=e,this.checkReady()}registerTopLeftRowContainerCon(e){this.topLeftRowContainerCtrl=e,this.checkReady()}registerTopRightRowContainerCtrl(e){this.topRightRowContainerCtrl=e,this.checkReady()}registerStickyTopCenterRowContainerCtrl(e){this.stickyTopCenterRowContainerCtrl=e,this.checkReady()}registerStickyTopLeftRowContainerCon(e){this.stickyTopLeftRowContainerCtrl=e,this.checkReady()}registerStickyTopRightRowContainerCtrl(e){this.stickyTopRightRowContainerCtrl=e,this.checkReady()}registerBottomCenterRowContainerCtrl(e){this.bottomCenterRowContainerCtrl=e,this.checkReady()}registerBottomLeftRowContainerCtrl(e){this.bottomLeftRowContainerCtrl=e,this.checkReady()}registerBottomRightRowContainerCtrl(e){this.bottomRightRowContainerCtrl=e,this.checkReady()}registerHeaderContainer(e,t){switch(t){case"left":this.leftHeaderRowContainerCtrl=e;break;case"right":this.rightHeaderRowContainerCtrl=e;break;default:this.centerHeaderRowContainerCtrl=e}this.checkReady()}registerGridBodyCtrl(e){this.gridBodyCtrl=e,this.checkReady()}registerGridCtrl(e){this.gridCtrl=e,this.checkReady()}getFakeHScrollComp(){return this.fakeHScrollComp}getFakeVScrollComp(){return this.fakeVScrollComp}getGridHeaderCtrl(){return this.gridHeaderCtrl}getGridCtrl(){return this.gridCtrl}getCenterRowContainerCtrl(){return this.centerRowContainerCtrl}getTopCenterRowContainerCtrl(){return this.topCenterRowContainerCtrl}getBottomCenterRowContainerCtrl(){return this.bottomCenterRowContainerCtrl}getStickyTopCenterRowContainerCtrl(){return this.stickyTopCenterRowContainerCtrl}getGridBodyCtrl(){return this.gridBodyCtrl}getHeaderRowContainerCtrls(){return[this.leftHeaderRowContainerCtrl,this.rightHeaderRowContainerCtrl,this.centerHeaderRowContainerCtrl]}getHeaderRowContainerCtrl(e){switch(e){case"left":return this.leftHeaderRowContainerCtrl;case"right":return this.rightHeaderRowContainerCtrl;default:return this.centerHeaderRowContainerCtrl}}};Xc.NAME="ctrlsService",Xc=qc=Qc([we(qc.NAME)],Xc);var Zc=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let Jc=class extends lt{constructor(){super(...arguments),this.registry={}}register(e){this.registry[e.controllerName]=e.controllerClass}getInstance(e){const t=this.registry[e];if(null!=t)return new t}};Jc=Zc([we("ctrlsFactory")],Jc);var $c=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class eu extends To{constructor(e,t){super(e),this.direction=t,this.hideTimeout=null}postConstruct(){this.addManagedListener(this.eventService,ht.EVENT_SCROLL_VISIBILITY_CHANGED,this.onScrollVisibilityChanged.bind(this)),this.onScrollVisibilityChanged(),this.addOrRemoveCssClass("ag-apple-scrollbar",_r()||Br())}initialiseInvisibleScrollbar(){void 0===this.invisibleScrollbar&&(this.invisibleScrollbar=Xr(),this.invisibleScrollbar&&(this.hideAndShowInvisibleScrollAsNeeded(),this.addActiveListenerToggles()))}addActiveListenerToggles(){const e=this.getGui();["mouseenter","mousedown","touchstart"].forEach(t=>this.addManagedListener(e,t,()=>this.addOrRemoveCssClass("ag-scrollbar-active",!0))),["mouseleave","touchend"].forEach(t=>this.addManagedListener(e,t,()=>this.addOrRemoveCssClass("ag-scrollbar-active",!1)))}onScrollVisibilityChanged(){void 0===this.invisibleScrollbar&&this.initialiseInvisibleScrollbar(),this.animationFrameService.requestAnimationFrame(()=>this.setScrollVisible())}hideAndShowInvisibleScrollAsNeeded(){this.addManagedListener(this.eventService,ht.EVENT_BODY_SCROLL,e=>{e.direction===this.direction&&(null!==this.hideTimeout&&(window.clearTimeout(this.hideTimeout),this.hideTimeout=null),this.addOrRemoveCssClass("ag-scrollbar-scrolling",!0))}),this.addManagedListener(this.eventService,ht.EVENT_BODY_SCROLL_END,()=>{this.hideTimeout=window.setTimeout(()=>{this.addOrRemoveCssClass("ag-scrollbar-scrolling",!1),this.hideTimeout=null},400)})}attemptSettingScrollPosition(e){const t=this.getViewport();le(()=>Pi(t),()=>this.setScrollPosition(e),100)}getViewport(){return this.eViewport}getContainer(){return this.eContainer}onScrollCallback(e){this.addManagedListener(this.getViewport(),"scroll",e)}}$c([Do("eViewport")],eu.prototype,"eViewport",void 0),$c([Do("eContainer")],eu.prototype,"eContainer",void 0),$c([Ce("scrollVisibleService")],eu.prototype,"scrollVisibleService",void 0),$c([Ce("ctrlsService")],eu.prototype,"ctrlsService",void 0),$c([Ce("animationFrameService")],eu.prototype,"animationFrameService",void 0);var tu=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class ru extends eu{constructor(){super(ru.TEMPLATE,"horizontal")}postConstruct(){super.postConstruct();const e=this.setFakeHScrollSpacerWidths.bind(this);this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_CHANGED,e),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,e),this.addManagedListener(this.eventService,ht.EVENT_PINNED_ROW_DATA_CHANGED,this.onPinnedRowDataChanged.bind(this)),this.addManagedPropertyListener("domLayout",e),this.ctrlsService.registerFakeHScrollComp(this),this.createManagedBean(new Qs(e=>this.eContainer.style.width=e+"px"))}initialiseInvisibleScrollbar(){void 0===this.invisibleScrollbar&&(this.enableRtl=this.gridOptionsService.is("enableRtl"),super.initialiseInvisibleScrollbar(),this.invisibleScrollbar&&this.refreshCompBottom())}onPinnedRowDataChanged(){this.refreshCompBottom()}refreshCompBottom(){if(!this.invisibleScrollbar)return;const e=this.pinnedRowModel.getPinnedBottomTotalHeight();this.getGui().style.bottom=e+"px"}onScrollVisibilityChanged(){super.onScrollVisibilityChanged(),this.setFakeHScrollSpacerWidths()}setFakeHScrollSpacerWidths(){const e=this.scrollVisibleService.isVerticalScrollShowing();let t=this.columnModel.getDisplayedColumnsRightWidth();const r=!this.enableRtl&&e,i=this.gridOptionsService.getScrollbarWidth();r&&(t+=i),Ui(this.eRightSpacer,t),this.eRightSpacer.classList.toggle("ag-scroller-corner",t<=i);let o=this.columnModel.getDisplayedColumnsLeftWidth();this.enableRtl&&e&&(o+=i),Ui(this.eLeftSpacer,o),this.eLeftSpacer.classList.toggle("ag-scroller-corner",o<=i)}setScrollVisible(){const e=this.scrollVisibleService.isHorizontalScrollShowing(),t=this.invisibleScrollbar,r=this.gridOptionsService.is("suppressHorizontalScroll"),i=e&&this.gridOptionsService.getScrollbarWidth()||0,o=r?0:0===i&&t?16:i;this.addOrRemoveCssClass("ag-scrollbar-invisible",t),Yi(this.getGui(),o),Yi(this.eViewport,o),Yi(this.eContainer,o),this.setDisplayed(e,{skipAriaHidden:!0})}getScrollPosition(){return xi(this.getViewport(),this.enableRtl)}setScrollPosition(e){Pi(this.getViewport())||this.attemptSettingScrollPosition(e),Di(this.getViewport(),e,this.enableRtl)}}ru.TEMPLATE='<div class="ag-body-horizontal-scroll" aria-hidden="true">\n <div class="ag-horizontal-left-spacer" ref="eLeftSpacer"></div>\n <div class="ag-body-horizontal-scroll-viewport" ref="eViewport">\n <div class="ag-body-horizontal-scroll-container" ref="eContainer"></div>\n </div>\n <div class="ag-horizontal-right-spacer" ref="eRightSpacer"></div>\n </div>',tu([Do("eLeftSpacer")],ru.prototype,"eLeftSpacer",void 0),tu([Do("eRightSpacer")],ru.prototype,"eRightSpacer",void 0),tu([Ce("columnModel")],ru.prototype,"columnModel",void 0),tu([Ce("pinnedRowModel")],ru.prototype,"pinnedRowModel",void 0),tu([fe],ru.prototype,"postConstruct",null);var iu=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let ou=class extends lt{postConstruct(){const e=this.checkContainerWidths.bind(this);this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_CHANGED,e),this.addManagedListener(this.eventService,ht.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,e),this.addManagedPropertyListener("domLayout",e)}checkContainerWidths(){const e=this.gridOptionsService.isDomLayout("print"),t=e?0:this.columnModel.getDisplayedColumnsLeftWidth(),r=e?0:this.columnModel.getDisplayedColumnsRightWidth();t!=this.leftWidth&&(this.leftWidth=t,this.eventService.dispatchEvent({type:ht.EVENT_LEFT_PINNED_WIDTH_CHANGED})),r!=this.rightWidth&&(this.rightWidth=r,this.eventService.dispatchEvent({type:ht.EVENT_RIGHT_PINNED_WIDTH_CHANGED}))}getPinnedRightWidth(){return this.rightWidth}getPinnedLeftWidth(){return this.leftWidth}};iu([Ce("columnModel")],ou.prototype,"columnModel",void 0),iu([fe],ou.prototype,"postConstruct",null),ou=iu([we("pinnedWidthService")],ou);var au=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let nu=class extends lt{constructor(){super(...arguments),this.events=[]}postConstruct(){"clientSide"==this.rowModel.getType()&&(this.clientSideRowModel=this.rowModel)}dispatchExpanded(e){if(null==this.clientSideRowModel)return void this.eventService.dispatchEvent(e);this.events.push(e);const t=()=>{this.clientSideRowModel&&this.clientSideRowModel.onRowGroupOpened(),this.events.forEach(e=>this.eventService.dispatchEvent(e)),this.events=[]};null==this.dispatchExpandedDebounced&&(this.dispatchExpandedDebounced=this.animationFrameService.debounce(t)),this.dispatchExpandedDebounced()}};au([Ce("animationFrameService")],nu.prototype,"animationFrameService",void 0),au([Ce("rowModel")],nu.prototype,"rowModel",void 0),au([fe],nu.prototype,"postConstruct",null),nu=au([we("rowNodeEventThrottle")],nu);var su=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},lu=function(e,t){return function(r,i){t(r,i,e)}};function gu(e){return!0===e||"true"===e}let du=class{constructor(){this.destroyed=!1,this.domDataKey="__AG_"+Math.random().toString(),this.propertyEventService=new xe}get context(){return this.gridOptions.context}agWire(e,t){this.gridOptions.api=e,this.gridOptions.columnApi=t,this.api=e,this.columnApi=t}init(){this.gridOptionLookup=new Set([...Pt.ALL_PROPERTIES,...Pt.EVENT_CALLBACKS]);const e=!this.is("suppressAsyncEvents");this.eventService.addGlobalListener(this.globalEventHandler.bind(this),e),this.getScrollbarWidth()}destroy(){this.gridOptions.api=null,this.gridOptions.columnApi=null,this.destroyed=!0}is(e){return gu(this.gridOptions[e])}get(e){return this.gridOptions[e]}getNum(e){return"number"==typeof(t=this.gridOptions[e])?t:"string"==typeof t?parseInt(t,10):void 0;var t}getCallback(e){return this.mergeGridCommonParams(this.gridOptions[e])}exists(e){return S(this.gridOptions[e])}mergeGridCommonParams(e){if(e){return t=>{const r=t;return r.api=this.api,r.columnApi=this.columnApi,r.context=this.context,e(r)}}return e}set(e,t,r=!1,i={}){if(this.gridOptionLookup.has(e)){const o=this.gridOptions[e];if(r||o!==t){this.gridOptions[e]=t;const r=Object.assign({type:e,currentValue:t,previousValue:o},i);this.propertyEventService.dispatchEvent(r)}}}addEventListener(e,t){this.propertyEventService.addEventListener(e,t)}removeEventListener(e,t){this.propertyEventService.removeEventListener(e,t)}globalEventHandler(e,t){if(this.destroyed)return;const r=Pt.getCallbackForEvent(e);"function"==typeof this.gridOptions[r]&&this.gridOptions[r](t)}getGridId(){return this.api.getGridId()}getScrollbarWidth(){if(null==this.scrollbarWidth){const e="number"==typeof this.gridOptions.scrollbarWidth&&this.gridOptions.scrollbarWidth>=0?this.gridOptions.scrollbarWidth:qr();null!=e&&(this.scrollbarWidth=e,this.eventService.dispatchEvent({type:ht.EVENT_SCROLLBAR_WIDTH_CHANGED}))}return this.scrollbarWidth}isRowModelType(e){return this.gridOptions.rowModelType===e||"clientSide"===e&&E(this.gridOptions.rowModelType)}isDomLayout(e){var t;return(null!==(t=this.gridOptions.domLayout)&&void 0!==t?t:"normal")===e}isRowSelection(){return"single"===this.gridOptions.rowSelection||"multiple"===this.gridOptions.rowSelection}useAsyncEvents(){return!this.is("suppressAsyncEvents")}isGetRowHeightFunction(){return"function"==typeof this.gridOptions.getRowHeight}getRowHeightForNode(e,t=!1,r){if(null==r&&(r=this.environment.getDefaultRowHeight()),this.isGetRowHeightFunction()){if(t)return{height:r,estimated:!0};const i={node:e,data:e.data},o=this.getCallback("getRowHeight")(i);if(this.isNumeric(o))return 0===o&&J(()=>console.warn("AG Grid: The return of `getRowHeight` cannot be zero. If the intention is to hide rows, use a filter instead."),"invalidRowHeight"),{height:Math.max(1,o),estimated:!1}}if(e.detail&&this.is("masterDetail"))return this.getMasterDetailRowHeight();return{height:this.gridOptions.rowHeight&&this.isNumeric(this.gridOptions.rowHeight)?this.gridOptions.rowHeight:r,estimated:!1}}getMasterDetailRowHeight(){return this.is("detailRowAutoHeight")?{height:1,estimated:!1}:this.isNumeric(this.gridOptions.detailRowHeight)?{height:this.gridOptions.detailRowHeight,estimated:!1}:{height:300,estimated:!1}}getRowHeightAsNumber(){if(!this.gridOptions.rowHeight||E(this.gridOptions.rowHeight))return this.environment.getDefaultRowHeight();const e=this.gridOptions.rowHeight;return e&&this.isNumeric(e)?(this.environment.setRowHeightVariable(e),e):(console.warn("AG Grid row height must be a number if not using standard row model"),this.environment.getDefaultRowHeight())}isNumeric(e){return!isNaN(e)&&"number"==typeof e&&isFinite(e)}getDomDataKey(){return this.domDataKey}getDomData(e,t){const r=e[this.getDomDataKey()];return r?r[t]:void 0}setDomData(e,t,r){const i=this.getDomDataKey();let o=e[i];E(o)&&(o={},e[i]=o),o[t]=r}getDocument(){let e=null;return this.gridOptions.getDocument&&S(this.gridOptions.getDocument)?e=this.gridOptions.getDocument():this.eGridDiv&&(e=this.eGridDiv.ownerDocument),e&&S(e)?e:document}getWindow(){return this.getDocument().defaultView||window}getRootNode(){return this.eGridDiv.getRootNode()}getAsyncTransactionWaitMillis(){return S(this.gridOptions.asyncTransactionWaitMillis)?this.gridOptions.asyncTransactionWaitMillis:50}isAnimateRows(){return!this.is("ensureDomOrder")&&this.is("animateRows")}isGroupRowsSticky(){return!(this.is("suppressGroupRowsSticky")||this.is("paginateChildRows")||this.is("groupHideOpenParents"))}isTreeData(){return this.is("treeData")&&pe.__assertRegistered(ue.RowGroupingModule,"Tree Data",this.api.getGridId())}isMasterDetail(){return this.is("masterDetail")&&pe.__assertRegistered(ue.MasterDetailModule,"masterDetail",this.api.getGridId())}isEnableRangeSelection(){return this.is("enableRangeSelection")&&pe.__isRegistered(ue.RangeSelectionModule,this.api.getGridId())}isColumnsSortingCoupledToGroup(){const e=this.gridOptions.autoGroupColumnDef;return this.isRowModelType("clientSide")&&!(null==e?void 0:e.comparator)&&!this.isTreeData()}getGroupAggFiltering(){const e=this.gridOptions.groupAggFiltering;return"function"==typeof e?this.getCallback("groupAggFiltering"):gu(e)?()=>!0:void 0}isGroupMultiAutoColumn(){return this.gridOptions.groupDisplayType?Ht("multipleColumns",this.gridOptions.groupDisplayType):this.is("groupHideOpenParents")}isGroupUseEntireRow(e){return!e&&(!!this.gridOptions.groupDisplayType&&Ht("groupRows",this.gridOptions.groupDisplayType))}};su([Ce("gridOptions")],du.prototype,"gridOptions",void 0),su([Ce("eventService")],du.prototype,"eventService",void 0),su([Ce("environment")],du.prototype,"environment",void 0),su([Ce("eGridDiv")],du.prototype,"eGridDiv",void 0),su([lu(0,Se("gridApi")),lu(1,Se("columnApi"))],du.prototype,"agWire",null),su([fe],du.prototype,"init",null),su([me],du.prototype,"destroy",null),du=su([we("gridOptionsService")],du);var cu=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let uu=class extends lt{getLocaleTextFunc(){const e=this.gridOptionsService.getCallback("getLocaleText");if(e)return(t,r,i)=>e({key:t,defaultValue:r,variableValues:i});const t=this.gridOptionsService.get("localeText");return(e,r,i)=>{let o=t&&t[e];if(o&&i&&i.length){let e=0;for(;!(e>=i.length);){if(-1===o.indexOf("${variable}"))break;o=o.replace("${variable}",i[e++])}}return null!=o?o:r}}};uu=cu([we("localeService")],uu);var pu=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class hu extends eu{constructor(){super(hu.TEMPLATE,"vertical")}postConstruct(){super.postConstruct(),this.createManagedBean(new Us(this.eContainer)),this.ctrlsService.registerFakeVScrollComp(this),this.addManagedListener(this.eventService,ht.EVENT_ROW_CONTAINER_HEIGHT_CHANGED,this.onRowContainerHeightChanged.bind(this))}setScrollVisible(){const e=this.scrollVisibleService.isVerticalScrollShowing(),t=this.invisibleScrollbar,r=e&&this.gridOptionsService.getScrollbarWidth()||0,i=0===r&&t?16:r;this.addOrRemoveCssClass("ag-scrollbar-invisible",t),Ui(this.getGui(),i),Ui(this.eViewport,i),Ui(this.eContainer,i),this.setDisplayed(e,{skipAriaHidden:!0})}onRowContainerHeightChanged(){const e=this.ctrlsService.getGridBodyCtrl().getBodyViewportElement();this.eViewport.scrollTop!=e.scrollTop&&(this.eViewport.scrollTop=e.scrollTop)}getScrollPosition(){return this.getViewport().scrollTop}setScrollPosition(e){Pi(this.getViewport())||this.attemptSettingScrollPosition(e),this.getViewport().scrollTop=e}}hu.TEMPLATE='<div class="ag-body-vertical-scroll" aria-hidden="true">\n <div class="ag-body-vertical-scroll-viewport" ref="eViewport">\n <div class="ag-body-vertical-scroll-container" ref="eContainer"></div>\n </div>\n </div>',pu([fe],hu.prototype,"postConstruct",null);var vu=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};const fu={january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December"},mu=["january","february","march","april","may","june","july","august","september","october","november","december"];let wu=class extends lt{constructor(){super(...arguments),this.dataTypeDefinitions={},this.isWaitingForRowData=!1,this.isColumnTypeOverrideInDataTypeDefinitions=!1,this.columnStateUpdatesPendingInference={},this.columnStateUpdateListenerDestroyFuncs=[]}init(){this.groupHideOpenParents=this.gridOptionsService.is("groupHideOpenParents"),this.addManagedPropertyListener("groupHideOpenParents",()=>{this.groupHideOpenParents=this.gridOptionsService.is("groupHideOpenParents")}),this.processDataTypeDefinitions(),this.addManagedPropertyListener("dataTypeDefinitions",()=>{this.processDataTypeDefinitions(),this.columnModel.recreateColumnDefs("gridOptionsChanged")})}processDataTypeDefinitions(){var e;const t=this.getDefaultDataTypes();this.dataTypeDefinitions={},Object.entries(t).forEach(([e,t])=>{this.dataTypeDefinitions[e]=Object.assign(Object.assign({},t),{groupSafeValueFormatter:this.createGroupSafeValueFormatter(t)})});const r=null!==(e=this.gridOptionsService.get("dataTypeDefinitions"))&&void 0!==e?e:{};this.dataTypeMatchers={},Object.entries(r).forEach(([e,i])=>{const o=this.processDataTypeDefinition(i,r,[e],t);o&&(this.dataTypeDefinitions[e]=o,i.dataTypeMatcher&&(this.dataTypeMatchers[e]=i.dataTypeMatcher))}),this.checkObjectValueHandlers(t),["dateString","text","number","boolean","date"].forEach(e=>{const r=this.dataTypeMatchers[e];r&&delete this.dataTypeMatchers[e],this.dataTypeMatchers[e]=null!=r?r:t[e].dataTypeMatcher})}mergeDataTypeDefinitions(e,t){const r=Object.assign(Object.assign({},e),t);return e.columnTypes&&t.columnTypes&&t.appendColumnTypes&&(r.columnTypes=[...this.convertColumnTypes(e.columnTypes),...this.convertColumnTypes(t.columnTypes)]),r}processDataTypeDefinition(e,t,r,i){let o;const a=e.extendsDataType;if(e.columnTypes&&(this.isColumnTypeOverrideInDataTypeDefinitions=!0),e.extendsDataType===e.baseDataType){const t=i[a];if(!this.validateDataTypeDefinition(e,t,a))return;o=this.mergeDataTypeDefinitions(t,e)}else{if(r.includes(a))return void J(()=>console.warn('AG Grid: Data type definition hierarchies (via the "extendsDataType" property) cannot contain circular references.'),"dataTypeExtendsCircularRef");const n=t[a];if(!this.validateDataTypeDefinition(e,n,a))return;const s=this.processDataTypeDefinition(n,t,[...r,a],i);if(!s)return;o=this.mergeDataTypeDefinitions(s,e)}return Object.assign(Object.assign({},o),{groupSafeValueFormatter:this.createGroupSafeValueFormatter(o)})}validateDataTypeDefinition(e,t,r){return t?t.baseDataType===e.baseDataType||(J(()=>console.warn('AG Grid: The "baseDataType" property of a data type definition must match that of its parent.'),"dataTypeBaseTypesMatch"),!1):(J(()=>console.warn(`AG Grid: The data type definition ${r} does not exist.`),"dataTypeDefMissing"+r),!1)}createGroupSafeValueFormatter(e){if(e.valueFormatter)return t=>{var r,i;if(!(null===(r=t.node)||void 0===r?void 0:r.group))return this.groupHideOpenParents&&t.column.isRowGroupActive()?"string"!=typeof t.value||(null===(i=e.dataTypeMatcher)||void 0===i?void 0:i.call(e,t.value))?e.valueFormatter(t):void 0:e.valueFormatter(t);{const r=t.column.getAggFunc();if(r){if("first"===r||"last"===r)return e.valueFormatter(t);if("number"===e.baseDataType&&"count"!==r){if("number"==typeof t.value)return e.valueFormatter(t);if("object"==typeof t.value){if(!t.value)return;if("toNumber"in t.value)return e.valueFormatter(Object.assign(Object.assign({},t),{value:t.value.toNumber()}));if("value"in t.value)return e.valueFormatter(Object.assign(Object.assign({},t),{value:t.value.value}))}}}}}}updateColDefAndGetDataTypeDefinitionColumnType(e,t,r){let{cellDataType:i}=t;const{field:o}=t;if(void 0===i&&(i=e.cellDataType),null!=i&&!0!==i||(i=!!this.canInferCellDataType(e,t)&&this.inferCellDataType(o,r)),!i)return void(e.cellDataType=!1);const a=this.dataTypeDefinitions[i];if(a)return e.cellDataType=i,a.groupSafeValueFormatter&&(e.valueFormatter=a.groupSafeValueFormatter),a.valueParser&&(e.valueParser=a.valueParser),a.suppressDefaultProperties||this.setColDefPropertiesForBaseDataType(e,a,r),a.columnTypes;J(()=>console.warn(`AG Grid: Missing data type definition - "${i}"`),"dataTypeMissing"+i)}updateColDefAndGetColumnType(e,t,r){var i,o;const a=this.updateColDefAndGetDataTypeDefinitionColumnType(e,t,r),n=null!==(o=null!==(i=t.type)&&void 0!==i?i:a)&&void 0!==o?o:e.type;return e.type=n,n?this.convertColumnTypes(n):void 0}addColumnListeners(e){if(!this.isWaitingForRowData)return;const t=this.columnStateUpdatesPendingInference[e.getColId()];if(!t)return;const r=e=>{t.add(e.key)};e.addEventListener(Me.EVENT_STATE_UPDATED,r),this.columnStateUpdateListenerDestroyFuncs.push(()=>e.removeEventListener(Me.EVENT_STATE_UPDATED,r))}canInferCellDataType(e,t){var r;if("clientSide"!==this.rowModel.getType())return!1;const i={cellRenderer:!0,valueGetter:!0,valueParser:!0,refData:!0};if(this.doColDefPropsPreventInference(t,i))return!1;const o=null===t.type?e.type:t.type;if(o){const e=null!==(r=this.gridOptionsService.get("columnTypes"))&&void 0!==r?r:{};if(this.convertColumnTypes(o).some(t=>{const r=e[t.trim()];return r&&this.doColDefPropsPreventInference(r,i)}))return!1}return!this.doColDefPropsPreventInference(e,i)}doColDefPropsPreventInference(e,t){return[["cellRenderer","agSparklineCellRenderer"],["valueGetter",void 0],["valueParser",void 0],["refData",void 0]].some(([r,i])=>this.doesColDefPropPreventInference(e,t,r,i))}doesColDefPropPreventInference(e,t,r,i){if(!t[r])return!1;const o=e[r];return null===o?(t[r]=!1,!1):void 0===i?!!o:o===i}inferCellDataType(e,t){var r;if(!e)return;let i;const o=this.getInitialData();if(o){const t=e.indexOf(".")>=0&&!this.gridOptionsService.is("suppressFieldDotNotation");i=q(o,e,t)}else this.initWaitForRowData(t);if(null==i)return;const[a]=null!==(r=Object.entries(this.dataTypeMatchers).find(([e,t])=>t(i)))&&void 0!==r?r:["object"];return a}getInitialData(){const e=this.gridOptionsService.get("rowData");if(null==e?void 0:e.length)return e[0];if(this.initialData)return this.initialData;{const e=this.rowModel.getRootNode().allLeafChildren;if(null==e?void 0:e.length)return e[0].data}return null}initWaitForRowData(e){if(this.columnStateUpdatesPendingInference[e]=new Set,this.isWaitingForRowData)return;this.isWaitingForRowData=!0;const t=this.isColumnTypeOverrideInDataTypeDefinitions;t&&this.columnModel.queueResizeOperations();const r=this.addManagedListener(this.eventService,ht.EVENT_ROW_DATA_UPDATE_STARTED,e=>{const{firstRowData:i}=e;i&&(null==r||r(),this.isWaitingForRowData=!1,this.processColumnsPendingInference(i,t),this.columnStateUpdatesPendingInference={},t&&this.columnModel.processResizeOperations())})}processColumnsPendingInference(e,t){this.initialData=e;const r=[];this.columnStateUpdateListenerDestroyFuncs.forEach(e=>e()),this.columnStateUpdateListenerDestroyFuncs=[];const i={},o={};Object.entries(this.columnStateUpdatesPendingInference).forEach(([e,a])=>{const n=this.columnModel.getGridColumn(e);if(!n)return;const s=n.getColDef();if(!this.columnModel.resetColumnDefIntoColumn(n))return;const l=n.getColDef();if(t&&l.type&&l.type!==s.type){const t=this.getUpdatedColumnState(n,a);t.rowGroup&&null==t.rowGroupIndex&&(i[e]=t),t.pivot&&null==t.pivotIndex&&(o[e]=t),r.push(t)}}),t&&r.push(...this.columnModel.generateColumnStateForRowGroupAndPivotIndexes(i,o)),r.length&&this.columnModel.applyColumnState({state:r},"cellDataTypeInferred"),this.initialData=null}getUpdatedColumnState(e,t){const r=this.columnModel.getColumnStateFromColDef(e);return t.forEach(e=>{delete r[e],"rowGroup"===e?delete r.rowGroupIndex:"pivot"===e&&delete r.pivotIndex}),r}checkObjectValueHandlers(e){const t=this.dataTypeDefinitions.object,r=e.object;this.hasObjectValueParser=t.valueParser!==r.valueParser,this.hasObjectValueFormatter=t.valueFormatter!==r.valueFormatter}convertColumnTypes(e){let t=[];if(e instanceof Array){e.some(e=>"string"!=typeof e)?console.warn("AG Grid: if colDef.type is supplied an array it should be of type 'string[]'"):t=e}else"string"==typeof e?t=e.split(","):console.warn("AG Grid: colDef.type should be of type 'string' | 'string[]'");return t}getDateStringTypeDefinition(){return this.dataTypeDefinitions.dateString}getDateParserFunction(){return this.getDateStringTypeDefinition().dateParser}getDateFormatterFunction(){return this.getDateStringTypeDefinition().dateFormatter}checkType(e,t){var r;const i=e.getColDef();if(!i.cellDataType||null==t)return!0;const o=null===(r=this.dataTypeDefinitions[i.cellDataType])||void 0===r?void 0:r.dataTypeMatcher;return!o||o(t)}validateColDef(e){"object"===e.cellDataType&&(e.valueFormatter!==this.dataTypeDefinitions.object.groupSafeValueFormatter||this.hasObjectValueFormatter||J(()=>console.warn('AG Grid: Cell data type is "object" but no value formatter has been provided. Please either provide an object data type definition with a value formatter, or set "colDef.valueFormatter"'),"dataTypeObjectValueFormatter"),e.editable&&e.valueParser===this.dataTypeDefinitions.object.valueParser&&!this.hasObjectValueParser&&J(()=>console.warn('AG Grid: Cell data type is "object" but no value parser has been provided. Please either provide an object data type definition with a value parser, or set "colDef.valueParser"'),"dataTypeObjectValueParser"))}setColDefPropertiesForBaseDataType(e,t,r){const i=(e,r,i)=>{let o=e.getColDef().valueFormatter;return o===t.groupSafeValueFormatter&&(o=t.valueFormatter),this.valueFormatterService.formatValue(e,r,i,o)},o=pe.__isRegistered(ue.SetFilterModule,this.context.getGridId()),a=this.localeService.getLocaleTextFunc(),n=t=>{const{filterParams:r}=e;e.filterParams="object"==typeof r?Object.assign(Object.assign({},r),t):t};switch(e.useValueFormatterForExport=!0,e.useValueParserForImport=!0,t.baseDataType){case"number":e.cellEditor="agNumberCellEditor",o&&n({comparator:(e,t)=>{const r=null==e?0:parseInt(e),i=null==t?0:parseInt(t);return r===i?0:r>i?1:-1}});break;case"boolean":e.cellEditor="agCheckboxCellEditor",e.cellRenderer="agCheckboxCellRenderer",e.suppressKeyboardEvent=e=>!!e.colDef.editable&&e.event.key===io.SPACE,n(o?{valueFormatter:e=>S(e.value)?a(String(e.value),e.value?"True":"False"):a("blanks","(Blanks)")}:{maxNumConditions:1,filterOptions:["empty",{displayKey:"true",displayName:"True",predicate:(e,t)=>t,numberOfInputs:0},{displayKey:"false",displayName:"False",predicate:(e,t)=>!1===t,numberOfInputs:0}]});break;case"date":e.cellEditor="agDateCellEditor",e.keyCreator=e=>i(e.column,e.node,e.value),o&&n({valueFormatter:e=>{const t=i(e.column,e.node,e.value);return S(t)?t:a("blanks","(Blanks)")},treeList:!0,treeListFormatter:(e,t)=>{if(1===t&&null!=e){const t=mu[Number(e)-1];return a(t,fu[t])}return null!=e?e:a("blanks","(Blanks)")}});break;case"dateString":{e.cellEditor="agDateStringCellEditor",e.keyCreator=e=>i(e.column,e.node,e.value);const t=this.getDateParserFunction();n(o?{valueFormatter:e=>{const t=i(e.column,e.node,e.value);return S(t)?t:a("blanks","(Blanks)")},treeList:!0,treeListPathGetter:e=>{const r=t(null!=e?e:void 0);return r?[String(r.getFullYear()),String(r.getMonth()+1),String(r.getDate())]:null},treeListFormatter:(e,t)=>{if(1===t&&null!=e){const t=mu[Number(e)-1];return a(t,fu[t])}return null!=e?e:a("blanks","(Blanks)")}}:{comparator:(e,r)=>{const i=t(r);return null==r||i<e?-1:i>e?1:0}});break}case"object":e.cellEditorParams={useFormatter:!0},e.comparator=(e,t)=>{const o=this.columnModel.getPrimaryColumn(r),a=null==o?void 0:o.getColDef();if(!o||!a)return 0;const n=null==e?"":i(o,null,e),s=null==t?"":i(o,null,t);return n===s?0:n>s?1:-1},e.keyCreator=e=>i(e.column,e.node,e.value),o?n({valueFormatter:e=>{const t=i(e.column,e.node,e.value);return S(t)?t:a("blanks","(Blanks)")}}):e.filterValueGetter=e=>i(e.column,e.node,this.valueService.getValue(e.column,e.node))}}getDefaultDataTypes(){const e=e=>!!e.match("^\\d{4}-\\d{2}-\\d{2}$"),t=this.localeService.getLocaleTextFunc();return{number:{baseDataType:"number",valueParser:e=>""===e.newValue?null:Number(e.newValue),valueFormatter:e=>null==e.value?"":"number"!=typeof e.value||isNaN(e.value)?t("invalidNumber","Invalid Number"):String(e.value),dataTypeMatcher:e=>"number"==typeof e},text:{baseDataType:"text",valueParser:e=>""===e.newValue?null:T(e.newValue),dataTypeMatcher:e=>"string"==typeof e},boolean:{baseDataType:"boolean",valueParser:e=>""===e.newValue?null:"true"===String(e.newValue).toLowerCase(),valueFormatter:e=>null==e.value?"":String(e.value),dataTypeMatcher:e=>"boolean"==typeof e},date:{baseDataType:"date",valueParser:e=>gi(null==e.newValue?null:String(e.newValue)),valueFormatter:e=>{var r;return null==e.value?"":e.value instanceof Date&&!isNaN(e.value.getTime())?null!==(r=ni(e.value,!1))&&void 0!==r?r:"":t("invalidDate","Invalid Date")},dataTypeMatcher:e=>e instanceof Date},dateString:{baseDataType:"dateString",dateParser:e=>{var t;return null!==(t=gi(e))&&void 0!==t?t:void 0},dateFormatter:e=>{var t;return null!==(t=ni(null!=e?e:null,!1))&&void 0!==t?t:void 0},valueParser:t=>e(String(t.newValue))?t.newValue:null,valueFormatter:t=>e(String(t.value))?t.value:"",dataTypeMatcher:t=>"string"==typeof t&&e(t)},object:{baseDataType:"object",valueParser:()=>null,valueFormatter:e=>{var t;return null!==(t=T(e.value))&&void 0!==t?t:""}}}}};vu([Ce("rowModel")],wu.prototype,"rowModel",void 0),vu([Ce("columnModel")],wu.prototype,"columnModel",void 0),vu([Ce("columnUtils")],wu.prototype,"columnUtils",void 0),vu([Ce("valueService")],wu.prototype,"valueService",void 0),vu([Ce("valueFormatterService")],wu.prototype,"valueFormatterService",void 0),vu([fe],wu.prototype,"init",null),wu=vu([we("dataTypeService")],wu);var Cu=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let bu=class extends lt{parseValue(e,t,r,i){const o=e.getColDef(),a={node:t,data:null==t?void 0:t.data,oldValue:i,newValue:r,colDef:o,column:e,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context},n=o.valueParser;return S(n)?"function"==typeof n?n(a):this.expressionService.evaluate(n,a):r}};Cu([Ce("expressionService")],bu.prototype,"expressionService",void 0),bu=Cu([we("valueParserService")],bu);class yu{constructor(e,t,r){t?(this.gridOptions=t,(new Eu).create(e,t,t=>{const r=new $d(e);t.createBean(r)},void 0,r)):console.error("AG Grid: no gridOptions provided to the grid")}destroy(){this.gridOptions&&this.gridOptions.api&&this.gridOptions.api.destroy()}}let Su=1;class Eu{create(e,t,r,i,o){var a;const n=!!t.debug,s=null!==(a=t.gridId)&&void 0!==a?a:String(Su++),l=this.getRegisteredModules(o,s),g=this.createBeansList(t.rowModelType,l,s),d=this.createProvidedBeans(e,t,o);if(!g)return;const c={providedBeanInstances:d,beanClasses:g,debug:n,gridId:s},u=new Qd("AG Grid",()=>t.debug),p=new Qd("Context",()=>c.debug),h=new he(c,p),v=h.getBean("beans");this.registerModuleUserComponents(v,l),this.registerStackComponents(v,l),this.registerControllers(v,l),r(h),v.ctrlsService.whenReady(()=>{this.setColumnsAndData(v),this.dispatchGridReadyEvent(v);const e=pe.__isRegistered(ue.EnterpriseCoreModule,s);u.log("initialised successfully, enterprise = "+e)}),i&&i(h)}registerControllers(e,t){t.forEach(t=>{t.controllers&&t.controllers.forEach(t=>e.ctrlsFactory.register(t))})}registerStackComponents(e,t){const r=this.createAgStackComponentsList(t);e.agStackComponentsRegistry.setupComponents(r)}getRegisteredModules(e,t){const r=e?e.modules:null,i=pe.__getRegisteredModules(t),o=[],a={},n=(e,t,r)=>{var i;a[(i=t).moduleName]||(a[i.moduleName]=!0,o.push(i),pe.__register(i,e,r)),t.dependantModules&&t.dependantModules.forEach(t=>n(e,t,r))};return r&&r.forEach(e=>n(!0,e,t)),i&&i.forEach(e=>n(!pe.__isPackageBased(),e,void 0)),o}registerModuleUserComponents(e,t){this.extractModuleEntity(t,e=>e.userComponents?e.userComponents:[]).forEach(t=>{e.userComponentRegistry.registerDefaultComponent(t.componentName,t.componentClass)})}createProvidedBeans(e,t,r){let i=r?r.frameworkOverrides:null;E(i)&&(i=new Ad);const o={gridOptions:t,eGridDiv:e,globalEventListener:r?r.globalEventListener:null,frameworkOverrides:i};return r&&r.providedBeanInstances&&Object.assign(o,r.providedBeanInstances),o}createAgStackComponentsList(e){let t=[{componentName:"AgCheckbox",componentClass:Zo},{componentName:"AgRadioButton",componentClass:Jo},{componentName:"AgToggleButton",componentClass:ed},{componentName:"AgInputTextField",componentClass:da},{componentName:"AgInputTextArea",componentClass:td},{componentName:"AgInputNumberField",componentClass:ca},{componentName:"AgInputDateField",componentClass:rd},{componentName:"AgInputRange",componentClass:id},{componentName:"AgSelect",componentClass:qo},{componentName:"AgSlider",componentClass:ad},{componentName:"AgGridBody",componentClass:nl},{componentName:"AgHeaderRoot",componentClass:bg},{componentName:"AgSortIndicator",componentClass:Ta},{componentName:"AgPagination",componentClass:Dc},{componentName:"AgOverlayWrapper",componentClass:Mc},{componentName:"AgGroupComponent",componentClass:sd},{componentName:"AgPanel",componentClass:fd},{componentName:"AgDialog",componentClass:wd},{componentName:"AgRowContainer",componentClass:Cl},{componentName:"AgFakeHorizontalScroll",componentClass:ru},{componentName:"AgFakeVerticalScroll",componentClass:hu}];const r=this.extractModuleEntity(e,e=>e.agStackComponents?e.agStackComponents:[]);return t=t.concat(r),t}createBeansList(e="clientSide",t,r){const i=t.filter(t=>!t.rowModel||t.rowModel===e),o={clientSide:ue.ClientSideRowModelModule,infinite:ue.InfiniteRowModelModule,serverSide:ue.ServerSideRowModelModule,viewport:ue.ViewportRowModelModule};if(!o[e])return void console.error("AG Grid: could not find row model for rowModelType = "+e);if(!pe.__assertRegistered(o[e],`rowModelType = '${e}'`,r))return;const a=[xs,Nc,Ic,_c,lc,$n,Tn,hc,fc,Og,Un,Ec,Sg,uu,Gt,Bg,qn,Yt,xe,du,Ed,Fd,rs,jt,fg,Zg,kg,jd,ct,Ud,Ld,pl,dc,Vd,qd,Ut,Lg,Rg,Za,Gd,Jl,cl,bc,Md,Vg,$g,ll,rc,oc,nc,Tc,wt,uc,Pg,Hc,ir,jc,Uc,Qg,Yc,Xc,ou,nu,Jc,wu,bu],n=this.extractModuleEntity(i,e=>e.beans?e.beans:[]);a.push(...n);const s=[];return a.forEach(e=>{s.indexOf(e)<0&&s.push(e)}),s}extractModuleEntity(e,t){return[].concat(...e.map(t))}setColumnsAndData(e){const t=e.gridOptionsService.get("columnDefs");e.columnModel.setColumnDefs(t||[],"gridInitializing"),e.rowModel.start()}dispatchGridReadyEvent(e){const t={type:ht.EVENT_GRID_READY};e.eventService.dispatchEvent(t)}}class Ru{wrap(e,t,r=[],i){const o=this.createWrapper(e,i);return t.forEach(e=>{this.createMethod(o,e,!0)}),r.forEach(e=>{this.createMethod(o,e,!1)}),o}unwrap(e){return e}createMethod(e,t,r){e.addMethod(t,this.createMethodProxy(e,t,r))}createMethodProxy(e,t,r){return function(){return e.hasMethod(t)?e.callMethod(t,arguments):(r&&console.warn("AG Grid: Framework component is missing the method "+t+"()"),null)}}}const Tu={columnGroup:["column","stackedColumn","normalizedColumn"],barGroup:["bar","stackedBar","normalizedBar"],pieGroup:["pie","doughnut"],lineGroup:["line"],scatterGroup:["scatter","bubble"],areaGroup:["area","stackedArea","normalizedArea"],histogramGroup:["histogram"],combinationGroup:["columnLineCombo","areaColumnCombo","customCombo"]},xu=["chartSettings","chartData","chartFormat"],Du=["chartUnlink","chartLink","chartDownload"],Au={settings:"chartSettings",data:"chartData",format:"chartFormat"},Ou=0;var Mu;!function(e){e.InsideBase="insideBase",e.InsideEnd="insideEnd",e.Center="center",e.OutsideEnd="outsideEnd"}(Mu||(Mu={}));const Pu="undefined"==typeof global?{}:global;Pu.HTMLElement="undefined"==typeof HTMLElement?{}:HTMLElement,Pu.HTMLButtonElement="undefined"==typeof HTMLButtonElement?{}:HTMLButtonElement,Pu.HTMLSelectElement="undefined"==typeof HTMLSelectElement?{}:HTMLSelectElement,Pu.HTMLInputElement="undefined"==typeof HTMLInputElement?{}:HTMLInputElement,Pu.Node="undefined"==typeof Node?{}:Node,Pu.MouseEvent="undefined"==typeof MouseEvent?{}:MouseEvent},function(e,t,r){"use strict";var i,o=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},a=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),n=[];function s(e){for(var t=-1,r=0;r<n.length;r++)if(n[r].identifier===e){t=r;break}return t}function l(e,t){for(var r={},i=[],o=0;o<e.length;o++){var a=e[o],l=t.base?a[0]+t.base:a[0],g=r[l]||0,d="".concat(l," ").concat(g);r[l]=g+1;var c=s(d),u={css:a[1],media:a[2],sourceMap:a[3]};-1!==c?(n[c].references++,n[c].updater(u)):n.push({identifier:d,updater:f(u,t),references:1}),i.push(d)}return i}function g(e){var t=document.createElement("style"),i=e.attributes||{};if(void 0===i.nonce){var o=r.nc;o&&(i.nonce=o)}if(Object.keys(i).forEach((function(e){t.setAttribute(e,i[e])})),"function"==typeof e.insert)e.insert(t);else{var n=a(e.insert||"head");if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(t)}return t}var d,c=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function u(e,t,r,i){var o=r?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(e.styleSheet)e.styleSheet.cssText=c(t,o);else{var a=document.createTextNode(o),n=e.childNodes;n[t]&&e.removeChild(n[t]),n.length?e.insertBefore(a,n[t]):e.appendChild(a)}}function p(e,t,r){var i=r.css,o=r.media,a=r.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var h=null,v=0;function f(e,t){var r,i,o;if(t.singleton){var a=v++;r=h||(h=g(t)),i=u.bind(null,r,a,!1),o=u.bind(null,r,a,!0)}else r=g(t),i=p.bind(null,r,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var r=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var i=0;i<r.length;i++){var o=s(r[i]);n[o].references--}for(var a=l(e,t),g=0;g<r.length;g++){var d=s(r[g]);0===n[d].references&&(n[d].updater(),n.splice(d,1))}r=a}}}},function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",i=e[3];if(!i)return r;if(t&&"function"==typeof btoa){var o=(n=i,s=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),a=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[r].concat(a).concat([o]).join("\n")}var n,s,l;return[r].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,i){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(i)for(var a=0;a<this.length;a++){var n=this[a][0];null!=n&&(o[n]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);i&&o[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},function(e,t,r){"use strict";r.r(t),r.d(t,"ClientSideRowModelModule",(function(){return b}));var i=r(0);class o{constructor(e,t,r,i,a,n){this.nextId=0,this.allNodesMap={},this.rootNode=e,this.gridOptionsService=t,this.eventService=r,this.columnModel=i,this.beans=n,this.selectionService=a,this.rootNode.group=!0,this.rootNode.level=-1,this.rootNode.id=o.ROOT_NODE_ID,this.rootNode.allLeafChildren=[],this.rootNode.childrenAfterGroup=[],this.rootNode.childrenAfterSort=[],this.rootNode.childrenAfterAggFilter=[],this.rootNode.childrenAfterFilter=[],this.postConstruct()}postConstruct(){this.suppressParentsInRowNodes=this.gridOptionsService.is("suppressParentsInRowNodes"),this.isRowMasterFunc=this.gridOptionsService.get("isRowMaster"),this.doingTreeData=this.gridOptionsService.isTreeData(),this.doingMasterDetail=this.gridOptionsService.isMasterDetail()}getCopyOfNodesMap(){return i._.cloneObject(this.allNodesMap)}getRowNode(e){return this.allNodesMap[e]}setRowData(e){if("string"==typeof e)return void 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");this.dispatchRowDataUpdateStartedEvent(e);const t=this.rootNode,r=this.rootNode.sibling;t.childrenAfterFilter=null,t.childrenAfterGroup=null,t.childrenAfterAggFilter=null,t.childrenAfterSort=null,t.childrenMapped=null,t.updateHasChildren(),this.nextId=0,this.allNodesMap={},e?t.allLeafChildren=e.map(e=>this.createNode(e,this.rootNode,o.TOP_LEVEL)):(t.allLeafChildren=[],t.childrenAfterGroup=[]),r&&(r.childrenAfterFilter=t.childrenAfterFilter,r.childrenAfterGroup=t.childrenAfterGroup,r.childrenAfterAggFilter=t.childrenAfterAggFilter,r.childrenAfterSort=t.childrenAfterSort,r.childrenMapped=t.childrenMapped,r.allLeafChildren=t.allLeafChildren)}updateRowData(e,t){this.dispatchRowDataUpdateStartedEvent(e.add);const r={remove:[],update:[],add:[]},o=[];return this.executeRemove(e,r,o),this.executeUpdate(e,r,o),this.executeAdd(e,r),this.updateSelection(o,"rowDataChanged"),t&&i._.sortRowNodesByOrder(this.rootNode.allLeafChildren,t),r}dispatchRowDataUpdateStartedEvent(e){const t={type:i.Events.EVENT_ROW_DATA_UPDATE_STARTED,firstRowData:(null==e?void 0:e.length)?e[0]:null};this.eventService.dispatchEvent(t)}updateSelection(e,t){const r=e.length>0;if(r&&this.selectionService.setNodesSelected({newValue:!1,nodes:e,suppressFinishActions:!0,source:t}),this.selectionService.updateGroupsFromChildrenSelections(t),r){const e={type:i.Events.EVENT_SELECTION_CHANGED,source:t};this.eventService.dispatchEvent(e)}}executeAdd(e,t){var r;const{add:a,addIndex:n}=e;if(i._.missingOrEmpty(a))return;const s=a.map(e=>this.createNode(e,this.rootNode,o.TOP_LEVEL));if("number"==typeof n&&n>=0){const{allLeafChildren:e}=this.rootNode,t=e.length;let i=n;if(this.doingTreeData&&n>0&&t>0)for(let o=0;o<t;o++)if((null===(r=e[o])||void 0===r?void 0:r.rowIndex)==n-1){i=o+1;break}const o=e.slice(0,i),a=e.slice(i,e.length);this.rootNode.allLeafChildren=[...o,...s,...a]}else this.rootNode.allLeafChildren=[...this.rootNode.allLeafChildren,...s];this.rootNode.sibling&&(this.rootNode.sibling.allLeafChildren=this.rootNode.allLeafChildren),t.add=s}executeRemove(e,t,r){const{remove:o}=e;if(i._.missingOrEmpty(o))return;const a={};o.forEach(e=>{const i=this.lookupRowNode(e);i&&(i.isSelected()&&r.push(i),i.clearRowTopAndRowIndex(),a[i.id]=!0,delete this.allNodesMap[i.id],t.remove.push(i))}),this.rootNode.allLeafChildren=this.rootNode.allLeafChildren.filter(e=>!a[e.id]),this.rootNode.sibling&&(this.rootNode.sibling.allLeafChildren=this.rootNode.allLeafChildren)}executeUpdate(e,t,r){const{update:a}=e;i._.missingOrEmpty(a)||a.forEach(e=>{const i=this.lookupRowNode(e);i&&(i.updateData(e),!i.selectable&&i.isSelected()&&r.push(i),this.setMasterForRow(i,e,o.TOP_LEVEL,!1),t.update.push(i))})}lookupRowNode(e){const t=this.gridOptionsService.getCallback("getRowId");let r;if(t){const i=t({data:e,level:0});if(r=this.allNodesMap[i],!r)return console.error(`AG Grid: could not find row id=${i}, data item was not found for this id`),null}else if(r=this.rootNode.allLeafChildren.find(t=>t.data===e),!r)return console.error("AG Grid: could not find data item as object was not found",e),console.error("Consider using getRowId to help the Grid find matching row data"),null;return r||null}createNode(e,t,r){const o=new i.RowNode(this.beans);return o.group=!1,this.setMasterForRow(o,e,r,!0),t&&!this.suppressParentsInRowNodes&&(o.parent=t),o.level=r,o.setDataAndId(e,this.nextId.toString()),this.allNodesMap[o.id]&&console.warn(`AG Grid: duplicate node id '${o.id}' detected from getRowId callback, this could cause issues in your grid.`),this.allNodesMap[o.id]=o,this.nextId++,o}setMasterForRow(e,t,r,i){if(this.doingTreeData)e.setMaster(!1),i&&(e.expanded=!1);else if(this.doingMasterDetail?this.isRowMasterFunc?e.setMaster(this.isRowMasterFunc(t)):e.setMaster(!0):e.setMaster(!1),i){const t=this.columnModel.getRowGroupColumns(),i=r+(t?t.length:0);e.expanded=!!e.master&&this.isExpanded(i)}}isExpanded(e){const t=this.gridOptionsService.getNum("groupDefaultExpanded");return-1===t||e<t}}o.TOP_LEVEL=0,o.ROOT_NODE_ID="ROOT_NODE_ID";var a,n=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};!function(e){e[e.Normal=0]="Normal",e[e.AfterFilter=1]="AfterFilter",e[e.AfterFilterAndSort=2]="AfterFilterAndSort",e[e.PivotNodes=3]="PivotNodes"}(a||(a={}));let s=class extends i.BeanStub{constructor(){super(...arguments),this.onRowHeightChanged_debounced=i._.debounce(this.onRowHeightChanged.bind(this),100),this.rowsToDisplay=[]}init(){const e=this.refreshModel.bind(this,{step:i.ClientSideRowModelSteps.EVERYTHING}),t=!this.gridOptionsService.is("suppressAnimationFrame"),r=this.refreshModel.bind(this,{step:i.ClientSideRowModelSteps.EVERYTHING,afterColumnsChanged:!0,keepRenderedRows:!0,animate:t});this.addManagedListener(this.eventService,i.Events.EVENT_NEW_COLUMNS_LOADED,r),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,e),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_VALUE_CHANGED,this.onValueChanged.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_PIVOT_CHANGED,this.refreshModel.bind(this,{step:i.ClientSideRowModelSteps.PIVOT})),this.addManagedListener(this.eventService,i.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,e),this.addManagedListener(this.eventService,i.Events.EVENT_GRID_STYLES_CHANGED,this.onGridStylesChanges.bind(this));const a=this.refreshModel.bind(this,{step:i.ClientSideRowModelSteps.MAP,keepRenderedRows:!0,animate:t});this.addManagedPropertyListener("groupRemoveSingleChildren",a),this.addManagedPropertyListener("groupRemoveLowestSingleChildren",a),this.rootNode=new i.RowNode(this.beans),this.nodeManager=new o(this.rootNode,this.gridOptionsService,this.eventService,this.columnModel,this.selectionService,this.beans)}start(){const e=this.gridOptionsService.get("rowData");e&&this.setRowData(e)}ensureRowHeightsValid(e,t,r,i){let o,a=!1;do{o=!1;const n=this.getRowIndexAtPixel(e),s=this.getRowIndexAtPixel(t),l=Math.max(n,r),g=Math.min(s,i);for(let e=l;e<=g;e++){const t=this.getRow(e);if(t.rowHeightEstimated){const e=this.gridOptionsService.getRowHeightForNode(t);t.setRowHeight(e.height),o=!0,a=!0}}o&&this.setRowTopAndRowIndex()}while(o);return a}setRowTopAndRowIndex(){const e=this.environment.getDefaultRowHeight();let t=0;const r=new Set,i=this.gridOptionsService.isDomLayout("normal");for(let o=0;o<this.rowsToDisplay.length;o++){const a=this.rowsToDisplay[o];if(null!=a.id&&r.add(a.id),null==a.rowHeight){const t=this.gridOptionsService.getRowHeightForNode(a,i,e);a.setRowHeight(t.height,t.estimated)}a.setRowTop(t),a.setRowIndex(o),t+=a.rowHeight}return r}clearRowTopAndRowIndex(e,t){const r=e.isActive(),i=e=>{e&&null!=e.id&&!t.has(e.id)&&e.clearRowTopAndRowIndex()},o=e=>{if(i(e),i(e.detailNode),i(e.sibling),e.hasChildren()&&e.childrenAfterGroup){const t=-1==e.level;r&&!t&&!e.expanded||e.childrenAfterGroup.forEach(o)}};o(this.rootNode)}ensureRowsAtPixel(e,t,r=0){const o=this.getRowIndexAtPixel(t),a=this.getRow(o),n=!this.gridOptionsService.is("suppressAnimationFrame");return a!==e[0]&&(e.forEach(e=>{i._.removeFromArray(this.rootNode.allLeafChildren,e)}),e.forEach((e,t)=>{i._.insertIntoArray(this.rootNode.allLeafChildren,e,Math.max(o+r,0)+t)}),this.refreshModel({step:i.ClientSideRowModelSteps.EVERYTHING,keepRenderedRows:!0,keepEditingRows:!0,animate:n}),!0)}highlightRowAtPixel(e,t){const r=null!=t?this.getRowIndexAtPixel(t):null,i=null!=r?this.getRow(r):null;if(!i||!e||i===e||null==t)return void(this.lastHighlightedRow&&(this.lastHighlightedRow.setHighlighted(null),this.lastHighlightedRow=null));const o=this.getHighlightPosition(t,i);this.lastHighlightedRow&&this.lastHighlightedRow!==i&&(this.lastHighlightedRow.setHighlighted(null),this.lastHighlightedRow=null),i.setHighlighted(o),this.lastHighlightedRow=i}getHighlightPosition(e,t){if(!t){const r=this.getRowIndexAtPixel(e);if(!(t=this.getRow(r||0)))return i.RowHighlightPosition.Below}const{rowTop:r,rowHeight:o}=t;return e-r<o/2?i.RowHighlightPosition.Above:i.RowHighlightPosition.Below}getLastHighlightedRowNode(){return this.lastHighlightedRow}isLastRowIndexKnown(){return!0}getRowCount(){return this.rowsToDisplay?this.rowsToDisplay.length:0}getTopLevelRowCount(){if(this.rowsToDisplay&&this.rowsToDisplay[0]===this.rootNode)return 1;const e=this.rootNode.childrenAfterAggFilter;return e?e.length:0}getTopLevelRowDisplayedIndex(e){if(this.rowsToDisplay&&this.rowsToDisplay[0]===this.rootNode)return e;let t=this.rootNode.childrenAfterSort[e];if(this.gridOptionsService.is("groupHideOpenParents"))for(;t.expanded&&t.childrenAfterSort&&t.childrenAfterSort.length>0;)t=t.childrenAfterSort[0];return t.rowIndex}getRowBounds(e){if(i._.missing(this.rowsToDisplay))return null;const t=this.rowsToDisplay[e];return t?{rowTop:t.rowTop,rowHeight:t.rowHeight}:null}onRowGroupOpened(){const e=this.gridOptionsService.isAnimateRows();this.refreshModel({step:i.ClientSideRowModelSteps.MAP,keepRenderedRows:!0,animate:e})}onFilterChanged(e){if(e.afterDataChange)return;const t=this.gridOptionsService.isAnimateRows(),r=0===e.columns.length||e.columns.some(e=>e.isPrimary())?i.ClientSideRowModelSteps.FILTER:i.ClientSideRowModelSteps.FILTER_AGGREGATES;this.refreshModel({step:r,keepRenderedRows:!0,animate:t})}onSortChanged(){const e=this.gridOptionsService.isAnimateRows();this.refreshModel({step:i.ClientSideRowModelSteps.SORT,keepRenderedRows:!0,animate:e,keepEditingRows:!0})}getType(){return"clientSide"}onValueChanged(){this.columnModel.isPivotActive()?this.refreshModel({step:i.ClientSideRowModelSteps.PIVOT}):this.refreshModel({step:i.ClientSideRowModelSteps.AGGREGATE})}createChangePath(e){const t=i._.missingOrEmpty(e),r=new i.ChangedPath(!1,this.rootNode);return(t||this.gridOptionsService.isTreeData())&&r.setInactive(),r}isSuppressModelUpdateAfterUpdateTransaction(e){if(!this.gridOptionsService.is("suppressModelUpdateAfterUpdateTransaction"))return!1;if(null==e.rowNodeTransactions)return!1;const t=e.rowNodeTransactions.filter(e=>null!=e.add&&e.add.length>0||null!=e.remove&&e.remove.length>0);return null==t||0==t.length}buildRefreshModelParams(e){let t=i.ClientSideRowModelSteps.EVERYTHING;const r={everything:i.ClientSideRowModelSteps.EVERYTHING,group:i.ClientSideRowModelSteps.EVERYTHING,filter:i.ClientSideRowModelSteps.FILTER,map:i.ClientSideRowModelSteps.MAP,aggregate:i.ClientSideRowModelSteps.AGGREGATE,sort:i.ClientSideRowModelSteps.SORT,pivot:i.ClientSideRowModelSteps.PIVOT};if(i._.exists(e)&&(t=r[e]),i._.missing(t))return void console.error(`AG Grid: invalid step ${e}, available steps are ${Object.keys(r).join(", ")}`);return{step:t,keepRenderedRows:!0,keepEditingRows:!0,animate:!this.gridOptionsService.is("suppressAnimationFrame")}}refreshModel(e){let t="object"==typeof e&&"step"in e?e:this.buildRefreshModelParams(e);if(!t)return;if(this.isSuppressModelUpdateAfterUpdateTransaction(t))return;const r=this.createChangePath(t.rowNodeTransactions);switch(t.step){case i.ClientSideRowModelSteps.EVERYTHING:this.doRowGrouping(t.groupState,t.rowNodeTransactions,t.rowNodeOrder,r,!!t.afterColumnsChanged);case i.ClientSideRowModelSteps.FILTER:this.doFilter(r);case i.ClientSideRowModelSteps.PIVOT:this.doPivot(r);case i.ClientSideRowModelSteps.AGGREGATE:this.doAggregate(r);case i.ClientSideRowModelSteps.FILTER_AGGREGATES:this.doFilterAggregates(r);case i.ClientSideRowModelSteps.SORT:this.doSort(t.rowNodeTransactions,r);case i.ClientSideRowModelSteps.MAP:this.doRowsToDisplay()}const o=this.setRowTopAndRowIndex();this.clearRowTopAndRowIndex(r,o);const a={type:i.Events.EVENT_MODEL_UPDATED,animate:t.animate,keepRenderedRows:t.keepRenderedRows,newData:t.newData,newPage:!1,keepUndoRedoStack:t.keepUndoRedoStack};this.eventService.dispatchEvent(a)}isEmpty(){const e=i._.missing(this.rootNode.allLeafChildren)||0===this.rootNode.allLeafChildren.length;return i._.missing(this.rootNode)||e||!this.columnModel.isReady()}isRowsToRender(){return i._.exists(this.rowsToDisplay)&&this.rowsToDisplay.length>0}getNodesInRangeForSelection(e,t){let r=!t,i=!1;const o=[],a=this.gridOptionsService.is("groupSelectsChildren");return this.forEachNodeAfterFilterAndSort(n=>{if(i)return;if(r&&(n===t||n===e)&&(i=!0,n.group&&a))return void o.push(...n.allLeafChildren);if(!r){if(n!==t&&n!==e)return;r=!0}(!n.group||!a)&&o.push(n)}),o}setDatasource(e){console.error("AG Grid: should never call setDatasource on clientSideRowController")}getTopLevelNodes(){return this.rootNode?this.rootNode.childrenAfterGroup:null}getRootNode(){return this.rootNode}getRow(e){return this.rowsToDisplay[e]}isRowPresent(e){return this.rowsToDisplay.indexOf(e)>=0}getRowIndexAtPixel(e){if(this.isEmpty()||0===this.rowsToDisplay.length)return-1;let t=0,r=this.rowsToDisplay.length-1;if(e<=0)return 0;if(i._.last(this.rowsToDisplay).rowTop<=e)return this.rowsToDisplay.length-1;let o=-1,a=-1;for(;;){const i=Math.floor((t+r)/2),n=this.rowsToDisplay[i];if(this.isRowInPixel(n,e))return i;n.rowTop<e?t=i+1:n.rowTop>e&&(r=i-1);if(o===t&&a===r)return i;o=t,a=r}}isRowInPixel(e,t){const r=e.rowTop,i=e.rowTop+e.rowHeight;return r<=t&&i>t}forEachLeafNode(e){this.rootNode.allLeafChildren&&this.rootNode.allLeafChildren.forEach((t,r)=>e(t,r))}forEachNode(e,t=!1){this.recursivelyWalkNodesAndCallback({nodes:[...this.rootNode.childrenAfterGroup||[]],callback:e,recursionType:a.Normal,index:0,includeFooterNodes:t})}forEachNodeAfterFilter(e,t=!1){this.recursivelyWalkNodesAndCallback({nodes:[...this.rootNode.childrenAfterAggFilter||[]],callback:e,recursionType:a.AfterFilter,index:0,includeFooterNodes:t})}forEachNodeAfterFilterAndSort(e,t=!1){this.recursivelyWalkNodesAndCallback({nodes:[...this.rootNode.childrenAfterSort||[]],callback:e,recursionType:a.AfterFilterAndSort,index:0,includeFooterNodes:t})}forEachPivotNode(e,t=!1){this.recursivelyWalkNodesAndCallback({nodes:[this.rootNode],callback:e,recursionType:a.PivotNodes,index:0,includeFooterNodes:t})}recursivelyWalkNodesAndCallback(e){var t;const{nodes:r,callback:i,recursionType:o,includeFooterNodes:n}=e;let{index:s}=e;const l=r[0];n&&(null===(t=null==l?void 0:l.parent)||void 0===t?void 0:t.sibling)&&r.push(l.parent.sibling);for(let e=0;e<r.length;e++){const t=r[e];if(i(t,s++),t.hasChildren()&&!t.footer){let e=null;switch(o){case a.Normal:e=t.childrenAfterGroup;break;case a.AfterFilter:e=t.childrenAfterAggFilter;break;case a.AfterFilterAndSort:e=t.childrenAfterSort;break;case a.PivotNodes:e=t.leafGroup?null:t.childrenAfterSort}e&&(s=this.recursivelyWalkNodesAndCallback({nodes:[...e],callback:i,recursionType:o,index:s,includeFooterNodes:n}))}}return s}doAggregate(e){this.aggregationStage&&this.aggregationStage.execute({rowNode:this.rootNode,changedPath:e})}doFilterAggregates(e){this.filterAggregatesStage?this.filterAggregatesStage.execute({rowNode:this.rootNode,changedPath:e}):this.rootNode.childrenAfterAggFilter=this.rootNode.childrenAfterFilter}expandOrCollapseAll(e){const t=this.gridOptionsService.isTreeData(),r=this.columnModel.isPivotActive(),o=a=>{a&&a.forEach(a=>{const n=()=>{a.expanded=e,o(a.childrenAfterGroup)};if(t){return void(i._.exists(a.childrenAfterGroup)&&n())}if(r){return void(!a.leafGroup&&n())}a.group&&n()})};this.rootNode&&o(this.rootNode.childrenAfterGroup),this.refreshModel({step:i.ClientSideRowModelSteps.MAP});const a=e?"expandAll":"collapseAll",n={type:i.Events.EVENT_EXPAND_COLLAPSE_ALL,source:a};this.eventService.dispatchEvent(n)}doSort(e,t){this.sortStage.execute({rowNode:this.rootNode,rowNodeTransactions:e,changedPath:t})}doRowGrouping(e,t,r,o,a){if(this.groupStage){if(t?this.groupStage.execute({rowNode:this.rootNode,rowNodeTransactions:t,rowNodeOrder:r,changedPath:o}):(this.groupStage.execute({rowNode:this.rootNode,changedPath:o,afterColumnsChanged:a}),this.restoreGroupState(e)),this.gridOptionsService.is("groupSelectsChildren")){if(this.selectionService.updateGroupsFromChildrenSelections("rowGroupChanged",o)){const e={type:i.Events.EVENT_SELECTION_CHANGED,source:"rowGroupChanged"};this.eventService.dispatchEvent(e)}}}else this.rootNode.childrenAfterGroup=this.rootNode.allLeafChildren,this.rootNode.sibling&&(this.rootNode.sibling.childrenAfterGroup=this.rootNode.childrenAfterGroup),this.rootNode.updateHasChildren()}restoreGroupState(e){e&&i._.traverseNodesWithKey(this.rootNode.childrenAfterGroup,(t,r)=>{"boolean"==typeof e[r]&&(t.expanded=e[r])})}doFilter(e){this.filterStage.execute({rowNode:this.rootNode,changedPath:e})}doPivot(e){this.pivotStage&&this.pivotStage.execute({rowNode:this.rootNode,changedPath:e})}getGroupState(){if(!this.rootNode.childrenAfterGroup||!this.gridOptionsService.is("rememberGroupStateWhenNewData"))return null;const e={};return i._.traverseNodesWithKey(this.rootNode.childrenAfterGroup,(t,r)=>e[r]=t.expanded),e}getCopyOfNodesMap(){return this.nodeManager.getCopyOfNodesMap()}getRowNode(e){if("string"==typeof e&&0==e.indexOf(i.RowNode.ID_PREFIX_ROW_GROUP)){let t=void 0;return this.forEachNode(r=>{r.id===e&&(t=r)}),t}return this.nodeManager.getRowNode(e)}setRowData(e){const t=this.getGroupState();this.nodeManager.setRowData(e),this.selectionService.reset(),this.filterManager.onNewRowsLoaded("rowDataUpdated");const r={type:i.Events.EVENT_ROW_DATA_UPDATED};this.eventService.dispatchEvent(r),this.refreshModel({step:i.ClientSideRowModelSteps.EVERYTHING,groupState:t,newData:!0})}batchUpdateRowData(e,t){if(null==this.applyAsyncTransactionsTimeout){this.rowDataTransactionBatch=[];const e=this.gridOptionsService.getAsyncTransactionWaitMillis();this.applyAsyncTransactionsTimeout=window.setTimeout(()=>{this.executeBatchUpdateRowData()},e)}this.rowDataTransactionBatch.push({rowDataTransaction:e,callback:t})}flushAsyncTransactions(){null!=this.applyAsyncTransactionsTimeout&&(clearTimeout(this.applyAsyncTransactionsTimeout),this.executeBatchUpdateRowData())}executeBatchUpdateRowData(){this.valueCache.onDataChanged();const e=[],t=[];let r=!1;if(this.rowDataTransactionBatch&&this.rowDataTransactionBatch.forEach(i=>{const o=this.nodeManager.updateRowData(i.rowDataTransaction,void 0);t.push(o),i.callback&&e.push(i.callback.bind(null,o)),"number"==typeof i.rowDataTransaction.addIndex&&(r=!0)}),this.commonUpdateRowData(t,void 0,r),e.length>0&&window.setTimeout(()=>{e.forEach(e=>e())},0),t.length>0){const e={type:i.Events.EVENT_ASYNC_TRANSACTIONS_FLUSHED,results:t};this.eventService.dispatchEvent(e)}this.rowDataTransactionBatch=null,this.applyAsyncTransactionsTimeout=void 0}updateRowData(e,t){this.valueCache.onDataChanged();const r=this.nodeManager.updateRowData(e,t),i="number"==typeof e.addIndex;return this.commonUpdateRowData([r],t,i),r}createRowNodeOrder(){if(this.gridOptionsService.is("suppressMaintainUnsortedOrder"))return;const e={};if(this.rootNode&&this.rootNode.allLeafChildren)for(let t=0;t<this.rootNode.allLeafChildren.length;t++){e[this.rootNode.allLeafChildren[t].id]=t}return e}commonUpdateRowData(e,t,r){const o=!this.gridOptionsService.is("suppressAnimationFrame");r&&(t=this.createRowNodeOrder()),this.refreshModel({step:i.ClientSideRowModelSteps.EVERYTHING,rowNodeTransactions:e,rowNodeOrder:t,keepRenderedRows:!0,keepEditingRows:!0,animate:o}),this.filterManager.onNewRowsLoaded("rowDataUpdated");const a={type:i.Events.EVENT_ROW_DATA_UPDATED};this.eventService.dispatchEvent(a)}doRowsToDisplay(){this.rowsToDisplay=this.flattenStage.execute({rowNode:this.rootNode})}onRowHeightChanged(){this.refreshModel({step:i.ClientSideRowModelSteps.MAP,keepRenderedRows:!0,keepEditingRows:!0,keepUndoRedoStack:!0})}onRowHeightChangedDebounced(){this.onRowHeightChanged_debounced()}resetRowHeights(){const e=this.resetRowHeightsForAllRowNodes();this.rootNode.setRowHeight(this.rootNode.rowHeight,!0),e&&this.onRowHeightChanged()}resetRowHeightsForAllRowNodes(){let e=!1;return this.forEachNode(t=>{t.setRowHeight(t.rowHeight,!0);const r=t.detailNode;r&&r.setRowHeight(r.rowHeight,!0),e=!0}),e}onGridStylesChanges(){this.columnModel.isAutoRowHeightActive()||this.resetRowHeights()}};n([Object(i.Autowired)("columnModel")],s.prototype,"columnModel",void 0),n([Object(i.Autowired)("selectionService")],s.prototype,"selectionService",void 0),n([Object(i.Autowired)("filterManager")],s.prototype,"filterManager",void 0),n([Object(i.Autowired)("valueCache")],s.prototype,"valueCache",void 0),n([Object(i.Autowired)("beans")],s.prototype,"beans",void 0),n([Object(i.Autowired)("filterStage")],s.prototype,"filterStage",void 0),n([Object(i.Autowired)("sortStage")],s.prototype,"sortStage",void 0),n([Object(i.Autowired)("flattenStage")],s.prototype,"flattenStage",void 0),n([Object(i.Optional)("groupStage")],s.prototype,"groupStage",void 0),n([Object(i.Optional)("aggregationStage")],s.prototype,"aggregationStage",void 0),n([Object(i.Optional)("pivotStage")],s.prototype,"pivotStage",void 0),n([Object(i.Optional)("filterAggregatesStage")],s.prototype,"filterAggregatesStage",void 0),n([i.PostConstruct],s.prototype,"init",null),s=n([Object(i.Bean)("rowModel")],s);var l=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let g=class extends i.BeanStub{execute(e){const{changedPath:t}=e;this.filterService.filter(t)}};l([Object(i.Autowired)("filterService")],g.prototype,"filterService",void 0),g=l([Object(i.Bean)("filterStage")],g);var d=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let c=class extends i.BeanStub{execute(e){const t=this.sortController.getSortOptions(),r=i._.exists(t)&&t.length>0,o=r&&i._.exists(e.rowNodeTransactions)&&this.gridOptionsService.is("deltaSort"),a=t.some(e=>!!this.columnModel.getGroupDisplayColumnForGroup(e.column.getId()));this.sortService.sort(t,r,o,e.rowNodeTransactions,e.changedPath,a)}};d([Object(i.Autowired)("sortService")],c.prototype,"sortService",void 0),d([Object(i.Autowired)("sortController")],c.prototype,"sortController",void 0),d([Object(i.Autowired)("columnModel")],c.prototype,"columnModel",void 0),c=d([Object(i.Bean)("sortStage")],c);var u=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let p=class extends i.BeanStub{execute(e){const t=e.rowNode,r=[],i={value:0},o=this.columnModel.isPivotMode(),a=o&&t.leafGroup,n=a?[t]:t.childrenAfterSort;this.recursivelyAddToRowsToDisplay(n,r,i,o,0);return!a&&r.length>0&&this.gridOptionsService.is("groupIncludeTotalFooter")&&(t.createFooter(),this.addRowNodeToRowsToDisplay(t.sibling,r,i,0)),r}recursivelyAddToRowsToDisplay(e,t,r,o,a){if(i._.missingOrEmpty(e))return;const n=this.gridOptionsService.is("groupHideOpenParents"),s=this.gridOptionsService.is("groupRemoveSingleChildren"),l=!s&&this.gridOptionsService.is("groupRemoveLowestSingleChildren");for(let i=0;i<e.length;i++){const g=e[i],d=g.hasChildren(),c=o&&!d,u=s&&d&&1===g.childrenAfterGroup.length,p=l&&d&&g.leafGroup&&1===g.childrenAfterGroup.length,h=o&&g.leafGroup,v=n&&g.expanded&&!g.master&&!h;if(!(c||v||u||p)&&this.addRowNodeToRowsToDisplay(g,t,r,a),!o||!g.leafGroup)if(d){const e=u||p;if(g.expanded||e){const i=e?a:a+1;this.recursivelyAddToRowsToDisplay(g.childrenAfterSort,t,r,o,i),this.gridOptionsService.is("groupIncludeFooter")&&this.addRowNodeToRowsToDisplay(g.sibling,t,r,i)}}else if(g.master&&g.expanded){const e=this.createDetailNode(g);this.addRowNodeToRowsToDisplay(e,t,r,a)}}}addRowNodeToRowsToDisplay(e,t,r,i){const o=this.gridOptionsService.isGroupMultiAutoColumn();t.push(e),e.setUiLevel(o?0:i)}createDetailNode(e){if(i._.exists(e.detailNode))return e.detailNode;const t=new i.RowNode(this.beans);return t.detail=!0,t.selectable=!1,t.parent=e,i._.exists(e.id)&&(t.id="detail_"+e.id),t.data=e.data,t.level=e.level+1,e.detailNode=t,t}};u([Object(i.Autowired)("columnModel")],p.prototype,"columnModel",void 0),u([Object(i.Autowired)("beans")],p.prototype,"beans",void 0),p=u([Object(i.Bean)("flattenStage")],p);var h=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let v=class extends i.BeanStub{init(){this.postSortFunc=this.gridOptionsService.getCallback("postSortRows")}sort(e,t,r,i,o,a){const n=this.gridOptionsService.is("groupMaintainOrder"),s=this.columnModel.getAllGridColumns().some(e=>e.isRowGroupActive());let l={};r&&i&&(l=this.calculateDirtyNodes(i));const g=this.columnModel.isPivotMode(),d=i=>{this.pullDownGroupDataForHideOpenParents(i.childrenAfterAggFilter,!0);const d=g&&i.leafGroup;if(n&&s&&!i.leafGroup&&!a){const e=i.childrenAfterAggFilter.slice(0);if(i.childrenAfterSort){const t={};i.childrenAfterSort.forEach((e,r)=>{t[e.id]=r}),e.sort((e,r)=>{var i,o;return(null!==(i=t[e.id])&&void 0!==i?i:0)-(null!==(o=t[r.id])&&void 0!==o?o:0)})}i.childrenAfterSort=e}else i.childrenAfterSort=!t||d?i.childrenAfterAggFilter.slice(0):r?this.doDeltaSort(i,l,o,e):this.rowNodeSorter.doFullSort(i.childrenAfterAggFilter,e);if(i.sibling&&(i.sibling.childrenAfterSort=i.childrenAfterSort),this.updateChildIndexes(i),this.postSortFunc){const e={nodes:i.childrenAfterSort};this.postSortFunc(e)}};o&&o.forEachChangedNodeDepthFirst(d),this.updateGroupDataForHideOpenParents(o)}calculateDirtyNodes(e){const t={},r=e=>{e&&e.forEach(e=>t[e.id]=!0)};return e&&e.forEach(e=>{r(e.add),r(e.update),r(e.remove)}),t}doDeltaSort(e,t,r,i){const o=e.childrenAfterAggFilter,a=e.childrenAfterSort;if(!a)return this.rowNodeSorter.doFullSort(o,i);const n={},s=[];o.forEach(e=>{t[e.id]||!r.canSkip(e)?s.push(e):n[e.id]=!0});const l=a.filter(e=>n[e.id]),g=(e,t)=>({currentPos:t,rowNode:e}),d=s.map(g).sort((e,t)=>this.rowNodeSorter.compareRowNodes(i,e,t));return this.mergeSortedArrays(i,d,l.map(g)).map(({rowNode:e})=>e)}mergeSortedArrays(e,t,r){const i=[];let o=0,a=0;for(;o<t.length&&a<r.length;){this.rowNodeSorter.compareRowNodes(e,t[o],r[a])<0?i.push(t[o++]):i.push(r[a++])}for(;o<t.length;)i.push(t[o++]);for(;a<r.length;)i.push(r[a++]);return i}updateChildIndexes(e){if(i._.missing(e.childrenAfterSort))return;const t=e.childrenAfterSort;for(let r=0;r<t.length;r++){const i=t[r],o=0===r,a=r===e.childrenAfterSort.length-1;i.setFirstChild(o),i.setLastChild(a),i.setChildIndex(r)}}updateGroupDataForHideOpenParents(e){if(!this.gridOptionsService.is("groupHideOpenParents"))return;if(this.gridOptionsService.isTreeData()){const e="AG Grid: The property hideOpenParents dose not work with Tree Data. This is because Tree Data has values at the group level, it doesn't make sense to hide them (as opposed to Row Grouping, which only has Aggregated Values at the group level).";return i._.doOnce(()=>console.warn(e),"sortService.hideOpenParentsWithTreeData"),!1}const t=e=>{this.pullDownGroupDataForHideOpenParents(e.childrenAfterSort,!1),e.childrenAfterSort.forEach(e=>{e.hasChildren()&&t(e)})};e&&e.executeFromRootNode(e=>t(e))}pullDownGroupDataForHideOpenParents(e,t){this.gridOptionsService.is("groupHideOpenParents")&&!i._.missing(e)&&e.forEach(e=>{this.columnModel.getGroupDisplayColumns().forEach(r=>{const i=r.getColDef().showRowGroup;if("string"!=typeof i)return void console.error("AG Grid: groupHideOpenParents only works when specifying specific columns for colDef.showRowGroup");const o=i,a=this.columnModel.getPrimaryColumn(o);if(!(a===e.rowGroupColumn))if(t)e.setGroupValue(r.getId(),void 0);else{const t=e.getFirstChildOfFirstChild(a);t&&e.setGroupValue(r.getId(),t.key)}})})}};h([Object(i.Autowired)("columnModel")],v.prototype,"columnModel",void 0),h([Object(i.Autowired)("rowNodeSorter")],v.prototype,"rowNodeSorter",void 0),h([i.PostConstruct],v.prototype,"init",null),v=h([Object(i.Bean)("sortService")],v);var f=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let m=class extends i.BeanStub{filter(e){const t=this.filterManager.isColumnFilterPresent()||this.filterManager.isQuickFilterPresent()||this.filterManager.isExternalFilterPresent();this.filterNodes(t,e)}filterNodes(e,t){const r=(t,r)=>{t.hasChildren()?t.childrenAfterFilter=e&&!r?t.childrenAfterGroup.filter(e=>{const t=e.childrenAfterFilter&&e.childrenAfterFilter.length>0,r=e.data&&this.filterManager.doesRowPassFilter({rowNode:e});return t||r}):t.childrenAfterGroup:t.childrenAfterFilter=t.childrenAfterGroup,t.sibling&&(t.sibling.childrenAfterFilter=t.childrenAfterFilter)};if(this.doingTreeDataFiltering()){const e=(t,i)=>{if(t.childrenAfterGroup)for(let o=0;o<t.childrenAfterGroup.length;o++){const a=t.childrenAfterGroup[o],n=i||this.filterManager.doesRowPassFilter({rowNode:a});a.childrenAfterGroup?e(t.childrenAfterGroup[o],n):r(a,n)}r(t,i)},i=t=>e(t,!1);t.executeFromRootNode(i)}else{const e=e=>r(e,!1);t.forEachChangedNodeDepthFirst(e,!0)}}doingTreeDataFiltering(){return this.gridOptionsService.isTreeData()&&!this.gridOptionsService.is("excludeChildrenWhenTreeDataFiltering")}};f([Object(i.Autowired)("filterManager")],m.prototype,"filterManager",void 0),m=f([Object(i.Bean)("filterService")],m);var w=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let C=class extends i.BeanStub{postConstruct(){"clientSide"===this.rowModel.getType()&&(this.clientSideRowModel=this.rowModel)}isActive(){const e=this.gridOptionsService.exists("getRowId");return!this.gridOptionsService.is("resetRowDataOnUpdate")&&e}setRowData(e){const t=this.createTransactionForRowData(e);if(!t)return;const[r,i]=t;this.clientSideRowModel.updateRowData(r,i)}createTransactionForRowData(e){if(i._.missing(this.clientSideRowModel))return void console.error("AG Grid: ImmutableService only works with ClientSideRowModel");const t=this.gridOptionsService.getCallback("getRowId");if(null==t)return void console.error("AG Grid: ImmutableService requires getRowId() callback to be implemented, your row data needs IDs!");const r={remove:[],update:[],add:[]},o=this.clientSideRowModel.getCopyOfNodesMap(),a=this.gridOptionsService.is("suppressMaintainUnsortedOrder")?void 0:{};return i._.exists(e)&&e.forEach((e,i)=>{const n=t({data:e,level:0}),s=o[n];if(a&&(a[n]=i),s){s.data!==e&&r.update.push(e),o[n]=void 0}else r.add.push(e)}),i._.iterateObject(o,(e,t)=>{t&&r.remove.push(t.data)}),[r,a]}};w([Object(i.Autowired)("rowModel")],C.prototype,"rowModel",void 0),w([Object(i.Autowired)("rowRenderer")],C.prototype,"rowRenderer",void 0),w([i.PostConstruct],C.prototype,"postConstruct",null),C=w([Object(i.Bean)("immutableService")],C);const b={version:"30.0.5",moduleName:i.ModuleNames.ClientSideRowModelModule,rowModel:"clientSide",beans:[s,g,c,p,v,m,C]}},function(e,t,r){"use strict";r.r(t),r.d(t,"BaseCreator",(function(){return i})),r.d(t,"BaseGridSerializingSession",(function(){return o})),r.d(t,"CsvCreator",(function(){return g})),r.d(t,"CsvExportModule",(function(){return p})),r.d(t,"Downloader",(function(){return n})),r.d(t,"GridSerializer",(function(){return u})),r.d(t,"RowType",(function(){return d})),r.d(t,"XmlFactory",(function(){return h})),r.d(t,"ZipContainer",(function(){return f}));class i{setBeans(e){this.beans=e}getFileName(e){const t=this.getDefaultFileExtension();return null!=e&&e.length||(e=this.getDefaultFileName()),-1===e.indexOf(".")?`${e}.${t}`:e}getData(e){const t=this.createSerializingSession(e);return this.beans.gridSerializer.serialize(t,e)}}class o{constructor(e){this.groupColumns=[];const{columnModel:t,valueService:r,gridOptionsService:i,valueFormatterService:o,valueParserService:a,processCellCallback:n,processHeaderCallback:s,processGroupHeaderCallback:l,processRowGroupCallback:g}=e;this.columnModel=t,this.valueService=r,this.gridOptionsService=i,this.valueFormatterService=o,this.valueParserService=a,this.processCellCallback=n,this.processHeaderCallback=s,this.processGroupHeaderCallback=l,this.processRowGroupCallback=g}prepare(e){this.groupColumns=e.filter(e=>!!e.getColDef().showRowGroup)}extractHeaderValue(e){const t=this.getHeaderName(this.processHeaderCallback,e);return null!=t?t:""}extractRowCellValue(e,t,r,i,o){const a=this.gridOptionsService.is("groupHideOpenParents")&&!o.footer||!this.shouldRenderGroupSummaryCell(o,e,t)?this.valueService.getValue(e,o):this.createValueForGroupNode(o);return this.processCell({accumulatedRowIndex:r,rowNode:o,column:e,value:a,processCellCallback:this.processCellCallback,type:i})}shouldRenderGroupSummaryCell(e,t,r){var i;if(!(e&&e.group))return!1;if(-1!==this.groupColumns.indexOf(t)){if(null!=(null===(i=e.groupData)||void 0===i?void 0:i[t.getId()]))return!0;if(e.footer&&-1===e.level){const e=t.getColDef();return null==e||!0===e.showRowGroup||e.showRowGroup===this.columnModel.getRowGroupColumns()[0].getId()}}const o=this.gridOptionsService.isGroupUseEntireRow(this.columnModel.isPivotMode());return 0===r&&o}getHeaderName(e,t){return e?e({column:t,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context}):this.columnModel.getDisplayNameForColumn(t,"csv",!0)}createValueForGroupNode(e){if(this.processRowGroupCallback)return this.processRowGroupCallback({node:e,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context});const t=e.footer,r=[e.key];if(!this.gridOptionsService.isGroupMultiAutoColumn())for(;e.parent;)e=e.parent,r.push(e.key);const i=r.reverse().join(" -> ");return t?"Total "+i:i}processCell(e){var t;const{accumulatedRowIndex:r,rowNode:i,column:o,value:a,processCellCallback:n,type:s}=e;return n?{value:null!==(t=n({accumulatedRowIndex:r,column:o,node:i,value:a,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context,type:s,parseValue:e=>this.valueParserService.parseValue(o,i,e,this.valueService.getValue(o,i)),formatValue:e=>{var t;return null!==(t=this.valueFormatterService.formatValue(o,i,e))&&void 0!==t?t:e}}))&&void 0!==t?t:""}:o.getColDef().useValueFormatterForExport?{value:null!=a?a:"",valueFormatted:this.valueFormatterService.formatValue(o,i,a)}:{value:null!=a?a:""}}}var a=r(0);class n{static download(e,t){const r=document.defaultView||window;if(!r)return void console.warn("AG Grid: There is no `window` associated with the current `document`");const i=document.createElement("a"),o=r.URL.createObjectURL(t);i.setAttribute("href",o),i.setAttribute("download",e),i.style.display="none",document.body.appendChild(i),i.dispatchEvent(new MouseEvent("click",{bubbles:!1,cancelable:!0,view:r})),document.body.removeChild(i),r.setTimeout(()=>{r.URL.revokeObjectURL(o)},0)}}class s extends o{constructor(e){super(e),this.isFirstLine=!0,this.result="";const{suppressQuotes:t,columnSeparator:r}=e;this.suppressQuotes=t,this.columnSeparator=r}addCustomContent(e){e&&("string"==typeof e?(/^\s*\n/.test(e)||this.beginNewLine(),e=e.replace(/\r?\n/g,"\r\n"),this.result+=e):e.forEach(e=>{this.beginNewLine(),e.forEach((e,t)=>{0!==t&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(e.data.value||""),e.mergeAcross&&this.appendEmptyCells(e.mergeAcross)})}))}onNewHeaderGroupingRow(){return this.beginNewLine(),{onColumn:this.onNewHeaderGroupingRowColumn.bind(this)}}onNewHeaderGroupingRowColumn(e,t,r,i){0!=r&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(t),this.appendEmptyCells(i)}appendEmptyCells(e){for(let t=1;t<=e;t++)this.result+=this.columnSeparator+this.putInQuotes("")}onNewHeaderRow(){return this.beginNewLine(),{onColumn:this.onNewHeaderRowColumn.bind(this)}}onNewHeaderRowColumn(e,t){0!=t&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(this.extractHeaderValue(e))}onNewBodyRow(){return this.beginNewLine(),{onColumn:this.onNewBodyRowColumn.bind(this)}}onNewBodyRowColumn(e,t,r){var i;0!=t&&(this.result+=this.columnSeparator);const o=this.extractRowCellValue(e,t,t,"csv",r);this.result+=this.putInQuotes(null!==(i=o.valueFormatted)&&void 0!==i?i:o.value)}putInQuotes(e){if(this.suppressQuotes)return e;if(null==e)return'""';let t;"string"==typeof e?t=e:"function"==typeof e.toString?t=e.toString():(console.warn("AG Grid: unknown value type during csv conversion"),t="");return'"'+t.replace(/"/g,'""')+'"'}parse(){return this.result}beginNewLine(){this.isFirstLine||(this.result+="\r\n"),this.isFirstLine=!1}}var l=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let g=class extends i{postConstruct(){this.setBeans({gridSerializer:this.gridSerializer,gridOptionsService:this.gridOptionsService})}getMergedParams(e){const t=this.gridOptionsService.get("defaultCsvExportParams");return Object.assign({},t,e)}export(e){if(this.isExportSuppressed())return console.warn("AG Grid: Export cancelled. Export is not allowed as per your configuration."),"";const t=this.getMergedParams(e),r=this.getData(t),i=new Blob(["\ufeff",r],{type:"text/plain"});return n.download(this.getFileName(t.fileName),i),r}exportDataAsCsv(e){return this.export(e)}getDataAsCsv(e,t=!1){const r=t?Object.assign({},e):this.getMergedParams(e);return this.getData(r)}getDefaultFileName(){return"export.csv"}getDefaultFileExtension(){return"csv"}createSerializingSession(e){const{columnModel:t,valueService:r,gridOptionsService:i,valueFormatterService:o,valueParserService:a}=this,{processCellCallback:n,processHeaderCallback:l,processGroupHeaderCallback:g,processRowGroupCallback:d,suppressQuotes:c,columnSeparator:u}=e;return new s({columnModel:t,valueService:r,gridOptionsService:i,valueFormatterService:o,valueParserService:a,processCellCallback:n||void 0,processHeaderCallback:l||void 0,processGroupHeaderCallback:g||void 0,processRowGroupCallback:d||void 0,suppressQuotes:c||!1,columnSeparator:u||","})}isExportSuppressed(){return this.gridOptionsService.is("suppressCsvExport")}};l([Object(a.Autowired)("columnModel")],g.prototype,"columnModel",void 0),l([Object(a.Autowired)("valueService")],g.prototype,"valueService",void 0),l([Object(a.Autowired)("gridSerializer")],g.prototype,"gridSerializer",void 0),l([Object(a.Autowired)("gridOptionsService")],g.prototype,"gridOptionsService",void 0),l([Object(a.Autowired)("valueFormatterService")],g.prototype,"valueFormatterService",void 0),l([Object(a.Autowired)("valueParserService")],g.prototype,"valueParserService",void 0),l([a.PostConstruct],g.prototype,"postConstruct",null),g=l([Object(a.Bean)("csvCreator")],g);var d,c=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};!function(e){e[e.HEADER_GROUPING=0]="HEADER_GROUPING",e[e.HEADER=1]="HEADER",e[e.BODY=2]="BODY"}(d||(d={}));let u=class extends a.BeanStub{serialize(e,t={}){const r=this.getColumnsToExport(t.allColumns,t.columnKeys);return a._.compose(this.prepareSession(r),this.prependContent(t),this.exportColumnGroups(t,r),this.exportHeaders(t,r),this.processPinnedTopRows(t,r),this.processRows(t,r),this.processPinnedBottomRows(t,r),this.appendContent(t))(e).parse()}processRow(e,t,r,i){const o=t.shouldRowBeSkipped||(()=>!1),n=this.gridOptionsService.context,s=this.gridOptionsService.api,l=this.gridOptionsService.columnApi,g=this.gridOptionsService.is("groupRemoveSingleChildren"),d=this.gridOptionsService.is("groupRemoveLowestSingleChildren"),c=null!=t.rowPositions||!!t.onlySelected,u=this.gridOptionsService.is("groupHideOpenParents")&&!c,p=this.columnModel.isPivotMode()?i.leafGroup:!i.group,h=!!i.footer,v=t.skipGroups||t.skipRowGroups,f=d&&i.leafGroup,m=1===i.allChildrenCount&&(g||f);if(v&&t.skipGroups&&a._.doOnce(()=>console.warn("AG Grid: Since v25.2 `skipGroups` has been renamed to `skipRowGroups`."),"gridSerializer-skipGroups"),!p&&!h&&(t.skipRowGroups||m||u)||t.onlySelected&&!i.isSelected()||t.skipPinnedTop&&"top"===i.rowPinned||t.skipPinnedBottom&&"bottom"===i.rowPinned)return;if(-1===i.level&&!p&&!h)return;if(o({node:i,api:s,columnApi:l,context:n}))return;const w=e.onNewBodyRow(i);if(r.forEach((e,t)=>{w.onColumn(e,t,i)}),t.getCustomContentBelowRow){const r=t.getCustomContentBelowRow({node:i,api:s,columnApi:l,context:n});r&&e.addCustomContent(r)}}appendContent(e){return t=>{const r=e.customFooter||e.appendContent;return r&&(e.customFooter&&a._.doOnce(()=>console.warn("AG Grid: Since version 25.2.0 the `customFooter` param has been deprecated. Use `appendContent` instead."),"gridSerializer-customFooter"),t.addCustomContent(r)),t}}prependContent(e){return t=>{const r=e.customHeader||e.prependContent;return r&&(e.customHeader&&a._.doOnce(()=>console.warn("AG Grid: Since version 25.2.0 the `customHeader` param has been deprecated. Use `prependContent` instead."),"gridSerializer-customHeader"),t.addCustomContent(r)),t}}prepareSession(e){return t=>(t.prepare(e),t)}exportColumnGroups(e,t){return r=>{if(e.skipColumnGroupHeaders)e.columnGroups&&a._.doOnce(()=>console.warn("AG Grid: Since v25.2 the `columnGroups` param has deprecated, and groups are exported by default."),"gridSerializer-columnGroups");else{const i=new a.GroupInstanceIdCreator,o=this.displayedGroupCreator.createDisplayedGroups(t,this.columnModel.getGridBalancedTree(),i,null);this.recursivelyAddHeaderGroups(o,r,e.processGroupHeaderCallback)}return r}}exportHeaders(e,t){return r=>{if(e.skipHeader||e.skipColumnHeaders)e.skipHeader&&a._.doOnce(()=>console.warn("AG Grid: Since v25.2 the `skipHeader` param has been renamed to `skipColumnHeaders`."),"gridSerializer-skipHeader");else{const e=r.onNewHeaderRow();t.forEach((t,r)=>{e.onColumn(t,r,void 0)})}return r}}processPinnedTopRows(e,t){return r=>{const i=this.processRow.bind(this,r,e,t);return e.rowPositions?e.rowPositions.filter(e=>"top"===e.rowPinned).sort((e,t)=>e.rowIndex-t.rowIndex).map(e=>this.pinnedRowModel.getPinnedTopRow(e.rowIndex)).forEach(i):this.pinnedRowModel.forEachPinnedTopRow(i),r}}processRows(e,t){return r=>{const i=this.rowModel,o=i.getType(),a="clientSide"===o,n="serverSide"===o,s=!a&&e.onlySelected,l=this.processRow.bind(this,r,e,t),{exportedRows:g="filteredAndSorted"}=e;if(e.rowPositions)e.rowPositions.filter(e=>null==e.rowPinned).sort((e,t)=>e.rowIndex-t.rowIndex).map(e=>i.getRow(e.rowIndex)).forEach(l);else if(this.columnModel.isPivotMode())a?i.forEachPivotNode(l,!0):i.forEachNode(l);else if(e.onlySelectedAllPages||s){const e=this.selectionService.getSelectedNodes();this.replicateSortedOrder(e),e.forEach(l)}else"all"===g?i.forEachNode(l):a?i.forEachNodeAfterFilterAndSort(l,!0):n?i.forEachNodeAfterFilterAndSort(l):i.forEachNode(l);return r}}replicateSortedOrder(e){const t=this.sortController.getSortOptions(),r=(e,i)=>{var o,a,n,s;return null!=e.rowIndex&&null!=i.rowIndex?e.rowIndex-i.rowIndex:e.level===i.level?(null===(o=e.parent)||void 0===o?void 0:o.id)===(null===(a=i.parent)||void 0===a?void 0:a.id)?this.rowNodeSorter.compareRowNodes(t,{rowNode:e,currentPos:null!==(n=e.rowIndex)&&void 0!==n?n:-1},{rowNode:i,currentPos:null!==(s=i.rowIndex)&&void 0!==s?s:-1}):r(e.parent,i.parent):e.level>i.level?r(e.parent,i):r(e,i.parent)};e.sort(r)}processPinnedBottomRows(e,t){return r=>{const i=this.processRow.bind(this,r,e,t);return e.rowPositions?e.rowPositions.filter(e=>"bottom"===e.rowPinned).sort((e,t)=>e.rowIndex-t.rowIndex).map(e=>this.pinnedRowModel.getPinnedBottomRow(e.rowIndex)).forEach(i):this.pinnedRowModel.forEachPinnedBottomRow(i),r}}getColumnsToExport(e=!1,t){const r=this.columnModel.isPivotMode();if(t&&t.length)return this.columnModel.getGridColumns(t);if(e&&!r){return(this.gridOptionsService.isTreeData()?this.columnModel.getGridColumns([a.GROUP_AUTO_COLUMN_ID]):[]).concat(this.columnModel.getAllGridColumns()||[])}return this.columnModel.getAllDisplayedColumns()}recursivelyAddHeaderGroups(e,t,r){const i=[];e.forEach(e=>{const t=e;t.getChildren&&t.getChildren().forEach(e=>i.push(e))}),e.length>0&&e[0]instanceof a.ColumnGroup&&this.doAddHeaderHeader(t,e,r),i&&i.length>0&&this.recursivelyAddHeaderGroups(i,t,r)}doAddHeaderHeader(e,t,r){const i=e.onNewHeaderGroupingRow();let o=0;t.forEach(e=>{const t=e;let n;n=r?r({columnGroup:t,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context}):this.columnModel.getDisplayNameForColumnGroup(t,"header");const s=t.getLeafColumns().reduce((e,t,r,i)=>{let o=a._.last(e);return"open"===t.getColumnGroupShow()?o&&null==o[1]||(o=[r],e.push(o)):o&&null==o[1]&&(o[1]=r-1),r===i.length-1&&o&&null==o[1]&&(o[1]=r),e},[]);i.onColumn(t,n||"",o++,t.getLeafColumns().length-1,s)})}};c([Object(a.Autowired)("displayedGroupCreator")],u.prototype,"displayedGroupCreator",void 0),c([Object(a.Autowired)("columnModel")],u.prototype,"columnModel",void 0),c([Object(a.Autowired)("rowModel")],u.prototype,"rowModel",void 0),c([Object(a.Autowired)("pinnedRowModel")],u.prototype,"pinnedRowModel",void 0),c([Object(a.Autowired)("selectionService")],u.prototype,"selectionService",void 0),c([Object(a.Autowired)("rowNodeSorter")],u.prototype,"rowNodeSorter",void 0),c([Object(a.Autowired)("sortController")],u.prototype,"sortController",void 0),u=c([Object(a.Bean)("gridSerializer")],u);const p={version:"30.0.5",moduleName:a.ModuleNames.CsvExportModule,beans:[g,u]};class h{static createHeader(e={}){const t=["version"];e.version||(e.version="1.0"),e.encoding&&t.push("encoding"),e.standalone&&t.push("standalone");return`<?xml ${t.map(t=>`${t}="${e[t]}"`).join(" ")} ?>`}static createXml(e,t){let r="";e.properties&&(e.properties.prefixedAttributes&&e.properties.prefixedAttributes.forEach(e=>{Object.keys(e.map).forEach(i=>{r+=this.returnAttributeIfPopulated(e.prefix+i,e.map[i],t)})}),e.properties.rawMap&&Object.keys(e.properties.rawMap).forEach(i=>{r+=this.returnAttributeIfPopulated(i,e.properties.rawMap[i],t)}));let i="<"+e.name+r;return e.children||null!=e.textNode?null!=e.textNode?i+">"+e.textNode+"</"+e.name+">\r\n":(i+=">\r\n",e.children&&e.children.forEach(e=>{i+=this.createXml(e,t)}),i+"</"+e.name+">\r\n"):i+"/>\r\n"}static returnAttributeIfPopulated(e,t,r){if(!t&&""!==t&&0!==t)return"";let i=t;return"boolean"==typeof t&&r&&(i=r(t)),` ${e}="${i}"`}}const v=new Uint32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);class f{static addFolders(e){e.forEach(this.addFolder.bind(this))}static addFolder(e){this.folders.push({path:e,created:new Date,isBase64:!1})}static addFile(e,t,r=!1){this.files.push({path:e,created:new Date,content:t,isBase64:r})}static getContent(e="application/zip"){const t=this.buildFileStream(),r=this.buildUint8Array(t);return this.clearStream(),new Blob([r],{type:e})}static clearStream(){this.folders=[],this.files=[]}static buildFileStream(e=""){const t=this.folders.concat(this.files),r=t.length;let i="",o=0,a=0;for(const r of t){const{fileHeader:t,folderHeader:n,content:s}=this.getHeader(r,o);o+=t.length+s.length,a+=n.length,e+=t+s,i+=n}return e+i+this.buildFolderEnd(r,a,o)}static getHeader(e,t){const{content:r,path:i,created:o,isBase64:n}=e,{utf8_encode:s,decToHex:l}=a._,g=s(i),d=g!==i,c=this.convertTime(o),u=this.convertDate(o);let p="";if(d){const e=l(1,1)+l(this.getFromCrc32Table(g),4)+g;p="up"+l(e.length,2)+e}const{size:h,content:v}=r?this.getConvertedContent(r,n):{size:0,content:""},f="\n\0"+(d?"\0\b":"\0\0")+"\0\0"+l(c,2)+l(u,2)+l(h?this.getFromCrc32Table(v):0,4)+l(h,4)+l(h,4)+l(g.length,2)+l(p.length,2);return{fileHeader:"PK"+f+g+p,folderHeader:"PK\0"+f+"\0\0\0\0\0\0"+(r?"\0\0\0\0":"\0\0\0")+l(t,4)+g+p,content:v||""}}static getConvertedContent(e,t=!1){return t&&(e=e.split(";base64,")[1]),{size:(e=t?atob(e):e).length,content:e}}static buildFolderEnd(e,t,r){const{decToHex:i}=a._;return"PK\0\0\0\0"+i(e,2)+i(e,2)+i(t,4)+i(r,4)+"\0\0"}static buildUint8Array(e){const t=new Uint8Array(e.length);for(let r=0;r<t.length;r++)t[r]=e.charCodeAt(r);return t}static getFromCrc32Table(e){if(!e.length)return 0;const t=e.length,r=new Uint8Array(t);for(let i=0;i<t;i++)r[i]=e.charCodeAt(i);let i=-1,o=0,a=0,n=0;for(let e=0;e<t;e++)o=r[e],a=255&(i^o),n=v[a],i=i>>>8^n;return-1^i}static convertTime(e){let t=e.getHours();return t<<=6,t|=e.getMinutes(),t<<=5,t|=e.getSeconds()/2,t}static convertDate(e){let t=e.getFullYear()-1980;return t<<=4,t|=e.getMonth()+1,t<<=5,t|=e.getDate(),t}}f.folders=[],f.files=[]},function(e,t,r){"use strict";r.r(t),r.d(t,"InfiniteRowModelModule",(function(){return c}));var i=r(0),o=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};class a extends i.RowNodeBlock{constructor(e,t,r){super(e),this.parentCache=t,this.params=r,this.startRow=e*r.blockSize,this.endRow=this.startRow+r.blockSize}postConstruct(){this.createRowNodes()}getBlockStateJson(){return{id:""+this.getId(),state:{blockNumber:this.getId(),startRow:this.getStartRow(),endRow:this.getEndRow(),pageStatus:this.getState()}}}setDataAndId(e,t,r){i._.exists(t)?e.setDataAndId(t,r.toString()):e.setDataAndId(void 0,void 0)}loadFromDatasource(){const e=this.createLoadParams();i._.missing(this.params.datasource.getRows)?console.warn("AG Grid: datasource is missing getRows method"):window.setTimeout(()=>{this.params.datasource.getRows(e)},0)}processServerFail(){}createLoadParams(){return{startRow:this.getStartRow(),endRow:this.getEndRow(),successCallback:this.pageLoaded.bind(this,this.getVersion()),failCallback:this.pageLoadFailed.bind(this,this.getVersion()),sortModel:this.params.sortModel,filterModel:this.params.filterModel,context:this.gridOptionsService.context}}forEachNode(e,t,r){this.rowNodes.forEach((i,o)=>{this.startRow+o<r&&e(i,t.next())})}getLastAccessed(){return this.lastAccessed}getRow(e,t=!1){t||(this.lastAccessed=this.params.lastAccessedSequence.next());const r=e-this.startRow;return this.rowNodes[r]}getStartRow(){return this.startRow}getEndRow(){return this.endRow}createRowNodes(){this.rowNodes=[];for(let e=0;e<this.params.blockSize;e++){const t=this.startRow+e,r=new i.RowNode(this.beans);r.setRowHeight(this.params.rowHeight),r.uiLevel=0,r.setRowIndex(t),r.setRowTop(this.params.rowHeight*t),this.rowNodes.push(r)}}processServerResult(e){this.rowNodes.forEach((t,r)=>{const o=e.rowData?e.rowData[r]:void 0;!t.id&&t.alreadyRendered&&o&&(this.rowNodes[r]=new i.RowNode(this.beans),this.rowNodes[r].setRowIndex(t.rowIndex),this.rowNodes[r].setRowTop(t.rowTop),t.clearRowTopAndRowIndex()),this.setDataAndId(this.rowNodes[r],o,this.startRow+r)});const t=null!=e.rowCount&&e.rowCount>=0?e.rowCount:void 0;this.parentCache.pageLoaded(this,t)}destroyRowNodes(){this.rowNodes.forEach(e=>{e.clearRowTopAndRowIndex()})}}o([Object(i.Autowired)("beans")],a.prototype,"beans",void 0),o([i.PostConstruct],a.prototype,"postConstruct",null),o([i.PreDestroy],a.prototype,"destroyRowNodes",null);var n=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n},s=function(e,t){return function(r,i){t(r,i,e)}};class l extends i.BeanStub{constructor(e){super(),this.lastRowIndexKnown=!1,this.blocks={},this.blockCount=0,this.rowCount=e.initialRowCount,this.params=e}setBeans(e){this.logger=e.create("InfiniteCache")}getRow(e,t=!1){const r=Math.floor(e/this.params.blockSize);let i=this.blocks[r];if(!i){if(t)return;i=this.createBlock(r)}return i.getRow(e)}createBlock(e){const t=this.createBean(new a(e,this,this.params));return this.blocks[t.getId()]=t,this.blockCount++,this.purgeBlocksIfNeeded(t),this.params.rowNodeBlockLoader.addBlock(t),t}refreshCache(){0==this.blockCount?this.purgeCache():(this.getBlocksInOrder().forEach(e=>e.setStateWaitingToLoad()),this.params.rowNodeBlockLoader.checkBlockToLoad())}destroyAllBlocks(){this.getBlocksInOrder().forEach(e=>this.destroyBlock(e))}getRowCount(){return this.rowCount}isLastRowIndexKnown(){return this.lastRowIndexKnown}pageLoaded(e,t){this.isAlive()&&(this.logger.log(`onPageLoaded: page = ${e.getId()}, lastRow = ${t}`),this.checkRowCount(e,t),this.onCacheUpdated())}purgeBlocksIfNeeded(e){const t=this.getBlocksInOrder().filter(t=>t!=e);t.sort((e,t)=>t.getLastAccessed()-e.getLastAccessed());const r=this.params.maxBlocksInCache>0,i=r?this.params.maxBlocksInCache-1:null,o=l.MAX_EMPTY_BLOCKS_TO_KEEP-1;t.forEach((e,t)=>{if(e.getState()===a.STATE_WAITING_TO_LOAD&&t>=o||!!r&&t>=i){if(this.isBlockCurrentlyDisplayed(e))return;if(this.isBlockFocused(e))return;this.removeBlockFromCache(e)}})}isBlockFocused(e){const t=this.focusService.getFocusCellToUseAfterRefresh();if(!t)return!1;if(null!=t.rowPinned)return!1;const r=e.getStartRow(),i=e.getEndRow();return t.rowIndex>=r&&t.rowIndex<i}isBlockCurrentlyDisplayed(e){const t=e.getStartRow(),r=e.getEndRow()-1;return this.rowRenderer.isRangeInRenderedViewport(t,r)}removeBlockFromCache(e){e&&this.destroyBlock(e)}checkRowCount(e,t){if("number"==typeof t&&t>=0)this.rowCount=t,this.lastRowIndexKnown=!0;else if(!this.lastRowIndexKnown){const t=(e.getId()+1)*this.params.blockSize+this.params.overflowSize;this.rowCount<t&&(this.rowCount=t)}}setRowCount(e,t){this.rowCount=e,i._.exists(t)&&(this.lastRowIndexKnown=t),this.lastRowIndexKnown||this.rowCount%this.params.blockSize==0&&this.rowCount++,this.onCacheUpdated()}forEachNodeDeep(e){const t=new i.NumberSequence;this.getBlocksInOrder().forEach(r=>r.forEachNode(e,t,this.rowCount))}getBlocksInOrder(){return i._.getAllValuesInObject(this.blocks).sort((e,t)=>e.getId()-t.getId())}destroyBlock(e){delete this.blocks[e.getId()],this.destroyBean(e),this.blockCount--,this.params.rowNodeBlockLoader.removeBlock(e)}onCacheUpdated(){if(this.isAlive()){this.destroyAllBlocksPastVirtualRowCount();const e={type:i.Events.EVENT_STORE_UPDATED};this.eventService.dispatchEvent(e)}}destroyAllBlocksPastVirtualRowCount(){const e=[];this.getBlocksInOrder().forEach(t=>{t.getId()*this.params.blockSize>=this.rowCount&&e.push(t)}),e.length>0&&e.forEach(e=>this.destroyBlock(e))}purgeCache(){this.getBlocksInOrder().forEach(e=>this.removeBlockFromCache(e)),this.lastRowIndexKnown=!1,0===this.rowCount&&(this.rowCount=this.params.initialRowCount),this.onCacheUpdated()}getRowNodesInRange(e,t){const r=[];let o=-1,a=!1;const n=new i.NumberSequence;i._.missing(e)&&(a=!0);let s=!1;this.getBlocksInOrder().forEach(i=>{s||(a&&o+1!==i.getId()?s=!0:(o=i.getId(),i.forEachNode(i=>{const o=i===e||i===t;(a||o)&&r.push(i),o&&(a=!a)},n,this.rowCount)))});return s||a?[]:r}}l.MAX_EMPTY_BLOCKS_TO_KEEP=2,n([Object(i.Autowired)("rowRenderer")],l.prototype,"rowRenderer",void 0),n([Object(i.Autowired)("focusService")],l.prototype,"focusService",void 0),n([s(0,Object(i.Qualifier)("loggerFactory"))],l.prototype,"setBeans",null),n([i.PreDestroy],l.prototype,"destroyAllBlocks",null);var g=function(e,t,r,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(t,r,n):o(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};let d=class extends i.BeanStub{getRowBounds(e){return{rowHeight:this.rowHeight,rowTop:this.rowHeight*e}}ensureRowHeightsValid(e,t,r,i){return!1}init(){this.gridOptionsService.isRowModelType("infinite")&&(this.rowHeight=this.gridOptionsService.getRowHeightAsNumber(),this.addEventListeners(),this.addDestroyFunc(()=>this.destroyCache()),this.verifyProps())}verifyProps(){if(this.gridOptionsService.exists("initialGroupOrderComparator")){const e="AG Grid: initialGroupOrderComparator cannot be used with Infinite Row Model. If using Infinite Row Model, then sorting is done on the server side, nothing to do with the client.";i._.doOnce(()=>console.warn(e),"IRM.InitialGroupOrderComparator")}}start(){this.setDatasource(this.gridOptionsService.get("datasource"))}destroyDatasource(){this.datasource&&(this.getContext().destroyBean(this.datasource),this.rowRenderer.datasourceChanged(),this.datasource=null)}addEventListeners(){this.addManagedListener(this.eventService,i.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_NEW_COLUMNS_LOADED,this.onColumnEverything.bind(this)),this.addManagedListener(this.eventService,i.Events.EVENT_STORE_UPDATED,this.onCacheUpdated.bind(this))}onFilterChanged(){this.reset()}onSortChanged(){this.reset()}onColumnEverything(){let e;e=!this.cacheParams||this.isSortModelDifferent(),e&&this.reset()}isSortModelDifferent(){return!i._.jsonEquals(this.cacheParams.sortModel,this.sortController.getSortModel())}getType(){return"infinite"}setDatasource(e){this.destroyDatasource(),this.datasource=e,e&&this.reset()}isEmpty(){return!this.infiniteCache}isRowsToRender(){return!!this.infiniteCache}getNodesInRangeForSelection(e,t){return this.infiniteCache?this.infiniteCache.getRowNodesInRange(e,t):[]}reset(){if(!this.datasource)return;null!=this.gridOptionsService.getCallback("getRowId")||this.selectionService.reset(),this.resetCache();const e=this.createModelUpdatedEvent();this.eventService.dispatchEvent(e)}createModelUpdatedEvent(){return{type:i.Events.EVENT_MODEL_UPDATED,newPage:!1,newData:!1,keepRenderedRows:!0,animate:!1}}resetCache(){this.destroyCache(),this.cacheParams={datasource:this.datasource,filterModel:this.filterManager.getFilterModel(),sortModel:this.sortController.getSortModel(),rowNodeBlockLoader:this.rowNodeBlockLoader,initialRowCount:this.defaultIfInvalid(this.gridOptionsService.getNum("infiniteInitialRowCount"),1),maxBlocksInCache:this.gridOptionsService.getNum("maxBlocksInCache"),rowHeight:this.gridOptionsService.getRowHeightAsNumber(),overflowSize:this.defaultIfInvalid(this.gridOptionsService.getNum("cacheOverflowSize"),1),blockSize:this.defaultIfInvalid(this.gridOptionsService.getNum("cacheBlockSize"),100),lastAccessedSequence:new i.NumberSequence},this.infiniteCache=this.createBean(new l(this.cacheParams))}defaultIfInvalid(e,t){return e>0?e:t}destroyCache(){this.infiniteCache&&(this.infiniteCache=this.destroyBean(this.infiniteCache))}onCacheUpdated(){const e=this.createModelUpdatedEvent();this.eventService.dispatchEvent(e)}getRow(e){if(this.infiniteCache&&!(e>=this.infiniteCache.getRowCount()))return this.infiniteCache.getRow(e)}getRowNode(e){let t;return this.forEachNode(r=>{r.id===e&&(t=r)}),t}forEachNode(e){this.infiniteCache&&this.infiniteCache.forEachNodeDeep(e)}getTopLevelRowCount(){return this.getRowCount()}getTopLevelRowDisplayedIndex(e){return e}getRowIndexAtPixel(e){if(0!==this.rowHeight){const t=Math.floor(e/this.rowHeight),r=this.getRowCount()-1;return t>r?r:t}return 0}getRowCount(){return this.infiniteCache?this.infiniteCache.getRowCount():0}isRowPresent(e){return!!this.getRowNode(e.id)}refreshCache(){this.infiniteCache&&this.infiniteCache.refreshCache()}purgeCache(){this.infiniteCache&&this.infiniteCache.purgeCache()}isLastRowIndexKnown(){return!!this.infiniteCache&&this.infiniteCache.isLastRowIndexKnown()}setRowCount(e,t){this.infiniteCache&&this.infiniteCache.setRowCount(e,t)}};g([Object(i.Autowired)("filterManager")],d.prototype,"filterManager",void 0),g([Object(i.Autowired)("sortController")],d.prototype,"sortController",void 0),g([Object(i.Autowired)("selectionService")],d.prototype,"selectionService",void 0),g([Object(i.Autowired)("rowRenderer")],d.prototype,"rowRenderer",void 0),g([Object(i.Autowired)("rowNodeBlockLoader")],d.prototype,"rowNodeBlockLoader",void 0),g([i.PostConstruct],d.prototype,"init",null),g([i.PreDestroy],d.prototype,"destroyDatasource",null),d=g([Object(i.Bean)("rowModel")],d);const c={version:"30.0.5",moduleName:i.ModuleNames.InfiniteRowModelModule,rowModel:"infinite",beans:[d]}},function(e,t,r){var i=r(3),o=(r(0),r(4)),a=r(5),n=r(7);Object.keys(n).forEach((function(e){t[e]=n[e]})),n.ModuleRegistry.register(i.ClientSideRowModelModule),n.ModuleRegistry.register(o.CsvExportModule),n.ModuleRegistry.register(a.InfiniteRowModelModule),n.ModuleRegistry.__setIsBundled(),r(8),r(10),r(12),r(14),r(16),r(18),r(20),r(22),r(24),r(26),r(28),r(30)},function(e,t,r){"use strict";r.r(t),r.d(t,"AllCommunityModules",(function(){return s}));var i=r(3),o=r(5),a=r(4);r.d(t,"ClientSideRowModelModule",(function(){return i.ClientSideRowModelModule})),r.d(t,"BaseCreator",(function(){return a.BaseCreator})),r.d(t,"BaseGridSerializingSession",(function(){return a.BaseGridSerializingSession})),r.d(t,"CsvCreator",(function(){return a.CsvCreator})),r.d(t,"CsvExportModule",(function(){return a.CsvExportModule})),r.d(t,"Downloader",(function(){return a.Downloader})),r.d(t,"GridSerializer",(function(){return a.GridSerializer})),r.d(t,"RowType",(function(){return a.RowType})),r.d(t,"XmlFactory",(function(){return a.XmlFactory})),r.d(t,"ZipContainer",(function(){return a.ZipContainer})),r.d(t,"InfiniteRowModelModule",(function(){return o.InfiniteRowModelModule}));var n=r(0);r.d(t,"ColumnFactory",(function(){return n.ColumnFactory})),r.d(t,"ColumnModel",(function(){return n.ColumnModel})),r.d(t,"ColumnKeyCreator",(function(){return n.ColumnKeyCreator})),r.d(t,"ColumnUtils",(function(){return n.ColumnUtils})),r.d(t,"DisplayedGroupCreator",(function(){return n.DisplayedGroupCreator})),r.d(t,"GroupInstanceIdCreator",(function(){return n.GroupInstanceIdCreator})),r.d(t,"GROUP_AUTO_COLUMN_ID",(function(){return n.GROUP_AUTO_COLUMN_ID})),r.d(t,"ComponentUtil",(function(){return n.ComponentUtil})),r.d(t,"AgStackComponentsRegistry",(function(){return n.AgStackComponentsRegistry})),r.d(t,"UserComponentRegistry",(function(){return n.UserComponentRegistry})),r.d(t,"UserComponentFactory",(function(){return n.UserComponentFactory})),r.d(t,"ColDefUtil",(function(){return n.ColDefUtil})),r.d(t,"BeanStub",(function(){return n.BeanStub})),r.d(t,"Context",(function(){return n.Context})),r.d(t,"Autowired",(function(){return n.Autowired})),r.d(t,"PostConstruct",(function(){return n.PostConstruct})),r.d(t,"PreConstruct",(function(){return n.PreConstruct})),r.d(t,"Optional",(function(){return n.Optional})),r.d(t,"Bean",(function(){return n.Bean})),r.d(t,"Qualifier",(function(){return n.Qualifier})),r.d(t,"PreDestroy",(function(){return n.PreDestroy})),r.d(t,"QuerySelector",(function(){return n.QuerySelector})),r.d(t,"RefSelector",(function(){return n.RefSelector})),r.d(t,"ExcelFactoryMode",(function(){return n.ExcelFactoryMode})),r.d(t,"DragAndDropService",(function(){return n.DragAndDropService})),r.d(t,"DragSourceType",(function(){return n.DragSourceType})),r.d(t,"HorizontalDirection",(function(){return n.HorizontalDirection})),r.d(t,"VerticalDirection",(function(){return n.VerticalDirection})),r.d(t,"DragService",(function(){return n.DragService})),r.d(t,"Column",(function(){return n.Column})),r.d(t,"ColumnGroup",(function(){return n.ColumnGroup})),r.d(t,"ProvidedColumnGroup",(function(){return n.ProvidedColumnGroup})),r.d(t,"RowNode",(function(){return n.RowNode})),r.d(t,"RowHighlightPosition",(function(){return n.RowHighlightPosition})),r.d(t,"FilterManager",(function(){return n.FilterManager})),r.d(t,"ProvidedFilter",(function(){return n.ProvidedFilter})),r.d(t,"SimpleFilter",(function(){return n.SimpleFilter})),r.d(t,"ScalarFilter",(function(){return n.ScalarFilter})),r.d(t,"NumberFilter",(function(){return n.NumberFilter})),r.d(t,"TextFilter",(function(){return n.TextFilter})),r.d(t,"DateFilter",(function(){return n.DateFilter})),r.d(t,"TextFloatingFilter",(function(){return n.TextFloatingFilter})),r.d(t,"HeaderFilterCellComp",(function(){return n.HeaderFilterCellComp})),r.d(t,"FloatingFilterMapper",(function(){return n.FloatingFilterMapper})),r.d(t,"GridBodyComp",(function(){return n.GridBodyComp})),r.d(t,"GridBodyCtrl",(function(){return n.GridBodyCtrl})),r.d(t,"RowAnimationCssClasses",(function(){return n.RowAnimationCssClasses})),r.d(t,"ScrollVisibleService",(function(){return n.ScrollVisibleService})),r.d(t,"MouseEventService",(function(){return n.MouseEventService})),r.d(t,"NavigationService",(function(){return n.NavigationService})),r.d(t,"RowContainerComp",(function(){return n.RowContainerComp})),r.d(t,"RowContainerName",(function(){return n.RowContainerName})),r.d(t,"RowContainerCtrl",(function(){return n.RowContainerCtrl})),r.d(t,"RowContainerType",(function(){return n.RowContainerType})),r.d(t,"getRowContainerTypeForName",(function(){return n.getRowContainerTypeForName})),r.d(t,"BodyDropPivotTarget",(function(){return n.BodyDropPivotTarget})),r.d(t,"BodyDropTarget",(function(){return n.BodyDropTarget})),r.d(t,"CssClassApplier",(function(){return n.CssClassApplier})),r.d(t,"HeaderRowContainerComp",(function(){return n.HeaderRowContainerComp})),r.d(t,"GridHeaderComp",(function(){return n.GridHeaderComp})),r.d(t,"GridHeaderCtrl",(function(){return n.GridHeaderCtrl})),r.d(t,"HeaderRowComp",(function(){return n.HeaderRowComp})),r.d(t,"HeaderRowType",(function(){return n.HeaderRowType})),r.d(t,"HeaderRowCtrl",(function(){return n.HeaderRowCtrl})),r.d(t,"HeaderCellCtrl",(function(){return n.HeaderCellCtrl})),r.d(t,"SortIndicatorComp",(function(){return n.SortIndicatorComp})),r.d(t,"HeaderFilterCellCtrl",(function(){return n.HeaderFilterCellCtrl})),r.d(t,"HeaderGroupCellCtrl",(function(){return n.HeaderGroupCellCtrl})),r.d(t,"AbstractHeaderCellCtrl",(function(){return n.AbstractHeaderCellCtrl})),r.d(t,"HeaderRowContainerCtrl",(function(){return n.HeaderRowContainerCtrl})),r.d(t,"HorizontalResizeService",(function(){return n.HorizontalResizeService})),r.d(t,"MoveColumnFeature",(function(){return n.MoveColumnFeature})),r.d(t,"StandardMenuFactory",(function(){return n.StandardMenuFactory})),r.d(t,"TabbedLayout",(function(){return n.TabbedLayout})),r.d(t,"simpleHttpRequest",(function(){return n.simpleHttpRequest})),r.d(t,"ResizeObserverService",(function(){return n.ResizeObserverService})),r.d(t,"AnimationFrameService",(function(){return n.AnimationFrameService})),r.d(t,"LargeTextCellEditor",(function(){return n.LargeTextCellEditor})),r.d(t,"PopupEditorWrapper",(function(){return n.PopupEditorWrapper})),r.d(t,"SelectCellEditor",(function(){return n.SelectCellEditor})),r.d(t,"TextCellEditor",(function(){return n.TextCellEditor})),r.d(t,"NumberCellEditor",(function(){return n.NumberCellEditor})),r.d(t,"DateCellEditor",(function(){return n.DateCellEditor})),r.d(t,"DateStringCellEditor",(function(){return n.DateStringCellEditor})),r.d(t,"CheckboxCellEditor",(function(){return n.CheckboxCellEditor})),r.d(t,"Beans",(function(){return n.Beans})),r.d(t,"AnimateShowChangeCellRenderer",(function(){return n.AnimateShowChangeCellRenderer})),r.d(t,"AnimateSlideCellRenderer",(function(){return n.AnimateSlideCellRenderer})),r.d(t,"GroupCellRenderer",(function(){return n.GroupCellRenderer})),r.d(t,"GroupCellRendererCtrl",(function(){return n.GroupCellRendererCtrl})),r.d(t,"SetLeftFeature",(function(){return n.SetLeftFeature})),r.d(t,"PositionableFeature",(function(){return n.PositionableFeature})),r.d(t,"AutoWidthCalculator",(function(){return n.AutoWidthCalculator})),r.d(t,"CheckboxSelectionComponent",(function(){return n.CheckboxSelectionComponent})),r.d(t,"CellComp",(function(){return n.CellComp})),r.d(t,"CellCtrl",(function(){return n.CellCtrl})),r.d(t,"RowCtrl",(function(){return n.RowCtrl})),r.d(t,"RowRenderer",(function(){return n.RowRenderer})),r.d(t,"ValueFormatterService",(function(){return n.ValueFormatterService})),r.d(t,"CssClassManager",(function(){return n.CssClassManager})),r.d(t,"CheckboxCellRenderer",(function(){return n.CheckboxCellRenderer})),r.d(t,"PinnedRowModel",(function(){return n.PinnedRowModel})),r.d(t,"ServerSideTransactionResultStatus",(function(){return n.ServerSideTransactionResultStatus})),r.d(t,"ChangedPath",(function(){return n.ChangedPath})),r.d(t,"RowNodeBlock",(function(){return n.RowNodeBlock})),r.d(t,"RowNodeBlockLoader",(function(){return n.RowNodeBlockLoader})),r.d(t,"PaginationProxy",(function(){return n.PaginationProxy})),r.d(t,"ClientSideRowModelSteps",(function(){return n.ClientSideRowModelSteps})),r.d(t,"StylingService",(function(){return n.StylingService})),r.d(t,"LayoutCssClasses",(function(){return n.LayoutCssClasses})),r.d(t,"AgAbstractField",(function(){return n.AgAbstractField})),r.d(t,"AgCheckbox",(function(){return n.AgCheckbox})),r.d(t,"AgRadioButton",(function(){return n.AgRadioButton})),r.d(t,"AgToggleButton",(function(){return n.AgToggleButton})),r.d(t,"AgInputTextField",(function(){return n.AgInputTextField})),r.d(t,"AgInputTextArea",(function(){return n.AgInputTextArea})),r.d(t,"AgInputNumberField",(function(){return n.AgInputNumberField})),r.d(t,"AgInputDateField",(function(){return n.AgInputDateField})),r.d(t,"AgInputRange",(function(){return n.AgInputRange})),r.d(t,"AgSelect",(function(){return n.AgSelect})),r.d(t,"AgSlider",(function(){return n.AgSlider})),r.d(t,"AgGroupComponent",(function(){return n.AgGroupComponent})),r.d(t,"AgMenuItemComponent",(function(){return n.AgMenuItemComponent})),r.d(t,"AgMenuList",(function(){return n.AgMenuList})),r.d(t,"AgMenuPanel",(function(){return n.AgMenuPanel})),r.d(t,"AgDialog",(function(){return n.AgDialog})),r.d(t,"AgPanel",(function(){return n.AgPanel})),r.d(t,"Component",(function(){return n.Component})),r.d(t,"ManagedFocusFeature",(function(){return n.ManagedFocusFeature})),r.d(t,"TabGuardComp",(function(){return n.TabGuardComp})),r.d(t,"TabGuardCtrl",(function(){return n.TabGuardCtrl})),r.d(t,"TabGuardClassNames",(function(){return n.TabGuardClassNames})),r.d(t,"PopupComponent",(function(){return n.PopupComponent})),r.d(t,"PopupService",(function(){return n.PopupService})),r.d(t,"TouchListener",(function(){return n.TouchListener})),r.d(t,"VirtualList",(function(){return n.VirtualList})),r.d(t,"AgAbstractLabel",(function(){return n.AgAbstractLabel})),r.d(t,"AgPickerField",(function(){return n.AgPickerField})),r.d(t,"CellRangeType",(function(){return n.CellRangeType})),r.d(t,"SelectionHandleType",(function(){return n.SelectionHandleType})),r.d(t,"AutoScrollService",(function(){return n.AutoScrollService})),r.d(t,"VanillaFrameworkOverrides",(function(){return n.VanillaFrameworkOverrides})),r.d(t,"CellNavigationService",(function(){return n.CellNavigationService})),r.d(t,"AlignedGridsService",(function(){return n.AlignedGridsService})),r.d(t,"KeyCode",(function(){return n.KeyCode})),r.d(t,"Grid",(function(){return n.Grid})),r.d(t,"GridCoreCreator",(function(){return n.GridCoreCreator})),r.d(t,"GridApi",(function(){return n.GridApi})),r.d(t,"Events",(function(){return n.Events})),r.d(t,"FocusService",(function(){return n.FocusService})),r.d(t,"GridOptionsService",(function(){return n.GridOptionsService})),r.d(t,"EventService",(function(){return n.EventService})),r.d(t,"SelectableService",(function(){return n.SelectableService})),r.d(t,"RowNodeSorter",(function(){return n.RowNodeSorter})),r.d(t,"CtrlsService",(function(){return n.CtrlsService})),r.d(t,"GridComp",(function(){return n.GridComp})),r.d(t,"GridCtrl",(function(){return n.GridCtrl})),r.d(t,"Logger",(function(){return n.Logger})),r.d(t,"LoggerFactory",(function(){return n.LoggerFactory})),r.d(t,"SortController",(function(){return n.SortController})),r.d(t,"TemplateService",(function(){return n.TemplateService})),r.d(t,"LocaleService",(function(){return n.LocaleService})),r.d(t,"_",(function(){return n._})),r.d(t,"NumberSequence",(function(){return n.NumberSequence})),r.d(t,"AgPromiseStatus",(function(){return n.AgPromiseStatus})),r.d(t,"AgPromise",(function(){return n.AgPromise})),r.d(t,"Timer",(function(){return n.Timer})),r.d(t,"ValueService",(function(){return n.ValueService})),r.d(t,"ValueCache",(function(){return n.ValueCache})),r.d(t,"ExpressionService",(function(){return n.ExpressionService})),r.d(t,"ValueParserService",(function(){return n.ValueParserService})),r.d(t,"CellPositionUtils",(function(){return n.CellPositionUtils})),r.d(t,"RowPositionUtils",(function(){return n.RowPositionUtils})),r.d(t,"HeaderPositionUtils",(function(){return n.HeaderPositionUtils})),r.d(t,"HeaderNavigationService",(function(){return n.HeaderNavigationService})),r.d(t,"HeaderNavigationDirection",(function(){return n.HeaderNavigationDirection})),r.d(t,"PropertyKeys",(function(){return n.PropertyKeys})),r.d(t,"ColumnApi",(function(){return n.ColumnApi})),r.d(t,"BaseComponentWrapper",(function(){return n.BaseComponentWrapper})),r.d(t,"Environment",(function(){return n.Environment})),r.d(t,"CustomTooltipFeature",(function(){return n.CustomTooltipFeature})),r.d(t,"DEFAULT_CHART_GROUPS",(function(){return n.DEFAULT_CHART_GROUPS})),r.d(t,"CHART_TOOL_PANEL_ALLOW_LIST",(function(){return n.CHART_TOOL_PANEL_ALLOW_LIST})),r.d(t,"CHART_TOOLBAR_ALLOW_LIST",(function(){return n.CHART_TOOLBAR_ALLOW_LIST})),r.d(t,"CHART_TOOL_PANEL_MENU_OPTIONS",(function(){return n.CHART_TOOL_PANEL_MENU_OPTIONS})),r.d(t,"__FORCE_MODULE_DETECTION",(function(){return n.__FORCE_MODULE_DETECTION})),r.d(t,"BarColumnLabelPlacement",(function(){return n.BarColumnLabelPlacement})),r.d(t,"ModuleNames",(function(){return n.ModuleNames})),r.d(t,"ModuleRegistry",(function(){return n.ModuleRegistry}));const s=[i.ClientSideRowModelModule,o.InfiniteRowModelModule,a.CsvExportModule]},function(e,t,r){var i=r(1),o=r(9);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};i(o,a);e.exports=o.locals||{}},function(e,t,r){(t=r(2)(!1)).push([e.i,'.ag-icon{font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ag-icon-aggregation:before{content:var(--ag-icon-font-code-aggregation,"\\f101")}.ag-icon-arrows:before{content:var(--ag-icon-font-code-arrows,"\\f102")}.ag-icon-asc:before{content:var(--ag-icon-font-code-asc,"\\f103")}.ag-icon-cancel:before{content:var(--ag-icon-font-code-cancel,"\\f104")}.ag-icon-chart:before{content:var(--ag-icon-font-code-chart,"\\f105")}.ag-icon-checkbox-checked:before{content:var(--ag-icon-font-code-checkbox-checked,"\\f106")}.ag-icon-checkbox-indeterminate:before{content:var(--ag-icon-font-code-checkbox-indeterminate,"\\f107")}.ag-icon-checkbox-unchecked:before{content:var(--ag-icon-font-code-checkbox-unchecked,"\\f108")}.ag-icon-color-picker:before{content:var(--ag-icon-font-code-color-picker,"\\f109")}.ag-icon-columns:before{content:var(--ag-icon-font-code-columns,"\\f10a")}.ag-icon-contracted:before{content:var(--ag-icon-font-code-contracted,"\\f10b")}.ag-icon-copy:before{content:var(--ag-icon-font-code-copy,"\\f10c")}.ag-icon-cross:before{content:var(--ag-icon-font-code-cross,"\\f10d")}.ag-icon-csv:before{content:var(--ag-icon-font-code-csv,"\\f10e")}.ag-icon-cut:before{content:var(--ag-icon-font-code-cut,"\\f10f")}.ag-icon-desc:before{content:var(--ag-icon-font-code-desc,"\\f110")}.ag-icon-excel:before{content:var(--ag-icon-font-code-excel,"\\f111")}.ag-icon-expanded:before{content:var(--ag-icon-font-code-expanded,"\\f112")}.ag-icon-eye-slash:before{content:var(--ag-icon-font-code-eye-slash,"\\f113")}.ag-icon-eye:before{content:var(--ag-icon-font-code-eye,"\\f114")}.ag-icon-filter:before{content:var(--ag-icon-font-code-filter,"\\f115")}.ag-icon-first:before{content:var(--ag-icon-font-code-first,"\\f116")}.ag-icon-grip:before{content:var(--ag-icon-font-code-grip,"\\f117")}.ag-icon-group:before{content:var(--ag-icon-font-code-group,"\\f118")}.ag-icon-last:before{content:var(--ag-icon-font-code-last,"\\f119")}.ag-icon-left:before{content:var(--ag-icon-font-code-left,"\\f11a")}.ag-icon-linked:before{content:var(--ag-icon-font-code-linked,"\\f11b")}.ag-icon-loading:before{content:var(--ag-icon-font-code-loading,"\\f11c")}.ag-icon-maximize:before{content:var(--ag-icon-font-code-maximize,"\\f11d")}.ag-icon-menu:before{content:var(--ag-icon-font-code-menu,"\\f11e")}.ag-icon-minimize:before{content:var(--ag-icon-font-code-minimize,"\\f11f")}.ag-icon-next:before{content:var(--ag-icon-font-code-next,"\\f120")}.ag-icon-none:before{content:var(--ag-icon-font-code-none,"\\f121")}.ag-icon-not-allowed:before{content:var(--ag-icon-font-code-not-allowed,"\\f122")}.ag-icon-paste:before{content:var(--ag-icon-font-code-paste,"\\f123")}.ag-icon-pin:before{content:var(--ag-icon-font-code-pin,"\\f124")}.ag-icon-pivot:before{content:var(--ag-icon-font-code-pivot,"\\f125")}.ag-icon-previous:before{content:var(--ag-icon-font-code-previous,"\\f126")}.ag-icon-radio-button-off:before{content:var(--ag-icon-font-code-radio-button-off,"\\f127")}.ag-icon-radio-button-on:before{content:var(--ag-icon-font-code-radio-button-on,"\\f128")}.ag-icon-right:before{content:var(--ag-icon-font-code-right,"\\f129")}.ag-icon-save:before{content:var(--ag-icon-font-code-save,"\\f12a")}.ag-icon-small-down:before{content:var(--ag-icon-font-code-small-down,"\\f12b")}.ag-icon-small-left:before{content:var(--ag-icon-font-code-small-left,"\\f12c")}.ag-icon-small-right:before{content:var(--ag-icon-font-code-small-right,"\\f12d")}.ag-icon-small-up:before{content:var(--ag-icon-font-code-small-up,"\\f12e")}.ag-icon-tick:before{content:var(--ag-icon-font-code-tick,"\\f12f")}.ag-icon-tree-closed:before{content:var(--ag-icon-font-code-tree-closed,"\\f130")}.ag-icon-tree-indeterminate:before{content:var(--ag-icon-font-code-tree-indeterminate,"\\f131")}.ag-icon-tree-open:before{content:var(--ag-icon-font-code-tree-open,"\\f132")}.ag-icon-unlinked:before{content:var(--ag-icon-font-code-unlinked,"\\f133")}.ag-icon-row-drag:before{content:var(--ag-icon-font-code-grip)}.ag-left-arrow:before{content:var(--ag-icon-font-code-left)}.ag-right-arrow:before{content:var(--ag-icon-font-code-right)}[class*=ag-theme-]{--ag-foreground-color:#000;--ag-data-color:var(--ag-foreground-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-header-foreground-color:var(--ag-secondary-foreground-color);--ag-disabled-foreground-color:rgba(0,0,0,0.5);--ag-background-color:#fff;--ag-header-background-color:transparent;--ag-tooltip-background-color:transparent;--ag-subheader-background-color:transparent;--ag-subheader-toolbar-background-color:transparent;--ag-control-panel-background-color:transparent;--ag-side-button-selected-background-color:var(--ag-control-panel-background-color);--ag-selected-row-background-color:#bbb;--ag-odd-row-background-color:var(--ag-background-color);--ag-modal-overlay-background-color:hsla(0,0%,100%,0.66);--ag-row-hover-color:transparent;--ag-column-hover-color:transparent;--ag-range-selection-border-color:var(--ag-foreground-color);--ag-range-selection-border-style:solid;--ag-range-selection-background-color:rgba(0,0,0,0.2);--ag-range-selection-background-color-2:var(--ag-range-selection-background-color);--ag-range-selection-background-color-3:var(--ag-range-selection-background-color);--ag-range-selection-background-color-4:var(--ag-range-selection-background-color);--ag-range-selection-highlight-color:var(--ag-range-selection-border-color);--ag-selected-tab-underline-color:var(--ag-range-selection-border-color);--ag-selected-tab-underline-width:0;--ag-selected-tab-underline-transition-speed:0s;--ag-range-selection-chart-category-background-color:rgba(0,255,132,0.1);--ag-range-selection-chart-background-color:rgba(0,88,255,0.1);--ag-header-cell-hover-background-color:transparent;--ag-header-cell-moving-background-color:var(--ag-background-color);--ag-value-change-value-highlight-background-color:rgba(22,160,133,0.5);--ag-value-change-delta-up-color:#43a047;--ag-value-change-delta-down-color:#e53935;--ag-chip-background-color:transparent;--ag-borders:solid 1px;--ag-border-color:rgba(0,0,0,0.25);--ag-borders-critical:var(--ag-borders);--ag-borders-secondary:var(--ag-borders);--ag-secondary-border-color:var(--ag-border-color);--ag-row-border-style:solid;--ag-row-border-width:1px;--ag-cell-horizontal-border:solid transparent;--ag-borders-input:var(--ag-borders-secondary);--ag-input-border-color:var(--ag-secondary-border-color);--ag-borders-input-invalid:solid 2px;--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-borders-side-button:var(--ag-borders);--ag-border-radius:0px;--ag-row-border-color:var(--ag-secondary-border-color);--ag-header-column-separator-display:none;--ag-header-column-separator-height:100%;--ag-header-column-separator-width:1px;--ag-header-column-separator-color:var(--ag-secondary-border-color);--ag-header-column-resize-handle-display:none;--ag-header-column-resize-handle-height:50%;--ag-header-column-resize-handle-width:1px;--ag-header-column-resize-handle-color:var(--ag-secondary-border-color);--ag-invalid-color:red;--ag-input-disabled-border-color:var(--ag-input-border-color);--ag-input-disabled-background-color:transparent;--ag-checkbox-background-color:transparent;--ag-checkbox-border-radius:var(--ag-border-radius);--ag-checkbox-checked-color:var(--ag-foreground-color);--ag-checkbox-unchecked-color:var(--ag-foreground-color);--ag-checkbox-indeterminate-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-off-border-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-off-background-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-on-border-color:var(--ag-checkbox-checked-color);--ag-toggle-button-on-background-color:var(--ag-checkbox-checked-color);--ag-toggle-button-switch-background-color:var(--ag-background-color);--ag-toggle-button-switch-border-color:var(--ag-toggle-button-off-border-color);--ag-toggle-button-border-width:1px;--ag-toggle-button-height:var(--ag-icon-size);--ag-toggle-button-width:calc(var(--ag-toggle-button-height)*2);--ag-input-focus-box-shadow:none;--ag-input-focus-border-color:none;--ag-minichart-selected-chart-color:var(--ag-checkbox-checked-color);--ag-minichart-selected-page-color:var(--ag-checkbox-checked-color);--ag-grid-size:4px;--ag-icon-size:12px;--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-horizontal-spacing:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:var(--ag-grid-size);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-cell-widget-spacing:var(--ag-cell-horizontal-padding);--ag-row-height:calc(var(--ag-grid-size)*6 + 1px);--ag-header-height:var(--ag-row-height);--ag-list-item-height:calc(var(--ag-grid-size)*5);--ag-column-select-indent-size:calc(var(--ag-grid-size) + var(--ag-icon-size));--ag-set-filter-indent-size:calc(var(--ag-grid-size) + var(--ag-icon-size));--ag-row-group-indent-size:calc(var(--ag-cell-widget-spacing) + var(--ag-icon-size));--ag-filter-tool-panel-group-indent:16px;--ag-tab-min-width:220px;--ag-menu-min-width:181px;--ag-side-bar-panel-width:200px;--ag-font-family:"Helvetica Neue",sans-serif;--ag-font-size:14px;--ag-card-radius:var(--ag-border-radius);--ag-card-shadow:none;--ag-popup-shadow:5px 5px 10px rgba(0,0,0,0.3)}.ag-dnd-ghost,.ag-root-wrapper,.ag-sticky-top{background-color:var(--ag-background-color)}[class*=ag-theme-]{-webkit-font-smoothing:antialiased;font-family:var(--ag-font-family);font-size:var(--ag-font-size);line-height:normal;color:var(--ag-foreground-color)}ag-grid,ag-grid-angular,ag-grid-aurelia,ag-grid-ng2,ag-grid-polymer{display:block}.ag-hidden{display:none!important}.ag-invisible{visibility:hidden!important}.ag-no-transition{transition:none!important}.ag-drag-handle{cursor:grab}.ag-column-drop-wrapper{display:flex}.ag-column-drop-horizontal-half-width{display:inline-block;width:50%!important}.ag-unselectable{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-selectable{-moz-user-select:text;-webkit-user-select:text;-ms-user-select:text;user-select:text}.ag-tab{position:relative}.ag-tab-guard{width:0;height:0;display:block}.ag-select-agg-func-popup,.ag-tab-guard{position:absolute}.ag-input-wrapper,.ag-picker-field-wrapper{display:flex;flex:1 1 auto;align-items:center;line-height:normal;position:relative}.ag-shake-left-to-right{animation-direction:alternate;animation-duration:.2s;animation-iteration-count:infinite;animation-name:ag-shake-left-to-right}@keyframes ag-shake-left-to-right{0%{padding-left:6px;padding-right:2px}to{padding-left:2px;padding-right:6px}}.ag-root-wrapper{cursor:default;position:relative;display:flex;flex-direction:column;overflow:hidden}.ag-root-wrapper.ag-layout-normal{height:100%}.ag-watermark{position:absolute;bottom:20px;right:25px;opacity:.5;transition:opacity 1s ease-out 3s}.ag-watermark:before{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjM1IDQwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMiI+PGcgZmlsbD0iIzE4MWQxZiI+PHBhdGggZD0iTTIwNS45OTMgMjUuNjU4di03Ljk0NmgtMTMuNTQxbC03Ljk0NyA3Ljk0NmgyMS40ODh6TTIyMS4yNSA1Ljk1aC0xNi45NzRsLTguMDEgNy45NDdoMjQuOTg0VjUuOTUxek0xNzYuNjIyIDMzLjYwNWw0LjA3LTQuMDY5aDEzLjczdjcuOTQ3aC0xNy44di0zLjg3OHoiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik0xNzkuNjEgMjEuNzhoOC43NzNsOC4wMS03Ljk0NkgxNzkuNjF2Ny45NDZ6TTE3MC4wMSAzMy42MDVoNi42MTJsNy44ODMtNy45NDdoLTE0LjQ5NHY3Ljk0N3pNMjA0LjI3NiA1Ljk1bC00LjA2OCA0LjA3SDE3NC4yN1YyLjA3MmgzMC4wMDZWNS45NXpNMzMuODQgMzIuMjA2SDIxLjM3OGwtMi4xNjIgNS4zNEgxMy43NWwxMS41MDctMjYuOTU0aDQuNzY4TDQxLjUzIDM3LjU0NmgtNS41M2wtMi4xNjItNS4zNHptLTEuNzE3LTQuMjZMMjcuNjA5IDE2Ljk1bC00LjUxNCAxMC45OThoOS4wMjh6TTExNy40MzcgMjAuNTA5YzEuNTg5LTIuMzUyIDUuNTk0LTIuNjA3IDcuMjQ3LTIuNjA3djQuNTc4Yy0yLjAzNCAwLTQuMDY5LjA2My01LjI3Ny45NTMtMS4yMDcuODktMS44NDMgMi4wOTgtMS44NDMgMy41NnYxMC41NTNoLTQuOTU5VjE3LjkwMmg0Ljc2OGwuMDY0IDIuNjA3eiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTEyNy40MTggMTcuOTAyaDQuOTU4djE5LjY0NGgtNC45NTh6TTEyNy40MTggOS4xM2g0Ljk1OHY1Ljg0OGgtNC45NTh6Ii8+PHBhdGggZD0iTTE1Ni45NzkgOS4xM3YyOC40MTZoLTQuNzY4bC0uMTI3LTIuOTg4YTguMzEgOC4zMSAwIDAxLTIuNjcgMi40OGMtMS4wODEuNTcyLTIuNDE2Ljg5LTMuOTQyLjg5LTEuMzM1IDAtMi42MDYtLjI1NS0zLjY4Ny0uNy0xLjE0NC0uNTA4LTIuMTYyLTEuMTQ0LTIuOTg4LTIuMDM0YTkuNTczIDkuNTczIDAgMDEtMS45Ny0zLjE3OWMtLjUxLTEuMjA3LS43LTIuNjA2LS43LTQuMTMyIDAtMS41MjUuMjU0LTIuOTI0LjctNC4xOTYuNTA4LTEuMjcxIDEuMTQ0LTIuMzUyIDEuOTctMy4yNDIuODI2LS44OSAxLjg0NC0xLjU4OSAyLjk4OC0yLjA5OCAxLjE0NC0uNTA4IDIuMzUyLS43NjIgMy42ODctLjc2MiAxLjUyNiAwIDIuNzk3LjI1NCAzLjg3OC44MjYgMS4wOC41NzIgMS45NyAxLjMzNSAyLjY3IDIuNDE2VjkuMTkzaDQuOTU5di0uMDY0em0tMTAuNDI2IDI0LjUzOGMxLjY1MyAwIDIuOTI0LS41NzIgMy45NDEtMS42NTMgMS4wMTctMS4wOCAxLjUyNi0yLjU0MiAxLjUyNi00LjMyMiAwLTEuNzgtLjUwOS0zLjE4LTEuNTI2LTQuMzIzLTEuMDE3LTEuMDgxLTIuMjg4LTEuNjUzLTMuOTQxLTEuNjUzLTEuNTkgMC0yLjkyNS41NzItMy44NzggMS42NTMtMS4wMTcgMS4wOC0xLjUyNiAyLjU0My0xLjUyNiA0LjMyMyAwIDEuNzguNTA5IDMuMTc4IDEuNTI2IDQuMjU5IDEuMDE3IDEuMTQ0IDIuMjg4IDEuNzE2IDMuODc4IDEuNzE2TTcwLjIwMiAyMi4zNTJINTcuOTMzdjQuMjZoNi45OTNjLS4xOSAyLjE2MS0xLjAxNyAzLjgxNC0yLjQxNiA1LjE1LTEuMzk4IDEuMjctMy4xNzggMS45MDYtNS40NjcgMS45MDYtMS4yNzEgMC0yLjQ4LS4yNTQtMy40OTctLjY5OWE3LjAyNSA3LjAyNSAwIDAxLTIuNzMzLTEuOTdjLS43NjMtLjgyNy0xLjMzNS0xLjg0NC0xLjc4LTMuMDUyLS40NDUtMS4yMDgtLjYzNi0yLjQ4LS42MzYtMy45NDIgMC0xLjQ2Mi4xOS0yLjczMy42MzYtMy45NDEuMzgxLTEuMjA4IDEuMDE3LTIuMTYyIDEuNzgtMy4wNTIuNzYzLS44MjYgMS42NTMtMS40NjIgMi43MzMtMS45N2E5LjExNSA5LjExNSAwIDAxMy41Ni0uN2MyLjY3IDAgNC43MDUuNjM2IDYuMTAzIDEuOTA4bDMuMzA2LTMuMzA2Yy0yLjQ4LTEuOTA3LTUuNjU4LTIuOTI1LTkuNDA4LTIuOTI1LTIuMDk4IDAtNC4wMDYuMzE4LTUuNzIyIDEuMDE4LTEuNzE2LjY5OS0zLjE3OSAxLjU4OS00LjM4NiAyLjc5N0ExMi4wNzQgMTIuMDc0IDAgMDA0NC4yIDE4LjIyYy0uNjM1IDEuNzE3LS45NTMgMy42MjQtLjk1MyA1LjY1OCAwIDIuMDM1LjMxOCAzLjk0MiAxLjAxNyA1LjY1OC43IDEuNzE3IDEuNTkgMy4xNzkgMi43OTcgNC4zODdhMTIuMDc0IDEyLjA3NCAwIDAwNC4zODcgMi43OTdjMS43MTYuNyAzLjYyMyAxLjAxNyA1LjY1OCAxLjAxNyAyLjAzNCAwIDMuODc3LS4zMTggNS41My0xLjAxNyAxLjY1My0uNyAzLjA1Mi0xLjU5IDQuMTk2LTIuNzk3IDEuMTQ0LTEuMjA4IDIuMDM0LTIuNjcgMi42Ny00LjM4Ny42MzYtMS43MTYuOTU0LTMuNjIzLjk1NC01LjY1OHYtLjgyNmMtLjE5MS0uMTI3LS4yNTUtLjQ0NS0uMjU1LS43TTEwOC45ODIgMjIuMzUyaC0xMi4yN3Y0LjI2aDYuOTkzYy0uMTkgMi4xNjEtMS4wMTcgMy44MTQtMi40MTYgNS4xNS0xLjM5OCAxLjI3LTMuMTc4IDEuOTA2LTUuNDY3IDEuOTA2LTEuMjcxIDAtMi40OC0uMjU0LTMuNDk2LS42OTlhNy4wMjUgNy4wMjUgMCAwMS0yLjczNC0xLjk3Yy0uNzYzLS44MjctMS4zMzUtMS44NDQtMS43OC0zLjA1Mi0uNDQ1LTEuMjA4LS42MzYtMi40OC0uNjM2LTMuOTQyIDAtMS40NjIuMTkxLTIuNzMzLjYzNi0zLjk0MS4zODEtMS4yMDggMS4wMTctMi4xNjIgMS43OC0zLjA1Mi43NjMtLjgyNiAxLjY1My0xLjQ2MiAyLjczNC0xLjk3YTkuMTE1IDkuMTE1IDAgMDEzLjU2LS43YzIuNjcgMCA0LjcwNC42MzYgNi4xMDMgMS45MDhsMy4zMDUtMy4zMDZjLTIuNDc5LTEuOTA3LTUuNjU4LTIuOTI1LTkuNDA4LTIuOTI1LTIuMDk4IDAtNC4wMDUuMzE4LTUuNzIyIDEuMDE4LTEuNzE2LjY5OS0zLjE3OCAxLjU4OS00LjM4NiAyLjc5N2ExMi4wNzQgMTIuMDc0IDAgMDAtMi43OTggNC4zODZjLS42MzUgMS43MTctLjk1MyAzLjYyNC0uOTUzIDUuNjU4IDAgMi4wMzUuMzE4IDMuOTQyIDEuMDE3IDUuNjU4LjcgMS43MTcgMS41OSAzLjE3OSAyLjc5NyA0LjM4N2ExMi4wNzQgMTIuMDc0IDAgMDA0LjM4NyAyLjc5N2MxLjcxNi43IDMuNjIzIDEuMDE3IDUuNjU4IDEuMDE3IDIuMDM0IDAgMy44NzgtLjMxOCA1LjUzLTEuMDE3IDEuNjUzLS43IDMuMDUyLTEuNTkgNC4xOTYtMi43OTcgMS4xNDUtMS4yMDggMi4wMzUtMi42NyAyLjY3LTQuMzg3LjYzNi0xLjcxNi45NTQtMy42MjMuOTU0LTUuNjU4di0uODI2Yy0uMTktLjEyNy0uMjU0LS40NDUtLjI1NC0uNyIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg==);background-repeat:no-repeat;background-size:170px 40px;display:block;height:40px;width:170px;opacity:.5}.ag-watermark-text{opacity:.5;font-weight:700;font-family:Impact,sans-serif;font-size:19px;padding-left:.7rem}.ag-root-wrapper-body{display:flex;flex-direction:row}.ag-root-wrapper-body.ag-layout-normal{flex:1 1 auto;height:0;min-height:0}.ag-root{position:relative;display:flex;flex-direction:column}.ag-root.ag-layout-auto-height,.ag-root.ag-layout-normal{overflow:hidden;flex:1 1 auto;width:0}.ag-root.ag-layout-normal{height:100%}.ag-body-horizontal-scroll-viewport,.ag-body-vertical-scroll-viewport,.ag-body-viewport,.ag-center-cols-viewport,.ag-floating-bottom-viewport,.ag-floating-top-viewport,.ag-header-viewport,.ag-sticky-top-viewport,.ag-virtual-list-viewport{position:relative;height:100%;min-width:0;overflow:hidden;flex:1 1 auto}.ag-body-viewport{display:flex}.ag-body-viewport.ag-layout-normal{overflow-y:auto;-webkit-overflow-scrolling:touch}.ag-center-cols-viewport{width:100%;overflow-x:auto}.ag-body-horizontal-scroll-viewport{overflow-x:scroll}.ag-body-vertical-scroll-viewport{overflow-y:scroll}.ag-virtual-list-viewport{overflow:auto;width:100%}.ag-body-container,.ag-body-horizontal-scroll-container,.ag-body-vertical-scroll-container,.ag-center-cols-container,.ag-floating-bottom-container,.ag-floating-bottom-full-width-container,.ag-floating-top-container,.ag-full-width-container,.ag-header-container,.ag-pinned-left-cols-container,.ag-pinned-right-cols-container,.ag-sticky-top-container,.ag-virtual-list-container{position:relative}.ag-floating-bottom-container,.ag-floating-top-container,.ag-header-container,.ag-sticky-top-container{height:100%;white-space:nowrap}.ag-center-cols-container,.ag-pinned-right-cols-container{display:block}.ag-body-horizontal-scroll-container{height:100%}.ag-body-vertical-scroll-container{width:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container,.ag-full-width-container,.ag-sticky-top-full-width-container{position:absolute;top:0;pointer-events:none}.ag-ltr .ag-floating-bottom-full-width-container,.ag-ltr .ag-floating-top-full-width-container,.ag-ltr .ag-full-width-container,.ag-ltr .ag-sticky-top-full-width-container{left:0}.ag-rtl .ag-floating-bottom-full-width-container,.ag-rtl .ag-floating-top-full-width-container,.ag-rtl .ag-full-width-container,.ag-rtl .ag-sticky-top-full-width-container{right:0}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container{display:inline-block;overflow:hidden;height:100%;width:100%}.ag-virtual-list-container{overflow:hidden}.ag-center-cols-clipper{flex:1 1 auto;min-width:0;overflow:hidden;min-height:100%;transform:translateZ(0)}.ag-body{position:relative;display:flex;flex:1 1 auto;flex-direction:row!important;min-height:0}.ag-body-clipper{overflow:hidden;min-width:0;flex:1 1 auto;height:100%;transform:translateZ(0)}.ag-body-horizontal-scroll,.ag-body-vertical-scroll{min-height:0;min-width:0;display:flex;position:relative}.ag-body-horizontal-scroll.ag-scrollbar-invisible,.ag-body-vertical-scroll.ag-scrollbar-invisible{position:absolute;bottom:0}.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar,.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar{opacity:0;transition:opacity .4s;visibility:hidden}.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-active,.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-scrolling,.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-active,.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-scrolling{visibility:visible;opacity:1}.ag-body-horizontal-scroll{width:100%}.ag-body-horizontal-scroll.ag-scrollbar-invisible{left:0;right:0}.ag-body-vertical-scroll{height:100%}.ag-body-vertical-scroll.ag-scrollbar-invisible{top:0;z-index:10}.ag-ltr .ag-body-vertical-scroll.ag-scrollbar-invisible{right:0}.ag-rtl .ag-body-vertical-scroll.ag-scrollbar-invisible{left:0}.ag-force-vertical-scroll{overflow-y:scroll!important}.ag-horizontal-left-spacer,.ag-horizontal-right-spacer{height:100%;min-width:0;overflow-x:scroll}.ag-horizontal-left-spacer.ag-scroller-corner,.ag-horizontal-right-spacer.ag-scroller-corner{overflow-x:hidden}.ag-header,.ag-pinned-left-header,.ag-pinned-right-header{display:inline-block;overflow:hidden;position:relative}.ag-header-cell-sortable .ag-header-cell-label{cursor:pointer}.ag-header{display:flex;width:100%;white-space:nowrap}.ag-pinned-left-header,.ag-pinned-right-header{height:100%}.ag-header-row{position:absolute}.ag-header-row:not(.ag-header-row-column-group){overflow:hidden}.ag-header.ag-header-allow-overflow .ag-header-row{overflow:visible}.ag-header-cell{display:inline-flex;align-items:center;position:absolute;height:100%;overflow:hidden}.ag-header-cell.ag-header-active .ag-header-cell-menu-button{opacity:1}.ag-header-cell-menu-button:not(.ag-header-menu-always-show){transition:opacity .2s;opacity:0}.ag-header-cell-label,.ag-header-group-cell-label{display:flex;flex:1 1 auto;overflow:hidden;align-items:center;text-overflow:ellipsis;align-self:stretch}.ag-header-group-cell-label.ag-sticky-label{position:sticky;flex:none;max-width:100%}.ag-header-cell-text{overflow:hidden;text-overflow:ellipsis}.ag-header-cell:not(.ag-header-cell-auto-height) .ag-header-cell-comp-wrapper{height:100%;display:flex;align-items:center}.ag-header-cell-comp-wrapper{width:100%;overflow:hidden}.ag-header-cell-wrap-text .ag-header-cell-comp-wrapper{white-space:normal}.ag-right-aligned-header .ag-header-cell-label{flex-direction:row-reverse}.ag-header-group-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-header-cell-resize{position:absolute;z-index:2;height:100%;width:8px;top:0;cursor:ew-resize}.ag-ltr .ag-header-cell-resize{right:-4px}.ag-rtl .ag-header-cell-resize{left:-4px}.ag-pinned-left-header .ag-header-cell-resize{right:-4px}.ag-pinned-right-header .ag-header-cell-resize{left:-4px}.ag-header-select-all{display:flex}.ag-column-moving .ag-cell,.ag-column-moving .ag-header-cell{transition:left .2s}.ag-column-moving .ag-header-group-cell{transition:left .2s,width .2s}.ag-column-panel{display:flex;flex-direction:column;overflow:hidden;flex:1 1 auto}.ag-column-select{position:relative;display:flex;flex-direction:column;overflow:hidden;flex:3 1 0px}.ag-column-select-header{position:relative;display:flex;flex:none}.ag-column-select-header-icon{position:relative}.ag-column-select-header-filter-wrapper{flex:1 1 auto}.ag-column-select-header-filter{width:100%}.ag-column-select-list{flex:1 1 0px;overflow:hidden}.ag-column-drop{position:relative;display:inline-flex;align-items:center;overflow:auto;width:100%}.ag-column-drop-cell,.ag-column-drop-list{display:flex;align-items:center}.ag-column-drop-cell{position:relative}.ag-column-drop-cell-text{overflow:hidden;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.ag-column-drop-vertical{display:flex;flex-direction:column;overflow:hidden;align-items:stretch;flex:1 1 0px}.ag-column-drop-vertical-title-bar{display:flex;align-items:center;flex:none}.ag-column-drop-vertical-list{position:relative;align-items:stretch;flex-grow:1;flex-direction:column;overflow-x:auto}.ag-column-drop-vertical-list>*{flex:none}.ag-column-drop-empty .ag-column-drop-vertical-list{overflow:hidden}.ag-column-drop-vertical-empty-message{display:block}.ag-column-drop.ag-column-drop-horizontal{white-space:nowrap;overflow:hidden}.ag-column-drop-cell-button{cursor:pointer}.ag-filter-toolpanel{flex:1 1 0px;min-width:0}.ag-filter-toolpanel-header{position:relative}.ag-filter-toolpanel-header,.ag-filter-toolpanel-header>*,.ag-filter-toolpanel-search,.ag-filter-toolpanel-search>*{display:flex;align-items:center}.ag-filter-apply-panel{display:flex;justify-content:flex-end;overflow:hidden}.ag-row-animation .ag-row{transition:transform .4s,top .4s,background-color .1s,opacity .2s}.ag-row-animation .ag-row.ag-after-created{transition:transform .4s,top .4s,height .4s,background-color .1s,opacity .2s}.ag-row-no-animation .ag-row{transition:background-color .1s}.ag-row{white-space:nowrap;width:100%}.ag-row-loading{display:flex;align-items:center}.ag-row-position-absolute{position:absolute}.ag-row-position-relative{position:relative}.ag-full-width-row{overflow:hidden;pointer-events:all}.ag-row-inline-editing{z-index:1}.ag-row-dragging{z-index:2}.ag-stub-cell{display:flex;align-items:center}.ag-cell{display:inline-block;position:absolute;white-space:nowrap;height:100%}.ag-cell-value{flex:1 1 auto}.ag-cell-value,.ag-group-value{overflow:hidden;text-overflow:ellipsis}.ag-cell-wrap-text{white-space:normal;word-break:break-all}.ag-cell-wrapper{display:flex;align-items:center}.ag-cell-wrapper.ag-row-group{align-items:flex-start}.ag-sparkline-wrapper{position:absolute;height:100%;width:100%;left:0;top:0}.ag-full-width-row .ag-cell-wrapper.ag-row-group{height:100%;align-items:center}.ag-cell-inline-editing{z-index:1}.ag-cell-inline-editing .ag-cell-edit-wrapper,.ag-cell-inline-editing .ag-cell-editor,.ag-cell-inline-editing .ag-cell-editor .ag-wrapper,.ag-cell-inline-editing .ag-cell-editor input,.ag-cell-inline-editing .ag-cell-wrapper{height:100%;width:100%;line-height:normal}.ag-cell .ag-icon{display:inline-block;vertical-align:middle}.ag-set-filter-item{display:flex;align-items:center;height:100%}.ag-set-filter-item-checkbox{display:flex;overflow:hidden}.ag-set-filter-group-icons{display:block}.ag-set-filter-group-icons>*{cursor:pointer}.ag-filter-body-wrapper{display:flex;flex-direction:column}.ag-filter-filter{flex:1 1 0px}.ag-filter-condition{display:flex;justify-content:center}.ag-floating-filter-body{position:relative;display:flex;flex:1 1 auto;height:100%}.ag-floating-filter-full-body{display:flex;flex:1 1 auto;height:100%;width:100%;align-items:center;overflow:hidden}.ag-floating-filter-full-body>div{flex:1 1 auto}.ag-floating-filter-input{align-items:center;display:flex;width:100%}.ag-floating-filter-input>*{flex:1 1 auto}.ag-floating-filter-button{display:flex;flex:none}.ag-set-floating-filter-input input[disabled]{pointer-events:none}.ag-dnd-ghost{position:absolute;display:inline-flex;align-items:center;cursor:move;white-space:nowrap;z-index:9999}.ag-overlay{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.ag-overlay-panel,.ag-overlay-wrapper{display:flex;height:100%;width:100%}.ag-overlay-wrapper{flex:none;align-items:center;justify-content:center;text-align:center}.ag-overlay-loading-wrapper{pointer-events:all}.ag-popup-child{z-index:5;top:0}.ag-popup-editor{position:absolute;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-large-text-input{display:block}.ag-virtual-list-item{position:absolute;width:100%}.ag-floating-top{overflow:hidden;white-space:nowrap;width:100%;position:relative;display:flex}.ag-pinned-left-floating-top,.ag-pinned-right-floating-top{display:inline-block;overflow:hidden;position:relative;min-width:0}.ag-floating-bottom{overflow:hidden;white-space:nowrap;width:100%;position:relative;display:flex}.ag-pinned-left-floating-bottom,.ag-pinned-right-floating-bottom{display:inline-block;overflow:hidden;position:relative;min-width:0}.ag-sticky-top{position:absolute;display:flex;width:100%}.ag-pinned-left-sticky-top,.ag-pinned-right-sticky-top{position:relative;height:100%;overflow:hidden}.ag-sticky-top-full-width-container{overflow:hidden;width:100%;height:100%}.ag-dialog,.ag-panel{display:flex;flex-direction:column;position:relative;overflow:hidden}.ag-panel-title-bar{display:flex;flex:none;align-items:center;cursor:default}.ag-panel-title-bar-title{flex:1 1 auto}.ag-panel-title-bar-buttons{display:flex}.ag-panel-title-bar-button{cursor:pointer}.ag-panel-content-wrapper{display:flex;flex:1 1 auto;position:relative;overflow:hidden}.ag-dialog,.ag-resizer{position:absolute}.ag-resizer{pointer-events:none;z-index:1;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-resizer.ag-resizer-topLeft{top:0;left:0;height:5px;width:5px;cursor:nwse-resize}.ag-resizer.ag-resizer-top{top:0;left:5px;right:5px;height:5px;cursor:ns-resize}.ag-resizer.ag-resizer-topRight{top:0;right:0;height:5px;width:5px;cursor:nesw-resize}.ag-resizer.ag-resizer-right{top:5px;right:0;bottom:5px;width:5px;cursor:ew-resize}.ag-resizer.ag-resizer-bottomRight{bottom:0;right:0;height:5px;width:5px;cursor:nwse-resize}.ag-resizer.ag-resizer-bottom{bottom:0;left:5px;right:5px;height:5px;cursor:ns-resize}.ag-resizer.ag-resizer-bottomLeft{bottom:0;left:0;height:5px;width:5px;cursor:nesw-resize}.ag-resizer.ag-resizer-left{left:0;top:5px;bottom:5px;width:5px;cursor:ew-resize}.ag-tooltip,.ag-tooltip-custom{position:absolute;pointer-events:none;z-index:99999}.ag-value-slide-out{margin-right:5px;opacity:1;transition:opacity 3s,margin-right 3s;transition-timing-function:linear}.ag-value-slide-out-end{margin-right:10px;opacity:0}.ag-opacity-zero{opacity:0!important}.ag-menu{max-height:100%;overflow-y:auto;position:absolute;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-menu-column-select-wrapper{height:265px;overflow:auto}.ag-menu-column-select-wrapper .ag-column-select{height:100%}.ag-menu-list{display:table;width:100%}.ag-menu-option,.ag-menu-separator{display:table-row}.ag-menu-option-part,.ag-menu-separator-part{display:table-cell;vertical-align:middle}.ag-menu-option-text{white-space:nowrap}.ag-compact-menu-option{width:100%;display:flex;flex-wrap:nowrap}.ag-compact-menu-option-text{white-space:nowrap;flex:1 1 auto}.ag-rich-select{cursor:default;outline:none}.ag-rich-select-value{display:flex;align-items:center}.ag-rich-select-value-icon{flex:1 1 auto;order:1}.ag-ltr .ag-rich-select-value-icon{text-align:right}.ag-rtl .ag-rich-select-value-icon{text-align:left}.ag-rich-select-list{position:relative}.ag-rich-select-virtual-list-item{display:flex}.ag-rich-select-row{display:flex;flex:1 1 auto;align-items:center;white-space:nowrap;overflow:hidden}.ag-paging-panel{justify-content:flex-end}.ag-paging-page-summary-panel,.ag-paging-panel{align-items:center;display:flex}.ag-paging-button{position:relative}.ag-disabled .ag-paging-page-summary-panel{pointer-events:none}.ag-tool-panel-wrapper{display:flex;overflow-y:auto;overflow-x:hidden;cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-column-select-column,.ag-column-select-column-group,.ag-select-agg-func-item{position:relative;align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;height:100%}.ag-column-select-column-group>*,.ag-column-select-column>*,.ag-select-agg-func-item>*{flex:none}.ag-column-select-column-label,.ag-select-agg-func-item{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-column-select-checkbox{display:flex}.ag-tool-panel-horizontal-resize{cursor:ew-resize;height:100%;position:absolute;top:0;width:5px;z-index:1}.ag-ltr .ag-side-bar-left .ag-tool-panel-horizontal-resize{right:-3px}.ag-ltr .ag-side-bar-right .ag-tool-panel-horizontal-resize,.ag-rtl .ag-side-bar-left .ag-tool-panel-horizontal-resize{left:-3px}.ag-rtl .ag-side-bar-right .ag-tool-panel-horizontal-resize{right:-3px}.ag-details-row{width:100%}.ag-details-row-fixed-height{height:100%}.ag-details-grid{width:100%}.ag-details-grid-fixed-height{height:100%}.ag-header-group-cell{display:flex;align-items:center;height:100%;position:absolute}.ag-header-group-cell-no-group.ag-header-span-height .ag-header-cell-resize{display:none}.ag-cell-label-container{display:flex;justify-content:space-between;flex-direction:row-reverse;align-items:center;height:100%;width:100%;overflow:hidden;padding:5px 0}.ag-right-aligned-header .ag-cell-label-container{flex-direction:row}.ag-right-aligned-header .ag-header-cell-text{text-align:end}.ag-side-bar{display:flex;flex-direction:row-reverse}.ag-side-bar-left{order:-1;flex-direction:row}.ag-side-button-button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;white-space:nowrap;outline:none;cursor:pointer}.ag-side-button-label{writing-mode:vertical-lr}.ag-status-bar{display:flex;justify-content:space-between;overflow:hidden}.ag-status-panel{display:inline-flex}.ag-status-name-value{white-space:nowrap}.ag-status-bar-center,.ag-status-bar-left,.ag-status-bar-right{display:inline-flex}.ag-icon{display:block;speak:none}.ag-group{position:relative;width:100%}.ag-group-title-bar{display:flex;align-items:center}.ag-group-title{display:block;flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ag-group-title-bar .ag-group-title{cursor:default}.ag-group-toolbar{display:flex;align-items:center}.ag-group-container{display:flex}.ag-disabled .ag-group-container{pointer-events:none}.ag-group-container-horizontal{flex-direction:row;flex-wrap:wrap}.ag-group-container-vertical{flex-direction:column}.ag-column-group-icons{display:block}.ag-column-group-icons>*{cursor:pointer}.ag-group-item-alignment-stretch .ag-group-item{align-items:stretch}.ag-group-item-alignment-start .ag-group-item{align-items:flex-start}.ag-group-item-alignment-end .ag-group-item{align-items:flex-end}.ag-toggle-button-icon{transition:right .3s;position:absolute;top:-1px}.ag-input-field,.ag-select{display:flex;flex-direction:row;align-items:center}.ag-input-field-input{flex:1 1 auto}.ag-floating-filter-input .ag-input-field-input[type=date]{width:1px}.ag-angle-select,.ag-range-field{display:flex;align-items:center}.ag-angle-select-wrapper{display:flex}.ag-angle-select-parent-circle{display:block;position:relative}.ag-angle-select-child-circle{position:absolute}.ag-slider-wrapper{display:flex}.ag-picker-field-display,.ag-slider-wrapper .ag-input-field{flex:1 1 auto}.ag-picker-field{display:flex;align-items:center}.ag-picker-field-icon{display:flex;border:0;padding:0;margin:0;cursor:pointer}.ag-picker-field-wrapper{overflow:hidden}.ag-label-align-right .ag-label{order:1}.ag-label-align-right>*{flex:none}.ag-label-align-top{flex-direction:column;align-items:flex-start}.ag-label-align-top>*{align-self:stretch}.ag-label-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.ag-color-panel{width:100%;display:flex;flex-direction:column;text-align:center}.ag-spectrum-color{flex:1 1 auto;position:relative;overflow:hidden;cursor:default}.ag-spectrum-fill{position:absolute;top:0;left:0;right:0;bottom:0}.ag-spectrum-val{cursor:pointer}.ag-spectrum-dragger{position:absolute;pointer-events:none;cursor:pointer}.ag-spectrum-hue{cursor:default;background:linear-gradient(270deg,red 3%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.ag-spectrum-alpha{cursor:default}.ag-spectrum-hue-background{width:100%;height:100%}.ag-spectrum-alpha-background{background-image:linear-gradient(90deg,transparent,#000);width:100%;height:100%}.ag-spectrum-tool{cursor:pointer}.ag-spectrum-slider{position:absolute;pointer-events:none}.ag-recent-colors{display:flex}.ag-recent-color{cursor:pointer}.ag-ltr .ag-column-select-indent-1{padding-left:20px}.ag-rtl .ag-column-select-indent-1{padding-right:20px}.ag-ltr .ag-set-filter-indent-1{padding-left:20px}.ag-rtl .ag-set-filter-indent-1{padding-right:20px}.ag-ltr .ag-row-group-indent-1{padding-left:20px}.ag-rtl .ag-row-group-indent-1{padding-right:20px}.ag-ltr .ag-column-select-indent-2{padding-left:40px}.ag-rtl .ag-column-select-indent-2{padding-right:40px}.ag-ltr .ag-set-filter-indent-2{padding-left:40px}.ag-rtl .ag-set-filter-indent-2{padding-right:40px}.ag-ltr .ag-row-group-indent-2{padding-left:40px}.ag-rtl .ag-row-group-indent-2{padding-right:40px}.ag-ltr .ag-column-select-indent-3{padding-left:60px}.ag-rtl .ag-column-select-indent-3{padding-right:60px}.ag-ltr .ag-set-filter-indent-3{padding-left:60px}.ag-rtl .ag-set-filter-indent-3{padding-right:60px}.ag-ltr .ag-row-group-indent-3{padding-left:60px}.ag-rtl .ag-row-group-indent-3{padding-right:60px}.ag-ltr .ag-column-select-indent-4{padding-left:80px}.ag-rtl .ag-column-select-indent-4{padding-right:80px}.ag-ltr .ag-set-filter-indent-4{padding-left:80px}.ag-rtl .ag-set-filter-indent-4{padding-right:80px}.ag-ltr .ag-row-group-indent-4{padding-left:80px}.ag-rtl .ag-row-group-indent-4{padding-right:80px}.ag-ltr .ag-column-select-indent-5{padding-left:100px}.ag-rtl .ag-column-select-indent-5{padding-right:100px}.ag-ltr .ag-set-filter-indent-5{padding-left:100px}.ag-rtl .ag-set-filter-indent-5{padding-right:100px}.ag-ltr .ag-row-group-indent-5{padding-left:100px}.ag-rtl .ag-row-group-indent-5{padding-right:100px}.ag-ltr .ag-column-select-indent-6{padding-left:120px}.ag-rtl .ag-column-select-indent-6{padding-right:120px}.ag-ltr .ag-set-filter-indent-6{padding-left:120px}.ag-rtl .ag-set-filter-indent-6{padding-right:120px}.ag-ltr .ag-row-group-indent-6{padding-left:120px}.ag-rtl .ag-row-group-indent-6{padding-right:120px}.ag-ltr .ag-column-select-indent-7{padding-left:140px}.ag-rtl .ag-column-select-indent-7{padding-right:140px}.ag-ltr .ag-set-filter-indent-7{padding-left:140px}.ag-rtl .ag-set-filter-indent-7{padding-right:140px}.ag-ltr .ag-row-group-indent-7{padding-left:140px}.ag-rtl .ag-row-group-indent-7{padding-right:140px}.ag-ltr .ag-column-select-indent-8{padding-left:160px}.ag-rtl .ag-column-select-indent-8{padding-right:160px}.ag-ltr .ag-set-filter-indent-8{padding-left:160px}.ag-rtl .ag-set-filter-indent-8{padding-right:160px}.ag-ltr .ag-row-group-indent-8{padding-left:160px}.ag-rtl .ag-row-group-indent-8{padding-right:160px}.ag-ltr .ag-column-select-indent-9{padding-left:180px}.ag-rtl .ag-column-select-indent-9{padding-right:180px}.ag-ltr .ag-set-filter-indent-9{padding-left:180px}.ag-rtl .ag-set-filter-indent-9{padding-right:180px}.ag-ltr .ag-row-group-indent-9{padding-left:180px}.ag-rtl .ag-row-group-indent-9{padding-right:180px}.ag-ltr{direction:ltr}.ag-ltr .ag-body,.ag-ltr .ag-body-horizontal-scroll,.ag-ltr .ag-body-viewport,.ag-ltr .ag-floating-bottom,.ag-ltr .ag-floating-top,.ag-ltr .ag-header,.ag-ltr .ag-sticky-top{flex-direction:row}.ag-rtl{direction:rtl}.ag-rtl .ag-body,.ag-rtl .ag-body-horizontal-scroll,.ag-rtl .ag-body-viewport,.ag-rtl .ag-floating-bottom,.ag-rtl .ag-floating-top,.ag-rtl .ag-header,.ag-rtl .ag-sticky-top{flex-direction:row-reverse}.ag-rtl .ag-icon-contracted,.ag-rtl .ag-icon-expanded,.ag-rtl .ag-icon-tree-closed{display:block;transform:rotate(180deg)}.ag-body .ag-body-viewport{-webkit-overflow-scrolling:touch}.ag-layout-print.ag-body{display:block;height:unset}.ag-layout-print.ag-body-clipper{height:unset}.ag-layout-print.ag-root-wrapper{display:inline-flex}.ag-layout-print .ag-center-cols-clipper{min-width:100%}.ag-layout-print .ag-body-horizontal-scroll,.ag-layout-print .ag-body-vertical-scroll{display:none}.ag-layout-print.ag-force-vertical-scroll{overflow-y:visible!important}@media print{.ag-root-wrapper.ag-layout-print{display:table}.ag-root-wrapper.ag-layout-print .ag-body-horizontal-scroll-viewport,.ag-root-wrapper.ag-layout-print .ag-body-viewport,.ag-root-wrapper.ag-layout-print .ag-center-cols-clipper,.ag-root-wrapper.ag-layout-print .ag-center-cols-container,.ag-root-wrapper.ag-layout-print .ag-center-cols-viewport,.ag-root-wrapper.ag-layout-print .ag-root,.ag-root-wrapper.ag-layout-print .ag-root-wrapper-body,.ag-root-wrapper.ag-layout-print .ag-virtual-list-viewport{height:auto!important;overflow:hidden!important;display:block!important}.ag-root-wrapper.ag-layout-print .ag-cell,.ag-root-wrapper.ag-layout-print .ag-row{break-inside:avoid}}[class^=ag-],[class^=ag-]:after,[class^=ag-]:before,[class^=ag-]:focus{box-sizing:border-box;outline:none}[class^=ag-]::-ms-clear{display:none}.ag-checkbox .ag-input-wrapper,.ag-radio-button .ag-input-wrapper{overflow:visible}.ag-range-field .ag-input-wrapper{height:100%}.ag-toggle-button{flex:none;width:unset;min-width:unset}.ag-button{border-radius:0;color:var(--ag-foreground-color)}.ag-button:hover{background-color:transparent}.ag-ltr .ag-label-align-right .ag-label{margin-left:var(--ag-grid-size)}.ag-rtl .ag-label-align-right .ag-label{margin-right:var(--ag-grid-size)}input[class^=ag-]{margin:0}input[class^=ag-],select[class^=ag-],textarea[class^=ag-]{background-color:var(--ag-background-color)}input[class^=ag-]:not([type]),input[class^=ag-][type=date],input[class^=ag-][type=datetime-local],input[class^=ag-][type=number],input[class^=ag-][type=tel],input[class^=ag-][type=text],textarea[class^=ag-]{font-size:inherit;line-height:inherit;color:inherit;border:var(--ag-borders-input) var(--ag-input-border-color)}input[class^=ag-]:not([type]):disabled,input[class^=ag-][type=date]:disabled,input[class^=ag-][type=datetime-local]:disabled,input[class^=ag-][type=number]:disabled,input[class^=ag-][type=tel]:disabled,input[class^=ag-][type=text]:disabled,textarea[class^=ag-]:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}input[class^=ag-]:not([type]):focus,input[class^=ag-][type=date]:focus,input[class^=ag-][type=datetime-local]:focus,input[class^=ag-][type=number]:focus,input[class^=ag-][type=tel]:focus,input[class^=ag-][type=text]:focus,textarea[class^=ag-]:focus{outline:none;box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-input-focus-border-color)}input[class^=ag-]:not([type]):invalid,input[class^=ag-][type=date]:invalid,input[class^=ag-][type=datetime-local]:invalid,input[class^=ag-][type=number]:invalid,input[class^=ag-][type=tel]:invalid,input[class^=ag-][type=text]:invalid,textarea[class^=ag-]:invalid{border:var(--ag-borders-input-invalid) var(--ag-input-border-color-invalid)}input[class^=ag-][type=number]:not(.ag-number-field-input-stepper){-moz-appearance:textfield}input[class^=ag-][type=number]:not(.ag-number-field-input-stepper)::-webkit-inner-spin-button,input[class^=ag-][type=number]:not(.ag-number-field-input-stepper)::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[class^=ag-][type=range]{padding:0}button[class^=ag-]:focus,input[class^=ag-][type=button]:focus{box-shadow:var(--ag-input-focus-box-shadow)}.ag-drag-handle{color:var(--ag-secondary-foreground-color)}.ag-list-item,.ag-virtual-list-item{height:var(--ag-list-item-height)}.ag-keyboard-focus .ag-virtual-list-item:focus{outline:none}.ag-keyboard-focus .ag-virtual-list-item:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-select-list{background-color:var(--ag-background-color);overflow-y:auto;overflow-x:hidden}.ag-list-item{display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-list-item.ag-active-item{background-color:var(--ag-row-hover-color)}.ag-select-list-item{padding-left:4px;padding-right:4px;cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-select-list-item span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ag-select .ag-picker-field-wrapper{background-color:var(--ag-background-color);min-height:var(--ag-list-item-height);cursor:default}.ag-select.ag-disabled .ag-picker-field-wrapper:focus{box-shadow:none}.ag-select:not(.ag-cell-editor,.ag-label-align-top){height:var(--ag-list-item-height)}.ag-select .ag-picker-field-display{margin:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-select .ag-picker-field-icon{display:flex;align-items:center}.ag-select.ag-disabled{opacity:.5}.ag-rich-select{background-color:var(--ag-control-panel-background-color)}.ag-rich-select-list{width:100%;min-width:200px;height:calc(var(--ag-row-height)*6.5)}.ag-rich-select-value{height:var(--ag-row-height);border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color);padding-top:0;padding-bottom:0}.ag-ltr .ag-rich-select-value{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-rich-select-value{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-rich-select-value{padding-right:var(--ag-grid-size)}.ag-rtl .ag-rich-select-value{padding-left:var(--ag-grid-size)}.ag-rich-select-virtual-list-item{cursor:default;height:var(--ag-list-item-height)}.ag-keyboard-focus .ag-rich-select-virtual-list-item:focus:after{content:none}.ag-rich-select-virtual-list-item:hover{background-color:var(--ag-row-hover-color)}.ag-ltr .ag-rich-select-row{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-rich-select-row{padding-right:var(--ag-cell-horizontal-padding)}.ag-rich-select-row-selected{background-color:var(--ag-selected-row-background-color)}.ag-group-contracted,.ag-group-expanded,.ag-row-drag,.ag-selection-checkbox{color:var(--ag-secondary-foreground-color)}.ag-ltr .ag-group-contracted,.ag-ltr .ag-group-expanded,.ag-ltr .ag-row-drag,.ag-ltr .ag-selection-checkbox{margin-right:var(--ag-cell-widget-spacing)}.ag-rtl .ag-group-contracted,.ag-rtl .ag-group-expanded,.ag-rtl .ag-row-drag,.ag-rtl .ag-selection-checkbox{margin-left:var(--ag-cell-widget-spacing)}.ag-cell-wrapper>:not(.ag-cell-value):not(.ag-group-value){--ag-internal-calculated-line-height:var(--ag-line-height,calc(var(--ag-row-height) - var(--ag-row-border-width)));--ag-internal-padded-row-height:calc(var(--ag-row-height) - var(--ag-row-border-width));height:min(var(--ag-internal-calculated-line-height),var(--ag-internal-padded-row-height));display:flex;align-items:center;flex:none}.ag-group-contracted,.ag-group-expanded{cursor:pointer}.ag-group-title-bar-icon{cursor:pointer;flex:none;color:var(--ag-secondary-foreground-color)}.ag-ltr .ag-group-child-count{margin-left:2px}.ag-rtl .ag-group-child-count{margin-right:2px}.ag-group-title-bar{background-color:var(--ag-subheader-background-color);padding:var(--ag-grid-size)}.ag-group-toolbar{padding:var(--ag-grid-size);background-color:var(--ag-subheader-toolbar-background-color)}.ag-disabled-group-container,.ag-disabled-group-title-bar{opacity:.5}.group-item{margin:calc(var(--ag-grid-size)*0.5) 0}.ag-label{white-space:nowrap}.ag-ltr .ag-label{margin-right:var(--ag-grid-size)}.ag-rtl .ag-label{margin-left:var(--ag-grid-size)}.ag-label-align-top .ag-label{margin-bottom:calc(var(--ag-grid-size)*0.5)}.ag-angle-select[disabled]{color:var(--ag-disabled-foreground-color);pointer-events:none}.ag-angle-select[disabled] .ag-angle-select-field{opacity:.4}.ag-ltr .ag-angle-select-field,.ag-ltr .ag-slider-field{margin-right:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-angle-select-field,.ag-rtl .ag-slider-field{margin-left:calc(var(--ag-grid-size)*2)}.ag-angle-select-parent-circle{width:24px;height:24px;border-radius:12px;border:1px solid;border-color:var(--ag-border-color);background-color:var(--ag-background-color)}.ag-angle-select-child-circle{top:4px;left:12px;width:6px;height:6px;margin-left:-3px;margin-top:-4px;border-radius:3px;background-color:var(--ag-secondary-foreground-color)}.ag-picker-field-wrapper{border:1px solid;border-color:var(--ag-border-color);border-radius:5px}.ag-picker-field-wrapper:focus{box-shadow:var(--ag-input-focus-box-shadow)}.ag-picker-field-button{background-color:var(--ag-background-color);color:var(--ag-secondary-foreground-color)}.ag-dialog.ag-color-dialog{border-radius:5px}.ag-color-picker .ag-picker-field-display{height:var(--ag-icon-size)}.ag-color-panel{padding:var(--ag-grid-size)}.ag-spectrum-color{background-color:red;border-radius:2px}.ag-spectrum-tools{padding:10px}.ag-spectrum-sat{background-image:linear-gradient(90deg,#fff,rgba(204,154,129,0))}.ag-spectrum-val{background-image:linear-gradient(0deg,#000,rgba(204,154,129,0))}.ag-spectrum-dragger{border-radius:12px;height:12px;width:12px;border:1px solid #fff;background:#000;box-shadow:0 0 2px 0 rgba(0,0,0,.24)}.ag-spectrum-alpha-background,.ag-spectrum-hue-background{border-radius:2px}.ag-spectrum-tool{margin-bottom:10px;height:11px;border-radius:2px}.ag-spectrum-slider{margin-top:-12px;width:13px;height:13px;border-radius:13px;background-color:#f8f8f8;box-shadow:0 1px 4px 0 rgba(0,0,0,.37)}.ag-recent-color{margin:0 3px}.ag-recent-color:first-child{margin-left:0}.ag-recent-color:last-child{margin-right:0}.ag-dnd-ghost{background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);overflow:hidden;text-overflow:ellipsis;border:var(--ag-borders-secondary) var(--ag-secondary-border-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height)!important;line-height:var(--ag-header-height);margin:0;padding:0 calc(var(--ag-grid-size)*2);transform:translateY(calc(var(--ag-grid-size)*2))}.ag-dnd-ghost-icon{margin-right:var(--ag-grid-size);color:var(--ag-foreground-color)}.ag-popup-child:not(.ag-tooltip-custom){box-shadow:var(--ag-popup-shadow)}.ag-dragging-fill-handle .ag-dialog,.ag-dragging-range-handle .ag-dialog{opacity:.7;pointer-events:none}.ag-dialog{border-radius:var(--ag-border-radius);border:var(--ag-borders) var(--ag-border-color)}.ag-panel{background-color:var(--ag-background-color)}.ag-panel-title-bar{background-color:var(--ag-header-background-color);color:var(--ag-header-foreground-color);height:var(--ag-header-height);padding:var(--ag-grid-size) var(--ag-cell-horizontal-padding);border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-panel-title-bar-button{margin-left:var(--ag-grid-size)}.ag-rtl .ag-panel-title-bar-button{margin-right:var(--ag-grid-size)}.ag-tooltip{background-color:var(--ag-tooltip-background-color);color:var(--ag-foreground-color);padding:var(--ag-grid-size);border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);transition:opacity 1s;white-space:normal}.ag-tooltip.ag-tooltip-hiding{opacity:0}.ag-tooltip-custom{transition:opacity 1s}.ag-tooltip-custom.ag-tooltip-hiding{opacity:0}.ag-ltr .ag-column-select-indent-1{padding-left:calc(var(--ag-column-select-indent-size)*1)}.ag-rtl .ag-column-select-indent-1{padding-right:calc(var(--ag-column-select-indent-size)*1)}.ag-ltr .ag-column-select-indent-2{padding-left:calc(var(--ag-column-select-indent-size)*2)}.ag-rtl .ag-column-select-indent-2{padding-right:calc(var(--ag-column-select-indent-size)*2)}.ag-ltr .ag-column-select-indent-3{padding-left:calc(var(--ag-column-select-indent-size)*3)}.ag-rtl .ag-column-select-indent-3{padding-right:calc(var(--ag-column-select-indent-size)*3)}.ag-ltr .ag-column-select-indent-4{padding-left:calc(var(--ag-column-select-indent-size)*4)}.ag-rtl .ag-column-select-indent-4{padding-right:calc(var(--ag-column-select-indent-size)*4)}.ag-ltr .ag-column-select-indent-5{padding-left:calc(var(--ag-column-select-indent-size)*5)}.ag-rtl .ag-column-select-indent-5{padding-right:calc(var(--ag-column-select-indent-size)*5)}.ag-ltr .ag-column-select-indent-6{padding-left:calc(var(--ag-column-select-indent-size)*6)}.ag-rtl .ag-column-select-indent-6{padding-right:calc(var(--ag-column-select-indent-size)*6)}.ag-ltr .ag-column-select-indent-7{padding-left:calc(var(--ag-column-select-indent-size)*7)}.ag-rtl .ag-column-select-indent-7{padding-right:calc(var(--ag-column-select-indent-size)*7)}.ag-ltr .ag-column-select-indent-8{padding-left:calc(var(--ag-column-select-indent-size)*8)}.ag-rtl .ag-column-select-indent-8{padding-right:calc(var(--ag-column-select-indent-size)*8)}.ag-ltr .ag-column-select-indent-9{padding-left:calc(var(--ag-column-select-indent-size)*9)}.ag-rtl .ag-column-select-indent-9{padding-right:calc(var(--ag-column-select-indent-size)*9)}.ag-column-select-header-icon{cursor:pointer}.ag-keyboard-focus .ag-column-select-header-icon:focus{outline:none}.ag-keyboard-focus .ag-column-select-header-icon:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:0;left:0;display:block;width:100%;height:100%;border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-ltr .ag-column-group-icons:not(:last-child),.ag-ltr .ag-column-select-checkbox:not(:last-child),.ag-ltr .ag-column-select-column-drag-handle:not(:last-child),.ag-ltr .ag-column-select-column-group-drag-handle:not(:last-child),.ag-ltr .ag-column-select-column-label:not(:last-child),.ag-ltr .ag-column-select-header-checkbox:not(:last-child),.ag-ltr .ag-column-select-header-filter-wrapper:not(:last-child),.ag-ltr .ag-column-select-header-icon:not(:last-child){margin-right:var(--ag-widget-horizontal-spacing)}.ag-rtl .ag-column-group-icons:not(:last-child),.ag-rtl .ag-column-select-checkbox:not(:last-child),.ag-rtl .ag-column-select-column-drag-handle:not(:last-child),.ag-rtl .ag-column-select-column-group-drag-handle:not(:last-child),.ag-rtl .ag-column-select-column-label:not(:last-child),.ag-rtl .ag-column-select-header-checkbox:not(:last-child),.ag-rtl .ag-column-select-header-filter-wrapper:not(:last-child),.ag-rtl .ag-column-select-header-icon:not(:last-child){margin-left:var(--ag-widget-horizontal-spacing)}.ag-keyboard-focus .ag-column-select-virtual-list-item:focus{outline:none}.ag-keyboard-focus .ag-column-select-virtual-list-item:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:1px;left:1px;display:block;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-select-column-group:not(:last-child),.ag-column-select-column:not(:last-child){margin-bottom:var(--ag-widget-vertical-spacing)}.ag-column-select-column-group-readonly,.ag-column-select-column-readonly{color:var(--ag-disabled-foreground-color);pointer-events:none}.ag-ltr .ag-column-select-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-rtl .ag-column-select-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-column-select-virtual-list-viewport{padding:calc(var(--ag-widget-container-vertical-padding)*0.5) 0}.ag-column-select-virtual-list-item{padding:0 var(--ag-widget-container-horizontal-padding)}.ag-checkbox-edit{padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding)}.ag-rtl{text-align:right}.ag-root-wrapper{border:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*1)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*1)}.ag-ltr .ag-row-group-indent-1{padding-left:calc(var(--ag-row-group-indent-size)*1)}.ag-rtl .ag-row-group-indent-1{padding-right:calc(var(--ag-row-group-indent-size)*1)}.ag-ltr .ag-row-level-1 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-1 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*2)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*2)}.ag-ltr .ag-row-group-indent-2{padding-left:calc(var(--ag-row-group-indent-size)*2)}.ag-rtl .ag-row-group-indent-2{padding-right:calc(var(--ag-row-group-indent-size)*2)}.ag-ltr .ag-row-level-2 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-2 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*3)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*3)}.ag-ltr .ag-row-group-indent-3{padding-left:calc(var(--ag-row-group-indent-size)*3)}.ag-rtl .ag-row-group-indent-3{padding-right:calc(var(--ag-row-group-indent-size)*3)}.ag-ltr .ag-row-level-3 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-3 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*4)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*4)}.ag-ltr .ag-row-group-indent-4{padding-left:calc(var(--ag-row-group-indent-size)*4)}.ag-rtl .ag-row-group-indent-4{padding-right:calc(var(--ag-row-group-indent-size)*4)}.ag-ltr .ag-row-level-4 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-4 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*5)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*5)}.ag-ltr .ag-row-group-indent-5{padding-left:calc(var(--ag-row-group-indent-size)*5)}.ag-rtl .ag-row-group-indent-5{padding-right:calc(var(--ag-row-group-indent-size)*5)}.ag-ltr .ag-row-level-5 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-5 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*6)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*6)}.ag-ltr .ag-row-group-indent-6{padding-left:calc(var(--ag-row-group-indent-size)*6)}.ag-rtl .ag-row-group-indent-6{padding-right:calc(var(--ag-row-group-indent-size)*6)}.ag-ltr .ag-row-level-6 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-6 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*7)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*7)}.ag-ltr .ag-row-group-indent-7{padding-left:calc(var(--ag-row-group-indent-size)*7)}.ag-rtl .ag-row-group-indent-7{padding-right:calc(var(--ag-row-group-indent-size)*7)}.ag-ltr .ag-row-level-7 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-7 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*8)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*8)}.ag-ltr .ag-row-group-indent-8{padding-left:calc(var(--ag-row-group-indent-size)*8)}.ag-rtl .ag-row-group-indent-8{padding-right:calc(var(--ag-row-group-indent-size)*8)}.ag-ltr .ag-row-level-8 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-8 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*9)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*9)}.ag-ltr .ag-row-group-indent-9{padding-left:calc(var(--ag-row-group-indent-size)*9)}.ag-rtl .ag-row-group-indent-9{padding-right:calc(var(--ag-row-group-indent-size)*9)}.ag-ltr .ag-row-level-9 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-9 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*10)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*10)}.ag-ltr .ag-row-group-indent-10{padding-left:calc(var(--ag-row-group-indent-size)*10)}.ag-rtl .ag-row-group-indent-10{padding-right:calc(var(--ag-row-group-indent-size)*10)}.ag-ltr .ag-row-level-10 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-10 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*11)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*11)}.ag-ltr .ag-row-group-indent-11{padding-left:calc(var(--ag-row-group-indent-size)*11)}.ag-rtl .ag-row-group-indent-11{padding-right:calc(var(--ag-row-group-indent-size)*11)}.ag-ltr .ag-row-level-11 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-11 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*12)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*12)}.ag-ltr .ag-row-group-indent-12{padding-left:calc(var(--ag-row-group-indent-size)*12)}.ag-rtl .ag-row-group-indent-12{padding-right:calc(var(--ag-row-group-indent-size)*12)}.ag-ltr .ag-row-level-12 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-12 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*13)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*13)}.ag-ltr .ag-row-group-indent-13{padding-left:calc(var(--ag-row-group-indent-size)*13)}.ag-rtl .ag-row-group-indent-13{padding-right:calc(var(--ag-row-group-indent-size)*13)}.ag-ltr .ag-row-level-13 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-13 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*14)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*14)}.ag-ltr .ag-row-group-indent-14{padding-left:calc(var(--ag-row-group-indent-size)*14)}.ag-rtl .ag-row-group-indent-14{padding-right:calc(var(--ag-row-group-indent-size)*14)}.ag-ltr .ag-row-level-14 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-14 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*15)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*15)}.ag-ltr .ag-row-group-indent-15{padding-left:calc(var(--ag-row-group-indent-size)*15)}.ag-rtl .ag-row-group-indent-15{padding-right:calc(var(--ag-row-group-indent-size)*15)}.ag-ltr .ag-row-level-15 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-15 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*16)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*16)}.ag-ltr .ag-row-group-indent-16{padding-left:calc(var(--ag-row-group-indent-size)*16)}.ag-rtl .ag-row-group-indent-16{padding-right:calc(var(--ag-row-group-indent-size)*16)}.ag-ltr .ag-row-level-16 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-16 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*17)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*17)}.ag-ltr .ag-row-group-indent-17{padding-left:calc(var(--ag-row-group-indent-size)*17)}.ag-rtl .ag-row-group-indent-17{padding-right:calc(var(--ag-row-group-indent-size)*17)}.ag-ltr .ag-row-level-17 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-17 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*18)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*18)}.ag-ltr .ag-row-group-indent-18{padding-left:calc(var(--ag-row-group-indent-size)*18)}.ag-rtl .ag-row-group-indent-18{padding-right:calc(var(--ag-row-group-indent-size)*18)}.ag-ltr .ag-row-level-18 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-18 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*19)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*19)}.ag-ltr .ag-row-group-indent-19{padding-left:calc(var(--ag-row-group-indent-size)*19)}.ag-rtl .ag-row-group-indent-19{padding-right:calc(var(--ag-row-group-indent-size)*19)}.ag-ltr .ag-row-level-19 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-19 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-20{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*20)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-20{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*20)}.ag-ltr .ag-row-group-indent-20{padding-left:calc(var(--ag-row-group-indent-size)*20)}.ag-rtl .ag-row-group-indent-20{padding-right:calc(var(--ag-row-group-indent-size)*20)}.ag-ltr .ag-row-level-20 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-20 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-21{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*21)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-21{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*21)}.ag-ltr .ag-row-group-indent-21{padding-left:calc(var(--ag-row-group-indent-size)*21)}.ag-rtl .ag-row-group-indent-21{padding-right:calc(var(--ag-row-group-indent-size)*21)}.ag-ltr .ag-row-level-21 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-21 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-22{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*22)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-22{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*22)}.ag-ltr .ag-row-group-indent-22{padding-left:calc(var(--ag-row-group-indent-size)*22)}.ag-rtl .ag-row-group-indent-22{padding-right:calc(var(--ag-row-group-indent-size)*22)}.ag-ltr .ag-row-level-22 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-22 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-23{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*23)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-23{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*23)}.ag-ltr .ag-row-group-indent-23{padding-left:calc(var(--ag-row-group-indent-size)*23)}.ag-rtl .ag-row-group-indent-23{padding-right:calc(var(--ag-row-group-indent-size)*23)}.ag-ltr .ag-row-level-23 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-23 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-24{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*24)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-24{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*24)}.ag-ltr .ag-row-group-indent-24{padding-left:calc(var(--ag-row-group-indent-size)*24)}.ag-rtl .ag-row-group-indent-24{padding-right:calc(var(--ag-row-group-indent-size)*24)}.ag-ltr .ag-row-level-24 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-24 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-25{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*25)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-25{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*25)}.ag-ltr .ag-row-group-indent-25{padding-left:calc(var(--ag-row-group-indent-size)*25)}.ag-rtl .ag-row-group-indent-25{padding-right:calc(var(--ag-row-group-indent-size)*25)}.ag-ltr .ag-row-level-25 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-25 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-26{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*26)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-26{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*26)}.ag-ltr .ag-row-group-indent-26{padding-left:calc(var(--ag-row-group-indent-size)*26)}.ag-rtl .ag-row-group-indent-26{padding-right:calc(var(--ag-row-group-indent-size)*26)}.ag-ltr .ag-row-level-26 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-26 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-27{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*27)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-27{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*27)}.ag-ltr .ag-row-group-indent-27{padding-left:calc(var(--ag-row-group-indent-size)*27)}.ag-rtl .ag-row-group-indent-27{padding-right:calc(var(--ag-row-group-indent-size)*27)}.ag-ltr .ag-row-level-27 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-27 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-28{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*28)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-28{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*28)}.ag-ltr .ag-row-group-indent-28{padding-left:calc(var(--ag-row-group-indent-size)*28)}.ag-rtl .ag-row-group-indent-28{padding-right:calc(var(--ag-row-group-indent-size)*28)}.ag-ltr .ag-row-level-28 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-28 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-29{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*29)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-29{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*29)}.ag-ltr .ag-row-group-indent-29{padding-left:calc(var(--ag-row-group-indent-size)*29)}.ag-rtl .ag-row-group-indent-29{padding-right:calc(var(--ag-row-group-indent-size)*29)}.ag-ltr .ag-row-level-29 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-29 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-30{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*30)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-30{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*30)}.ag-ltr .ag-row-group-indent-30{padding-left:calc(var(--ag-row-group-indent-size)*30)}.ag-rtl .ag-row-group-indent-30{padding-right:calc(var(--ag-row-group-indent-size)*30)}.ag-ltr .ag-row-level-30 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-30 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-31{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*31)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-31{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*31)}.ag-ltr .ag-row-group-indent-31{padding-left:calc(var(--ag-row-group-indent-size)*31)}.ag-rtl .ag-row-group-indent-31{padding-right:calc(var(--ag-row-group-indent-size)*31)}.ag-ltr .ag-row-level-31 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-31 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-32{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*32)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-32{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*32)}.ag-ltr .ag-row-group-indent-32{padding-left:calc(var(--ag-row-group-indent-size)*32)}.ag-rtl .ag-row-group-indent-32{padding-right:calc(var(--ag-row-group-indent-size)*32)}.ag-ltr .ag-row-level-32 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-32 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-33{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*33)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-33{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*33)}.ag-ltr .ag-row-group-indent-33{padding-left:calc(var(--ag-row-group-indent-size)*33)}.ag-rtl .ag-row-group-indent-33{padding-right:calc(var(--ag-row-group-indent-size)*33)}.ag-ltr .ag-row-level-33 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-33 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-34{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*34)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-34{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*34)}.ag-ltr .ag-row-group-indent-34{padding-left:calc(var(--ag-row-group-indent-size)*34)}.ag-rtl .ag-row-group-indent-34{padding-right:calc(var(--ag-row-group-indent-size)*34)}.ag-ltr .ag-row-level-34 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-34 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-35{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*35)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-35{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*35)}.ag-ltr .ag-row-group-indent-35{padding-left:calc(var(--ag-row-group-indent-size)*35)}.ag-rtl .ag-row-group-indent-35{padding-right:calc(var(--ag-row-group-indent-size)*35)}.ag-ltr .ag-row-level-35 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-35 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-36{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*36)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-36{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*36)}.ag-ltr .ag-row-group-indent-36{padding-left:calc(var(--ag-row-group-indent-size)*36)}.ag-rtl .ag-row-group-indent-36{padding-right:calc(var(--ag-row-group-indent-size)*36)}.ag-ltr .ag-row-level-36 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-36 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-37{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*37)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-37{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*37)}.ag-ltr .ag-row-group-indent-37{padding-left:calc(var(--ag-row-group-indent-size)*37)}.ag-rtl .ag-row-group-indent-37{padding-right:calc(var(--ag-row-group-indent-size)*37)}.ag-ltr .ag-row-level-37 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-37 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-38{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*38)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-38{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*38)}.ag-ltr .ag-row-group-indent-38{padding-left:calc(var(--ag-row-group-indent-size)*38)}.ag-rtl .ag-row-group-indent-38{padding-right:calc(var(--ag-row-group-indent-size)*38)}.ag-ltr .ag-row-level-38 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-38 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-39{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*39)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-39{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*39)}.ag-ltr .ag-row-group-indent-39{padding-left:calc(var(--ag-row-group-indent-size)*39)}.ag-rtl .ag-row-group-indent-39{padding-right:calc(var(--ag-row-group-indent-size)*39)}.ag-ltr .ag-row-level-39 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-39 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-40{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*40)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-40{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*40)}.ag-ltr .ag-row-group-indent-40{padding-left:calc(var(--ag-row-group-indent-size)*40)}.ag-rtl .ag-row-group-indent-40{padding-right:calc(var(--ag-row-group-indent-size)*40)}.ag-ltr .ag-row-level-40 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-40 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-41{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*41)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-41{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*41)}.ag-ltr .ag-row-group-indent-41{padding-left:calc(var(--ag-row-group-indent-size)*41)}.ag-rtl .ag-row-group-indent-41{padding-right:calc(var(--ag-row-group-indent-size)*41)}.ag-ltr .ag-row-level-41 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-41 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-42{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*42)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-42{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*42)}.ag-ltr .ag-row-group-indent-42{padding-left:calc(var(--ag-row-group-indent-size)*42)}.ag-rtl .ag-row-group-indent-42{padding-right:calc(var(--ag-row-group-indent-size)*42)}.ag-ltr .ag-row-level-42 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-42 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-43{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*43)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-43{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*43)}.ag-ltr .ag-row-group-indent-43{padding-left:calc(var(--ag-row-group-indent-size)*43)}.ag-rtl .ag-row-group-indent-43{padding-right:calc(var(--ag-row-group-indent-size)*43)}.ag-ltr .ag-row-level-43 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-43 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-44{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*44)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-44{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*44)}.ag-ltr .ag-row-group-indent-44{padding-left:calc(var(--ag-row-group-indent-size)*44)}.ag-rtl .ag-row-group-indent-44{padding-right:calc(var(--ag-row-group-indent-size)*44)}.ag-ltr .ag-row-level-44 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-44 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-45{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*45)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-45{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*45)}.ag-ltr .ag-row-group-indent-45{padding-left:calc(var(--ag-row-group-indent-size)*45)}.ag-rtl .ag-row-group-indent-45{padding-right:calc(var(--ag-row-group-indent-size)*45)}.ag-ltr .ag-row-level-45 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-45 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-46{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*46)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-46{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*46)}.ag-ltr .ag-row-group-indent-46{padding-left:calc(var(--ag-row-group-indent-size)*46)}.ag-rtl .ag-row-group-indent-46{padding-right:calc(var(--ag-row-group-indent-size)*46)}.ag-ltr .ag-row-level-46 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-46 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-47{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*47)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-47{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*47)}.ag-ltr .ag-row-group-indent-47{padding-left:calc(var(--ag-row-group-indent-size)*47)}.ag-rtl .ag-row-group-indent-47{padding-right:calc(var(--ag-row-group-indent-size)*47)}.ag-ltr .ag-row-level-47 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-47 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-48{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*48)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-48{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*48)}.ag-ltr .ag-row-group-indent-48{padding-left:calc(var(--ag-row-group-indent-size)*48)}.ag-rtl .ag-row-group-indent-48{padding-right:calc(var(--ag-row-group-indent-size)*48)}.ag-ltr .ag-row-level-48 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-48 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-49{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*49)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-49{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*49)}.ag-ltr .ag-row-group-indent-49{padding-left:calc(var(--ag-row-group-indent-size)*49)}.ag-rtl .ag-row-group-indent-49{padding-right:calc(var(--ag-row-group-indent-size)*49)}.ag-ltr .ag-row-level-49 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-49 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-50{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*50)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-50{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*50)}.ag-ltr .ag-row-group-indent-50{padding-left:calc(var(--ag-row-group-indent-size)*50)}.ag-rtl .ag-row-group-indent-50{padding-right:calc(var(--ag-row-group-indent-size)*50)}.ag-ltr .ag-row-level-50 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-50 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-51{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*51)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-51{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*51)}.ag-ltr .ag-row-group-indent-51{padding-left:calc(var(--ag-row-group-indent-size)*51)}.ag-rtl .ag-row-group-indent-51{padding-right:calc(var(--ag-row-group-indent-size)*51)}.ag-ltr .ag-row-level-51 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-51 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-52{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*52)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-52{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*52)}.ag-ltr .ag-row-group-indent-52{padding-left:calc(var(--ag-row-group-indent-size)*52)}.ag-rtl .ag-row-group-indent-52{padding-right:calc(var(--ag-row-group-indent-size)*52)}.ag-ltr .ag-row-level-52 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-52 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-53{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*53)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-53{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*53)}.ag-ltr .ag-row-group-indent-53{padding-left:calc(var(--ag-row-group-indent-size)*53)}.ag-rtl .ag-row-group-indent-53{padding-right:calc(var(--ag-row-group-indent-size)*53)}.ag-ltr .ag-row-level-53 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-53 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-54{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*54)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-54{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*54)}.ag-ltr .ag-row-group-indent-54{padding-left:calc(var(--ag-row-group-indent-size)*54)}.ag-rtl .ag-row-group-indent-54{padding-right:calc(var(--ag-row-group-indent-size)*54)}.ag-ltr .ag-row-level-54 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-54 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-55{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*55)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-55{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*55)}.ag-ltr .ag-row-group-indent-55{padding-left:calc(var(--ag-row-group-indent-size)*55)}.ag-rtl .ag-row-group-indent-55{padding-right:calc(var(--ag-row-group-indent-size)*55)}.ag-ltr .ag-row-level-55 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-55 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-56{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*56)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-56{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*56)}.ag-ltr .ag-row-group-indent-56{padding-left:calc(var(--ag-row-group-indent-size)*56)}.ag-rtl .ag-row-group-indent-56{padding-right:calc(var(--ag-row-group-indent-size)*56)}.ag-ltr .ag-row-level-56 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-56 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-57{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*57)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-57{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*57)}.ag-ltr .ag-row-group-indent-57{padding-left:calc(var(--ag-row-group-indent-size)*57)}.ag-rtl .ag-row-group-indent-57{padding-right:calc(var(--ag-row-group-indent-size)*57)}.ag-ltr .ag-row-level-57 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-57 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-58{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*58)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-58{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*58)}.ag-ltr .ag-row-group-indent-58{padding-left:calc(var(--ag-row-group-indent-size)*58)}.ag-rtl .ag-row-group-indent-58{padding-right:calc(var(--ag-row-group-indent-size)*58)}.ag-ltr .ag-row-level-58 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-58 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-59{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*59)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-59{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*59)}.ag-ltr .ag-row-group-indent-59{padding-left:calc(var(--ag-row-group-indent-size)*59)}.ag-rtl .ag-row-group-indent-59{padding-right:calc(var(--ag-row-group-indent-size)*59)}.ag-ltr .ag-row-level-59 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-59 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-60{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*60)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-60{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*60)}.ag-ltr .ag-row-group-indent-60{padding-left:calc(var(--ag-row-group-indent-size)*60)}.ag-rtl .ag-row-group-indent-60{padding-right:calc(var(--ag-row-group-indent-size)*60)}.ag-ltr .ag-row-level-60 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-60 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-61{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*61)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-61{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*61)}.ag-ltr .ag-row-group-indent-61{padding-left:calc(var(--ag-row-group-indent-size)*61)}.ag-rtl .ag-row-group-indent-61{padding-right:calc(var(--ag-row-group-indent-size)*61)}.ag-ltr .ag-row-level-61 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-61 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-62{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*62)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-62{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*62)}.ag-ltr .ag-row-group-indent-62{padding-left:calc(var(--ag-row-group-indent-size)*62)}.ag-rtl .ag-row-group-indent-62{padding-right:calc(var(--ag-row-group-indent-size)*62)}.ag-ltr .ag-row-level-62 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-62 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-63{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*63)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-63{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*63)}.ag-ltr .ag-row-group-indent-63{padding-left:calc(var(--ag-row-group-indent-size)*63)}.ag-rtl .ag-row-group-indent-63{padding-right:calc(var(--ag-row-group-indent-size)*63)}.ag-ltr .ag-row-level-63 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-63 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-64{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*64)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-64{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*64)}.ag-ltr .ag-row-group-indent-64{padding-left:calc(var(--ag-row-group-indent-size)*64)}.ag-rtl .ag-row-group-indent-64{padding-right:calc(var(--ag-row-group-indent-size)*64)}.ag-ltr .ag-row-level-64 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-64 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-65{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*65)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-65{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*65)}.ag-ltr .ag-row-group-indent-65{padding-left:calc(var(--ag-row-group-indent-size)*65)}.ag-rtl .ag-row-group-indent-65{padding-right:calc(var(--ag-row-group-indent-size)*65)}.ag-ltr .ag-row-level-65 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-65 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-66{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*66)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-66{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*66)}.ag-ltr .ag-row-group-indent-66{padding-left:calc(var(--ag-row-group-indent-size)*66)}.ag-rtl .ag-row-group-indent-66{padding-right:calc(var(--ag-row-group-indent-size)*66)}.ag-ltr .ag-row-level-66 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-66 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-67{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*67)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-67{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*67)}.ag-ltr .ag-row-group-indent-67{padding-left:calc(var(--ag-row-group-indent-size)*67)}.ag-rtl .ag-row-group-indent-67{padding-right:calc(var(--ag-row-group-indent-size)*67)}.ag-ltr .ag-row-level-67 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-67 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-68{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*68)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-68{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*68)}.ag-ltr .ag-row-group-indent-68{padding-left:calc(var(--ag-row-group-indent-size)*68)}.ag-rtl .ag-row-group-indent-68{padding-right:calc(var(--ag-row-group-indent-size)*68)}.ag-ltr .ag-row-level-68 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-68 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-69{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*69)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-69{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*69)}.ag-ltr .ag-row-group-indent-69{padding-left:calc(var(--ag-row-group-indent-size)*69)}.ag-rtl .ag-row-group-indent-69{padding-right:calc(var(--ag-row-group-indent-size)*69)}.ag-ltr .ag-row-level-69 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-69 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-70{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*70)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-70{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*70)}.ag-ltr .ag-row-group-indent-70{padding-left:calc(var(--ag-row-group-indent-size)*70)}.ag-rtl .ag-row-group-indent-70{padding-right:calc(var(--ag-row-group-indent-size)*70)}.ag-ltr .ag-row-level-70 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-70 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-71{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*71)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-71{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*71)}.ag-ltr .ag-row-group-indent-71{padding-left:calc(var(--ag-row-group-indent-size)*71)}.ag-rtl .ag-row-group-indent-71{padding-right:calc(var(--ag-row-group-indent-size)*71)}.ag-ltr .ag-row-level-71 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-71 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-72{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*72)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-72{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*72)}.ag-ltr .ag-row-group-indent-72{padding-left:calc(var(--ag-row-group-indent-size)*72)}.ag-rtl .ag-row-group-indent-72{padding-right:calc(var(--ag-row-group-indent-size)*72)}.ag-ltr .ag-row-level-72 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-72 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-73{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*73)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-73{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*73)}.ag-ltr .ag-row-group-indent-73{padding-left:calc(var(--ag-row-group-indent-size)*73)}.ag-rtl .ag-row-group-indent-73{padding-right:calc(var(--ag-row-group-indent-size)*73)}.ag-ltr .ag-row-level-73 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-73 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-74{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*74)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-74{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*74)}.ag-ltr .ag-row-group-indent-74{padding-left:calc(var(--ag-row-group-indent-size)*74)}.ag-rtl .ag-row-group-indent-74{padding-right:calc(var(--ag-row-group-indent-size)*74)}.ag-ltr .ag-row-level-74 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-74 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-75{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*75)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-75{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*75)}.ag-ltr .ag-row-group-indent-75{padding-left:calc(var(--ag-row-group-indent-size)*75)}.ag-rtl .ag-row-group-indent-75{padding-right:calc(var(--ag-row-group-indent-size)*75)}.ag-ltr .ag-row-level-75 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-75 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-76{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*76)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-76{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*76)}.ag-ltr .ag-row-group-indent-76{padding-left:calc(var(--ag-row-group-indent-size)*76)}.ag-rtl .ag-row-group-indent-76{padding-right:calc(var(--ag-row-group-indent-size)*76)}.ag-ltr .ag-row-level-76 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-76 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-77{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*77)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-77{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*77)}.ag-ltr .ag-row-group-indent-77{padding-left:calc(var(--ag-row-group-indent-size)*77)}.ag-rtl .ag-row-group-indent-77{padding-right:calc(var(--ag-row-group-indent-size)*77)}.ag-ltr .ag-row-level-77 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-77 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-78{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*78)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-78{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*78)}.ag-ltr .ag-row-group-indent-78{padding-left:calc(var(--ag-row-group-indent-size)*78)}.ag-rtl .ag-row-group-indent-78{padding-right:calc(var(--ag-row-group-indent-size)*78)}.ag-ltr .ag-row-level-78 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-78 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-79{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*79)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-79{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*79)}.ag-ltr .ag-row-group-indent-79{padding-left:calc(var(--ag-row-group-indent-size)*79)}.ag-rtl .ag-row-group-indent-79{padding-right:calc(var(--ag-row-group-indent-size)*79)}.ag-ltr .ag-row-level-79 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-79 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-80{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*80)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-80{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*80)}.ag-ltr .ag-row-group-indent-80{padding-left:calc(var(--ag-row-group-indent-size)*80)}.ag-rtl .ag-row-group-indent-80{padding-right:calc(var(--ag-row-group-indent-size)*80)}.ag-ltr .ag-row-level-80 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-80 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-81{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*81)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-81{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*81)}.ag-ltr .ag-row-group-indent-81{padding-left:calc(var(--ag-row-group-indent-size)*81)}.ag-rtl .ag-row-group-indent-81{padding-right:calc(var(--ag-row-group-indent-size)*81)}.ag-ltr .ag-row-level-81 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-81 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-82{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*82)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-82{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*82)}.ag-ltr .ag-row-group-indent-82{padding-left:calc(var(--ag-row-group-indent-size)*82)}.ag-rtl .ag-row-group-indent-82{padding-right:calc(var(--ag-row-group-indent-size)*82)}.ag-ltr .ag-row-level-82 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-82 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-83{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*83)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-83{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*83)}.ag-ltr .ag-row-group-indent-83{padding-left:calc(var(--ag-row-group-indent-size)*83)}.ag-rtl .ag-row-group-indent-83{padding-right:calc(var(--ag-row-group-indent-size)*83)}.ag-ltr .ag-row-level-83 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-83 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-84{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*84)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-84{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*84)}.ag-ltr .ag-row-group-indent-84{padding-left:calc(var(--ag-row-group-indent-size)*84)}.ag-rtl .ag-row-group-indent-84{padding-right:calc(var(--ag-row-group-indent-size)*84)}.ag-ltr .ag-row-level-84 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-84 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-85{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*85)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-85{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*85)}.ag-ltr .ag-row-group-indent-85{padding-left:calc(var(--ag-row-group-indent-size)*85)}.ag-rtl .ag-row-group-indent-85{padding-right:calc(var(--ag-row-group-indent-size)*85)}.ag-ltr .ag-row-level-85 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-85 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-86{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*86)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-86{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*86)}.ag-ltr .ag-row-group-indent-86{padding-left:calc(var(--ag-row-group-indent-size)*86)}.ag-rtl .ag-row-group-indent-86{padding-right:calc(var(--ag-row-group-indent-size)*86)}.ag-ltr .ag-row-level-86 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-86 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-87{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*87)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-87{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*87)}.ag-ltr .ag-row-group-indent-87{padding-left:calc(var(--ag-row-group-indent-size)*87)}.ag-rtl .ag-row-group-indent-87{padding-right:calc(var(--ag-row-group-indent-size)*87)}.ag-ltr .ag-row-level-87 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-87 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-88{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*88)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-88{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*88)}.ag-ltr .ag-row-group-indent-88{padding-left:calc(var(--ag-row-group-indent-size)*88)}.ag-rtl .ag-row-group-indent-88{padding-right:calc(var(--ag-row-group-indent-size)*88)}.ag-ltr .ag-row-level-88 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-88 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-89{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*89)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-89{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*89)}.ag-ltr .ag-row-group-indent-89{padding-left:calc(var(--ag-row-group-indent-size)*89)}.ag-rtl .ag-row-group-indent-89{padding-right:calc(var(--ag-row-group-indent-size)*89)}.ag-ltr .ag-row-level-89 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-89 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-90{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*90)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-90{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*90)}.ag-ltr .ag-row-group-indent-90{padding-left:calc(var(--ag-row-group-indent-size)*90)}.ag-rtl .ag-row-group-indent-90{padding-right:calc(var(--ag-row-group-indent-size)*90)}.ag-ltr .ag-row-level-90 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-90 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-91{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*91)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-91{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*91)}.ag-ltr .ag-row-group-indent-91{padding-left:calc(var(--ag-row-group-indent-size)*91)}.ag-rtl .ag-row-group-indent-91{padding-right:calc(var(--ag-row-group-indent-size)*91)}.ag-ltr .ag-row-level-91 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-91 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-92{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*92)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-92{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*92)}.ag-ltr .ag-row-group-indent-92{padding-left:calc(var(--ag-row-group-indent-size)*92)}.ag-rtl .ag-row-group-indent-92{padding-right:calc(var(--ag-row-group-indent-size)*92)}.ag-ltr .ag-row-level-92 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-92 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-93{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*93)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-93{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*93)}.ag-ltr .ag-row-group-indent-93{padding-left:calc(var(--ag-row-group-indent-size)*93)}.ag-rtl .ag-row-group-indent-93{padding-right:calc(var(--ag-row-group-indent-size)*93)}.ag-ltr .ag-row-level-93 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-93 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-94{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*94)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-94{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*94)}.ag-ltr .ag-row-group-indent-94{padding-left:calc(var(--ag-row-group-indent-size)*94)}.ag-rtl .ag-row-group-indent-94{padding-right:calc(var(--ag-row-group-indent-size)*94)}.ag-ltr .ag-row-level-94 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-94 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-95{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*95)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-95{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*95)}.ag-ltr .ag-row-group-indent-95{padding-left:calc(var(--ag-row-group-indent-size)*95)}.ag-rtl .ag-row-group-indent-95{padding-right:calc(var(--ag-row-group-indent-size)*95)}.ag-ltr .ag-row-level-95 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-95 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-96{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*96)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-96{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*96)}.ag-ltr .ag-row-group-indent-96{padding-left:calc(var(--ag-row-group-indent-size)*96)}.ag-rtl .ag-row-group-indent-96{padding-right:calc(var(--ag-row-group-indent-size)*96)}.ag-ltr .ag-row-level-96 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-96 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-97{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*97)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-97{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*97)}.ag-ltr .ag-row-group-indent-97{padding-left:calc(var(--ag-row-group-indent-size)*97)}.ag-rtl .ag-row-group-indent-97{padding-right:calc(var(--ag-row-group-indent-size)*97)}.ag-ltr .ag-row-level-97 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-97 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-98{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*98)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-98{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*98)}.ag-ltr .ag-row-group-indent-98{padding-left:calc(var(--ag-row-group-indent-size)*98)}.ag-rtl .ag-row-group-indent-98{padding-right:calc(var(--ag-row-group-indent-size)*98)}.ag-ltr .ag-row-level-98 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-98 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-99{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*99)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-99{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*99)}.ag-ltr .ag-row-group-indent-99{padding-left:calc(var(--ag-row-group-indent-size)*99)}.ag-rtl .ag-row-group-indent-99{padding-right:calc(var(--ag-row-group-indent-size)*99)}.ag-ltr .ag-row-level-99 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-99 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row-group-leaf-indent{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-group-leaf-indent{margin-right:var(--ag-row-group-indent-size)}.ag-value-change-delta{padding-right:2px}.ag-value-change-delta-up{color:var(--ag-value-change-delta-up-color)}.ag-value-change-delta-down{color:var(--ag-value-change-delta-down-color)}.ag-value-change-value{background-color:transparent;border-radius:1px;padding-left:1px;padding-right:1px;transition:background-color 1s}.ag-value-change-value-highlight{background-color:var(--ag-value-change-value-highlight-background-color);transition:background-color .1s}.ag-cell-data-changed{background-color:var(--ag-value-change-value-highlight-background-color)!important}.ag-cell-data-changed-animation{background-color:transparent}.ag-cell-highlight{background-color:var(--ag-range-selection-highlight-color)!important}.ag-row{height:var(--ag-row-height);background-color:var(--ag-background-color);color:var(--ag-data-color);border-bottom:var(--ag-row-border-style) var(--ag-row-border-color) var(--ag-row-border-width)}.ag-row-highlight-above:after,.ag-row-highlight-below:after{content:"";position:absolute;width:calc(100% - 1px);height:1px;background-color:var(--ag-range-selection-border-color);left:1px}.ag-row-highlight-above:after{top:-1px}.ag-row-highlight-above.ag-row-first:after{top:0}.ag-row-highlight-below:after{bottom:0}.ag-row-odd{background-color:var(--ag-odd-row-background-color)}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible) .ag-horizontal-left-spacer:not(.ag-scroller-corner){border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible) .ag-horizontal-right-spacer:not(.ag-scroller-corner){border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-row-selected:before{content:"";background-color:var(--ag-selected-row-background-color);display:block;position:absolute;top:0;left:0;right:0;bottom:0}.ag-row-hover.ag-full-width-row.ag-row-group:before,.ag-row-hover:not(.ag-full-width-row):before{content:"";background-color:var(--ag-row-hover-color);display:block;position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.ag-row-hover.ag-full-width-row.ag-row-group>*{position:relative}.ag-row-hover.ag-row-selected:before{background-color:var(--ag-row-hover-color);background-image:linear-gradient(var(--ag-selected-row-background-color),var(--ag-selected-row-background-color))}.ag-column-hover{background-color:var(--ag-column-hover-color)}.ag-ltr .ag-right-aligned-cell{text-align:right}.ag-rtl .ag-right-aligned-cell{text-align:left}.ag-ltr .ag-right-aligned-cell .ag-cell-value,.ag-ltr .ag-right-aligned-cell .ag-group-value{margin-left:auto}.ag-rtl .ag-right-aligned-cell .ag-cell-value,.ag-rtl .ag-right-aligned-cell .ag-group-value{margin-right:auto}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group{--ag-internal-calculated-line-height:var(--ag-line-height,calc(var(--ag-row-height) - var(--ag-row-border-width)));--ag-internal-padded-row-height:calc(var(--ag-row-height) - var(--ag-row-border-width));border:1px solid transparent;line-height:min(var(--ag-internal-calculated-line-height),var(--ag-internal-padded-row-height));-webkit-font-smoothing:subpixel-antialiased}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group,.ag-row>.ag-cell-wrapper{padding-left:calc(var(--ag-cell-horizontal-padding) - 1px);padding-right:calc(var(--ag-cell-horizontal-padding) - 1px)}.ag-row-dragging{cursor:move;opacity:.5}.ag-cell-inline-editing,.ag-popup-editor{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:0;background-color:var(--ag-control-panel-background-color)}.ag-large-text-input{height:auto;padding:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-large-text-input textarea{resize:none}.ag-details-row{padding:calc(var(--ag-grid-size)*5);background-color:var(--ag-background-color)}.ag-layout-auto-height .ag-center-cols-clipper,.ag-layout-auto-height .ag-center-cols-container,.ag-layout-print .ag-center-cols-clipper,.ag-layout-print .ag-center-cols-container{min-height:50px}.ag-overlay-loading-wrapper{background-color:var(--ag-modal-overlay-background-color)}.ag-overlay-loading-center{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:var(--ag-grid-size)}.ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:30px}.ag-loading{display:flex;height:100%;align-items:center}.ag-ltr .ag-loading{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-loading{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-loading-icon{padding-right:var(--ag-cell-widget-spacing)}.ag-rtl .ag-loading-icon{padding-left:var(--ag-cell-widget-spacing)}.ag-icon-loading{animation-name:spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ag-floating-top{border-bottom:var(--ag-borders-critical) var(--ag-border-color)}.ag-floating-bottom{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-ltr .ag-cell{border-right:var(--ag-cell-horizontal-border)}.ag-rtl .ag-cell{border-left:var(--ag-cell-horizontal-border)}.ag-ltr .ag-cell{border-right-width:1px}.ag-rtl .ag-cell{border-left-width:1px}.ag-cell.ag-cell-first-right-pinned:not(.ag-cell-range-left):not(.ag-cell-range-single-cell){border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right):not(.ag-cell-range-single-cell){border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing),.ag-cell-range-selected:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart,.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart{background-color:var(--ag-range-selection-chart-background-color)!important}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart.ag-cell-range-chart-category,.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart.ag-cell-range-chart-category{background-color:var(--ag-range-selection-chart-category-background-color)!important}.ag-cell-range-selected-1:not(.ag-cell-focus),.ag-root:not(.ag-context-menu-open) .ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-1:not(.ag-cell-inline-editing){background-color:var(--ag-range-selection-background-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-2,.ag-cell-range-selected-2:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-2)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-3,.ag-cell-range-selected-3:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-3)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-4,.ag-cell-range-selected-4:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-4)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-top{border-top-color:var(--ag-range-selection-border-color);border-top-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-right{border-right-color:var(--ag-range-selection-border-color);border-right-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-bottom{border-bottom-color:var(--ag-range-selection-border-color);border-bottom-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-left{border-left-color:var(--ag-range-selection-border-color);border-left-style:var(--ag-range-selection-border-style)}.ag-ltr .ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-ltr .ag-cell-range-single-cell,.ag-ltr .ag-cell-range-single-cell.ag-cell-range-handle,.ag-ltr .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-ltr .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group,.ag-rtl .ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-rtl .ag-cell-range-single-cell,.ag-rtl .ag-cell-range-single-cell.ag-cell-range-handle,.ag-rtl .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-rtl .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group{border-color:currentcolor;border-style:solid;border:1px var(--ag-range-selection-border-style) var(--ag-range-selection-border-color);outline:initial}.ag-cell.ag-selection-fill-top,.ag-cell.ag-selection-fill-top.ag-cell-range-selected{border-top:1px dashed;border-top-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-cell.ag-selection-fill-right,.ag-ltr .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-right:1px dashed var(--ag-range-selection-border-color)!important}.ag-rtl .ag-cell.ag-selection-fill-right,.ag-rtl .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-left:1px dashed var(--ag-range-selection-border-color)!important}.ag-cell.ag-selection-fill-bottom,.ag-cell.ag-selection-fill-bottom.ag-cell-range-selected{border-bottom:1px dashed;border-bottom-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-cell.ag-selection-fill-left,.ag-ltr .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-left:1px dashed var(--ag-range-selection-border-color)!important}.ag-rtl .ag-cell.ag-selection-fill-left,.ag-rtl .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-right:1px dashed var(--ag-range-selection-border-color)!important}.ag-fill-handle,.ag-range-handle{position:absolute;width:6px;height:6px;bottom:-1px;background-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-fill-handle,.ag-ltr .ag-range-handle{right:-1px}.ag-rtl .ag-fill-handle,.ag-rtl .ag-range-handle{left:-1px}.ag-fill-handle{cursor:cell}.ag-range-handle{cursor:nwse-resize}.ag-cell-inline-editing{border-color:var(--ag-input-focus-border-color)!important}.ag-menu{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:0}.ag-menu-list{cursor:default;padding:var(--ag-grid-size) 0}.ag-menu-separator{height:calc(var(--ag-grid-size)*2 + 1px)}.ag-menu-separator-part:after{content:"";display:block;border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-compact-menu-option-active,.ag-menu-option-active{background-color:var(--ag-row-hover-color)}.ag-compact-menu-option-part,.ag-menu-option-part{line-height:var(--ag-icon-size);padding:calc(var(--ag-grid-size) + 2px) 0}.ag-compact-menu-option-disabled,.ag-menu-option-disabled{opacity:.5}.ag-compact-menu-option-icon,.ag-menu-option-icon{width:var(--ag-icon-size)}.ag-ltr .ag-compact-menu-option-icon,.ag-ltr .ag-menu-option-icon{padding-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-compact-menu-option-icon,.ag-rtl .ag-menu-option-icon{padding-right:calc(var(--ag-grid-size)*2)}.ag-compact-menu-option-text,.ag-menu-option-text{padding-left:calc(var(--ag-grid-size)*2);padding-right:calc(var(--ag-grid-size)*2)}.ag-ltr .ag-compact-menu-option-shortcut,.ag-ltr .ag-menu-option-shortcut{padding-right:var(--ag-grid-size)}.ag-rtl .ag-compact-menu-option-shortcut,.ag-rtl .ag-menu-option-shortcut{padding-left:var(--ag-grid-size)}.ag-compact-menu-option-popup-pointer,.ag-menu-option-popup-pointer{padding-right:var(--ag-grid-size)}.ag-tabs{min-width:var(--ag-tab-min-width)}.ag-tabs-header{width:100%;display:flex}.ag-tab{border-bottom:var(--ag-selected-tab-underline-width) solid transparent;transition:border-bottom var(--ag-selected-tab-underline-transition-speed);display:flex;flex:none;align-items:center;justify-content:center;cursor:pointer}.ag-keyboard-focus .ag-tab:focus{outline:none}.ag-keyboard-focus .ag-tab:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-tab-selected{border-bottom-color:var(--ag-selected-tab-underline-color)}.ag-menu-header{color:var(--ag-secondary-foreground-color)}.ag-filter-separator{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-filter-select .ag-picker-field-wrapper{width:0}.ag-filter-condition-operator{height:17px}.ag-ltr .ag-filter-condition-operator-or{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-filter-condition-operator-or{margin-right:calc(var(--ag-grid-size)*2)}.ag-set-filter-select-all{padding-top:var(--ag-widget-container-vertical-padding)}.ag-filter-no-matches,.ag-set-filter-list{height:calc(var(--ag-list-item-height)*6)}.ag-set-filter-tree-list{height:calc(var(--ag-list-item-height)*10)}.ag-set-filter-filter{margin-top:var(--ag-widget-container-vertical-padding);margin-left:var(--ag-widget-container-horizontal-padding);margin-right:var(--ag-widget-container-horizontal-padding)}.ag-filter-to{margin-top:var(--ag-widget-vertical-spacing)}.ag-mini-filter{margin:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-set-filter-item{margin:0 var(--ag-widget-container-horizontal-padding)}.ag-ltr .ag-set-filter-add-group-indent{margin-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-rtl .ag-set-filter-add-group-indent{margin-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-ltr .ag-set-filter-indent-1{padding-left:calc(var(--ag-set-filter-indent-size)*1)}.ag-rtl .ag-set-filter-indent-1{padding-right:calc(var(--ag-set-filter-indent-size)*1)}.ag-ltr .ag-set-filter-indent-2{padding-left:calc(var(--ag-set-filter-indent-size)*2)}.ag-rtl .ag-set-filter-indent-2{padding-right:calc(var(--ag-set-filter-indent-size)*2)}.ag-ltr .ag-set-filter-indent-3{padding-left:calc(var(--ag-set-filter-indent-size)*3)}.ag-rtl .ag-set-filter-indent-3{padding-right:calc(var(--ag-set-filter-indent-size)*3)}.ag-ltr .ag-set-filter-indent-4{padding-left:calc(var(--ag-set-filter-indent-size)*4)}.ag-rtl .ag-set-filter-indent-4{padding-right:calc(var(--ag-set-filter-indent-size)*4)}.ag-ltr .ag-set-filter-indent-5{padding-left:calc(var(--ag-set-filter-indent-size)*5)}.ag-rtl .ag-set-filter-indent-5{padding-right:calc(var(--ag-set-filter-indent-size)*5)}.ag-ltr .ag-set-filter-indent-6{padding-left:calc(var(--ag-set-filter-indent-size)*6)}.ag-rtl .ag-set-filter-indent-6{padding-right:calc(var(--ag-set-filter-indent-size)*6)}.ag-ltr .ag-set-filter-indent-7{padding-left:calc(var(--ag-set-filter-indent-size)*7)}.ag-rtl .ag-set-filter-indent-7{padding-right:calc(var(--ag-set-filter-indent-size)*7)}.ag-ltr .ag-set-filter-indent-8{padding-left:calc(var(--ag-set-filter-indent-size)*8)}.ag-rtl .ag-set-filter-indent-8{padding-right:calc(var(--ag-set-filter-indent-size)*8)}.ag-ltr .ag-set-filter-indent-9{padding-left:calc(var(--ag-set-filter-indent-size)*9)}.ag-rtl .ag-set-filter-indent-9{padding-right:calc(var(--ag-set-filter-indent-size)*9)}.ag-ltr .ag-set-filter-group-icons{margin-right:var(--ag-widget-container-horizontal-padding)}.ag-rtl .ag-set-filter-group-icons{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-filter-apply-panel{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-filter-apply-panel-button{line-height:1.5}.ag-ltr .ag-filter-apply-panel-button{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-filter-apply-panel-button{margin-right:calc(var(--ag-grid-size)*2)}.ag-simple-filter-body-wrapper{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing));overflow-y:auto;min-height:calc(var(--ag-list-item-height) + var(--ag-widget-container-vertical-padding) + var(--ag-widget-vertical-spacing))}.ag-simple-filter-body-wrapper>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-simple-filter-body-wrapper .ag-resizer-wrapper{margin:0}.ag-menu:not(.ag-tabs) .ag-filter .ag-simple-filter-body-wrapper,.ag-menu:not(.ag-tabs) .ag-filter>:not(.ag-filter-wrapper){min-width:calc(var(--ag-menu-min-width) - 2px)}.ag-filter-no-matches{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-multi-filter-menu-item{margin:var(--ag-grid-size) 0}.ag-multi-filter-group-title-bar{padding:calc(var(--ag-grid-size)*2) var(--ag-grid-size);background-color:transparent}.ag-group-filter-field-select-wrapper{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing))}.ag-group-filter-field-select-wrapper>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-keyboard-focus .ag-multi-filter-group-title-bar:focus{outline:none}.ag-keyboard-focus .ag-multi-filter-group-title-bar:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-side-bar{position:relative}.ag-tool-panel-wrapper{width:var(--ag-side-bar-panel-width);background-color:var(--ag-control-panel-background-color)}.ag-side-buttons{padding-top:calc(var(--ag-grid-size)*4);width:calc(var(--ag-icon-size) + 4px);position:relative;overflow:hidden}button.ag-side-button-button{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;background:transparent;padding:calc(var(--ag-grid-size)*2) 0 calc(var(--ag-grid-size)*2) 0;width:100%;margin:0;min-height:calc(var(--ag-grid-size)*18);background-position-y:center;background-position-x:center;background-repeat:no-repeat;border:none;border-top:var(--ag-borders-side-button) var(--ag-border-color);border-bottom:var(--ag-borders-side-button) var(--ag-border-color)}button.ag-side-button-button:focus{box-shadow:none}.ag-keyboard-focus .ag-side-button-button:focus{outline:none}.ag-keyboard-focus .ag-side-button-button:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-selected button.ag-side-button-button{background-color:var(--ag-side-button-selected-background-color)}.ag-side-button-icon-wrapper{margin-bottom:3px}.ag-ltr .ag-side-bar-left,.ag-rtl .ag-side-bar-right{border-right:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-left .ag-tool-panel-wrapper,.ag-rtl .ag-side-bar-right .ag-tool-panel-wrapper{border-left:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-left .ag-side-button-button,.ag-rtl .ag-side-bar-right .ag-side-button-button{border-right:var(--ag-selected-tab-underline-width) solid transparent;transition:border-right var(--ag-selected-tab-underline-transition-speed)}.ag-ltr .ag-side-bar-left .ag-selected .ag-side-button-button,.ag-rtl .ag-side-bar-right .ag-selected .ag-side-button-button{border-right-color:var(--ag-selected-tab-underline-color)}.ag-ltr .ag-side-bar-right,.ag-rtl .ag-side-bar-left{border-left:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-right .ag-tool-panel-wrapper,.ag-rtl .ag-side-bar-left .ag-tool-panel-wrapper{border-right:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-right .ag-side-button-button,.ag-rtl .ag-side-bar-left .ag-side-button-button{border-left:var(--ag-selected-tab-underline-width) solid transparent;transition:border-left var(--ag-selected-tab-underline-transition-speed)}.ag-ltr .ag-side-bar-right .ag-selected .ag-side-button-button,.ag-rtl .ag-side-bar-left .ag-selected .ag-side-button-button{border-left-color:var(--ag-selected-tab-underline-color)}.ag-filter-toolpanel-header{height:calc(var(--ag-grid-size)*6)}.ag-ltr .ag-filter-toolpanel-header,.ag-ltr .ag-filter-toolpanel-search{padding-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-header,.ag-rtl .ag-filter-toolpanel-search{padding-right:var(--ag-grid-size)}.ag-keyboard-focus .ag-filter-toolpanel-header:focus{outline:none}.ag-keyboard-focus .ag-filter-toolpanel-header:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:var(--ag-icon-font-code-filter,"\\f115");position:absolute}.ag-ltr .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-right:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-0-header{height:calc(var(--ag-grid-size)*8)}.ag-filter-toolpanel-group-item{margin-top:calc(var(--ag-grid-size)*0.5);margin-bottom:calc(var(--ag-grid-size)*0.5)}.ag-filter-toolpanel-search{height:var(--ag-header-height)}.ag-filter-toolpanel-search-input{flex-grow:1;height:calc(var(--ag-grid-size)*4)}.ag-ltr .ag-filter-toolpanel-search-input{margin-right:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-search-input{margin-left:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-0{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-ltr .ag-filter-toolpanel-expand,.ag-ltr .ag-filter-toolpanel-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-expand,.ag-rtl .ag-filter-toolpanel-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-1-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*1 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*1 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-2-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*2 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*2 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-3-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*3 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*3 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-4-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*4 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*4 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-5-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*5 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*5 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-6-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*6 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*6 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-7-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*7 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*7 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-8-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*8 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*8 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-9-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*9 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*9 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-10-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*10 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*10 + var(--ag-grid-size))}.ag-filter-toolpanel-instance-header.ag-filter-toolpanel-group-level-1-header{padding-left:var(--ag-grid-size)}.ag-filter-toolpanel-instance-filter{border-bottom:var(--ag-borders) var(--ag-border-color);border-top:var(--ag-borders) var(--ag-border-color);margin-top:var(--ag-grid-size)}.ag-ltr .ag-filter-toolpanel-instance-header-icon{margin-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-instance-header-icon{margin-right:var(--ag-grid-size)}.ag-set-filter-group-icons{color:var(--ag-secondary-foreground-color)}.ag-pivot-mode-panel{min-height:var(--ag-header-height);height:var(--ag-header-height);display:flex}.ag-pivot-mode-select{display:flex;align-items:center}.ag-ltr .ag-pivot-mode-select{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-rtl .ag-pivot-mode-select{margin-right:var(--ag-widget-container-horizontal-padding)}.ag-keyboard-focus .ag-column-select-header:focus{outline:none}.ag-keyboard-focus .ag-column-select-header:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-select-header{height:var(--ag-header-height);align-items:center;padding:0 var(--ag-widget-container-horizontal-padding)}.ag-column-panel-column-select,.ag-column-select-header{border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-panel-column-select{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-group-icons,.ag-column-select-header-icon{color:var(--ag-secondary-foreground-color)}.ag-column-select-list .ag-list-item-hovered:after{content:"";position:absolute;left:0;right:0;height:1px;background-color:var(--ag-range-selection-border-color)}.ag-column-select-list .ag-item-highlight-top:after{top:0}.ag-column-select-list .ag-item-highlight-bottom:after{bottom:0}.ag-header{background-color:var(--ag-header-background-color);border-bottom:var(--ag-borders-critical) var(--ag-border-color)}.ag-header-row{color:var(--ag-header-foreground-color);height:var(--ag-header-height)}.ag-pinned-right-header{border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-pinned-left-header{border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-ltr .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon{margin-left:var(--ag-grid-size)}.ag-ltr .ag-header-cell.ag-right-aligned-header .ag-header-label-icon,.ag-rtl .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon{margin-right:var(--ag-grid-size)}.ag-rtl .ag-header-cell.ag-right-aligned-header .ag-header-label-icon{margin-left:var(--ag-grid-size)}.ag-header-cell,.ag-header-group-cell{padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding)}.ag-header-cell.ag-header-cell-moving,.ag-header-group-cell.ag-header-cell-moving{background-color:var(--ag-header-cell-moving-background-color)}.ag-ltr .ag-header-group-cell-label.ag-sticky-label{left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-header-group-cell-label.ag-sticky-label{right:var(--ag-cell-horizontal-padding)}.ag-keyboard-focus .ag-header-cell:focus{outline:none}.ag-keyboard-focus .ag-header-cell:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-keyboard-focus .ag-header-group-cell:focus{outline:none}.ag-keyboard-focus .ag-header-group-cell:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-header-icon{color:var(--ag-secondary-foreground-color)}.ag-header-expand-icon{cursor:pointer}.ag-ltr .ag-header-expand-icon{padding-left:4px}.ag-rtl .ag-header-expand-icon{padding-right:4px}.ag-header-row:not(:first-child) .ag-header-cell:not(.ag-header-span-height.ag-header-span-total),.ag-header-row:not(:first-child) .ag-header-group-cell.ag-header-group-cell-with-group{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-header-cell:not(.ag-column-hover):first-of-type.ag-column-resizing,.ag-header-cell:not(.ag-column-hover):first-of-type:not(.ag-header-cell-moving):hover,.ag-header-cell:not(.ag-column-resizing)+.ag-header-cell:not(.ag-column-hover).ag-column-resizing,.ag-header-cell:not(.ag-column-resizing)+.ag-header-cell:not(.ag-column-hover):not(.ag-header-cell-moving):hover,.ag-header-group-cell:first-of-type.ag-column-resizing,.ag-header-group-cell:first-of-type:not(.ag-header-cell-moving):hover,.ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell:not(.ag-column-hover).ag-column-resizing,.ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell:not(.ag-column-hover):not(.ag-header-cell-moving):hover{background-color:var(--ag-header-cell-hover-background-color)}.ag-header-cell:after,.ag-header-group-cell:after{content:"";position:absolute;z-index:1;display:var(--ag-header-column-separator-display);width:var(--ag-header-column-separator-width);height:var(--ag-header-column-separator-height);top:calc(50% - var(--ag-header-column-separator-height)*0.5);background-color:var(--ag-header-column-separator-color)}.ag-ltr .ag-header-cell:after,.ag-ltr .ag-header-group-cell:after{right:0}.ag-rtl .ag-header-cell:after,.ag-rtl .ag-header-group-cell:after{left:0}.ag-header-cell-resize{display:flex;align-items:center}.ag-header-cell-resize:after{content:"";position:absolute;z-index:1;display:var(--ag-header-column-resize-handle-display);width:var(--ag-header-column-resize-handle-width);height:var(--ag-header-column-resize-handle-height);top:calc(50% - var(--ag-header-column-resize-handle-height)*0.5);background-color:var(--ag-header-column-resize-handle-color)}.ag-header-cell.ag-header-span-height .ag-header-cell-resize:after,.ag-header-cell.ag-header-span-height:after{height:calc(100% - var(--ag-grid-size)*4);top:calc(var(--ag-grid-size)*2)}.ag-ltr .ag-header-viewport .ag-header-cell-resize:after{left:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-rtl .ag-header-viewport .ag-header-cell-resize:after{right:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-pinned-left-header .ag-header-cell-resize:after{left:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-pinned-right-header .ag-header-cell-resize:after{left:50%}.ag-ltr .ag-header-select-all{margin-right:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-header-select-all{margin-left:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-floating-filter-button{margin-left:calc(var(--ag-grid-size)*3)}.ag-rtl .ag-floating-filter-button{margin-right:calc(var(--ag-grid-size)*3)}.ag-floating-filter-button-button{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;appearance:none;background:transparent;border:none;height:var(--ag-icon-size);padding:0;width:var(--ag-icon-size)}.ag-filter-loading{background-color:var(--ag-control-panel-background-color);height:100%;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);position:absolute;width:100%;z-index:1}.ag-paging-panel{border-top:1px solid;border-top-color:var(--ag-border-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height)}.ag-paging-panel>*{margin:0 var(--ag-cell-horizontal-padding)}.ag-paging-button{cursor:pointer}.ag-paging-button.ag-disabled{cursor:default;color:var(--ag-disabled-foreground-color)}.ag-keyboard-focus .ag-paging-button:focus{outline:none}.ag-keyboard-focus .ag-paging-button:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:0;left:0;display:block;width:100%;height:100%;border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-paging-button,.ag-paging-description{margin:0 var(--ag-grid-size)}.ag-status-bar{border-top:var(--ag-borders) var(--ag-border-color);color:var(--ag-disabled-foreground-color);padding-right:calc(var(--ag-grid-size)*4);padding-left:calc(var(--ag-grid-size)*4);line-height:1.5}.ag-status-name-value-value{color:var(--ag-foreground-color)}.ag-status-bar-center{text-align:center}.ag-status-name-value{margin-left:var(--ag-grid-size);margin-right:var(--ag-grid-size);padding-top:calc(var(--ag-grid-size)*2);padding-bottom:calc(var(--ag-grid-size)*2)}.ag-column-drop-cell{background:var(--ag-chip-background-color);border-radius:calc(var(--ag-grid-size)*4);height:calc(var(--ag-grid-size)*4);padding:0 calc(var(--ag-grid-size)*0.5);border:1px solid transparent}.ag-keyboard-focus .ag-column-drop-cell:focus{outline:none}.ag-keyboard-focus .ag-column-drop-cell:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:2px;left:2px;display:block;width:calc(100% - 4px);height:calc(100% - 4px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-drop-cell-text{margin:0 var(--ag-grid-size)}.ag-column-drop-cell-button{min-width:calc(var(--ag-grid-size)*4);margin:0 calc(var(--ag-grid-size)*0.5);color:var(--ag-secondary-foreground-color)}.ag-column-drop-cell-drag-handle{margin-left:calc(var(--ag-grid-size)*2)}.ag-column-drop-cell-ghost{opacity:.5}.ag-column-drop-horizontal{background-color:var(--ag-control-panel-background-color);color:var(--ag-secondary-foreground-color);height:var(--ag-row-height);border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-column-drop-horizontal{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-column-drop-horizontal{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-column-drop-horizontal-half-width:not(:last-child){border-right:var(--ag-borders) var(--ag-border-color)}.ag-rtl .ag-column-drop-horizontal-half-width:not(:last-child){border-left:var(--ag-borders) var(--ag-border-color)}.ag-column-drop-horizontal-cell-separator{margin:0 var(--ag-grid-size);color:var(--ag-secondary-foreground-color)}.ag-column-drop-horizontal-empty-message{color:var(--ag-disabled-foreground-color)}.ag-ltr .ag-column-drop-horizontal-icon{margin-right:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-column-drop-horizontal-icon{margin-left:var(--ag-cell-horizontal-padding)}.ag-column-drop-vertical-list{padding-bottom:var(--ag-grid-size);padding-right:var(--ag-grid-size);padding-left:var(--ag-grid-size)}.ag-column-drop-vertical-cell{margin-top:var(--ag-grid-size)}.ag-column-drop-vertical{min-height:50px;border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-drop-vertical.ag-last-column-drop{border-bottom:none}.ag-column-drop-vertical-icon{margin-left:var(--ag-grid-size);margin-right:var(--ag-grid-size)}.ag-column-drop-vertical-empty-message{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden;color:var(--ag-disabled-foreground-color);margin-top:var(--ag-grid-size)}.ag-select-agg-func-popup{border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);background:var(--ag-background-color);height:calc(var(--ag-grid-size)*5*3.5);padding:0}.ag-select-agg-func-virtual-list-item{cursor:default}.ag-ltr .ag-select-agg-func-virtual-list-item{padding-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-select-agg-func-virtual-list-item{padding-right:calc(var(--ag-grid-size)*2)}.ag-select-agg-func-virtual-list-item:hover{background-color:var(--ag-selected-row-background-color)}.ag-keyboard-focus .ag-select-agg-func-virtual-list-item:focus{outline:none}.ag-keyboard-focus .ag-select-agg-func-virtual-list-item:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:1px;left:1px;display:block;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-sort-indicator-container{display:flex}.ag-ltr .ag-sort-indicator-icon{padding-left:var(--ag-grid-size)}.ag-rtl .ag-sort-indicator-icon{padding-right:var(--ag-grid-size)}.ag-chart{width:100%;height:100%}.ag-chart,.ag-chart-components-wrapper{position:relative;display:flex;overflow:hidden}.ag-chart-components-wrapper{flex:1 1 auto}.ag-chart-title-edit{position:absolute;display:none;top:0;left:0;text-align:center}.ag-chart-title-edit.currently-editing{display:inline-block}.ag-chart-canvas-wrapper{position:relative;flex:1 1 auto;overflow:hidden}.ag-charts-canvas{display:block}.ag-chart-menu{position:absolute;top:10px;width:24px;overflow:hidden;display:flex;flex-direction:column}.ag-ltr .ag-chart-menu{right:20px}.ag-rtl .ag-chart-menu{left:20px}.ag-chart-docked-container{position:relative;width:0;min-width:0;transition:min-width .4s}.ag-chart-menu-hidden~.ag-chart-docked-container{max-width:0;overflow:hidden}.ag-chart-tabbed-menu{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.ag-chart-tabbed-menu-header{flex:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.ag-chart-tabbed-menu-body{display:flex;flex:1 1 auto;align-items:stretch;overflow:hidden}.ag-chart-tab{width:100%;overflow:hidden;overflow-y:auto}.ag-chart-settings{overflow-x:hidden}.ag-chart-settings-wrapper{position:relative;flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.ag-chart-settings-nav-bar{display:flex;align-items:center;width:100%;height:30px;padding:0 10px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-chart-settings-card-selector{display:flex;align-items:center;justify-content:space-around;flex:1 1 auto;height:100%;padding:0 10px}.ag-chart-settings-card-item{cursor:pointer;width:10px;height:10px;background-color:#000;position:relative}.ag-chart-settings-card-item.ag-not-selected{opacity:.2}.ag-chart-settings-card-item:before{content:" ";display:block;position:absolute;background-color:transparent;left:50%;top:50%;margin-left:-10px;margin-top:-10px;width:20px;height:20px}.ag-chart-settings-next,.ag-chart-settings-prev{position:relative;flex:none}.ag-chart-settings-next-button,.ag-chart-settings-prev-button{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0}.ag-chart-settings-mini-charts-container{position:relative;flex:1 1 auto;overflow-x:hidden;overflow-y:auto}.ag-chart-settings-mini-wrapper{position:absolute;top:0;left:0;display:flex;flex-direction:column;width:100%;min-height:100%;overflow:hidden}.ag-chart-settings-mini-wrapper.ag-animating{transition:left .3s;transition-timing-function:ease-in-out}.ag-chart-mini-thumbnail{cursor:pointer}.ag-chart-mini-thumbnail-canvas{display:block}.ag-chart-data-wrapper,.ag-chart-format-wrapper{display:flex;flex-direction:column;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-chart-data-wrapper{height:100%;overflow-y:auto}.ag-chart-empty-text{display:flex;top:0;width:100%;height:100%;align-items:center;justify-content:center}.ag-chart .ag-chart-menu{display:none}.ag-chart-menu-hidden:hover .ag-chart-menu{display:block}.ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{display:flex;flex-direction:row;overflow:auto;top:5px;gap:calc(var(--ag-grid-size)*3 - 8px);width:auto}.ag-ltr .ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{right:calc(var(--ag-cell-horizontal-padding) + var(--ag-grid-size) - 4px);justify-content:right}.ag-rtl .ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{left:calc(var(--ag-cell-horizontal-padding) + var(--ag-grid-size) - 4px);justify-content:left}.ag-chart-menu-close{display:none}.ag-chart-tool-panel-button-enable .ag-chart-menu-close{position:absolute;top:50%;transition:transform .33s ease-in-out;padding:0;display:block;cursor:pointer;border:none}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close{right:0}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close{left:0}.ag-chart-tool-panel-button-enable .ag-chart-menu-close .ag-icon{padding:14px 5px 14px 2px}.ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{content:"";position:absolute;top:-40px;bottom:-40px}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{right:0}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{left:0}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{left:-10px}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{right:-10px}.ag-chart-tool-panel-button-enable .ag-icon-menu{display:none}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close{transform:translate(3px,-50%)}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translateY(-50%)}.ag-ltr .ag-chart-menu-visible .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translate(5px,-50%)}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close{transform:translate(-3px,-50%)}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translateY(-50%)}.ag-rtl .ag-chart-menu-visible .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translate(-5px,-50%)}.ag-charts-font-size-color{display:flex;align-self:stretch;justify-content:space-between}.ag-charts-data-group-item{position:relative}.ag-chart-menu{background:var(--ag-background-color)}.ag-chart-menu,.ag-chart-menu-icon{border-radius:var(--ag-card-radius)}.ag-chart-menu-icon{opacity:.5;line-height:24px;font-size:24px;width:24px;height:24px;margin:2px 0;cursor:pointer;color:var(--ag-secondary-foreground-color)}.ag-chart-menu-icon:hover{opacity:1}.ag-chart-mini-thumbnail{border:1px solid var(--ag-secondary-border-color);border-radius:5px;margin:5px}.ag-chart-mini-thumbnail:nth-last-child(3),.ag-chart-mini-thumbnail:nth-last-child(3)~.ag-chart-mini-thumbnail{margin-left:auto;margin-right:auto}.ag-ltr .ag-chart-mini-thumbnail:first-child{margin-left:0}.ag-ltr .ag-chart-mini-thumbnail:last-child,.ag-rtl .ag-chart-mini-thumbnail:first-child{margin-right:0}.ag-rtl .ag-chart-mini-thumbnail:last-child{margin-left:0}.ag-chart-mini-thumbnail.ag-selected{border-color:var(--ag-minichart-selected-chart-color)}.ag-chart-settings-card-item{background:var(--ag-foreground-color);width:8px;height:8px;border-radius:4px}.ag-chart-settings-card-item.ag-selected{background-color:var(--ag-minichart-selected-page-color)}.ag-chart-data-column-drag-handle{margin-left:var(--ag-grid-size)}.ag-charts-data-group-title-bar,.ag-charts-format-top-level-group-title-bar,.ag-charts-settings-group-title-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-charts-settings-group-container{padding:var(--ag-grid-size)}.ag-charts-data-group-container{padding:calc(var(--ag-widget-container-vertical-padding)*0.5) var(--ag-widget-container-horizontal-padding)}.ag-charts-data-group-container .ag-charts-data-group-item:not(.ag-charts-format-sub-level-group){height:var(--ag-list-item-height)}.ag-charts-data-group-container .ag-list-item-hovered:after{content:"";position:absolute;left:0;right:0;height:1px;background-color:var(--ag-range-selection-border-color)}.ag-charts-data-group-container .ag-item-highlight-top:after{top:0}.ag-charts-data-group-container .ag-item-highlight-bottom:after{bottom:0}.ag-charts-format-top-level-group-container{margin-left:calc(var(--ag-grid-size)*2);padding:var(--ag-grid-size)}.ag-charts-format-top-level-group-item{margin:var(--ag-grid-size) 0}.ag-charts-format-sub-level-group-container{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing))}.ag-charts-format-sub-level-group-container>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-charts-group-container.ag-group-container-horizontal{padding:var(--ag-grid-size)}.ag-chart-data-section,.ag-chart-format-section{display:flex;margin:0}.ag-chart-menu-panel{background-color:var(--ag-control-panel-background-color)}.ag-ltr .ag-chart-menu-panel{border-left:1px solid var(--ag-border-color)}.ag-rtl .ag-chart-menu-panel{border-right:1px solid var(--ag-border-color)}.ag-date-time-list-page-title-bar{display:flex}.ag-date-time-list-page-title{flex-grow:1;text-align:center}.ag-date-time-list-page-column-labels-row,.ag-date-time-list-page-entries-row{display:flex}.ag-date-time-list-page-column-label,.ag-date-time-list-page-entry{flex-basis:0;flex-grow:1}.ag-date-time-list-page-entry{cursor:pointer;text-align:center}.ag-date-time-list-page-column-label{text-align:center}',""]),e.exports=t},function(e,t,r){var i=r(1),o=r(11);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};i(o,a);e.exports=o.locals||{}},function(e,t,r){(t=r(2)(!1)).push([e.i,'.ag-icon{font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ag-icon-aggregation:before{content:var(--ag-icon-font-code-aggregation,"\\f101")}.ag-icon-arrows:before{content:var(--ag-icon-font-code-arrows,"\\f102")}.ag-icon-asc:before{content:var(--ag-icon-font-code-asc,"\\f103")}.ag-icon-cancel:before{content:var(--ag-icon-font-code-cancel,"\\f104")}.ag-icon-chart:before{content:var(--ag-icon-font-code-chart,"\\f105")}.ag-icon-checkbox-checked:before{content:var(--ag-icon-font-code-checkbox-checked,"\\f106")}.ag-icon-checkbox-indeterminate:before{content:var(--ag-icon-font-code-checkbox-indeterminate,"\\f107")}.ag-icon-checkbox-unchecked:before{content:var(--ag-icon-font-code-checkbox-unchecked,"\\f108")}.ag-icon-color-picker:before{content:var(--ag-icon-font-code-color-picker,"\\f109")}.ag-icon-columns:before{content:var(--ag-icon-font-code-columns,"\\f10a")}.ag-icon-contracted:before{content:var(--ag-icon-font-code-contracted,"\\f10b")}.ag-icon-copy:before{content:var(--ag-icon-font-code-copy,"\\f10c")}.ag-icon-cross:before{content:var(--ag-icon-font-code-cross,"\\f10d")}.ag-icon-csv:before{content:var(--ag-icon-font-code-csv,"\\f10e")}.ag-icon-cut:before{content:var(--ag-icon-font-code-cut,"\\f10f")}.ag-icon-desc:before{content:var(--ag-icon-font-code-desc,"\\f110")}.ag-icon-excel:before{content:var(--ag-icon-font-code-excel,"\\f111")}.ag-icon-expanded:before{content:var(--ag-icon-font-code-expanded,"\\f112")}.ag-icon-eye-slash:before{content:var(--ag-icon-font-code-eye-slash,"\\f113")}.ag-icon-eye:before{content:var(--ag-icon-font-code-eye,"\\f114")}.ag-icon-filter:before{content:var(--ag-icon-font-code-filter,"\\f115")}.ag-icon-first:before{content:var(--ag-icon-font-code-first,"\\f116")}.ag-icon-grip:before{content:var(--ag-icon-font-code-grip,"\\f117")}.ag-icon-group:before{content:var(--ag-icon-font-code-group,"\\f118")}.ag-icon-last:before{content:var(--ag-icon-font-code-last,"\\f119")}.ag-icon-left:before{content:var(--ag-icon-font-code-left,"\\f11a")}.ag-icon-linked:before{content:var(--ag-icon-font-code-linked,"\\f11b")}.ag-icon-loading:before{content:var(--ag-icon-font-code-loading,"\\f11c")}.ag-icon-maximize:before{content:var(--ag-icon-font-code-maximize,"\\f11d")}.ag-icon-menu:before{content:var(--ag-icon-font-code-menu,"\\f11e")}.ag-icon-minimize:before{content:var(--ag-icon-font-code-minimize,"\\f11f")}.ag-icon-next:before{content:var(--ag-icon-font-code-next,"\\f120")}.ag-icon-none:before{content:var(--ag-icon-font-code-none,"\\f121")}.ag-icon-not-allowed:before{content:var(--ag-icon-font-code-not-allowed,"\\f122")}.ag-icon-paste:before{content:var(--ag-icon-font-code-paste,"\\f123")}.ag-icon-pin:before{content:var(--ag-icon-font-code-pin,"\\f124")}.ag-icon-pivot:before{content:var(--ag-icon-font-code-pivot,"\\f125")}.ag-icon-previous:before{content:var(--ag-icon-font-code-previous,"\\f126")}.ag-icon-radio-button-off:before{content:var(--ag-icon-font-code-radio-button-off,"\\f127")}.ag-icon-radio-button-on:before{content:var(--ag-icon-font-code-radio-button-on,"\\f128")}.ag-icon-right:before{content:var(--ag-icon-font-code-right,"\\f129")}.ag-icon-save:before{content:var(--ag-icon-font-code-save,"\\f12a")}.ag-icon-small-down:before{content:var(--ag-icon-font-code-small-down,"\\f12b")}.ag-icon-small-left:before{content:var(--ag-icon-font-code-small-left,"\\f12c")}.ag-icon-small-right:before{content:var(--ag-icon-font-code-small-right,"\\f12d")}.ag-icon-small-up:before{content:var(--ag-icon-font-code-small-up,"\\f12e")}.ag-icon-tick:before{content:var(--ag-icon-font-code-tick,"\\f12f")}.ag-icon-tree-closed:before{content:var(--ag-icon-font-code-tree-closed,"\\f130")}.ag-icon-tree-indeterminate:before{content:var(--ag-icon-font-code-tree-indeterminate,"\\f131")}.ag-icon-tree-open:before{content:var(--ag-icon-font-code-tree-open,"\\f132")}.ag-icon-unlinked:before{content:var(--ag-icon-font-code-unlinked,"\\f133")}.ag-icon-row-drag:before{content:var(--ag-icon-font-code-grip)}.ag-left-arrow:before{content:var(--ag-icon-font-code-left)}.ag-right-arrow:before{content:var(--ag-icon-font-code-right)}[class*=ag-theme-]{--ag-foreground-color:#000;--ag-data-color:var(--ag-foreground-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-header-foreground-color:var(--ag-secondary-foreground-color);--ag-disabled-foreground-color:rgba(0,0,0,0.5);--ag-background-color:#fff;--ag-header-background-color:transparent;--ag-tooltip-background-color:transparent;--ag-subheader-background-color:transparent;--ag-subheader-toolbar-background-color:transparent;--ag-control-panel-background-color:transparent;--ag-side-button-selected-background-color:var(--ag-control-panel-background-color);--ag-selected-row-background-color:#bbb;--ag-odd-row-background-color:var(--ag-background-color);--ag-modal-overlay-background-color:hsla(0,0%,100%,0.66);--ag-row-hover-color:transparent;--ag-column-hover-color:transparent;--ag-range-selection-border-color:var(--ag-foreground-color);--ag-range-selection-border-style:solid;--ag-range-selection-background-color:rgba(0,0,0,0.2);--ag-range-selection-background-color-2:var(--ag-range-selection-background-color);--ag-range-selection-background-color-3:var(--ag-range-selection-background-color);--ag-range-selection-background-color-4:var(--ag-range-selection-background-color);--ag-range-selection-highlight-color:var(--ag-range-selection-border-color);--ag-selected-tab-underline-color:var(--ag-range-selection-border-color);--ag-selected-tab-underline-width:0;--ag-selected-tab-underline-transition-speed:0s;--ag-range-selection-chart-category-background-color:rgba(0,255,132,0.1);--ag-range-selection-chart-background-color:rgba(0,88,255,0.1);--ag-header-cell-hover-background-color:transparent;--ag-header-cell-moving-background-color:var(--ag-background-color);--ag-value-change-value-highlight-background-color:rgba(22,160,133,0.5);--ag-value-change-delta-up-color:#43a047;--ag-value-change-delta-down-color:#e53935;--ag-chip-background-color:transparent;--ag-borders:solid 1px;--ag-border-color:rgba(0,0,0,0.25);--ag-borders-critical:var(--ag-borders);--ag-borders-secondary:var(--ag-borders);--ag-secondary-border-color:var(--ag-border-color);--ag-row-border-style:solid;--ag-row-border-width:1px;--ag-cell-horizontal-border:solid transparent;--ag-borders-input:var(--ag-borders-secondary);--ag-input-border-color:var(--ag-secondary-border-color);--ag-borders-input-invalid:solid 2px;--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-borders-side-button:var(--ag-borders);--ag-border-radius:0px;--ag-row-border-color:var(--ag-secondary-border-color);--ag-header-column-separator-display:none;--ag-header-column-separator-height:100%;--ag-header-column-separator-width:1px;--ag-header-column-separator-color:var(--ag-secondary-border-color);--ag-header-column-resize-handle-display:none;--ag-header-column-resize-handle-height:50%;--ag-header-column-resize-handle-width:1px;--ag-header-column-resize-handle-color:var(--ag-secondary-border-color);--ag-invalid-color:red;--ag-input-disabled-border-color:var(--ag-input-border-color);--ag-input-disabled-background-color:transparent;--ag-checkbox-background-color:transparent;--ag-checkbox-border-radius:var(--ag-border-radius);--ag-checkbox-checked-color:var(--ag-foreground-color);--ag-checkbox-unchecked-color:var(--ag-foreground-color);--ag-checkbox-indeterminate-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-off-border-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-off-background-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-on-border-color:var(--ag-checkbox-checked-color);--ag-toggle-button-on-background-color:var(--ag-checkbox-checked-color);--ag-toggle-button-switch-background-color:var(--ag-background-color);--ag-toggle-button-switch-border-color:var(--ag-toggle-button-off-border-color);--ag-toggle-button-border-width:1px;--ag-toggle-button-height:var(--ag-icon-size);--ag-toggle-button-width:calc(var(--ag-toggle-button-height)*2);--ag-input-focus-box-shadow:none;--ag-input-focus-border-color:none;--ag-minichart-selected-chart-color:var(--ag-checkbox-checked-color);--ag-minichart-selected-page-color:var(--ag-checkbox-checked-color);--ag-grid-size:4px;--ag-icon-size:12px;--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-horizontal-spacing:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:var(--ag-grid-size);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-cell-widget-spacing:var(--ag-cell-horizontal-padding);--ag-row-height:calc(var(--ag-grid-size)*6 + 1px);--ag-header-height:var(--ag-row-height);--ag-list-item-height:calc(var(--ag-grid-size)*5);--ag-column-select-indent-size:calc(var(--ag-grid-size) + var(--ag-icon-size));--ag-set-filter-indent-size:calc(var(--ag-grid-size) + var(--ag-icon-size));--ag-row-group-indent-size:calc(var(--ag-cell-widget-spacing) + var(--ag-icon-size));--ag-filter-tool-panel-group-indent:16px;--ag-tab-min-width:220px;--ag-menu-min-width:181px;--ag-side-bar-panel-width:200px;--ag-font-family:"Helvetica Neue",sans-serif;--ag-font-size:14px;--ag-card-radius:var(--ag-border-radius);--ag-card-shadow:none;--ag-popup-shadow:5px 5px 10px rgba(0,0,0,0.3)}.ag-dnd-ghost,.ag-root-wrapper,.ag-sticky-top{background-color:var(--ag-background-color)}[class*=ag-theme-]{-webkit-font-smoothing:antialiased;font-family:var(--ag-font-family);font-size:var(--ag-font-size);line-height:normal;color:var(--ag-foreground-color)}ag-grid,ag-grid-angular,ag-grid-aurelia,ag-grid-ng2,ag-grid-polymer{display:block}.ag-hidden{display:none!important}.ag-invisible{visibility:hidden!important}.ag-no-transition{transition:none!important}.ag-drag-handle{cursor:grab}.ag-column-drop-wrapper{display:flex}.ag-column-drop-horizontal-half-width{display:inline-block;width:50%!important}.ag-unselectable{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-selectable{-moz-user-select:text;-webkit-user-select:text;-ms-user-select:text;user-select:text}.ag-tab{position:relative}.ag-tab-guard{width:0;height:0;display:block}.ag-select-agg-func-popup,.ag-tab-guard{position:absolute}.ag-input-wrapper,.ag-picker-field-wrapper{display:flex;flex:1 1 auto;align-items:center;line-height:normal;position:relative}.ag-shake-left-to-right{animation-direction:alternate;animation-duration:.2s;animation-iteration-count:infinite;animation-name:ag-shake-left-to-right}@keyframes ag-shake-left-to-right{0%{padding-left:6px;padding-right:2px}to{padding-left:2px;padding-right:6px}}.ag-root-wrapper{cursor:default;position:relative;display:flex;flex-direction:column;overflow:hidden}.ag-root-wrapper.ag-layout-normal{height:100%}.ag-watermark{position:absolute;bottom:20px;right:25px;opacity:.5;transition:opacity 1s ease-out 3s}.ag-watermark:before{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjM1IDQwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMiI+PGcgZmlsbD0iIzE4MWQxZiI+PHBhdGggZD0iTTIwNS45OTMgMjUuNjU4di03Ljk0NmgtMTMuNTQxbC03Ljk0NyA3Ljk0NmgyMS40ODh6TTIyMS4yNSA1Ljk1aC0xNi45NzRsLTguMDEgNy45NDdoMjQuOTg0VjUuOTUxek0xNzYuNjIyIDMzLjYwNWw0LjA3LTQuMDY5aDEzLjczdjcuOTQ3aC0xNy44di0zLjg3OHoiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik0xNzkuNjEgMjEuNzhoOC43NzNsOC4wMS03Ljk0NkgxNzkuNjF2Ny45NDZ6TTE3MC4wMSAzMy42MDVoNi42MTJsNy44ODMtNy45NDdoLTE0LjQ5NHY3Ljk0N3pNMjA0LjI3NiA1Ljk1bC00LjA2OCA0LjA3SDE3NC4yN1YyLjA3MmgzMC4wMDZWNS45NXpNMzMuODQgMzIuMjA2SDIxLjM3OGwtMi4xNjIgNS4zNEgxMy43NWwxMS41MDctMjYuOTU0aDQuNzY4TDQxLjUzIDM3LjU0NmgtNS41M2wtMi4xNjItNS4zNHptLTEuNzE3LTQuMjZMMjcuNjA5IDE2Ljk1bC00LjUxNCAxMC45OThoOS4wMjh6TTExNy40MzcgMjAuNTA5YzEuNTg5LTIuMzUyIDUuNTk0LTIuNjA3IDcuMjQ3LTIuNjA3djQuNTc4Yy0yLjAzNCAwLTQuMDY5LjA2My01LjI3Ny45NTMtMS4yMDcuODktMS44NDMgMi4wOTgtMS44NDMgMy41NnYxMC41NTNoLTQuOTU5VjE3LjkwMmg0Ljc2OGwuMDY0IDIuNjA3eiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTEyNy40MTggMTcuOTAyaDQuOTU4djE5LjY0NGgtNC45NTh6TTEyNy40MTggOS4xM2g0Ljk1OHY1Ljg0OGgtNC45NTh6Ii8+PHBhdGggZD0iTTE1Ni45NzkgOS4xM3YyOC40MTZoLTQuNzY4bC0uMTI3LTIuOTg4YTguMzEgOC4zMSAwIDAxLTIuNjcgMi40OGMtMS4wODEuNTcyLTIuNDE2Ljg5LTMuOTQyLjg5LTEuMzM1IDAtMi42MDYtLjI1NS0zLjY4Ny0uNy0xLjE0NC0uNTA4LTIuMTYyLTEuMTQ0LTIuOTg4LTIuMDM0YTkuNTczIDkuNTczIDAgMDEtMS45Ny0zLjE3OWMtLjUxLTEuMjA3LS43LTIuNjA2LS43LTQuMTMyIDAtMS41MjUuMjU0LTIuOTI0LjctNC4xOTYuNTA4LTEuMjcxIDEuMTQ0LTIuMzUyIDEuOTctMy4yNDIuODI2LS44OSAxLjg0NC0xLjU4OSAyLjk4OC0yLjA5OCAxLjE0NC0uNTA4IDIuMzUyLS43NjIgMy42ODctLjc2MiAxLjUyNiAwIDIuNzk3LjI1NCAzLjg3OC44MjYgMS4wOC41NzIgMS45NyAxLjMzNSAyLjY3IDIuNDE2VjkuMTkzaDQuOTU5di0uMDY0em0tMTAuNDI2IDI0LjUzOGMxLjY1MyAwIDIuOTI0LS41NzIgMy45NDEtMS42NTMgMS4wMTctMS4wOCAxLjUyNi0yLjU0MiAxLjUyNi00LjMyMiAwLTEuNzgtLjUwOS0zLjE4LTEuNTI2LTQuMzIzLTEuMDE3LTEuMDgxLTIuMjg4LTEuNjUzLTMuOTQxLTEuNjUzLTEuNTkgMC0yLjkyNS41NzItMy44NzggMS42NTMtMS4wMTcgMS4wOC0xLjUyNiAyLjU0My0xLjUyNiA0LjMyMyAwIDEuNzguNTA5IDMuMTc4IDEuNTI2IDQuMjU5IDEuMDE3IDEuMTQ0IDIuMjg4IDEuNzE2IDMuODc4IDEuNzE2TTcwLjIwMiAyMi4zNTJINTcuOTMzdjQuMjZoNi45OTNjLS4xOSAyLjE2MS0xLjAxNyAzLjgxNC0yLjQxNiA1LjE1LTEuMzk4IDEuMjctMy4xNzggMS45MDYtNS40NjcgMS45MDYtMS4yNzEgMC0yLjQ4LS4yNTQtMy40OTctLjY5OWE3LjAyNSA3LjAyNSAwIDAxLTIuNzMzLTEuOTdjLS43NjMtLjgyNy0xLjMzNS0xLjg0NC0xLjc4LTMuMDUyLS40NDUtMS4yMDgtLjYzNi0yLjQ4LS42MzYtMy45NDIgMC0xLjQ2Mi4xOS0yLjczMy42MzYtMy45NDEuMzgxLTEuMjA4IDEuMDE3LTIuMTYyIDEuNzgtMy4wNTIuNzYzLS44MjYgMS42NTMtMS40NjIgMi43MzMtMS45N2E5LjExNSA5LjExNSAwIDAxMy41Ni0uN2MyLjY3IDAgNC43MDUuNjM2IDYuMTAzIDEuOTA4bDMuMzA2LTMuMzA2Yy0yLjQ4LTEuOTA3LTUuNjU4LTIuOTI1LTkuNDA4LTIuOTI1LTIuMDk4IDAtNC4wMDYuMzE4LTUuNzIyIDEuMDE4LTEuNzE2LjY5OS0zLjE3OSAxLjU4OS00LjM4NiAyLjc5N0ExMi4wNzQgMTIuMDc0IDAgMDA0NC4yIDE4LjIyYy0uNjM1IDEuNzE3LS45NTMgMy42MjQtLjk1MyA1LjY1OCAwIDIuMDM1LjMxOCAzLjk0MiAxLjAxNyA1LjY1OC43IDEuNzE3IDEuNTkgMy4xNzkgMi43OTcgNC4zODdhMTIuMDc0IDEyLjA3NCAwIDAwNC4zODcgMi43OTdjMS43MTYuNyAzLjYyMyAxLjAxNyA1LjY1OCAxLjAxNyAyLjAzNCAwIDMuODc3LS4zMTggNS41My0xLjAxNyAxLjY1My0uNyAzLjA1Mi0xLjU5IDQuMTk2LTIuNzk3IDEuMTQ0LTEuMjA4IDIuMDM0LTIuNjcgMi42Ny00LjM4Ny42MzYtMS43MTYuOTU0LTMuNjIzLjk1NC01LjY1OHYtLjgyNmMtLjE5MS0uMTI3LS4yNTUtLjQ0NS0uMjU1LS43TTEwOC45ODIgMjIuMzUyaC0xMi4yN3Y0LjI2aDYuOTkzYy0uMTkgMi4xNjEtMS4wMTcgMy44MTQtMi40MTYgNS4xNS0xLjM5OCAxLjI3LTMuMTc4IDEuOTA2LTUuNDY3IDEuOTA2LTEuMjcxIDAtMi40OC0uMjU0LTMuNDk2LS42OTlhNy4wMjUgNy4wMjUgMCAwMS0yLjczNC0xLjk3Yy0uNzYzLS44MjctMS4zMzUtMS44NDQtMS43OC0zLjA1Mi0uNDQ1LTEuMjA4LS42MzYtMi40OC0uNjM2LTMuOTQyIDAtMS40NjIuMTkxLTIuNzMzLjYzNi0zLjk0MS4zODEtMS4yMDggMS4wMTctMi4xNjIgMS43OC0zLjA1Mi43NjMtLjgyNiAxLjY1My0xLjQ2MiAyLjczNC0xLjk3YTkuMTE1IDkuMTE1IDAgMDEzLjU2LS43YzIuNjcgMCA0LjcwNC42MzYgNi4xMDMgMS45MDhsMy4zMDUtMy4zMDZjLTIuNDc5LTEuOTA3LTUuNjU4LTIuOTI1LTkuNDA4LTIuOTI1LTIuMDk4IDAtNC4wMDUuMzE4LTUuNzIyIDEuMDE4LTEuNzE2LjY5OS0zLjE3OCAxLjU4OS00LjM4NiAyLjc5N2ExMi4wNzQgMTIuMDc0IDAgMDAtMi43OTggNC4zODZjLS42MzUgMS43MTctLjk1MyAzLjYyNC0uOTUzIDUuNjU4IDAgMi4wMzUuMzE4IDMuOTQyIDEuMDE3IDUuNjU4LjcgMS43MTcgMS41OSAzLjE3OSAyLjc5NyA0LjM4N2ExMi4wNzQgMTIuMDc0IDAgMDA0LjM4NyAyLjc5N2MxLjcxNi43IDMuNjIzIDEuMDE3IDUuNjU4IDEuMDE3IDIuMDM0IDAgMy44NzgtLjMxOCA1LjUzLTEuMDE3IDEuNjUzLS43IDMuMDUyLTEuNTkgNC4xOTYtMi43OTcgMS4xNDUtMS4yMDggMi4wMzUtMi42NyAyLjY3LTQuMzg3LjYzNi0xLjcxNi45NTQtMy42MjMuOTU0LTUuNjU4di0uODI2Yy0uMTktLjEyNy0uMjU0LS40NDUtLjI1NC0uNyIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg==);background-repeat:no-repeat;background-size:170px 40px;display:block;height:40px;width:170px;opacity:.5}.ag-watermark-text{opacity:.5;font-weight:700;font-family:Impact,sans-serif;font-size:19px;padding-left:.7rem}.ag-root-wrapper-body{display:flex;flex-direction:row}.ag-root-wrapper-body.ag-layout-normal{flex:1 1 auto;height:0;min-height:0}.ag-root{position:relative;display:flex;flex-direction:column}.ag-root.ag-layout-auto-height,.ag-root.ag-layout-normal{overflow:hidden;flex:1 1 auto;width:0}.ag-root.ag-layout-normal{height:100%}.ag-body-horizontal-scroll-viewport,.ag-body-vertical-scroll-viewport,.ag-body-viewport,.ag-center-cols-viewport,.ag-floating-bottom-viewport,.ag-floating-top-viewport,.ag-header-viewport,.ag-sticky-top-viewport,.ag-virtual-list-viewport{position:relative;height:100%;min-width:0;overflow:hidden;flex:1 1 auto}.ag-body-viewport{display:flex}.ag-body-viewport.ag-layout-normal{overflow-y:auto;-webkit-overflow-scrolling:touch}.ag-center-cols-viewport{width:100%;overflow-x:auto}.ag-body-horizontal-scroll-viewport{overflow-x:scroll}.ag-body-vertical-scroll-viewport{overflow-y:scroll}.ag-virtual-list-viewport{overflow:auto;width:100%}.ag-body-container,.ag-body-horizontal-scroll-container,.ag-body-vertical-scroll-container,.ag-center-cols-container,.ag-floating-bottom-container,.ag-floating-bottom-full-width-container,.ag-floating-top-container,.ag-full-width-container,.ag-header-container,.ag-pinned-left-cols-container,.ag-pinned-right-cols-container,.ag-sticky-top-container,.ag-virtual-list-container{position:relative}.ag-floating-bottom-container,.ag-floating-top-container,.ag-header-container,.ag-sticky-top-container{height:100%;white-space:nowrap}.ag-center-cols-container,.ag-pinned-right-cols-container{display:block}.ag-body-horizontal-scroll-container{height:100%}.ag-body-vertical-scroll-container{width:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container,.ag-full-width-container,.ag-sticky-top-full-width-container{position:absolute;top:0;pointer-events:none}.ag-ltr .ag-floating-bottom-full-width-container,.ag-ltr .ag-floating-top-full-width-container,.ag-ltr .ag-full-width-container,.ag-ltr .ag-sticky-top-full-width-container{left:0}.ag-rtl .ag-floating-bottom-full-width-container,.ag-rtl .ag-floating-top-full-width-container,.ag-rtl .ag-full-width-container,.ag-rtl .ag-sticky-top-full-width-container{right:0}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container{display:inline-block;overflow:hidden;height:100%;width:100%}.ag-virtual-list-container{overflow:hidden}.ag-center-cols-clipper{flex:1 1 auto;min-width:0;overflow:hidden;min-height:100%;transform:translateZ(0)}.ag-body{position:relative;display:flex;flex:1 1 auto;flex-direction:row!important;min-height:0}.ag-body-clipper{overflow:hidden;min-width:0;flex:1 1 auto;height:100%;transform:translateZ(0)}.ag-body-horizontal-scroll,.ag-body-vertical-scroll{min-height:0;min-width:0;display:flex;position:relative}.ag-body-horizontal-scroll.ag-scrollbar-invisible,.ag-body-vertical-scroll.ag-scrollbar-invisible{position:absolute;bottom:0}.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar,.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar{opacity:0;transition:opacity .4s;visibility:hidden}.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-active,.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-scrolling,.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-active,.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-scrolling{visibility:visible;opacity:1}.ag-body-horizontal-scroll{width:100%}.ag-body-horizontal-scroll.ag-scrollbar-invisible{left:0;right:0}.ag-body-vertical-scroll{height:100%}.ag-body-vertical-scroll.ag-scrollbar-invisible{top:0;z-index:10}.ag-ltr .ag-body-vertical-scroll.ag-scrollbar-invisible{right:0}.ag-rtl .ag-body-vertical-scroll.ag-scrollbar-invisible{left:0}.ag-force-vertical-scroll{overflow-y:scroll!important}.ag-horizontal-left-spacer,.ag-horizontal-right-spacer{height:100%;min-width:0;overflow-x:scroll}.ag-horizontal-left-spacer.ag-scroller-corner,.ag-horizontal-right-spacer.ag-scroller-corner{overflow-x:hidden}.ag-header,.ag-pinned-left-header,.ag-pinned-right-header{display:inline-block;overflow:hidden;position:relative}.ag-header-cell-sortable .ag-header-cell-label{cursor:pointer}.ag-header{display:flex;width:100%;white-space:nowrap}.ag-pinned-left-header,.ag-pinned-right-header{height:100%}.ag-header-row{position:absolute}.ag-header-row:not(.ag-header-row-column-group){overflow:hidden}.ag-header.ag-header-allow-overflow .ag-header-row{overflow:visible}.ag-header-cell{display:inline-flex;align-items:center;position:absolute;height:100%;overflow:hidden}.ag-header-cell.ag-header-active .ag-header-cell-menu-button{opacity:1}.ag-header-cell-menu-button:not(.ag-header-menu-always-show){transition:opacity .2s;opacity:0}.ag-header-cell-label,.ag-header-group-cell-label{display:flex;flex:1 1 auto;overflow:hidden;align-items:center;text-overflow:ellipsis;align-self:stretch}.ag-header-group-cell-label.ag-sticky-label{position:sticky;flex:none;max-width:100%}.ag-header-cell-text{overflow:hidden;text-overflow:ellipsis}.ag-header-cell:not(.ag-header-cell-auto-height) .ag-header-cell-comp-wrapper{height:100%;display:flex;align-items:center}.ag-header-cell-comp-wrapper{width:100%;overflow:hidden}.ag-header-cell-wrap-text .ag-header-cell-comp-wrapper{white-space:normal}.ag-right-aligned-header .ag-header-cell-label{flex-direction:row-reverse}.ag-header-group-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-header-cell-resize{position:absolute;z-index:2;height:100%;width:8px;top:0;cursor:ew-resize}.ag-ltr .ag-header-cell-resize{right:-4px}.ag-rtl .ag-header-cell-resize{left:-4px}.ag-pinned-left-header .ag-header-cell-resize{right:-4px}.ag-pinned-right-header .ag-header-cell-resize{left:-4px}.ag-header-select-all{display:flex}.ag-column-moving .ag-cell,.ag-column-moving .ag-header-cell{transition:left .2s}.ag-column-moving .ag-header-group-cell{transition:left .2s,width .2s}.ag-column-panel{display:flex;flex-direction:column;overflow:hidden;flex:1 1 auto}.ag-column-select{position:relative;display:flex;flex-direction:column;overflow:hidden;flex:3 1 0px}.ag-column-select-header{position:relative;display:flex;flex:none}.ag-column-select-header-icon{position:relative}.ag-column-select-header-filter-wrapper{flex:1 1 auto}.ag-column-select-header-filter{width:100%}.ag-column-select-list{flex:1 1 0px;overflow:hidden}.ag-column-drop{position:relative;display:inline-flex;align-items:center;overflow:auto;width:100%}.ag-column-drop-cell,.ag-column-drop-list{display:flex;align-items:center}.ag-column-drop-cell{position:relative}.ag-column-drop-cell-text{overflow:hidden;flex:1 1 auto;text-overflow:ellipsis;white-space:nowrap}.ag-column-drop-vertical{display:flex;flex-direction:column;overflow:hidden;align-items:stretch;flex:1 1 0px}.ag-column-drop-vertical-title-bar{display:flex;align-items:center;flex:none}.ag-column-drop-vertical-list{position:relative;align-items:stretch;flex-grow:1;flex-direction:column;overflow-x:auto}.ag-column-drop-vertical-list>*{flex:none}.ag-column-drop-empty .ag-column-drop-vertical-list{overflow:hidden}.ag-column-drop-vertical-empty-message{display:block}.ag-column-drop.ag-column-drop-horizontal{white-space:nowrap;overflow:hidden}.ag-column-drop-cell-button{cursor:pointer}.ag-filter-toolpanel{flex:1 1 0px;min-width:0}.ag-filter-toolpanel-header{position:relative}.ag-filter-toolpanel-header,.ag-filter-toolpanel-header>*,.ag-filter-toolpanel-search,.ag-filter-toolpanel-search>*{display:flex;align-items:center}.ag-filter-apply-panel{display:flex;justify-content:flex-end;overflow:hidden}.ag-row-animation .ag-row{transition:transform .4s,top .4s,background-color .1s,opacity .2s}.ag-row-animation .ag-row.ag-after-created{transition:transform .4s,top .4s,height .4s,background-color .1s,opacity .2s}.ag-row-no-animation .ag-row{transition:background-color .1s}.ag-row{white-space:nowrap;width:100%}.ag-row-loading{display:flex;align-items:center}.ag-row-position-absolute{position:absolute}.ag-row-position-relative{position:relative}.ag-full-width-row{overflow:hidden;pointer-events:all}.ag-row-inline-editing{z-index:1}.ag-row-dragging{z-index:2}.ag-stub-cell{display:flex;align-items:center}.ag-cell{display:inline-block;position:absolute;white-space:nowrap;height:100%}.ag-cell-value{flex:1 1 auto}.ag-cell-value,.ag-group-value{overflow:hidden;text-overflow:ellipsis}.ag-cell-wrap-text{white-space:normal;word-break:break-all}.ag-cell-wrapper{display:flex;align-items:center}.ag-cell-wrapper.ag-row-group{align-items:flex-start}.ag-sparkline-wrapper{position:absolute;height:100%;width:100%;left:0;top:0}.ag-full-width-row .ag-cell-wrapper.ag-row-group{height:100%;align-items:center}.ag-cell-inline-editing{z-index:1}.ag-cell-inline-editing .ag-cell-edit-wrapper,.ag-cell-inline-editing .ag-cell-editor,.ag-cell-inline-editing .ag-cell-editor .ag-wrapper,.ag-cell-inline-editing .ag-cell-editor input,.ag-cell-inline-editing .ag-cell-wrapper{height:100%;width:100%;line-height:normal}.ag-cell .ag-icon{display:inline-block;vertical-align:middle}.ag-set-filter-item{display:flex;align-items:center;height:100%}.ag-set-filter-item-checkbox{display:flex;overflow:hidden}.ag-set-filter-group-icons{display:block}.ag-set-filter-group-icons>*{cursor:pointer}.ag-filter-body-wrapper{display:flex;flex-direction:column}.ag-filter-filter{flex:1 1 0px}.ag-filter-condition{display:flex;justify-content:center}.ag-floating-filter-body{position:relative;display:flex;flex:1 1 auto;height:100%}.ag-floating-filter-full-body{display:flex;flex:1 1 auto;height:100%;width:100%;align-items:center;overflow:hidden}.ag-floating-filter-full-body>div{flex:1 1 auto}.ag-floating-filter-input{align-items:center;display:flex;width:100%}.ag-floating-filter-input>*{flex:1 1 auto}.ag-floating-filter-button{display:flex;flex:none}.ag-set-floating-filter-input input[disabled]{pointer-events:none}.ag-dnd-ghost{position:absolute;display:inline-flex;align-items:center;cursor:move;white-space:nowrap;z-index:9999}.ag-overlay{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.ag-overlay-panel,.ag-overlay-wrapper{display:flex;height:100%;width:100%}.ag-overlay-wrapper{flex:none;align-items:center;justify-content:center;text-align:center}.ag-overlay-loading-wrapper{pointer-events:all}.ag-popup-child{z-index:5;top:0}.ag-popup-editor{position:absolute;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-large-text-input{display:block}.ag-virtual-list-item{position:absolute;width:100%}.ag-floating-top{overflow:hidden;white-space:nowrap;width:100%;position:relative;display:flex}.ag-pinned-left-floating-top,.ag-pinned-right-floating-top{display:inline-block;overflow:hidden;position:relative;min-width:0}.ag-floating-bottom{overflow:hidden;white-space:nowrap;width:100%;position:relative;display:flex}.ag-pinned-left-floating-bottom,.ag-pinned-right-floating-bottom{display:inline-block;overflow:hidden;position:relative;min-width:0}.ag-sticky-top{position:absolute;display:flex;width:100%}.ag-pinned-left-sticky-top,.ag-pinned-right-sticky-top{position:relative;height:100%;overflow:hidden}.ag-sticky-top-full-width-container{overflow:hidden;width:100%;height:100%}.ag-dialog,.ag-panel{display:flex;flex-direction:column;position:relative;overflow:hidden}.ag-panel-title-bar{display:flex;flex:none;align-items:center;cursor:default}.ag-panel-title-bar-title{flex:1 1 auto}.ag-panel-title-bar-buttons{display:flex}.ag-panel-title-bar-button{cursor:pointer}.ag-panel-content-wrapper{display:flex;flex:1 1 auto;position:relative;overflow:hidden}.ag-dialog,.ag-resizer{position:absolute}.ag-resizer{pointer-events:none;z-index:1;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-resizer.ag-resizer-topLeft{top:0;left:0;height:5px;width:5px;cursor:nwse-resize}.ag-resizer.ag-resizer-top{top:0;left:5px;right:5px;height:5px;cursor:ns-resize}.ag-resizer.ag-resizer-topRight{top:0;right:0;height:5px;width:5px;cursor:nesw-resize}.ag-resizer.ag-resizer-right{top:5px;right:0;bottom:5px;width:5px;cursor:ew-resize}.ag-resizer.ag-resizer-bottomRight{bottom:0;right:0;height:5px;width:5px;cursor:nwse-resize}.ag-resizer.ag-resizer-bottom{bottom:0;left:5px;right:5px;height:5px;cursor:ns-resize}.ag-resizer.ag-resizer-bottomLeft{bottom:0;left:0;height:5px;width:5px;cursor:nesw-resize}.ag-resizer.ag-resizer-left{left:0;top:5px;bottom:5px;width:5px;cursor:ew-resize}.ag-tooltip,.ag-tooltip-custom{position:absolute;pointer-events:none;z-index:99999}.ag-value-slide-out{margin-right:5px;opacity:1;transition:opacity 3s,margin-right 3s;transition-timing-function:linear}.ag-value-slide-out-end{margin-right:10px;opacity:0}.ag-opacity-zero{opacity:0!important}.ag-menu{max-height:100%;overflow-y:auto;position:absolute;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-menu-column-select-wrapper{height:265px;overflow:auto}.ag-menu-column-select-wrapper .ag-column-select{height:100%}.ag-menu-list{display:table;width:100%}.ag-menu-option,.ag-menu-separator{display:table-row}.ag-menu-option-part,.ag-menu-separator-part{display:table-cell;vertical-align:middle}.ag-menu-option-text{white-space:nowrap}.ag-compact-menu-option{width:100%;display:flex;flex-wrap:nowrap}.ag-compact-menu-option-text{white-space:nowrap;flex:1 1 auto}.ag-rich-select{cursor:default;outline:none}.ag-rich-select-value{display:flex;align-items:center}.ag-rich-select-value-icon{flex:1 1 auto;order:1}.ag-ltr .ag-rich-select-value-icon{text-align:right}.ag-rtl .ag-rich-select-value-icon{text-align:left}.ag-rich-select-list{position:relative}.ag-rich-select-virtual-list-item{display:flex}.ag-rich-select-row{display:flex;flex:1 1 auto;align-items:center;white-space:nowrap;overflow:hidden}.ag-paging-panel{justify-content:flex-end}.ag-paging-page-summary-panel,.ag-paging-panel{align-items:center;display:flex}.ag-paging-button{position:relative}.ag-disabled .ag-paging-page-summary-panel{pointer-events:none}.ag-tool-panel-wrapper{display:flex;overflow-y:auto;overflow-x:hidden;cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-column-select-column,.ag-column-select-column-group,.ag-select-agg-func-item{position:relative;align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;height:100%}.ag-column-select-column-group>*,.ag-column-select-column>*,.ag-select-agg-func-item>*{flex:none}.ag-column-select-column-label,.ag-select-agg-func-item{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-column-select-checkbox{display:flex}.ag-tool-panel-horizontal-resize{cursor:ew-resize;height:100%;position:absolute;top:0;width:5px;z-index:1}.ag-ltr .ag-side-bar-left .ag-tool-panel-horizontal-resize{right:-3px}.ag-ltr .ag-side-bar-right .ag-tool-panel-horizontal-resize,.ag-rtl .ag-side-bar-left .ag-tool-panel-horizontal-resize{left:-3px}.ag-rtl .ag-side-bar-right .ag-tool-panel-horizontal-resize{right:-3px}.ag-details-row{width:100%}.ag-details-row-fixed-height{height:100%}.ag-details-grid{width:100%}.ag-details-grid-fixed-height{height:100%}.ag-header-group-cell{display:flex;align-items:center;height:100%;position:absolute}.ag-header-group-cell-no-group.ag-header-span-height .ag-header-cell-resize{display:none}.ag-cell-label-container{display:flex;justify-content:space-between;flex-direction:row-reverse;align-items:center;height:100%;width:100%;overflow:hidden;padding:5px 0}.ag-right-aligned-header .ag-cell-label-container{flex-direction:row}.ag-right-aligned-header .ag-header-cell-text{text-align:end}.ag-side-bar{display:flex;flex-direction:row-reverse}.ag-side-bar-left{order:-1;flex-direction:row}.ag-side-button-button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;white-space:nowrap;outline:none;cursor:pointer}.ag-side-button-label{writing-mode:vertical-lr}.ag-status-bar{display:flex;justify-content:space-between;overflow:hidden}.ag-status-panel{display:inline-flex}.ag-status-name-value{white-space:nowrap}.ag-status-bar-center,.ag-status-bar-left,.ag-status-bar-right{display:inline-flex}.ag-icon{display:block;speak:none}.ag-group{position:relative;width:100%}.ag-group-title-bar{display:flex;align-items:center}.ag-group-title{display:block;flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ag-group-title-bar .ag-group-title{cursor:default}.ag-group-toolbar{display:flex;align-items:center}.ag-group-container{display:flex}.ag-disabled .ag-group-container{pointer-events:none}.ag-group-container-horizontal{flex-direction:row;flex-wrap:wrap}.ag-group-container-vertical{flex-direction:column}.ag-column-group-icons{display:block}.ag-column-group-icons>*{cursor:pointer}.ag-group-item-alignment-stretch .ag-group-item{align-items:stretch}.ag-group-item-alignment-start .ag-group-item{align-items:flex-start}.ag-group-item-alignment-end .ag-group-item{align-items:flex-end}.ag-toggle-button-icon{transition:right .3s;position:absolute;top:-1px}.ag-input-field,.ag-select{display:flex;flex-direction:row;align-items:center}.ag-input-field-input{flex:1 1 auto}.ag-floating-filter-input .ag-input-field-input[type=date]{width:1px}.ag-angle-select,.ag-range-field{display:flex;align-items:center}.ag-angle-select-wrapper{display:flex}.ag-angle-select-parent-circle{display:block;position:relative}.ag-angle-select-child-circle{position:absolute}.ag-slider-wrapper{display:flex}.ag-picker-field-display,.ag-slider-wrapper .ag-input-field{flex:1 1 auto}.ag-picker-field{display:flex;align-items:center}.ag-picker-field-icon{display:flex;border:0;padding:0;margin:0;cursor:pointer}.ag-picker-field-wrapper{overflow:hidden}.ag-label-align-right .ag-label{order:1}.ag-label-align-right>*{flex:none}.ag-label-align-top{flex-direction:column;align-items:flex-start}.ag-label-align-top>*{align-self:stretch}.ag-label-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.ag-color-panel{width:100%;display:flex;flex-direction:column;text-align:center}.ag-spectrum-color{flex:1 1 auto;position:relative;overflow:hidden;cursor:default}.ag-spectrum-fill{position:absolute;top:0;left:0;right:0;bottom:0}.ag-spectrum-val{cursor:pointer}.ag-spectrum-dragger{position:absolute;pointer-events:none;cursor:pointer}.ag-spectrum-hue{cursor:default;background:linear-gradient(270deg,red 3%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.ag-spectrum-alpha{cursor:default}.ag-spectrum-hue-background{width:100%;height:100%}.ag-spectrum-alpha-background{background-image:linear-gradient(90deg,transparent,#000);width:100%;height:100%}.ag-spectrum-tool{cursor:pointer}.ag-spectrum-slider{position:absolute;pointer-events:none}.ag-recent-colors{display:flex}.ag-recent-color{cursor:pointer}.ag-ltr .ag-column-select-indent-1{padding-left:20px}.ag-rtl .ag-column-select-indent-1{padding-right:20px}.ag-ltr .ag-set-filter-indent-1{padding-left:20px}.ag-rtl .ag-set-filter-indent-1{padding-right:20px}.ag-ltr .ag-row-group-indent-1{padding-left:20px}.ag-rtl .ag-row-group-indent-1{padding-right:20px}.ag-ltr .ag-column-select-indent-2{padding-left:40px}.ag-rtl .ag-column-select-indent-2{padding-right:40px}.ag-ltr .ag-set-filter-indent-2{padding-left:40px}.ag-rtl .ag-set-filter-indent-2{padding-right:40px}.ag-ltr .ag-row-group-indent-2{padding-left:40px}.ag-rtl .ag-row-group-indent-2{padding-right:40px}.ag-ltr .ag-column-select-indent-3{padding-left:60px}.ag-rtl .ag-column-select-indent-3{padding-right:60px}.ag-ltr .ag-set-filter-indent-3{padding-left:60px}.ag-rtl .ag-set-filter-indent-3{padding-right:60px}.ag-ltr .ag-row-group-indent-3{padding-left:60px}.ag-rtl .ag-row-group-indent-3{padding-right:60px}.ag-ltr .ag-column-select-indent-4{padding-left:80px}.ag-rtl .ag-column-select-indent-4{padding-right:80px}.ag-ltr .ag-set-filter-indent-4{padding-left:80px}.ag-rtl .ag-set-filter-indent-4{padding-right:80px}.ag-ltr .ag-row-group-indent-4{padding-left:80px}.ag-rtl .ag-row-group-indent-4{padding-right:80px}.ag-ltr .ag-column-select-indent-5{padding-left:100px}.ag-rtl .ag-column-select-indent-5{padding-right:100px}.ag-ltr .ag-set-filter-indent-5{padding-left:100px}.ag-rtl .ag-set-filter-indent-5{padding-right:100px}.ag-ltr .ag-row-group-indent-5{padding-left:100px}.ag-rtl .ag-row-group-indent-5{padding-right:100px}.ag-ltr .ag-column-select-indent-6{padding-left:120px}.ag-rtl .ag-column-select-indent-6{padding-right:120px}.ag-ltr .ag-set-filter-indent-6{padding-left:120px}.ag-rtl .ag-set-filter-indent-6{padding-right:120px}.ag-ltr .ag-row-group-indent-6{padding-left:120px}.ag-rtl .ag-row-group-indent-6{padding-right:120px}.ag-ltr .ag-column-select-indent-7{padding-left:140px}.ag-rtl .ag-column-select-indent-7{padding-right:140px}.ag-ltr .ag-set-filter-indent-7{padding-left:140px}.ag-rtl .ag-set-filter-indent-7{padding-right:140px}.ag-ltr .ag-row-group-indent-7{padding-left:140px}.ag-rtl .ag-row-group-indent-7{padding-right:140px}.ag-ltr .ag-column-select-indent-8{padding-left:160px}.ag-rtl .ag-column-select-indent-8{padding-right:160px}.ag-ltr .ag-set-filter-indent-8{padding-left:160px}.ag-rtl .ag-set-filter-indent-8{padding-right:160px}.ag-ltr .ag-row-group-indent-8{padding-left:160px}.ag-rtl .ag-row-group-indent-8{padding-right:160px}.ag-ltr .ag-column-select-indent-9{padding-left:180px}.ag-rtl .ag-column-select-indent-9{padding-right:180px}.ag-ltr .ag-set-filter-indent-9{padding-left:180px}.ag-rtl .ag-set-filter-indent-9{padding-right:180px}.ag-ltr .ag-row-group-indent-9{padding-left:180px}.ag-rtl .ag-row-group-indent-9{padding-right:180px}.ag-ltr{direction:ltr}.ag-ltr .ag-body,.ag-ltr .ag-body-horizontal-scroll,.ag-ltr .ag-body-viewport,.ag-ltr .ag-floating-bottom,.ag-ltr .ag-floating-top,.ag-ltr .ag-header,.ag-ltr .ag-sticky-top{flex-direction:row}.ag-rtl{direction:rtl}.ag-rtl .ag-body,.ag-rtl .ag-body-horizontal-scroll,.ag-rtl .ag-body-viewport,.ag-rtl .ag-floating-bottom,.ag-rtl .ag-floating-top,.ag-rtl .ag-header,.ag-rtl .ag-sticky-top{flex-direction:row-reverse}.ag-rtl .ag-icon-contracted,.ag-rtl .ag-icon-expanded,.ag-rtl .ag-icon-tree-closed{display:block;transform:rotate(180deg)}.ag-body .ag-body-viewport{-webkit-overflow-scrolling:touch}.ag-layout-print.ag-body{display:block;height:unset}.ag-layout-print.ag-body-clipper{height:unset}.ag-layout-print.ag-root-wrapper{display:inline-flex}.ag-layout-print .ag-center-cols-clipper{min-width:100%}.ag-layout-print .ag-body-horizontal-scroll,.ag-layout-print .ag-body-vertical-scroll{display:none}.ag-layout-print.ag-force-vertical-scroll{overflow-y:visible!important}@media print{.ag-root-wrapper.ag-layout-print{display:table}.ag-root-wrapper.ag-layout-print .ag-body-horizontal-scroll-viewport,.ag-root-wrapper.ag-layout-print .ag-body-viewport,.ag-root-wrapper.ag-layout-print .ag-center-cols-clipper,.ag-root-wrapper.ag-layout-print .ag-center-cols-container,.ag-root-wrapper.ag-layout-print .ag-center-cols-viewport,.ag-root-wrapper.ag-layout-print .ag-root,.ag-root-wrapper.ag-layout-print .ag-root-wrapper-body,.ag-root-wrapper.ag-layout-print .ag-virtual-list-viewport{height:auto!important;overflow:hidden!important;display:block!important}.ag-root-wrapper.ag-layout-print .ag-cell,.ag-root-wrapper.ag-layout-print .ag-row{break-inside:avoid}}[class^=ag-],[class^=ag-]:after,[class^=ag-]:before,[class^=ag-]:focus{box-sizing:border-box;outline:none}[class^=ag-]::-ms-clear{display:none}.ag-checkbox .ag-input-wrapper,.ag-radio-button .ag-input-wrapper{overflow:visible}.ag-range-field .ag-input-wrapper{height:100%}.ag-toggle-button{flex:none;width:unset;min-width:unset}.ag-button{border-radius:0;color:var(--ag-foreground-color)}.ag-button:hover{background-color:transparent}.ag-ltr .ag-label-align-right .ag-label{margin-left:var(--ag-grid-size)}.ag-rtl .ag-label-align-right .ag-label{margin-right:var(--ag-grid-size)}input[class^=ag-]{margin:0}input[class^=ag-],select[class^=ag-],textarea[class^=ag-]{background-color:var(--ag-background-color)}input[class^=ag-]:not([type]),input[class^=ag-][type=date],input[class^=ag-][type=datetime-local],input[class^=ag-][type=number],input[class^=ag-][type=tel],input[class^=ag-][type=text],textarea[class^=ag-]{font-size:inherit;line-height:inherit;color:inherit;border:var(--ag-borders-input) var(--ag-input-border-color)}input[class^=ag-]:not([type]):disabled,input[class^=ag-][type=date]:disabled,input[class^=ag-][type=datetime-local]:disabled,input[class^=ag-][type=number]:disabled,input[class^=ag-][type=tel]:disabled,input[class^=ag-][type=text]:disabled,textarea[class^=ag-]:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}input[class^=ag-]:not([type]):focus,input[class^=ag-][type=date]:focus,input[class^=ag-][type=datetime-local]:focus,input[class^=ag-][type=number]:focus,input[class^=ag-][type=tel]:focus,input[class^=ag-][type=text]:focus,textarea[class^=ag-]:focus{outline:none;box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-input-focus-border-color)}input[class^=ag-]:not([type]):invalid,input[class^=ag-][type=date]:invalid,input[class^=ag-][type=datetime-local]:invalid,input[class^=ag-][type=number]:invalid,input[class^=ag-][type=tel]:invalid,input[class^=ag-][type=text]:invalid,textarea[class^=ag-]:invalid{border:var(--ag-borders-input-invalid) var(--ag-input-border-color-invalid)}input[class^=ag-][type=number]:not(.ag-number-field-input-stepper){-moz-appearance:textfield}input[class^=ag-][type=number]:not(.ag-number-field-input-stepper)::-webkit-inner-spin-button,input[class^=ag-][type=number]:not(.ag-number-field-input-stepper)::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[class^=ag-][type=range]{padding:0}button[class^=ag-]:focus,input[class^=ag-][type=button]:focus{box-shadow:var(--ag-input-focus-box-shadow)}.ag-drag-handle{color:var(--ag-secondary-foreground-color)}.ag-list-item,.ag-virtual-list-item{height:var(--ag-list-item-height)}.ag-keyboard-focus .ag-virtual-list-item:focus{outline:none}.ag-keyboard-focus .ag-virtual-list-item:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-select-list{background-color:var(--ag-background-color);overflow-y:auto;overflow-x:hidden}.ag-list-item{display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-list-item.ag-active-item{background-color:var(--ag-row-hover-color)}.ag-select-list-item{padding-left:4px;padding-right:4px;cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-select-list-item span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ag-select .ag-picker-field-wrapper{background-color:var(--ag-background-color);min-height:var(--ag-list-item-height);cursor:default}.ag-select.ag-disabled .ag-picker-field-wrapper:focus{box-shadow:none}.ag-select:not(.ag-cell-editor,.ag-label-align-top){height:var(--ag-list-item-height)}.ag-select .ag-picker-field-display{margin:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-select .ag-picker-field-icon{display:flex;align-items:center}.ag-select.ag-disabled{opacity:.5}.ag-rich-select{background-color:var(--ag-control-panel-background-color)}.ag-rich-select-list{width:100%;min-width:200px;height:calc(var(--ag-row-height)*6.5)}.ag-rich-select-value{height:var(--ag-row-height);border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color);padding-top:0;padding-bottom:0}.ag-ltr .ag-rich-select-value{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-rich-select-value{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-rich-select-value{padding-right:var(--ag-grid-size)}.ag-rtl .ag-rich-select-value{padding-left:var(--ag-grid-size)}.ag-rich-select-virtual-list-item{cursor:default;height:var(--ag-list-item-height)}.ag-keyboard-focus .ag-rich-select-virtual-list-item:focus:after{content:none}.ag-rich-select-virtual-list-item:hover{background-color:var(--ag-row-hover-color)}.ag-ltr .ag-rich-select-row{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-rich-select-row{padding-right:var(--ag-cell-horizontal-padding)}.ag-rich-select-row-selected{background-color:var(--ag-selected-row-background-color)}.ag-group-contracted,.ag-group-expanded,.ag-row-drag,.ag-selection-checkbox{color:var(--ag-secondary-foreground-color)}.ag-ltr .ag-group-contracted,.ag-ltr .ag-group-expanded,.ag-ltr .ag-row-drag,.ag-ltr .ag-selection-checkbox{margin-right:var(--ag-cell-widget-spacing)}.ag-rtl .ag-group-contracted,.ag-rtl .ag-group-expanded,.ag-rtl .ag-row-drag,.ag-rtl .ag-selection-checkbox{margin-left:var(--ag-cell-widget-spacing)}.ag-cell-wrapper>:not(.ag-cell-value):not(.ag-group-value){--ag-internal-calculated-line-height:var(--ag-line-height,calc(var(--ag-row-height) - var(--ag-row-border-width)));--ag-internal-padded-row-height:calc(var(--ag-row-height) - var(--ag-row-border-width));height:min(var(--ag-internal-calculated-line-height),var(--ag-internal-padded-row-height));display:flex;align-items:center;flex:none}.ag-group-contracted,.ag-group-expanded{cursor:pointer}.ag-group-title-bar-icon{cursor:pointer;flex:none;color:var(--ag-secondary-foreground-color)}.ag-ltr .ag-group-child-count{margin-left:2px}.ag-rtl .ag-group-child-count{margin-right:2px}.ag-group-title-bar{background-color:var(--ag-subheader-background-color);padding:var(--ag-grid-size)}.ag-group-toolbar{padding:var(--ag-grid-size);background-color:var(--ag-subheader-toolbar-background-color)}.ag-disabled-group-container,.ag-disabled-group-title-bar{opacity:.5}.group-item{margin:calc(var(--ag-grid-size)*0.5) 0}.ag-label{white-space:nowrap}.ag-ltr .ag-label{margin-right:var(--ag-grid-size)}.ag-rtl .ag-label{margin-left:var(--ag-grid-size)}.ag-label-align-top .ag-label{margin-bottom:calc(var(--ag-grid-size)*0.5)}.ag-angle-select[disabled]{color:var(--ag-disabled-foreground-color);pointer-events:none}.ag-angle-select[disabled] .ag-angle-select-field{opacity:.4}.ag-ltr .ag-angle-select-field,.ag-ltr .ag-slider-field{margin-right:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-angle-select-field,.ag-rtl .ag-slider-field{margin-left:calc(var(--ag-grid-size)*2)}.ag-angle-select-parent-circle{width:24px;height:24px;border-radius:12px;border:1px solid;border-color:var(--ag-border-color);background-color:var(--ag-background-color)}.ag-angle-select-child-circle{top:4px;left:12px;width:6px;height:6px;margin-left:-3px;margin-top:-4px;border-radius:3px;background-color:var(--ag-secondary-foreground-color)}.ag-picker-field-wrapper{border:1px solid;border-color:var(--ag-border-color);border-radius:5px}.ag-picker-field-wrapper:focus{box-shadow:var(--ag-input-focus-box-shadow)}.ag-picker-field-button{background-color:var(--ag-background-color);color:var(--ag-secondary-foreground-color)}.ag-dialog.ag-color-dialog{border-radius:5px}.ag-color-picker .ag-picker-field-display{height:var(--ag-icon-size)}.ag-color-panel{padding:var(--ag-grid-size)}.ag-spectrum-color{background-color:red;border-radius:2px}.ag-spectrum-tools{padding:10px}.ag-spectrum-sat{background-image:linear-gradient(90deg,#fff,rgba(204,154,129,0))}.ag-spectrum-val{background-image:linear-gradient(0deg,#000,rgba(204,154,129,0))}.ag-spectrum-dragger{border-radius:12px;height:12px;width:12px;border:1px solid #fff;background:#000;box-shadow:0 0 2px 0 rgba(0,0,0,.24)}.ag-spectrum-alpha-background,.ag-spectrum-hue-background{border-radius:2px}.ag-spectrum-tool{margin-bottom:10px;height:11px;border-radius:2px}.ag-spectrum-slider{margin-top:-12px;width:13px;height:13px;border-radius:13px;background-color:#f8f8f8;box-shadow:0 1px 4px 0 rgba(0,0,0,.37)}.ag-recent-color{margin:0 3px}.ag-recent-color:first-child{margin-left:0}.ag-recent-color:last-child{margin-right:0}.ag-dnd-ghost{background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);overflow:hidden;text-overflow:ellipsis;border:var(--ag-borders-secondary) var(--ag-secondary-border-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height)!important;line-height:var(--ag-header-height);margin:0;padding:0 calc(var(--ag-grid-size)*2);transform:translateY(calc(var(--ag-grid-size)*2))}.ag-dnd-ghost-icon{margin-right:var(--ag-grid-size);color:var(--ag-foreground-color)}.ag-popup-child:not(.ag-tooltip-custom){box-shadow:var(--ag-popup-shadow)}.ag-dragging-fill-handle .ag-dialog,.ag-dragging-range-handle .ag-dialog{opacity:.7;pointer-events:none}.ag-dialog{border-radius:var(--ag-border-radius);border:var(--ag-borders) var(--ag-border-color)}.ag-panel{background-color:var(--ag-background-color)}.ag-panel-title-bar{background-color:var(--ag-header-background-color);color:var(--ag-header-foreground-color);height:var(--ag-header-height);padding:var(--ag-grid-size) var(--ag-cell-horizontal-padding);border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-panel-title-bar-button{margin-left:var(--ag-grid-size)}.ag-rtl .ag-panel-title-bar-button{margin-right:var(--ag-grid-size)}.ag-tooltip{background-color:var(--ag-tooltip-background-color);color:var(--ag-foreground-color);padding:var(--ag-grid-size);border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);transition:opacity 1s;white-space:normal}.ag-tooltip.ag-tooltip-hiding{opacity:0}.ag-tooltip-custom{transition:opacity 1s}.ag-tooltip-custom.ag-tooltip-hiding{opacity:0}.ag-ltr .ag-column-select-indent-1{padding-left:calc(var(--ag-column-select-indent-size)*1)}.ag-rtl .ag-column-select-indent-1{padding-right:calc(var(--ag-column-select-indent-size)*1)}.ag-ltr .ag-column-select-indent-2{padding-left:calc(var(--ag-column-select-indent-size)*2)}.ag-rtl .ag-column-select-indent-2{padding-right:calc(var(--ag-column-select-indent-size)*2)}.ag-ltr .ag-column-select-indent-3{padding-left:calc(var(--ag-column-select-indent-size)*3)}.ag-rtl .ag-column-select-indent-3{padding-right:calc(var(--ag-column-select-indent-size)*3)}.ag-ltr .ag-column-select-indent-4{padding-left:calc(var(--ag-column-select-indent-size)*4)}.ag-rtl .ag-column-select-indent-4{padding-right:calc(var(--ag-column-select-indent-size)*4)}.ag-ltr .ag-column-select-indent-5{padding-left:calc(var(--ag-column-select-indent-size)*5)}.ag-rtl .ag-column-select-indent-5{padding-right:calc(var(--ag-column-select-indent-size)*5)}.ag-ltr .ag-column-select-indent-6{padding-left:calc(var(--ag-column-select-indent-size)*6)}.ag-rtl .ag-column-select-indent-6{padding-right:calc(var(--ag-column-select-indent-size)*6)}.ag-ltr .ag-column-select-indent-7{padding-left:calc(var(--ag-column-select-indent-size)*7)}.ag-rtl .ag-column-select-indent-7{padding-right:calc(var(--ag-column-select-indent-size)*7)}.ag-ltr .ag-column-select-indent-8{padding-left:calc(var(--ag-column-select-indent-size)*8)}.ag-rtl .ag-column-select-indent-8{padding-right:calc(var(--ag-column-select-indent-size)*8)}.ag-ltr .ag-column-select-indent-9{padding-left:calc(var(--ag-column-select-indent-size)*9)}.ag-rtl .ag-column-select-indent-9{padding-right:calc(var(--ag-column-select-indent-size)*9)}.ag-column-select-header-icon{cursor:pointer}.ag-keyboard-focus .ag-column-select-header-icon:focus{outline:none}.ag-keyboard-focus .ag-column-select-header-icon:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:0;left:0;display:block;width:100%;height:100%;border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-ltr .ag-column-group-icons:not(:last-child),.ag-ltr .ag-column-select-checkbox:not(:last-child),.ag-ltr .ag-column-select-column-drag-handle:not(:last-child),.ag-ltr .ag-column-select-column-group-drag-handle:not(:last-child),.ag-ltr .ag-column-select-column-label:not(:last-child),.ag-ltr .ag-column-select-header-checkbox:not(:last-child),.ag-ltr .ag-column-select-header-filter-wrapper:not(:last-child),.ag-ltr .ag-column-select-header-icon:not(:last-child){margin-right:var(--ag-widget-horizontal-spacing)}.ag-rtl .ag-column-group-icons:not(:last-child),.ag-rtl .ag-column-select-checkbox:not(:last-child),.ag-rtl .ag-column-select-column-drag-handle:not(:last-child),.ag-rtl .ag-column-select-column-group-drag-handle:not(:last-child),.ag-rtl .ag-column-select-column-label:not(:last-child),.ag-rtl .ag-column-select-header-checkbox:not(:last-child),.ag-rtl .ag-column-select-header-filter-wrapper:not(:last-child),.ag-rtl .ag-column-select-header-icon:not(:last-child){margin-left:var(--ag-widget-horizontal-spacing)}.ag-keyboard-focus .ag-column-select-virtual-list-item:focus{outline:none}.ag-keyboard-focus .ag-column-select-virtual-list-item:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:1px;left:1px;display:block;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-select-column-group:not(:last-child),.ag-column-select-column:not(:last-child){margin-bottom:var(--ag-widget-vertical-spacing)}.ag-column-select-column-group-readonly,.ag-column-select-column-readonly{color:var(--ag-disabled-foreground-color);pointer-events:none}.ag-ltr .ag-column-select-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-rtl .ag-column-select-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-column-select-virtual-list-viewport{padding:calc(var(--ag-widget-container-vertical-padding)*0.5) 0}.ag-column-select-virtual-list-item{padding:0 var(--ag-widget-container-horizontal-padding)}.ag-checkbox-edit{padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding)}.ag-rtl{text-align:right}.ag-root-wrapper{border:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*1)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*1)}.ag-ltr .ag-row-group-indent-1{padding-left:calc(var(--ag-row-group-indent-size)*1)}.ag-rtl .ag-row-group-indent-1{padding-right:calc(var(--ag-row-group-indent-size)*1)}.ag-ltr .ag-row-level-1 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-1 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*2)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*2)}.ag-ltr .ag-row-group-indent-2{padding-left:calc(var(--ag-row-group-indent-size)*2)}.ag-rtl .ag-row-group-indent-2{padding-right:calc(var(--ag-row-group-indent-size)*2)}.ag-ltr .ag-row-level-2 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-2 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*3)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*3)}.ag-ltr .ag-row-group-indent-3{padding-left:calc(var(--ag-row-group-indent-size)*3)}.ag-rtl .ag-row-group-indent-3{padding-right:calc(var(--ag-row-group-indent-size)*3)}.ag-ltr .ag-row-level-3 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-3 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*4)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*4)}.ag-ltr .ag-row-group-indent-4{padding-left:calc(var(--ag-row-group-indent-size)*4)}.ag-rtl .ag-row-group-indent-4{padding-right:calc(var(--ag-row-group-indent-size)*4)}.ag-ltr .ag-row-level-4 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-4 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*5)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*5)}.ag-ltr .ag-row-group-indent-5{padding-left:calc(var(--ag-row-group-indent-size)*5)}.ag-rtl .ag-row-group-indent-5{padding-right:calc(var(--ag-row-group-indent-size)*5)}.ag-ltr .ag-row-level-5 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-5 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*6)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*6)}.ag-ltr .ag-row-group-indent-6{padding-left:calc(var(--ag-row-group-indent-size)*6)}.ag-rtl .ag-row-group-indent-6{padding-right:calc(var(--ag-row-group-indent-size)*6)}.ag-ltr .ag-row-level-6 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-6 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*7)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*7)}.ag-ltr .ag-row-group-indent-7{padding-left:calc(var(--ag-row-group-indent-size)*7)}.ag-rtl .ag-row-group-indent-7{padding-right:calc(var(--ag-row-group-indent-size)*7)}.ag-ltr .ag-row-level-7 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-7 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*8)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*8)}.ag-ltr .ag-row-group-indent-8{padding-left:calc(var(--ag-row-group-indent-size)*8)}.ag-rtl .ag-row-group-indent-8{padding-right:calc(var(--ag-row-group-indent-size)*8)}.ag-ltr .ag-row-level-8 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-8 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*9)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*9)}.ag-ltr .ag-row-group-indent-9{padding-left:calc(var(--ag-row-group-indent-size)*9)}.ag-rtl .ag-row-group-indent-9{padding-right:calc(var(--ag-row-group-indent-size)*9)}.ag-ltr .ag-row-level-9 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-9 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*10)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*10)}.ag-ltr .ag-row-group-indent-10{padding-left:calc(var(--ag-row-group-indent-size)*10)}.ag-rtl .ag-row-group-indent-10{padding-right:calc(var(--ag-row-group-indent-size)*10)}.ag-ltr .ag-row-level-10 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-10 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*11)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*11)}.ag-ltr .ag-row-group-indent-11{padding-left:calc(var(--ag-row-group-indent-size)*11)}.ag-rtl .ag-row-group-indent-11{padding-right:calc(var(--ag-row-group-indent-size)*11)}.ag-ltr .ag-row-level-11 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-11 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*12)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*12)}.ag-ltr .ag-row-group-indent-12{padding-left:calc(var(--ag-row-group-indent-size)*12)}.ag-rtl .ag-row-group-indent-12{padding-right:calc(var(--ag-row-group-indent-size)*12)}.ag-ltr .ag-row-level-12 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-12 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*13)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*13)}.ag-ltr .ag-row-group-indent-13{padding-left:calc(var(--ag-row-group-indent-size)*13)}.ag-rtl .ag-row-group-indent-13{padding-right:calc(var(--ag-row-group-indent-size)*13)}.ag-ltr .ag-row-level-13 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-13 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*14)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*14)}.ag-ltr .ag-row-group-indent-14{padding-left:calc(var(--ag-row-group-indent-size)*14)}.ag-rtl .ag-row-group-indent-14{padding-right:calc(var(--ag-row-group-indent-size)*14)}.ag-ltr .ag-row-level-14 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-14 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*15)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*15)}.ag-ltr .ag-row-group-indent-15{padding-left:calc(var(--ag-row-group-indent-size)*15)}.ag-rtl .ag-row-group-indent-15{padding-right:calc(var(--ag-row-group-indent-size)*15)}.ag-ltr .ag-row-level-15 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-15 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*16)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*16)}.ag-ltr .ag-row-group-indent-16{padding-left:calc(var(--ag-row-group-indent-size)*16)}.ag-rtl .ag-row-group-indent-16{padding-right:calc(var(--ag-row-group-indent-size)*16)}.ag-ltr .ag-row-level-16 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-16 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*17)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*17)}.ag-ltr .ag-row-group-indent-17{padding-left:calc(var(--ag-row-group-indent-size)*17)}.ag-rtl .ag-row-group-indent-17{padding-right:calc(var(--ag-row-group-indent-size)*17)}.ag-ltr .ag-row-level-17 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-17 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*18)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*18)}.ag-ltr .ag-row-group-indent-18{padding-left:calc(var(--ag-row-group-indent-size)*18)}.ag-rtl .ag-row-group-indent-18{padding-right:calc(var(--ag-row-group-indent-size)*18)}.ag-ltr .ag-row-level-18 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-18 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*19)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*19)}.ag-ltr .ag-row-group-indent-19{padding-left:calc(var(--ag-row-group-indent-size)*19)}.ag-rtl .ag-row-group-indent-19{padding-right:calc(var(--ag-row-group-indent-size)*19)}.ag-ltr .ag-row-level-19 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-19 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-20{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*20)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-20{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*20)}.ag-ltr .ag-row-group-indent-20{padding-left:calc(var(--ag-row-group-indent-size)*20)}.ag-rtl .ag-row-group-indent-20{padding-right:calc(var(--ag-row-group-indent-size)*20)}.ag-ltr .ag-row-level-20 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-20 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-21{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*21)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-21{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*21)}.ag-ltr .ag-row-group-indent-21{padding-left:calc(var(--ag-row-group-indent-size)*21)}.ag-rtl .ag-row-group-indent-21{padding-right:calc(var(--ag-row-group-indent-size)*21)}.ag-ltr .ag-row-level-21 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-21 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-22{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*22)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-22{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*22)}.ag-ltr .ag-row-group-indent-22{padding-left:calc(var(--ag-row-group-indent-size)*22)}.ag-rtl .ag-row-group-indent-22{padding-right:calc(var(--ag-row-group-indent-size)*22)}.ag-ltr .ag-row-level-22 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-22 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-23{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*23)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-23{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*23)}.ag-ltr .ag-row-group-indent-23{padding-left:calc(var(--ag-row-group-indent-size)*23)}.ag-rtl .ag-row-group-indent-23{padding-right:calc(var(--ag-row-group-indent-size)*23)}.ag-ltr .ag-row-level-23 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-23 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-24{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*24)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-24{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*24)}.ag-ltr .ag-row-group-indent-24{padding-left:calc(var(--ag-row-group-indent-size)*24)}.ag-rtl .ag-row-group-indent-24{padding-right:calc(var(--ag-row-group-indent-size)*24)}.ag-ltr .ag-row-level-24 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-24 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-25{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*25)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-25{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*25)}.ag-ltr .ag-row-group-indent-25{padding-left:calc(var(--ag-row-group-indent-size)*25)}.ag-rtl .ag-row-group-indent-25{padding-right:calc(var(--ag-row-group-indent-size)*25)}.ag-ltr .ag-row-level-25 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-25 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-26{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*26)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-26{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*26)}.ag-ltr .ag-row-group-indent-26{padding-left:calc(var(--ag-row-group-indent-size)*26)}.ag-rtl .ag-row-group-indent-26{padding-right:calc(var(--ag-row-group-indent-size)*26)}.ag-ltr .ag-row-level-26 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-26 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-27{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*27)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-27{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*27)}.ag-ltr .ag-row-group-indent-27{padding-left:calc(var(--ag-row-group-indent-size)*27)}.ag-rtl .ag-row-group-indent-27{padding-right:calc(var(--ag-row-group-indent-size)*27)}.ag-ltr .ag-row-level-27 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-27 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-28{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*28)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-28{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*28)}.ag-ltr .ag-row-group-indent-28{padding-left:calc(var(--ag-row-group-indent-size)*28)}.ag-rtl .ag-row-group-indent-28{padding-right:calc(var(--ag-row-group-indent-size)*28)}.ag-ltr .ag-row-level-28 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-28 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-29{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*29)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-29{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*29)}.ag-ltr .ag-row-group-indent-29{padding-left:calc(var(--ag-row-group-indent-size)*29)}.ag-rtl .ag-row-group-indent-29{padding-right:calc(var(--ag-row-group-indent-size)*29)}.ag-ltr .ag-row-level-29 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-29 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-30{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*30)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-30{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*30)}.ag-ltr .ag-row-group-indent-30{padding-left:calc(var(--ag-row-group-indent-size)*30)}.ag-rtl .ag-row-group-indent-30{padding-right:calc(var(--ag-row-group-indent-size)*30)}.ag-ltr .ag-row-level-30 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-30 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-31{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*31)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-31{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*31)}.ag-ltr .ag-row-group-indent-31{padding-left:calc(var(--ag-row-group-indent-size)*31)}.ag-rtl .ag-row-group-indent-31{padding-right:calc(var(--ag-row-group-indent-size)*31)}.ag-ltr .ag-row-level-31 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-31 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-32{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*32)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-32{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*32)}.ag-ltr .ag-row-group-indent-32{padding-left:calc(var(--ag-row-group-indent-size)*32)}.ag-rtl .ag-row-group-indent-32{padding-right:calc(var(--ag-row-group-indent-size)*32)}.ag-ltr .ag-row-level-32 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-32 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-33{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*33)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-33{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*33)}.ag-ltr .ag-row-group-indent-33{padding-left:calc(var(--ag-row-group-indent-size)*33)}.ag-rtl .ag-row-group-indent-33{padding-right:calc(var(--ag-row-group-indent-size)*33)}.ag-ltr .ag-row-level-33 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-33 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-34{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*34)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-34{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*34)}.ag-ltr .ag-row-group-indent-34{padding-left:calc(var(--ag-row-group-indent-size)*34)}.ag-rtl .ag-row-group-indent-34{padding-right:calc(var(--ag-row-group-indent-size)*34)}.ag-ltr .ag-row-level-34 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-34 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-35{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*35)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-35{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*35)}.ag-ltr .ag-row-group-indent-35{padding-left:calc(var(--ag-row-group-indent-size)*35)}.ag-rtl .ag-row-group-indent-35{padding-right:calc(var(--ag-row-group-indent-size)*35)}.ag-ltr .ag-row-level-35 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-35 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-36{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*36)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-36{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*36)}.ag-ltr .ag-row-group-indent-36{padding-left:calc(var(--ag-row-group-indent-size)*36)}.ag-rtl .ag-row-group-indent-36{padding-right:calc(var(--ag-row-group-indent-size)*36)}.ag-ltr .ag-row-level-36 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-36 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-37{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*37)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-37{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*37)}.ag-ltr .ag-row-group-indent-37{padding-left:calc(var(--ag-row-group-indent-size)*37)}.ag-rtl .ag-row-group-indent-37{padding-right:calc(var(--ag-row-group-indent-size)*37)}.ag-ltr .ag-row-level-37 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-37 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-38{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*38)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-38{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*38)}.ag-ltr .ag-row-group-indent-38{padding-left:calc(var(--ag-row-group-indent-size)*38)}.ag-rtl .ag-row-group-indent-38{padding-right:calc(var(--ag-row-group-indent-size)*38)}.ag-ltr .ag-row-level-38 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-38 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-39{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*39)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-39{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*39)}.ag-ltr .ag-row-group-indent-39{padding-left:calc(var(--ag-row-group-indent-size)*39)}.ag-rtl .ag-row-group-indent-39{padding-right:calc(var(--ag-row-group-indent-size)*39)}.ag-ltr .ag-row-level-39 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-39 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-40{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*40)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-40{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*40)}.ag-ltr .ag-row-group-indent-40{padding-left:calc(var(--ag-row-group-indent-size)*40)}.ag-rtl .ag-row-group-indent-40{padding-right:calc(var(--ag-row-group-indent-size)*40)}.ag-ltr .ag-row-level-40 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-40 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-41{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*41)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-41{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*41)}.ag-ltr .ag-row-group-indent-41{padding-left:calc(var(--ag-row-group-indent-size)*41)}.ag-rtl .ag-row-group-indent-41{padding-right:calc(var(--ag-row-group-indent-size)*41)}.ag-ltr .ag-row-level-41 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-41 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-42{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*42)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-42{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*42)}.ag-ltr .ag-row-group-indent-42{padding-left:calc(var(--ag-row-group-indent-size)*42)}.ag-rtl .ag-row-group-indent-42{padding-right:calc(var(--ag-row-group-indent-size)*42)}.ag-ltr .ag-row-level-42 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-42 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-43{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*43)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-43{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*43)}.ag-ltr .ag-row-group-indent-43{padding-left:calc(var(--ag-row-group-indent-size)*43)}.ag-rtl .ag-row-group-indent-43{padding-right:calc(var(--ag-row-group-indent-size)*43)}.ag-ltr .ag-row-level-43 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-43 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-44{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*44)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-44{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*44)}.ag-ltr .ag-row-group-indent-44{padding-left:calc(var(--ag-row-group-indent-size)*44)}.ag-rtl .ag-row-group-indent-44{padding-right:calc(var(--ag-row-group-indent-size)*44)}.ag-ltr .ag-row-level-44 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-44 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-45{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*45)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-45{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*45)}.ag-ltr .ag-row-group-indent-45{padding-left:calc(var(--ag-row-group-indent-size)*45)}.ag-rtl .ag-row-group-indent-45{padding-right:calc(var(--ag-row-group-indent-size)*45)}.ag-ltr .ag-row-level-45 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-45 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-46{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*46)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-46{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*46)}.ag-ltr .ag-row-group-indent-46{padding-left:calc(var(--ag-row-group-indent-size)*46)}.ag-rtl .ag-row-group-indent-46{padding-right:calc(var(--ag-row-group-indent-size)*46)}.ag-ltr .ag-row-level-46 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-46 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-47{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*47)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-47{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*47)}.ag-ltr .ag-row-group-indent-47{padding-left:calc(var(--ag-row-group-indent-size)*47)}.ag-rtl .ag-row-group-indent-47{padding-right:calc(var(--ag-row-group-indent-size)*47)}.ag-ltr .ag-row-level-47 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-47 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-48{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*48)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-48{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*48)}.ag-ltr .ag-row-group-indent-48{padding-left:calc(var(--ag-row-group-indent-size)*48)}.ag-rtl .ag-row-group-indent-48{padding-right:calc(var(--ag-row-group-indent-size)*48)}.ag-ltr .ag-row-level-48 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-48 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-49{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*49)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-49{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*49)}.ag-ltr .ag-row-group-indent-49{padding-left:calc(var(--ag-row-group-indent-size)*49)}.ag-rtl .ag-row-group-indent-49{padding-right:calc(var(--ag-row-group-indent-size)*49)}.ag-ltr .ag-row-level-49 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-49 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-50{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*50)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-50{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*50)}.ag-ltr .ag-row-group-indent-50{padding-left:calc(var(--ag-row-group-indent-size)*50)}.ag-rtl .ag-row-group-indent-50{padding-right:calc(var(--ag-row-group-indent-size)*50)}.ag-ltr .ag-row-level-50 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-50 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-51{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*51)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-51{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*51)}.ag-ltr .ag-row-group-indent-51{padding-left:calc(var(--ag-row-group-indent-size)*51)}.ag-rtl .ag-row-group-indent-51{padding-right:calc(var(--ag-row-group-indent-size)*51)}.ag-ltr .ag-row-level-51 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-51 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-52{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*52)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-52{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*52)}.ag-ltr .ag-row-group-indent-52{padding-left:calc(var(--ag-row-group-indent-size)*52)}.ag-rtl .ag-row-group-indent-52{padding-right:calc(var(--ag-row-group-indent-size)*52)}.ag-ltr .ag-row-level-52 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-52 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-53{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*53)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-53{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*53)}.ag-ltr .ag-row-group-indent-53{padding-left:calc(var(--ag-row-group-indent-size)*53)}.ag-rtl .ag-row-group-indent-53{padding-right:calc(var(--ag-row-group-indent-size)*53)}.ag-ltr .ag-row-level-53 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-53 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-54{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*54)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-54{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*54)}.ag-ltr .ag-row-group-indent-54{padding-left:calc(var(--ag-row-group-indent-size)*54)}.ag-rtl .ag-row-group-indent-54{padding-right:calc(var(--ag-row-group-indent-size)*54)}.ag-ltr .ag-row-level-54 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-54 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-55{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*55)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-55{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*55)}.ag-ltr .ag-row-group-indent-55{padding-left:calc(var(--ag-row-group-indent-size)*55)}.ag-rtl .ag-row-group-indent-55{padding-right:calc(var(--ag-row-group-indent-size)*55)}.ag-ltr .ag-row-level-55 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-55 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-56{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*56)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-56{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*56)}.ag-ltr .ag-row-group-indent-56{padding-left:calc(var(--ag-row-group-indent-size)*56)}.ag-rtl .ag-row-group-indent-56{padding-right:calc(var(--ag-row-group-indent-size)*56)}.ag-ltr .ag-row-level-56 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-56 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-57{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*57)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-57{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*57)}.ag-ltr .ag-row-group-indent-57{padding-left:calc(var(--ag-row-group-indent-size)*57)}.ag-rtl .ag-row-group-indent-57{padding-right:calc(var(--ag-row-group-indent-size)*57)}.ag-ltr .ag-row-level-57 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-57 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-58{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*58)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-58{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*58)}.ag-ltr .ag-row-group-indent-58{padding-left:calc(var(--ag-row-group-indent-size)*58)}.ag-rtl .ag-row-group-indent-58{padding-right:calc(var(--ag-row-group-indent-size)*58)}.ag-ltr .ag-row-level-58 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-58 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-59{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*59)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-59{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*59)}.ag-ltr .ag-row-group-indent-59{padding-left:calc(var(--ag-row-group-indent-size)*59)}.ag-rtl .ag-row-group-indent-59{padding-right:calc(var(--ag-row-group-indent-size)*59)}.ag-ltr .ag-row-level-59 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-59 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-60{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*60)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-60{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*60)}.ag-ltr .ag-row-group-indent-60{padding-left:calc(var(--ag-row-group-indent-size)*60)}.ag-rtl .ag-row-group-indent-60{padding-right:calc(var(--ag-row-group-indent-size)*60)}.ag-ltr .ag-row-level-60 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-60 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-61{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*61)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-61{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*61)}.ag-ltr .ag-row-group-indent-61{padding-left:calc(var(--ag-row-group-indent-size)*61)}.ag-rtl .ag-row-group-indent-61{padding-right:calc(var(--ag-row-group-indent-size)*61)}.ag-ltr .ag-row-level-61 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-61 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-62{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*62)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-62{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*62)}.ag-ltr .ag-row-group-indent-62{padding-left:calc(var(--ag-row-group-indent-size)*62)}.ag-rtl .ag-row-group-indent-62{padding-right:calc(var(--ag-row-group-indent-size)*62)}.ag-ltr .ag-row-level-62 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-62 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-63{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*63)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-63{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*63)}.ag-ltr .ag-row-group-indent-63{padding-left:calc(var(--ag-row-group-indent-size)*63)}.ag-rtl .ag-row-group-indent-63{padding-right:calc(var(--ag-row-group-indent-size)*63)}.ag-ltr .ag-row-level-63 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-63 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-64{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*64)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-64{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*64)}.ag-ltr .ag-row-group-indent-64{padding-left:calc(var(--ag-row-group-indent-size)*64)}.ag-rtl .ag-row-group-indent-64{padding-right:calc(var(--ag-row-group-indent-size)*64)}.ag-ltr .ag-row-level-64 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-64 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-65{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*65)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-65{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*65)}.ag-ltr .ag-row-group-indent-65{padding-left:calc(var(--ag-row-group-indent-size)*65)}.ag-rtl .ag-row-group-indent-65{padding-right:calc(var(--ag-row-group-indent-size)*65)}.ag-ltr .ag-row-level-65 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-65 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-66{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*66)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-66{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*66)}.ag-ltr .ag-row-group-indent-66{padding-left:calc(var(--ag-row-group-indent-size)*66)}.ag-rtl .ag-row-group-indent-66{padding-right:calc(var(--ag-row-group-indent-size)*66)}.ag-ltr .ag-row-level-66 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-66 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-67{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*67)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-67{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*67)}.ag-ltr .ag-row-group-indent-67{padding-left:calc(var(--ag-row-group-indent-size)*67)}.ag-rtl .ag-row-group-indent-67{padding-right:calc(var(--ag-row-group-indent-size)*67)}.ag-ltr .ag-row-level-67 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-67 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-68{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*68)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-68{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*68)}.ag-ltr .ag-row-group-indent-68{padding-left:calc(var(--ag-row-group-indent-size)*68)}.ag-rtl .ag-row-group-indent-68{padding-right:calc(var(--ag-row-group-indent-size)*68)}.ag-ltr .ag-row-level-68 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-68 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-69{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*69)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-69{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*69)}.ag-ltr .ag-row-group-indent-69{padding-left:calc(var(--ag-row-group-indent-size)*69)}.ag-rtl .ag-row-group-indent-69{padding-right:calc(var(--ag-row-group-indent-size)*69)}.ag-ltr .ag-row-level-69 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-69 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-70{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*70)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-70{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*70)}.ag-ltr .ag-row-group-indent-70{padding-left:calc(var(--ag-row-group-indent-size)*70)}.ag-rtl .ag-row-group-indent-70{padding-right:calc(var(--ag-row-group-indent-size)*70)}.ag-ltr .ag-row-level-70 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-70 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-71{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*71)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-71{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*71)}.ag-ltr .ag-row-group-indent-71{padding-left:calc(var(--ag-row-group-indent-size)*71)}.ag-rtl .ag-row-group-indent-71{padding-right:calc(var(--ag-row-group-indent-size)*71)}.ag-ltr .ag-row-level-71 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-71 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-72{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*72)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-72{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*72)}.ag-ltr .ag-row-group-indent-72{padding-left:calc(var(--ag-row-group-indent-size)*72)}.ag-rtl .ag-row-group-indent-72{padding-right:calc(var(--ag-row-group-indent-size)*72)}.ag-ltr .ag-row-level-72 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-72 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-73{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*73)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-73{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*73)}.ag-ltr .ag-row-group-indent-73{padding-left:calc(var(--ag-row-group-indent-size)*73)}.ag-rtl .ag-row-group-indent-73{padding-right:calc(var(--ag-row-group-indent-size)*73)}.ag-ltr .ag-row-level-73 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-73 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-74{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*74)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-74{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*74)}.ag-ltr .ag-row-group-indent-74{padding-left:calc(var(--ag-row-group-indent-size)*74)}.ag-rtl .ag-row-group-indent-74{padding-right:calc(var(--ag-row-group-indent-size)*74)}.ag-ltr .ag-row-level-74 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-74 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-75{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*75)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-75{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*75)}.ag-ltr .ag-row-group-indent-75{padding-left:calc(var(--ag-row-group-indent-size)*75)}.ag-rtl .ag-row-group-indent-75{padding-right:calc(var(--ag-row-group-indent-size)*75)}.ag-ltr .ag-row-level-75 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-75 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-76{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*76)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-76{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*76)}.ag-ltr .ag-row-group-indent-76{padding-left:calc(var(--ag-row-group-indent-size)*76)}.ag-rtl .ag-row-group-indent-76{padding-right:calc(var(--ag-row-group-indent-size)*76)}.ag-ltr .ag-row-level-76 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-76 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-77{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*77)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-77{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*77)}.ag-ltr .ag-row-group-indent-77{padding-left:calc(var(--ag-row-group-indent-size)*77)}.ag-rtl .ag-row-group-indent-77{padding-right:calc(var(--ag-row-group-indent-size)*77)}.ag-ltr .ag-row-level-77 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-77 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-78{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*78)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-78{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*78)}.ag-ltr .ag-row-group-indent-78{padding-left:calc(var(--ag-row-group-indent-size)*78)}.ag-rtl .ag-row-group-indent-78{padding-right:calc(var(--ag-row-group-indent-size)*78)}.ag-ltr .ag-row-level-78 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-78 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-79{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*79)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-79{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*79)}.ag-ltr .ag-row-group-indent-79{padding-left:calc(var(--ag-row-group-indent-size)*79)}.ag-rtl .ag-row-group-indent-79{padding-right:calc(var(--ag-row-group-indent-size)*79)}.ag-ltr .ag-row-level-79 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-79 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-80{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*80)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-80{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*80)}.ag-ltr .ag-row-group-indent-80{padding-left:calc(var(--ag-row-group-indent-size)*80)}.ag-rtl .ag-row-group-indent-80{padding-right:calc(var(--ag-row-group-indent-size)*80)}.ag-ltr .ag-row-level-80 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-80 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-81{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*81)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-81{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*81)}.ag-ltr .ag-row-group-indent-81{padding-left:calc(var(--ag-row-group-indent-size)*81)}.ag-rtl .ag-row-group-indent-81{padding-right:calc(var(--ag-row-group-indent-size)*81)}.ag-ltr .ag-row-level-81 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-81 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-82{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*82)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-82{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*82)}.ag-ltr .ag-row-group-indent-82{padding-left:calc(var(--ag-row-group-indent-size)*82)}.ag-rtl .ag-row-group-indent-82{padding-right:calc(var(--ag-row-group-indent-size)*82)}.ag-ltr .ag-row-level-82 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-82 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-83{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*83)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-83{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*83)}.ag-ltr .ag-row-group-indent-83{padding-left:calc(var(--ag-row-group-indent-size)*83)}.ag-rtl .ag-row-group-indent-83{padding-right:calc(var(--ag-row-group-indent-size)*83)}.ag-ltr .ag-row-level-83 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-83 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-84{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*84)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-84{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*84)}.ag-ltr .ag-row-group-indent-84{padding-left:calc(var(--ag-row-group-indent-size)*84)}.ag-rtl .ag-row-group-indent-84{padding-right:calc(var(--ag-row-group-indent-size)*84)}.ag-ltr .ag-row-level-84 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-84 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-85{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*85)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-85{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*85)}.ag-ltr .ag-row-group-indent-85{padding-left:calc(var(--ag-row-group-indent-size)*85)}.ag-rtl .ag-row-group-indent-85{padding-right:calc(var(--ag-row-group-indent-size)*85)}.ag-ltr .ag-row-level-85 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-85 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-86{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*86)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-86{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*86)}.ag-ltr .ag-row-group-indent-86{padding-left:calc(var(--ag-row-group-indent-size)*86)}.ag-rtl .ag-row-group-indent-86{padding-right:calc(var(--ag-row-group-indent-size)*86)}.ag-ltr .ag-row-level-86 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-86 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-87{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*87)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-87{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*87)}.ag-ltr .ag-row-group-indent-87{padding-left:calc(var(--ag-row-group-indent-size)*87)}.ag-rtl .ag-row-group-indent-87{padding-right:calc(var(--ag-row-group-indent-size)*87)}.ag-ltr .ag-row-level-87 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-87 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-88{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*88)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-88{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*88)}.ag-ltr .ag-row-group-indent-88{padding-left:calc(var(--ag-row-group-indent-size)*88)}.ag-rtl .ag-row-group-indent-88{padding-right:calc(var(--ag-row-group-indent-size)*88)}.ag-ltr .ag-row-level-88 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-88 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-89{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*89)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-89{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*89)}.ag-ltr .ag-row-group-indent-89{padding-left:calc(var(--ag-row-group-indent-size)*89)}.ag-rtl .ag-row-group-indent-89{padding-right:calc(var(--ag-row-group-indent-size)*89)}.ag-ltr .ag-row-level-89 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-89 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-90{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*90)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-90{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*90)}.ag-ltr .ag-row-group-indent-90{padding-left:calc(var(--ag-row-group-indent-size)*90)}.ag-rtl .ag-row-group-indent-90{padding-right:calc(var(--ag-row-group-indent-size)*90)}.ag-ltr .ag-row-level-90 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-90 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-91{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*91)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-91{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*91)}.ag-ltr .ag-row-group-indent-91{padding-left:calc(var(--ag-row-group-indent-size)*91)}.ag-rtl .ag-row-group-indent-91{padding-right:calc(var(--ag-row-group-indent-size)*91)}.ag-ltr .ag-row-level-91 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-91 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-92{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*92)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-92{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*92)}.ag-ltr .ag-row-group-indent-92{padding-left:calc(var(--ag-row-group-indent-size)*92)}.ag-rtl .ag-row-group-indent-92{padding-right:calc(var(--ag-row-group-indent-size)*92)}.ag-ltr .ag-row-level-92 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-92 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-93{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*93)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-93{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*93)}.ag-ltr .ag-row-group-indent-93{padding-left:calc(var(--ag-row-group-indent-size)*93)}.ag-rtl .ag-row-group-indent-93{padding-right:calc(var(--ag-row-group-indent-size)*93)}.ag-ltr .ag-row-level-93 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-93 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-94{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*94)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-94{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*94)}.ag-ltr .ag-row-group-indent-94{padding-left:calc(var(--ag-row-group-indent-size)*94)}.ag-rtl .ag-row-group-indent-94{padding-right:calc(var(--ag-row-group-indent-size)*94)}.ag-ltr .ag-row-level-94 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-94 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-95{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*95)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-95{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*95)}.ag-ltr .ag-row-group-indent-95{padding-left:calc(var(--ag-row-group-indent-size)*95)}.ag-rtl .ag-row-group-indent-95{padding-right:calc(var(--ag-row-group-indent-size)*95)}.ag-ltr .ag-row-level-95 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-95 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-96{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*96)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-96{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*96)}.ag-ltr .ag-row-group-indent-96{padding-left:calc(var(--ag-row-group-indent-size)*96)}.ag-rtl .ag-row-group-indent-96{padding-right:calc(var(--ag-row-group-indent-size)*96)}.ag-ltr .ag-row-level-96 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-96 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-97{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*97)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-97{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*97)}.ag-ltr .ag-row-group-indent-97{padding-left:calc(var(--ag-row-group-indent-size)*97)}.ag-rtl .ag-row-group-indent-97{padding-right:calc(var(--ag-row-group-indent-size)*97)}.ag-ltr .ag-row-level-97 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-97 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-98{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*98)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-98{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*98)}.ag-ltr .ag-row-group-indent-98{padding-left:calc(var(--ag-row-group-indent-size)*98)}.ag-rtl .ag-row-group-indent-98{padding-right:calc(var(--ag-row-group-indent-size)*98)}.ag-ltr .ag-row-level-98 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-98 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-99{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*99)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-99{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*99)}.ag-ltr .ag-row-group-indent-99{padding-left:calc(var(--ag-row-group-indent-size)*99)}.ag-rtl .ag-row-group-indent-99{padding-right:calc(var(--ag-row-group-indent-size)*99)}.ag-ltr .ag-row-level-99 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-99 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row-group-leaf-indent{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-group-leaf-indent{margin-right:var(--ag-row-group-indent-size)}.ag-value-change-delta{padding-right:2px}.ag-value-change-delta-up{color:var(--ag-value-change-delta-up-color)}.ag-value-change-delta-down{color:var(--ag-value-change-delta-down-color)}.ag-value-change-value{background-color:transparent;border-radius:1px;padding-left:1px;padding-right:1px;transition:background-color 1s}.ag-value-change-value-highlight{background-color:var(--ag-value-change-value-highlight-background-color);transition:background-color .1s}.ag-cell-data-changed{background-color:var(--ag-value-change-value-highlight-background-color)!important}.ag-cell-data-changed-animation{background-color:transparent}.ag-cell-highlight{background-color:var(--ag-range-selection-highlight-color)!important}.ag-row{height:var(--ag-row-height);background-color:var(--ag-background-color);color:var(--ag-data-color);border-bottom:var(--ag-row-border-style) var(--ag-row-border-color) var(--ag-row-border-width)}.ag-row-highlight-above:after,.ag-row-highlight-below:after{content:"";position:absolute;width:calc(100% - 1px);height:1px;background-color:var(--ag-range-selection-border-color);left:1px}.ag-row-highlight-above:after{top:-1px}.ag-row-highlight-above.ag-row-first:after{top:0}.ag-row-highlight-below:after{bottom:0}.ag-row-odd{background-color:var(--ag-odd-row-background-color)}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible) .ag-horizontal-left-spacer:not(.ag-scroller-corner){border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible) .ag-horizontal-right-spacer:not(.ag-scroller-corner){border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-row-selected:before{content:"";background-color:var(--ag-selected-row-background-color);display:block;position:absolute;top:0;left:0;right:0;bottom:0}.ag-row-hover.ag-full-width-row.ag-row-group:before,.ag-row-hover:not(.ag-full-width-row):before{content:"";background-color:var(--ag-row-hover-color);display:block;position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.ag-row-hover.ag-full-width-row.ag-row-group>*{position:relative}.ag-row-hover.ag-row-selected:before{background-color:var(--ag-row-hover-color);background-image:linear-gradient(var(--ag-selected-row-background-color),var(--ag-selected-row-background-color))}.ag-column-hover{background-color:var(--ag-column-hover-color)}.ag-ltr .ag-right-aligned-cell{text-align:right}.ag-rtl .ag-right-aligned-cell{text-align:left}.ag-ltr .ag-right-aligned-cell .ag-cell-value,.ag-ltr .ag-right-aligned-cell .ag-group-value{margin-left:auto}.ag-rtl .ag-right-aligned-cell .ag-cell-value,.ag-rtl .ag-right-aligned-cell .ag-group-value{margin-right:auto}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group{--ag-internal-calculated-line-height:var(--ag-line-height,calc(var(--ag-row-height) - var(--ag-row-border-width)));--ag-internal-padded-row-height:calc(var(--ag-row-height) - var(--ag-row-border-width));border:1px solid transparent;line-height:min(var(--ag-internal-calculated-line-height),var(--ag-internal-padded-row-height));-webkit-font-smoothing:subpixel-antialiased}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group,.ag-row>.ag-cell-wrapper{padding-left:calc(var(--ag-cell-horizontal-padding) - 1px);padding-right:calc(var(--ag-cell-horizontal-padding) - 1px)}.ag-row-dragging{cursor:move;opacity:.5}.ag-cell-inline-editing,.ag-popup-editor{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:0;background-color:var(--ag-control-panel-background-color)}.ag-large-text-input{height:auto;padding:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-large-text-input textarea{resize:none}.ag-details-row{padding:calc(var(--ag-grid-size)*5);background-color:var(--ag-background-color)}.ag-layout-auto-height .ag-center-cols-clipper,.ag-layout-auto-height .ag-center-cols-container,.ag-layout-print .ag-center-cols-clipper,.ag-layout-print .ag-center-cols-container{min-height:50px}.ag-overlay-loading-wrapper{background-color:var(--ag-modal-overlay-background-color)}.ag-overlay-loading-center{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:var(--ag-grid-size)}.ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:30px}.ag-loading{display:flex;height:100%;align-items:center}.ag-ltr .ag-loading{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-loading{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-loading-icon{padding-right:var(--ag-cell-widget-spacing)}.ag-rtl .ag-loading-icon{padding-left:var(--ag-cell-widget-spacing)}.ag-icon-loading{animation-name:spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ag-floating-top{border-bottom:var(--ag-borders-critical) var(--ag-border-color)}.ag-floating-bottom{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-ltr .ag-cell{border-right:var(--ag-cell-horizontal-border)}.ag-rtl .ag-cell{border-left:var(--ag-cell-horizontal-border)}.ag-ltr .ag-cell{border-right-width:1px}.ag-rtl .ag-cell{border-left-width:1px}.ag-cell.ag-cell-first-right-pinned:not(.ag-cell-range-left):not(.ag-cell-range-single-cell){border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right):not(.ag-cell-range-single-cell){border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing),.ag-cell-range-selected:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart,.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart{background-color:var(--ag-range-selection-chart-background-color)!important}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart.ag-cell-range-chart-category,.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart.ag-cell-range-chart-category{background-color:var(--ag-range-selection-chart-category-background-color)!important}.ag-cell-range-selected-1:not(.ag-cell-focus),.ag-root:not(.ag-context-menu-open) .ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-1:not(.ag-cell-inline-editing){background-color:var(--ag-range-selection-background-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-2,.ag-cell-range-selected-2:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-2)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-3,.ag-cell-range-selected-3:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-3)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-4,.ag-cell-range-selected-4:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-4)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-top{border-top-color:var(--ag-range-selection-border-color);border-top-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-right{border-right-color:var(--ag-range-selection-border-color);border-right-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-bottom{border-bottom-color:var(--ag-range-selection-border-color);border-bottom-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-left{border-left-color:var(--ag-range-selection-border-color);border-left-style:var(--ag-range-selection-border-style)}.ag-ltr .ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-ltr .ag-cell-range-single-cell,.ag-ltr .ag-cell-range-single-cell.ag-cell-range-handle,.ag-ltr .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-ltr .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group,.ag-rtl .ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-rtl .ag-cell-range-single-cell,.ag-rtl .ag-cell-range-single-cell.ag-cell-range-handle,.ag-rtl .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-rtl .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group{border-color:currentcolor;border-style:solid;border:1px var(--ag-range-selection-border-style) var(--ag-range-selection-border-color);outline:initial}.ag-cell.ag-selection-fill-top,.ag-cell.ag-selection-fill-top.ag-cell-range-selected{border-top:1px dashed;border-top-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-cell.ag-selection-fill-right,.ag-ltr .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-right:1px dashed var(--ag-range-selection-border-color)!important}.ag-rtl .ag-cell.ag-selection-fill-right,.ag-rtl .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-left:1px dashed var(--ag-range-selection-border-color)!important}.ag-cell.ag-selection-fill-bottom,.ag-cell.ag-selection-fill-bottom.ag-cell-range-selected{border-bottom:1px dashed;border-bottom-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-cell.ag-selection-fill-left,.ag-ltr .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-left:1px dashed var(--ag-range-selection-border-color)!important}.ag-rtl .ag-cell.ag-selection-fill-left,.ag-rtl .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-right:1px dashed var(--ag-range-selection-border-color)!important}.ag-fill-handle,.ag-range-handle{position:absolute;width:6px;height:6px;bottom:-1px;background-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-fill-handle,.ag-ltr .ag-range-handle{right:-1px}.ag-rtl .ag-fill-handle,.ag-rtl .ag-range-handle{left:-1px}.ag-fill-handle{cursor:cell}.ag-range-handle{cursor:nwse-resize}.ag-cell-inline-editing{border-color:var(--ag-input-focus-border-color)!important}.ag-menu{border:var(--ag-borders) var(--ag-border-color);background:var(--ag-background-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:0}.ag-menu-list{cursor:default;padding:var(--ag-grid-size) 0}.ag-menu-separator{height:calc(var(--ag-grid-size)*2 + 1px)}.ag-menu-separator-part:after{content:"";display:block;border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-compact-menu-option-active,.ag-menu-option-active{background-color:var(--ag-row-hover-color)}.ag-compact-menu-option-part,.ag-menu-option-part{line-height:var(--ag-icon-size);padding:calc(var(--ag-grid-size) + 2px) 0}.ag-compact-menu-option-disabled,.ag-menu-option-disabled{opacity:.5}.ag-compact-menu-option-icon,.ag-menu-option-icon{width:var(--ag-icon-size)}.ag-ltr .ag-compact-menu-option-icon,.ag-ltr .ag-menu-option-icon{padding-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-compact-menu-option-icon,.ag-rtl .ag-menu-option-icon{padding-right:calc(var(--ag-grid-size)*2)}.ag-compact-menu-option-text,.ag-menu-option-text{padding-left:calc(var(--ag-grid-size)*2);padding-right:calc(var(--ag-grid-size)*2)}.ag-ltr .ag-compact-menu-option-shortcut,.ag-ltr .ag-menu-option-shortcut{padding-right:var(--ag-grid-size)}.ag-rtl .ag-compact-menu-option-shortcut,.ag-rtl .ag-menu-option-shortcut{padding-left:var(--ag-grid-size)}.ag-compact-menu-option-popup-pointer,.ag-menu-option-popup-pointer{padding-right:var(--ag-grid-size)}.ag-tabs{min-width:var(--ag-tab-min-width)}.ag-tabs-header{width:100%;display:flex}.ag-tab{border-bottom:var(--ag-selected-tab-underline-width) solid transparent;transition:border-bottom var(--ag-selected-tab-underline-transition-speed);display:flex;flex:none;align-items:center;justify-content:center;cursor:pointer}.ag-keyboard-focus .ag-tab:focus{outline:none}.ag-keyboard-focus .ag-tab:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-tab-selected{border-bottom-color:var(--ag-selected-tab-underline-color)}.ag-menu-header{color:var(--ag-secondary-foreground-color)}.ag-filter-separator{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-filter-select .ag-picker-field-wrapper{width:0}.ag-filter-condition-operator{height:17px}.ag-ltr .ag-filter-condition-operator-or{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-filter-condition-operator-or{margin-right:calc(var(--ag-grid-size)*2)}.ag-set-filter-select-all{padding-top:var(--ag-widget-container-vertical-padding)}.ag-filter-no-matches,.ag-set-filter-list{height:calc(var(--ag-list-item-height)*6)}.ag-set-filter-tree-list{height:calc(var(--ag-list-item-height)*10)}.ag-set-filter-filter{margin-top:var(--ag-widget-container-vertical-padding);margin-left:var(--ag-widget-container-horizontal-padding);margin-right:var(--ag-widget-container-horizontal-padding)}.ag-filter-to{margin-top:var(--ag-widget-vertical-spacing)}.ag-mini-filter{margin:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-set-filter-item{margin:0 var(--ag-widget-container-horizontal-padding)}.ag-ltr .ag-set-filter-add-group-indent{margin-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-rtl .ag-set-filter-add-group-indent{margin-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-ltr .ag-set-filter-indent-1{padding-left:calc(var(--ag-set-filter-indent-size)*1)}.ag-rtl .ag-set-filter-indent-1{padding-right:calc(var(--ag-set-filter-indent-size)*1)}.ag-ltr .ag-set-filter-indent-2{padding-left:calc(var(--ag-set-filter-indent-size)*2)}.ag-rtl .ag-set-filter-indent-2{padding-right:calc(var(--ag-set-filter-indent-size)*2)}.ag-ltr .ag-set-filter-indent-3{padding-left:calc(var(--ag-set-filter-indent-size)*3)}.ag-rtl .ag-set-filter-indent-3{padding-right:calc(var(--ag-set-filter-indent-size)*3)}.ag-ltr .ag-set-filter-indent-4{padding-left:calc(var(--ag-set-filter-indent-size)*4)}.ag-rtl .ag-set-filter-indent-4{padding-right:calc(var(--ag-set-filter-indent-size)*4)}.ag-ltr .ag-set-filter-indent-5{padding-left:calc(var(--ag-set-filter-indent-size)*5)}.ag-rtl .ag-set-filter-indent-5{padding-right:calc(var(--ag-set-filter-indent-size)*5)}.ag-ltr .ag-set-filter-indent-6{padding-left:calc(var(--ag-set-filter-indent-size)*6)}.ag-rtl .ag-set-filter-indent-6{padding-right:calc(var(--ag-set-filter-indent-size)*6)}.ag-ltr .ag-set-filter-indent-7{padding-left:calc(var(--ag-set-filter-indent-size)*7)}.ag-rtl .ag-set-filter-indent-7{padding-right:calc(var(--ag-set-filter-indent-size)*7)}.ag-ltr .ag-set-filter-indent-8{padding-left:calc(var(--ag-set-filter-indent-size)*8)}.ag-rtl .ag-set-filter-indent-8{padding-right:calc(var(--ag-set-filter-indent-size)*8)}.ag-ltr .ag-set-filter-indent-9{padding-left:calc(var(--ag-set-filter-indent-size)*9)}.ag-rtl .ag-set-filter-indent-9{padding-right:calc(var(--ag-set-filter-indent-size)*9)}.ag-ltr .ag-set-filter-group-icons{margin-right:var(--ag-widget-container-horizontal-padding)}.ag-rtl .ag-set-filter-group-icons{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-filter-apply-panel{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-filter-apply-panel-button{line-height:1.5}.ag-ltr .ag-filter-apply-panel-button{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-filter-apply-panel-button{margin-right:calc(var(--ag-grid-size)*2)}.ag-simple-filter-body-wrapper{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing));overflow-y:auto;min-height:calc(var(--ag-list-item-height) + var(--ag-widget-container-vertical-padding) + var(--ag-widget-vertical-spacing))}.ag-simple-filter-body-wrapper>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-simple-filter-body-wrapper .ag-resizer-wrapper{margin:0}.ag-menu:not(.ag-tabs) .ag-filter .ag-simple-filter-body-wrapper,.ag-menu:not(.ag-tabs) .ag-filter>:not(.ag-filter-wrapper){min-width:calc(var(--ag-menu-min-width) - 2px)}.ag-filter-no-matches{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-multi-filter-menu-item{margin:var(--ag-grid-size) 0}.ag-multi-filter-group-title-bar{padding:calc(var(--ag-grid-size)*2) var(--ag-grid-size);background-color:transparent}.ag-group-filter-field-select-wrapper{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing))}.ag-group-filter-field-select-wrapper>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-keyboard-focus .ag-multi-filter-group-title-bar:focus{outline:none}.ag-keyboard-focus .ag-multi-filter-group-title-bar:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-side-bar{position:relative}.ag-tool-panel-wrapper{width:var(--ag-side-bar-panel-width);background-color:var(--ag-control-panel-background-color)}.ag-side-buttons{padding-top:calc(var(--ag-grid-size)*4);width:calc(var(--ag-icon-size) + 4px);position:relative;overflow:hidden}button.ag-side-button-button{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;background:transparent;padding:calc(var(--ag-grid-size)*2) 0 calc(var(--ag-grid-size)*2) 0;width:100%;margin:0;min-height:calc(var(--ag-grid-size)*18);background-position-y:center;background-position-x:center;background-repeat:no-repeat;border:none;border-top:var(--ag-borders-side-button) var(--ag-border-color);border-bottom:var(--ag-borders-side-button) var(--ag-border-color)}button.ag-side-button-button:focus{box-shadow:none}.ag-keyboard-focus .ag-side-button-button:focus{outline:none}.ag-keyboard-focus .ag-side-button-button:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-selected button.ag-side-button-button{background-color:var(--ag-side-button-selected-background-color)}.ag-side-button-icon-wrapper{margin-bottom:3px}.ag-ltr .ag-side-bar-left,.ag-rtl .ag-side-bar-right{border-right:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-left .ag-tool-panel-wrapper,.ag-rtl .ag-side-bar-right .ag-tool-panel-wrapper{border-left:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-left .ag-side-button-button,.ag-rtl .ag-side-bar-right .ag-side-button-button{border-right:var(--ag-selected-tab-underline-width) solid transparent;transition:border-right var(--ag-selected-tab-underline-transition-speed)}.ag-ltr .ag-side-bar-left .ag-selected .ag-side-button-button,.ag-rtl .ag-side-bar-right .ag-selected .ag-side-button-button{border-right-color:var(--ag-selected-tab-underline-color)}.ag-ltr .ag-side-bar-right,.ag-rtl .ag-side-bar-left{border-left:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-right .ag-tool-panel-wrapper,.ag-rtl .ag-side-bar-left .ag-tool-panel-wrapper{border-right:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-right .ag-side-button-button,.ag-rtl .ag-side-bar-left .ag-side-button-button{border-left:var(--ag-selected-tab-underline-width) solid transparent;transition:border-left var(--ag-selected-tab-underline-transition-speed)}.ag-ltr .ag-side-bar-right .ag-selected .ag-side-button-button,.ag-rtl .ag-side-bar-left .ag-selected .ag-side-button-button{border-left-color:var(--ag-selected-tab-underline-color)}.ag-filter-toolpanel-header{height:calc(var(--ag-grid-size)*6)}.ag-ltr .ag-filter-toolpanel-header,.ag-ltr .ag-filter-toolpanel-search{padding-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-header,.ag-rtl .ag-filter-toolpanel-search{padding-right:var(--ag-grid-size)}.ag-keyboard-focus .ag-filter-toolpanel-header:focus{outline:none}.ag-keyboard-focus .ag-filter-toolpanel-header:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:var(--ag-icon-font-code-filter,"\\f115");position:absolute}.ag-ltr .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-right:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-0-header{height:calc(var(--ag-grid-size)*8)}.ag-filter-toolpanel-group-item{margin-top:calc(var(--ag-grid-size)*0.5);margin-bottom:calc(var(--ag-grid-size)*0.5)}.ag-filter-toolpanel-search{height:var(--ag-header-height)}.ag-filter-toolpanel-search-input{flex-grow:1;height:calc(var(--ag-grid-size)*4)}.ag-ltr .ag-filter-toolpanel-search-input{margin-right:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-search-input{margin-left:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-0{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-ltr .ag-filter-toolpanel-expand,.ag-ltr .ag-filter-toolpanel-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-expand,.ag-rtl .ag-filter-toolpanel-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-1-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*1 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*1 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-2-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*2 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*2 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-3-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*3 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*3 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-4-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*4 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*4 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-5-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*5 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*5 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-6-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*6 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*6 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-7-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*7 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*7 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-8-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*8 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*8 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-9-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*9 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*9 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-10-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-ltr .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*10 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*10 + var(--ag-grid-size))}.ag-filter-toolpanel-instance-header.ag-filter-toolpanel-group-level-1-header{padding-left:var(--ag-grid-size)}.ag-filter-toolpanel-instance-filter{border-bottom:var(--ag-borders) var(--ag-border-color);border-top:var(--ag-borders) var(--ag-border-color);margin-top:var(--ag-grid-size)}.ag-ltr .ag-filter-toolpanel-instance-header-icon{margin-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-instance-header-icon{margin-right:var(--ag-grid-size)}.ag-set-filter-group-icons{color:var(--ag-secondary-foreground-color)}.ag-pivot-mode-panel{min-height:var(--ag-header-height);height:var(--ag-header-height);display:flex}.ag-pivot-mode-select{display:flex;align-items:center}.ag-ltr .ag-pivot-mode-select{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-rtl .ag-pivot-mode-select{margin-right:var(--ag-widget-container-horizontal-padding)}.ag-keyboard-focus .ag-column-select-header:focus{outline:none}.ag-keyboard-focus .ag-column-select-header:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-select-header{height:var(--ag-header-height);align-items:center;padding:0 var(--ag-widget-container-horizontal-padding)}.ag-column-panel-column-select,.ag-column-select-header{border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-panel-column-select{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-group-icons,.ag-column-select-header-icon{color:var(--ag-secondary-foreground-color)}.ag-column-select-list .ag-list-item-hovered:after{content:"";position:absolute;left:0;right:0;height:1px;background-color:var(--ag-range-selection-border-color)}.ag-column-select-list .ag-item-highlight-top:after{top:0}.ag-column-select-list .ag-item-highlight-bottom:after{bottom:0}.ag-header{background-color:var(--ag-header-background-color);border-bottom:var(--ag-borders-critical) var(--ag-border-color)}.ag-header-row{color:var(--ag-header-foreground-color);height:var(--ag-header-height)}.ag-pinned-right-header{border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-pinned-left-header{border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-ltr .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon{margin-left:var(--ag-grid-size)}.ag-ltr .ag-header-cell.ag-right-aligned-header .ag-header-label-icon,.ag-rtl .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon{margin-right:var(--ag-grid-size)}.ag-rtl .ag-header-cell.ag-right-aligned-header .ag-header-label-icon{margin-left:var(--ag-grid-size)}.ag-header-cell,.ag-header-group-cell{padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding)}.ag-header-cell.ag-header-cell-moving,.ag-header-group-cell.ag-header-cell-moving{background-color:var(--ag-header-cell-moving-background-color)}.ag-ltr .ag-header-group-cell-label.ag-sticky-label{left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-header-group-cell-label.ag-sticky-label{right:var(--ag-cell-horizontal-padding)}.ag-keyboard-focus .ag-header-cell:focus{outline:none}.ag-keyboard-focus .ag-header-cell:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-keyboard-focus .ag-header-group-cell:focus{outline:none}.ag-keyboard-focus .ag-header-group-cell:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-header-icon{color:var(--ag-secondary-foreground-color)}.ag-header-expand-icon{cursor:pointer}.ag-ltr .ag-header-expand-icon{padding-left:4px}.ag-rtl .ag-header-expand-icon{padding-right:4px}.ag-header-row:not(:first-child) .ag-header-cell:not(.ag-header-span-height.ag-header-span-total),.ag-header-row:not(:first-child) .ag-header-group-cell.ag-header-group-cell-with-group{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-header-cell:not(.ag-column-hover):first-of-type.ag-column-resizing,.ag-header-cell:not(.ag-column-hover):first-of-type:not(.ag-header-cell-moving):hover,.ag-header-cell:not(.ag-column-resizing)+.ag-header-cell:not(.ag-column-hover).ag-column-resizing,.ag-header-cell:not(.ag-column-resizing)+.ag-header-cell:not(.ag-column-hover):not(.ag-header-cell-moving):hover,.ag-header-group-cell:first-of-type.ag-column-resizing,.ag-header-group-cell:first-of-type:not(.ag-header-cell-moving):hover,.ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell:not(.ag-column-hover).ag-column-resizing,.ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell:not(.ag-column-hover):not(.ag-header-cell-moving):hover{background-color:var(--ag-header-cell-hover-background-color)}.ag-header-cell:after,.ag-header-group-cell:after{content:"";position:absolute;z-index:1;display:var(--ag-header-column-separator-display);width:var(--ag-header-column-separator-width);height:var(--ag-header-column-separator-height);top:calc(50% - var(--ag-header-column-separator-height)*0.5);background-color:var(--ag-header-column-separator-color)}.ag-ltr .ag-header-cell:after,.ag-ltr .ag-header-group-cell:after{right:0}.ag-rtl .ag-header-cell:after,.ag-rtl .ag-header-group-cell:after{left:0}.ag-header-cell-resize{display:flex;align-items:center}.ag-header-cell-resize:after{content:"";position:absolute;z-index:1;display:var(--ag-header-column-resize-handle-display);width:var(--ag-header-column-resize-handle-width);height:var(--ag-header-column-resize-handle-height);top:calc(50% - var(--ag-header-column-resize-handle-height)*0.5);background-color:var(--ag-header-column-resize-handle-color)}.ag-header-cell.ag-header-span-height .ag-header-cell-resize:after,.ag-header-cell.ag-header-span-height:after{height:calc(100% - var(--ag-grid-size)*4);top:calc(var(--ag-grid-size)*2)}.ag-ltr .ag-header-viewport .ag-header-cell-resize:after{left:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-rtl .ag-header-viewport .ag-header-cell-resize:after{right:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-pinned-left-header .ag-header-cell-resize:after{left:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-pinned-right-header .ag-header-cell-resize:after{left:50%}.ag-ltr .ag-header-select-all{margin-right:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-header-select-all{margin-left:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-floating-filter-button{margin-left:calc(var(--ag-grid-size)*3)}.ag-rtl .ag-floating-filter-button{margin-right:calc(var(--ag-grid-size)*3)}.ag-floating-filter-button-button{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;appearance:none;background:transparent;border:none;height:var(--ag-icon-size);padding:0;width:var(--ag-icon-size)}.ag-filter-loading{background-color:var(--ag-control-panel-background-color);height:100%;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);position:absolute;width:100%;z-index:1}.ag-paging-panel{border-top:1px solid;border-top-color:var(--ag-border-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height)}.ag-paging-panel>*{margin:0 var(--ag-cell-horizontal-padding)}.ag-paging-button{cursor:pointer}.ag-paging-button.ag-disabled{cursor:default;color:var(--ag-disabled-foreground-color)}.ag-keyboard-focus .ag-paging-button:focus{outline:none}.ag-keyboard-focus .ag-paging-button:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:0;left:0;display:block;width:100%;height:100%;border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-paging-button,.ag-paging-description{margin:0 var(--ag-grid-size)}.ag-status-bar{border-top:var(--ag-borders) var(--ag-border-color);color:var(--ag-disabled-foreground-color);padding-right:calc(var(--ag-grid-size)*4);padding-left:calc(var(--ag-grid-size)*4);line-height:1.5}.ag-status-name-value-value{color:var(--ag-foreground-color)}.ag-status-bar-center{text-align:center}.ag-status-name-value{margin-left:var(--ag-grid-size);margin-right:var(--ag-grid-size);padding-top:calc(var(--ag-grid-size)*2);padding-bottom:calc(var(--ag-grid-size)*2)}.ag-column-drop-cell{background:var(--ag-chip-background-color);border-radius:calc(var(--ag-grid-size)*4);height:calc(var(--ag-grid-size)*4);padding:0 calc(var(--ag-grid-size)*0.5);border:1px solid transparent}.ag-keyboard-focus .ag-column-drop-cell:focus{outline:none}.ag-keyboard-focus .ag-column-drop-cell:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:2px;left:2px;display:block;width:calc(100% - 4px);height:calc(100% - 4px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-column-drop-cell-text{margin:0 var(--ag-grid-size)}.ag-column-drop-cell-button{min-width:calc(var(--ag-grid-size)*4);margin:0 calc(var(--ag-grid-size)*0.5);color:var(--ag-secondary-foreground-color)}.ag-column-drop-cell-drag-handle{margin-left:calc(var(--ag-grid-size)*2)}.ag-column-drop-cell-ghost{opacity:.5}.ag-column-drop-horizontal{background-color:var(--ag-control-panel-background-color);color:var(--ag-secondary-foreground-color);height:var(--ag-row-height);border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-column-drop-horizontal{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-column-drop-horizontal{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-column-drop-horizontal-half-width:not(:last-child){border-right:var(--ag-borders) var(--ag-border-color)}.ag-rtl .ag-column-drop-horizontal-half-width:not(:last-child){border-left:var(--ag-borders) var(--ag-border-color)}.ag-column-drop-horizontal-cell-separator{margin:0 var(--ag-grid-size);color:var(--ag-secondary-foreground-color)}.ag-column-drop-horizontal-empty-message{color:var(--ag-disabled-foreground-color)}.ag-ltr .ag-column-drop-horizontal-icon{margin-right:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-column-drop-horizontal-icon{margin-left:var(--ag-cell-horizontal-padding)}.ag-column-drop-vertical-list{padding-bottom:var(--ag-grid-size);padding-right:var(--ag-grid-size);padding-left:var(--ag-grid-size)}.ag-column-drop-vertical-cell{margin-top:var(--ag-grid-size)}.ag-column-drop-vertical{min-height:50px;border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-drop-vertical.ag-last-column-drop{border-bottom:none}.ag-column-drop-vertical-icon{margin-left:var(--ag-grid-size);margin-right:var(--ag-grid-size)}.ag-column-drop-vertical-empty-message{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden;color:var(--ag-disabled-foreground-color);margin-top:var(--ag-grid-size)}.ag-select-agg-func-popup{border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);background:var(--ag-background-color);height:calc(var(--ag-grid-size)*5*3.5);padding:0}.ag-select-agg-func-virtual-list-item{cursor:default}.ag-ltr .ag-select-agg-func-virtual-list-item{padding-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-select-agg-func-virtual-list-item{padding-right:calc(var(--ag-grid-size)*2)}.ag-select-agg-func-virtual-list-item:hover{background-color:var(--ag-selected-row-background-color)}.ag-keyboard-focus .ag-select-agg-func-virtual-list-item:focus{outline:none}.ag-keyboard-focus .ag-select-agg-func-virtual-list-item:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:1px;left:1px;display:block;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid;border-color:var(--ag-input-focus-border-color)}.ag-sort-indicator-container{display:flex}.ag-ltr .ag-sort-indicator-icon{padding-left:var(--ag-grid-size)}.ag-rtl .ag-sort-indicator-icon{padding-right:var(--ag-grid-size)}.ag-chart{width:100%;height:100%}.ag-chart,.ag-chart-components-wrapper{position:relative;display:flex;overflow:hidden}.ag-chart-components-wrapper{flex:1 1 auto}.ag-chart-title-edit{position:absolute;display:none;top:0;left:0;text-align:center}.ag-chart-title-edit.currently-editing{display:inline-block}.ag-chart-canvas-wrapper{position:relative;flex:1 1 auto;overflow:hidden}.ag-charts-canvas{display:block}.ag-chart-menu{position:absolute;top:10px;width:24px;overflow:hidden;display:flex;flex-direction:column}.ag-ltr .ag-chart-menu{right:20px}.ag-rtl .ag-chart-menu{left:20px}.ag-chart-docked-container{position:relative;width:0;min-width:0;transition:min-width .4s}.ag-chart-menu-hidden~.ag-chart-docked-container{max-width:0;overflow:hidden}.ag-chart-tabbed-menu{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.ag-chart-tabbed-menu-header{flex:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.ag-chart-tabbed-menu-body{display:flex;flex:1 1 auto;align-items:stretch;overflow:hidden}.ag-chart-tab{width:100%;overflow:hidden;overflow-y:auto}.ag-chart-settings{overflow-x:hidden}.ag-chart-settings-wrapper{position:relative;flex-direction:column;width:100%;height:100%;display:flex;overflow:hidden}.ag-chart-settings-nav-bar{display:flex;align-items:center;width:100%;height:30px;padding:0 10px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-chart-settings-card-selector{display:flex;align-items:center;justify-content:space-around;flex:1 1 auto;height:100%;padding:0 10px}.ag-chart-settings-card-item{cursor:pointer;width:10px;height:10px;background-color:#000;position:relative}.ag-chart-settings-card-item.ag-not-selected{opacity:.2}.ag-chart-settings-card-item:before{content:" ";display:block;position:absolute;background-color:transparent;left:50%;top:50%;margin-left:-10px;margin-top:-10px;width:20px;height:20px}.ag-chart-settings-next,.ag-chart-settings-prev{position:relative;flex:none}.ag-chart-settings-next-button,.ag-chart-settings-prev-button{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;opacity:0}.ag-chart-settings-mini-charts-container{position:relative;flex:1 1 auto;overflow-x:hidden;overflow-y:auto}.ag-chart-settings-mini-wrapper{position:absolute;top:0;left:0;display:flex;flex-direction:column;width:100%;min-height:100%;overflow:hidden}.ag-chart-settings-mini-wrapper.ag-animating{transition:left .3s;transition-timing-function:ease-in-out}.ag-chart-mini-thumbnail{cursor:pointer}.ag-chart-mini-thumbnail-canvas{display:block}.ag-chart-data-wrapper,.ag-chart-format-wrapper{display:flex;flex-direction:column;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-chart-data-wrapper{height:100%;overflow-y:auto}.ag-chart-empty-text{display:flex;top:0;width:100%;height:100%;align-items:center;justify-content:center}.ag-chart .ag-chart-menu{display:none}.ag-chart-menu-hidden:hover .ag-chart-menu{display:block}.ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{display:flex;flex-direction:row;overflow:auto;top:5px;gap:calc(var(--ag-grid-size)*3 - 8px);width:auto}.ag-ltr .ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{right:calc(var(--ag-cell-horizontal-padding) + var(--ag-grid-size) - 4px);justify-content:right}.ag-rtl .ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{left:calc(var(--ag-cell-horizontal-padding) + var(--ag-grid-size) - 4px);justify-content:left}.ag-chart-menu-close{display:none}.ag-chart-tool-panel-button-enable .ag-chart-menu-close{position:absolute;top:50%;transition:transform .33s ease-in-out;padding:0;display:block;cursor:pointer;border:none}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close{right:0}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close{left:0}.ag-chart-tool-panel-button-enable .ag-chart-menu-close .ag-icon{padding:14px 5px 14px 2px}.ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{content:"";position:absolute;top:-40px;bottom:-40px}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{right:0}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{left:0}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{left:-10px}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{right:-10px}.ag-chart-tool-panel-button-enable .ag-icon-menu{display:none}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close{transform:translate(3px,-50%)}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translateY(-50%)}.ag-ltr .ag-chart-menu-visible .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translate(5px,-50%)}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close{transform:translate(-3px,-50%)}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translateY(-50%)}.ag-rtl .ag-chart-menu-visible .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translate(-5px,-50%)}.ag-charts-font-size-color{display:flex;align-self:stretch;justify-content:space-between}.ag-charts-data-group-item{position:relative}.ag-chart-menu{background:var(--ag-background-color)}.ag-chart-menu,.ag-chart-menu-icon{border-radius:var(--ag-card-radius)}.ag-chart-menu-icon{opacity:.5;line-height:24px;font-size:24px;width:24px;height:24px;margin:2px 0;cursor:pointer;color:var(--ag-secondary-foreground-color)}.ag-chart-menu-icon:hover{opacity:1}.ag-chart-mini-thumbnail{border:1px solid var(--ag-secondary-border-color);border-radius:5px;margin:5px}.ag-chart-mini-thumbnail:nth-last-child(3),.ag-chart-mini-thumbnail:nth-last-child(3)~.ag-chart-mini-thumbnail{margin-left:auto;margin-right:auto}.ag-ltr .ag-chart-mini-thumbnail:first-child{margin-left:0}.ag-ltr .ag-chart-mini-thumbnail:last-child,.ag-rtl .ag-chart-mini-thumbnail:first-child{margin-right:0}.ag-rtl .ag-chart-mini-thumbnail:last-child{margin-left:0}.ag-chart-mini-thumbnail.ag-selected{border-color:var(--ag-minichart-selected-chart-color)}.ag-chart-settings-card-item{background:var(--ag-foreground-color);width:8px;height:8px;border-radius:4px}.ag-chart-settings-card-item.ag-selected{background-color:var(--ag-minichart-selected-page-color)}.ag-chart-data-column-drag-handle{margin-left:var(--ag-grid-size)}.ag-charts-data-group-title-bar,.ag-charts-format-top-level-group-title-bar,.ag-charts-settings-group-title-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-charts-settings-group-container{padding:var(--ag-grid-size)}.ag-charts-data-group-container{padding:calc(var(--ag-widget-container-vertical-padding)*0.5) var(--ag-widget-container-horizontal-padding)}.ag-charts-data-group-container .ag-charts-data-group-item:not(.ag-charts-format-sub-level-group){height:var(--ag-list-item-height)}.ag-charts-data-group-container .ag-list-item-hovered:after{content:"";position:absolute;left:0;right:0;height:1px;background-color:var(--ag-range-selection-border-color)}.ag-charts-data-group-container .ag-item-highlight-top:after{top:0}.ag-charts-data-group-container .ag-item-highlight-bottom:after{bottom:0}.ag-charts-format-top-level-group-container{margin-left:calc(var(--ag-grid-size)*2);padding:var(--ag-grid-size)}.ag-charts-format-top-level-group-item{margin:var(--ag-grid-size) 0}.ag-charts-format-sub-level-group-container{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing))}.ag-charts-format-sub-level-group-container>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-charts-group-container.ag-group-container-horizontal{padding:var(--ag-grid-size)}.ag-chart-data-section,.ag-chart-format-section{display:flex;margin:0}.ag-chart-menu-panel{background-color:var(--ag-control-panel-background-color)}.ag-ltr .ag-chart-menu-panel{border-left:1px solid var(--ag-border-color)}.ag-rtl .ag-chart-menu-panel{border-right:1px solid var(--ag-border-color)}.ag-date-time-list-page-title-bar{display:flex}.ag-date-time-list-page-title{flex-grow:1;text-align:center}.ag-date-time-list-page-column-labels-row,.ag-date-time-list-page-entries-row{display:flex}.ag-date-time-list-page-column-label,.ag-date-time-list-page-entry{flex-basis:0;flex-grow:1}.ag-date-time-list-page-entry{cursor:pointer;text-align:center}.ag-date-time-list-page-column-label{text-align:center}.ag-input-field-input{width:100%;min-width:0}.ag-checkbox-input-wrapper{font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:var(--ag-icon-size);height:var(--ag-icon-size);background-color:var(--ag-checkbox-background-color);border-radius:var(--ag-checkbox-border-radius);display:inline-block;vertical-align:middle;flex:none}.ag-checkbox-input-wrapper input{-webkit-appearance:none;opacity:0;width:100%;height:100%}.ag-checkbox-input-wrapper:active,.ag-checkbox-input-wrapper:focus-within{outline:none;box-shadow:var(--ag-input-focus-box-shadow)}.ag-checkbox-input-wrapper.ag-disabled{opacity:.5}.ag-checkbox-input-wrapper:after{content:var(--ag-icon-font-code-checkbox-unchecked,"\\f108");color:var(--ag-checkbox-unchecked-color);position:absolute;top:0;left:0;pointer-events:none}.ag-checkbox-input-wrapper.ag-checked:after{content:var(--ag-icon-font-code-checkbox-checked,"\\f106");color:var(--ag-checkbox-checked-color);position:absolute;top:0;left:0;pointer-events:none}.ag-checkbox-input-wrapper.ag-indeterminate:after{content:var(--ag-icon-font-code-checkbox-indeterminate,"\\f107");color:var(--ag-checkbox-indeterminate-color);position:absolute;top:0;left:0;pointer-events:none}.ag-toggle-button-input-wrapper{box-sizing:border-box;width:var(--ag-toggle-button-width);height:var(--ag-toggle-button-height);background-color:var(--ag-toggle-button-off-background-color);border-radius:calc(var(--ag-toggle-button-height)*0.5);position:relative;flex:none;border:var(--ag-toggle-button-border-width) solid;border-color:var(--ag-toggle-button-off-border-color)}.ag-toggle-button-input-wrapper input{opacity:0;height:100%;width:100%}.ag-toggle-button-input-wrapper:focus-within{outline:none;box-shadow:var(--ag-input-focus-box-shadow)}.ag-toggle-button-input-wrapper.ag-disabled{opacity:.5}.ag-toggle-button-input-wrapper.ag-checked{background-color:var(--ag-toggle-button-on-background-color);border-color:var(--ag-toggle-button-on-border-color)}.ag-toggle-button-input-wrapper:before{content:" ";position:absolute;top:calc(0px - var(--ag-toggle-button-border-width));left:calc(0px - var(--ag-toggle-button-border-width));display:block;box-sizing:border-box;height:var(--ag-toggle-button-height);width:var(--ag-toggle-button-height);background-color:var(--ag-toggle-button-switch-background-color);border-radius:100%;transition:left .1s;border:var(--ag-toggle-button-border-width) solid;border-color:var(--ag-toggle-button-switch-border-color)}.ag-toggle-button-input-wrapper.ag-checked:before{left:calc(100% - var(--ag-toggle-button-height));border-color:var(--ag-toggle-button-on-border-color)}.ag-radio-button-input-wrapper{font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);line-height:var(--ag-icon-size);font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:var(--ag-icon-size);height:var(--ag-icon-size);background-color:var(--ag-checkbox-background-color);border-radius:var(--ag-checkbox-border-radius);display:inline-block;vertical-align:middle;flex:none;border-radius:var(--ag-icon-size)}.ag-radio-button-input-wrapper input{-webkit-appearance:none;opacity:0;width:100%;height:100%}.ag-radio-button-input-wrapper:active,.ag-radio-button-input-wrapper:focus-within{outline:none;box-shadow:var(--ag-input-focus-box-shadow)}.ag-radio-button-input-wrapper.ag-disabled{opacity:.5}.ag-radio-button-input-wrapper:after{content:var(--ag-icon-font-code-radio-button-off,"\\f127");color:var(--ag-checkbox-unchecked-color);position:absolute;top:0;left:0;pointer-events:none}.ag-radio-button-input-wrapper.ag-checked:after{content:var(--ag-icon-font-code-radio-button-on,"\\f128");color:var(--ag-checkbox-checked-color);position:absolute;top:0;left:0;pointer-events:none}input[class^=ag-][type=range]{-webkit-appearance:none;width:100%;height:100%;background:none;overflow:visible}input[class^=ag-][type=range]::-webkit-slider-runnable-track{margin:0;padding:0;width:100%;height:3px;background-color:var(--ag-border-color);border-radius:var(--ag-border-radius);border-radius:var(--ag-checkbox-border-radius)}input[class^=ag-][type=range]::-moz-range-track{margin:0;padding:0;width:100%;height:3px;background-color:var(--ag-border-color);border-radius:var(--ag-border-radius);border-radius:var(--ag-checkbox-border-radius)}input[class^=ag-][type=range]::-ms-track{margin:0;padding:0;width:100%;height:3px;background-color:var(--ag-border-color);border-radius:var(--ag-border-radius);border-radius:var(--ag-checkbox-border-radius);color:transparent;width:calc(100% - 2px)}input[class^=ag-][type=range]::-webkit-slider-thumb{margin:0;padding:0;-webkit-appearance:none;width:var(--ag-icon-size);height:var(--ag-icon-size);background-color:var(--ag-background-color);border:1px solid;border-color:var(--ag-checkbox-unchecked-color);border-radius:var(--ag-icon-size);transform:translateY(calc(var(--ag-icon-size)*-0.5 + 1.5px))}input[class^=ag-][type=range]::-ms-thumb{margin:0;padding:0;-webkit-appearance:none;width:var(--ag-icon-size);height:var(--ag-icon-size);background-color:var(--ag-background-color);border:1px solid;border-color:var(--ag-checkbox-unchecked-color);border-radius:var(--ag-icon-size)}input[class^=ag-][type=range]::-moz-ag-range-thumb{margin:0;padding:0;-webkit-appearance:none;width:var(--ag-icon-size);height:var(--ag-icon-size);background-color:var(--ag-background-color);border:1px solid;border-color:var(--ag-checkbox-unchecked-color);border-radius:var(--ag-icon-size)}input[class^=ag-][type=range]:focus{outline:none}input[class^=ag-][type=range]:focus::-webkit-slider-thumb{box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-checkbox-checked-color)}input[class^=ag-][type=range]:focus::-ms-thumb{box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-checkbox-checked-color)}input[class^=ag-][type=range]:focus::-moz-ag-range-thumb{box-shadow:var(--ag-input-focus-box-shadow);border-color:var(--ag-checkbox-checked-color)}input[class^=ag-][type=range]:active::-webkit-slider-runnable-track{background-color:var(--ag-input-focus-border-color)}input[class^=ag-][type=range]:active::-moz-ag-range-track{background-color:var(--ag-input-focus-border-color)}input[class^=ag-][type=range]:active::-ms-track{background-color:var(--ag-input-focus-border-color)}input[class^=ag-][type=range]:disabled{opacity:.5}',""]),e.exports=t},function(e,t,r){var i=r(1),o=r(13);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};i(o,a);e.exports=o.locals||{}},function(e,t,r){(t=r(2)(!1)).push([e.i,'.ag-theme-alpine,.ag-theme-alpine-dark{--ag-alpine-active-color:#2196f3;--ag-selected-row-background-color:rgba(33,150,243,0.3);--ag-row-hover-color:rgba(33,150,243,0.1);--ag-column-hover-color:rgba(33,150,243,0.1);--ag-input-focus-border-color:rgba(33,150,243,0.4);--ag-range-selection-background-color:rgba(33,150,243,0.2);--ag-range-selection-background-color-2:rgba(33,150,243,0.36);--ag-range-selection-background-color-3:rgba(33,150,243,0.49);--ag-range-selection-background-color-4:rgba(33,150,243,0.59);--ag-background-color:#fff;--ag-foreground-color:#181d1f;--ag-border-color:#babfc7;--ag-secondary-border-color:#dde2eb;--ag-header-background-color:#f8f8f8;--ag-tooltip-background-color:#f8f8f8;--ag-odd-row-background-color:#fcfcfc;--ag-control-panel-background-color:#f8f8f8;--ag-subheader-background-color:#fff;--ag-invalid-color:#e02525;--ag-checkbox-unchecked-color:#999;--ag-checkbox-background-color:var(--ag-background-color);--ag-checkbox-checked-color:var(--ag-alpine-active-color);--ag-range-selection-border-color:var(--ag-alpine-active-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-input-border-color:var(--ag-border-color);--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-input-focus-box-shadow:0 0 2px 0.1rem var(--ag-input-focus-border-color);--ag-disabled-foreground-color:rgba(24,29,31,0.5);--ag-chip-background-color:rgba(24,29,31,0.07);--ag-input-disabled-border-color:rgba(186,191,199,0.3);--ag-input-disabled-background-color:rgba(186,191,199,0.15);--ag-borders:solid 1px;--ag-border-radius:3px;--ag-borders-side-button:none;--ag-side-button-selected-background-color:transparent;--ag-header-column-resize-handle-display:block;--ag-header-column-resize-handle-width:2px;--ag-header-column-resize-handle-height:30%;--ag-grid-size:6px;--ag-icon-size:16px;--ag-row-height:calc(var(--ag-grid-size)*7);--ag-header-height:calc(var(--ag-grid-size)*8);--ag-list-item-height:calc(var(--ag-grid-size)*4);--ag-column-select-indent-size:var(--ag-icon-size);--ag-set-filter-indent-size:var(--ag-icon-size);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-cell-widget-spacing:calc(var(--ag-grid-size)*2);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*2);--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:calc(var(--ag-grid-size)*1.5);--ag-toggle-button-height:18px;--ag-toggle-button-width:28px;--ag-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:13px;--ag-icon-font-family:agGridAlpine;--ag-selected-tab-underline-color:var(--ag-alpine-active-color);--ag-selected-tab-underline-width:2px;--ag-selected-tab-underline-transition-speed:0.3s;--ag-tab-min-width:240px;--ag-card-shadow:0 1px 4px 1px rgba(186,191,199,0.4);--ag-popup-shadow:var(--ag-card-shadow);--ag-side-bar-panel-width:250px}.ag-theme-alpine-dark{--ag-background-color:#181d1f;--ag-foreground-color:#fff;--ag-border-color:#68686e;--ag-secondary-border-color:rgba(88,86,82,0.5);--ag-modal-overlay-background-color:rgba(24,29,31,0.66);--ag-header-background-color:#222628;--ag-tooltip-background-color:#222628;--ag-odd-row-background-color:#222628;--ag-control-panel-background-color:#222628;--ag-subheader-background-color:#000;--ag-input-disabled-background-color:#282c2f;--ag-input-focus-box-shadow:0 0 2px 0.5px hsla(0,0%,100%,0.5),0 0 4px 3px var(--ag-input-focus-border-color);--ag-card-shadow:0 1px 20px 1px #000;--ag-disabled-foreground-color:hsla(0,0%,100%,0.5);--ag-chip-background-color:hsla(0,0%,100%,0.07);--ag-input-disabled-border-color:rgba(104,104,110,0.3);--ag-input-disabled-background-color:rgba(104,104,110,0.07)}.ag-theme-alpine-dark .ag-filter-toolpanel-header,.ag-theme-alpine-dark .ag-filter-toolpanel-search,.ag-theme-alpine-dark .ag-header-row,.ag-theme-alpine-dark .ag-multi-filter-group-title-bar,.ag-theme-alpine-dark .ag-panel-title-bar-title,.ag-theme-alpine-dark .ag-status-bar,.ag-theme-alpine .ag-filter-toolpanel-header,.ag-theme-alpine .ag-filter-toolpanel-search,.ag-theme-alpine .ag-header-row,.ag-theme-alpine .ag-multi-filter-group-title-bar,.ag-theme-alpine .ag-panel-title-bar-title,.ag-theme-alpine .ag-status-bar{font-weight:700;color:var(--ag-header-foreground-color)}.ag-theme-alpine-dark .ag-row,.ag-theme-alpine .ag-row{font-size:calc(var(--ag-font-size) + 1px)}.ag-theme-alpine-dark input[class^=ag-]:not([type]),.ag-theme-alpine-dark input[class^=ag-][type=date],.ag-theme-alpine-dark input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark input[class^=ag-][type=number],.ag-theme-alpine-dark input[class^=ag-][type=tel],.ag-theme-alpine-dark input[class^=ag-][type=text],.ag-theme-alpine-dark textarea[class^=ag-],.ag-theme-alpine input[class^=ag-]:not([type]),.ag-theme-alpine input[class^=ag-][type=date],.ag-theme-alpine input[class^=ag-][type=datetime-local],.ag-theme-alpine input[class^=ag-][type=number],.ag-theme-alpine input[class^=ag-][type=tel],.ag-theme-alpine input[class^=ag-][type=text],.ag-theme-alpine textarea[class^=ag-]{min-height:calc(var(--ag-grid-size)*4);border-radius:var(--ag-border-radius)}.ag-theme-alpine-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine-dark .ag-ltr textarea[class^=ag-],.ag-theme-alpine .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine .ag-ltr textarea[class^=ag-]{padding-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine-dark .ag-rtl textarea[class^=ag-],.ag-theme-alpine .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine .ag-rtl textarea[class^=ag-]{padding-right:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-tab,.ag-theme-alpine .ag-tab{padding:calc(var(--ag-grid-size)*1.5);transition:color .4s;flex:1 1 auto}.ag-theme-alpine-dark .ag-tab-selected,.ag-theme-alpine .ag-tab-selected{color:var(--ag-alpine-active-color)}.ag-theme-alpine-dark .ag-menu,.ag-theme-alpine .ag-menu{background-color:var(--ag-control-panel-background-color)}.ag-theme-alpine-dark .ag-menu-header,.ag-theme-alpine .ag-menu-header{background-color:var(--ag-control-panel-background-color);padding-top:1px}.ag-theme-alpine-dark .ag-tabs-header,.ag-theme-alpine .ag-tabs-header{border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-theme-alpine-dark .ag-charts-data-group-title-bar,.ag-theme-alpine-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine-dark .ag-charts-settings-group-title-bar,.ag-theme-alpine .ag-charts-data-group-title-bar,.ag-theme-alpine .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine .ag-charts-settings-group-title-bar{padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);line-height:calc(var(--ag-icon-size) + var(--ag-grid-size) - 2px)}.ag-theme-alpine-dark .ag-chart-mini-thumbnail,.ag-theme-alpine .ag-chart-mini-thumbnail{background-color:var(--ag-background-color)}.ag-theme-alpine-dark .ag-chart-settings-nav-bar,.ag-theme-alpine .ag-chart-settings-nav-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-theme-alpine-dark .ag-ltr .ag-group-title-bar-icon,.ag-theme-alpine .ag-ltr .ag-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-rtl .ag-group-title-bar-icon,.ag-theme-alpine .ag-rtl .ag-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-charts-format-top-level-group-toolbar{margin-top:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-ltr .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-ltr .ag-charts-format-top-level-group-toolbar{padding-left:calc(var(--ag-icon-size)*0.5 + var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-rtl .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-rtl .ag-charts-format-top-level-group-toolbar{padding-right:calc(var(--ag-icon-size)*0.5 + var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-charts-format-sub-level-group,.ag-theme-alpine .ag-charts-format-sub-level-group{border-left:1px dashed;border-left-color:var(--ag-border-color);padding-left:var(--ag-grid-size);margin-bottom:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-charts-format-sub-level-group-title-bar,.ag-theme-alpine .ag-charts-format-sub-level-group-title-bar{padding-top:0;padding-bottom:0;background:none;font-weight:700}.ag-theme-alpine-dark .ag-charts-format-sub-level-group-container,.ag-theme-alpine .ag-charts-format-sub-level-group-container{padding-bottom:0}.ag-theme-alpine-dark .ag-charts-format-sub-level-group-item:last-child,.ag-theme-alpine .ag-charts-format-sub-level-group-item:last-child{margin-bottom:0}.ag-theme-alpine-dark.ag-dnd-ghost,.ag-theme-alpine.ag-dnd-ghost{font-size:calc(var(--ag-font-size) - 1px);font-weight:700}.ag-theme-alpine-dark .ag-side-buttons,.ag-theme-alpine .ag-side-buttons{width:calc(var(--ag-grid-size)*5)}.ag-theme-alpine-dark .ag-standard-button,.ag-theme-alpine .ag-standard-button{appearance:none;-webkit-appearance:none;border-radius:var(--ag-border-radius);border:1px solid;border-color:var(--ag-alpine-active-color);color:var(--ag-alpine-active-color);background-color:var(--ag-background-color);font-weight:600;padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-standard-button:hover,.ag-theme-alpine .ag-standard-button:hover{border-color:var(--ag-alpine-active-color);background-color:var(--ag-row-hover-color)}.ag-theme-alpine-dark .ag-standard-button:active,.ag-theme-alpine .ag-standard-button:active{border-color:var(--ag-alpine-active-color);background-color:var(--ag-alpine-active-color);color:var(--ag-background-color)}.ag-theme-alpine-dark .ag-standard-button:disabled,.ag-theme-alpine .ag-standard-button:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-theme-alpine-dark .ag-column-drop-vertical,.ag-theme-alpine .ag-column-drop-vertical{min-height:75px}.ag-theme-alpine-dark .ag-column-drop-vertical-title-bar,.ag-theme-alpine .ag-column-drop-vertical-title-bar{padding:calc(var(--ag-grid-size)*2);padding-bottom:0}.ag-theme-alpine-dark .ag-column-drop-vertical-empty-message,.ag-theme-alpine .ag-column-drop-vertical-empty-message{display:flex;align-items:center;border:1px dashed;border-color:var(--ag-border-color);margin:calc(var(--ag-grid-size)*2);padding:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-column-drop-empty-message,.ag-theme-alpine .ag-column-drop-empty-message{color:var(--ag-foreground-color);opacity:.75}.ag-theme-alpine-dark .ag-status-bar,.ag-theme-alpine .ag-status-bar{font-weight:400}.ag-theme-alpine-dark .ag-paging-number,.ag-theme-alpine-dark .ag-paging-row-summary-panel-number,.ag-theme-alpine-dark .ag-status-name-value-value,.ag-theme-alpine .ag-paging-number,.ag-theme-alpine .ag-paging-row-summary-panel-number,.ag-theme-alpine .ag-status-name-value-value{font-weight:700}.ag-theme-alpine-dark .ag-column-drop-cell-button,.ag-theme-alpine .ag-column-drop-cell-button{opacity:.5}.ag-theme-alpine-dark .ag-column-drop-cell-button:hover,.ag-theme-alpine .ag-column-drop-cell-button:hover{opacity:.75}.ag-theme-alpine-dark .ag-chart-menu-close:hover,.ag-theme-alpine-dark .ag-chart-menu-icon:hover,.ag-theme-alpine-dark .ag-chart-settings-next:hover,.ag-theme-alpine-dark .ag-chart-settings-prev:hover,.ag-theme-alpine-dark .ag-column-group-icons:hover,.ag-theme-alpine-dark .ag-column-select-header-icon:hover,.ag-theme-alpine-dark .ag-filter-toolpanel-expand:hover,.ag-theme-alpine-dark .ag-floating-filter-button-button:hover,.ag-theme-alpine-dark .ag-group-contracted .ag-icon:hover,.ag-theme-alpine-dark .ag-group-expanded .ag-icon:hover,.ag-theme-alpine-dark .ag-group-title-bar-icon:hover,.ag-theme-alpine-dark .ag-header-cell-menu-button:hover,.ag-theme-alpine-dark .ag-header-expand-icon:hover,.ag-theme-alpine-dark .ag-panel-title-bar-button:hover,.ag-theme-alpine-dark .ag-set-filter-group-icons:hover,.ag-theme-alpine-dark .ag-side-button-button:hover,.ag-theme-alpine-dark .ag-tab:hover,.ag-theme-alpine .ag-chart-menu-close:hover,.ag-theme-alpine .ag-chart-menu-icon:hover,.ag-theme-alpine .ag-chart-settings-next:hover,.ag-theme-alpine .ag-chart-settings-prev:hover,.ag-theme-alpine .ag-column-group-icons:hover,.ag-theme-alpine .ag-column-select-header-icon:hover,.ag-theme-alpine .ag-filter-toolpanel-expand:hover,.ag-theme-alpine .ag-floating-filter-button-button:hover,.ag-theme-alpine .ag-group-contracted .ag-icon:hover,.ag-theme-alpine .ag-group-expanded .ag-icon:hover,.ag-theme-alpine .ag-group-title-bar-icon:hover,.ag-theme-alpine .ag-header-cell-menu-button:hover,.ag-theme-alpine .ag-header-expand-icon:hover,.ag-theme-alpine .ag-panel-title-bar-button:hover,.ag-theme-alpine .ag-set-filter-group-icons:hover,.ag-theme-alpine .ag-side-button-button:hover,.ag-theme-alpine .ag-tab:hover{color:var(--ag-alpine-active-color)}.ag-theme-alpine-dark .ag-chart-menu-close,.ag-theme-alpine .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-alpine-dark .ag-chart-menu-close:hover .ag-icon,.ag-theme-alpine .ag-chart-menu-close:hover .ag-icon{border-color:var(--ag-alpine-active-color)}.ag-theme-alpine-dark .ag-chart-menu-close .ag-icon,.ag-theme-alpine .ag-chart-menu-close .ag-icon{background:var(--ag-header-background-color);border:1px solid var(--ag-border-color);border-right:none}.ag-theme-alpine-dark .ag-chart-settings-card-item.ag-not-selected:hover,.ag-theme-alpine .ag-chart-settings-card-item.ag-not-selected:hover{opacity:.35}.ag-theme-alpine-dark .ag-ltr .ag-panel-title-bar-button,.ag-theme-alpine .ag-ltr .ag-panel-title-bar-button{margin-left:calc(var(--ag-grid-size)*2);margin-right:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-rtl .ag-panel-title-bar-button,.ag-theme-alpine .ag-rtl .ag-panel-title-bar-button{margin-right:calc(var(--ag-grid-size)*2);margin-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-ltr .ag-filter-toolpanel-group-container,.ag-theme-alpine .ag-ltr .ag-filter-toolpanel-group-container{padding-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-rtl .ag-filter-toolpanel-group-container,.ag-theme-alpine .ag-rtl .ag-filter-toolpanel-group-container{padding-right:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-filter-toolpanel-instance-filter{border:none;background-color:var(--ag-control-panel-background-color)}.ag-theme-alpine-dark .ag-ltr .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-ltr .ag-filter-toolpanel-instance-filter{border-left:1px dashed;border-left-color:var(--ag-border-color);margin-left:calc(var(--ag-icon-size)*0.5)}.ag-theme-alpine-dark .ag-rtl .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-rtl .ag-filter-toolpanel-instance-filter{border-right:1px dashed;border-right-color:var(--ag-border-color);margin-right:calc(var(--ag-icon-size)*0.5)}.ag-theme-alpine-dark .ag-set-filter-list,.ag-theme-alpine .ag-set-filter-list{padding-top:calc(var(--ag-grid-size)*0.5);padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-clipper,.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-clipper,.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-container,.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-clipper,.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine .ag-layout-print .ag-center-cols-clipper,.ag-theme-alpine .ag-layout-print .ag-center-cols-container{min-height:150px}.ag-theme-alpine-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height,.ag-theme-alpine .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:60px}.ag-theme-alpine-dark .ag-date-time-list-page-entry-is-current,.ag-theme-alpine .ag-date-time-list-page-entry-is-current{background-color:var(--ag-alpine-active-color)}.ag-theme-alpine-dark{color-scheme:dark}',""]),e.exports=t},function(e,t,r){var i=r(1),o=r(15);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};i(o,a);e.exports=o.locals||{}},function(e,t,r){(t=r(2)(!1)).push([e.i,'@font-face{font-family:agGridAlpine;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABIkAAsAAAAAJkAAABHTAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIkABmAAiyoKp0ygSgE2AiQDgjALgRoABCAFhEYHhRwbXyFFIbBxAJDYv7AiqieV7P96QZO4Gu9qEMLAgorXqyjcVJKxQxvbtQieEq6u3unbTP3JwOa8v9MeN5Q8Caix/+09wyXRVJ6IfU2IWoiiiWgSIp5JhMSQaX44l/dN+kSUcPER5OzkhHT7gd9m7/PN/wkLMCowCmy8M+qHlXA73abzZiEb3DVcFEavrFyzTvMyXLeieOl4CQlIYbBNxUopM8Nip4zZ0vd82bEQmAQkTsiVYMv9DdPoIJ9DCT5BRcD/P/dqmWTV4A1khZ6f04HXNve+mwJnKdEvp5wBsgWC/5ues98OENRmp4Dl3IQnoXcm1Jydm/+MzfZ0da0rjEJkDPufQ66CYNqwBz9fhdkubhpvRgCmW3MZ9WZ/0uxT+y+dsRzmrRhA3DGcOn50v6mbLFgQE4TvcWyxpK4fl3wNVrgUXkcWRp2jpdEz0efRd9H/kLC2pYAY6p8bw1GEICmaIYgthlYsNmTaHE5dVpnJdT5rWQJjpIs2p6m7ldKIo45RDyqaUsSD6yDj7q/uKinhvdMmTBLlEbCopjVbTsRV0kGei7DXN54VtteylXaUdDSPaa+Ac+UhaYEJNa52HUV2kA3cQVq+tcAxp7Qg6+K2mETrApdi6y3eLMI7dcZFkraCSQ6fzNip7qiKcLCVq+hvOa+AcXspHXiIvvxUcX3a1wHrxZzkxYFOPnjf2Xg8Ude1oja/f90i7i5lKbx40E0ta2DETVJc1dUZ9731xTff/fQfAlOFFHn4ADa/ImNPzMrDspK+zTTH3fmko4S0xESEddPEKWoamIMWga2TmJgoWgsM4TRYdzRdSNbprCHLhgWnnE8zmBjTQzBCwjSHsNniQK3NttnmW3czBzI2JyyqamyrrpUbo0ujalAu3kWxjDzTJqyQU1wXgKVTps2ZdOequYYwYi9NleshqbVeXtI50VQwtbP69rfCNLch55ioujFqKGxo4mYj7c/yesxOmNzAPsTNyMw+pNzaEJRX6LjuTpooygim0BCQROxcCPpaO1xHDSO5mK5Y5GG4Lw4iNyIfcJu9+/DD5sAAEWaUd0mjRxqHfLH+F0FXsSNWFX9FGg/mYsDpOQqsA2IgMl1cHmJQWLcOEuU9GOwfM4UZsIU/59z49b95g/V+nXThF1LJnhHE/dZ1QxxYnrlTMF9xt6IhJF+RyJoCJwPOOJecvbaewIBgpuDiQsMiomLiEpJS0jKyctRai0rKKvhFWFPX0NTS1tHV0zcwNDI2MTUzt7C00ra2sQUhwRvONbatFefI79QbbmnxpFVf//15cb7l9tcep/1MQPQxGvpYv1cOfT/YVuAAq+AgKwCHWB2HWRI4wro4yrYBx1gJOM7SwElWxilWBE6zBs6wLHCWZYBzrIULbDtwkeWBSywFXGZNXGEdXGU54Bqr4jpr48bAHr+AvkSAEAVCDAhxICSAkARCChBSgZAGhHQgZAAhEwhZQMgGQg4QcoGQB4R8IBQAoRAIRUAoBkIJEEqBUAaEciBUAKESCFVAqAZCDRBqgVAHhHogNAChEQhNQGgGQgsQWoHQBoR2IHQAoRMIXUDoBkIP1K7TC/SmDwj9AEiyyBPxCDeJ32Jq/L5SuCTQgA+9YgrDr0OwVUVexYVeyFNcwF0FuoE0V1IcHYu52gT+0kXBK4nr6el0CcZlMiPM9IKDQY100KueobGOYYxqXmE2bizVAIvs3nqFKcc2YSnyk3Q66OkY8nTCVJah4UHTi65clskzVJytzLmz0OWG+nq6ehZcVgN2CUBdufG7YapTyZhAEsBCmDTFKiHIKIpeKyIJIV1OElQuSUcvo0RIF3kpyKIZOErmSCplKmKxYhTkUoyaXolRUsvfwaJMisimqRySziJkuA5G4YBJcQYmM1KdmYYUM2dxY/X5OURfOXuuSUKTUvLpEAvZCEemZ6S/uQf1kkyysiqfJsnvzYbNx8FV9QKi9O3ylLF1OaUYAy/Yp+PoaciqKjvhIGOqrgDDdVlkUKq4irNkPegq57Eipi6rWqrHMyGppKQSWtZGLfNK70FU8OU882IMadJnkR3cThwvKld0DA9jqsHRrq4+RLltSour902A71VtvK5RTDUNekfUY1bt7WoNqRjfi6lc227klPfOTg2uHkOUXYO8wdFJ5dTYMHeMdJ7lvq1LNQw0Gq7LDq7m3YIm6XY+omzVKGDi++/FrjYexeNdwt5ZLWnrH9vFXdPkSZeWFIuLquVlRBlPESMzkDpP5coKrg4uU+0dV0zsU2unlJP7a1RXiPGinJeSBe19ozvNZNkEOtaEyqyS9jSDpjpmVw7h6hELkuYPSG6xBbgTpKbTru2qQR7Vtr63Y6pRRLleIs0iyOpsEbnSrrMmuWbTi1HRUdmL2OLyMsXjz62Qexf9l2YprqazKVG6XCaisrR9qPEmV+jlrFDVq1cCY3GRkEovXwl+GbHYL4PilZUK5dJH8W1lBBAohXBqSMhB6HqKziZICc7AaAzByf2crEsnlgETqQA2kueLAAWoywPhAIuVlpBEliUohuuZSWdXVuVQrALl8ct4Rd4KNSy9dAwh50x3FRjg6otHl45cwKC2tRbjYChuC/a1mVROBRNh1eyBjmFtHkr5EgPF4fqz4DIWA0NuMjCZ0evIPq2gIKUKZLbn3UsbKSKaJkmCEpH0DMysVEbyRHQf/XxVHlquUi0LpQeXQFFpDBnWd0l1wRqbBwGcc2OqRxTDqlHl2Bq2Lg4sBJdS/Hb/VZgS70mk+/zGIof4Ve7j7ntDCK7GYov3eJgzRQirt5t1cC2IU4IT7lX8MbtuR0uaq8E1/CErSrZracnmx9yexUXBH+W7l5dtfyroX1kJ/buMrbNE71mwW6lRcHuvBrsgUrPXE+QZryHAuK83Dzja7GToaa8xu3UKBxyhFu1xhFaprlgTOIJXAG7bNx9Svh0TAE6fwgBvnA5l8HzFV3wlrzKbVDSoS1RTo/aeqieNT83co86TR95gAusmS1J/b6/lALsa18FKLKl5ZVWFVFIgvSxS8j0JXcLNbCTmGDUaxEjQuyjIOr+CrPdPYCS+gTyzCFdPP+XcZTcSyJ0tp8H3b5+HomdemfChsI0ZbXD9VUCKUO2xrGivk03b1tZH07k08kT6JVFe0Z5h8EHX6uoL4sX/q6Op8AJ28Zq60rDikJDisNK/WtobLw4pDfsrJ33yOzXfF3QiVRNeBVhVsOSBcu0z+XN5Q4O8UQ6h361itj7ztmfxvI8t3h8HJ4zLTUs7fWrHjrR0setzL+9ab356MzZX5T+wXugerh8dGOgqL2cwoqNO17WdPnV6Knp8/IvrpIUjJIKjBXHjCwi88rwuqG5XazcytQ0Hn8Ya4Nf7hM3Y0F+fnSN4oYceOoGjmBA/bM0+7whOYkdwZCWOYicot13nxefhQXBuXlxcXsorGUos0XKdE4TM/y+t2rhemTCDuEndAtwkbiH7/2vip3NXrP5uaPoMWTRwjzH6CVk/sMz80mbezEga8Lw/get4YiNqyo90NTHsYzVHvRfE4c8F2u+vsqdpi03s3mm2hTmXZ8M+99AE/4Ld8k7tDaYxZcIe4D8K2Qq+Zn/xTFp1Grn9rDUR6X/amrAM84fjeLztp0x6Ir/w3O+hNfcEbjPekIrpmgsWzNe1c/YWmQde9DXA+k3qYIIZvOlQyErOpYXYGI8gMiCQlHQMGSg5fgAZJIwpayqqdyuwD8prEtdABgS52gykWJ7tCe4+G7yvO7hnH4q4NWY0prsWXWnk288F2nai4hAIjB+a0FQZmac3fzq36e13v6h5myfiGDs+icwT5fVdJU4YcPyYxqlpNTlNh743+cLczDyY3kQ1B3+ia8Cx55hArTZ0ZoXdfv5eHv62C1qxmHQvobrj61usMzw8Q+ILj13UVhUGVlPQnVDfbJUREZ6SVllqcCE+O8AiprRcEZKclew00hfslezhkeQVjOmXNAblxB7FRJBYnBbhlG8eUyZR8wWg5uIt/aQ732hfdUVpuUWM+pgR/1hl1Ld0x080OZ+HdbKVVUb4x92e2qSWdhoZGhAy2+aSnv3a3FUjmsoS/jS73ur58Sd4LDh8qHB0MJZzD4iHBNj02HKhtlUkF+1vDRcVKMwPI1quwUudMEwYqhUFilp3yUXyWSqUP2sNrJMNojBR67Mk7CothruzDWLjsqXAxPbF6urI5MHIc+kVtj5wspx1GswYDC8JDS3e0NKG8FRPTrOWTiMe6UR6w45FMSR6VgkvqXMDlqmC1E9dHj+WJHoeEknyogSpgrmUzML6dNb1kJKMoCuVvMMuYWNj7q8IEhuLIL/qL5g+IvJ+8fQLBF4NrxPWyetE+/WFdSDc5S4fMr18lgX4OT6jr7yhR8JC4R+bu6HaE3leH0VT5dXtSg8OFHineqWkeKV6F4RLnbbMz1s6SVNNkRZe1hsEfFA9ufgq89WJKUdw7N5TMrMkGX/i9IkjXnzBreRuQj4gJyBT/s03BpYR6erTXavvlpd+PRwltP3BxiZl119JSdJKXR1z54iMU+9qNH//rf3nS7+vZuWPuruLNphgFhYbK3j69cbfa+q/w/9Y5t9bWIAA05HaBA+PBH3UujT9kP5QG8wCzd/D5hfhobd1bxk4BJkY3HpywZhjEuRwV7aP3aEliBxC+2mtu0dSomfde59qk/eI0HbeFfC+XTIMsUnSb93UchDe0pFvFj4VpGzUgeIWkeiArLUFUe7bhjEd/nXr5kOtteJNm2Hi3ugrqjHy6tXoul+VFLrmuqhULrmuhRda2ukq1X3Vha4XOO71Kj5cWxiSJxDkhRT+lFJuPE9QGPJTris8uJWwIS5uw6chRdqn4V8X/6yZcrv42JGXsqSZUAz/rF493qxzp0XTYbeEgUL4p4udVqXgMYeeEtiQ+k/WP6mc81tj+eRJXFxEuK1tbCxoY+uK6+DehFlmdIWSVAjHj88iBzwkoetChLAsKtxmvsR9R2FOjoG4WqloF78TEz7fbsdhJe4BSdoRG4qLkpMHB4P27oPWzW/evN78B3jNGLdRnzcvKgS9NQQAABqnMk0jSSTYabMJrYTmkyqPplkCqkAPa1/HKABvXqLr0JvOcv3oz7rGQ4qKrtaZzPRqxD8ht3UfTJSX0rUMxkm37g16DV2FNloTqmhXqNAnVVf4FzUaUg5a02WzFZVBm6wJZFOaMFPRasShjG5pLYCiLJlXie5ATZvW4x19sim9+l+py4OFtD12JZyoRwY4ugqA5Bv+fUjhjE9/oQEwflXQYVi0KpjY78hJv0woYmXN2R96//v7AiGM+n53VSkGzJ0P4PfzQiM45QhEgscGA/Q3HICGuil8dQLtmC7g4AV6vMAQwNZ6HE6NgymsBRQQHUNAwBwULmMAGzoAReAg6CDwENMFHiyDHgJvFmBA/W8g46vh4Irkd0b4kuheUomE3xiGZCU7Qfwm/1FqZDKPGzYVXd0XEopVdKZbTB3Dk6o3XjibT6ZxSSmxKcI/CNr2quX5fuMR95pb4LxhBV9E5LxIioigb7jZfYPEEonJcoz/cA0V7xsjxqPWg6Tvl8KUJkBhdYzOcrRXo+CJ+oZn9i7Bcig+tSqSkHzge1H4rh8IXLPVK4jyf6dUM/OyZgu0cNsVjGqSXt/9sAUKBg4BCQXqTwSAL/Dq1/P/n5OUyebyhWKpXKnW6o1mq93p9vqD4Wg8mc7mi+VqvdkSyriQSlu243p+pVqrN5qtdqfb6w/kWsexg2CwGpn27AhPddse2IMgwLQLlxW9WK0Rfjuem6AY3V3mDJEcKkqOZBWvinIGkrKfQCeWpsREqOzfwyFTPYImFQuKbge6LLswXOs2nHEbXt1xWWEXv7q1g5VRrHaP7hB/bGqytd8OS/d8pRq13d1Vqu6EiWX3LOWh7JRqyppe91JRw2e5n9q6SOEgxxxzXHEnJw2PiKJzpZx1h5rwmFobmxJP6HaLhnPE7VK0W2pkPSiDY+ShXsiF3g433aDK1LD355neaFcq9LpTY8Sjej80NI4nipQ20THUKnRwJ3cYdGQ2cqWCSKQ4zLblgnQwPEN5LptWIJCKGJlUIOn96swaJxsUi5G3rg0A);font-weight:400;font-style:normal}.ag-theme-alpine,.ag-theme-alpine-dark{--ag-alpine-active-color:#2196f3;--ag-selected-row-background-color:rgba(33,150,243,0.3);--ag-row-hover-color:rgba(33,150,243,0.1);--ag-column-hover-color:rgba(33,150,243,0.1);--ag-input-focus-border-color:rgba(33,150,243,0.4);--ag-range-selection-background-color:rgba(33,150,243,0.2);--ag-range-selection-background-color-2:rgba(33,150,243,0.36);--ag-range-selection-background-color-3:rgba(33,150,243,0.49);--ag-range-selection-background-color-4:rgba(33,150,243,0.59);--ag-background-color:#fff;--ag-foreground-color:#181d1f;--ag-border-color:#babfc7;--ag-secondary-border-color:#dde2eb;--ag-header-background-color:#f8f8f8;--ag-tooltip-background-color:#f8f8f8;--ag-odd-row-background-color:#fcfcfc;--ag-control-panel-background-color:#f8f8f8;--ag-subheader-background-color:#fff;--ag-invalid-color:#e02525;--ag-checkbox-unchecked-color:#999;--ag-checkbox-background-color:var(--ag-background-color);--ag-checkbox-checked-color:var(--ag-alpine-active-color);--ag-range-selection-border-color:var(--ag-alpine-active-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-input-border-color:var(--ag-border-color);--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-input-focus-box-shadow:0 0 2px 0.1rem var(--ag-input-focus-border-color);--ag-disabled-foreground-color:rgba(24,29,31,0.5);--ag-chip-background-color:rgba(24,29,31,0.07);--ag-input-disabled-border-color:rgba(186,191,199,0.3);--ag-input-disabled-background-color:rgba(186,191,199,0.15);--ag-borders:solid 1px;--ag-border-radius:3px;--ag-borders-side-button:none;--ag-side-button-selected-background-color:transparent;--ag-header-column-resize-handle-display:block;--ag-header-column-resize-handle-width:2px;--ag-header-column-resize-handle-height:30%;--ag-grid-size:6px;--ag-icon-size:16px;--ag-row-height:calc(var(--ag-grid-size)*7);--ag-header-height:calc(var(--ag-grid-size)*8);--ag-list-item-height:calc(var(--ag-grid-size)*4);--ag-column-select-indent-size:var(--ag-icon-size);--ag-set-filter-indent-size:var(--ag-icon-size);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-cell-widget-spacing:calc(var(--ag-grid-size)*2);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*2);--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:calc(var(--ag-grid-size)*1.5);--ag-toggle-button-height:18px;--ag-toggle-button-width:28px;--ag-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:13px;--ag-icon-font-family:agGridAlpine;--ag-selected-tab-underline-color:var(--ag-alpine-active-color);--ag-selected-tab-underline-width:2px;--ag-selected-tab-underline-transition-speed:0.3s;--ag-tab-min-width:240px;--ag-card-shadow:0 1px 4px 1px rgba(186,191,199,0.4);--ag-popup-shadow:var(--ag-card-shadow);--ag-side-bar-panel-width:250px}.ag-theme-alpine-dark{--ag-background-color:#181d1f;--ag-foreground-color:#fff;--ag-border-color:#68686e;--ag-secondary-border-color:rgba(88,86,82,0.5);--ag-modal-overlay-background-color:rgba(24,29,31,0.66);--ag-header-background-color:#222628;--ag-tooltip-background-color:#222628;--ag-odd-row-background-color:#222628;--ag-control-panel-background-color:#222628;--ag-subheader-background-color:#000;--ag-input-disabled-background-color:#282c2f;--ag-input-focus-box-shadow:0 0 2px 0.5px hsla(0,0%,100%,0.5),0 0 4px 3px var(--ag-input-focus-border-color);--ag-card-shadow:0 1px 20px 1px #000;--ag-disabled-foreground-color:hsla(0,0%,100%,0.5);--ag-chip-background-color:hsla(0,0%,100%,0.07);--ag-input-disabled-border-color:rgba(104,104,110,0.3);--ag-input-disabled-background-color:rgba(104,104,110,0.07)}.ag-theme-alpine-dark .ag-filter-toolpanel-header,.ag-theme-alpine-dark .ag-filter-toolpanel-search,.ag-theme-alpine-dark .ag-header-row,.ag-theme-alpine-dark .ag-multi-filter-group-title-bar,.ag-theme-alpine-dark .ag-panel-title-bar-title,.ag-theme-alpine-dark .ag-status-bar,.ag-theme-alpine .ag-filter-toolpanel-header,.ag-theme-alpine .ag-filter-toolpanel-search,.ag-theme-alpine .ag-header-row,.ag-theme-alpine .ag-multi-filter-group-title-bar,.ag-theme-alpine .ag-panel-title-bar-title,.ag-theme-alpine .ag-status-bar{font-weight:700;color:var(--ag-header-foreground-color)}.ag-theme-alpine-dark .ag-row,.ag-theme-alpine .ag-row{font-size:calc(var(--ag-font-size) + 1px)}.ag-theme-alpine-dark input[class^=ag-]:not([type]),.ag-theme-alpine-dark input[class^=ag-][type=date],.ag-theme-alpine-dark input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark input[class^=ag-][type=number],.ag-theme-alpine-dark input[class^=ag-][type=tel],.ag-theme-alpine-dark input[class^=ag-][type=text],.ag-theme-alpine-dark textarea[class^=ag-],.ag-theme-alpine input[class^=ag-]:not([type]),.ag-theme-alpine input[class^=ag-][type=date],.ag-theme-alpine input[class^=ag-][type=datetime-local],.ag-theme-alpine input[class^=ag-][type=number],.ag-theme-alpine input[class^=ag-][type=tel],.ag-theme-alpine input[class^=ag-][type=text],.ag-theme-alpine textarea[class^=ag-]{min-height:calc(var(--ag-grid-size)*4);border-radius:var(--ag-border-radius)}.ag-theme-alpine-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine-dark .ag-ltr textarea[class^=ag-],.ag-theme-alpine .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine .ag-ltr textarea[class^=ag-]{padding-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine-dark .ag-rtl textarea[class^=ag-],.ag-theme-alpine .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine .ag-rtl textarea[class^=ag-]{padding-right:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-tab,.ag-theme-alpine .ag-tab{padding:calc(var(--ag-grid-size)*1.5);transition:color .4s;flex:1 1 auto}.ag-theme-alpine-dark .ag-tab-selected,.ag-theme-alpine .ag-tab-selected{color:var(--ag-alpine-active-color)}.ag-theme-alpine-dark .ag-menu,.ag-theme-alpine .ag-menu{background-color:var(--ag-control-panel-background-color)}.ag-theme-alpine-dark .ag-menu-header,.ag-theme-alpine .ag-menu-header{background-color:var(--ag-control-panel-background-color);padding-top:1px}.ag-theme-alpine-dark .ag-tabs-header,.ag-theme-alpine .ag-tabs-header{border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-theme-alpine-dark .ag-charts-data-group-title-bar,.ag-theme-alpine-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine-dark .ag-charts-settings-group-title-bar,.ag-theme-alpine .ag-charts-data-group-title-bar,.ag-theme-alpine .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine .ag-charts-settings-group-title-bar{padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);line-height:calc(var(--ag-icon-size) + var(--ag-grid-size) - 2px)}.ag-theme-alpine-dark .ag-chart-mini-thumbnail,.ag-theme-alpine .ag-chart-mini-thumbnail{background-color:var(--ag-background-color)}.ag-theme-alpine-dark .ag-chart-settings-nav-bar,.ag-theme-alpine .ag-chart-settings-nav-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-theme-alpine-dark .ag-ltr .ag-group-title-bar-icon,.ag-theme-alpine .ag-ltr .ag-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-rtl .ag-group-title-bar-icon,.ag-theme-alpine .ag-rtl .ag-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-charts-format-top-level-group-toolbar{margin-top:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-ltr .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-ltr .ag-charts-format-top-level-group-toolbar{padding-left:calc(var(--ag-icon-size)*0.5 + var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-rtl .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-rtl .ag-charts-format-top-level-group-toolbar{padding-right:calc(var(--ag-icon-size)*0.5 + var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-charts-format-sub-level-group,.ag-theme-alpine .ag-charts-format-sub-level-group{border-left:1px dashed;border-left-color:var(--ag-border-color);padding-left:var(--ag-grid-size);margin-bottom:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-charts-format-sub-level-group-title-bar,.ag-theme-alpine .ag-charts-format-sub-level-group-title-bar{padding-top:0;padding-bottom:0;background:none;font-weight:700}.ag-theme-alpine-dark .ag-charts-format-sub-level-group-container,.ag-theme-alpine .ag-charts-format-sub-level-group-container{padding-bottom:0}.ag-theme-alpine-dark .ag-charts-format-sub-level-group-item:last-child,.ag-theme-alpine .ag-charts-format-sub-level-group-item:last-child{margin-bottom:0}.ag-theme-alpine-dark.ag-dnd-ghost,.ag-theme-alpine.ag-dnd-ghost{font-size:calc(var(--ag-font-size) - 1px);font-weight:700}.ag-theme-alpine-dark .ag-side-buttons,.ag-theme-alpine .ag-side-buttons{width:calc(var(--ag-grid-size)*5)}.ag-theme-alpine-dark .ag-standard-button,.ag-theme-alpine .ag-standard-button{appearance:none;-webkit-appearance:none;border-radius:var(--ag-border-radius);border:1px solid;border-color:var(--ag-alpine-active-color);color:var(--ag-alpine-active-color);background-color:var(--ag-background-color);font-weight:600;padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-standard-button:hover,.ag-theme-alpine .ag-standard-button:hover{border-color:var(--ag-alpine-active-color);background-color:var(--ag-row-hover-color)}.ag-theme-alpine-dark .ag-standard-button:active,.ag-theme-alpine .ag-standard-button:active{border-color:var(--ag-alpine-active-color);background-color:var(--ag-alpine-active-color);color:var(--ag-background-color)}.ag-theme-alpine-dark .ag-standard-button:disabled,.ag-theme-alpine .ag-standard-button:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-theme-alpine-dark .ag-column-drop-vertical,.ag-theme-alpine .ag-column-drop-vertical{min-height:75px}.ag-theme-alpine-dark .ag-column-drop-vertical-title-bar,.ag-theme-alpine .ag-column-drop-vertical-title-bar{padding:calc(var(--ag-grid-size)*2);padding-bottom:0}.ag-theme-alpine-dark .ag-column-drop-vertical-empty-message,.ag-theme-alpine .ag-column-drop-vertical-empty-message{display:flex;align-items:center;border:1px dashed;border-color:var(--ag-border-color);margin:calc(var(--ag-grid-size)*2);padding:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-dark .ag-column-drop-empty-message,.ag-theme-alpine .ag-column-drop-empty-message{color:var(--ag-foreground-color);opacity:.75}.ag-theme-alpine-dark .ag-status-bar,.ag-theme-alpine .ag-status-bar{font-weight:400}.ag-theme-alpine-dark .ag-paging-number,.ag-theme-alpine-dark .ag-paging-row-summary-panel-number,.ag-theme-alpine-dark .ag-status-name-value-value,.ag-theme-alpine .ag-paging-number,.ag-theme-alpine .ag-paging-row-summary-panel-number,.ag-theme-alpine .ag-status-name-value-value{font-weight:700}.ag-theme-alpine-dark .ag-column-drop-cell-button,.ag-theme-alpine .ag-column-drop-cell-button{opacity:.5}.ag-theme-alpine-dark .ag-column-drop-cell-button:hover,.ag-theme-alpine .ag-column-drop-cell-button:hover{opacity:.75}.ag-theme-alpine-dark .ag-chart-menu-close:hover,.ag-theme-alpine-dark .ag-chart-menu-icon:hover,.ag-theme-alpine-dark .ag-chart-settings-next:hover,.ag-theme-alpine-dark .ag-chart-settings-prev:hover,.ag-theme-alpine-dark .ag-column-group-icons:hover,.ag-theme-alpine-dark .ag-column-select-header-icon:hover,.ag-theme-alpine-dark .ag-filter-toolpanel-expand:hover,.ag-theme-alpine-dark .ag-floating-filter-button-button:hover,.ag-theme-alpine-dark .ag-group-contracted .ag-icon:hover,.ag-theme-alpine-dark .ag-group-expanded .ag-icon:hover,.ag-theme-alpine-dark .ag-group-title-bar-icon:hover,.ag-theme-alpine-dark .ag-header-cell-menu-button:hover,.ag-theme-alpine-dark .ag-header-expand-icon:hover,.ag-theme-alpine-dark .ag-panel-title-bar-button:hover,.ag-theme-alpine-dark .ag-set-filter-group-icons:hover,.ag-theme-alpine-dark .ag-side-button-button:hover,.ag-theme-alpine-dark .ag-tab:hover,.ag-theme-alpine .ag-chart-menu-close:hover,.ag-theme-alpine .ag-chart-menu-icon:hover,.ag-theme-alpine .ag-chart-settings-next:hover,.ag-theme-alpine .ag-chart-settings-prev:hover,.ag-theme-alpine .ag-column-group-icons:hover,.ag-theme-alpine .ag-column-select-header-icon:hover,.ag-theme-alpine .ag-filter-toolpanel-expand:hover,.ag-theme-alpine .ag-floating-filter-button-button:hover,.ag-theme-alpine .ag-group-contracted .ag-icon:hover,.ag-theme-alpine .ag-group-expanded .ag-icon:hover,.ag-theme-alpine .ag-group-title-bar-icon:hover,.ag-theme-alpine .ag-header-cell-menu-button:hover,.ag-theme-alpine .ag-header-expand-icon:hover,.ag-theme-alpine .ag-panel-title-bar-button:hover,.ag-theme-alpine .ag-set-filter-group-icons:hover,.ag-theme-alpine .ag-side-button-button:hover,.ag-theme-alpine .ag-tab:hover{color:var(--ag-alpine-active-color)}.ag-theme-alpine-dark .ag-chart-menu-close,.ag-theme-alpine .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-alpine-dark .ag-chart-menu-close:hover .ag-icon,.ag-theme-alpine .ag-chart-menu-close:hover .ag-icon{border-color:var(--ag-alpine-active-color)}.ag-theme-alpine-dark .ag-chart-menu-close .ag-icon,.ag-theme-alpine .ag-chart-menu-close .ag-icon{background:var(--ag-header-background-color);border:1px solid var(--ag-border-color);border-right:none}.ag-theme-alpine-dark .ag-chart-settings-card-item.ag-not-selected:hover,.ag-theme-alpine .ag-chart-settings-card-item.ag-not-selected:hover{opacity:.35}.ag-theme-alpine-dark .ag-ltr .ag-panel-title-bar-button,.ag-theme-alpine .ag-ltr .ag-panel-title-bar-button{margin-left:calc(var(--ag-grid-size)*2);margin-right:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-rtl .ag-panel-title-bar-button,.ag-theme-alpine .ag-rtl .ag-panel-title-bar-button{margin-right:calc(var(--ag-grid-size)*2);margin-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-ltr .ag-filter-toolpanel-group-container,.ag-theme-alpine .ag-ltr .ag-filter-toolpanel-group-container{padding-left:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-rtl .ag-filter-toolpanel-group-container,.ag-theme-alpine .ag-rtl .ag-filter-toolpanel-group-container{padding-right:var(--ag-grid-size)}.ag-theme-alpine-dark .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-filter-toolpanel-instance-filter{border:none;background-color:var(--ag-control-panel-background-color)}.ag-theme-alpine-dark .ag-ltr .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-ltr .ag-filter-toolpanel-instance-filter{border-left:1px dashed;border-left-color:var(--ag-border-color);margin-left:calc(var(--ag-icon-size)*0.5)}.ag-theme-alpine-dark .ag-rtl .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-rtl .ag-filter-toolpanel-instance-filter{border-right:1px dashed;border-right-color:var(--ag-border-color);margin-right:calc(var(--ag-icon-size)*0.5)}.ag-theme-alpine-dark .ag-set-filter-list,.ag-theme-alpine .ag-set-filter-list{padding-top:calc(var(--ag-grid-size)*0.5);padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-clipper,.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-clipper,.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-container,.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-clipper,.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine .ag-layout-print .ag-center-cols-clipper,.ag-theme-alpine .ag-layout-print .ag-center-cols-container{min-height:150px}.ag-theme-alpine-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height,.ag-theme-alpine .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:60px}.ag-theme-alpine-dark .ag-date-time-list-page-entry-is-current,.ag-theme-alpine .ag-date-time-list-page-entry-is-current{background-color:var(--ag-alpine-active-color)}.ag-theme-alpine-dark{color-scheme:dark}',""]),e.exports=t},function(e,t,r){var i=r(1),o=r(17);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};i(o,a);e.exports=o.locals||{}},function(e,t,r){(t=r(2)(!1)).push([e.i,'.ag-theme-balham,.ag-theme-balham-dark{--ag-balham-active-color:#0091ea;--ag-foreground-color:#000;--ag-background-color:#fff;--ag-header-background-color:#f5f7f7;--ag-tooltip-background-color:#cbd0d3;--ag-subheader-background-color:#e2e9eb;--ag-control-panel-background-color:#f5f7f7;--ag-border-color:#bdc3c7;--ag-odd-row-background-color:#fcfdfe;--ag-row-hover-color:#ecf0f1;--ag-column-hover-color:#ecf0f1;--ag-input-border-color:#95a5a6;--ag-invalid-color:#e02525;--ag-input-disabled-background-color:#ebebeb;--ag-checkbox-unchecked-color:#7f8c8d;--ag-input-focus-border-color:#719ece;--ag-input-focus-box-shadow:0 0 2px 1px var(--ag-input-focus-border-color);--ag-range-selection-border-color:var(--ag-balham-active-color);--ag-checkbox-checked-color:var(--ag-balham-active-color);--ag-checkbox-background-color:var(--ag-background-color);--ag-secondary-foreground-color:rgba(0,0,0,0.54);--ag-disabled-foreground-color:rgba(0,0,0,0.38);--ag-subheader-toolbar-background-color:rgba(226,233,235,0.5);--ag-row-border-color:rgba(189,195,199,0.58);--ag-chip-background-color:rgba(0,0,0,0.1);--ag-range-selection-background-color:rgba(0,145,234,0.2);--ag-range-selection-background-color-2:rgba(0,145,234,0.36);--ag-range-selection-background-color-3:rgba(0,145,234,0.49);--ag-range-selection-background-color-4:rgba(0,145,234,0.59);--ag-selected-row-background-color:rgba(0,145,234,0.28);--ag-header-column-separator-color:rgba(189,195,199,0.5);--ag-input-disabled-border-color:rgba(149,165,166,0.3);--ag-header-column-separator-display:block;--ag-header-column-separator-height:50%;--ag-grid-size:4px;--ag-icon-size:16px;--ag-row-height:calc(var(--ag-grid-size)*7);--ag-header-height:calc(var(--ag-grid-size)*8);--ag-list-item-height:calc(var(--ag-grid-size)*6);--ag-row-group-indent-size:calc(var(--ag-grid-size)*3 + var(--ag-icon-size));--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-input-height:calc(var(--ag-grid-size)*4);--ag-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:12px;--ag-icon-font-family:agGridBalham;--ag-border-radius:2px;--ag-checkbox-border-radius:3px;--ag-card-shadow:none}.ag-theme-balham-dark{--ag-balham-active-color:#00b0ff;--ag-foreground-color:#f5f5f5;--ag-background-color:#2d3436;--ag-header-background-color:#1c1c1c;--ag-tooltip-background-color:#1c1f20;--ag-subheader-background-color:#111;--ag-control-panel-background-color:#202020;--ag-border-color:#424242;--ag-odd-row-background-color:#262c2e;--ag-row-hover-color:#3d4749;--ag-column-hover-color:#3d4749;--ag-input-border-color:#f0f0f0;--ag-input-disabled-background-color:rgba(48,46,46,0.3);--ag-modal-overlay-background-color:rgba(45,52,54,0.66);--ag-checkbox-unchecked-color:#ecf0f1;--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-disabled-foreground-color:hsla(0,0%,96.1%,0.38);--ag-subheader-toolbar-background-color:rgba(17,17,17,0.5);--ag-row-border-color:#5c5c5c;--ag-chip-background-color:hsla(0,0%,96.1%,0.08);--ag-range-selection-background-color:rgba(0,176,255,0.2);--ag-range-selection-background-color-2:rgba(0,176,255,0.36);--ag-range-selection-background-color-3:rgba(0,176,255,0.49);--ag-range-selection-background-color-4:rgba(0,176,255,0.59);--ag-selected-row-background-color:rgba(0,176,255,0.28);--ag-header-column-separator-color:rgba(66,66,66,0.5);--ag-input-disabled-border-color:hsla(0,0%,94.1%,0.3);--ag-header-foreground-color:hsla(0,0%,96.1%,0.64);--ag-toggle-button-off-background-color:transparent;--ag-toggle-button-off-border-color:var(--ag-foreground-color);--ag-range-selection-chart-category-background-color:rgba(26,177,74,0.5);--ag-range-selection-chart-background-color:rgba(45,166,255,0.5);--ag-input-focus-box-shadow:0 0 4px 1.5px var(--ag-input-focus-border-color)}.ag-theme-balham-dark .ag-filter-toolpanel-header,.ag-theme-balham-dark .ag-filter-toolpanel-search,.ag-theme-balham-dark .ag-header-row,.ag-theme-balham-dark .ag-multi-filter-group-title-bar,.ag-theme-balham-dark .ag-status-bar,.ag-theme-balham .ag-filter-toolpanel-header,.ag-theme-balham .ag-filter-toolpanel-search,.ag-theme-balham .ag-header-row,.ag-theme-balham .ag-multi-filter-group-title-bar,.ag-theme-balham .ag-status-bar{font-weight:600;color:var(--ag-header-foreground-color)}.ag-theme-balham-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-balham-dark .ag-ltr textarea[class^=ag-],.ag-theme-balham .ag-ltr input[class^=ag-]:not([type]),.ag-theme-balham .ag-ltr input[class^=ag-][type=date],.ag-theme-balham .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-balham .ag-ltr input[class^=ag-][type=number],.ag-theme-balham .ag-ltr input[class^=ag-][type=tel],.ag-theme-balham .ag-ltr input[class^=ag-][type=text],.ag-theme-balham .ag-ltr textarea[class^=ag-]{padding-left:var(--ag-grid-size)}.ag-theme-balham-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-balham-dark .ag-rtl textarea[class^=ag-],.ag-theme-balham .ag-rtl input[class^=ag-]:not([type]),.ag-theme-balham .ag-rtl input[class^=ag-][type=date],.ag-theme-balham .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-balham .ag-rtl input[class^=ag-][type=number],.ag-theme-balham .ag-rtl input[class^=ag-][type=tel],.ag-theme-balham .ag-rtl input[class^=ag-][type=text],.ag-theme-balham .ag-rtl textarea[class^=ag-]{padding-right:var(--ag-grid-size)}.ag-theme-balham-dark .ag-column-drop-vertical-empty-message,.ag-theme-balham-dark .ag-status-bar,.ag-theme-balham .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-status-bar{font-weight:600;color:var(--ag-disabled-foreground-color)}.ag-theme-balham-dark.ag-dnd-ghost,.ag-theme-balham.ag-dnd-ghost{font-size:var(--ag-font-size);font-weight:600}.ag-theme-balham-dark .ag-tab,.ag-theme-balham .ag-tab{border:1px solid transparent;padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);margin:var(--ag-grid-size);margin-bottom:-1px}.ag-theme-balham-dark .ag-tab-selected,.ag-theme-balham .ag-tab-selected{background-color:var(--ag-background-color);border-color:var(--ag-border-color);border-bottom-color:transparent}.ag-theme-balham-dark .ag-tabs-header,.ag-theme-balham .ag-tabs-header{border-bottom:1px solid var(--ag-border-color)}.ag-theme-balham-dark .ag-column-drop-cell,.ag-theme-balham .ag-column-drop-cell{height:calc(var(--ag-grid-size)*6)}.ag-theme-balham-dark .ag-column-drop-vertical-title,.ag-theme-balham .ag-column-drop-vertical-title{color:var(--ag-foreground-color)}.ag-theme-balham-dark .ag-column-drop-vertical-cell,.ag-theme-balham .ag-column-drop-vertical-cell{margin-left:calc(var(--ag-grid-size)*2);margin-right:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-column-drop-vertical-cell-text,.ag-theme-balham .ag-column-drop-vertical-cell-text{margin-left:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-column-drop-vertical-icon,.ag-theme-balham .ag-column-drop-vertical-icon{color:var(--ag-secondary-foreground-color)}.ag-theme-balham-dark .ag-ltr .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-ltr .ag-column-drop-vertical-empty-message{padding-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-right:var(--ag-grid-size)}.ag-theme-balham-dark .ag-rtl .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-rtl .ag-column-drop-vertical-empty-message{padding-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-left:var(--ag-grid-size)}.ag-theme-balham-dark .ag-column-drop-horizontal,.ag-theme-balham .ag-column-drop-horizontal{height:var(--ag-header-height)}.ag-theme-balham-dark .ag-column-drop-empty,.ag-theme-balham .ag-column-drop-empty{color:var(--ag-disabled-foreground-color)}.ag-theme-balham-dark .ag-column-drop-horizontal-cell-text,.ag-theme-balham .ag-column-drop-horizontal-cell-text{margin-left:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-column-drop-vertical,.ag-theme-balham .ag-column-drop-vertical{padding-top:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-menu-header,.ag-theme-balham .ag-menu-header{background-color:var(--ag-header-background-color)}.ag-theme-balham-dark .ag-overlay-loading-center,.ag-theme-balham .ag-overlay-loading-center{background-color:var(--ag-background-color);border:1px solid var(--ag-border-color);color:var(--ag-foreground-color);padding:calc(var(--ag-grid-size)*4)}.ag-theme-balham-dark .ag-tooltip,.ag-theme-balham .ag-tooltip{border:none}.ag-theme-balham-dark .ag-panel-title-bar-button-icon,.ag-theme-balham .ag-panel-title-bar-button-icon{font-size:calc(var(--ag-icon-size) + var(--ag-grid-size))}.ag-theme-balham-dark .ag-chart-data-section,.ag-theme-balham-dark .ag-chart-format-section,.ag-theme-balham .ag-chart-data-section,.ag-theme-balham .ag-chart-format-section{padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-balham-dark .ag-group-toolbar,.ag-theme-balham .ag-group-toolbar{background-color:var(--ag-subheader-toolbar-background-color)}.ag-theme-balham-dark .ag-chart-tab,.ag-theme-balham .ag-chart-tab{padding-top:calc(var(--ag-grid-size)*0.5)}.ag-theme-balham-dark .ag-charts-format-sub-level-group-item,.ag-theme-balham .ag-charts-format-sub-level-group-item{margin-bottom:calc(var(--ag-grid-size)*1.5)}.ag-theme-balham-dark .ag-chart-menu-close,.ag-theme-balham .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-balham-dark .ag-chart-menu-close:hover .ag-icon,.ag-theme-balham .ag-chart-menu-close:hover .ag-icon{border-color:var(--ag-border-color)}.ag-theme-balham-dark .ag-chart-menu-close .ag-icon,.ag-theme-balham .ag-chart-menu-close .ag-icon{background:var(--ag-header-background-color);border:1px solid var(--ag-secondary-border-color);border-right:none}.ag-theme-balham-dark{color-scheme:dark}',""]),e.exports=t},function(e,t,r){var i=r(1),o=r(19);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};i(o,a);e.exports=o.locals||{}},function(e,t,r){(t=r(2)(!1)).push([e.i,'@font-face{font-family:agGridBalham;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABToAAsAAAAAKtAAABSXAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIkABmAAiyoKsTSobwE2AiQDghwLgRAABCAFhEYHhGMbNyVVBDYOIDRjr6uI6kkh+/8ygRtD4jmwCxG6Uc8o3ROFxLQ2sYXYmrIGce1xv8pXhIMxezz3sL/PuB39LLa+YsghSdHkgf9j733/r8LSK4siEzgBRzgeDWhnPOufNl8fcPDH3reZM0lVZW1lhXQdnt9m7/NB5X9CIh06GTjCQl2oCObE6B8uytzGyrW1wVo4l9qrsFaJq2bliMtwkeeVt7sRH53vzr58LxIMUoEKUqxQQbl0AbCv+qumwLUyZ1gSDkbGq/v1VbHlArbkJyvtR8D/zf2bBXYlUDQlELqenclM5r3m3rnp/3m/lD8lykkpPyVCC6iAXvpKlDIsqpW7CtiR3bNCrtC7rtKuq1uoOeVk7MIDYmqaIqQ4q0cPBCllfKoy+H9seR+uAm2m2KiYsbVvTyMASaiI2vMamZG2/zk/lAO53TyAjwnD/ndrRcJJGZSoFNRfcUxGdR39ce41sMK5ruZHkRmZnwO5mD+jbg9TtJC7eBRDYJwgmVQGWjUtWWyatjl/+ENz+p+ZU10yIZSQZcv09EuuPizOMXUkkKrCr7yIVN5ta55eMp7pRicQHg5p2qLjy4805CpFbC7MvnzyobpQpowpxsQGdCEH4xrTGisUqPdtXglNsQy2uApzDJV8VXgGrbtkg7DDJdl5+z80/rq+lKlkekEEhx9m5afD1BIXwdyOuVbmFoQJcXtoE7NZ5baz/m11gXbSXEVxyo3Pfszyl4pzbW4aXn5dF1Oq8lSv3nSqSwEEK1RqW/p26KnnqjfvPv0rSoKaKQ/bgH0PSGEwW64bNsxOS5zxkTMxQ7/BHJJ+Q5uMZhQVyQIMM1RLU5ijMGeBfqyp1jRTqkMtG2IMuRxm0E3vwSiuU5pg36l2zH6mW1r5+oV0WrFlQpqW7rh1VlmMnolYEW9yFdUiPG3je6GM2Fcg/S/a5gx65qW3jTosJKLyKpV2s00F84fadtCmtPuhP+pM7oKmRprW7mRZ+xRT7CNeqt6RXAnNnPcPVRSZPtE6h1WGscmK2+6gqWkTRTuMUnTh/Vzx+MIOVywpknS9YiK3thQNnBa6v4C77z58VAYKiNCjbu9hYrN33YvSL5FBZmOSj0KzubsMIBaIAiVADIgkpQeHGNqbX0LT/CsT8h8p6tSI7uyfY7df1XMq9dee06/wJXnrBu278NqVBfY8HXDKV5V7UROCz6VqS0GGAak4dUK5PoFKg+iM6k7rGppa2jq6evoGhkbRBqdm5hb+JlxZ29jaadk7ODo5G7q4url7GGp5eml5e/iAEOe2Pbe5XFmLE7OSeAL8xsSU6/rfX8/Toi7MK8ZPAUSfjRpB6YM4t1ewMmCVtQBrrAFYZ+3ABqsENlkvtlg5sM2agB1WDeyxZmCfNQIHrAOHrBY4YjXAMevCKasAzlg9cM6qgAvWiUvWgytWB1yzVuCGdeO2YR9fCnohFUIahBCEdAgZEKpBqA6hBoSaEGpBqA2hDoS6EOpBqA+hAYSGEBpBaAyhCYSmEJpBaA6hBYSWEFpBaA2hDYS2ENpBaK8FyeDrgH7SEUInCJ0hdIHQlbmpdINSdIfQA0JPCL0g9GbmoI8WJIMvjLoQgRBlpolB3Ykz85EwlVKA/qerPAB3IH62JJ3VIuke1g1zvVbK10IhyZVTsFphUHEHHUCV5CouQBhKo8qAkiZrK9KG1ZA2H6lHGj6SLhAwqL35fJ8Umgv7U5HxuYw/k8GBEe14mYrJ9KMff0moj0IkoNNH8JgcqdCHirqLpTCBD5VO14b5lPn6qrdOp4sEDD8GfSSdrwgQ0/0kNBrd14cmEYin1ZtF94lPlioQS2vPuN2yL4p3uFwx35ec9XgCv5y82+sd99MM25MRmAtY8J1Px/xQeu5Z0FeTdg2M9SA210wEQkCzer36bkG3pN2lalKd53cBFEIBQ2gN2K1t9Yp6RZ09msuankCIORnXE2QCxoQxA/lWj8IkjLjDoHhw6AGbXyOQWhvmUiUL7q5kJ72VrIQnhdlZtPiiB9ALMDEej87vYxHG6SgFqUelIiQKEA7L5vFANKvXi7LtbjegWlyuGpbt7nHqnLjndh6cCjlNTt7HyogivJJzdDELYte+FkFiLG0e3zMursjHy8onkTjexO8S9wHLU/szyBreoSlFaOhUJXtJanFZwVMLEEE5MKLCsykDpyG2JyY8dcEzbz1QhuTkMgHjuai51l5tC+ER9pADfCJmsz/1aQi0wpeJtwnaUXRqiaWtqwuxHerp6NgFWfcfc6D2C0eApcnWIuzoQWzHgWVnt703oLXV3oxb+s4jtpAWHs5cur29GbX3QtaOQ8JDPUetx3pNH+xuj3V7LR22LmBpbhYoDwqau9tJnGwVQYmDzRbAx5qawr0WISEUpnGWdnNFS2fvQUH54Urxo6jkNNZTWgLrPgHsoka/yK7EbOf7LEcu2B3HrEcvMu/TT0qa3NrRc4C/eJAsD1pZhyRKB9a8vG4JTopqxQsdABYVhjeX3DtgOyQkihc8gNh6IOvyBhy7otLsJVF3DMTFfSqpwvgCPeFyjS+P6AgP6ISoG3mFRvy8K5LvxncVyMOjNU7kOanVqy13eKNFnvBdWEKvt9se0OJSlfQBi9uN2uONxyCrx4PYxtemvboLS3eE10sGu9zGgNuFoBKsmXi7IJ58kM3lAilOYvd6odo2VZdegt6pagLgTXrlLcKeQo/mMgSx51oE3QVu9SUZyIM6tTZOr/GZthWq4NFnUBCYRCAUV5ZnPruAl4OsqUeEzmRAzBJDDvEv22wERpfnMwGjAKuoLMaLCCbEIAuXN/EFF9wjdqiwLtfYswOBu7xaLbQrEFL1i/tcsr0Jl9xZ57TkFW/U0bjJNpcK63fpjsRqW0XCi56ITi3Z6x1zxj3CclylEuyUQdorAce8gfs8cWeRBfmK2eHN1BPGUgvmKkACzHMDBpebjOMESWClBIFjOFk7s21ISTgTgd0qxxwvulyfBta6cbcsXqInUwMeMAJx1kjEQ4SrN+Hx4OAnXvGyXcTtzLjKslte45VRp6IId0Zs2fUEn17eYzL4ZrYz8riOPFRrlXaE9NhUB8RtALE5rwKK5dpDlGl/fAOCrdcfIZi929Jl67H2zmbYLt8nv4KigAmh9kuRvP5KQtQqRR5LP5dG7orojT8sKh9oUefHYoJmyd7QvvGKRvgzMh/gtwkk2O2Ym6pyUW9Qp1xKCprRZtHhAKKTvZksqpvsW/COKt7Pg5RQJb/yKJy15TGIYDG/Hf6tcXe0vUHzLcEoRLhGohBpGxlBFEJLARo4JM5WcgCJASh5GwHoqi4P8iAPczjk2HKsC5BzSeUfC2Y41C7ufORdv5DEcAZgYgUkUUthwQhlzagIzyALMKJoOXHLKoz9L1ZTqIzxqo145XQ2YNXa+Pomi8BdjjfbRcZWq9BTQbRM7HK5w4643V5jkSG/3xV36LJ0tLpFhspxGcxPKOp1jD4XJq1Lez3hJz2Ijte9MFWtTvWFR6i3rzoVWGguBXbfgjhJuZQKJlN2562DZ3Ojg2WIu8HRXA1kzKdcRJmdOExp/sdoHIZZwb1/uL8q3PsvPWnpq7+mfFPhP2w01i9HImJKU75KjPgqeVr+V7/9zntMSVkO7rjS0x3byP460tOZzHsQuDrXrXvwFKwH55J3DSAoxVxBRGE6HRZFOPPIdRimI6KcrrTlCbhJk6ZWp2lMPRgTSFObNN3ANJ19Qbf6MBbGOHDQebCKDzgT9NbB41n17fXP05eYlgz+s3R4KYix6AojIgp1Y/TmhRE65uKU3/etkY24KlsruzpChn+sR7/bu/fBg+C2tvkLEp7MxKd6kx5EpwzG6pLOmpYevLi2Z09HSQmFkqC/o0e/c/vOsYS+vsYXuEQO0oBcgr1sBGe+NEYZL+oMUQaHDudEBcHW39lsx0/kARygr25Ia9JoTNpordpk0oQy2ZqgUvcxBA/RKwnjj/Tv74lcrTrdpNE2G9uVqUrwe1Bjxhk78Ftl+dIF1tQT0OjK0brRFaPHog9r2sZTTwJ+WraiAXL5qRL9v4QW7PEwNskG+P6VuuHdqQL5zaUwTxQfwqXvYlbrl0SzRaeiRl4sH0mSkpWsncdZErFAKGPdH+KijayaWQtfMjgEl7VH9MfYfSCc/6OQW0ddLtjNnB2X+0Mgl0mf1JUsFB64zd0R36i5qHaINUBQjS7LRmjimGfi+a3s81PFUQ/D/ZDd3Cpwn+2XWq2KXN3Q+uGTQpOuVqfjOTBdjU+gF9XKovllteV1/DSZxsPCMCajdtSbJJX03o6YHfdi9u6OgAtQdmGM7Zs7+VXf8xpUkduqATdrOC+QlvncBu4Ur8ic0zg3U2hkc+R/xU80Ttz1FLvpx45gcLJz5hatuNzEbRTzxWPIlUT1mA00P/ZINhds9fYpsMlXGsjfTYucReFOpnTlWDaMIh9Asu7Od8VOh8mUqejm5POK+CmR+bGR+HDYmsMH/hvqf9HvSGj5P4ssg5TF+Qm5+hm8Mv5kGR7r6MjQl8bFlcYrhUlZ68M/Zf4vg2Tpi+c16XdRMoODTyUJlfFlcbGleoUgOUv3RWuERtM2FSJmO1oitA1mae7uIOjZqEJcNzNn7qjZ8vnMKlaxMS9WRxTglxiwK6VmmJUFfaafZw5MvY0/Il9iWSLPzXaS9MC4GeNjZyzJSjNil1jjXwPjp90DUBcVY+mraijWKwJRA4NIOP2T/NyC6hWMxQ47wECVBKlckZ+kb9ysSKuKMnBWVB9+hc82U1d/iyHh/3yKOjujegUH/N2c97FbMGQYAv9/DPUGR52x3nixjq4tyuBuR8L7A1bjC3Zy6w31yxJiDbHLDCjn94l/TzhrOAs0czztN3TDkAGEbH7d0N9QToOSWA819kOoru5Hw4/9hYOAKHUjWoZIC9qa+81znIXcOr2+vFCQ1sCBTyoAJ2XoLKvku3ejemql63e9Nc95KFp/f96uUj9NdpBzzpw3wjUXFxz7ZgVSlisuzT7EMZtjR9UfHZvLlJVFcyj7drc6cuAUb8qOPcm5A9M1gDvVMGxYEHjnjiPxGmrLIdYNG4Z1CanMqWzZVG2A809XpPTg5R3KF59T0tKqqvLza7X7O5kIEPVUUmWsqq8ywPTGKvDoPfz553CIv3DLZcrnfJUX5hekic2zr/7yS+cXzi9P6FLSaV3SJdaQ9YL/VxC0f9kUCI/Oj5x7iD4VLVNPUuZljzPFnFOQ/CmCZMMd406oCCIUGUGJ80psYxINeVC6NkU96TO/PD9Mka3MLQjL0fRTc9RYqBqXm3wx3/zizWmajNCWux9pJlpabt21pFEZPjH08uoa/1kRZuna5p/omv4HSVDj0upqA7JVlChJLt5RQG0cGC/Kmir9///nYDRPxj3lbfyB+KHRe4pbL7eK5WflYqt8iAb/8edsGLlBrkQg04ekMZKz0mjpx/CrrzdIU6RnJakgv37rVj9pXK79TsfgnJIZW7r0hsDPZbKsMz9OmFBZRqOKFXF5t+c0N4+Ov0w/b4rYfLL+j87OqYu4iESytFTou5jT1Lx4O/q9R/T+2bNBO1n1v7Hj3tBe+w3UgN/rv5wc9inmu9oLrDYHhhVhjo0LVeoJaZqqJRsd9kfAHO3vYoTb3PSxsgm+dStrLoEMav0qw98xWQN/ymk1RmN/bV0NdHooyvHYLXWrLtctTF+5CgSlDFZMCSlW2mzK4pApzjTGuHsvVk4JcfqkLU9YXh5fEhtbEl/+xg0fURJbHvcG4cqKy4t7D+MFbvOxM/jnkW49n1qmA+M4Q0plQ8P07BnZMC/hIYkGOuuQwqQoUsiB3KQEFdkBZnPHYzhfh9m8HQORyRVs9kQfBSKTVjuWK+4Z3Txv3okT/evWJyUBB3eOXBYgi80UTjSHxunoHDfu+aBZHu3vY4sY+/w5h73hm8ACqI63VpAw078kMPob5zfyWWjHKqZ5MT+j4wnsyVDnBDl90oFbq3/GdQG+/sVv7BLfvgnCaZPJPSVx48GqT1Hzn4+gNEdlGlYbAgb3bZjPWuZlIkuM8+kTdDQIPzfgoAbD9Aq4DKqEwazBvR2msZSTtLRvazoA5kd4PvxK5CINeczi1zVJ38NwnGGPEpkblj+8WRjlTZm7+lVdBAfYVWDZZYZZ/5FIkvvYlouknrLWzWp4uZ4L14JdZyTbJImSbbElGmU7tq+Llm3Wdx48d+v6/sDvrnNoOlv/hx8KDwJgEv2nyxbMmw8+HkS9yw9AOTrlIduTBlt5TptNid8vRfhcFNEbSZgn/C+Ff76ktA7t2ogx2xMGXgXUhlrfG9xGCoe03Aa+JwkQavMge8kPYitAgRY2v/yxMI52Mlz/AjwwD8AAotIBBMTAghkFsEAbwJB/CKiQf5nRgBB4wAfyX/VBALGRyOE3Q0EINCkZ/A+J9jOkAPkn+iWBOGezvslflBqZhrvpk9fD/UBCAUU7zMdQV3+v6gYnnIfvTHZPKfFQhB/R6BRUy8PtrcOxJ8P5DPwPifYzpPA0cH/iyV0SWjbhmCfs/sUjVAgzDXfb3vPEmf1DEXfToGjd+dDcuj7ce5VcNyhTC+fhu1DBCQkD31Xx9x7RYD2FBLo8/HtkSY5XT0aInKdqVM2VxBT3q2Kx2uwOp+HyN4P599GH6h4MR+PJdDZfLFfrzXa3PxxP58v1dn88X+8PJpRxIU3LdlzPD8IoTqQyuUKp8uW7Wh3Ae0EPGplaEOGtXkI1rQEymBoTQPT1DqN5mnkfzf5oPzpuEsmiouRIoPjWq8dCXJM/N5xYxhJtxdK9wiVTvTFMKmAU7ZXhcjRGuNZLU9dLs+iVxWoa3LO2+u0UEA72U9dkONYENVzSga2LKUOrmUml6pWXWJoeyEu5CrSUIDptU6Sc43aJwUbyfYY95njCq4y09CWVzCWICZ8R6wgp8YbTlNileEkpNeWtrK8l7rfD47yoMo3s3CvH5aiR6INeVVjxpmYB44yWN+rfeGFA67yHtyqIjdSnX6hwnwkDPIFUxMimMpLgyWw3WtmiOKycUwEA);font-weight:400;font-style:normal}.ag-theme-balham,.ag-theme-balham-dark{--ag-balham-active-color:#0091ea;--ag-foreground-color:#000;--ag-background-color:#fff;--ag-header-background-color:#f5f7f7;--ag-tooltip-background-color:#cbd0d3;--ag-subheader-background-color:#e2e9eb;--ag-control-panel-background-color:#f5f7f7;--ag-border-color:#bdc3c7;--ag-odd-row-background-color:#fcfdfe;--ag-row-hover-color:#ecf0f1;--ag-column-hover-color:#ecf0f1;--ag-input-border-color:#95a5a6;--ag-invalid-color:#e02525;--ag-input-disabled-background-color:#ebebeb;--ag-checkbox-unchecked-color:#7f8c8d;--ag-input-focus-border-color:#719ece;--ag-input-focus-box-shadow:0 0 2px 1px var(--ag-input-focus-border-color);--ag-range-selection-border-color:var(--ag-balham-active-color);--ag-checkbox-checked-color:var(--ag-balham-active-color);--ag-checkbox-background-color:var(--ag-background-color);--ag-secondary-foreground-color:rgba(0,0,0,0.54);--ag-disabled-foreground-color:rgba(0,0,0,0.38);--ag-subheader-toolbar-background-color:rgba(226,233,235,0.5);--ag-row-border-color:rgba(189,195,199,0.58);--ag-chip-background-color:rgba(0,0,0,0.1);--ag-range-selection-background-color:rgba(0,145,234,0.2);--ag-range-selection-background-color-2:rgba(0,145,234,0.36);--ag-range-selection-background-color-3:rgba(0,145,234,0.49);--ag-range-selection-background-color-4:rgba(0,145,234,0.59);--ag-selected-row-background-color:rgba(0,145,234,0.28);--ag-header-column-separator-color:rgba(189,195,199,0.5);--ag-input-disabled-border-color:rgba(149,165,166,0.3);--ag-header-column-separator-display:block;--ag-header-column-separator-height:50%;--ag-grid-size:4px;--ag-icon-size:16px;--ag-row-height:calc(var(--ag-grid-size)*7);--ag-header-height:calc(var(--ag-grid-size)*8);--ag-list-item-height:calc(var(--ag-grid-size)*6);--ag-row-group-indent-size:calc(var(--ag-grid-size)*3 + var(--ag-icon-size));--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-input-height:calc(var(--ag-grid-size)*4);--ag-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:12px;--ag-icon-font-family:agGridBalham;--ag-border-radius:2px;--ag-checkbox-border-radius:3px;--ag-card-shadow:none}.ag-theme-balham-dark{--ag-balham-active-color:#00b0ff;--ag-foreground-color:#f5f5f5;--ag-background-color:#2d3436;--ag-header-background-color:#1c1c1c;--ag-tooltip-background-color:#1c1f20;--ag-subheader-background-color:#111;--ag-control-panel-background-color:#202020;--ag-border-color:#424242;--ag-odd-row-background-color:#262c2e;--ag-row-hover-color:#3d4749;--ag-column-hover-color:#3d4749;--ag-input-border-color:#f0f0f0;--ag-input-disabled-background-color:rgba(48,46,46,0.3);--ag-modal-overlay-background-color:rgba(45,52,54,0.66);--ag-checkbox-unchecked-color:#ecf0f1;--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-disabled-foreground-color:hsla(0,0%,96.1%,0.38);--ag-subheader-toolbar-background-color:rgba(17,17,17,0.5);--ag-row-border-color:#5c5c5c;--ag-chip-background-color:hsla(0,0%,96.1%,0.08);--ag-range-selection-background-color:rgba(0,176,255,0.2);--ag-range-selection-background-color-2:rgba(0,176,255,0.36);--ag-range-selection-background-color-3:rgba(0,176,255,0.49);--ag-range-selection-background-color-4:rgba(0,176,255,0.59);--ag-selected-row-background-color:rgba(0,176,255,0.28);--ag-header-column-separator-color:rgba(66,66,66,0.5);--ag-input-disabled-border-color:hsla(0,0%,94.1%,0.3);--ag-header-foreground-color:hsla(0,0%,96.1%,0.64);--ag-toggle-button-off-background-color:transparent;--ag-toggle-button-off-border-color:var(--ag-foreground-color);--ag-range-selection-chart-category-background-color:rgba(26,177,74,0.5);--ag-range-selection-chart-background-color:rgba(45,166,255,0.5);--ag-input-focus-box-shadow:0 0 4px 1.5px var(--ag-input-focus-border-color)}.ag-theme-balham-dark .ag-filter-toolpanel-header,.ag-theme-balham-dark .ag-filter-toolpanel-search,.ag-theme-balham-dark .ag-header-row,.ag-theme-balham-dark .ag-multi-filter-group-title-bar,.ag-theme-balham-dark .ag-status-bar,.ag-theme-balham .ag-filter-toolpanel-header,.ag-theme-balham .ag-filter-toolpanel-search,.ag-theme-balham .ag-header-row,.ag-theme-balham .ag-multi-filter-group-title-bar,.ag-theme-balham .ag-status-bar{font-weight:600;color:var(--ag-header-foreground-color)}.ag-theme-balham-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-balham-dark .ag-ltr textarea[class^=ag-],.ag-theme-balham .ag-ltr input[class^=ag-]:not([type]),.ag-theme-balham .ag-ltr input[class^=ag-][type=date],.ag-theme-balham .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-balham .ag-ltr input[class^=ag-][type=number],.ag-theme-balham .ag-ltr input[class^=ag-][type=tel],.ag-theme-balham .ag-ltr input[class^=ag-][type=text],.ag-theme-balham .ag-ltr textarea[class^=ag-]{padding-left:var(--ag-grid-size)}.ag-theme-balham-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-balham-dark .ag-rtl textarea[class^=ag-],.ag-theme-balham .ag-rtl input[class^=ag-]:not([type]),.ag-theme-balham .ag-rtl input[class^=ag-][type=date],.ag-theme-balham .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-balham .ag-rtl input[class^=ag-][type=number],.ag-theme-balham .ag-rtl input[class^=ag-][type=tel],.ag-theme-balham .ag-rtl input[class^=ag-][type=text],.ag-theme-balham .ag-rtl textarea[class^=ag-]{padding-right:var(--ag-grid-size)}.ag-theme-balham-dark .ag-column-drop-vertical-empty-message,.ag-theme-balham-dark .ag-status-bar,.ag-theme-balham .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-status-bar{font-weight:600;color:var(--ag-disabled-foreground-color)}.ag-theme-balham-dark.ag-dnd-ghost,.ag-theme-balham.ag-dnd-ghost{font-size:var(--ag-font-size);font-weight:600}.ag-theme-balham-dark .ag-tab,.ag-theme-balham .ag-tab{border:1px solid transparent;padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);margin:var(--ag-grid-size);margin-bottom:-1px}.ag-theme-balham-dark .ag-tab-selected,.ag-theme-balham .ag-tab-selected{background-color:var(--ag-background-color);border-color:var(--ag-border-color);border-bottom-color:transparent}.ag-theme-balham-dark .ag-tabs-header,.ag-theme-balham .ag-tabs-header{border-bottom:1px solid var(--ag-border-color)}.ag-theme-balham-dark .ag-column-drop-cell,.ag-theme-balham .ag-column-drop-cell{height:calc(var(--ag-grid-size)*6)}.ag-theme-balham-dark .ag-column-drop-vertical-title,.ag-theme-balham .ag-column-drop-vertical-title{color:var(--ag-foreground-color)}.ag-theme-balham-dark .ag-column-drop-vertical-cell,.ag-theme-balham .ag-column-drop-vertical-cell{margin-left:calc(var(--ag-grid-size)*2);margin-right:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-column-drop-vertical-cell-text,.ag-theme-balham .ag-column-drop-vertical-cell-text{margin-left:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-column-drop-vertical-icon,.ag-theme-balham .ag-column-drop-vertical-icon{color:var(--ag-secondary-foreground-color)}.ag-theme-balham-dark .ag-ltr .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-ltr .ag-column-drop-vertical-empty-message{padding-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-right:var(--ag-grid-size)}.ag-theme-balham-dark .ag-rtl .ag-column-drop-vertical-empty-message,.ag-theme-balham .ag-rtl .ag-column-drop-vertical-empty-message{padding-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-left:var(--ag-grid-size)}.ag-theme-balham-dark .ag-column-drop-horizontal,.ag-theme-balham .ag-column-drop-horizontal{height:var(--ag-header-height)}.ag-theme-balham-dark .ag-column-drop-empty,.ag-theme-balham .ag-column-drop-empty{color:var(--ag-disabled-foreground-color)}.ag-theme-balham-dark .ag-column-drop-horizontal-cell-text,.ag-theme-balham .ag-column-drop-horizontal-cell-text{margin-left:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-column-drop-vertical,.ag-theme-balham .ag-column-drop-vertical{padding-top:calc(var(--ag-grid-size)*2)}.ag-theme-balham-dark .ag-menu-header,.ag-theme-balham .ag-menu-header{background-color:var(--ag-header-background-color)}.ag-theme-balham-dark .ag-overlay-loading-center,.ag-theme-balham .ag-overlay-loading-center{background-color:var(--ag-background-color);border:1px solid var(--ag-border-color);color:var(--ag-foreground-color);padding:calc(var(--ag-grid-size)*4)}.ag-theme-balham-dark .ag-tooltip,.ag-theme-balham .ag-tooltip{border:none}.ag-theme-balham-dark .ag-panel-title-bar-button-icon,.ag-theme-balham .ag-panel-title-bar-button-icon{font-size:calc(var(--ag-icon-size) + var(--ag-grid-size))}.ag-theme-balham-dark .ag-chart-data-section,.ag-theme-balham-dark .ag-chart-format-section,.ag-theme-balham .ag-chart-data-section,.ag-theme-balham .ag-chart-format-section{padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-balham-dark .ag-group-toolbar,.ag-theme-balham .ag-group-toolbar{background-color:var(--ag-subheader-toolbar-background-color)}.ag-theme-balham-dark .ag-chart-tab,.ag-theme-balham .ag-chart-tab{padding-top:calc(var(--ag-grid-size)*0.5)}.ag-theme-balham-dark .ag-charts-format-sub-level-group-item,.ag-theme-balham .ag-charts-format-sub-level-group-item{margin-bottom:calc(var(--ag-grid-size)*1.5)}.ag-theme-balham-dark .ag-chart-menu-close,.ag-theme-balham .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-balham-dark .ag-chart-menu-close:hover .ag-icon,.ag-theme-balham .ag-chart-menu-close:hover .ag-icon{border-color:var(--ag-border-color)}.ag-theme-balham-dark .ag-chart-menu-close .ag-icon,.ag-theme-balham .ag-chart-menu-close .ag-icon{background:var(--ag-header-background-color);border:1px solid var(--ag-secondary-border-color);border-right:none}.ag-theme-balham-dark{color-scheme:dark}',""]),e.exports=t},function(e,t,r){var i=r(1),o=r(21);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};i(o,a);e.exports=o.locals||{}},function(e,t,r){(t=r(2)(!1)).push([e.i,'.ag-theme-material{--ag-material-primary-color:#3f51b5;--ag-material-accent-color:#ff4081;--ag-foreground-color:rgba(0,0,0,0.87);--ag-secondary-foreground-color:rgba(0,0,0,0.54);--ag-disabled-foreground-color:rgba(0,0,0,0.38);--ag-background-color:#fff;--ag-header-background-color:#fff;--ag-tooltip-background-color:#fff;--ag-subheader-background-color:#eee;--ag-subheader-toolbar-background-color:hsla(0,0%,93.3%,0.5);--ag-header-cell-hover-background-color:#f2f2f2;--ag-chip-background-color:#e2e2e2;--ag-range-selection-background-color:rgba(122,134,203,0.1);--ag-range-selection-background-color-2:rgba(122,134,203,0.19);--ag-range-selection-background-color-3:rgba(122,134,203,0.27);--ag-range-selection-background-color-4:rgba(122,134,203,0.34);--ag-range-selection-highlight-color:#fce4ec;--ag-row-hover-color:#fafafa;--ag-column-hover-color:#fafafa;--ag-control-panel-background-color:#fafafa;--ag-selected-row-background-color:#eee;--ag-checkbox-unchecked-color:#333;--ag-value-change-value-highlight-background-color:#00acc1;--ag-side-button-selected-background-color:transparent;--ag-range-selection-border-color:var(--ag-material-primary-color);--ag-checkbox-checked-color:var(--ag-material-accent-color);--ag-borders:none;--ag-borders-critical:solid 1px;--ag-border-color:#e2e2e2;--ag-grid-size:8px;--ag-icon-size:18px;--ag-header-height:calc(var(--ag-grid-size)*7);--ag-row-height:calc(var(--ag-grid-size)*6);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-list-item-height:calc(var(--ag-grid-size)*4);--ag-row-group-indent-size:calc(var(--ag-grid-size)*3 + var(--ag-icon-size));--ag-filter-tool-panel-sub-level-row-height:calc(var(--ag-grid-size)*4);--ag-checkbox-border-radius:2px;--ag-toggle-button-switch-border-width:2px;--ag-toggle-button-height:var(--ag-icon-size);--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:calc(var(--ag-grid-size)*1.75);--ag-font-family:"Roboto",sans-serif;--ag-font-size:13px;--ag-icon-font-family:agGridMaterial;--ag-selected-tab-underline-color:var(--ag-material-primary-color);--ag-selected-tab-underline-width:2px;--ag-input-focus-border-color:var(--ag-material-primary-color);--ag-input-focus-box-shadow:0 0 0 5px rgba(32,33,36,0.122);--ag-card-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);--ag-card-radius:2px;--ag-invalid-color:#e02525}.ag-theme-material .ag-filter-toolpanel-header,.ag-theme-material .ag-filter-toolpanel-search,.ag-theme-material .ag-header-row,.ag-theme-material .ag-multi-filter-group-title-bar,.ag-theme-material .ag-panel-title-bar-title,.ag-theme-material .ag-status-bar{font-size:calc(var(--ag-font-size) - 1px);font-weight:600;color:var(--ag-header-foreground-color)}.ag-theme-material .ag-tab{height:calc(var(--ag-grid-size)*4.5);flex:1 1 auto}.ag-theme-material .ag-column-drop-horizontal,.ag-theme-material .ag-tabs-header{background-color:var(--ag-subheader-background-color)}.ag-theme-material .ag-tabs-body{padding:calc(var(--ag-grid-size)*0.5) 0}.ag-theme-material .ag-tabs-body .ag-menu-list{padding-top:0;padding-bottom:0}.ag-theme-material .ag-header-cell,.ag-theme-material .ag-header-group-cell{transition:background-color .5s}.ag-theme-material .ag-row-last:not(.ag-row-first) .ag-cell-inline-editing{bottom:0}.ag-theme-material .ag-cell-inline-editing{padding:var(--ag-grid-size);height:calc(var(--ag-row-height) + var(--ag-grid-size)*3);border-color:var(--ag-border-color)!important}.ag-theme-material .ag-has-focus .ag-cell-inline-editing{border-color:var(--ag-input-focus-border-color)!important}.ag-theme-material .ag-column-drop-vertical{border-bottom:1px solid;border-bottom-color:var(--ag-border-color);padding-top:var(--ag-grid-size)}.ag-theme-material .ag-column-drop-vertical.ag-last-column-drop{border-bottom:none}.ag-theme-material .ag-column-drop-vertical-cell{margin-left:0}.ag-theme-material .ag-column-drop-vertical-empty-message{font-size:calc(var(--ag-font-size) - 1px);font-weight:600;color:var(--ag-disabled-foreground-color)}.ag-theme-material .ag-ltr .ag-column-drop-vertical-empty-message{padding-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-right:var(--ag-grid-size)}.ag-theme-material .ag-rtl .ag-column-drop-vertical-empty-message{padding-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-left:var(--ag-grid-size)}.ag-theme-material .ag-status-bar{border:1px solid;border-color:var(--ag-border-color)}.ag-theme-material .ag-column-panel-column-select{border-top:1px solid;border-top-color:var(--ag-border-color)}.ag-theme-material .ag-column-select,.ag-theme-material .ag-column-select-header{border-bottom:1px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material .ag-column-select-header{height:var(--ag-header-height)}.ag-theme-material .ag-group-title-bar{padding:calc(var(--ag-grid-size)*0.75) var(--ag-grid-size)}.ag-theme-material .ag-charts-format-sub-level-group-title-bar{padding:calc(var(--ag-grid-size)*0.5) var(--ag-grid-size)}.ag-theme-material .ag-chart-data-section,.ag-theme-material .ag-chart-format-section{padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-material .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-material .ag-chart-menu-close .ag-icon{background:var(--ag-subheader-background-color)}.ag-theme-material input[class^=ag-]:not([type]),.ag-theme-material input[class^=ag-][type=date],.ag-theme-material input[class^=ag-][type=datetime-local],.ag-theme-material input[class^=ag-][type=number],.ag-theme-material input[class^=ag-][type=tel],.ag-theme-material input[class^=ag-][type=text],.ag-theme-material textarea[class^=ag-]{background:transparent;color:var(--ag-foreground-color);font-family:inherit;font-size:inherit;height:calc(var(--ag-grid-size)*5);padding-bottom:var(--ag-grid-size);border-width:0;border-bottom:2px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material input[class^=ag-]:not([type]):focus,.ag-theme-material input[class^=ag-][type=date]:focus,.ag-theme-material input[class^=ag-][type=datetime-local]:focus,.ag-theme-material input[class^=ag-][type=number]:focus,.ag-theme-material input[class^=ag-][type=tel]:focus,.ag-theme-material input[class^=ag-][type=text]:focus,.ag-theme-material textarea[class^=ag-]:focus{border-bottom:2px solid;border-bottom-color:var(--ag-material-primary-color);outline:none;box-shadow:none}.ag-theme-material input[class^=ag-]:not([type])::placeholder,.ag-theme-material input[class^=ag-][type=date]::placeholder,.ag-theme-material input[class^=ag-][type=datetime-local]::placeholder,.ag-theme-material input[class^=ag-][type=number]::placeholder,.ag-theme-material input[class^=ag-][type=tel]::placeholder,.ag-theme-material input[class^=ag-][type=text]::placeholder,.ag-theme-material textarea[class^=ag-]::placeholder{color:var(--ag-disabled-foreground-color)}.ag-theme-material input[class^=ag-]:not([type]):disabled,.ag-theme-material input[class^=ag-][type=date]:disabled,.ag-theme-material input[class^=ag-][type=datetime-local]:disabled,.ag-theme-material input[class^=ag-][type=number]:disabled,.ag-theme-material input[class^=ag-][type=tel]:disabled,.ag-theme-material input[class^=ag-][type=text]:disabled,.ag-theme-material textarea[class^=ag-]:disabled{border-bottom:1px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material input[class^=ag-]:not([type]):invalid,.ag-theme-material input[class^=ag-][type=date]:invalid,.ag-theme-material input[class^=ag-][type=datetime-local]:invalid,.ag-theme-material input[class^=ag-][type=number]:invalid,.ag-theme-material input[class^=ag-][type=tel]:invalid,.ag-theme-material input[class^=ag-][type=text]:invalid,.ag-theme-material textarea[class^=ag-]:invalid{border-width:0;border-bottom:1px solid;border-bottom-color:var(--ag-invalid-color);color:var(--ag-invalid-color)}.ag-theme-material .ag-standard-button{appearance:none;background-color:transparent;border:0;color:var(--ag-material-primary-color);font-family:inherit;font-size:inherit;margin:0;padding:0;text-transform:uppercase}.ag-theme-material .ag-standard-button:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-theme-material.ag-dnd-ghost{font-size:calc(var(--ag-font-size) - 1px);font-weight:600}.ag-theme-material .ag-filter-toolpanel-header{height:calc(var(--ag-grid-size)*4)}.ag-theme-material .ag-filter-toolpanel-group-level-0-header{height:calc(var(--ag-grid-size)*7)}.ag-theme-material .ag-ltr .ag-filter-apply-panel-button{margin-left:var(--ag-grid-size)}.ag-theme-material .ag-rtl .ag-filter-apply-panel-button{margin-right:var(--ag-grid-size)}.ag-theme-material .ag-layout-auto-height .ag-center-cols-clipper,.ag-theme-material .ag-layout-auto-height .ag-center-cols-container,.ag-theme-material .ag-layout-print .ag-center-cols-clipper,.ag-theme-material .ag-layout-print .ag-center-cols-container{min-height:150px}.ag-theme-material .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:60px}.ag-theme-material .ag-picker-field-wrapper:focus{box-shadow:0 0 0 1px var(--ag-material-primary-color)}',""]),e.exports=t},function(e,t,r){var i=r(1),o=r(23);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};i(o,a);e.exports=o.locals||{}},function(e,t,r){(t=r(2)(!1)).push([e.i,'@font-face{font-family:agGridMaterial;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABCcAAsAAAAAI8QAABBJAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIkABmAAiyoKolScdAE2AiQDgigLgRYABCAFhF4HhQobhx9VBDYOAIT0QxtFiZz0sv8vE7TLtPNhQtSgqVE0lYIwwWMDPiZ7L0NPuCaLHdwkLpR9XeG4dDkRMxeXb287jVmdPdFsKCUP9Gu093f3XLu5ImoJolmWTElkEiExZBJe71CXni3ZT4CSzJwUxq4/Zhi3BsD/0DY/YAKCYgH2nQ1rrAQbMe7OLLYhuW5j0bBiwS2zWOHegwXL/an5UXqbPSz2JRnz9tz0S90xCEwCEk/I7Q5tqs7m08sO2QXgrTxMCQsSLgD/Iq3SartI9BABk2ulTgFQAgphkuUsHFHuWOU5z3tXJvUsq36qiHf3StsvIBgD7Dq1daZToSolQVXDJg1DVhop7nNvvyRevXpFSgr1xmEkwqOQUSiUxHm8x0216PEIFbImgwf2c/8daQ1smysiHDfJqGh83TfuRAAyvTn4yWRxU+6lz60rKmGycwBx83Dp5+xx6YMgrBkTlB9yUqpp659bvgRWuMVtiLzi0LgBqdC6+FD8PVa29sSpoeHFMRKKkClUGp6IdeZV6QyIGExFZdeYoCwfmVIGYxRxbeWuClXaiKCOUt+ISBd5Rn09srCn1Vrah6c5ESgomwyrWnqz9FQkOvn6WQijf/tdZZ4pbTSBToECAs8AiaUPGWvYoTRzSDOEkWowumcNZRImTGukj2uhZNBwgEVl1JtpUVGdvUesk+YBU5gcZ4692pSqZL42Vsn+evksmMTTZQ23EUhnq9sz/HVCg5rQXPPdKbQeXJZSaeN1ddZcp286SJLpclfuPO5JU2phRKpT3VTmilefPvvqmx/+c1y6kiGb1ILtd6k8x3Rd1jUEk15T7LgkkKptsBxtZYY61TXVjG/KgQ0lTE2VhjKGMC9YGchUMi0XmdDLgImPXHjMWGBRG8HIGr45l8FQh9U+mZbrv5WpPMjbymFVU2fUvFbBG6mGmjHaoqGNVeG8bpDfwqGLzzlYO9UN5kN/fepuoYzwdLvqNNdp1X+u0HK1LNE1UfmX38o01oWeJqrmziS/Pmck6TtyGum3ZWhFl+zfj0q9rO+g0vd5or6B5XProdXQpFiJS04Tec9Ldt99kyUw4SVfmZVEj8NcKSB6wB/Bs93vh+9tgQoiQkx+Y/XM1CmfNf1isZkDSeZXaIWvlQIpQAw0AgmIMvXLkEDReSOkqvoZ7D+ylfGwhx/XPPjF9vc1+bjoxi8uNZbHQT28P3ekgDevu0z/rewt2qRwWKrXF4bOmEW8p49n2pyAh2ACsfPZsoqqmrqGppa2jq6ea28PjYxN+COcmVtYWqlZ29ja2es6ODo5u7i6uXuoeXp5g5BK7vGYt9pGzEDKqK2AMxhq6rX+//1ylPZ5yRweZwPij1wuomnVxvPjpA04kRHgZAaAUxnH6XQCZzKLs2kHzmUIOJ9u4GKGgUsZBC5nAlfSC1xND3AtU7iRDuBm+oFb6QJuZxJ3MoO76QPuZRT3M40Ha3P84rCTB4gAYoACQBFgCWAZYAVgFWANYB1gA2ATYAtgG2AHYBdgD2Af4ADgEOAI4BjgBOAU4AzgHOAC4BLgCuCaXbLArw3ybgHuAO4BHgAeGbTVE9B5BngBeAV4A3gH+AD4BPgC+GaXLPCLwEwKkDHDEvMb3/nl/eSn1F9yEU7Bfh/+YhYfztC0uK/4QhR3WtPSw9ksI5oYboaqNqh8qYJgJTSlbZNEDr3MTsmXvFSiKdO0TifrUlhn8nUprz6JsxaOSeePf1I+rjc7s7SRsRNohbPhCVKZTCpfSjUNzxUxlRgbls+lvKrU3MlsakSJKZcv5JPyRWZSmYbUWN+zcgVh4CnJLtJAJaebGLiArO2SIKFEIhQKD3aoRFZSdK3zLQ84RotwjFPxGCOjUw60S96pZJdQHXyIRnh/2AQVhX6d/XKHZPTdr7Tefb8PWXPv24F1SqwXyoPsL4Sin8nPDm5y97p2sWZtrxKi0nRl+A2i/7r/YOYemzlEAw4EgAMAgipCYcUO9wASfW5uF7xD+d6TPyRF00zsc/ovZeXLpc2/fi+F+Z1cGphFl/RrMiqv6IMMKL70QQwHsjniSOkopQOr9JErV9Beunbs2Ckw528/p+7pTaIrtlY+dg3tHaJPXnXXRx0+7KpC33iCdmpthlKnPnq0St11MMculS9du2VuXz/k4tWjhS6tdsxeIbpaLU25WKpePaqEOjwMSrNVTZp4paKntbIsl6vwH/UbmIdTtlbdCXWF21fmtXupX/Tur0QdB/Pul/3xRr/9Sd00wS9hwsb9fg9mpBI0XOluSWYmZPvaoV/JZpnNZequjhBq2PUgaxmip3NRbTK9YC+VpV3mC2ivgdnfyZ32aPafeheh/TJdxtSJMBR3gmb5ehIemb4cRQXtr5F48m3YIJcArYwiGStxZDhd7oT4zxGbn6pkwMMuBI76vm7rmzVx7MJQB0GvfXJD33zqnt82t56tpgHXkSLs8Nr4bql++GbW0Qj9guKWYijsZg/vfEFcTzxQ7uvdrTbgF8VAJT66/50O3eWAZMb23k7nmrVdkh0073/T0w1sEOgwjOK/3oma46uRZRVv9ZsfGFxaHJso2q8Ep1BwSRC4VJW6KwFZ3XQHtnGT+EUFZYMKK4VsVjEeEsFLWovyK35/AmvM4bTUhcvWvIrW2mj5+pch0WfFfXz/KMOj0WMHFG8KPXdVX7HXzIHYPIjlyABGYcjx1PLq1shovMQeU0l59BhWx6Vd56HWquxbgB0c4qajA5UzqW5NxSXJZeUpTXUA2pxcWpxaTrQd0AqUa2PuBNc8acHNUC8wssNOvqt22s43Tlc4TLgxm6+smO2YYoIJDC+Rj6Gy/FG8tjitodx+a4ygMRRE+QickJeXCRq9nXF5af2NVUe8qKHyEffFBBPviEou36f094XTCYaOuHAHHh9DmbT7egTRw8SyNTa89+sMG8aycy7MNi70xnVTKBjHk2r1SRlRx+0T6uzSDUpGyNj8DQFpNZjNv/Hf782bpFIIEi/SNsTXxcbWxTe8EoyvLrbX/2oEEdMvWkisX3kWRfcJ1weO04/7kDM0d6jZPuzXMIhbYKYH9roVSA+81Suw8+GEoHRv78LC8+dMpkKZnnYJhBqh2jeKPt31Naq11vDxpNFoaGqiUlOSz/OCz587vz1ly5bujwQPgSxAePinbiANZAXs+jUwefC9325HWxWBVdgY1IEFXwxHj/HiDXY7EdCO2VBAcvAc29jSywigOQggOzckB4UQw+Wcy9Bv8tNNZrns+qIg9tZ7eesw9STJTkqEPKJfRFtE7Oq/mTVz9w2/18NHzqLccYlMd39EURvvMWcH3PJyl/f7tUrijZwZRvP0TQrnuK50G5U8dADbd3f/4EOtweXlvPGsFTtYPK63TwDrko3D6GaNHqj5xPQo47CMvt9i10Bvr1c+nLEOI7xXuQ1KlL0M5Li5Vm3I9PFZd46zPKk7+lDUYW40eI9iDJfSHbmi21zVEvaBWm7/q71d6Ks4WhBa3Q4fsjx6FBQf6aRnhjNOfOBLBkS4wyP3cvoBvxDePPE8V7HrXITfkSdJJx9JfpV4Lg/hH8jLe/SoLghEHjYvWi234qXdOl8xMn9wd3u+TxrbA/mRVJlWufImfsaF3YfpIS1sx0YeW8jp5npxY8rHl42KmeHowg5mc6B7132Cg+7Ya4QF7i1PxEhEyIZWqbSiv7w4JzArcJDSL7sdb9QUSiWTxXKKXiaWaFxDYseLW69KkIjQf9lZmbxcIzD4OsLqi9OqqicPmDrjcmRwTDdY31UACQ1fMifQmJnon+3fqmihME8gyKsQjLdClAqo/IvLRcsvijYXBkY7iZGoEbNgGtSG2+C76PgxqpusdvlmxW04iDhaA2bQk+s8ZEt9nu+i9d6FGh8N+dTLK2xqlUAtKzTqpyq1JgNfdxXX93eZwN9m80apwBsdf0pYY0X5u1CyiEyoj4ur0wkGJ6TKoLv4G51kuGy4qZuJzo4+Y1i91hIEo1paZbLWlrmauQu/oS2ty89Vt06tSU9f2oDzbYUFs8BY+4aOs+CWG21kwH7dhtnyKMCr0/4v6NHV8kW53qPGaqFUUFAgkAqrE+To6lu3+Khc6nnwJpxyg35TFNvP/C3+e2cbAsiylZG7Y0I9ZqAzEE4l+pK7DB9nHIdDVUxHR5tu6NlzgeDp056Rhwm8pwcnDo/seQoi93hDkPBU0GZOCYOiGMeLHAfr1CPTjgRstfS0dZzllLt3yfXkp95t/3vuZPyfuvSst+kZ+eypSaDrsza31YRXhHV0hFWE11wRjK+j4999TfgVhbVT81RlTWylSFQZW/OoYfdeKaqJfZRrDdYvEl1mpm5mwfLOjH47sf0yhSBxxsaXl/elRaHfJFtobigWemPZUKmfQmG4LosMCsUCHNDqmED16e3wTnQ42nlRytItWza+N1utR+F6QC6eC7u6j31a/RvtIklOn37+nFBhrMRwJTG1MTmh/6WNphoMc8lRTJq4JGdgesJTe09oyP1MK0EE4bq62txckhxw4CCMnfD/v31fC4vIQssEIN5JfmdkppVFxaNwwdNpJK1FNz2aQ7V0mEg7brLA/p9YRfus9OqlTJdSyWU6V1LNO10RhKMfuvGZVG0XdTQ6km3DqWd1euCLFVy2jk4WuJmW22K029p9Oi21zWId06Oz1Fq99hLyTlQV4mYaE8KlBpKyUOdcwlD8/+LbkA9B33bXs5O/uTBoZoBQ5fr62ESB3NHfnEqHxO/PEImRNsv5i6P4G5bT/LJXP3+oBUeRleAqaAREZrAV8RfWVD6cc20qQMGYEkE2JfRxHBklQDJw0qwUoLAAp6oGLp2VCbMg/+xZ0AjDgAbg4AoAo2EmsxJQgAs4ycBdOMXAa7PSUIaPSgYjKTALQVL8vz8KUylM+YStRPfNKEo06TeGMZnhclLv4j9KjUzNa/dylG6RUKZP0zX92tQpvKn6xgvn5oNJMSVuivAnWu0G1fK+2fjxRXSW854JW4numxivSE36HcTDGPXciNFKq7X/Alc+dKbmtXsxBluN0oKKdU2/btg6hbfpWPWsF86R9lEzZ4hTiHmqFTX9RCtIN5SgBcTYhOvzpuRpaxHe5W0gU/Y9H3hIQgrSkIEs5CD/dwriAft9+Ger63R7/cFwNJ5MZ/PFcrXebHf7w/F0vlxv98fz9SaUSbKiarphWrbjeuBDACFEEEMCKWSQQwFfpKbwCUEwGI1Mx0aE53pgqj22hiymIzsY0Vs3RPvV89LuM+ieM+eJ5FBRciSjeH8sPJKR+dJyYmlLTAyVk4c4ZqrnlknFWEV3aLmsR1a41gNbpwM76qHDao9w+Wnl1P5iard1Z7hiW5Opw0GUO/Yx/aByFDepehgklqMgPJbDk4oui16PU6QLX+xJYuMihdNslpjjDg8z0nhqqZA6BTHhBbG2JiWe4T8qhX14AIUeEyfWWyn6brjtR1Wmlr2/ybjRkcQw6GE1E57XXEN163imA9cI/QL+HP10gmzEeit6uVdBdJ12lm3MBel0JOtfCRgIIICgEIGBYIYKFhIM8AU9LNA6yDBCgRUm8LDbAwAAAA==);font-weight:400;font-style:normal}.ag-theme-material{--ag-material-primary-color:#3f51b5;--ag-material-accent-color:#ff4081;--ag-foreground-color:rgba(0,0,0,0.87);--ag-secondary-foreground-color:rgba(0,0,0,0.54);--ag-disabled-foreground-color:rgba(0,0,0,0.38);--ag-background-color:#fff;--ag-header-background-color:#fff;--ag-tooltip-background-color:#fff;--ag-subheader-background-color:#eee;--ag-subheader-toolbar-background-color:hsla(0,0%,93.3%,0.5);--ag-header-cell-hover-background-color:#f2f2f2;--ag-chip-background-color:#e2e2e2;--ag-range-selection-background-color:rgba(122,134,203,0.1);--ag-range-selection-background-color-2:rgba(122,134,203,0.19);--ag-range-selection-background-color-3:rgba(122,134,203,0.27);--ag-range-selection-background-color-4:rgba(122,134,203,0.34);--ag-range-selection-highlight-color:#fce4ec;--ag-row-hover-color:#fafafa;--ag-column-hover-color:#fafafa;--ag-control-panel-background-color:#fafafa;--ag-selected-row-background-color:#eee;--ag-checkbox-unchecked-color:#333;--ag-value-change-value-highlight-background-color:#00acc1;--ag-side-button-selected-background-color:transparent;--ag-range-selection-border-color:var(--ag-material-primary-color);--ag-checkbox-checked-color:var(--ag-material-accent-color);--ag-borders:none;--ag-borders-critical:solid 1px;--ag-border-color:#e2e2e2;--ag-grid-size:8px;--ag-icon-size:18px;--ag-header-height:calc(var(--ag-grid-size)*7);--ag-row-height:calc(var(--ag-grid-size)*6);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-list-item-height:calc(var(--ag-grid-size)*4);--ag-row-group-indent-size:calc(var(--ag-grid-size)*3 + var(--ag-icon-size));--ag-filter-tool-panel-sub-level-row-height:calc(var(--ag-grid-size)*4);--ag-checkbox-border-radius:2px;--ag-toggle-button-switch-border-width:2px;--ag-toggle-button-height:var(--ag-icon-size);--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:calc(var(--ag-grid-size)*1.75);--ag-font-family:"Roboto",sans-serif;--ag-font-size:13px;--ag-icon-font-family:agGridMaterial;--ag-selected-tab-underline-color:var(--ag-material-primary-color);--ag-selected-tab-underline-width:2px;--ag-input-focus-border-color:var(--ag-material-primary-color);--ag-input-focus-box-shadow:0 0 0 5px rgba(32,33,36,0.122);--ag-card-shadow:0 3px 1px -2px rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);--ag-card-radius:2px;--ag-invalid-color:#e02525}.ag-theme-material .ag-filter-toolpanel-header,.ag-theme-material .ag-filter-toolpanel-search,.ag-theme-material .ag-header-row,.ag-theme-material .ag-multi-filter-group-title-bar,.ag-theme-material .ag-panel-title-bar-title,.ag-theme-material .ag-status-bar{font-size:calc(var(--ag-font-size) - 1px);font-weight:600;color:var(--ag-header-foreground-color)}.ag-theme-material .ag-tab{height:calc(var(--ag-grid-size)*4.5);flex:1 1 auto}.ag-theme-material .ag-column-drop-horizontal,.ag-theme-material .ag-tabs-header{background-color:var(--ag-subheader-background-color)}.ag-theme-material .ag-tabs-body{padding:calc(var(--ag-grid-size)*0.5) 0}.ag-theme-material .ag-tabs-body .ag-menu-list{padding-top:0;padding-bottom:0}.ag-theme-material .ag-header-cell,.ag-theme-material .ag-header-group-cell{transition:background-color .5s}.ag-theme-material .ag-row-last:not(.ag-row-first) .ag-cell-inline-editing{bottom:0}.ag-theme-material .ag-cell-inline-editing{padding:var(--ag-grid-size);height:calc(var(--ag-row-height) + var(--ag-grid-size)*3);border-color:var(--ag-border-color)!important}.ag-theme-material .ag-has-focus .ag-cell-inline-editing{border-color:var(--ag-input-focus-border-color)!important}.ag-theme-material .ag-column-drop-vertical{border-bottom:1px solid;border-bottom-color:var(--ag-border-color);padding-top:var(--ag-grid-size)}.ag-theme-material .ag-column-drop-vertical.ag-last-column-drop{border-bottom:none}.ag-theme-material .ag-column-drop-vertical-cell{margin-left:0}.ag-theme-material .ag-column-drop-vertical-empty-message{font-size:calc(var(--ag-font-size) - 1px);font-weight:600;color:var(--ag-disabled-foreground-color)}.ag-theme-material .ag-ltr .ag-column-drop-vertical-empty-message{padding-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-right:var(--ag-grid-size)}.ag-theme-material .ag-rtl .ag-column-drop-vertical-empty-message{padding-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);padding-left:var(--ag-grid-size)}.ag-theme-material .ag-status-bar{border:1px solid;border-color:var(--ag-border-color)}.ag-theme-material .ag-column-panel-column-select{border-top:1px solid;border-top-color:var(--ag-border-color)}.ag-theme-material .ag-column-select,.ag-theme-material .ag-column-select-header{border-bottom:1px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material .ag-column-select-header{height:var(--ag-header-height)}.ag-theme-material .ag-group-title-bar{padding:calc(var(--ag-grid-size)*0.75) var(--ag-grid-size)}.ag-theme-material .ag-charts-format-sub-level-group-title-bar{padding:calc(var(--ag-grid-size)*0.5) var(--ag-grid-size)}.ag-theme-material .ag-chart-data-section,.ag-theme-material .ag-chart-format-section{padding-bottom:calc(var(--ag-grid-size)*0.5)}.ag-theme-material .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-material .ag-chart-menu-close .ag-icon{background:var(--ag-subheader-background-color)}.ag-theme-material input[class^=ag-]:not([type]),.ag-theme-material input[class^=ag-][type=date],.ag-theme-material input[class^=ag-][type=datetime-local],.ag-theme-material input[class^=ag-][type=number],.ag-theme-material input[class^=ag-][type=tel],.ag-theme-material input[class^=ag-][type=text],.ag-theme-material textarea[class^=ag-]{background:transparent;color:var(--ag-foreground-color);font-family:inherit;font-size:inherit;height:calc(var(--ag-grid-size)*5);padding-bottom:var(--ag-grid-size);border-width:0;border-bottom:2px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material input[class^=ag-]:not([type]):focus,.ag-theme-material input[class^=ag-][type=date]:focus,.ag-theme-material input[class^=ag-][type=datetime-local]:focus,.ag-theme-material input[class^=ag-][type=number]:focus,.ag-theme-material input[class^=ag-][type=tel]:focus,.ag-theme-material input[class^=ag-][type=text]:focus,.ag-theme-material textarea[class^=ag-]:focus{border-bottom:2px solid;border-bottom-color:var(--ag-material-primary-color);outline:none;box-shadow:none}.ag-theme-material input[class^=ag-]:not([type])::placeholder,.ag-theme-material input[class^=ag-][type=date]::placeholder,.ag-theme-material input[class^=ag-][type=datetime-local]::placeholder,.ag-theme-material input[class^=ag-][type=number]::placeholder,.ag-theme-material input[class^=ag-][type=tel]::placeholder,.ag-theme-material input[class^=ag-][type=text]::placeholder,.ag-theme-material textarea[class^=ag-]::placeholder{color:var(--ag-disabled-foreground-color)}.ag-theme-material input[class^=ag-]:not([type]):disabled,.ag-theme-material input[class^=ag-][type=date]:disabled,.ag-theme-material input[class^=ag-][type=datetime-local]:disabled,.ag-theme-material input[class^=ag-][type=number]:disabled,.ag-theme-material input[class^=ag-][type=tel]:disabled,.ag-theme-material input[class^=ag-][type=text]:disabled,.ag-theme-material textarea[class^=ag-]:disabled{border-bottom:1px solid;border-bottom-color:var(--ag-border-color)}.ag-theme-material input[class^=ag-]:not([type]):invalid,.ag-theme-material input[class^=ag-][type=date]:invalid,.ag-theme-material input[class^=ag-][type=datetime-local]:invalid,.ag-theme-material input[class^=ag-][type=number]:invalid,.ag-theme-material input[class^=ag-][type=tel]:invalid,.ag-theme-material input[class^=ag-][type=text]:invalid,.ag-theme-material textarea[class^=ag-]:invalid{border-width:0;border-bottom:1px solid;border-bottom-color:var(--ag-invalid-color);color:var(--ag-invalid-color)}.ag-theme-material .ag-standard-button{appearance:none;background-color:transparent;border:0;color:var(--ag-material-primary-color);font-family:inherit;font-size:inherit;margin:0;padding:0;text-transform:uppercase}.ag-theme-material .ag-standard-button:disabled{color:var(--ag-disabled-foreground-color);background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color)}.ag-theme-material.ag-dnd-ghost{font-size:calc(var(--ag-font-size) - 1px);font-weight:600}.ag-theme-material .ag-filter-toolpanel-header{height:calc(var(--ag-grid-size)*4)}.ag-theme-material .ag-filter-toolpanel-group-level-0-header{height:calc(var(--ag-grid-size)*7)}.ag-theme-material .ag-ltr .ag-filter-apply-panel-button{margin-left:var(--ag-grid-size)}.ag-theme-material .ag-rtl .ag-filter-apply-panel-button{margin-right:var(--ag-grid-size)}.ag-theme-material .ag-layout-auto-height .ag-center-cols-clipper,.ag-theme-material .ag-layout-auto-height .ag-center-cols-container,.ag-theme-material .ag-layout-print .ag-center-cols-clipper,.ag-theme-material .ag-layout-print .ag-center-cols-container{min-height:150px}.ag-theme-material .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:60px}.ag-theme-material .ag-picker-field-wrapper:focus{box-shadow:0 0 0 1px var(--ag-material-primary-color)}',""]),e.exports=t},function(e,t,r){var i=r(1),o=r(25);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};i(o,a);e.exports=o.locals||{}},function(e,t,r){(t=r(2)(!1)).push([e.i,"@font-face{font-family:agGridAlpine;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABIkAAsAAAAAJkAAABHTAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIkABmAAiyoKp0ygSgE2AiQDgjALgRoABCAFhEYHhRwbXyFFIbBxAJDYv7AiqieV7P96QZO4Gu9qEMLAgorXqyjcVJKxQxvbtQieEq6u3unbTP3JwOa8v9MeN5Q8Caix/+09wyXRVJ6IfU2IWoiiiWgSIp5JhMSQaX44l/dN+kSUcPER5OzkhHT7gd9m7/PN/wkLMCowCmy8M+qHlXA73abzZiEb3DVcFEavrFyzTvMyXLeieOl4CQlIYbBNxUopM8Nip4zZ0vd82bEQmAQkTsiVYMv9DdPoIJ9DCT5BRcD/P/dqmWTV4A1khZ6f04HXNve+mwJnKdEvp5wBsgWC/5ues98OENRmp4Dl3IQnoXcm1Jydm/+MzfZ0da0rjEJkDPufQ66CYNqwBz9fhdkubhpvRgCmW3MZ9WZ/0uxT+y+dsRzmrRhA3DGcOn50v6mbLFgQE4TvcWyxpK4fl3wNVrgUXkcWRp2jpdEz0efRd9H/kLC2pYAY6p8bw1GEICmaIYgthlYsNmTaHE5dVpnJdT5rWQJjpIs2p6m7ldKIo45RDyqaUsSD6yDj7q/uKinhvdMmTBLlEbCopjVbTsRV0kGei7DXN54VtteylXaUdDSPaa+Ac+UhaYEJNa52HUV2kA3cQVq+tcAxp7Qg6+K2mETrApdi6y3eLMI7dcZFkraCSQ6fzNip7qiKcLCVq+hvOa+AcXspHXiIvvxUcX3a1wHrxZzkxYFOPnjf2Xg8Ude1oja/f90i7i5lKbx40E0ta2DETVJc1dUZ9731xTff/fQfAlOFFHn4ADa/ImNPzMrDspK+zTTH3fmko4S0xESEddPEKWoamIMWga2TmJgoWgsM4TRYdzRdSNbprCHLhgWnnE8zmBjTQzBCwjSHsNniQK3NttnmW3czBzI2JyyqamyrrpUbo0ujalAu3kWxjDzTJqyQU1wXgKVTps2ZdOequYYwYi9NleshqbVeXtI50VQwtbP69rfCNLch55ioujFqKGxo4mYj7c/yesxOmNzAPsTNyMw+pNzaEJRX6LjuTpooygim0BCQROxcCPpaO1xHDSO5mK5Y5GG4Lw4iNyIfcJu9+/DD5sAAEWaUd0mjRxqHfLH+F0FXsSNWFX9FGg/mYsDpOQqsA2IgMl1cHmJQWLcOEuU9GOwfM4UZsIU/59z49b95g/V+nXThF1LJnhHE/dZ1QxxYnrlTMF9xt6IhJF+RyJoCJwPOOJecvbaewIBgpuDiQsMiomLiEpJS0jKyctRai0rKKvhFWFPX0NTS1tHV0zcwNDI2MTUzt7C00ra2sQUhwRvONbatFefI79QbbmnxpFVf//15cb7l9tcep/1MQPQxGvpYv1cOfT/YVuAAq+AgKwCHWB2HWRI4wro4yrYBx1gJOM7SwElWxilWBE6zBs6wLHCWZYBzrIULbDtwkeWBSywFXGZNXGEdXGU54Bqr4jpr48bAHr+AvkSAEAVCDAhxICSAkARCChBSgZAGhHQgZAAhEwhZQMgGQg4QcoGQB4R8IBQAoRAIRUAoBkIJEEqBUAaEciBUAKESCFVAqAZCDRBqgVAHhHogNAChEQhNQGgGQgsQWoHQBoR2IHQAoRMIXUDoBkIP1K7TC/SmDwj9AEiyyBPxCDeJ32Jq/L5SuCTQgA+9YgrDr0OwVUVexYVeyFNcwF0FuoE0V1IcHYu52gT+0kXBK4nr6el0CcZlMiPM9IKDQY100KueobGOYYxqXmE2bizVAIvs3nqFKcc2YSnyk3Q66OkY8nTCVJah4UHTi65clskzVJytzLmz0OWG+nq6ehZcVgN2CUBdufG7YapTyZhAEsBCmDTFKiHIKIpeKyIJIV1OElQuSUcvo0RIF3kpyKIZOErmSCplKmKxYhTkUoyaXolRUsvfwaJMisimqRySziJkuA5G4YBJcQYmM1KdmYYUM2dxY/X5OURfOXuuSUKTUvLpEAvZCEemZ6S/uQf1kkyysiqfJsnvzYbNx8FV9QKi9O3ylLF1OaUYAy/Yp+PoaciqKjvhIGOqrgDDdVlkUKq4irNkPegq57Eipi6rWqrHMyGppKQSWtZGLfNK70FU8OU882IMadJnkR3cThwvKld0DA9jqsHRrq4+RLltSour902A71VtvK5RTDUNekfUY1bt7WoNqRjfi6lc227klPfOTg2uHkOUXYO8wdFJ5dTYMHeMdJ7lvq1LNQw0Gq7LDq7m3YIm6XY+omzVKGDi++/FrjYexeNdwt5ZLWnrH9vFXdPkSZeWFIuLquVlRBlPESMzkDpP5coKrg4uU+0dV0zsU2unlJP7a1RXiPGinJeSBe19ozvNZNkEOtaEyqyS9jSDpjpmVw7h6hELkuYPSG6xBbgTpKbTru2qQR7Vtr63Y6pRRLleIs0iyOpsEbnSrrMmuWbTi1HRUdmL2OLyMsXjz62Qexf9l2YprqazKVG6XCaisrR9qPEmV+jlrFDVq1cCY3GRkEovXwl+GbHYL4PilZUK5dJH8W1lBBAohXBqSMhB6HqKziZICc7AaAzByf2crEsnlgETqQA2kueLAAWoywPhAIuVlpBEliUohuuZSWdXVuVQrALl8ct4Rd4KNSy9dAwh50x3FRjg6otHl45cwKC2tRbjYChuC/a1mVROBRNh1eyBjmFtHkr5EgPF4fqz4DIWA0NuMjCZ0evIPq2gIKUKZLbn3UsbKSKaJkmCEpH0DMysVEbyRHQf/XxVHlquUi0LpQeXQFFpDBnWd0l1wRqbBwGcc2OqRxTDqlHl2Bq2Lg4sBJdS/Hb/VZgS70mk+/zGIof4Ve7j7ntDCK7GYov3eJgzRQirt5t1cC2IU4IT7lX8MbtuR0uaq8E1/CErSrZracnmx9yexUXBH+W7l5dtfyroX1kJ/buMrbNE71mwW6lRcHuvBrsgUrPXE+QZryHAuK83Dzja7GToaa8xu3UKBxyhFu1xhFaprlgTOIJXAG7bNx9Svh0TAE6fwgBvnA5l8HzFV3wlrzKbVDSoS1RTo/aeqieNT83co86TR95gAusmS1J/b6/lALsa18FKLKl5ZVWFVFIgvSxS8j0JXcLNbCTmGDUaxEjQuyjIOr+CrPdPYCS+gTyzCFdPP+XcZTcSyJ0tp8H3b5+HomdemfChsI0ZbXD9VUCKUO2xrGivk03b1tZH07k08kT6JVFe0Z5h8EHX6uoL4sX/q6Op8AJ28Zq60rDikJDisNK/WtobLw4pDfsrJ33yOzXfF3QiVRNeBVhVsOSBcu0z+XN5Q4O8UQ6h361itj7ztmfxvI8t3h8HJ4zLTUs7fWrHjrR0setzL+9ab356MzZX5T+wXugerh8dGOgqL2cwoqNO17WdPnV6Knp8/IvrpIUjJIKjBXHjCwi88rwuqG5XazcytQ0Hn8Ya4Nf7hM3Y0F+fnSN4oYceOoGjmBA/bM0+7whOYkdwZCWOYicot13nxefhQXBuXlxcXsorGUos0XKdE4TM/y+t2rhemTCDuEndAtwkbiH7/2vip3NXrP5uaPoMWTRwjzH6CVk/sMz80mbezEga8Lw/get4YiNqyo90NTHsYzVHvRfE4c8F2u+vsqdpi03s3mm2hTmXZ8M+99AE/4Ld8k7tDaYxZcIe4D8K2Qq+Zn/xTFp1Grn9rDUR6X/amrAM84fjeLztp0x6Ir/w3O+hNfcEbjPekIrpmgsWzNe1c/YWmQde9DXA+k3qYIIZvOlQyErOpYXYGI8gMiCQlHQMGSg5fgAZJIwpayqqdyuwD8prEtdABgS52gykWJ7tCe4+G7yvO7hnH4q4NWY0prsWXWnk288F2nai4hAIjB+a0FQZmac3fzq36e13v6h5myfiGDs+icwT5fVdJU4YcPyYxqlpNTlNh743+cLczDyY3kQ1B3+ia8Cx55hArTZ0ZoXdfv5eHv62C1qxmHQvobrj61usMzw8Q+ILj13UVhUGVlPQnVDfbJUREZ6SVllqcCE+O8AiprRcEZKclew00hfslezhkeQVjOmXNAblxB7FRJBYnBbhlG8eUyZR8wWg5uIt/aQ732hfdUVpuUWM+pgR/1hl1Ld0x080OZ+HdbKVVUb4x92e2qSWdhoZGhAy2+aSnv3a3FUjmsoS/jS73ur58Sd4LDh8qHB0MJZzD4iHBNj02HKhtlUkF+1vDRcVKMwPI1quwUudMEwYqhUFilp3yUXyWSqUP2sNrJMNojBR67Mk7CothruzDWLjsqXAxPbF6urI5MHIc+kVtj5wspx1GswYDC8JDS3e0NKG8FRPTrOWTiMe6UR6w45FMSR6VgkvqXMDlqmC1E9dHj+WJHoeEknyogSpgrmUzML6dNb1kJKMoCuVvMMuYWNj7q8IEhuLIL/qL5g+IvJ+8fQLBF4NrxPWyetE+/WFdSDc5S4fMr18lgX4OT6jr7yhR8JC4R+bu6HaE3leH0VT5dXtSg8OFHineqWkeKV6F4RLnbbMz1s6SVNNkRZe1hsEfFA9ufgq89WJKUdw7N5TMrMkGX/i9IkjXnzBreRuQj4gJyBT/s03BpYR6erTXavvlpd+PRwltP3BxiZl119JSdJKXR1z54iMU+9qNH//rf3nS7+vZuWPuruLNphgFhYbK3j69cbfa+q/w/9Y5t9bWIAA05HaBA+PBH3UujT9kP5QG8wCzd/D5hfhobd1bxk4BJkY3HpywZhjEuRwV7aP3aEliBxC+2mtu0dSomfde59qk/eI0HbeFfC+XTIMsUnSb93UchDe0pFvFj4VpGzUgeIWkeiArLUFUe7bhjEd/nXr5kOtteJNm2Hi3ugrqjHy6tXoul+VFLrmuqhULrmuhRda2ukq1X3Vha4XOO71Kj5cWxiSJxDkhRT+lFJuPE9QGPJTris8uJWwIS5uw6chRdqn4V8X/6yZcrv42JGXsqSZUAz/rF493qxzp0XTYbeEgUL4p4udVqXgMYeeEtiQ+k/WP6mc81tj+eRJXFxEuK1tbCxoY+uK6+DehFlmdIWSVAjHj88iBzwkoetChLAsKtxmvsR9R2FOjoG4WqloF78TEz7fbsdhJe4BSdoRG4qLkpMHB4P27oPWzW/evN78B3jNGLdRnzcvKgS9NQQAABqnMk0jSSTYabMJrYTmkyqPplkCqkAPa1/HKABvXqLr0JvOcv3oz7rGQ4qKrtaZzPRqxD8ht3UfTJSX0rUMxkm37g16DV2FNloTqmhXqNAnVVf4FzUaUg5a02WzFZVBm6wJZFOaMFPRasShjG5pLYCiLJlXie5ATZvW4x19sim9+l+py4OFtD12JZyoRwY4ugqA5Bv+fUjhjE9/oQEwflXQYVi0KpjY78hJv0woYmXN2R96//v7AiGM+n53VSkGzJ0P4PfzQiM45QhEgscGA/Q3HICGuil8dQLtmC7g4AV6vMAQwNZ6HE6NgymsBRQQHUNAwBwULmMAGzoAReAg6CDwENMFHiyDHgJvFmBA/W8g46vh4Irkd0b4kuheUomE3xiGZCU7Qfwm/1FqZDKPGzYVXd0XEopVdKZbTB3Dk6o3XjibT6ZxSSmxKcI/CNr2quX5fuMR95pb4LxhBV9E5LxIioigb7jZfYPEEonJcoz/cA0V7xsjxqPWg6Tvl8KUJkBhdYzOcrRXo+CJ+oZn9i7Bcig+tSqSkHzge1H4rh8IXLPVK4jyf6dUM/OyZgu0cNsVjGqSXt/9sAUKBg4BCQXqTwSAL/Dq1/P/n5OUyebyhWKpXKnW6o1mq93p9vqD4Wg8mc7mi+VqvdkSyriQSlu243p+pVqrN5qtdqfb6w/kWsexg2CwGpn27AhPddse2IMgwLQLlxW9WK0Rfjuem6AY3V3mDJEcKkqOZBWvinIGkrKfQCeWpsREqOzfwyFTPYImFQuKbge6LLswXOs2nHEbXt1xWWEXv7q1g5VRrHaP7hB/bGqytd8OS/d8pRq13d1Vqu6EiWX3LOWh7JRqyppe91JRw2e5n9q6SOEgxxxzXHEnJw2PiKJzpZx1h5rwmFobmxJP6HaLhnPE7VK0W2pkPSiDY+ShXsiF3g433aDK1LD355neaFcq9LpTY8Sjej80NI4nipQ20THUKnRwJ3cYdGQ2cqWCSKQ4zLblgnQwPEN5LptWIJCKGJlUIOn96swaJxsUi5G3rg0A);font-weight:400;font-style:normal}",""]),e.exports=t},function(e,t,r){var i=r(1),o=r(27);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};i(o,a);e.exports=o.locals||{}},function(e,t,r){(t=r(2)(!1)).push([e.i,"@font-face{font-family:agGridBalham;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABToAAsAAAAAKtAAABSXAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIkABmAAiyoKsTSobwE2AiQDghwLgRAABCAFhEYHhGMbNyVVBDYOIDRjr6uI6kkh+/8ygRtD4jmwCxG6Uc8o3ROFxLQ2sYXYmrIGce1xv8pXhIMxezz3sL/PuB39LLa+YsghSdHkgf9j733/r8LSK4siEzgBRzgeDWhnPOufNl8fcPDH3reZM0lVZW1lhXQdnt9m7/NB5X9CIh06GTjCQl2oCObE6B8uytzGyrW1wVo4l9qrsFaJq2bliMtwkeeVt7sRH53vzr58LxIMUoEKUqxQQbl0AbCv+qumwLUyZ1gSDkbGq/v1VbHlArbkJyvtR8D/zf2bBXYlUDQlELqenclM5r3m3rnp/3m/lD8lykkpPyVCC6iAXvpKlDIsqpW7CtiR3bNCrtC7rtKuq1uoOeVk7MIDYmqaIqQ4q0cPBCllfKoy+H9seR+uAm2m2KiYsbVvTyMASaiI2vMamZG2/zk/lAO53TyAjwnD/ndrRcJJGZSoFNRfcUxGdR39ce41sMK5ruZHkRmZnwO5mD+jbg9TtJC7eBRDYJwgmVQGWjUtWWyatjl/+ENz+p+ZU10yIZSQZcv09EuuPizOMXUkkKrCr7yIVN5ta55eMp7pRicQHg5p2qLjy4805CpFbC7MvnzyobpQpowpxsQGdCEH4xrTGisUqPdtXglNsQy2uApzDJV8VXgGrbtkg7DDJdl5+z80/rq+lKlkekEEhx9m5afD1BIXwdyOuVbmFoQJcXtoE7NZ5baz/m11gXbSXEVxyo3Pfszyl4pzbW4aXn5dF1Oq8lSv3nSqSwEEK1RqW/p26KnnqjfvPv0rSoKaKQ/bgH0PSGEwW64bNsxOS5zxkTMxQ7/BHJJ+Q5uMZhQVyQIMM1RLU5ijMGeBfqyp1jRTqkMtG2IMuRxm0E3vwSiuU5pg36l2zH6mW1r5+oV0WrFlQpqW7rh1VlmMnolYEW9yFdUiPG3je6GM2Fcg/S/a5gx65qW3jTosJKLyKpV2s00F84fadtCmtPuhP+pM7oKmRprW7mRZ+xRT7CNeqt6RXAnNnPcPVRSZPtE6h1WGscmK2+6gqWkTRTuMUnTh/Vzx+MIOVywpknS9YiK3thQNnBa6v4C77z58VAYKiNCjbu9hYrN33YvSL5FBZmOSj0KzubsMIBaIAiVADIgkpQeHGNqbX0LT/CsT8h8p6tSI7uyfY7df1XMq9dee06/wJXnrBu278NqVBfY8HXDKV5V7UROCz6VqS0GGAak4dUK5PoFKg+iM6k7rGppa2jq6evoGhkbRBqdm5hb+JlxZ29jaadk7ODo5G7q4url7GGp5eml5e/iAEOe2Pbe5XFmLE7OSeAL8xsSU6/rfX8/Toi7MK8ZPAUSfjRpB6YM4t1ewMmCVtQBrrAFYZ+3ABqsENlkvtlg5sM2agB1WDeyxZmCfNQIHrAOHrBY4YjXAMevCKasAzlg9cM6qgAvWiUvWgytWB1yzVuCGdeO2YR9fCnohFUIahBCEdAgZEKpBqA6hBoSaEGpBqA2hDoS6EOpBqA+hAYSGEBpBaAyhCYSmEJpBaA6hBYSWEFpBaA2hDYS2ENpBaK8FyeDrgH7SEUInCJ0hdIHQlbmpdINSdIfQA0JPCL0g9GbmoI8WJIMvjLoQgRBlpolB3Ykz85EwlVKA/qerPAB3IH62JJ3VIuke1g1zvVbK10IhyZVTsFphUHEHHUCV5CouQBhKo8qAkiZrK9KG1ZA2H6lHGj6SLhAwqL35fJ8Umgv7U5HxuYw/k8GBEe14mYrJ9KMff0moj0IkoNNH8JgcqdCHirqLpTCBD5VO14b5lPn6qrdOp4sEDD8GfSSdrwgQ0/0kNBrd14cmEYin1ZtF94lPlioQS2vPuN2yL4p3uFwx35ec9XgCv5y82+sd99MM25MRmAtY8J1Px/xQeu5Z0FeTdg2M9SA210wEQkCzer36bkG3pN2lalKd53cBFEIBQ2gN2K1t9Yp6RZ09msuankCIORnXE2QCxoQxA/lWj8IkjLjDoHhw6AGbXyOQWhvmUiUL7q5kJ72VrIQnhdlZtPiiB9ALMDEej87vYxHG6SgFqUelIiQKEA7L5vFANKvXi7LtbjegWlyuGpbt7nHqnLjndh6cCjlNTt7HyogivJJzdDELYte+FkFiLG0e3zMursjHy8onkTjexO8S9wHLU/szyBreoSlFaOhUJXtJanFZwVMLEEE5MKLCsykDpyG2JyY8dcEzbz1QhuTkMgHjuai51l5tC+ER9pADfCJmsz/1aQi0wpeJtwnaUXRqiaWtqwuxHerp6NgFWfcfc6D2C0eApcnWIuzoQWzHgWVnt703oLXV3oxb+s4jtpAWHs5cur29GbX3QtaOQ8JDPUetx3pNH+xuj3V7LR22LmBpbhYoDwqau9tJnGwVQYmDzRbAx5qawr0WISEUpnGWdnNFS2fvQUH54Urxo6jkNNZTWgLrPgHsoka/yK7EbOf7LEcu2B3HrEcvMu/TT0qa3NrRc4C/eJAsD1pZhyRKB9a8vG4JTopqxQsdABYVhjeX3DtgOyQkihc8gNh6IOvyBhy7otLsJVF3DMTFfSqpwvgCPeFyjS+P6AgP6ISoG3mFRvy8K5LvxncVyMOjNU7kOanVqy13eKNFnvBdWEKvt9se0OJSlfQBi9uN2uONxyCrx4PYxtemvboLS3eE10sGu9zGgNuFoBKsmXi7IJ58kM3lAilOYvd6odo2VZdegt6pagLgTXrlLcKeQo/mMgSx51oE3QVu9SUZyIM6tTZOr/GZthWq4NFnUBCYRCAUV5ZnPruAl4OsqUeEzmRAzBJDDvEv22wERpfnMwGjAKuoLMaLCCbEIAuXN/EFF9wjdqiwLtfYswOBu7xaLbQrEFL1i/tcsr0Jl9xZ57TkFW/U0bjJNpcK63fpjsRqW0XCi56ITi3Z6x1zxj3CclylEuyUQdorAce8gfs8cWeRBfmK2eHN1BPGUgvmKkACzHMDBpebjOMESWClBIFjOFk7s21ISTgTgd0qxxwvulyfBta6cbcsXqInUwMeMAJx1kjEQ4SrN+Hx4OAnXvGyXcTtzLjKslte45VRp6IId0Zs2fUEn17eYzL4ZrYz8riOPFRrlXaE9NhUB8RtALE5rwKK5dpDlGl/fAOCrdcfIZi929Jl67H2zmbYLt8nv4KigAmh9kuRvP5KQtQqRR5LP5dG7orojT8sKh9oUefHYoJmyd7QvvGKRvgzMh/gtwkk2O2Ym6pyUW9Qp1xKCprRZtHhAKKTvZksqpvsW/COKt7Pg5RQJb/yKJy15TGIYDG/Hf6tcXe0vUHzLcEoRLhGohBpGxlBFEJLARo4JM5WcgCJASh5GwHoqi4P8iAPczjk2HKsC5BzSeUfC2Y41C7ufORdv5DEcAZgYgUkUUthwQhlzagIzyALMKJoOXHLKoz9L1ZTqIzxqo145XQ2YNXa+Pomi8BdjjfbRcZWq9BTQbRM7HK5w4643V5jkSG/3xV36LJ0tLpFhspxGcxPKOp1jD4XJq1Lez3hJz2Ijte9MFWtTvWFR6i3rzoVWGguBXbfgjhJuZQKJlN2562DZ3Ojg2WIu8HRXA1kzKdcRJmdOExp/sdoHIZZwb1/uL8q3PsvPWnpq7+mfFPhP2w01i9HImJKU75KjPgqeVr+V7/9zntMSVkO7rjS0x3byP460tOZzHsQuDrXrXvwFKwH55J3DSAoxVxBRGE6HRZFOPPIdRimI6KcrrTlCbhJk6ZWp2lMPRgTSFObNN3ANJ19Qbf6MBbGOHDQebCKDzgT9NbB41n17fXP05eYlgz+s3R4KYix6AojIgp1Y/TmhRE65uKU3/etkY24KlsruzpChn+sR7/bu/fBg+C2tvkLEp7MxKd6kx5EpwzG6pLOmpYevLi2Z09HSQmFkqC/o0e/c/vOsYS+vsYXuEQO0oBcgr1sBGe+NEYZL+oMUQaHDudEBcHW39lsx0/kARygr25Ia9JoTNpordpk0oQy2ZqgUvcxBA/RKwnjj/Tv74lcrTrdpNE2G9uVqUrwe1Bjxhk78Ftl+dIF1tQT0OjK0brRFaPHog9r2sZTTwJ+WraiAXL5qRL9v4QW7PEwNskG+P6VuuHdqQL5zaUwTxQfwqXvYlbrl0SzRaeiRl4sH0mSkpWsncdZErFAKGPdH+KijayaWQtfMjgEl7VH9MfYfSCc/6OQW0ddLtjNnB2X+0Mgl0mf1JUsFB64zd0R36i5qHaINUBQjS7LRmjimGfi+a3s81PFUQ/D/ZDd3Cpwn+2XWq2KXN3Q+uGTQpOuVqfjOTBdjU+gF9XKovllteV1/DSZxsPCMCajdtSbJJX03o6YHfdi9u6OgAtQdmGM7Zs7+VXf8xpUkduqATdrOC+QlvncBu4Ur8ic0zg3U2hkc+R/xU80Ttz1FLvpx45gcLJz5hatuNzEbRTzxWPIlUT1mA00P/ZINhds9fYpsMlXGsjfTYucReFOpnTlWDaMIh9Asu7Od8VOh8mUqejm5POK+CmR+bGR+HDYmsMH/hvqf9HvSGj5P4ssg5TF+Qm5+hm8Mv5kGR7r6MjQl8bFlcYrhUlZ68M/Zf4vg2Tpi+c16XdRMoODTyUJlfFlcbGleoUgOUv3RWuERtM2FSJmO1oitA1mae7uIOjZqEJcNzNn7qjZ8vnMKlaxMS9WRxTglxiwK6VmmJUFfaafZw5MvY0/Il9iWSLPzXaS9MC4GeNjZyzJSjNil1jjXwPjp90DUBcVY+mraijWKwJRA4NIOP2T/NyC6hWMxQ47wECVBKlckZ+kb9ysSKuKMnBWVB9+hc82U1d/iyHh/3yKOjujegUH/N2c97FbMGQYAv9/DPUGR52x3nixjq4tyuBuR8L7A1bjC3Zy6w31yxJiDbHLDCjn94l/TzhrOAs0czztN3TDkAGEbH7d0N9QToOSWA819kOoru5Hw4/9hYOAKHUjWoZIC9qa+81znIXcOr2+vFCQ1sCBTyoAJ2XoLKvku3ejemql63e9Nc95KFp/f96uUj9NdpBzzpw3wjUXFxz7ZgVSlisuzT7EMZtjR9UfHZvLlJVFcyj7drc6cuAUb8qOPcm5A9M1gDvVMGxYEHjnjiPxGmrLIdYNG4Z1CanMqWzZVG2A809XpPTg5R3KF59T0tKqqvLza7X7O5kIEPVUUmWsqq8ywPTGKvDoPfz553CIv3DLZcrnfJUX5hekic2zr/7yS+cXzi9P6FLSaV3SJdaQ9YL/VxC0f9kUCI/Oj5x7iD4VLVNPUuZljzPFnFOQ/CmCZMMd406oCCIUGUGJ80psYxINeVC6NkU96TO/PD9Mka3MLQjL0fRTc9RYqBqXm3wx3/zizWmajNCWux9pJlpabt21pFEZPjH08uoa/1kRZuna5p/omv4HSVDj0upqA7JVlChJLt5RQG0cGC/Kmir9///nYDRPxj3lbfyB+KHRe4pbL7eK5WflYqt8iAb/8edsGLlBrkQg04ekMZKz0mjpx/CrrzdIU6RnJakgv37rVj9pXK79TsfgnJIZW7r0hsDPZbKsMz9OmFBZRqOKFXF5t+c0N4+Ov0w/b4rYfLL+j87OqYu4iESytFTou5jT1Lx4O/q9R/T+2bNBO1n1v7Hj3tBe+w3UgN/rv5wc9inmu9oLrDYHhhVhjo0LVeoJaZqqJRsd9kfAHO3vYoTb3PSxsgm+dStrLoEMav0qw98xWQN/ymk1RmN/bV0NdHooyvHYLXWrLtctTF+5CgSlDFZMCSlW2mzK4pApzjTGuHsvVk4JcfqkLU9YXh5fEhtbEl/+xg0fURJbHvcG4cqKy4t7D+MFbvOxM/jnkW49n1qmA+M4Q0plQ8P07BnZMC/hIYkGOuuQwqQoUsiB3KQEFdkBZnPHYzhfh9m8HQORyRVs9kQfBSKTVjuWK+4Z3Txv3okT/evWJyUBB3eOXBYgi80UTjSHxunoHDfu+aBZHu3vY4sY+/w5h73hm8ACqI63VpAw078kMPob5zfyWWjHKqZ5MT+j4wnsyVDnBDl90oFbq3/GdQG+/sVv7BLfvgnCaZPJPSVx48GqT1Hzn4+gNEdlGlYbAgb3bZjPWuZlIkuM8+kTdDQIPzfgoAbD9Aq4DKqEwazBvR2msZSTtLRvazoA5kd4PvxK5CINeczi1zVJ38NwnGGPEpkblj+8WRjlTZm7+lVdBAfYVWDZZYZZ/5FIkvvYlouknrLWzWp4uZ4L14JdZyTbJImSbbElGmU7tq+Llm3Wdx48d+v6/sDvrnNoOlv/hx8KDwJgEv2nyxbMmw8+HkS9yw9AOTrlIduTBlt5TptNid8vRfhcFNEbSZgn/C+Ff76ktA7t2ogx2xMGXgXUhlrfG9xGCoe03Aa+JwkQavMge8kPYitAgRY2v/yxMI52Mlz/AjwwD8AAotIBBMTAghkFsEAbwJB/CKiQf5nRgBB4wAfyX/VBALGRyOE3Q0EINCkZ/A+J9jOkAPkn+iWBOGezvslflBqZhrvpk9fD/UBCAUU7zMdQV3+v6gYnnIfvTHZPKfFQhB/R6BRUy8PtrcOxJ8P5DPwPifYzpPA0cH/iyV0SWjbhmCfs/sUjVAgzDXfb3vPEmf1DEXfToGjd+dDcuj7ce5VcNyhTC+fhu1DBCQkD31Xx9x7RYD2FBLo8/HtkSY5XT0aInKdqVM2VxBT3q2Kx2uwOp+HyN4P599GH6h4MR+PJdDZfLFfrzXa3PxxP58v1dn88X+8PJpRxIU3LdlzPD8IoTqQyuUKp8uW7Wh3Ae0EPGplaEOGtXkI1rQEymBoTQPT1DqN5mnkfzf5oPzpuEsmiouRIoPjWq8dCXJM/N5xYxhJtxdK9wiVTvTFMKmAU7ZXhcjRGuNZLU9dLs+iVxWoa3LO2+u0UEA72U9dkONYENVzSga2LKUOrmUml6pWXWJoeyEu5CrSUIDptU6Sc43aJwUbyfYY95njCq4y09CWVzCWICZ8R6wgp8YbTlNileEkpNeWtrK8l7rfD47yoMo3s3CvH5aiR6INeVVjxpmYB44yWN+rfeGFA67yHtyqIjdSnX6hwnwkDPIFUxMimMpLgyWw3WtmiOKycUwEA);font-weight:400;font-style:normal}",""]),e.exports=t},function(e,t,r){var i=r(1),o=r(29);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};i(o,a);e.exports=o.locals||{}},function(e,t,r){(t=r(2)(!1)).push([e.i,"@font-face{font-family:agGridClassic;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABJQAAsAAAAAKDwAABIAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIkABmAAiyoKq1CkKQE2AiQDgiwLgRgABCAFhFIHhRAbOiMzknRWbEVUTzrZ/yVBWzKh26OuKgoJ0jKRZiSVB1h8075N2OLm6HBlOGeTwaBoqNd987XZPy6bUw5JQpOAfr/Yvo+IJJr5iUpCXEPRRCZpSZdJhMSQaX44V03apEvAgTKsOnn25AvpHj7L+33Z+wnDVWWBXNCmLVyJ+B2eOBFeDLxOSDkIgYtgMYVYRUlF02+hKtAv1C5edaXthLcZurGs1O8Q/+838+cCsblAdk+Btk9FR2pCQtX5gV/4tU1qGvJMBCkKwG1qllJmD4v9ScZsrU11x0JgEixxQq4EW+5vmEYH+RxK8AkqAn6a683uFpCnwMJWmDo9M8lu8yAfeH4+pZzPKW+BjpAdJX9LlANie66ojpWp0HfupD1XAg2nuQKP4UtsRd4Yaq112PxdAB1Kj7HZn7BoMJohr5ixqvcjAIu9uaRqvTu1/Oqpu9dthp3fMoCndcPVSxdOWdgthScMCMqf8Nz1atr6ddfXwIa7oTUYTnH5nEFz1nq3v7GytSekhl0k4wSGUml0BomCVzPqTBbZs9iFpq4xUsyfqNsA4zTpyvJdfW3VRkWr2DRUVBOnngShpOLi9m7TmvjJGS4IDeNSYVVLb7aeikxMKMNBWZ333lUWqDvAEImJrEIEsgRHnzwz4UBN7ugNdQ+yRQglZl9dJXDxS6Kd+ofaDKtnOXTWaut3qpQOn5SKMbxgGpsX5sCr7aY6VegAZ8HOZv4tMCEQt4EPMS02rdsz/Ti9QTeencI47YNP37YrUWVVtzTcR8ebIxTinsrVZ11TtwNG5WLqpnLXvfXFzDff/fQfgBYqGXKJA3j8vqQgmFsv686YrhXazWcvROZrz7CTiU2L1OnRtHCheoCrC1xN1eoqjrI32BRZrDRrvkRVigVT6tyuZyC2dFGcqpFNsC6oHnNTqmF5fptyK8hpy4dVTZ1R85XaaQwMzIx+sHeRNoXnWdRPoR1xE4K1X3gWu9bzT90tlFGBRFTBV8yqc3ON8YaWC3iGZPGn/ygzOBvKP1fV3Bl3VE4a5Z+RtRMZO2QnPOHw+aA8Zd6evPDqEkXfYMddp9ZoOAvxBVqQJvo5JzW+1W2OSDUlr6dlbvSKeZoHosfRXvHy7tSHH/YHKoiQOc7f0PB87ayZ3b+YX+LwXKXF30jbeX3rgXnAHGAXMBdEiycvCXPJD027yKqlzwb7j6XKJNjDPzc9/sWqsNufK27/Qi+y5yaoX6w+d6SCT57ny+aXik/RdBqPg1JZsMOARJK0QENbIJFhhFK91rKKqpq6hqaWto6uXrThoZGxibOEM3MLSytrG1s7ewdHJ2cXVzd3D08vD283HxDmO1/IZTkHitkoVhx0D9fPVVP6vv7/Z+K1ZjpotDXWXgqY815LF7uv9MA9RRwATosizogscFZUcE7EgPOihQviIHBR5IFLIgFcEQXgqsgB10QV10UKuCGSwE1Rx21xCLgjMsBdEQfuiRruiyYeiDTwUJTwSDTweEqbXwC6YxDCEIRhCCMQRiGMQRiHMAFhEsIUhGkIMxBmIcxBmIewAGERwhKEZQgrEFYhrEFYh7ABYRPCFoRtCDsQdiHsQdiHcADhEMIRhGMIJxBOIZxBOIdwAeESwhWEawg3EG4h3EG4Z03mAXrLI2t1PEFlj87NQd7hBfNPsyhyWhte6j5zQeS/IUiDGikOIKsJQzCjhYGkjiiEPC0inEiLAc3t6642Lo7ojSsj01uTl/Z0a0aTCR1LeklbZazVfvWu1tZnVXr9PRdebfS6PRduCJ/+vAVozTfbV29rhC5SQu3enXcv6GbDnfQiO21z4Uy/2zUss3NVtRfaBEbP7KnktXe0K66Y8XXODGIuXdL3gQnJmVAMc7DUlcFc1QcwY+P83oAJje5kAiSvFse234z++g5a4fd/Yz/+81uiBd/8cUBwzobJFqbBMcU2VOhaJHSJVeBHuBiNdWmbZYuZm+0NXsqjPeBFOhjLd7hz+Ap3B0sk54l1bsEb5L/x/xDeNL5uLblgVru0JdYFTrG9i4QSCqRwH3tR0YGqBtcVYwmkj7DRKywJG7rCG0o/E7WzKvqHtIN/E34d/8MKCvs6Bp+zR4jL1wRz587R6EwxHh+B8OTbn2P86ZtkEmXOuKDRO+ThieLPz/M45cEbn9DoqkxGMf5olGI5IsLxGedM8Vb49lTe6ckoVnE2ruYBp6l95Wk7nYwkl/l8SBxOA4IlSXiQOcJx0sgdbRxmR6cf2uuLPGRVBWUZ1TWEjws2eZcwrzJsGozvXB198kbw5qfx52+Hb322Kfqn+35/4X8eX5ofKT6wvBZqkrvNLJaiZLnhWYwnC7mcXyNV3RB5DeNpqYNT0RlHVOwFP0WjAsLe18PU7uUHf8eK8w6+KV/g7Kb5w4/l3UCjO364Qyz+qa4vK1kVEi1fLUUt/nrtO9HIgW98XnFdcd+x8h4/VnHJ0CIEDaMFlZWMojsg6WVrMwBaPlE+wz9/+uOn/VlXEQBkkPesUHW7kK8xLpFQ7YoMvYMaFNBHMIgOlFBiOAW61aNFW9ZTgipKr4naSlXcJsXrnHkOQ+igT/b+y6vyFfZPxZ3aPk3ZvC7z+LR9/NZ0zrrmXFn9WzXXy2lTX5cVAEeufzg/a5++1vtP1CzBayp59erkSkzPzn94elHoQOYUtazavcvymmuSOfvdS9PT8Xz5v2xEvVdyhoRyJkheJ1TV1fYMBlyGEgRl5DIQtYvJF+WrzJPsVVqlTzZoFzxhjGQPsdekx+RjHU1eO2SuSKRMu8Xcj/kwm4CVvUlRd5hQNrvw6l1/8gpj3GEDoXjvMfGXqGnU5wciAa8e9VEzWwjIaV9UKcbeCHPKBJXqEJxnuWr3AJ0B9lP1flMrX7Il1muSv+IQar8i5KsWrjRJHy481rQo9aMSUVA6ioFCqGExL6+FLSw5f7UgXmKFrRQsLClcfI6qs/dwe4UcuEKa4CumSpUzsFhd1eWqtfar4sq+63maP3CXegN/V4udJI+v7BNzaxpYo6jE5nx2q9jiJelIyIwNw5IgLLvlejwpvoP9D+ehcyCLrLHp49tg8UxR5dGaUReYUNMy9dqouKkQm5wYTBC46gTZTKXKJhAkO5vpieMONcpUOPgEQaVK2RCrIrKpcHJYZ2d1VQWRtb+ODtYqeKdQ4Vu2bN6C47pUD9XmHptVSbaA1Et9lzSfw/vE48xPesebH+TsN2g+lb7kY9Qo9ANqj/qI2qwIq0VnSDbo1hlItvIYvUaQrnkV8eK82JdmjPMHUrsL/frtGFO0Tn+0MpOPn5SHnwmSQNHw+pDX66qspFL79jnBOzlx/MSGvp2ds1+buDxQAY9rfDMbvN0tRItSm2GdjiRIZfk6PWdAuiUPw+G9T5l4taf3uVUZP6KCd5oUWK0WqzirhaRyhsHlIn0+UqvK69arivQa8mQa/PClDkVHjkTRWSKQXn5hqxk5ePKATRS+jS/gW/lSdG5VObZcjHkyqslJuRr0gyLqNmWw93rYnLjLjCibwO8ZwOQdHYnQ2b3TsOCV4aP7jBBFsrcIE3fXJFos3AkRf22M4HKYrLiI0z4sdHbEmNohb8JQMxbhZX+VrobfGI9Z2LgedqYnvK4X8SgeCw8ubFWyWGuPYyt6z/5p9497OD8Bc3ToKF0IjSO+whm0NHJnCUd47regEA82FLrCJBP2S28Yzl9JV/woMgmEJqsPMAmtexeYRP0UFU0lw/lFiSLeseodmASitDhvVvSpFRL3Kckut2TFLoTCt2fbCRSi2Xpr/eLM9lG1H9Y2RXjDOjqqqyvKkXXhdMvZkcsn8pu09bMbtaz+kSjve++C/gUrLxmPBkX+Hobq9I2Gpv2LsNkcBkdimWAeLZlOC4pMjMRG0C9qto70kYDRI2Rlj5TTkDG5Q7SWKbMabdfEGQrh99uPCbe0lHJDSL+1I89NiH7GMxXJelsWZQhE6j8yZlbqmXnsnJCE4piC4PIgk+jq7EeCzII/R2TdsGb/oSq5zDLfD17dy7AbEo4wp1HH5KX7Lif3MucqDRmlSVXJFbQ6Wons2qxHAm1+8zDtJOPgtuXPqb+lRFohs9EG08qkJkFm1WWW6UHQDlWhTWSvleAlyzOpYbE/hRBgwUMKUrTDLeZNQBM1KPW6VetIPxhJI/R75zP4IvccPkSxvZuMAPICWdG9Tr8Rvnj84MW5EE1vIA2En0i1uoXUO40GvV9vtKq8amPleN6RBnIVadR8A/klT38G+Lvb4DMUHarxtLZWV/e4U1EJ2tp6tcD48Q66nq7lL7M3NzvsMD2LrqMPHapDlu8L1zvU6mXchHAGhS0wOdvpalSj0tA1WPuU5t2oGlO3O4ZEATrdYc9dXIZimCPBqnRHc7Odv8w9sAMlKEty7cvsaNRJ+OBsx2DDKc3tGkxDV6FxEHW70yRgUxjhCdxlanU1dP7tAd+7bNnIkXY7b5I37Zal6hkVFeqFcwU9JuzQfRy/F+ly293uu+PwBw9wWPFL86Fnjv9K1E6cpCeVZAGBLpzsBk6l3Yv+3+22udyiBfj9+/hHOaP8ZlAo6PYRro21dZBGpGRfYsxqn5CQ8dpaxC9IdTpTC/jFZ12uXOeMgtSitDPFaYLUjFRap7SU81iL+V0+jaZAwUpnqYeWy0ul0hJ5xVD1ucngxRpNpoKl3AwokcqOpXyohp3OUiyGlOEcv9vl9hvIKSNFRPp88O5dqXxjrT+vG8e/74+81OCr7dj5H8iJMRPVLQYxGHB1fKOD773PtA8hze17DhzY4xz33sYLeDyJT0CtMKvZqml9a4qzjVCQKu5alG1w2lnHrzE2qaH8sbxiyU+e/Lg+K2UVj2XlA0q4C7XDyquNbdIsK38sq0he8Ljrah7Ly4vYwOEZoBw2TOlwuQodTitMwdvbzpoBra2yWMFkX4omxZDCA55GC6foYhoaXBeI49rHsNAIpMul04Pui17nAsaV9FdigNQZ+9JDr8pLv/0mFo8csX//zp3Prwgk7iJdkHveSreazSdgsdkc7Ot1ZsZrrD57jMakMZz2K6hh1CR16bKhXWAwE7Yw7RZzpDK9LiOXPpNadF5aEJPUHLrnXto9yZNSQ3Zv/t1qKPuf9JtZYinSYA0yI7OK4j0vIqjfL5FXMIvkJqTaWSwL3FciR2kWOOO1CUC9HoS8hVoPcqeIizlg+6xqTyAyy2Vn2amxJP6pigXuAdGCB1Z6EfP/37ibv/gz2h7tjC2P2UnCMcgVUCVyX2d9sYaq71Q2K7M9DPYg5oKGJKVUN7C76VkrK1pmElGzhZqqZj5BvqlvmHVsWWSfr0GhyEtAYfCT/ZOs7ZtVtuDzUTVAZLShQlJfd/abIPPhSYf/CzRVuX9ilv95EaKzeOUndat7IenViH6N1G44rtQChnQgBXQYew52XAvSreulXgf8RawJDFHXe0XC9YAf/oR5MBQQgB7BAHAeTEVCAROOgApdO0GDrsdFCxx4CG3o+k1QEJSovx/hqhbDP/yzBHsfTc4BPtF30Qi/o+9Ef1FyYCquqkvlh3hGQjGKtqinIvf+WtUVTrgtnpgUY+QiCf8haNWoppvFwv0lqoDbJcN7JgLrXjxApvkC8Al5HX95ReZ8Cs0vnGvvdGWkcKVyKZt+JpI3hipgwdQmw2T9zlxTapxCCwRrHXrKVktCpMBbSuLgDwLkVZoEQXJjQS/NyXoVyCTzGdiaYOdJDp4VVjCNzmCyOL7pqU+L50RuHrYgSrKiarphWrbjen4QRnGSZnlRVnXTdv0wTvOybvtxXvfzfr5u3bn34NGTZy9evXn3sXZje0FvNDBtmBEe8qo5sAFBgHEdLiN6VKsj/Nc8lnY92oujowSyqChtIKN4ElTekVTuHnRkKVPw9ZTNT7BrKe9Ak4oBRbsGnaZ1GM55FU6/Cq+u2cywjl/ezlYVJ5N5rN3GH8scTW5WHX/DVcwxct2VZF3zE9J6+tyltX8dVTidbsSigpNuxjY2kN9qYwxtmHGtTeq2KmozDZSjjhFNuBunpYmRB7TrKYOVuJqKen/Vs26lwT5wl48kpZPDZd2pMpXs3OHR/mhdyje6lqPHnXzvWkrLA7m6TLwLVhTe2qgKg7bMo5yoIHZkzVb3NOBbWTY8gVTAyCADUeNfbVT+tDrJpOfMawk=);font-weight:400;font-style:normal}",""]),e.exports=t},function(e,t,r){var i=r(1),o=r(31);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var a={insert:"head",singleton:!1};i(o,a);e.exports=o.locals||{}},function(e,t,r){(t=r(2)(!1)).push([e.i,"@font-face{font-family:agGridMaterial;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABCcAAsAAAAAI8QAABBJAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIkABmAAiyoKolScdAE2AiQDgigLgRYABCAFhF4HhQobhx9VBDYOAIT0QxtFiZz0sv8vE7TLtPNhQtSgqVE0lYIwwWMDPiZ7L0NPuCaLHdwkLpR9XeG4dDkRMxeXb287jVmdPdFsKCUP9Gu093f3XLu5ImoJolmWTElkEiExZBJe71CXni3ZT4CSzJwUxq4/Zhi3BsD/0DY/YAKCYgH2nQ1rrAQbMe7OLLYhuW5j0bBiwS2zWOHegwXL/an5UXqbPSz2JRnz9tz0S90xCEwCEk/I7Q5tqs7m08sO2QXgrTxMCQsSLgD/Iq3SartI9BABk2ulTgFQAgphkuUsHFHuWOU5z3tXJvUsq36qiHf3StsvIBgD7Dq1daZToSolQVXDJg1DVhop7nNvvyRevXpFSgr1xmEkwqOQUSiUxHm8x0216PEIFbImgwf2c/8daQ1smysiHDfJqGh83TfuRAAyvTn4yWRxU+6lz60rKmGycwBx83Dp5+xx6YMgrBkTlB9yUqpp659bvgRWuMVtiLzi0LgBqdC6+FD8PVa29sSpoeHFMRKKkClUGp6IdeZV6QyIGExFZdeYoCwfmVIGYxRxbeWuClXaiKCOUt+ISBd5Rn09srCn1Vrah6c5ESgomwyrWnqz9FQkOvn6WQijf/tdZZ4pbTSBToECAs8AiaUPGWvYoTRzSDOEkWowumcNZRImTGukj2uhZNBwgEVl1JtpUVGdvUesk+YBU5gcZ4692pSqZL42Vsn+evksmMTTZQ23EUhnq9sz/HVCg5rQXPPdKbQeXJZSaeN1ddZcp286SJLpclfuPO5JU2phRKpT3VTmilefPvvqmx/+c1y6kiGb1ILtd6k8x3Rd1jUEk15T7LgkkKptsBxtZYY61TXVjG/KgQ0lTE2VhjKGMC9YGchUMi0XmdDLgImPXHjMWGBRG8HIGr45l8FQh9U+mZbrv5WpPMjbymFVU2fUvFbBG6mGmjHaoqGNVeG8bpDfwqGLzzlYO9UN5kN/fepuoYzwdLvqNNdp1X+u0HK1LNE1UfmX38o01oWeJqrmziS/Pmck6TtyGum3ZWhFl+zfj0q9rO+g0vd5or6B5XProdXQpFiJS04Tec9Ldt99kyUw4SVfmZVEj8NcKSB6wB/Bs93vh+9tgQoiQkx+Y/XM1CmfNf1isZkDSeZXaIWvlQIpQAw0AgmIMvXLkEDReSOkqvoZ7D+ylfGwhx/XPPjF9vc1+bjoxi8uNZbHQT28P3ekgDevu0z/rewt2qRwWKrXF4bOmEW8p49n2pyAh2ACsfPZsoqqmrqGppa2jq6ea28PjYxN+COcmVtYWqlZ29ja2es6ODo5u7i6uXuoeXp5g5BK7vGYt9pGzEDKqK2AMxhq6rX+//1ylPZ5yRweZwPij1wuomnVxvPjpA04kRHgZAaAUxnH6XQCZzKLs2kHzmUIOJ9u4GKGgUsZBC5nAlfSC1xND3AtU7iRDuBm+oFb6QJuZxJ3MoO76QPuZRT3M40Ha3P84rCTB4gAYoACQBFgCWAZYAVgFWANYB1gA2ATYAtgG2AHYBdgD2Af4ADgEOAI4BjgBOAU4AzgHOAC4BLgCuCaXbLArw3ybgHuAO4BHgAeGbTVE9B5BngBeAV4A3gH+AD4BPgC+GaXLPCLwEwKkDHDEvMb3/nl/eSn1F9yEU7Bfh/+YhYfztC0uK/4QhR3WtPSw9ksI5oYboaqNqh8qYJgJTSlbZNEDr3MTsmXvFSiKdO0TifrUlhn8nUprz6JsxaOSeePf1I+rjc7s7SRsRNohbPhCVKZTCpfSjUNzxUxlRgbls+lvKrU3MlsakSJKZcv5JPyRWZSmYbUWN+zcgVh4CnJLtJAJaebGLiArO2SIKFEIhQKD3aoRFZSdK3zLQ84RotwjFPxGCOjUw60S96pZJdQHXyIRnh/2AQVhX6d/XKHZPTdr7Tefb8PWXPv24F1SqwXyoPsL4Sin8nPDm5y97p2sWZtrxKi0nRl+A2i/7r/YOYemzlEAw4EgAMAgipCYcUO9wASfW5uF7xD+d6TPyRF00zsc/ovZeXLpc2/fi+F+Z1cGphFl/RrMiqv6IMMKL70QQwHsjniSOkopQOr9JErV9Beunbs2Ckw528/p+7pTaIrtlY+dg3tHaJPXnXXRx0+7KpC33iCdmpthlKnPnq0St11MMculS9du2VuXz/k4tWjhS6tdsxeIbpaLU25WKpePaqEOjwMSrNVTZp4paKntbIsl6vwH/UbmIdTtlbdCXWF21fmtXupX/Tur0QdB/Pul/3xRr/9Sd00wS9hwsb9fg9mpBI0XOluSWYmZPvaoV/JZpnNZequjhBq2PUgaxmip3NRbTK9YC+VpV3mC2ivgdnfyZ32aPafeheh/TJdxtSJMBR3gmb5ehIemb4cRQXtr5F48m3YIJcArYwiGStxZDhd7oT4zxGbn6pkwMMuBI76vm7rmzVx7MJQB0GvfXJD33zqnt82t56tpgHXkSLs8Nr4bql++GbW0Qj9guKWYijsZg/vfEFcTzxQ7uvdrTbgF8VAJT66/50O3eWAZMb23k7nmrVdkh0073/T0w1sEOgwjOK/3oma46uRZRVv9ZsfGFxaHJso2q8Ep1BwSRC4VJW6KwFZ3XQHtnGT+EUFZYMKK4VsVjEeEsFLWovyK35/AmvM4bTUhcvWvIrW2mj5+pch0WfFfXz/KMOj0WMHFG8KPXdVX7HXzIHYPIjlyABGYcjx1PLq1shovMQeU0l59BhWx6Vd56HWquxbgB0c4qajA5UzqW5NxSXJZeUpTXUA2pxcWpxaTrQd0AqUa2PuBNc8acHNUC8wssNOvqt22s43Tlc4TLgxm6+smO2YYoIJDC+Rj6Gy/FG8tjitodx+a4ygMRRE+QickJeXCRq9nXF5af2NVUe8qKHyEffFBBPviEou36f094XTCYaOuHAHHh9DmbT7egTRw8SyNTa89+sMG8aycy7MNi70xnVTKBjHk2r1SRlRx+0T6uzSDUpGyNj8DQFpNZjNv/Hf782bpFIIEi/SNsTXxcbWxTe8EoyvLrbX/2oEEdMvWkisX3kWRfcJ1weO04/7kDM0d6jZPuzXMIhbYKYH9roVSA+81Suw8+GEoHRv78LC8+dMpkKZnnYJhBqh2jeKPt31Naq11vDxpNFoaGqiUlOSz/OCz587vz1ly5bujwQPgSxAePinbiANZAXs+jUwefC9325HWxWBVdgY1IEFXwxHj/HiDXY7EdCO2VBAcvAc29jSywigOQggOzckB4UQw+Wcy9Bv8tNNZrns+qIg9tZ7eesw9STJTkqEPKJfRFtE7Oq/mTVz9w2/18NHzqLccYlMd39EURvvMWcH3PJyl/f7tUrijZwZRvP0TQrnuK50G5U8dADbd3f/4EOtweXlvPGsFTtYPK63TwDrko3D6GaNHqj5xPQo47CMvt9i10Bvr1c+nLEOI7xXuQ1KlL0M5Li5Vm3I9PFZd46zPKk7+lDUYW40eI9iDJfSHbmi21zVEvaBWm7/q71d6Ks4WhBa3Q4fsjx6FBQf6aRnhjNOfOBLBkS4wyP3cvoBvxDePPE8V7HrXITfkSdJJx9JfpV4Lg/hH8jLe/SoLghEHjYvWi234qXdOl8xMn9wd3u+TxrbA/mRVJlWufImfsaF3YfpIS1sx0YeW8jp5npxY8rHl42KmeHowg5mc6B7132Cg+7Ya4QF7i1PxEhEyIZWqbSiv7w4JzArcJDSL7sdb9QUSiWTxXKKXiaWaFxDYseLW69KkIjQf9lZmbxcIzD4OsLqi9OqqicPmDrjcmRwTDdY31UACQ1fMifQmJnon+3fqmihME8gyKsQjLdClAqo/IvLRcsvijYXBkY7iZGoEbNgGtSG2+C76PgxqpusdvlmxW04iDhaA2bQk+s8ZEt9nu+i9d6FGh8N+dTLK2xqlUAtKzTqpyq1JgNfdxXX93eZwN9m80apwBsdf0pYY0X5u1CyiEyoj4ur0wkGJ6TKoLv4G51kuGy4qZuJzo4+Y1i91hIEo1paZbLWlrmauQu/oS2ty89Vt06tSU9f2oDzbYUFs8BY+4aOs+CWG21kwH7dhtnyKMCr0/4v6NHV8kW53qPGaqFUUFAgkAqrE+To6lu3+Khc6nnwJpxyg35TFNvP/C3+e2cbAsiylZG7Y0I9ZqAzEE4l+pK7DB9nHIdDVUxHR5tu6NlzgeDp056Rhwm8pwcnDo/seQoi93hDkPBU0GZOCYOiGMeLHAfr1CPTjgRstfS0dZzllLt3yfXkp95t/3vuZPyfuvSst+kZ+eypSaDrsza31YRXhHV0hFWE11wRjK+j4999TfgVhbVT81RlTWylSFQZW/OoYfdeKaqJfZRrDdYvEl1mpm5mwfLOjH47sf0yhSBxxsaXl/elRaHfJFtobigWemPZUKmfQmG4LosMCsUCHNDqmED16e3wTnQ42nlRytItWza+N1utR+F6QC6eC7u6j31a/RvtIklOn37+nFBhrMRwJTG1MTmh/6WNphoMc8lRTJq4JGdgesJTe09oyP1MK0EE4bq62txckhxw4CCMnfD/v31fC4vIQssEIN5JfmdkppVFxaNwwdNpJK1FNz2aQ7V0mEg7brLA/p9YRfus9OqlTJdSyWU6V1LNO10RhKMfuvGZVG0XdTQ6km3DqWd1euCLFVy2jk4WuJmW22K029p9Oi21zWId06Oz1Fq99hLyTlQV4mYaE8KlBpKyUOdcwlD8/+LbkA9B33bXs5O/uTBoZoBQ5fr62ESB3NHfnEqHxO/PEImRNsv5i6P4G5bT/LJXP3+oBUeRleAqaAREZrAV8RfWVD6cc20qQMGYEkE2JfRxHBklQDJw0qwUoLAAp6oGLp2VCbMg/+xZ0AjDgAbg4AoAo2EmsxJQgAs4ycBdOMXAa7PSUIaPSgYjKTALQVL8vz8KUylM+YStRPfNKEo06TeGMZnhclLv4j9KjUzNa/dylG6RUKZP0zX92tQpvKn6xgvn5oNJMSVuivAnWu0G1fK+2fjxRXSW854JW4numxivSE36HcTDGPXciNFKq7X/Alc+dKbmtXsxBluN0oKKdU2/btg6hbfpWPWsF86R9lEzZ4hTiHmqFTX9RCtIN5SgBcTYhOvzpuRpaxHe5W0gU/Y9H3hIQgrSkIEs5CD/dwriAft9+Ger63R7/cFwNJ5MZ/PFcrXebHf7w/F0vlxv98fz9SaUSbKiarphWrbjeuBDACFEEEMCKWSQQwFfpKbwCUEwGI1Mx0aE53pgqj22hiymIzsY0Vs3RPvV89LuM+ieM+eJ5FBRciSjeH8sPJKR+dJyYmlLTAyVk4c4ZqrnlknFWEV3aLmsR1a41gNbpwM76qHDao9w+Wnl1P5iard1Z7hiW5Opw0GUO/Yx/aByFDepehgklqMgPJbDk4oui16PU6QLX+xJYuMihdNslpjjDg8z0nhqqZA6BTHhBbG2JiWe4T8qhX14AIUeEyfWWyn6brjtR1Wmlr2/ybjRkcQw6GE1E57XXEN163imA9cI/QL+HP10gmzEeit6uVdBdJ12lm3MBel0JOtfCRgIIICgEIGBYIYKFhIM8AU9LNA6yDBCgRUm8LDbAwAAAA==);font-weight:400;font-style:normal}",""]),e.exports=t}])}));