(function(ti,Pa){typeof exports=="object"&&typeof module=="object"?module.exports=Pa():typeof define=="function"&&define.amd?define("agGrid",[],Pa):typeof exports=="object"?exports.agGrid=Pa():ti.agGrid=Pa()})(typeof self<"u"?self:typeof globalThis<"u"?globalThis:this,()=>{var ti={},Pa={exports:ti};if(typeof fJ>"u")var fJ=function(t){throw new Error("Unknown module: "+t)};var zd=Object.defineProperty,_k=Object.getOwnPropertyDescriptor,Kk=Object.getOwnPropertyNames,Yk=Object.prototype.hasOwnProperty,Qk=(e,t)=>{for(var a in t)zd(e,a,{get:t[a],enumerable:!0})},Zk=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Kk(t))!Yk.call(e,r)&&r!==a&&zd(e,r,{get:()=>t[r],enumerable:!(n=_k(t,r))||n.enumerable});return e},Xk=e=>Zk(zd({},"__esModule",{value:!0}),e),Xf={};Qk(Xf,{ALWAYS_SYNC_GLOBAL_EVENTS:()=>Ji,AdvancedFilterModule:()=>W0,AgAbstractCellEditor:()=>Rr,AgAbstractInputField:()=>cn,AgAbstractLabel:()=>_l,AgCheckbox:()=>Vn,AgCheckboxSelector:()=>da,AgColumn:()=>na,AgColumnGroup:()=>so,AgContentEditableField:()=>$h,AgContentEditableFieldSelector:()=>lO,AgFilterButtonSelector:()=>oy,AgInputDateField:()=>Eo,AgInputNumberField:()=>ss,AgInputNumberFieldSelector:()=>ls,AgInputTextArea:()=>zw,AgInputTextField:()=>ct,AgInputTextFieldSelector:()=>Gt,AgPickerField:()=>Cc,AgPopupComponent:()=>Di,AgPromise:()=>j,AgProvidedColumnGroup:()=>yr,AgRadioButton:()=>kh,AgRadioButtonSelector:()=>r6,AgSelect:()=>vt,AgSelectSelector:()=>Un,AgToggleButton:()=>Vr,AgToggleButtonSelector:()=>Jy,AggregationModule:()=>jp,AiToolkitModule:()=>Y0,AlignedGridsModule:()=>dw,AllCommunityModule:()=>Zy,AllEnterpriseModule:()=>Wk,AutoScrollService:()=>ql,BaseColsService:()=>Lc,BaseComponentWrapper:()=>nO,BaseCreator:()=>dh,BaseGridSerializingSession:()=>uh,BaseSelectionService:()=>Zh,BatchEditModule:()=>G1,BeanStub:()=>F,BigIntFilterModule:()=>Ay,CellApiModule:()=>Jb,CellRangeType:()=>Yt,CellSelectionModule:()=>gd,CellSpanModule:()=>Wy,CellStyleModule:()=>Jh,CheckboxEditorModule:()=>Yw,ClientSideRowModelApiModule:()=>yw,ClientSideRowModelModule:()=>ww,ClipboardModule:()=>Cx,ColumnApiModule:()=>Yl,ColumnAutoSizeModule:()=>Rw,ColumnHoverModule:()=>Fw,ColumnKeyCreator:()=>Xm,ColumnMenuModule:()=>Bp,ColumnsToolPanelModule:()=>FS,Component:()=>T,ContextMenuModule:()=>Np,CssClassManager:()=>wu,CsvExportModule:()=>gh,CustomEditorModule:()=>Xw,CustomFilterModule:()=>My,DateEditorModule:()=>Kw,DateFilterModule:()=>Ty,Direction:()=>$u,DragAndDropModule:()=>yC,DragSourceType:()=>ia,EventApiModule:()=>Yh,ExcelExportModule:()=>BS,ExternalFilterModule:()=>Iy,FakeHScrollComp:()=>_v,FakeVScrollComp:()=>Yv,FilterButtonComp:()=>Po,FilterComp:()=>Ao,FilterWrapperComp:()=>xh,FiltersToolPanelModule:()=>Sx,FindModule:()=>O1,FormulaModule:()=>T1,GROUP_AUTO_COLUMN_ID:()=>jt,GROUP_HIERARCHY_COLUMN_ID_PREFIX:()=>rv,GridBodyCtrl:()=>iC,GridChartsModule:()=>uJ,GridCoreCreator:()=>iw,GridCtrl:()=>dC,GridHeaderCtrl:()=>Bv,GridStateModule:()=>Vy,GroupFilterModule:()=>mx,GroupInstanceIdCreator:()=>wg,HeaderRowContainerCtrl:()=>Uv,HighlightChangesModule:()=>Qh,InfiniteRowModelModule:()=>Ly,IntegratedChartsModule:()=>Kf,KeyCode:()=>w,LargeTextEditorModule:()=>Zw,LicenseManager:()=>ep,LocalEventService:()=>Ta,LocaleModule:()=>Oy,LocaleService:()=>zy,ManagedFocusFeature:()=>In,MasterDetailModule:()=>Rx,MenuModule:()=>WH,ModuleRegistry:()=>il,MultiFilterModule:()=>WS,NewFiltersToolPanelModule:()=>xx,NumberEditorModule:()=>_w,NumberFilterModule:()=>Py,PaginationModule:()=>By,PinnedRowModel:()=>Av,PinnedRowModule:()=>Ny,PivotModule:()=>zx,PositionableFeature:()=>Sl,ProvidedFilter:()=>Ti,QuickFilterModule:()=>Dy,ROW_NUMBERS_COLUMN_ID:()=>Fi,RangeSelectionModule:()=>bU,RefPlaceholder:()=>x,RenderApiModule:()=>Hy,RichSelectModule:()=>TS,RowApiModule:()=>pw,RowAutoHeightModule:()=>qy,RowContainerCtrl:()=>rC,RowDragModule:()=>SC,RowGroupingEditModule:()=>q1,RowGroupingModule:()=>Zp,RowGroupingPanelModule:()=>fx,RowNode:()=>lt,RowNumbersModule:()=>$p,RowSelectionModule:()=>Ky,RowStyleModule:()=>Yy,SELECTION_COLUMN_ID:()=>Cl,STRUCTURED_SCHEMA_FEATURES:()=>Sv,ScrollApiModule:()=>fw,SelectEditorModule:()=>Qw,ServerSideRowModelApiModule:()=>qx,ServerSideRowModelModule:()=>Hx,ServerSideTransactionResultStatus:()=>Sa,SetFilterModule:()=>zS,SideBarModule:()=>ys,SparklinesModule:()=>kf,StatusBarModule:()=>GS,TabGuardClassNames:()=>qi,TabGuardComp:()=>Er,TabGuardCtrl:()=>rO,TabGuardFeature:()=>oO,TextEditorModule:()=>jw,TextFilterModule:()=>Ey,TooltipModule:()=>mc,TouchListener:()=>sa,TreeDataModule:()=>Vx,UndoRedoEditModule:()=>Uw,ValidationModule:()=>Qy,ValueCacheModule:()=>Xb,VanillaFrameworkOverrides:()=>rw,ViewportRowModelModule:()=>vx,_AgBeanStub:()=>_e,_AgColorPicker:()=>gp,_AgColorPickerSelector:()=>sN,_AgComponentStub:()=>Mt,_AgContext:()=>Tv,_AgContextMenuService:()=>F0,_AgDialog:()=>up,_AgGroupComponent:()=>Ya,_AgGroupComponentSelector:()=>ye,_AgInputRange:()=>x0,_AgInputRangeSelector:()=>k0,_AgMenuItemComponent:()=>Kc,_AgMenuItemRenderer:()=>M0,_AgMenuList:()=>Yc,_AgPanel:()=>dp,_AgPositionableFeature:()=>bu,_AgSlider:()=>Bt,_AgSliderSelector:()=>Pt,_AgTabGuardComp:()=>fo,_AgTabGuardFeature:()=>Nl,_AgTabbedLayout:()=>pp,_AgTooltipComponent:()=>Tw,_AgTooltipFeature:()=>hh,_AgVirtualList:()=>y0,_AgVirtualListDragFeature:()=>S0,_BOOLEAN_MIXED_GRID_OPTIONS:()=>jg,_BaseDragAndDropService:()=>lv,_BaseDragService:()=>vC,_BaseEnvironment:()=>tb,_BaseEventService:()=>Tb,_BasePopupService:()=>Dw,_BaseRegistry:()=>NC,_BaseTooltipStateManager:()=>Aw,_ChangedRowNodes:()=>Pr,_ColumnFilterModule:()=>Ma,_ColumnGroupModule:()=>Sg,_ColumnMoveModule:()=>jl,_CsrmSsrmSharedApiModule:()=>oh,_DragModule:()=>Wl,_EditCoreModule:()=>Fa,_EmptyBean:()=>FM,_FOCUS_MANAGED_CLASS:()=>Tu,_FilterCoreModule:()=>gs,_FilterValueModule:()=>Dc,_GET_ALL_EVENTS:()=>D3,_GET_ALL_GRID_OPTIONS:()=>zb,_GET_SHALLOW_GRID_OPTIONS:()=>q3,_HeaderComp:()=>Gb,_HorizontalResizeModule:()=>mg,_KeyboardNavigationModule:()=>ts,_MONTHS:()=>ji,_PUBLIC_EVENTS:()=>Wg,_PUBLIC_EVENT_HANDLERS_MAP:()=>rc,_PopupModule:()=>ja,_ROW_ID_PREFIX_BOTTOM_PINNED:()=>El,_ROW_ID_PREFIX_ROW_GROUP:()=>Iu,_ROW_ID_PREFIX_TOP_PINNED:()=>Ml,_RowModelSharedApiModule:()=>ih,_STOP_PROPAGATION_CALLBACKS:()=>Dn,_SharedDragAndDropModule:()=>Gn,_SharedExportModule:()=>ch,_SharedMenuModule:()=>bh,_SharedRowSelectionModule:()=>Xh,_SortModule:()=>uc,_SsrmInfiniteSharedApiModule:()=>sh,_addAdditionalCss:()=>Ab,_addColumnDefaultAndTypes:()=>Pn,_addFocusableContainerListener:()=>ho,_addGridCommonParams:()=>B,_addOrRemoveAttribute:()=>it,_anchorElementToMouseMoveEvent:()=>tl,_applyColumnState:()=>Ye,_areCellsEqual:()=>go,_areColIdsEqual:()=>Mi,_areEqual:()=>we,_areSortDefsEqual:()=>ki,_asThemeImpl:()=>oA,_attemptToRestoreCellFocus:()=>qu,_batchCall:()=>vi,_camelCaseToHumanText:()=>$f,_canSkipShowingRowGroup:()=>Wm,_clearElement:()=>ee,_columnsMatch:()=>on,_combineAttributesAndGridOptions:()=>WR,_consoleError:()=>ao,_convertColumnEventSourceType:()=>Oa,_coreThemeDefaults:()=>ab,_createAgElement:()=>je,_createCellId:()=>ln,_createColumnTree:()=>du,_createColumnTreeWithIds:()=>$m,_createElement:()=>re,_createGlobalRowEvent:()=>Lu,_createIcon:()=>Va,_createIconNoSpan:()=>q,_createRowNodeSibling:()=>zu,_createSharedTheme:()=>XC,_csrmFirstLeaf:()=>On,_csrmReorderAllLeafs:()=>pg,_debounce:()=>ve,_defaultComparator:()=>ni,_destroyColumnTree:()=>oa,_doOnce:()=>eo,_downloadFile:()=>os,_errMsg:()=>Rt,_error:()=>J,_escapeString:()=>pt,_exists:()=>A,_findEnterpriseCoreModule:()=>Dm,_findFocusableElements:()=>_t,_findNextFocusableElement:()=>Je,_findTabbableParent:()=>Rl,_flatten:()=>Od,_focusGridInnerElement:()=>Hu,_focusInto:()=>ze,_focusNextGridCoreContainer:()=>Ga,_forEachChangedGroupDepthFirst:()=>Et,_formatNumberCommas:()=>dn,_fuzzySuggestions:()=>Ro,_getAbsoluteHeight:()=>gi,_getAbsoluteRowIndex:()=>Nu,_getAbsoluteWidth:()=>yn,_getActiveDomElement:()=>ne,_getAriaPosInSet:()=>tm,_getCallbackForEvent:()=>Qm,_getCellByPosition:()=>la,_getCellCtrlForEventTarget:()=>Ni,_getCellPositionForEvent:()=>fg,_getCellRendererDetails:()=>kr,_getCheckboxLocation:()=>oo,_getCheckboxes:()=>Fn,_getClientSideRowModel:()=>st,_getColumnState:()=>Ui,_getColumnStateFromColDef:()=>yl,_getColumnsFromTree:()=>bl,_getDateParts:()=>Tr,_getDefaultFloatingFilterType:()=>Sh,_getDefaultSimpleFilter:()=>xc,_getDisplaySortForColumn:()=>lu,_getDocument:()=>me,_getEditorRendererDetails:()=>pu,_getEnableColumnSelection:()=>Mn,_getFillHandle:()=>pl,_getFilterDetails:()=>fu,_getFilterModel:()=>We,_getFilterParamsForDataType:()=>Sc,_getFirstRow:()=>Fr,_getFloatingFilterCompDetails:()=>mu,_getFloatingFiltersHeight:()=>Al,_getGlobalGridOption:()=>Zd,_getGrandTotalRow:()=>Rn,_getGridOption:()=>jR,_getGridRegisteredModules:()=>Am,_getGroupAggFiltering:()=>kn,_getGroupSelection:()=>xi,_getGroupSelectsDescendants:()=>En,_getGroupTotalRowCallback:()=>br,_getHeaderCheckbox:()=>Si,_getHeaderClassesFromColDef:()=>Tl,_getHeaderRowCount:()=>Gv,_getInnerCellRendererDetails:()=>Pi,_getInnerHeight:()=>ui,_getInnerWidth:()=>pr,_getIsRowSelectable:()=>fl,_getLastRow:()=>Mr,_getLocaleTextFromFunc:()=>Cm,_getLocaleTextFromMap:()=>bm,_getLocaleTextFunc:()=>_d,_getMaxConcurrentDatasourceRequests:()=>nu,_getNormalisedMousePosition:()=>Wi,_getPageBody:()=>dr,_getParamType:()=>jC,_getRootNode:()=>Dt,_getRowAbove:()=>Qt,_getRowBelow:()=>$e,_getRowContainerClass:()=>cg,_getRowContainerOptions:()=>po,_getRowCtrlForEventTarget:()=>ag,_getRowHeightAsNumber:()=>Ft,_getRowHeightForNode:()=>Xe,_getRowIdCallback:()=>Da,_getRowNode:()=>Ge,_getRowSelectionMode:()=>wr,_getRowSpanContainerClass:()=>tC,_getRowViewportClass:()=>lg,_getServerSideRowModel:()=>uo,_getShouldDisplayTooltip:()=>is,_getSortDefFromColDef:()=>gu,_getSortDefFromInput:()=>Ut,_getSuppressMultiRanges:()=>jm,_getToolPanelClassesFromColDef:()=>Yu,_getViewportRowModel:()=>KF,_getWindow:()=>Xr,_interpretAsRightClick:()=>ml,_isAnimateRows:()=>Cr,_isBrowserFirefox:()=>Tn,_isBrowserSafari:()=>ya,_isCellSelectionEnabled:()=>mt,_isClientSideRowModel:()=>se,_isColumnMenuAnchoringEnabled:()=>su,_isColumnsSortingCoupledToGroup:()=>ba,_isComponent:()=>lo,_isDomLayout:()=>Ke,_isElementInEventPath:()=>el,_isElementOverflowingCallback:()=>tn,_isEventFromPrintableCharacter:()=>Dl,_isExpressionString:()=>cr,_isFocusableFormField:()=>Jr,_isFullWidthGroupRow:()=>gl,_isGetRowHeightFunction:()=>dl,_isGroupHideColumnsUntilExpanded:()=>au,_isGroupMultiAutoColumn:()=>yi,_isGroupRowsSticky:()=>wi,_isGroupUseEntireRow:()=>ul,_isIOSUserAgent:()=>sn,_isKeyboardMode:()=>Ai,_isLegacyMenuEnabled:()=>Ne,_isMultiRowSelection:()=>Ia,_isNodeOrElement:()=>fi,_isNothingFocused:()=>ma,_isPromise:()=>sv,_isRowBefore:()=>He,_isRowNumbers:()=>an,_isRowSelection:()=>Lt,_isSameRow:()=>Ce,_isServerSideRowModel:()=>ft,_isSetFilterByDefault:()=>iu,_isShowTooltipWhenTruncated:()=>Fo,_isSortDirectionValid:()=>nn,_isSortTypeValid:()=>vl,_isStopPropagationForAgGrid:()=>zt,_isUseApplyButton:()=>co,_isUsingNewCellSelectionAPI:()=>Um,_isUsingNewRowSelectionAPI:()=>hl,_isVisible:()=>Be,_jsonEquals:()=>Aa,_last:()=>W,_loadTemplate:()=>Zs,_logPreInitWarn:()=>Bm,_makeNull:()=>Te,_mergeDeep:()=>Oe,_missing:()=>ie,_normalizeSortDirection:()=>Ri,_normalizeSortType:()=>ra,_observeResize:()=>Ca,_paramToVariableName:()=>Zl,_paramValueToCss:()=>ZC,_parseBigIntOrNull:()=>et,_parseDateTimeFromString:()=>qe,_placeCaretAtEnd:()=>Js,_preInitErrMsg:()=>cl,_prevOrNextDisplayedRow:()=>Ii,_processOnChange:()=>UR,_radioCssClass:()=>di,_refreshFilterUi:()=>cs,_refreshHandlerAndUi:()=>wc,_registerModule:()=>no,_removeAllFromArray:()=>Hs,_removeAriaExpanded:()=>Vd,_removeAriaSort:()=>im,_removeFromArray:()=>Ae,_removeFromParent:()=>ue,_requestAnimationFrame:()=>kt,_resetColumnState:()=>xg,_selectAllCells:()=>rg,_serialiseDate:()=>tt,_setAriaActiveDescendant:()=>Gd,_setAriaChecked:()=>Nd,_setAriaColCount:()=>rm,_setAriaColIndex:()=>js,_setAriaColSpan:()=>Bd,_setAriaControls:()=>_s,_setAriaControlsAndLabel:()=>Ks,_setAriaDescribedBy:()=>ri,_setAriaDisabled:()=>ii,_setAriaExpanded:()=>ot,_setAriaHasPopup:()=>lm,_setAriaHidden:()=>Us,_setAriaInvalid:()=>Ws,_setAriaLabel:()=>de,_setAriaLabelledBy:()=>va,_setAriaLevel:()=>oi,_setAriaOrientation:()=>lR,_setAriaPosInSet:()=>li,_setAriaRole:()=>De,_setAriaRowCount:()=>nm,_setAriaRowIndex:()=>ur,_setAriaSelected:()=>ci,_setAriaSetSize:()=>si,_setAriaSort:()=>om,_setColMenuVisible:()=>ds,_setDisabled:()=>wn,_setDisplayed:()=>G,_setFixedWidth:()=>ta,_setScrollLeft:()=>fr,_setUmd:()=>Tm,_setVisible:()=>Hd,_sharedThemeDefaults:()=>UC,_shouldUpdateColVisibilityAfterGroup:()=>ru,_skipFocusableContainerListenerForAgGrid:()=>Ov,_stopPropagationForAgGrid:()=>Fe,_suppressCellMouseEvent:()=>Bi,_themeAlpineParams:()=>xb,_themeBalhamParams:()=>kb,_themeMaterialParams:()=>Fb,_themeQuartzParams:()=>yb,_toString:()=>ea,_toStringOrNull:()=>Ze,_translate:()=>nl,_translateForFilter:()=>Kt,_unwrapUserComp:()=>Ua,_updateColsMap:()=>Ei,_updateColumnState:()=>uu,_updateFilterModel:()=>yc,_waitUntil:()=>Yd,_warn:()=>R,_warnOnce:()=>aa,agTestIdFor:()=>H,buttonStyleAlpine:()=>ib,buttonStyleBalham:()=>sb,buttonStyleBase:()=>rb,buttonStyleQuartz:()=>ob,checkboxStyleDefault:()=>Yi,colorSchemeDark:()=>GA,colorSchemeDarkBlue:()=>HA,colorSchemeDarkWarm:()=>BA,colorSchemeLight:()=>TA,colorSchemeLightCold:()=>zA,colorSchemeLightWarm:()=>IA,colorSchemeVariable:()=>Qi,columnDropStyleBordered:()=>tc,columnDropStylePlain:()=>Gg,convertColumnGroupState:()=>rI,convertColumnState:()=>lw,createGrid:()=>hJ,createPart:()=>ge,createTheme:()=>Ki,distributeGroupValue:()=>N1,exportMultipleSheetsAsExcel:()=>XB,getGridApi:()=>aI,getGridElement:()=>nI,getMultipleSheetsAsExcel:()=>lp,iconOverrides:()=>_A,iconSetAlpine:()=>db,iconSetBalham:()=>cb,iconSetMaterial:()=>ub,iconSetQuartz:()=>ac,iconSetQuartzBold:()=>ZA,iconSetQuartzLight:()=>QA,iconSetQuartzRegular:()=>fb,inputStyleBase:()=>e3,inputStyleBordered:()=>nc,inputStyleUnderlined:()=>mb,isColumn:()=>wa,isColumnGroup:()=>Le,isColumnGroupAutoCol:()=>Sr,isColumnSelectionCol:()=>za,isCombinedFilterModel:()=>Cu,isProvidedColumnGroup:()=>ke,isRowNumberCol:()=>Re,isSpecialCol:()=>xr,onRowHeightChanged:()=>gc,provideGlobalGridOptions:()=>kR,resetRowHeights:()=>hc,setupAgTestIds:()=>aO,styleMaterial:()=>Rb,tabStyleAlpine:()=>bb,tabStyleBase:()=>o3,tabStyleMaterial:()=>Cb,tabStyleQuartz:()=>vb,tabStyleRolodex:()=>wb,themeAlpine:()=>h3,themeBalham:()=>f3,themeMaterial:()=>C3,themeQuartz:()=>Sb,wrapAgTestIdFor:()=>Z5}),Pa.exports=Xk(Xf),function(){if(typeof document<"u"){var e=document.createElement("style");e.setAttribute("data-ag-scope","legacy"),e.textContent=`.ag-filter-panel-buttons {
display: flex;
justify-content: flex-end;
overflow: hidden;
padding: var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding) 0;
flex-wrap: wrap;
gap: var(--ag-widget-vertical-spacing) var(--ag-widget-horizontal-spacing);
}
.ag-filter-panel-buttons-button {
line-height: 1.5;
}
.ag-filter-panel .ag-standard-button.ag-filter-panel-buttons-apply-button {
color: var(--ag-filter-panel-apply-button-color);
background-color: var(--ag-filter-panel-apply-button-background-color);
}
.ag-filter-panel > *:where(:last-child) {
padding-bottom: var(--ag-widget-container-vertical-padding);
}
.ag-row.ag-row-pinned-source {
color: var(--ag-pinned-source-row-text-color);
background-color: var(--ag-pinned-source-row-background-color);
font-weight: var(--ag-pinned-source-row-font-weight);
}
.ag-row.ag-row-pinned {
color: var(--ag-pinned-row-text-color);
background-color: var(--ag-pinned-row-background-color);
font-weight: var(--ag-pinned-row-font-weight);
}
.ag-floating-top-viewport {
border-bottom: var(--ag-pinned-row-border);
}
.ag-floating-bottom-viewport {
border-top: var(--ag-pinned-row-border);
}
.ag-measurement-container {
--ag-legacy-styles-loaded: "true";
}
.ag-icon {
font-family: var(--ag-icon-font-family);
font-weight: var(--ag-icon-font-weight);
color: var(--ag-icon-font-color);
font-size: var(--ag-icon-size);
line-height: var(--ag-icon-size);
font-style: normal;
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);
position: relative;
}
.ag-icon::before {
content: "";
font-family: inherit;
}
.ag-icon::after {
background: transparent var(--ag-icon-image, none) center/contain no-repeat;
display: var(--ag-icon-image-display);
opacity: var(--ag-icon-image-opacity, 0.9);
position: absolute;
inset: 0;
content: "";
}
.ag-icon-aggregation {
font-family: var(--ag-icon-font-family-aggregation, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-aggregation, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-aggregation, var(--ag-icon-font-color));
}
.ag-icon-aggregation::before {
content: var(--ag-icon-font-code-aggregation, "\\f101");
display: var(--ag-icon-font-display-aggregation, var(--ag-icon-font-display));
}
.ag-icon-aggregation::after {
background-image: var(--ag-icon-image-aggregation, var(--ag-icon-image));
display: var(--ag-icon-image-display-aggregation, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-aggregation, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-arrows {
font-family: var(--ag-icon-font-family-arrows, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-arrows, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-arrows, var(--ag-icon-font-color));
}
.ag-icon-arrows::before {
content: var(--ag-icon-font-code-arrows, "\\f102");
display: var(--ag-icon-font-display-arrows, var(--ag-icon-font-display));
}
.ag-icon-arrows::after {
background-image: var(--ag-icon-image-arrows, var(--ag-icon-image));
display: var(--ag-icon-image-display-arrows, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-arrows, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-asc {
font-family: var(--ag-icon-font-family-asc, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-asc, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-asc, var(--ag-icon-font-color));
}
.ag-icon-asc::before {
content: var(--ag-icon-font-code-asc, "\\f103");
display: var(--ag-icon-font-display-asc, var(--ag-icon-font-display));
}
.ag-icon-asc::after {
background-image: var(--ag-icon-image-asc, var(--ag-icon-image));
display: var(--ag-icon-image-display-asc, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-asc, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-aasc {
font-family: var(--ag-icon-font-family-aasc, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-aasc, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-aasc, var(--ag-icon-font-color));
}
.ag-icon-aasc::before {
content: var(--ag-icon-font-code-aasc, "\\f13c");
display: var(--ag-icon-font-display-aasc, var(--ag-icon-font-display));
}
.ag-icon-aasc::after {
background-image: var(--ag-icon-image-aasc, var(--ag-icon-image));
display: var(--ag-icon-image-display-aasc, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-aasc, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-adesc {
font-family: var(--ag-icon-font-family-adesc, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-adesc, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-adesc, var(--ag-icon-font-color));
}
.ag-icon-adesc::before {
content: var(--ag-icon-font-code-adesc, "\\f13d");
display: var(--ag-icon-font-display-adesc, var(--ag-icon-font-display));
}
.ag-icon-adesc::after {
background-image: var(--ag-icon-image-adesc, var(--ag-icon-image));
display: var(--ag-icon-image-display-adesc, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-adesc, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-cancel {
font-family: var(--ag-icon-font-family-cancel, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-cancel, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-cancel, var(--ag-icon-font-color));
}
.ag-icon-cancel::before {
content: var(--ag-icon-font-code-cancel, "\\f104");
display: var(--ag-icon-font-display-cancel, var(--ag-icon-font-display));
}
.ag-icon-cancel::after {
background-image: var(--ag-icon-image-cancel, var(--ag-icon-image));
display: var(--ag-icon-image-display-cancel, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-cancel, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-chart {
font-family: var(--ag-icon-font-family-chart, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-chart, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-chart, var(--ag-icon-font-color));
}
.ag-icon-chart::before {
content: var(--ag-icon-font-code-chart, "\\f105");
display: var(--ag-icon-font-display-chart, var(--ag-icon-font-display));
}
.ag-icon-chart::after {
background-image: var(--ag-icon-image-chart, var(--ag-icon-image));
display: var(--ag-icon-image-display-chart, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-chart, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-checkbox-checked {
font-family: var(--ag-icon-font-family-checkbox-checked, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-checkbox-checked, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-checkbox-checked, var(--ag-icon-font-color));
}
.ag-icon-checkbox-checked::before {
content: var(--ag-icon-font-code-checkbox-checked, "\\f106");
display: var(--ag-icon-font-display-checkbox-checked, var(--ag-icon-font-display));
}
.ag-icon-checkbox-checked::after {
background-image: var(--ag-icon-image-checkbox-checked, var(--ag-icon-image));
display: var(--ag-icon-image-display-checkbox-checked, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-checkbox-checked, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-checkbox-indeterminate {
font-family: var(--ag-icon-font-family-checkbox-indeterminate, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-checkbox-indeterminate, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-checkbox-indeterminate, var(--ag-icon-font-color));
}
.ag-icon-checkbox-indeterminate::before {
content: var(--ag-icon-font-code-checkbox-indeterminate, "\\f107");
display: var(--ag-icon-font-display-checkbox-indeterminate, var(--ag-icon-font-display));
}
.ag-icon-checkbox-indeterminate::after {
background-image: var(--ag-icon-image-checkbox-indeterminate, var(--ag-icon-image));
display: var(--ag-icon-image-display-checkbox-indeterminate, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-checkbox-indeterminate, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-checkbox-unchecked {
font-family: var(--ag-icon-font-family-checkbox-unchecked, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-checkbox-unchecked, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-checkbox-unchecked, var(--ag-icon-font-color));
}
.ag-icon-checkbox-unchecked::before {
content: var(--ag-icon-font-code-checkbox-unchecked, "\\f108");
display: var(--ag-icon-font-display-checkbox-unchecked, var(--ag-icon-font-display));
}
.ag-icon-checkbox-unchecked::after {
background-image: var(--ag-icon-image-checkbox-unchecked, var(--ag-icon-image));
display: var(--ag-icon-image-display-checkbox-unchecked, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-checkbox-unchecked, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-color-picker {
font-family: var(--ag-icon-font-family-color-picker, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-color-picker, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-color-picker, var(--ag-icon-font-color));
}
.ag-icon-color-picker::before {
content: var(--ag-icon-font-code-color-picker, "\\f109");
display: var(--ag-icon-font-display-color-picker, var(--ag-icon-font-display));
}
.ag-icon-color-picker::after {
background-image: var(--ag-icon-image-color-picker, var(--ag-icon-image));
display: var(--ag-icon-image-display-color-picker, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-color-picker, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-columns {
font-family: var(--ag-icon-font-family-columns, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-columns, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-columns, var(--ag-icon-font-color));
}
.ag-icon-columns::before {
content: var(--ag-icon-font-code-columns, "\\f10a");
display: var(--ag-icon-font-display-columns, var(--ag-icon-font-display));
}
.ag-icon-columns::after {
background-image: var(--ag-icon-image-columns, var(--ag-icon-image));
display: var(--ag-icon-image-display-columns, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-columns, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-contracted {
font-family: var(--ag-icon-font-family-contracted, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-contracted, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-contracted, var(--ag-icon-font-color));
}
.ag-icon-contracted::before {
content: var(--ag-icon-font-code-contracted, "\\f10b");
display: var(--ag-icon-font-display-contracted, var(--ag-icon-font-display));
}
.ag-icon-contracted::after {
background-image: var(--ag-icon-image-contracted, var(--ag-icon-image));
display: var(--ag-icon-image-display-contracted, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-contracted, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-copy {
font-family: var(--ag-icon-font-family-copy, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-copy, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-copy, var(--ag-icon-font-color));
}
.ag-icon-copy::before {
content: var(--ag-icon-font-code-copy, "\\f10c");
display: var(--ag-icon-font-display-copy, var(--ag-icon-font-display));
}
.ag-icon-copy::after {
background-image: var(--ag-icon-image-copy, var(--ag-icon-image));
display: var(--ag-icon-image-display-copy, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-copy, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-cross {
font-family: var(--ag-icon-font-family-cross, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-cross, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-cross, var(--ag-icon-font-color));
}
.ag-icon-cross::before {
content: var(--ag-icon-font-code-cross, "\\f10d");
display: var(--ag-icon-font-display-cross, var(--ag-icon-font-display));
}
.ag-icon-cross::after {
background-image: var(--ag-icon-image-cross, var(--ag-icon-image));
display: var(--ag-icon-image-display-cross, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-cross, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-csv {
font-family: var(--ag-icon-font-family-csv, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-csv, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-csv, var(--ag-icon-font-color));
}
.ag-icon-csv::before {
content: var(--ag-icon-font-code-csv, "\\f10e");
display: var(--ag-icon-font-display-csv, var(--ag-icon-font-display));
}
.ag-icon-csv::after {
background-image: var(--ag-icon-image-csv, var(--ag-icon-image));
display: var(--ag-icon-image-display-csv, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-csv, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-cut {
font-family: var(--ag-icon-font-family-cut, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-cut, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-cut, var(--ag-icon-font-color));
}
.ag-icon-cut::before {
content: var(--ag-icon-font-code-cut, "\\f10f");
display: var(--ag-icon-font-display-cut, var(--ag-icon-font-display));
}
.ag-icon-cut::after {
background-image: var(--ag-icon-image-cut, var(--ag-icon-image));
display: var(--ag-icon-image-display-cut, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-cut, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-desc {
font-family: var(--ag-icon-font-family-desc, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-desc, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-desc, var(--ag-icon-font-color));
}
.ag-icon-desc::before {
content: var(--ag-icon-font-code-desc, "\\f110");
display: var(--ag-icon-font-display-desc, var(--ag-icon-font-display));
}
.ag-icon-desc::after {
background-image: var(--ag-icon-image-desc, var(--ag-icon-image));
display: var(--ag-icon-image-display-desc, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-desc, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-excel {
font-family: var(--ag-icon-font-family-excel, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-excel, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-excel, var(--ag-icon-font-color));
}
.ag-icon-excel::before {
content: var(--ag-icon-font-code-excel, "\\f111");
display: var(--ag-icon-font-display-excel, var(--ag-icon-font-display));
}
.ag-icon-excel::after {
background-image: var(--ag-icon-image-excel, var(--ag-icon-image));
display: var(--ag-icon-image-display-excel, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-excel, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-expanded {
font-family: var(--ag-icon-font-family-expanded, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-expanded, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-expanded, var(--ag-icon-font-color));
}
.ag-icon-expanded::before {
content: var(--ag-icon-font-code-expanded, "\\f112");
display: var(--ag-icon-font-display-expanded, var(--ag-icon-font-display));
}
.ag-icon-expanded::after {
background-image: var(--ag-icon-image-expanded, var(--ag-icon-image));
display: var(--ag-icon-image-display-expanded, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-expanded, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-eye-slash {
font-family: var(--ag-icon-font-family-eye-slash, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-eye-slash, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-eye-slash, var(--ag-icon-font-color));
}
.ag-icon-eye-slash::before {
content: var(--ag-icon-font-code-eye-slash, "\\f113");
display: var(--ag-icon-font-display-eye-slash, var(--ag-icon-font-display));
}
.ag-icon-eye-slash::after {
background-image: var(--ag-icon-image-eye-slash, var(--ag-icon-image));
display: var(--ag-icon-image-display-eye-slash, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-eye-slash, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-eye {
font-family: var(--ag-icon-font-family-eye, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-eye, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-eye, var(--ag-icon-font-color));
}
.ag-icon-eye::before {
content: var(--ag-icon-font-code-eye, "\\f114");
display: var(--ag-icon-font-display-eye, var(--ag-icon-font-display));
}
.ag-icon-eye::after {
background-image: var(--ag-icon-image-eye, var(--ag-icon-image));
display: var(--ag-icon-image-display-eye, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-eye, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-filter {
font-family: var(--ag-icon-font-family-filter, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-filter, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-filter, var(--ag-icon-font-color));
}
.ag-icon-filter::before {
content: var(--ag-icon-font-code-filter, "\\f115");
display: var(--ag-icon-font-display-filter, var(--ag-icon-font-display));
}
.ag-icon-filter::after {
background-image: var(--ag-icon-image-filter, var(--ag-icon-image));
display: var(--ag-icon-image-display-filter, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-filter, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-first {
font-family: var(--ag-icon-font-family-first, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-first, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-first, var(--ag-icon-font-color));
}
.ag-icon-first::before {
content: var(--ag-icon-font-code-first, "\\f116");
display: var(--ag-icon-font-display-first, var(--ag-icon-font-display));
}
.ag-icon-first::after {
background-image: var(--ag-icon-image-first, var(--ag-icon-image));
display: var(--ag-icon-image-display-first, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-first, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-grip {
font-family: var(--ag-icon-font-family-grip, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-grip, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-grip, var(--ag-icon-font-color));
}
.ag-icon-grip::before {
content: var(--ag-icon-font-code-grip, "\\f117");
display: var(--ag-icon-font-display-grip, var(--ag-icon-font-display));
}
.ag-icon-grip::after {
background-image: var(--ag-icon-image-grip, var(--ag-icon-image));
display: var(--ag-icon-image-display-grip, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-grip, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-group {
font-family: var(--ag-icon-font-family-group, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-group, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-group, var(--ag-icon-font-color));
}
.ag-icon-group::before {
content: var(--ag-icon-font-code-group, "\\f118");
display: var(--ag-icon-font-display-group, var(--ag-icon-font-display));
}
.ag-icon-group::after {
background-image: var(--ag-icon-image-group, var(--ag-icon-image));
display: var(--ag-icon-image-display-group, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-group, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-last {
font-family: var(--ag-icon-font-family-last, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-last, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-last, var(--ag-icon-font-color));
}
.ag-icon-last::before {
content: var(--ag-icon-font-code-last, "\\f119");
display: var(--ag-icon-font-display-last, var(--ag-icon-font-display));
}
.ag-icon-last::after {
background-image: var(--ag-icon-image-last, var(--ag-icon-image));
display: var(--ag-icon-image-display-last, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-last, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-left {
font-family: var(--ag-icon-font-family-left, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-left, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-left, var(--ag-icon-font-color));
}
.ag-icon-left::before {
content: var(--ag-icon-font-code-left, "\\f11a");
display: var(--ag-icon-font-display-left, var(--ag-icon-font-display));
}
.ag-icon-left::after {
background-image: var(--ag-icon-image-left, var(--ag-icon-image));
display: var(--ag-icon-image-display-left, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-left, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-linked {
font-family: var(--ag-icon-font-family-linked, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-linked, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-linked, var(--ag-icon-font-color));
}
.ag-icon-linked::before {
content: var(--ag-icon-font-code-linked, "\\f11b");
display: var(--ag-icon-font-display-linked, var(--ag-icon-font-display));
}
.ag-icon-linked::after {
background-image: var(--ag-icon-image-linked, var(--ag-icon-image));
display: var(--ag-icon-image-display-linked, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-linked, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-loading {
font-family: var(--ag-icon-font-family-loading, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-loading, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-loading, var(--ag-icon-font-color));
}
.ag-icon-loading::before {
content: var(--ag-icon-font-code-loading, "\\f11c");
display: var(--ag-icon-font-display-loading, var(--ag-icon-font-display));
}
.ag-icon-loading::after {
background-image: var(--ag-icon-image-loading, var(--ag-icon-image));
display: var(--ag-icon-image-display-loading, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-loading, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-maximize {
font-family: var(--ag-icon-font-family-maximize, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-maximize, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-maximize, var(--ag-icon-font-color));
}
.ag-icon-maximize::before {
content: var(--ag-icon-font-code-maximize, "\\f11d");
display: var(--ag-icon-font-display-maximize, var(--ag-icon-font-display));
}
.ag-icon-maximize::after {
background-image: var(--ag-icon-image-maximize, var(--ag-icon-image));
display: var(--ag-icon-image-display-maximize, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-maximize, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-menu {
font-family: var(--ag-icon-font-family-menu, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-menu, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-menu, var(--ag-icon-font-color));
}
.ag-icon-menu::before {
content: var(--ag-icon-font-code-menu, "\\f11e");
display: var(--ag-icon-font-display-menu, var(--ag-icon-font-display));
}
.ag-icon-menu::after {
background-image: var(--ag-icon-image-menu, var(--ag-icon-image));
display: var(--ag-icon-image-display-menu, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-menu, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-minimize {
font-family: var(--ag-icon-font-family-minimize, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-minimize, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-minimize, var(--ag-icon-font-color));
}
.ag-icon-minimize::before {
content: var(--ag-icon-font-code-minimize, "\\f11f");
display: var(--ag-icon-font-display-minimize, var(--ag-icon-font-display));
}
.ag-icon-minimize::after {
background-image: var(--ag-icon-image-minimize, var(--ag-icon-image));
display: var(--ag-icon-image-display-minimize, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-minimize, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-next {
font-family: var(--ag-icon-font-family-next, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-next, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-next, var(--ag-icon-font-color));
}
.ag-icon-next::before {
content: var(--ag-icon-font-code-next, "\\f120");
display: var(--ag-icon-font-display-next, var(--ag-icon-font-display));
}
.ag-icon-next::after {
background-image: var(--ag-icon-image-next, var(--ag-icon-image));
display: var(--ag-icon-image-display-next, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-next, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-none {
font-family: var(--ag-icon-font-family-none, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-none, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-none, var(--ag-icon-font-color));
}
.ag-icon-none::before {
content: var(--ag-icon-font-code-none, "\\f121");
display: var(--ag-icon-font-display-none, var(--ag-icon-font-display));
}
.ag-icon-none::after {
background-image: var(--ag-icon-image-none, var(--ag-icon-image));
display: var(--ag-icon-image-display-none, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-none, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-not-allowed {
font-family: var(--ag-icon-font-family-not-allowed, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-not-allowed, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-not-allowed, var(--ag-icon-font-color));
}
.ag-icon-not-allowed::before {
content: var(--ag-icon-font-code-not-allowed, "\\f122");
display: var(--ag-icon-font-display-not-allowed, var(--ag-icon-font-display));
}
.ag-icon-not-allowed::after {
background-image: var(--ag-icon-image-not-allowed, var(--ag-icon-image));
display: var(--ag-icon-image-display-not-allowed, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-not-allowed, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-paste {
font-family: var(--ag-icon-font-family-paste, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-paste, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-paste, var(--ag-icon-font-color));
}
.ag-icon-paste::before {
content: var(--ag-icon-font-code-paste, "\\f123");
display: var(--ag-icon-font-display-paste, var(--ag-icon-font-display));
}
.ag-icon-paste::after {
background-image: var(--ag-icon-image-paste, var(--ag-icon-image));
display: var(--ag-icon-image-display-paste, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-paste, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-pin {
font-family: var(--ag-icon-font-family-pin, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-pin, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-pin, var(--ag-icon-font-color));
}
.ag-icon-pin::before {
content: var(--ag-icon-font-code-pin, "\\f124");
display: var(--ag-icon-font-display-pin, var(--ag-icon-font-display));
}
.ag-icon-pin::after {
background-image: var(--ag-icon-image-pin, var(--ag-icon-image));
display: var(--ag-icon-image-display-pin, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-pin, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-pivot {
font-family: var(--ag-icon-font-family-pivot, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-pivot, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-pivot, var(--ag-icon-font-color));
}
.ag-icon-pivot::before {
content: var(--ag-icon-font-code-pivot, "\\f125");
display: var(--ag-icon-font-display-pivot, var(--ag-icon-font-display));
}
.ag-icon-pivot::after {
background-image: var(--ag-icon-image-pivot, var(--ag-icon-image));
display: var(--ag-icon-image-display-pivot, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-pivot, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-previous {
font-family: var(--ag-icon-font-family-previous, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-previous, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-previous, var(--ag-icon-font-color));
}
.ag-icon-previous::before {
content: var(--ag-icon-font-code-previous, "\\f126");
display: var(--ag-icon-font-display-previous, var(--ag-icon-font-display));
}
.ag-icon-previous::after {
background-image: var(--ag-icon-image-previous, var(--ag-icon-image));
display: var(--ag-icon-image-display-previous, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-previous, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-radio-button-off {
font-family: var(--ag-icon-font-family-radio-button-off, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-radio-button-off, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-radio-button-off, var(--ag-icon-font-color));
}
.ag-icon-radio-button-off::before {
content: var(--ag-icon-font-code-radio-button-off, "\\f127");
display: var(--ag-icon-font-display-radio-button-off, var(--ag-icon-font-display));
}
.ag-icon-radio-button-off::after {
background-image: var(--ag-icon-image-radio-button-off, var(--ag-icon-image));
display: var(--ag-icon-image-display-radio-button-off, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-radio-button-off, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-radio-button-on {
font-family: var(--ag-icon-font-family-radio-button-on, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-radio-button-on, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-radio-button-on, var(--ag-icon-font-color));
}
.ag-icon-radio-button-on::before {
content: var(--ag-icon-font-code-radio-button-on, "\\f128");
display: var(--ag-icon-font-display-radio-button-on, var(--ag-icon-font-display));
}
.ag-icon-radio-button-on::after {
background-image: var(--ag-icon-image-radio-button-on, var(--ag-icon-image));
display: var(--ag-icon-image-display-radio-button-on, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-radio-button-on, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-right {
font-family: var(--ag-icon-font-family-right, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-right, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-right, var(--ag-icon-font-color));
}
.ag-icon-right::before {
content: var(--ag-icon-font-code-right, "\\f129");
display: var(--ag-icon-font-display-right, var(--ag-icon-font-display));
}
.ag-icon-right::after {
background-image: var(--ag-icon-image-right, var(--ag-icon-image));
display: var(--ag-icon-image-display-right, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-right, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-save {
font-family: var(--ag-icon-font-family-save, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-save, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-save, var(--ag-icon-font-color));
}
.ag-icon-save::before {
content: var(--ag-icon-font-code-save, "\\f12a");
display: var(--ag-icon-font-display-save, var(--ag-icon-font-display));
}
.ag-icon-save::after {
background-image: var(--ag-icon-image-save, var(--ag-icon-image));
display: var(--ag-icon-image-display-save, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-save, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-small-down {
font-family: var(--ag-icon-font-family-small-down, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-small-down, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-small-down, var(--ag-icon-font-color));
}
.ag-icon-small-down::before {
content: var(--ag-icon-font-code-small-down, "\\f12b");
display: var(--ag-icon-font-display-small-down, var(--ag-icon-font-display));
}
.ag-icon-small-down::after {
background-image: var(--ag-icon-image-small-down, var(--ag-icon-image));
display: var(--ag-icon-image-display-small-down, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-small-down, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-small-left {
font-family: var(--ag-icon-font-family-small-left, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-small-left, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-small-left, var(--ag-icon-font-color));
}
.ag-icon-small-left::before {
content: var(--ag-icon-font-code-small-left, "\\f12c");
display: var(--ag-icon-font-display-small-left, var(--ag-icon-font-display));
}
.ag-icon-small-left::after {
background-image: var(--ag-icon-image-small-left, var(--ag-icon-image));
display: var(--ag-icon-image-display-small-left, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-small-left, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-small-right {
font-family: var(--ag-icon-font-family-small-right, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-small-right, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-small-right, var(--ag-icon-font-color));
}
.ag-icon-small-right::before {
content: var(--ag-icon-font-code-small-right, "\\f12d");
display: var(--ag-icon-font-display-small-right, var(--ag-icon-font-display));
}
.ag-icon-small-right::after {
background-image: var(--ag-icon-image-small-right, var(--ag-icon-image));
display: var(--ag-icon-image-display-small-right, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-small-right, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-small-up {
font-family: var(--ag-icon-font-family-small-up, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-small-up, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-small-up, var(--ag-icon-font-color));
}
.ag-icon-small-up::before {
content: var(--ag-icon-font-code-small-up, "\\f12e");
display: var(--ag-icon-font-display-small-up, var(--ag-icon-font-display));
}
.ag-icon-small-up::after {
background-image: var(--ag-icon-image-small-up, var(--ag-icon-image));
display: var(--ag-icon-image-display-small-up, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-small-up, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-tick {
font-family: var(--ag-icon-font-family-tick, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-tick, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-tick, var(--ag-icon-font-color));
}
.ag-icon-tick::before {
content: var(--ag-icon-font-code-tick, "\\f12f");
display: var(--ag-icon-font-display-tick, var(--ag-icon-font-display));
}
.ag-icon-tick::after {
background-image: var(--ag-icon-image-tick, var(--ag-icon-image));
display: var(--ag-icon-image-display-tick, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-tick, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-tree-closed {
font-family: var(--ag-icon-font-family-tree-closed, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-tree-closed, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-tree-closed, var(--ag-icon-font-color));
}
.ag-icon-tree-closed::before {
content: var(--ag-icon-font-code-tree-closed, "\\f130");
display: var(--ag-icon-font-display-tree-closed, var(--ag-icon-font-display));
}
.ag-icon-tree-closed::after {
background-image: var(--ag-icon-image-tree-closed, var(--ag-icon-image));
display: var(--ag-icon-image-display-tree-closed, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-tree-closed, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-tree-indeterminate {
font-family: var(--ag-icon-font-family-tree-indeterminate, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-tree-indeterminate, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-tree-indeterminate, var(--ag-icon-font-color));
}
.ag-icon-tree-indeterminate::before {
content: var(--ag-icon-font-code-tree-indeterminate, "\\f131");
display: var(--ag-icon-font-display-tree-indeterminate, var(--ag-icon-font-display));
}
.ag-icon-tree-indeterminate::after {
background-image: var(--ag-icon-image-tree-indeterminate, var(--ag-icon-image));
display: var(--ag-icon-image-display-tree-indeterminate, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-tree-indeterminate, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-tree-open {
font-family: var(--ag-icon-font-family-tree-open, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-tree-open, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-tree-open, var(--ag-icon-font-color));
}
.ag-icon-tree-open::before {
content: var(--ag-icon-font-code-tree-open, "\\f132");
display: var(--ag-icon-font-display-tree-open, var(--ag-icon-font-display));
}
.ag-icon-tree-open::after {
background-image: var(--ag-icon-image-tree-open, var(--ag-icon-image));
display: var(--ag-icon-image-display-tree-open, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-tree-open, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-unlinked {
font-family: var(--ag-icon-font-family-unlinked, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-unlinked, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-unlinked, var(--ag-icon-font-color));
}
.ag-icon-unlinked::before {
content: var(--ag-icon-font-code-unlinked, "\\f133");
display: var(--ag-icon-font-display-unlinked, var(--ag-icon-font-display));
}
.ag-icon-unlinked::after {
background-image: var(--ag-icon-image-unlinked, var(--ag-icon-image));
display: var(--ag-icon-image-display-unlinked, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-unlinked, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-up {
font-family: var(--ag-icon-font-family-up, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-up, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-up, var(--ag-icon-font-color));
}
.ag-icon-up::before {
content: var(--ag-icon-font-code-up, "\\f134");
display: var(--ag-icon-font-display-up, var(--ag-icon-font-display));
}
.ag-icon-up::after {
background-image: var(--ag-icon-image-up, var(--ag-icon-image));
display: var(--ag-icon-image-display-up, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-up, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-down {
font-family: var(--ag-icon-font-family-down, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-down, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-down, var(--ag-icon-font-color));
}
.ag-icon-down::before {
content: var(--ag-icon-font-code-down, "\\f135");
display: var(--ag-icon-font-display-down, var(--ag-icon-font-display));
}
.ag-icon-down::after {
background-image: var(--ag-icon-image-down, var(--ag-icon-image));
display: var(--ag-icon-image-display-down, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-down, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-plus {
font-family: var(--ag-icon-font-family-plus, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-plus, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-plus, var(--ag-icon-font-color));
}
.ag-icon-plus::before {
content: var(--ag-icon-font-code-plus, "\\f136");
display: var(--ag-icon-font-display-plus, var(--ag-icon-font-display));
}
.ag-icon-plus::after {
background-image: var(--ag-icon-image-plus, var(--ag-icon-image));
display: var(--ag-icon-image-display-plus, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-plus, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-minus {
font-family: var(--ag-icon-font-family-minus, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-minus, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-minus, var(--ag-icon-font-color));
}
.ag-icon-minus::before {
content: var(--ag-icon-font-code-minus, "\\f137");
display: var(--ag-icon-font-display-minus, var(--ag-icon-font-display));
}
.ag-icon-minus::after {
background-image: var(--ag-icon-image-minus, var(--ag-icon-image));
display: var(--ag-icon-image-display-minus, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-minus, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-menu-alt {
font-family: var(--ag-icon-font-family-menu-alt, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-menu-alt, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-menu-alt, var(--ag-icon-font-color));
}
.ag-icon-menu-alt::before {
content: var(--ag-icon-font-code-menu-alt, "\\f138");
display: var(--ag-icon-font-display-menu-alt, var(--ag-icon-font-display));
}
.ag-icon-menu-alt::after {
background-image: var(--ag-icon-image-menu-alt, var(--ag-icon-image));
display: var(--ag-icon-image-display-menu-alt, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-menu-alt, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-settings {
font-family: var(--ag-icon-font-family-settings, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-settings, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-settings, var(--ag-icon-font-color));
}
.ag-icon-settings::before {
content: var(--ag-icon-font-code-settings, "\\f139");
display: var(--ag-icon-font-display-settings, var(--ag-icon-font-display));
}
.ag-icon-settings::after {
background-image: var(--ag-icon-image-settings, var(--ag-icon-image));
display: var(--ag-icon-image-display-settings, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-settings, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-column-arrow {
font-family: var(--ag-icon-font-family-column-arrow, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-column-arrow, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-column-arrow, var(--ag-icon-font-color));
}
.ag-icon-column-arrow::before {
content: var(--ag-icon-font-code-column-arrow, "\\f13a");
display: var(--ag-icon-font-display-column-arrow, var(--ag-icon-font-display));
}
.ag-icon-column-arrow::after {
background-image: var(--ag-icon-image-column-arrow, var(--ag-icon-image));
display: var(--ag-icon-image-display-column-arrow, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-column-arrow, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-un-pin {
font-family: var(--ag-icon-font-family-un-pin, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-un-pin, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-un-pin, var(--ag-icon-font-color));
}
.ag-icon-un-pin::before {
content: var(--ag-icon-font-code-un-pin, "\\f13b");
display: var(--ag-icon-font-display-un-pin, var(--ag-icon-font-display));
}
.ag-icon-un-pin::after {
background-image: var(--ag-icon-image-un-pin, var(--ag-icon-image));
display: var(--ag-icon-image-display-un-pin, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-un-pin, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-pinned-bottom {
font-family: var(--ag-icon-font-family-pinned-bottom, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-pinned-bottom, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-pinned-bottom, var(--ag-icon-font-color));
}
.ag-icon-pinned-bottom::before {
content: var(--ag-icon-font-code-pinned-bottom, "\\f13e");
display: var(--ag-icon-font-display-pinned-bottom, var(--ag-icon-font-display));
}
.ag-icon-pinned-bottom::after {
background-image: var(--ag-icon-image-pinned-bottom, var(--ag-icon-image));
display: var(--ag-icon-image-display-pinned-bottom, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-pinned-bottom, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-pinned-top {
font-family: var(--ag-icon-font-family-pinned-top, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-pinned-top, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-pinned-top, var(--ag-icon-font-color));
}
.ag-icon-pinned-top::before {
content: var(--ag-icon-font-code-pinned-top, "\\f13f");
display: var(--ag-icon-font-display-pinned-top, var(--ag-icon-font-display));
}
.ag-icon-pinned-top::after {
background-image: var(--ag-icon-image-pinned-top, var(--ag-icon-image));
display: var(--ag-icon-image-display-pinned-top, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-pinned-top, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-chevron-up {
font-family: var(--ag-icon-font-family-chevron-up, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-chevron-up, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-chevron-up, var(--ag-icon-font-color));
}
.ag-icon-chevron-up::before {
content: var(--ag-icon-font-code-chevron-up, "\\f140");
display: var(--ag-icon-font-display-chevron-up, var(--ag-icon-font-display));
}
.ag-icon-chevron-up::after {
background-image: var(--ag-icon-image-chevron-up, var(--ag-icon-image));
display: var(--ag-icon-image-display-chevron-up, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-chevron-up, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-chevron-down {
font-family: var(--ag-icon-font-family-chevron-down, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-chevron-down, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-chevron-down, var(--ag-icon-font-color));
}
.ag-icon-chevron-down::before {
content: var(--ag-icon-font-code-chevron-down, "\\f141");
display: var(--ag-icon-font-display-chevron-down, var(--ag-icon-font-display));
}
.ag-icon-chevron-down::after {
background-image: var(--ag-icon-image-chevron-down, var(--ag-icon-image));
display: var(--ag-icon-image-display-chevron-down, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-chevron-down, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-chevron-left {
font-family: var(--ag-icon-font-family-chevron-left, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-chevron-left, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-chevron-left, var(--ag-icon-font-color));
}
.ag-icon-chevron-left::before {
content: var(--ag-icon-font-code-chevron-left, "\\f142");
display: var(--ag-icon-font-display-chevron-left, var(--ag-icon-font-display));
}
.ag-icon-chevron-left::after {
background-image: var(--ag-icon-image-chevron-left, var(--ag-icon-image));
display: var(--ag-icon-image-display-chevron-left, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-chevron-left, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-chevron-right {
font-family: var(--ag-icon-font-family-chevron-right, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-chevron-right, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-chevron-right, var(--ag-icon-font-color));
}
.ag-icon-chevron-right::before {
content: var(--ag-icon-font-code-chevron-right, "\\f143");
display: var(--ag-icon-font-display-chevron-right, var(--ag-icon-font-display));
}
.ag-icon-chevron-right::after {
background-image: var(--ag-icon-image-chevron-right, var(--ag-icon-image));
display: var(--ag-icon-image-display-chevron-right, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-chevron-right, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-filter-add {
font-family: var(--ag-icon-font-family-filter-add, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-filter-add, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-filter-add, var(--ag-icon-font-color));
}
.ag-icon-filter-add::before {
content: var(--ag-icon-font-code-filter-add, "\\f144");
display: var(--ag-icon-font-display-filter-add, var(--ag-icon-font-display));
}
.ag-icon-filter-add::after {
background-image: var(--ag-icon-image-filter-add, var(--ag-icon-image));
display: var(--ag-icon-image-display-filter-add, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-filter-add, var(--ag-icon-image-opacity, 0.9));
}
.ag-icon-edit {
font-family: var(--ag-icon-font-family-edit, var(--ag-icon-font-family));
font-weight: var(--ag-icon-font-weight-edit, var(--ag-icon-font-weight));
color: var(--ag-icon-font-color-edit, var(--ag-icon-font-color));
}
.ag-icon-edit::before {
content: var(--ag-icon-font-code-edit, "\\f145");
display: var(--ag-icon-font-display-edit, var(--ag-icon-font-display));
}
.ag-icon-edit::after {
background-image: var(--ag-icon-image-edit, var(--ag-icon-image));
display: var(--ag-icon-image-display-edit, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-edit, var(--ag-icon-image-opacity, 0.9));
}
.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-tooltip-error-background-color: color-mix(
in srgb,
var(--ag-background-color),
var(--ag-invalid-color) 10%
);
--ag-tooltip-error-text-color: var(--ag-invalid-color);
--ag-tooltip-error-border-color: color-mix(in srgb, var(--ag-background-color), var(--ag-invalid-color) 25%);
--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-data-background-color: var(--ag-background-color);
--ag-odd-row-background-color: var(--ag-data-background-color);
--ag-modal-overlay-background-color: rgba(255, 255, 255, 0.66);
--ag-menu-background-color: var(--ag-background-color);
--ag-menu-border-color: var(--ag-border-color);
--ag-panel-background-color: var(--ag-background-color);
--ag-panel-border-color: var(--ag-border-color);
--ag-row-hover-color: transparent;
--ag-column-hover-color: transparent;
--ag-range-selection-border-color: var(--ag-foreground-color);
--ag-row-drag-indicator-color: var(--ag-range-selection-border-color);
--ag-row-drag-indicator-width: 2px;
--ag-column-drag-indicator-color: var(--ag-range-selection-border-color);
--ag-column-drag-indicator-width: 2px;
--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-range-header-highlight-color: color-mix(
in srgb,
var(--ag-header-background-color),
var(--ag-foreground-color) 8%
);
--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-row-loading-skeleton-effect-color: rgba(66, 66, 66, 0.2);
--ag-chip-background-color: transparent;
--ag-chip-border-color: var(--ag-chip-background-color);
--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-color: var(--ag-secondary-border-color);
--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-full-row-invalid-background-color: color-mix(
in srgb,
var(--ag-background-color),
var(--ag-invalid-color) 25%
);
--ag-borders-side-button: var(--ag-borders);
--ag-border-radius: 0px;
--ag-wrapper-border-radius: var(--ag-border-radius);
--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-error-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-icon-font-weight: normal;
--ag-icon-font-color: var(--ag-foreground-color);
--ag-icon-image-display: block;
--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-pagination-panel-height: var(--ag-header-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-advanced-filter-builder-indent-size: calc(var(--ag-grid-size) * 2 + var(--ag-icon-size));
--ag-row-group-indent-size: calc(var(--ag-cell-widget-spacing) + var(--ag-icon-size));
--ag-row-numbers-selected-color: #bbb;
--ag-filter-tool-panel-group-indent: 16px;
--ag-tab-min-width: 220px;
--ag-chart-menu-panel-width: var(--ag-tab-min-width);
--ag-menu-min-width: 181px;
--ag-side-bar-panel-width: 200px;
--ag-side-bar-panel-animation-duration: 0s;
--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-advanced-filter-join-pill-color: #f08e8d;
--ag-advanced-filter-column-pill-color: #a6e194;
--ag-advanced-filter-option-pill-color: #f3c08b;
--ag-advanced-filter-value-pill-color: #85c0e4;
--ag-find-match-color: var(--ag-foreground-color);
--ag-find-active-match-color: var(--ag-foreground-color);
--ag-find-match-background-color: #ffff00;
--ag-find-active-match-background-color: #ffa500;
--ag-cell-batch-edit-background-color: rgb(220 181 139 / 16%);
--ag-cell-batch-edit-text-color: #422f00;
--ag-row-batch-edit-background-color: var(--ag-cell-batch-edit-background-color);
--ag-row-batch-edit-text-color: var(--ag-cell-batch-edit-text-color);
--ag-filter-panel-apply-button-color: var(--ag-foreground-color);
--ag-filter-panel-apply-button-background-color: var(--ag-background-color);
--ag-column-panel-apply-button-color: var(--ag-foreground-color);
--ag-column-panel-apply-button-background-color: var(--ag-background-color);
--ag-filter-panel-card-subtle-color: var(--ag-foreground-color);
--ag-filter-panel-card-subtle-hover-color: var(--ag-foreground-color);
--ag-formula-token-1-color: #3269c6;
--ag-formula-token-1-background-color: rgb(50 105 198 / 16%);
--ag-formula-token-1-border-color: var(--ag-formula-token-1-color);
--ag-formula-token-2-color: #c0343f;
--ag-formula-token-2-background-color: rgb(192 52 63 / 16%);
--ag-formula-token-2-border-color: var(--ag-formula-token-2-color);
--ag-formula-token-3-color: #8156b8;
--ag-formula-token-3-background-color: rgb(129 86 184 / 16%);
--ag-formula-token-3-border-color: var(--ag-formula-token-3-color);
--ag-formula-token-4-color: #007c1f;
--ag-formula-token-4-background-color: rgb(0 124 31 / 16%);
--ag-formula-token-4-border-color: var(--ag-formula-token-4-color);
--ag-formula-token-5-color: #b03e85;
--ag-formula-token-5-background-color: rgb(176 62 133 / 16%);
--ag-formula-token-5-border-color: var(--ag-formula-token-5-color);
--ag-formula-token-6-color: #b74900;
--ag-formula-token-6-background-color: rgb(183 73 0 / 16%);
--ag-formula-token-6-border-color: var(--ag-formula-token-6-color);
--ag-formula-token-7-color: #247492;
--ag-formula-token-7-background-color: rgb(36 116 146 / 16%);
--ag-formula-token-7-border-color: var(--ag-formula-token-7-color);
}
.ag-root-wrapper,
.ag-dnd-ghost {
background-color: var(--ag-background-color);
}
.ag-sticky-top,
.ag-sticky-bottom {
background-color: var(--ag-data-background-color);
}
.ag-sticky-bottom .ag-pinned-left-sticky-bottom,
.ag-sticky-bottom .ag-sticky-bottom-container,
.ag-sticky-bottom .ag-pinned-right-sticky-bottom {
border-top: var(--ag-row-border-style) var(--ag-row-border-color) var(--ag-row-border-width);
}
.ag-root-wrapper,
.ag-popup {
--ag-indentation-level: 0;
}
[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-ng2,
ag-grid-polymer,
ag-grid-aurelia {
display: block;
}
.ag-aria-description-container {
z-index: 9999;
border: 0px;
clip: rect(1px, 1px, 1px, 1px);
height: 1px;
width: 1px;
position: absolute;
overflow: hidden;
padding: 0px;
white-space: nowrap;
}
.ag-hidden {
display: none !important;
}
.ag-invisible {
visibility: hidden !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 {
position: absolute;
width: 0;
height: 0;
display: block;
}
.ag-virtual-list-viewport .ag-tab-guard {
position: sticky;
}
.ag-tab-guard-top {
top: 1px;
}
.ag-tab-guard-bottom {
bottom: 1px;
}
.ag-select-agg-func-popup {
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: 0.2s;
animation-iteration-count: infinite;
animation-name: ag-shake-left-to-right;
}
@keyframes ag-shake-left-to-right {
from {
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;
white-space: normal;
}
.ag-root-wrapper.ag-layout-normal {
height: 100%;
}
.ag-watermark {
position: absolute;
bottom: 20px;
right: 25px;
opacity: 0.7;
transition: opacity 1s ease-out 3s;
color: #9b9b9b;
}
.ag-watermark::before {
content: "";
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjA5IiBoZWlnaHQ9IjM2IiB2aWV3Qm94PSIwIDAgMjA5IDM2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMTkyLjk5MyAyMy42NTgyVjE1LjcxMTdIMTc5LjQ1MkwxNzEuNTA1IDIzLjY1ODJIMTkyLjk5M1oiIGZpbGw9IiM5QjlCOUIiLz4KPHBhdGggZD0iTTIwOC4yNSAzLjk1MDgxSDE5MS4yNzZMMTgzLjI2NiAxMS44OTczSDIwOC4yNVYzLjk1MDgxWiIgZmlsbD0iIzlCOUI5QiIvPgo8cGF0aCBkPSJNMTYzLjYyMiAzMS42MDQ4TDE2Ny42OTEgMjcuNTM2MUgxODEuNDIzVjM1LjQ4MjdIMTYzLjYyMlYzMS42MDQ4WiIgZmlsbD0iIzlCOUI5QiIvPgo8cGF0aCBkPSJNMTY2LjYxIDE5Ljc4MDNIMTc1LjM4M0wxODMuMzkzIDExLjgzMzdIMTY2LjYxVjE5Ljc4MDNaIiBmaWxsPSIjOUI5QjlCIi8+CjxwYXRoIGQ9Ik0xNTcuMDExIDMxLjYwNDdIMTYzLjYyMkwxNzEuNTA1IDIzLjY1ODJIMTU3LjAxMVYzMS42MDQ3WiIgZmlsbD0iIzlCOUI5QiIvPgo8cGF0aCBkPSJNMTkxLjI3NiAzLjk1MDgxTDE4Ny4yMDggOC4wMTk0MUgxNjEuMjdWMC4wNzI4NzZIMTkxLjI3NlYzLjk1MDgxWiIgZmlsbD0iIzlCOUI5QiIvPgo8cGF0aCBkPSJNMjAuODM5MSAzMC4yMDYxSDguMzc4OTJMNi4yMTc0NSAzNS41NDYySDAuNzUwMjQ0TDEyLjI1NjggOC41OTE1NUgxNy4wMjQ3TDI4LjUzMTMgMzUuNTQ2MkgyMy4wMDA1TDIwLjgzOTEgMzAuMjA2MVpNMTkuMTIyNyAyNS45NDY4TDE0LjYwOSAxNC45NDg4TDEwLjA5NTQgMjUuOTQ2OEgxOS4xMjI3WiIgZmlsbD0iIzlCOUI5QiIvPgo8cGF0aCBkPSJNMTA0LjQzNyAxOC41MDg5QzEwNi4wMjYgMTYuMTU2NyAxMTAuMDMxIDE1LjkwMjQgMTExLjY4NCAxNS45MDI0VjIwLjQ3OTZDMTA5LjY1IDIwLjQ3OTYgMTA3LjYxNSAyMC41NDMyIDEwNi40MDcgMjEuNDMzMkMxMDUuMiAyMi4zMjMyIDEwNC41NjQgMjMuNTMxMSAxMDQuNTY0IDI0Ljk5MzJWMzUuNTQ2Mkg5OS42MDUxVjE1LjkwMjRIMTA0LjM3M0wxMDQuNDM3IDE4LjUwODlaIiBmaWxsPSIjOUI5QjlCIi8+CjxwYXRoIGQ9Ik0xMTkuMzc2IDE1LjkwMjRIMTE0LjQxOFYzNS41NDYySDExOS4zNzZWMTUuOTAyNFoiIGZpbGw9IiM5QjlCOUIiLz4KPHBhdGggZD0iTTExOS4zNzYgNy4xMjkzOUgxMTQuNDE4VjEyLjk3OEgxMTkuMzc2VjcuMTI5MzlaIiBmaWxsPSIjOUI5QjlCIi8+CjxwYXRoIGQ9Ik0xNDMuOTc5IDcuMTI5MzlWMzUuNTQ2MkgxMzkuMjExTDEzOS4wODQgMzIuNTU4M0MxMzguMzg0IDMzLjU3NTUgMTM3LjQ5NCAzNC40MDE5IDEzNi40MTQgMzUuMDM3NkMxMzUuMzMzIDM1LjYwOTggMTMzLjk5OCAzNS45Mjc2IDEzMi40NzIgMzUuOTI3NkMxMzEuMTM3IDM1LjkyNzYgMTI5Ljg2NiAzNS42NzMzIDEyOC43ODUgMzUuMjI4M0MxMjcuNjQxIDM0LjcxOTcgMTI2LjYyMyAzNC4wODQgMTI1Ljc5NyAzMy4xOTRDMTI0Ljk3MSAzMi4zMDQgMTI0LjI3MSAzMS4yMjMzIDEyMy44MjYgMzAuMDE1NEMxMjMuMzE4IDI4LjgwNzUgMTIzLjEyNyAyNy40MDkgMTIzLjEyNyAyNS44ODMyQzEyMy4xMjcgMjQuMzU3NSAxMjMuMzgxIDIyLjk1ODkgMTIzLjgyNiAyMS42ODc0QzEyNC4zMzUgMjAuNDE2IDEyNC45NzEgMTkuMzM1MyAxMjUuNzk3IDE4LjQ0NTNDMTI2LjYyMyAxNy41NTUyIDEyNy42NDEgMTYuODU2IDEyOC43ODUgMTYuMzQ3NEMxMjkuOTI5IDE1LjgzODggMTMxLjEzNyAxNS41ODQ1IDEzMi40NzIgMTUuNTg0NUMxMzMuOTk4IDE1LjU4NDUgMTM1LjI2OSAxNS44Mzg4IDEzNi4zNSAxNi40MTA5QzEzNy40MzEgMTYuOTgzMSAxMzguMzIxIDE3Ljc0NTkgMTM5LjAyIDE4LjgyNjdWNy4xOTI5NUgxNDMuOTc5VjcuMTI5MzlaTTEzMy41NTMgMzEuNjY4M0MxMzUuMjA2IDMxLjY2ODMgMTM2LjQ3NyAzMS4wOTYyIDEzNy40OTQgMzAuMDE1NEMxMzguNTExIDI4LjkzNDcgMTM5LjAyIDI3LjQ3MjUgMTM5LjAyIDI1LjY5MjVDMTM5LjAyIDIzLjkxMjUgMTM4LjUxMSAyMi41MTM5IDEzNy40OTQgMjEuMzY5NkMxMzYuNDc3IDIwLjI4ODggMTM1LjIwNiAxOS43MTY3IDEzMy41NTMgMTkuNzE2N0MxMzEuOTYzIDE5LjcxNjcgMTMwLjYyOCAyMC4yODg4IDEyOS42NzUgMjEuMzY5NkMxMjguNjU4IDIyLjQ1MDMgMTI4LjE0OSAyMy45MTI1IDEyOC4xNDkgMjUuNjkyNUMxMjguMTQ5IDI3LjQ3MjUgMTI4LjY1OCAyOC44NzExIDEyOS42NzUgMjkuOTUxOEMxMzAuNjkyIDMxLjA5NjEgMTMxLjk2MyAzMS42NjgzIDEzMy41NTMgMzEuNjY4M1oiIGZpbGw9IiM5QjlCOUIiLz4KPHBhdGggZD0iTTU3LjIwMjQgMjAuMzUyNUg0NC45MzNWMjQuNjExOEg1MS45MjU5QzUxLjczNTIgMjYuNzczMyA1MC45MDg4IDI4LjQyNjEgNDkuNTEwMiAyOS43NjExQzQ4LjExMTYgMzEuMDMyNiA0Ni4zMzE1IDMxLjY2ODMgNDQuMDQyOSAzMS42NjgzQzQyLjc3MTUgMzEuNjY4MyA0MS41NjM2IDMxLjQxNCA0MC41NDY1IDMwLjk2OUMzOS40NjU3IDMwLjUyNCAzOC41NzU3IDI5Ljg4ODMgMzcuODEyOSAyOC45OTgzQzM3LjA1IDI4LjE3MTggMzYuNDc3OCAyNy4xNTQ3IDM2LjAzMjggMjUuOTQ2OEMzNS41ODc4IDI0LjczODkgMzUuMzk3MSAyMy40Njc1IDM1LjM5NzEgMjIuMDA1M0MzNS4zOTcxIDIwLjU0MzIgMzUuNTg3OCAxOS4yNzE3IDM2LjAzMjggMTguMDYzOEMzNi40MTQzIDE2Ljg1NiAzNy4wNSAxNS45MDI0IDM3LjgxMjkgMTUuMDEyNEMzOC41NzU3IDE0LjE4NTkgMzkuNDY1NyAxMy41NTAyIDQwLjU0NjUgMTMuMDQxNkM0MS42MjcyIDEyLjU5NjYgNDIuNzcxNSAxMi4zNDIzIDQ0LjEwNjUgMTIuMzQyM0M0Ni43NzY2IDEyLjM0MjMgNDguODEwOSAxMi45NzggNTAuMjA5NSAxNC4yNDk1TDUzLjUxNTIgMTAuOTQzOEM1MS4wMzU5IDkuMDM2NTkgNDcuODU3MyA4LjAxOTQxIDQ0LjEwNjUgOC4wMTk0MUM0Mi4wMDg2IDguMDE5NDEgNDAuMTAxNSA4LjMzNzI5IDM4LjM4NSA5LjAzNjU5QzM2LjY2ODYgOS43MzU4OCAzNS4yMDY0IDEwLjYyNTkgMzMuOTk4NSAxMS44MzM3QzMyLjc5MDYgMTMuMDQxNiAzMS44MzcxIDE0LjUwMzggMzEuMjAxNCAxNi4yMjAzQzMwLjU2NTYgMTcuOTM2NyAzMC4yNDc4IDE5Ljg0MzggMzAuMjQ3OCAyMS44NzgyQzMwLjI0NzggMjMuOTEyNSAzMC41NjU2IDI1LjgxOTcgMzEuMjY0OSAyNy41MzYxQzMxLjk2NDIgMjkuMjUyNiAzMi44NTQyIDMwLjcxNDcgMzQuMDYyMSAzMS45MjI2QzM1LjI3IDMzLjEzMDUgMzYuNzMyMSAzNC4wODQxIDM4LjQ0ODYgMzQuNzE5OEM0MC4xNjUgMzUuNDE5MSA0Mi4wNzIyIDM1LjczNyA0NC4xMDY1IDM1LjczN0M0Ni4xNDA4IDM1LjczNyA0Ny45ODQ0IDM1LjQxOTEgNDkuNjM3MyAzNC43MTk4QzUxLjI5MDIgMzQuMDIwNSA1Mi42ODg4IDMzLjEzMDUgNTMuODMzMSAzMS45MjI2QzU0Ljk3NzQgMzAuNzE0NyA1NS44Njc0IDI5LjI1MjYgNTYuNTAzMSAyNy41MzYxQzU3LjEzODggMjUuODE5NyA1Ny40NTY3IDIzLjkxMjUgNTcuNDU2NyAyMS44NzgyVjIxLjA1MTdDNTcuMjY2IDIwLjkyNDYgNTcuMjAyNCAyMC42MDY3IDU3LjIwMjQgMjAuMzUyNVoiIGZpbGw9IiM5QjlCOUIiLz4KPHBhdGggZD0iTTk1Ljk4MTUgMjAuMzUyNUg4My43MTIxVjI0LjYxMThIOTAuNzA1QzkwLjUxNDMgMjYuNzczMyA4OS42ODc5IDI4LjQyNjEgODguMjg5MyAyOS43NjExQzg2Ljg5MDcgMzEuMDMyNiA4NS4xMTA2IDMxLjY2ODMgODIuODIyIDMxLjY2ODNDODEuNTUwNiAzMS42NjgzIDgwLjM0MjcgMzEuNDE0IDc5LjMyNTYgMzAuOTY5Qzc4LjI0NDggMzAuNTI0IDc3LjM1NDggMjkuODg4MyA3Ni41OTIgMjguOTk4M0M3NS44MjkxIDI4LjE3MTggNzUuMjU3IDI3LjE1NDcgNzQuODExOSAyNS45NDY4Qzc0LjM2NjkgMjQuNzM4OSA3NC4xNzYyIDIzLjQ2NzUgNzQuMTc2MiAyMi4wMDUzQzc0LjE3NjIgMjAuNTQzMiA3NC4zNjY5IDE5LjI3MTcgNzQuODExOSAxOC4wNjM4Qzc1LjE5MzQgMTYuODU2IDc1LjgyOTEgMTUuOTAyNCA3Ni41OTIgMTUuMDEyNEM3Ny4zNTQ4IDE0LjE4NTkgNzguMjQ0OCAxMy41NTAyIDc5LjMyNTYgMTMuMDQxNkM4MC40MDYzIDEyLjU5NjYgODEuNTUwNiAxMi4zNDIzIDgyLjg4NTYgMTIuMzQyM0M4NS41NTU3IDEyLjM0MjMgODcuNTkgMTIuOTc4IDg4Ljk4ODYgMTQuMjQ5NUw5Mi4yOTQzIDEwLjk0MzhDODkuODE1IDkuMDM2NTkgODYuNjM2NCA4LjAxOTQxIDgyLjg4NTYgOC4wMTk0MUM4MC43ODc4IDguMDE5NDEgNzguODgwNiA4LjMzNzI5IDc3LjE2NDEgOS4wMzY1OUM3NS40NDc3IDkuNzM1ODggNzMuOTg1NSAxMC42MjU5IDcyLjc3NzYgMTEuODMzN0M3MS41Njk4IDEzLjA0MTYgNzAuNjE2MiAxNC41MDM4IDY5Ljk4MDUgMTYuMjIwM0M2OS4zNDQ3IDE3LjkzNjcgNjkuMDI2OSAxOS44NDM4IDY5LjAyNjkgMjEuODc4MkM2OS4wMjY5IDIzLjkxMjUgNjkuMzQ0NyAyNS44MTk3IDcwLjA0NCAyNy41MzYxQzcwLjc0MzMgMjkuMjUyNiA3MS42MzM0IDMwLjcxNDcgNzIuODQxMiAzMS45MjI2Qzc0LjA0OTEgMzMuMTMwNSA3NS41MTEyIDM0LjA4NDEgNzcuMjI3NyAzNC43MTk4Qzc4Ljk0NDEgMzUuNDE5MSA4MC44NTEzIDM1LjczNyA4Mi44ODU2IDM1LjczN0M4NC45MiAzNS43MzcgODYuNzYzNiAzNS40MTkxIDg4LjQxNjQgMzQuNzE5OEM5MC4wNjkzIDM0LjAyMDUgOTEuNDY3OSAzMy4xMzA1IDkyLjYxMjIgMzEuOTIyNkM5My43NTY1IDMwLjcxNDcgOTQuNjQ2NSAyOS4yNTI2IDk1LjI4MjIgMjcuNTM2MUM5NS45MTggMjUuODE5NyA5Ni4yMzU4IDIzLjkxMjUgOTYuMjM1OCAyMS44NzgyVjIxLjA1MTdDOTYuMDQ1MSAyMC45MjQ2IDk1Ljk4MTUgMjAuNjA2NyA5NS45ODE1IDIwLjM1MjVaIiBmaWxsPSIjOUI5QjlCIi8+Cjwvc3ZnPgo=);
background-repeat: no-repeat;
background-size: 170px 40px;
display: block;
height: 40px;
width: 170px;
}
.ag-watermark-text {
opacity: 0.5;
font-weight: bold;
font-family: Impact, sans-serif;
font-size: 19px;
padding-left: 0.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-normal, .ag-root.ag-layout-auto-height {
overflow: hidden;
flex: 1 1 auto;
width: 0;
}
.ag-root.ag-layout-normal {
height: 100%;
}
.ag-header-viewport,
.ag-floating-top-viewport,
.ag-body-viewport,
.ag-center-cols-viewport,
.ag-floating-bottom-viewport,
.ag-body-horizontal-scroll-viewport,
.ag-body-vertical-scroll-viewport,
.ag-virtual-list-viewport,
.ag-sticky-top-viewport,
.ag-sticky-bottom-viewport {
position: relative;
height: 100%;
min-width: 0px;
overflow: hidden;
flex: 1 1 auto;
}
.ag-body-viewport,
.ag-center-cols-viewport,
.ag-header-viewport,
.ag-floating-top-viewport,
.ag-floating-bottom-viewport,
.ag-sticky-top-viewport,
.ag-sticky-bottom-viewport {
overflow-x: auto;
-ms-overflow-style: none !important;
scrollbar-width: none !important;
}
.ag-body-viewport::-webkit-scrollbar,
.ag-center-cols-viewport::-webkit-scrollbar,
.ag-header-viewport::-webkit-scrollbar,
.ag-floating-top-viewport::-webkit-scrollbar,
.ag-floating-bottom-viewport::-webkit-scrollbar,
.ag-sticky-top-viewport::-webkit-scrollbar,
.ag-sticky-bottom-viewport::-webkit-scrollbar {
display: none !important;
}
.ag-body-viewport {
display: flex;
overflow-x: hidden;
}
.ag-body-viewport.ag-layout-normal {
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.ag-viewport {
position: relative;
}
.ag-spanning-container {
position: absolute;
top: 0;
z-index: 1;
}
.ag-sticky-top-container,
.ag-sticky-bottom-container,
.ag-floating-top-container,
.ag-floating-bottom-container {
min-height: 1px;
}
.ag-sticky-top,
.ag-sticky-bottom {
z-index: 1;
}
.ag-center-cols-viewport {
min-height: 100%;
width: 100%;
}
.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-header-container,
.ag-floating-top-container,
.ag-body-container,
.ag-pinned-right-cols-container,
.ag-center-cols-container,
.ag-pinned-left-cols-container,
.ag-floating-bottom-container,
.ag-body-horizontal-scroll-container,
.ag-body-vertical-scroll-container,
.ag-full-width-container,
.ag-floating-bottom-full-width-container,
.ag-virtual-list-container,
.ag-sticky-top-container,
.ag-sticky-bottom-container,
.ag-pinned-left-sticky-bottom,
.ag-pinned-right-sticky-bottom {
position: relative;
}
.ag-header-container,
.ag-floating-top-container,
.ag-pinned-left-floating-top,
.ag-pinned-right-floating-top,
.ag-floating-bottom-container,
.ag-pinned-left-floating-bottom,
.ag-pinned-right-floating-bottom,
.ag-sticky-top-container,
.ag-sticky-bottom-container {
height: 100%;
white-space: nowrap;
}
.ag-center-cols-container {
display: block;
}
.ag-pinned-right-cols-container {
display: block;
}
.ag-body-horizontal-scroll-container {
height: 100%;
}
.ag-body-vertical-scroll-container {
width: 100%;
}
.ag-full-width-container,
.ag-floating-top-full-width-container,
.ag-floating-bottom-full-width-container,
.ag-sticky-top-full-width-container,
.ag-sticky-bottom-full-width-container {
position: absolute;
top: 0px;
pointer-events: none;
}
.ag-ltr .ag-full-width-container,
.ag-ltr .ag-floating-top-full-width-container,
.ag-ltr .ag-floating-bottom-full-width-container,
.ag-ltr .ag-sticky-top-full-width-container,
.ag-ltr .ag-sticky-bottom-full-width-container {
left: 0;
}
.ag-rtl .ag-full-width-container,
.ag-rtl .ag-floating-top-full-width-container,
.ag-rtl .ag-floating-bottom-full-width-container,
.ag-rtl .ag-sticky-top-full-width-container,
.ag-rtl .ag-sticky-bottom-full-width-container {
right: 0;
}
.ag-full-width-container {
width: 100%;
}
.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-body {
position: relative;
display: flex;
flex: 1 1 auto;
flex-direction: row !important;
min-height: 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 400ms;
visibility: hidden;
}
.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-scrolling, .ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-active,
.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-scrolling,
.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-active {
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,
.ag-header-group-cell-selectable .ag-header-cell-comp-wrapper {
cursor: pointer;
}
.ag-header {
display: flex;
width: 100%;
white-space: nowrap;
}
.ag-pinned-left-header {
height: 100%;
}
.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,
.ag-header-cell-filter-button {
opacity: 1;
}
.ag-header-cell-menu-button:not(.ag-header-menu-always-show) {
transition: opacity 0.2s;
opacity: 0;
}
.ag-header-group-cell-label,
.ag-header-cell-label {
display: flex;
flex: 1 1 auto;
align-self: stretch;
align-items: center;
overflow: hidden;
}
.ag-header-cell-label {
text-overflow: ellipsis;
}
.ag-header-group-cell-label.ag-sticky-label {
position: sticky;
flex: none;
max-width: 100%;
overflow: visible;
}
.ag-header-group-text {
overflow: hidden;
text-overflow: ellipsis;
}
.ag-header-cell-text {
overflow: hidden;
text-overflow: ellipsis;
word-break: break-word;
}
.ag-header-group-cell .ag-header-cell-comp-wrapper {
display: flex;
}
.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%;
}
.ag-header-cell-wrap-text .ag-header-cell-comp-wrapper {
white-space: normal;
}
.ag-header-cell-comp-wrapper-limited-height > div {
overflow: hidden;
}
.ag-right-aligned-header .ag-header-cell-label {
flex-direction: row-reverse;
}
.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: -3px;
}
.ag-rtl .ag-header-cell-resize {
left: -3px;
}
.ag-pinned-left-header .ag-header-cell-resize {
right: -3px;
}
.ag-pinned-right-header .ag-header-cell-resize {
left: -3px;
}
.ag-header-select-all {
display: flex;
}
.ag-header-cell-menu-button,
.ag-header-cell-filter-button,
.ag-side-button-button,
.ag-panel-title-bar-button,
.ag-floating-filter-button-button {
cursor: pointer;
}
.ag-column-moving .ag-cell {
transition: left 0.2s;
}
.ag-column-moving .ag-header-cell {
transition: left 0.2s;
}
.ag-column-moving .ag-spanned-cell-wrapper {
transition: left 0.2s;
}
.ag-column-moving .ag-header-group-cell {
transition: left 0.2s, width 0.2s;
}
.ag-delay-render .ag-cell {
visibility: hidden;
}
.ag-delay-render .ag-row {
visibility: hidden;
}
.ag-delay-render .ag-spanned-cell-wrapper {
visibility: hidden;
}
.ag-delay-render .ag-header-cell {
visibility: hidden;
}
.ag-delay-render .ag-header-group-cell {
visibility: hidden;
}
.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-list {
display: flex;
align-items: center;
}
.ag-column-drop-cell {
position: relative;
display: flex;
align-items: center;
}
.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-search {
display: flex;
align-items: center;
}
.ag-filter-toolpanel-header > *,
.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 0.4s, top 0.4s, opacity 0.2s;
}
.ag-row-animation .ag-row.ag-after-created {
transition: transform 0.4s, top 0.4s, height 0.4s, opacity 0.2s;
}
.ag-row-animation.ag-prevent-animation .ag-row,
.ag-row-animation.ag-prevent-animation .ag-row.ag-after-created {
transition: none !important;
}
.ag-row-no-animation .ag-row {
transition: none;
}
.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:not(.ag-allow-overflow),
.ag-group-value {
overflow: hidden;
text-overflow: ellipsis;
}
.ag-cell-wrapper {
display: flex;
align-items: center;
}
.ag-cell-wrapper.ag-row-group {
align-items: flex-start;
}
.ag-cell-wrap-text {
white-space: normal;
word-break: break-word;
}
.ag-cell-wrap-text:not(.ag-cell-auto-height) .ag-cell-wrapper {
align-items: normal;
height: 100%;
}
.ag-cell-wrap-text:not(.ag-cell-auto-height) .ag-cell-wrapper .ag-cell-value {
height: 100%;
}
.ag-sparkline-wrapper {
position: absolute;
height: 100%;
width: 100%;
top: 0;
line-height: initial;
}
.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-wrapper,
.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.ag-cell-editor.ag-cell-editor input {
height: 100%;
min-height: 100%;
width: 100%;
line-height: normal;
}
.ag-row.ag-row-editing-invalid .ag-cell-inline-editing {
opacity: 0.8;
}
.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;
width: 100%;
height: 100%;
}
.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-date-floating-filter-wrapper {
display: flex;
}
.ag-set-floating-filter-input input[disabled] {
pointer-events: none;
}
.ag-dnd-ghost {
display: inline-flex;
align-items: center;
cursor: move;
white-space: nowrap;
}
.ag-overlay {
height: 100%;
left: 0;
pointer-events: none;
position: absolute;
top: 0;
width: 100%;
z-index: 2;
}
.ag-overlay-panel {
display: flex;
height: 100%;
width: 100%;
}
.ag-overlay-wrapper {
display: flex;
flex: none;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
text-align: center;
}
.ag-overlay-loading-wrapper,
.ag-overlay-exporting-wrapper,
.ag-overlay-modal-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,
.ag-floating-bottom {
overflow: hidden;
white-space: nowrap;
width: 100%;
position: relative;
display: flex;
}
.ag-pinned-left-floating-top,
.ag-pinned-right-floating-top,
.ag-pinned-left-floating-bottom,
.ag-pinned-right-floating-bottom {
overflow: hidden;
position: relative;
min-width: 0px;
}
.ag-sticky-top,
.ag-sticky-bottom {
position: absolute;
display: flex;
width: 100%;
overflow: hidden;
height: 0px;
}
.ag-sticky-bottom {
box-sizing: content-box !important;
}
.ag-sticky-bottom .ag-pinned-left-sticky-bottom,
.ag-sticky-bottom .ag-sticky-bottom-container,
.ag-sticky-bottom .ag-pinned-right-sticky-bottom {
box-sizing: border-box;
}
.ag-pinned-left-sticky-top,
.ag-pinned-right-sticky-top {
position: relative;
height: 100%;
overflow: hidden;
}
.ag-sticky-top-full-width-container,
.ag-sticky-bottom-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 {
position: absolute;
}
.ag-resizer {
position: absolute;
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 {
position: absolute;
z-index: 99999;
}
.ag-tooltip-custom {
position: absolute;
z-index: 99999;
}
.ag-tooltip:not(.ag-tooltip-interactive),
.ag-tooltip-custom:not(.ag-tooltip-interactive) {
pointer-events: none;
}
.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-dialog .ag-panel-content-wrapper .ag-column-select {
user-select: none;
}
.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-menu-option-custom {
display: contents;
}
.ag-compact-menu-option {
width: 100%;
display: flex;
flex-wrap: nowrap;
}
.ag-compact-menu-option-text {
white-space: nowrap;
flex: 1 1 auto;
}
.ag-context-menu-loading-icon {
position: absolute;
pointer-events: none;
}
.ag-pill-container {
display: flex;
gap: 0.25rem;
flex-wrap: nowrap;
}
.ag-pill {
display: flex;
white-space: nowrap;
padding: 0 0.25rem;
align-items: center;
}
.ag-pill .ag-pill-button {
border: none;
padding: 0;
}
.ag-rich-select {
cursor: default;
outline: none;
height: 100%;
}
.ag-rich-select-value {
display: flex;
align-items: center;
height: 100%;
}
.ag-rich-select-value .ag-picker-field-display {
overflow: hidden;
text-overflow: ellipsis;
}
.ag-rich-select-value .ag-picker-field-display.ag-display-as-placeholder {
opacity: 0.5;
}
.ag-rich-select-list {
position: relative;
}
.ag-rich-select-list .ag-rich-select-loading {
display: flex;
min-height: 2rem;
}
.ag-rich-select-list .ag-rich-select-loading .ag-loading-text {
overflow: hidden;
text-overflow: ellipsis;
}
.ag-rich-select-row {
display: flex;
flex: 1 1 auto;
align-items: center;
white-space: nowrap;
overflow: hidden;
height: 100%;
}
.ag-rich-select-field-input {
flex: 1 1 auto;
}
.ag-rich-select-field-input .ag-input-field-input {
padding: 0 !important;
border: none !important;
box-shadow: none !important;
text-overflow: ellipsis;
}
.ag-rich-select-field-input .ag-input-field-input::placeholder {
opacity: 0.8;
}
.ag-rich-select-typing-multi .ag-picker-field-display {
flex: 0 1 auto;
min-width: 0;
max-width: 100%;
}
.ag-rich-select-typing-multi .ag-rich-select-pill-display {
display: flex;
flex: 0 1 auto;
min-width: 0;
max-width: 100%;
align-items: center;
overflow: hidden;
}
.ag-rich-select-typing-multi .ag-rich-select-pill-display .ag-pill-container {
flex: 0 1 auto;
min-width: 0;
max-width: 100%;
overflow: hidden;
}
.ag-rich-select-typing-multi .ag-rich-select-field-input {
flex: 0 0 auto;
min-width: 0;
max-width: 100%;
}
.ag-rich-select-typing-multi .ag-rich-select-field-input .ag-input-wrapper {
flex: 0 0 auto;
max-width: 100%;
}
.ag-rich-select-typing-multi .ag-rich-select-field-input .ag-input-field-input {
width: auto;
min-width: 1ch;
max-width: 100%;
}
.ag-autocomplete {
align-items: center;
display: flex;
}
.ag-autocomplete > * {
flex: 1 1 auto;
}
.ag-autocomplete-list-popup {
position: absolute;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
.ag-autocomplete-list {
position: relative;
}
.ag-autocomplete-virtual-list-item {
display: flex;
}
.ag-autocomplete-row {
display: flex;
flex: 1 1 auto;
align-items: center;
overflow: hidden;
}
.ag-autocomplete-row-label {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ag-paging-panel {
align-items: center;
display: flex;
justify-content: flex-end;
}
.ag-paging-page-summary-panel {
display: flex;
align-items: center;
}
.ag-paging-button {
position: relative;
}
.ag-disabled .ag-paging-page-summary-panel {
pointer-events: none;
}
.ag-tool-panel-wrapper {
overflow: 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 > *,
.ag-column-select-column-group > *,
.ag-select-agg-func-item > * {
flex: none;
}
.ag-select-agg-func-item,
.ag-column-select-column-label {
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-rtl .ag-side-bar-left .ag-tool-panel-horizontal-resize {
left: -3px;
}
.ag-ltr .ag-side-bar-right .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;
contain: paint;
}
.ag-header-group-cell-no-group.ag-header-span-height {
display: none;
}
.ag-cell-label-container {
display: flex;
justify-content: space-between;
flex-direction: row-reverse;
align-items: center;
height: 100%;
width: 100%;
}
.ag-header-group-cell-label,
.ag-cell-label-container {
padding: 5px 0px;
}
.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,
.ag-status-panel.ag-status-panel-aggregations .ag-status-name-value {
display: inline-flex;
}
.ag-status-name-value {
white-space: nowrap;
}
.ag-status-bar-left {
display: inline-flex;
}
.ag-status-bar-center {
display: inline-flex;
}
.ag-status-bar-right {
display: inline-flex;
}
.ag-row-number-cell {
width: 100%;
white-space: nowrap;
overflow: hidden;
user-select: none;
}
.ag-ltr .ag-row-number-cell {
text-align: right;
}
.ag-rtl .ag-row-number-cell {
text-align: left;
}
.ag-row-numbers-resizer {
position: absolute;
bottom: -2px;
left: 0;
height: 4px;
width: 100%;
cursor: ns-resize;
}
.ag-floating-bottom .ag-row-numbers-resizer {
bottom: unset;
top: -2px;
}
.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: inline;
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 0.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],
.ag-floating-filter-input .ag-input-field-input[type=datetime-local] {
width: 1px;
}
.ag-range-field {
display: flex;
align-items: center;
}
.ag-angle-select {
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-slider-wrapper .ag-input-field {
flex: 1 1 auto;
}
.ag-picker-field-display {
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: visible;
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,
.ag-spectrum-alpha {
cursor: default;
}
.ag-spectrum-hue-background {
background: linear-gradient(to left, #ff0000 3%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
width: 100%;
height: 100%;
}
.ag-spectrum-alpha {
--ag-spectrum-alpha-background-checked: url("data:image/svg+xml;utf8,");
}
.ag-spectrum-alpha-background {
background: linear-gradient(to right, var(--ag-internal-spectrum-alpha-color-from), var(--ag-internal-spectrum-alpha-color-to)), var(--ag-spectrum-alpha-background-checked) top left/4px 4px;
width: 100%;
height: 100%;
}
.ag-spectrum-tool {
cursor: pointer;
position: relative;
}
.ag-spectrum-slider {
position: absolute;
pointer-events: none;
}
.ag-spectrum-alpha .ag-spectrum-slider {
background: linear-gradient(to bottom, var(--ag-internal-spectrum-alpha-color), var(--ag-internal-spectrum-alpha-color)) white;
}
.ag-recent-colors {
display: flex;
}
.ag-recent-color {
cursor: pointer;
}
.ag-pill-select {
display: flex;
flex-direction: column;
}
.ag-pill-select .ag-column-drop {
flex: unset;
}
.ag-content-editable-field {
display: flex;
align-items: center;
}
.ag-content-editable-field-input {
cursor: text;
display: block;
flex: 1 1 auto;
outline: none;
white-space: nowrap;
line-height: normal;
overflow: auto;
overflow-y: hidden;
-ms-overflow-style: none !important;
scrollbar-width: none !important;
}
.ag-content-editable-field-input::-webkit-scrollbar {
display: none !important;
}
.ag-ltr {
direction: ltr;
}
.ag-ltr .ag-body,
.ag-ltr .ag-floating-top,
.ag-ltr .ag-floating-bottom,
.ag-ltr .ag-header,
.ag-ltr .ag-sticky-top,
.ag-ltr .ag-sticky-bottom,
.ag-ltr .ag-body-viewport,
.ag-ltr .ag-body-horizontal-scroll {
flex-direction: row;
}
.ag-rtl {
direction: rtl;
}
.ag-rtl .ag-body,
.ag-rtl .ag-floating-top,
.ag-rtl .ag-floating-bottom,
.ag-rtl .ag-header,
.ag-rtl .ag-sticky-top,
.ag-rtl .ag-sticky-bottom,
.ag-rtl .ag-body-viewport,
.ag-rtl .ag-body-horizontal-scroll {
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-measurement-container {
width: 0;
overflow: hidden;
visibility: hidden;
}
.ag-measurement-container div {
position: absolute;
}
.ag-layout-print.ag-body {
display: block;
height: unset;
}
.ag-layout-print.ag-root-wrapper {
display: inline-block;
}
.ag-layout-print .ag-body-vertical-scroll {
display: none;
}
.ag-layout-print .ag-body-horizontal-scroll {
display: none;
}
.ag-layout-print.ag-force-vertical-scroll {
overflow-y: visible !important;
}
@media print {
.ag-root-wrapper.ag-layout-print {
display: table;
container-type: normal;
}
.ag-root-wrapper.ag-layout-print .ag-root-wrapper-body,
.ag-root-wrapper.ag-layout-print .ag-root,
.ag-root-wrapper.ag-layout-print .ag-body-viewport,
.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-body-horizontal-scroll-viewport,
.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-row,
.ag-root-wrapper.ag-layout-print .ag-cell {
break-inside: avoid;
}
}
[class^=ag-],
[class^=ag-]:focus,
[class^=ag-]:after,
[class^=ag-]:before {
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: 0px;
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;
background-color: var(--ag-background-color);
}
textarea[class^=ag-],
select[class^=ag-] {
background-color: var(--ag-background-color);
}
input[class^=ag-]:not([type]),
input[class^=ag-][type=text],
input[class^=ag-][type=number],
input[class^=ag-][type=tel],
input[class^=ag-][type=date],
input[class^=ag-][type=datetime-local],
textarea[class^=ag-] {
font-size: inherit;
line-height: inherit;
color: inherit;
font-family: inherit;
border: var(--ag-borders-input) var(--ag-input-border-color);
}
input[class^=ag-]:not([type]):disabled,
input[class^=ag-][type=text]:disabled,
input[class^=ag-][type=number]:disabled,
input[class^=ag-][type=tel]:disabled,
input[class^=ag-][type=date]:disabled,
input[class^=ag-][type=datetime-local]: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=text]:focus,
input[class^=ag-][type=number]:focus,
input[class^=ag-][type=tel]:focus,
input[class^=ag-][type=date]:focus,
input[class^=ag-][type=datetime-local]: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]):focus.invalid, input[class^=ag-]:not([type]):focus:invalid,
input[class^=ag-][type=text]:focus.invalid,
input[class^=ag-][type=text]:focus:invalid,
input[class^=ag-][type=number]:focus.invalid,
input[class^=ag-][type=number]:focus:invalid,
input[class^=ag-][type=tel]:focus.invalid,
input[class^=ag-][type=tel]:focus:invalid,
input[class^=ag-][type=date]:focus.invalid,
input[class^=ag-][type=date]:focus:invalid,
input[class^=ag-][type=datetime-local]:focus.invalid,
input[class^=ag-][type=datetime-local]:focus:invalid,
textarea[class^=ag-]:focus.invalid,
textarea[class^=ag-]:focus:invalid {
box-shadow: var(--ag-input-error-focus-box-shadow);
border-color: var(--ag-invalid-color);
}
input[class^=ag-]:not([type]):invalid,
input[class^=ag-][type=text]:invalid,
input[class^=ag-][type=number]:invalid,
input[class^=ag-][type=tel]:invalid,
input[class^=ag-][type=date]:invalid,
input[class^=ag-][type=datetime-local]: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-outer-spin-button, input[class^=ag-][type=number]:not(.ag-number-field-input-stepper)::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[class^=ag-][type=range] {
padding: 0;
}
input[class^=ag-][type=button]:focus,
button[class^=ag-]:focus {
box-shadow: var(--ag-input-focus-box-shadow);
}
input[class^=ag-][type=button]:focus:invalid, input[class^=ag-][type=button]:focus.invalid,
button[class^=ag-]:focus:invalid,
button[class^=ag-]:focus.invalid {
box-shadow: var(--ag-input-error-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-virtual-list-item:focus-visible {
outline: none;
}
.ag-virtual-list-item:focus-visible::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;
border-radius: var(--ag-border-radius);
border: var(--ag-borders) var(--ag-border-color);
}
.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 {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: default;
}
.ag-ltr .ag-select-list-item {
padding-left: calc(var(--ag-cell-horizontal-padding) / 2);
}
.ag-rtl .ag-select-list-item {
padding-right: calc(var(--ag-cell-horizontal-padding) / 2);
}
.ag-select-list-item span {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.ag-row-drag,
.ag-selection-checkbox,
.ag-group-expanded,
.ag-group-contracted {
color: var(--ag-secondary-foreground-color);
}
.ag-ltr .ag-row-drag,
.ag-ltr .ag-selection-checkbox,
.ag-ltr .ag-group-expanded,
.ag-ltr .ag-group-contracted {
margin-right: var(--ag-cell-widget-spacing);
}
.ag-rtl .ag-row-drag,
.ag-rtl .ag-selection-checkbox,
.ag-rtl .ag-group-expanded,
.ag-rtl .ag-group-contracted {
margin-left: var(--ag-cell-widget-spacing);
}
.ag-drag-handle-disabled {
opacity: 0.35;
pointer-events: none;
}
.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) - 2px);
height: min(var(--ag-internal-calculated-line-height), var(--ag-internal-padded-row-height));
display: flex;
align-items: center;
flex: none;
}
.ag-group-expanded,
.ag-group-contracted {
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-title-bar,
.ag-disabled-group-container {
opacity: 0.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: 0.4;
}
.ag-ltr .ag-slider-field,
.ag-ltr .ag-angle-select-field {
margin-right: calc(var(--ag-grid-size) * 2);
}
.ag-rtl .ag-slider-field,
.ag-rtl .ag-angle-select-field {
margin-left: calc(var(--ag-grid-size) * 2);
}
.ag-angle-select-parent-circle {
width: 24px;
height: 24px;
border-radius: 12px;
border: solid 1px;
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: var(--ag-borders);
border-color: var(--ag-border-color);
border-radius: 5px;
background-color: var(--ag-background-color);
}
.ag-picker-field-wrapper:disabled {
color: var(--ag-disabled-foreground-color);
background-color: var(--ag-input-disabled-background-color);
border-color: var(--ag-input-disabled-border-color);
}
.ag-picker-field-wrapper.ag-picker-has-focus, .ag-picker-field-wrapper:focus-within {
outline: none;
box-shadow: var(--ag-input-focus-box-shadow);
border-color: var(--ag-input-focus-border-color);
}
.ag-picker-field-wrapper.ag-picker-has-focus.invalid, .ag-picker-field-wrapper:focus-within.invalid {
box-shadow: var(--ag-input-error-focus-box-shadow);
}
.ag-picker-field-wrapper.invalid {
border: var(--ag-borders-input-invalid) var(--ag-input-border-color-invalid);
}
.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-wrapper {
padding-left: var(--ag-grid-size);
padding-right: var(--ag-grid-size);
}
.ag-color-picker .ag-picker-field-display {
display: flex;
flex-direction: row;
align-items: center;
min-height: var(--ag-list-item-height);
}
.ag-ltr .ag-color-picker-color,
.ag-ltr .ag-color-picker-value {
margin-right: var(--ag-grid-size);
}
.ag-rtl .ag-color-picker-color,
.ag-rtl .ag-color-picker-value {
margin-left: var(--ag-grid-size);
}
.ag-color-panel {
padding: var(--ag-grid-size);
}
.ag-spectrum-color {
background-color: rgb(255, 0, 0);
border-radius: 2px;
}
.ag-spectrum-tools {
padding: 10px;
}
.ag-spectrum-sat {
background-image: linear-gradient(to right, white, rgba(204, 154, 129, 0));
}
.ag-spectrum-val {
background-image: linear-gradient(to top, black, rgba(204, 154, 129, 0));
}
.ag-spectrum-dragger {
border-radius: 12px;
height: 12px;
width: 12px;
border: 2px solid white;
background: black;
box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.24);
}
.ag-spectrum-hue-background {
border-radius: 2px;
}
.ag-spectrum-alpha-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;
border: 2px solid white;
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
}
.ag-recent-colors {
margin-top: 10px;
}
.ag-recent-color {
margin: 0 3px;
}
.ag-recent-color:first-child {
margin-left: 0;
}
.ag-recent-color:last-child {
margin-right: 0;
}
.ag-spectrum-color:focus-visible:not(:disabled):not([readonly]),
.ag-spectrum-slider:focus-visible:not(:disabled):not([readonly]),
.ag-recent-color:focus-visible:not(:disabled):not([readonly]) {
box-shadow: var(--ag-input-focus-box-shadow);
}
.ag-ltr .ag-color-input input[class^=ag-][type=text].ag-input-field-input {
padding-left: calc(var(--ag-icon-size) + var(--ag-grid-size) * 2);
}
.ag-rtl .ag-color-input input[class^=ag-][type=text].ag-input-field-input {
padding-right: calc(var(--ag-icon-size) + var(--ag-grid-size) * 2);
}
.ag-color-input .ag-color-input-color {
position: absolute;
}
.ag-ltr .ag-color-input .ag-color-input-color {
margin-left: var(--ag-grid-size);
}
.ag-rtl .ag-color-input .ag-color-input-color {
margin-right: var(--ag-grid-size);
}
.ag-color-picker-color,
.ag-color-input-color {
width: var(--ag-icon-size);
height: var(--ag-icon-size);
border: var(--ag-borders-secondary) var(--ag-secondary-border-color);
border-radius: 2px;
}
.ag-dnd-ghost {
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);
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);
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-not-allowed {
border-color: color-mix(in srgb, var(--ag-background-color), var(--ag-invalid-color) 50%);
}
.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-select .ag-picker-field-wrapper {
min-height: var(--ag-list-item-height);
cursor: default;
}
.ag-ltr .ag-select .ag-picker-field-wrapper {
padding-left: calc(var(--ag-cell-horizontal-padding) / 2);
}
.ag-rtl .ag-select .ag-picker-field-wrapper {
padding-right: calc(var(--ag-cell-horizontal-padding) / 2);
}
.ag-ltr .ag-select .ag-picker-field-wrapper {
padding-right: var(--ag-grid-size);
}
.ag-rtl .ag-select .ag-picker-field-wrapper {
padding-left: var(--ag-grid-size);
}
.ag-select.ag-disabled .ag-picker-field-wrapper:focus {
box-shadow: none;
}
.ag-select:not(.ag-cell-editor, .ag-label-align-top) {
min-height: var(--ag-list-item-height);
}
.ag-select .ag-picker-field-display {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.ag-select .ag-picker-field-icon {
display: flex;
align-items: center;
}
.ag-select.ag-disabled {
opacity: 0.5;
}
.ag-rich-select-value,
.ag-rich-select-list {
background-color: var(--ag-background-color);
}
.ag-rich-select-list {
width: 100%;
height: auto;
border-radius: var(--ag-border-radius);
border: var(--ag-borders) var(--ag-border-color);
}
.ag-rich-select-list .ag-rich-select-loading {
padding: var(--ag-widget-vertical-spacing) var(--ag-widget-horizontal-spacing);
}
.ag-rich-select-value {
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: calc(var(--ag-cell-horizontal-padding) / 2);
}
.ag-rtl .ag-rich-select-value {
padding-right: calc(var(--ag-cell-horizontal-padding) / 2);
}
.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-ltr .ag-rich-select-field-input {
left: calc(var(--ag-cell-horizontal-padding));
}
.ag-rtl .ag-rich-select-field-input {
right: calc(var(--ag-cell-horizontal-padding));
}
.ag-ltr .ag-rich-select-typing-multi .ag-rich-select-field-input {
margin-left: 0.25rem;
}
.ag-rtl .ag-rich-select-typing-multi .ag-rich-select-field-input {
margin-right: 0.25rem;
}
.ag-ltr .ag-rich-select-typing-multi .ag-rich-select-deselect-button {
margin-left: auto;
}
.ag-rtl .ag-rich-select-typing-multi .ag-rich-select-deselect-button {
margin-right: auto;
}
.ag-ltr .ag-rich-select-typing-multi .ag-rich-select-deselect-button.ag-hidden + .ag-picker-field-icon {
margin-left: auto;
}
.ag-rtl .ag-rich-select-typing-multi .ag-rich-select-deselect-button.ag-hidden + .ag-picker-field-icon {
margin-right: auto;
}
.ag-popup-editor .ag-rich-select-value {
height: var(--ag-row-height);
min-width: 200px;
}
.ag-rich-select-virtual-list-item {
cursor: default;
height: var(--ag-list-item-height);
}
.ag-rich-select-virtual-list-item:focus-visible::after {
content: none;
}
.ag-ltr .ag-rich-select-row {
padding-left: calc(var(--ag-cell-horizontal-padding) / 2);
}
.ag-rtl .ag-rich-select-row {
padding-right: calc(var(--ag-cell-horizontal-padding) / 2);
}
.ag-rich-select-row-selected {
background-color: var(--ag-selected-row-background-color);
}
.ag-rich-select-row:hover,
.ag-rich-select-row-highlighted {
background-image: linear-gradient(var(--ag-row-hover-color), var(--ag-row-hover-color));
}
.ag-rich-select-row-text-highlight {
font-weight: bold;
}
.ag-autocomplete {
width: 100%;
}
.ag-autocomplete-list {
width: 100%;
min-width: 200px;
height: calc(var(--ag-row-height) * 6.5);
}
.ag-autocomplete-virtual-list-item {
cursor: default;
height: var(--ag-list-item-height);
}
.ag-autocomplete-virtual-list-item:focus-visible::after {
content: none;
}
.ag-autocomplete-virtual-list-item:hover {
background-color: var(--ag-row-hover-color);
}
.ag-autocomplete-row-label {
margin: 0px var(--ag-widget-container-horizontal-padding);
}
.ag-autocomplete-row-selected {
background-color: var(--ag-selected-row-background-color);
}
.ag-pill {
border: 1px solid var(--ag-chip-border-color);
border-radius: var(--ag-border-radius);
background-color: var(--ag-chip-background-color);
}
.ag-ltr .ag-pill .ag-pill-button {
margin-left: var(--ag-grid-size);
}
.ag-rtl .ag-pill .ag-pill-button {
margin-right: var(--ag-grid-size);
}
.ag-pill:focus-visible {
border-color: var(--ag-input-focus-border-color);
}
.ag-pill .ag-pill-button:hover {
cursor: pointer;
}
.ag-content-editable-field-input {
background-color: var(--ag-background-color);
border: var(--ag-borders-input) var(--ag-input-border-color);
border-radius: var(--ag-border-radius);
color: var(--ag-foreground-color);
}
.ag-ltr .ag-content-editable-field-input {
padding-left: var(--ag-grid-size);
}
.ag-rtl .ag-content-editable-field-input {
padding-right: var(--ag-grid-size);
}
.ag-cell-editor .ag-wrapper.ag-content-editable-field-input {
--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) - 2px);
line-height: min(var(--ag-internal-calculated-line-height), var(--ag-internal-padded-row-height));
}
.ag-content-editable-field-input:focus,
.ag-content-editable-field-input:focus-within {
box-shadow: var(--ag-input-focus-box-shadow);
border-color: var(--ag-input-focus-border-color);
}
:where(.ag-content-editable-field.ag-disabled .ag-content-editable-field-input) {
background-color: var(--ag-input-disabled-background-color);
border-color: var(--ag-input-disabled-border-color);
color: var(--ag-disabled-foreground-color);
}
.ag-content-editable-field-input.invalid {
border-color: var(--ag-invalid-color);
}
.ag-formula-token {
line-height: var(--ag-line-height, 1.6);
}
.ag-formula-token-color-1 {
color: var(--ag-formula-token-1-color);
}
.ag-formula-token-color-2 {
color: var(--ag-formula-token-2-color);
}
.ag-formula-token-color-3 {
color: var(--ag-formula-token-3-color);
}
.ag-formula-token-color-4 {
color: var(--ag-formula-token-4-color);
}
.ag-formula-token-color-5 {
color: var(--ag-formula-token-5-color);
}
.ag-formula-token-color-6 {
color: var(--ag-formula-token-6-color);
}
.ag-formula-token-color-7 {
color: var(--ag-formula-token-7-color);
}
.ag-formula-range-color-1 {
--ag-range-selection-border-color: var(--ag-formula-token-1-color);
--ag-range-selection-background-color: var(--ag-formula-token-1-background-color);
}
.ag-formula-range-color-2 {
--ag-range-selection-border-color: var(--ag-formula-token-2-color);
--ag-range-selection-background-color: var(--ag-formula-token-2-background-color);
}
.ag-formula-range-color-3 {
--ag-range-selection-border-color: var(--ag-formula-token-3-color);
--ag-range-selection-background-color: var(--ag-formula-token-3-background-color);
}
.ag-formula-range-color-4 {
--ag-range-selection-border-color: var(--ag-formula-token-4-color);
--ag-range-selection-background-color: var(--ag-formula-token-4-background-color);
}
.ag-formula-range-color-5 {
--ag-range-selection-border-color: var(--ag-formula-token-5-color);
--ag-range-selection-background-color: var(--ag-formula-token-5-background-color);
}
.ag-formula-range-color-6 {
--ag-range-selection-border-color: var(--ag-formula-token-6-color);
--ag-range-selection-background-color: var(--ag-formula-token-6-background-color);
}
.ag-formula-range-color-7 {
--ag-range-selection-border-color: var(--ag-formula-token-7-color);
--ag-range-selection-background-color: var(--ag-formula-token-7-background-color);
}
.ag-range-handle.ag-formula-range-color-1,
.ag-fill-handle.ag-formula-range-color-1 {
background-color: var(--ag-formula-token-1-color);
}
.ag-range-handle.ag-formula-range-color-2,
.ag-fill-handle.ag-formula-range-color-2 {
background-color: var(--ag-formula-token-2-color);
}
.ag-range-handle.ag-formula-range-color-3,
.ag-fill-handle.ag-formula-range-color-3 {
background-color: var(--ag-formula-token-3-color);
}
.ag-range-handle.ag-formula-range-color-4,
.ag-fill-handle.ag-formula-range-color-4 {
background-color: var(--ag-formula-token-4-color);
}
.ag-range-handle.ag-formula-range-color-5,
.ag-fill-handle.ag-formula-range-color-5 {
background-color: var(--ag-formula-token-5-color);
}
.ag-range-handle.ag-formula-range-color-6,
.ag-fill-handle.ag-formula-range-color-6 {
background-color: var(--ag-formula-token-6-color);
}
.ag-dragging-range-handle .ag-dialog,
.ag-dragging-fill-handle .ag-dialog {
opacity: 0.7;
pointer-events: none;
}
.ag-dialog {
border-radius: var(--ag-border-radius);
border: var(--ag-borders) var(--ag-border-color);
box-shadow: var(--ag-popup-shadow);
}
.ag-panel {
background-color: var(--ag-panel-background-color);
border-color: var(--ag-panel-border-color);
}
.ag-panel-title-bar {
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);
white-space: normal;
}
.ag-tooltip.ag-cell-editor-tooltip, .ag-tooltip.ag-cell-formula-tooltip {
background-color: var(--ag-tooltip-error-background-color);
color: var(--ag-tooltip-error-text-color);
border: var(--ag-borders) var(--ag-tooltip-error-border-color);
font-weight: 500;
}
.ag-tooltip.ag-tooltip-animate,
.ag-tooltip-custom.ag-tooltip-animate {
transition: opacity 1s;
}
.ag-tooltip.ag-tooltip-animate.ag-tooltip-hiding,
.ag-tooltip-custom.ag-tooltip-animate.ag-tooltip-hiding {
opacity: 0;
}
.ag-ltr .ag-column-select-column,
.ag-ltr .ag-column-select-column-group {
padding-left: calc(var(--ag-indentation-level) * var(--ag-column-select-indent-size));
}
.ag-rtl .ag-column-select-column,
.ag-rtl .ag-column-select-column-group {
padding-right: calc(var(--ag-indentation-level) * var(--ag-column-select-indent-size));
}
.ag-column-select-header-icon {
cursor: pointer;
}
.ag-column-select-header-icon:focus-visible {
outline: none;
}
.ag-column-select-header-icon:focus-visible::after {
content: "";
position: absolute;
background-color: transparent;
pointer-events: none;
top: 0px;
left: 0px;
display: block;
width: calc(100% - 0px);
height: calc(100% - 0px);
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-header-icon: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-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) {
margin-right: var(--ag-widget-horizontal-spacing);
}
.ag-rtl .ag-column-group-icons:not(:last-child),
.ag-rtl .ag-column-select-header-icon: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-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) {
margin-left: var(--ag-widget-horizontal-spacing);
}
.ag-column-select-virtual-list-item:focus-visible {
outline: none;
}
.ag-column-select-virtual-list-item:focus-visible::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-readonly,
.ag-column-select-column-group-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) 0px;
}
.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-pill-select .ag-column-drop {
border-bottom: 0;
min-height: unset;
}
.ag-pill-select .ag-column-drop-list {
padding: 0;
}
.ag-pill-select .ag-select {
padding-top: var(--ag-grid-size);
}
.ag-pill-select .ag-picker-field-wrapper {
background-color: transparent;
border: 0;
}
.ag-pill-select .ag-picker-field-display {
cursor: pointer;
}
.ag-rtl {
text-align: right;
}
.ag-root-wrapper {
border-radius: var(--ag-wrapper-border-radius);
border: var(--ag-borders) var(--ag-border-color);
}
.ag-row > .ag-cell-wrapper.ag-row-group {
padding-left: calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size) * var(--ag-indentation-level));
}
.ag-cell-wrapper.ag-row-group,
.ag-cell-wrapper.ag-row-group-leaf-indent,
.ag-cell-wrapper.ag-pivot-leaf-group {
padding-left: calc(var(--ag-indentation-level) * var(--ag-row-group-indent-size));
}
.ag-cell-wrapper > .ag-group-checkbox-spacing {
width: var(--ag-icon-size);
margin-right: var(--ag-cell-widget-spacing);
}
.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-row:not(.ag-row-level-0) .ag-pivot-leaf-group {
margin-left: 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 0.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,
.ag-spanned-row {
color: var(--ag-data-color);
}
.ag-row {
height: var(--ag-row-height);
background-color: var(--ag-data-background-color);
border-bottom: var(--ag-row-border-style) var(--ag-row-border-color) var(--ag-row-border-width);
}
.ag-row.ag-row-editing-invalid {
background-color: var(--ag-full-row-invalid-background-color);
}
.ag-spanned-cell-wrapper {
background-color: var(--ag-data-background-color);
position: absolute;
}
.ag-spanned-cell-wrapper > .ag-spanned-cell {
display: block;
position: relative;
}
.ag-row-highlight-above::after,
.ag-row-highlight-inside::after,
.ag-row-highlight-below::after {
content: "";
position: absolute;
width: calc(100% - 1px);
height: var(--ag-row-drag-indicator-width);
background-color: var(--ag-row-drag-indicator-color);
border-radius: calc(var(--ag-row-drag-indicator-width) / 2);
left: 1px;
pointer-events: none;
}
.ag-row-highlight-above::after {
top: 0;
}
.ag-row-highlight-below::after {
bottom: 0;
}
.ag-row-highlight-indent::after {
display: block;
width: auto;
left: calc(2 * (var(--ag-cell-widget-spacing) + var(--ag-icon-size)) + var(--ag-cell-horizontal-padding) + var(--ag-row-highlight-level) * var(--ag-row-group-indent-size));
right: 1px;
}
.ag-row-highlight-inside::after {
display: block;
width: auto;
height: auto;
inset: 0;
background-color: var(--ag-selected-row-background-color);
border: 1px solid var(--ag-range-selection-border-color);
}
.ag-body,
.ag-floating-top,
.ag-floating-bottom {
background-color: var(--ag-data-background-color);
}
.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:not(.ag-full-width-row)::before,
.ag-row-hover.ag-full-width-row.ag-row-group::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.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-header-range-highlight {
background-color: var(--ag-range-header-highlight-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-ltr .ag-right-aligned-cell .ag-skeleton-effect {
margin-left: auto;
}
.ag-rtl .ag-right-aligned-cell .ag-skeleton-effect {
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) - 2px);
border: 1px solid transparent;
line-height: min(var(--ag-internal-calculated-line-height), var(--ag-internal-padded-row-height));
padding-left: calc(var(--ag-cell-horizontal-padding) - 1px + var(--ag-row-group-indent-size) * var(--ag-indentation-level));
padding-right: calc(var(--ag-cell-horizontal-padding) - 1px);
-webkit-font-smoothing: subpixel-antialiased;
}
.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: 0.5;
}
.ag-cell-inline-editing {
border: 1px solid var(--ag-border-color);
border-radius: var(--ag-card-radius);
box-shadow: var(--ag-card-shadow);
padding: 0;
background-color: var(--ag-control-panel-background-color);
}
.ag-popup-editor .ag-large-text,
.ag-autocomplete-list-popup {
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);
background-color: var(--ag-control-panel-background-color);
padding: 0;
}
.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-data-background-color);
}
.ag-layout-auto-height .ag-center-cols-viewport,
.ag-layout-auto-height .ag-center-cols-container,
.ag-layout-print .ag-center-cols-viewport,
.ag-layout-print .ag-center-cols-container {
min-height: 50px;
}
.ag-overlay-loading-wrapper,
.ag-overlay-exporting-wrapper,
.ag-overlay-modal-wrapper {
background-color: var(--ag-modal-overlay-background-color);
}
.ag-overlay-loading-center,
.ag-overlay-exporting-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);
display: flex;
}
.ag-skeleton-container {
width: 100%;
height: 100%;
align-content: center;
}
.ag-skeleton-effect {
background-color: var(--ag-row-loading-skeleton-effect-color);
width: 100%;
height: 1em;
border-radius: 0.25rem;
animation: ag-skeleton-loading 1.5s ease-in-out 0.5s infinite;
}
@keyframes ag-skeleton-loading {
0% {
opacity: 1;
}
50% {
opacity: 0.4;
}
100% {
opacity: 1;
}
}
.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: 1000ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.ag-floating-top:not(.ag-invisible) {
border-bottom: var(--ag-borders-critical) var(--ag-border-color);
}
.ag-floating-bottom:not(.ag-invisible) {
border-top: var(--ag-borders-critical) var(--ag-border-color);
}
.ag-find-cell {
display: block;
overflow: hidden;
text-overflow: ellipsis;
}
.ag-find-match {
color: var(--ag-find-match-color);
background-color: var(--ag-find-match-background-color);
}
.ag-find-active-match {
color: var(--ag-find-active-match-color);
background-color: var(--ag-find-active-match-background-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-cell-range-selected:not(.ag-cell-focus),
.ag-cell-range-selected.ag-cell-range-chart,
.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing) {
background-color: var(--ag-range-selection-background-color);
}
.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart,
.ag-cell-range-selected.ag-cell-range-chart.ag-cell-range-chart,
.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart {
background-color: var(--ag-range-selection-chart-background-color) !important;
}
.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart.ag-cell-range-chart-category,
.ag-cell-range-selected.ag-cell-range-chart.ag-cell-range-chart.ag-cell-range-chart-category,
.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 {
background-color: var(--ag-range-selection-chart-category-background-color) !important;
}
.ag-cell-range-selected-1:not(.ag-cell-focus),
.ag-cell-range-selected-1.ag-cell-range-chart,
.ag-cell-range-selected-1.ag-formula-range,
.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-cell-range-selected-2:not(.ag-cell-focus),
.ag-cell-range-selected-2.ag-cell-range-chart,
.ag-cell-range-selected-2.ag-formula-range,
.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-2 {
background-color: var(--ag-range-selection-background-color-2);
}
.ag-cell-range-selected-3:not(.ag-cell-focus),
.ag-cell-range-selected-3.ag-cell-range-chart,
.ag-cell-range-selected-3.ag-formula-range,
.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-3 {
background-color: var(--ag-range-selection-background-color-3);
}
.ag-cell-range-selected-4:not(.ag-cell-focus),
.ag-cell-range-selected-4.ag-cell-range-chart,
.ag-cell-range-selected-4.ag-formula-range,
.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-4 {
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-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-ltr .ag-cell-range-single-cell,
.ag-ltr .ag-cell-range-single-cell.ag-cell-range-handle,
.ag-rtl .ag-cell-focus:not(.ag-cell-range-selected):focus-within,
.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,
.ag-rtl .ag-cell-range-single-cell,
.ag-rtl .ag-cell-range-single-cell.ag-cell-range-handle {
border: 1px solid;
border-color: var(--ag-range-selection-border-color);
border-style: var(--ag-range-selection-border-style);
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: crosshair;
}
.ag-range-handle {
cursor: nwse-resize;
}
.ag-cell-inline-editing {
border-color: var(--ag-input-focus-border-color) !important;
}
.ag-cell-inline-editing.ag-cell-editing-error {
border-color: var(--ag-invalid-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: var(--ag-grid-size);
background-color: var(--ag-menu-background-color);
border-color: var(--ag-menu-border-color);
padding: 0;
}
.ag-menu.ag-tabs {
min-width: var(--ag-tab-min-width);
}
.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-menu-option {
position: relative;
}
.ag-menu-option:focus-visible {
outline: none;
}
.ag-menu-option:focus-visible::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-menu-option-active,
.ag-compact-menu-option-active {
background-color: var(--ag-row-hover-color);
}
.ag-menu-option-part,
.ag-compact-menu-option-part {
line-height: var(--ag-icon-size);
padding: calc(var(--ag-grid-size) + 2px) 0;
}
.ag-menu-option-disabled,
.ag-compact-menu-option-disabled {
opacity: 0.5;
}
.ag-menu-option-icon,
.ag-compact-menu-option-icon {
width: var(--ag-icon-size);
}
.ag-ltr .ag-menu-option-icon,
.ag-ltr .ag-compact-menu-option-icon {
padding-left: calc(var(--ag-grid-size) * 2);
}
.ag-rtl .ag-menu-option-icon,
.ag-rtl .ag-compact-menu-option-icon {
padding-right: calc(var(--ag-grid-size) * 2);
}
.ag-menu-option-text,
.ag-compact-menu-option-text {
padding-left: calc(var(--ag-grid-size) * 2);
padding-right: calc(var(--ag-grid-size) * 2);
}
.ag-ltr .ag-menu-option-shortcut,
.ag-ltr .ag-compact-menu-option-shortcut {
padding-right: var(--ag-grid-size);
}
.ag-rtl .ag-menu-option-shortcut,
.ag-rtl .ag-compact-menu-option-shortcut {
padding-left: var(--ag-grid-size);
}
.ag-ltr .ag-menu-option-popup-pointer,
.ag-ltr .ag-compact-menu-option-popup-pointer {
padding-right: var(--ag-grid-size);
}
.ag-rtl .ag-menu-option-popup-pointer,
.ag-rtl .ag-compact-menu-option-popup-pointer {
padding-left: var(--ag-grid-size);
}
.ag-tabs-header {
display: flex;
}
.ag-tabs-header-wrapper {
display: flex;
}
.ag-tabs-header-wrapper .ag-tabs-header {
flex: 1;
}
.ag-tabs-close-button-wrapper {
border: 0;
border-right: var(--ag-borders) var(--ag-border-color);
padding: var(--ag-grid-size);
}
.ag-tabs-close-button {
border: 0;
background-color: unset;
cursor: pointer;
padding: 0;
}
.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-tab:focus-visible {
outline: none;
}
.ag-tab:focus-visible::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-set-filter-list,
.ag-filter-no-matches {
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 {
--ag-indentation-level: 0;
}
.ag-ltr .ag-set-filter-item {
padding-left: calc(var(--ag-widget-container-horizontal-padding) + var(--ag-indentation-level) * var(--ag-set-filter-indent-size));
}
.ag-rtl .ag-set-filter-item {
padding-right: calc(var(--ag-widget-container-horizontal-padding) + var(--ag-indentation-level) * var(--ag-set-filter-indent-size));
}
.ag-ltr .ag-set-filter-add-group-indent {
margin-left: calc(var(--ag-icon-size) + var(--ag-widget-container-horizontal-padding));
}
.ag-rtl .ag-set-filter-add-group-indent {
margin-right: calc(var(--ag-icon-size) + var(--ag-widget-container-horizontal-padding));
}
.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-menu .ag-set-filter-list {
min-width: 200px;
}
.ag-filter-virtual-list-item:focus-visible {
outline: none;
}
.ag-filter-virtual-list-item:focus-visible::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-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 {
display: flex;
flex-direction: column;
gap: var(--ag-widget-vertical-spacing);
padding: var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);
padding-bottom: var(--ag-widget-container-vertical-padding);
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 .ag-resizer-wrapper {
margin: 0;
}
.ag-menu:not(.ag-tabs) .ag-filter .ag-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-multi-filter-group-title-bar:focus-visible {
outline: none;
}
.ag-multi-filter-group-title-bar:focus-visible::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-horizontal-size, var(--ag-side-bar-panel-width));
background-color: var(--ag-control-panel-background-color);
}
.ag-tool-panel-content {
display: flex;
height: 100%;
overflow: hidden auto;
}
.ag-tool-panel-wrapper.ag-tool-panel-animating {
display: block !important;
transition: width var(--ag-side-bar-panel-animation-duration) ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
.ag-tool-panel-wrapper.ag-tool-panel-animating {
transition: none;
}
}
.ag-tool-panel-external {
display: flex;
flex-direction: row;
}
:where(.ag-tool-panel-external) .ag-tool-panel-wrapper {
flex-grow: 1;
}
.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-side-button-button:focus-visible {
outline: none;
}
.ag-side-button-button:focus-visible::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-rtl .ag-side-bar-left,
.ag-ltr .ag-side-bar-right {
border-left: var(--ag-borders) var(--ag-border-color);
}
.ag-rtl .ag-side-bar-left .ag-tool-panel-wrapper,
.ag-ltr .ag-side-bar-right .ag-tool-panel-wrapper {
border-right: var(--ag-borders) var(--ag-border-color);
}
.ag-rtl .ag-side-bar-left .ag-side-button-button,
.ag-ltr .ag-side-bar-right .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-rtl .ag-side-bar-left .ag-selected .ag-side-button-button,
.ag-ltr .ag-side-bar-right .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-filter-toolpanel-header,
.ag-filter-toolpanel-search {
padding: 0 var(--ag-grid-size);
}
.ag-filter-toolpanel-header:focus-visible {
outline: none;
}
.ag-filter-toolpanel-header:focus-visible::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:not(.ag-has-filter) > .ag-group-title-bar .ag-filter-toolpanel-group-instance-header-icon {
display: none;
}
.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-title-bar {
background-color: transparent;
}
.ag-ltr .ag-filter-toolpanel-header {
padding-left: calc(var(--ag-filter-tool-panel-group-indent) * var(--ag-indentation-level, 0) + var(--ag-grid-size));
}
.ag-rtl .ag-filter-toolpanel-header {
padding-right: calc(var(--ag-filter-tool-panel-group-indent) * var(--ag-indentation-level, 0) + 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-group-instance-header-icon,
.ag-ltr .ag-filter-toolpanel-instance-header-icon {
margin-left: var(--ag-grid-size);
}
.ag-rtl .ag-filter-toolpanel-group-instance-header-icon,
.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-filter-panel {
display: flex;
flex-direction: column;
width: 100%;
}
.ag-filter-panel .ag-simple-filter-body-wrapper {
padding: var(--ag-widget-vertical-spacing) var(--ag-widget-container-horizontal-padding) 0;
}
.ag-filter-panel .ag-mini-filter {
margin-top: var(--ag-widget-vertical-spacing);
margin-left: var(--ag-widget-container-horizontal-padding);
margin-right: var(--ag-widget-container-horizontal-padding);
}
.ag-filter-panel .ag-standard-button {
transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}
.ag-filter-panel .ag-simple-filter-body-wrapper > *:last-child,
.ag-filter-panel .ag-set-filter-body-wrapper {
margin-bottom: var(--ag-widget-container-vertical-padding);
}
.ag-filter-panel-container {
flex: 1;
overflow: auto;
padding: var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding) 0;
}
.ag-filter-panel-container > *:not(:last-child) {
margin-bottom: var(--ag-widget-container-vertical-padding);
}
.ag-filter-card {
border: 1px solid var(--ag-border-color);
border-radius: var(--ag-border-radius);
background-color: var(--ag-background-color);
}
.ag-ltr .ag-filter-card .ag-set-filter-item {
padding-left: calc(var(--ag-widget-container-horizontal-padding) + var(--ag-indentation-level) * var(--ag-set-filter-indent-size));
padding-right: var(--ag-widget-container-horizontal-padding);
}
.ag-rtl .ag-filter-card .ag-set-filter-item {
padding-right: calc(var(--ag-widget-container-horizontal-padding) + var(--ag-indentation-level) * var(--ag-set-filter-indent-size));
padding-left: var(--ag-widget-container-horizontal-padding);
}
.ag-filter-card-header {
display: flex;
flex-direction: row;
align-items: center;
padding-top: var(--ag-widget-vertical-spacing);
}
.ag-ltr .ag-filter-card-header > *:not(:last-child) {
padding-right: var(--ag-grid-size);
}
.ag-rtl .ag-filter-card-header > *:not(:last-child) {
padding-left: var(--ag-grid-size);
}
.ag-filter-card-heading {
flex: 1;
overflow: hidden;
padding-top: calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing));
padding-bottom: calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing));
}
.ag-ltr .ag-filter-card-heading {
padding-left: var(--ag-widget-horizontal-spacing);
}
.ag-rtl .ag-filter-card-heading {
padding-right: var(--ag-widget-horizontal-spacing);
}
.ag-filter-card-expand {
display: flex;
flex-direction: row;
width: 100%;
justify-content: space-between;
align-items: center;
}
.ag-filter-card-title {
overflow: hidden;
text-overflow: ellipsis;
}
.ag-filter-card-expand-icon {
display: flex;
flex: 1;
justify-content: end;
}
.ag-filter-card-editing-icon {
margin: 0 var(--ag-grid-size);
}
.ag-filter-card-summary,
.ag-filter-card-expand-icon .ag-icon,
.ag-filter-card-delete-icon .ag-icon,
.ag-filter-card-editing-icon .ag-icon {
color: var(--ag-filter-panel-card-subtle-color);
}
.ag-filter-card-expand-icon .ag-icon,
.ag-filter-card-delete-icon .ag-icon {
transition: color 0.25s ease-in-out;
}
.ag-filter-card-expand-icon:hover .ag-icon,
.ag-filter-card-delete-icon:hover .ag-icon {
color: var(--ag-filter-panel-card-subtle-hover-color);
}
.ag-filter-card-heading:hover .ag-filter-card-expand-icon .ag-icon {
color: var(--ag-filter-panel-card-subtle-hover-color);
}
.ag-filter-card-expand,
.ag-filter-card-delete {
border-radius: var(--ag-button-border-radius);
background: none;
border: none;
cursor: pointer;
padding: 0;
}
.ag-filter-panel .ag-standard-button {
cursor: pointer;
}
.ag-filter-card-summary,
.ag-filter-type-select {
margin-left: var(--ag-widget-container-horizontal-padding);
margin-right: var(--ag-widget-container-horizontal-padding);
}
.ag-ltr .ag-filter-card-delete {
margin-right: var(--ag-widget-horizontal-spacing);
}
.ag-rtl .ag-filter-card-delete {
margin-left: var(--ag-widget-horizontal-spacing);
}
.ag-filter-card-summary {
margin-bottom: var(--ag-widget-container-vertical-padding);
}
.ag-filter-type-select {
padding-top: var(--ag-widget-vertical-spacing);
}
.ag-filter-card-add {
padding: 0;
border: 0;
}
.ag-filter-add-button {
display: flex;
flex-direction: row;
width: 100%;
align-items: center;
line-height: 1.5;
}
.ag-ltr .ag-filter-add-button-label {
margin-left: var(--ag-grid-size);
}
.ag-rtl .ag-filter-add-button-label {
margin-right: var(--ag-grid-size);
}
.ag-filter-add-select {
border: 0;
}
.ag-ltr .ag-filter-add-select .ag-text-field-input {
padding-left: calc(var(--ag-grid-size) * 1.5 + 12px) !important;
}
.ag-rtl .ag-filter-add-select .ag-text-field-input {
padding-right: calc(var(--ag-grid-size) * 1.5 + 12px) !important;
}
.ag-filter-add-select .ag-rich-select-value {
padding: calc((1.5 * var(--ag-font-size) + 4 * var(--ag-grid-size) - var(--ag-input-height)) / 2) var(--ag-grid-size);
border: 0;
}
.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-column-select-header:focus-visible {
outline: none;
}
.ag-column-select-header:focus-visible::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);
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-panel-column-select:not(.ag-last-visible-child) {
border-bottom: var(--ag-borders-secondary) var(--ag-secondary-border-color);
}
.ag-column-panel-buttons {
display: flex;
justify-content: flex-end;
overflow: hidden;
padding: var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding) 0;
flex-wrap: wrap;
gap: var(--ag-widget-vertical-spacing) var(--ag-widget-horizontal-spacing);
}
.ag-column-panel-buttons .ag-standard-button {
transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}
.ag-column-panel-buttons:last-child {
padding-bottom: var(--ag-widget-container-vertical-padding);
}
.ag-column-panel-buttons-button {
line-height: 1.5;
}
.ag-column-panel .ag-standard-button.ag-column-panel-buttons-apply-button:not(:disabled) {
color: var(--ag-column-panel-apply-button-color);
background-color: var(--ag-column-panel-apply-button-background-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;
}
.ag-column-select-list .ag-item-highlight-top::after {
top: 0;
}
.ag-column-select-list .ag-item-highlight-bottom::after {
bottom: 0;
}
.ag-header,
.ag-advanced-filter-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-header-cell:not(.ag-right-aligned-header) .ag-header-col-ref {
margin-right: var(--ag-grid-size);
color: var(--ag-subtle-text-color);
}
.ag-ltr .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon,
.ag-ltr .ag-header-cell:not(.ag-right-aligned-header) .ag-header-menu-icon {
margin-left: var(--ag-grid-size);
}
.ag-rtl .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon,
.ag-rtl .ag-header-cell:not(.ag-right-aligned-header) .ag-header-menu-icon {
margin-right: var(--ag-grid-size);
}
.ag-header-cell.ag-right-aligned-header .ag-header-col-ref {
margin-left: var(--ag-grid-size);
color: var(--ag-subtle-text-color);
}
.ag-ltr .ag-header-cell.ag-right-aligned-header .ag-header-label-icon,
.ag-ltr .ag-header-cell.ag-right-aligned-header .ag-header-menu-icon {
margin-right: var(--ag-grid-size);
}
.ag-rtl .ag-header-cell.ag-right-aligned-header .ag-header-label-icon,
.ag-rtl .ag-header-cell.ag-right-aligned-header .ag-header-menu-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-header-cell:focus-visible {
outline: none;
}
.ag-header-cell:focus-visible::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-group-cell:focus-visible {
outline: none;
}
.ag-header-group-cell:focus-visible::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-advanced-filter-header-cell:focus-visible {
outline: none;
}
.ag-advanced-filter-header-cell:focus-visible::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 {
margin-left: 4px;
}
.ag-rtl .ag-header-expand-icon {
margin-right: 4px;
}
.ag-header-row:not(:first-child) .ag-header-cell:not(.ag-header-span-height.ag-header-span-total, .ag-header-parent-hidden),
.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-group-cell:not(.ag-column-resizing) + .ag-header-group-cell:not(.ag-column-hover):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-cell:not(.ag-column-resizing) + .ag-header-cell:not(.ag-column-hover):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-group-cell:first-of-type:not(.ag-header-cell-moving):hover,
.ag-header-group-cell: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-hover):first-of-type.ag-column-resizing {
background-color: var(--ag-header-cell-hover-background-color);
}
.ag-header-cell::before,
.ag-header-group-cell:not(.ag-header-span-height.ag-header-group-cell-no-group)::before {
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::before,
.ag-ltr .ag-header-group-cell:not(.ag-header-span-height.ag-header-group-cell-no-group)::before {
right: 0;
}
.ag-rtl .ag-header-cell::before,
.ag-rtl .ag-header-group-cell:not(.ag-header-span-height.ag-header-group-cell-no-group)::before {
left: 0;
}
.ag-header-highlight-before::after,
.ag-header-highlight-after::after {
content: "";
position: absolute;
height: 100%;
width: var(--ag-column-drag-indicator-width);
border-radius: calc(var(--ag-column-drag-indicator-width) / 2);
background-color: var(--ag-column-drag-indicator-color);
}
.ag-header-highlight-before::after {
left: 0px;
}
.ag-header-highlight-after::after {
right: 0px;
}
.ag-pinned-left-header .ag-header-highlight-after::after {
right: 1px;
}
.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 {
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: var(--ag-cell-widget-spacing);
}
.ag-rtl .ag-floating-filter-button {
margin-right: var(--ag-cell-widget-spacing);
}
.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;
align-items: unset;
}
.ag-paging-panel {
border-top: 1px solid;
border-top-color: var(--ag-border-color);
color: var(--ag-secondary-foreground-color);
height: var(--ag-pagination-panel-height);
}
.ag-paging-panel > * {
margin: 0 var(--ag-cell-horizontal-padding);
}
.ag-paging-panel > .ag-paging-page-size .ag-wrapper {
min-width: calc(var(--ag-grid-size) * 10);
}
.ag-paging-button {
cursor: pointer;
}
.ag-paging-button.ag-disabled {
cursor: default;
color: var(--ag-disabled-foreground-color);
}
.ag-paging-button:focus-visible {
outline: none;
}
.ag-paging-button:focus-visible::after {
content: "";
position: absolute;
background-color: transparent;
pointer-events: none;
top: 0px;
left: 0px;
display: block;
width: calc(100% - 0px);
height: calc(100% - 0px);
border: 1px solid;
border-color: var(--ag-input-focus-border-color);
}
.ag-paging-button,
.ag-paging-description {
margin: 0 var(--ag-grid-size);
line-height: 0;
}
.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 var(--ag-chip-border-color);
}
.ag-column-drop-cell:focus-visible {
outline: none;
}
.ag-column-drop-cell:focus-visible::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: 0.5;
}
.ag-column-drop-horizontal {
background-color: var(--ag-header-background-color);
color: var(--ag-secondary-foreground-color);
height: var(--ag-header-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);
background: var(--ag-background-color);
border-radius: var(--ag-card-radius);
box-shadow: var(--ag-card-shadow);
padding: var(--ag-grid-size);
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-select-agg-func-virtual-list-item:focus-visible {
outline: none;
}
.ag-select-agg-func-virtual-list-item:focus-visible::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 {
position: relative;
display: flex;
width: 100%;
height: 100%;
}
.ag-chart-components-wrapper {
position: relative;
display: flex;
flex: 1 1 auto;
}
.ag-chart-canvas-wrapper {
position: relative;
flex: 1 1 auto;
}
.ag-chart-menu {
position: absolute;
top: 16px;
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;
min-width: var(--ag-chart-menu-panel-width);
}
.ag-chart-menu-hidden ~ .ag-chart-docked-container {
display: none;
}
.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: 0.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-prev,
.ag-chart-settings-next {
position: relative;
flex: none;
}
.ag-chart-settings-prev:focus-within,
.ag-chart-settings-next:focus-within {
box-shadow: var(--ag-input-focus-box-shadow);
border-radius: 1px;
}
.ag-chart-settings-prev-button,
.ag-chart-settings-next-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 0.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,
.ag-chart-advanced-settings-wrapper {
display: flex;
flex-direction: column;
position: relative;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
padding-bottom: 16px;
}
.ag-chart-data-wrapper,
.ag-chart-advanced-settings-wrapper {
height: 100%;
overflow-y: auto;
}
.ag-chart-advanced-settings {
background-color: var(--ag-control-panel-background-color);
}
.ag-chart-advanced-settings-wrapper,
.ag-chart-advanced-settings {
width: 100%;
}
.ag-chart-advanced-settings-wrapper {
padding-bottom: 0;
}
.ag-chart-data-section,
.ag-chart-format-section,
.ag-chart-advanced-settings-section {
display: flex;
margin: 0;
}
.ag-chart-advanced-settings-section {
padding-top: var(--ag-grid-size);
padding-bottom: var(--ag-grid-size);
}
.ag-chart-advanced-settings-section:not(:last-child) {
border-bottom: 1px solid var(--ag-secondary-border-color);
}
.ag-chart-empty-text {
display: flex;
top: 0;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
background-color: var(--ag-background-color);
}
.ag-chart .ag-chart-menu-wrapper .ag-chart-menu {
display: flex;
flex-direction: row;
top: 8px;
gap: 20px;
width: auto;
}
.ag-ltr .ag-chart .ag-chart-menu-wrapper .ag-chart-menu {
right: calc(var(--ag-cell-horizontal-padding) + var(--ag-grid-size) - 4px);
justify-content: right;
}
.ag-rtl .ag-chart .ag-chart-menu-wrapper .ag-chart-menu {
left: calc(var(--ag-cell-horizontal-padding) + var(--ag-grid-size) - 4px);
justify-content: left;
}
.ag-charts-font-size-color {
display: flex;
align-self: stretch;
justify-content: space-between;
}
.ag-charts-data-group-item {
position: relative;
}
.ag-charts-data-group-item:not(:last-child) {
margin-bottom: var(--ag-grid-size);
}
.ag-chart-menu {
border-radius: var(--ag-card-radius);
background: var(--ag-background-color);
}
.ag-chart-menu-icon {
opacity: 0.5;
margin: 2px 0;
cursor: pointer;
border-radius: var(--ag-card-radius);
color: var(--ag-secondary-foreground-color);
}
.ag-chart-menu-icon:hover {
opacity: 1;
}
.ag-chart-menu-toolbar-button {
border: 0;
background-color: unset;
padding: 0 2px;
border-radius: 1px;
}
.ag-chart-mini-thumbnail {
border: 1px solid var(--ag-secondary-border-color);
border-radius: 5px;
padding: 1px;
}
.ag-chart-mini-thumbnail.ag-selected {
border-color: var(--ag-minichart-selected-chart-color);
border-width: 2px;
padding: unset;
}
.ag-chart-mini-thumbnail:focus-visible {
outline: none;
border-color: var(--ag-minichart-selected-chart-color);
box-shadow: var(--ag-input-focus-box-shadow);
}
.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-settings-group-title-bar,
.ag-charts-data-group-title-bar,
.ag-charts-format-top-level-group-title-bar {
border-top: var(--ag-borders-secondary) var(--ag-secondary-border-color);
position: relative;
}
.ag-charts-advanced-settings-top-level-group-title-bar {
position: relative;
background-color: unset;
}
.ag-charts-data-group-title-bar:focus-visible {
outline: none;
}
.ag-charts-data-group-title-bar:focus-visible::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-charts-format-top-level-group-title-bar:focus-visible {
outline: none;
}
.ag-charts-format-top-level-group-title-bar:focus-visible::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-charts-data-group-title-bar .ag-charts-data-group-title,
.ag-charts-format-top-level-group-title-bar .ag-charts-format-top-level-group-title {
cursor: pointer;
}
.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):not(.ag-pill-select):not(.ag-select) {
height: var(--ag-list-item-height);
}
.ag-charts-data-group-container .ag-charts-data-group-item.ag-picker-field {
margin-top: var(--ag-grid-size);
}
.ag-charts-data-group-container .ag-list-item-hovered::after {
content: "";
position: absolute;
left: 0;
right: 0;
height: 1px;
}
.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,
.ag-charts-advanced-settings-top-level-group-container {
padding: var(--ag-grid-size);
}
.ag-ltr .ag-charts-format-top-level-group-container,
.ag-ltr .ag-charts-advanced-settings-top-level-group-container {
margin-left: calc(var(--ag-grid-size) * 2);
}
.ag-rtl .ag-charts-format-top-level-group-container,
.ag-rtl .ag-charts-advanced-settings-top-level-group-container {
margin-right: calc(var(--ag-grid-size) * 2);
}
.ag-charts-format-top-level-group-item,
.ag-charts-advanced-settings-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-format-sub-level-no-header-group-container > * {
margin-bottom: var(--ag-widget-vertical-spacing);
}
.ag-charts-format-sub-level-group-container .ag-charts-format-sub-level-group-item.ag-font-panel-no-header {
margin: 0;
}
.ag-charts-settings-group-container {
padding: var(--ag-grid-size);
row-gap: 8px;
display: grid;
grid-template-columns: 60px 1fr 60px 1fr 60px;
}
.ag-charts-settings-group-container .ag-chart-mini-thumbnail:nth-child(3n+1) {
grid-column: 1;
}
.ag-charts-settings-group-container .ag-chart-mini-thumbnail:nth-child(3n+2) {
grid-column: 3;
}
.ag-charts-settings-group-container .ag-chart-mini-thumbnail:nth-child(3n+3) {
grid-column: 5;
}
.ag-chart-menu-panel {
background-color: var(--ag-control-panel-background-color);
}
.ag-ltr .ag-chart-menu-panel {
border-left: solid 1px var(--ag-border-color);
}
.ag-rtl .ag-chart-menu-panel {
border-right: solid 1px 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-advanced-filter-header {
position: relative;
display: flex;
align-items: center;
padding-left: var(--ag-cell-horizontal-padding);
padding-right: var(--ag-cell-horizontal-padding);
}
.ag-advanced-filter {
display: flex;
align-items: center;
width: 100%;
}
.ag-advanced-filter-buttons {
display: contents;
}
.ag-advanced-filter-builder-button {
display: flex;
align-items: center;
border: 0;
background-color: unset;
color: var(--ag-foreground-color);
font-size: var(--ag-font-size);
font-weight: 600;
line-height: normal;
white-space: nowrap;
}
.ag-ltr .ag-advanced-filter-builder-button {
margin-left: calc(var(--ag-grid-size) * 2);
}
.ag-rtl .ag-advanced-filter-builder-button {
margin-right: calc(var(--ag-grid-size) * 2);
}
.ag-advanced-filter-builder-button:hover:not(:disabled) {
background-color: var(--ag-row-hover-color);
}
.ag-advanced-filter-builder-button:not(:disabled) {
cursor: pointer;
}
.ag-advanced-filter-builder-button-label {
margin-left: var(--ag-grid-size);
}
.ag-advanced-filter-builder {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
width: 100%;
background-color: var(--ag-control-panel-background-color);
display: flex;
flex-direction: column;
}
.ag-advanced-filter-builder-list {
flex: 1;
overflow: auto;
}
.ag-advanced-filter-builder-list .ag-list-item-hovered::after {
content: "";
position: absolute;
left: 0;
right: 0;
height: 1px;
}
.ag-advanced-filter-builder-list .ag-item-highlight-top::after {
top: 0;
}
.ag-advanced-filter-builder-list .ag-item-highlight-bottom::after {
bottom: 0;
}
.ag-advanced-filter-builder-button-panel {
display: flex;
justify-content: flex-end;
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-advanced-filter-builder .ag-advanced-filter-builder-button-panel .ag-advanced-filter-builder-apply-button,
.ag-advanced-filter-builder .ag-advanced-filter-builder-button-panel .ag-advanced-filter-builder-cancel-button {
margin-left: calc(var(--ag-grid-size) * 2);
}
.ag-advanced-filter-builder-item-wrapper {
display: flex;
flex: 1 1 auto;
align-items: center;
justify-content: space-between;
overflow: hidden;
padding-left: calc(var(--ag-icon-size) / 2);
padding-right: var(--ag-icon-size);
}
.ag-virtual-list-viewport .ag-advanced-filter-builder-item-wrapper .ag-tab-guard {
position: absolute;
}
.ag-advanced-filter-builder-item-tree-lines > * {
width: var(--ag-advanced-filter-builder-indent-size);
}
.ag-advanced-filter-builder-item-tree-lines .ag-advanced-filter-builder-item-tree-line-root {
width: var(--ag-icon-size);
}
.ag-advanced-filter-builder-item-tree-lines .ag-advanced-filter-builder-item-tree-line-root::before {
top: 50%;
height: 50%;
}
.ag-advanced-filter-builder-item-tree-line-horizontal,
.ag-advanced-filter-builder-item-tree-line-vertical,
.ag-advanced-filter-builder-item-tree-line-vertical-top,
.ag-advanced-filter-builder-item-tree-line-vertical-bottom {
position: relative;
height: 100%;
display: flex;
align-items: center;
}
.ag-advanced-filter-builder-item-tree-line-horizontal::before, .ag-advanced-filter-builder-item-tree-line-horizontal::after,
.ag-advanced-filter-builder-item-tree-line-vertical::before,
.ag-advanced-filter-builder-item-tree-line-vertical::after,
.ag-advanced-filter-builder-item-tree-line-vertical-top::before,
.ag-advanced-filter-builder-item-tree-line-vertical-top::after,
.ag-advanced-filter-builder-item-tree-line-vertical-bottom::before,
.ag-advanced-filter-builder-item-tree-line-vertical-bottom::after {
content: "";
position: absolute;
height: 100%;
}
.ag-advanced-filter-builder-item-tree-line-horizontal::after {
height: 50%;
width: calc(var(--ag-advanced-filter-builder-indent-size) - var(--ag-icon-size));
top: 0;
left: calc(var(--ag-icon-size) / 2);
border-bottom: 1px solid;
border-color: var(--ag-border-color);
}
.ag-advanced-filter-builder-item-tree-line-vertical::before {
width: calc(var(--ag-advanced-filter-builder-indent-size) - var(--ag-icon-size) / 2);
top: 0;
left: calc(var(--ag-icon-size) / 2);
border-left: 1px solid;
border-color: var(--ag-border-color);
}
.ag-advanced-filter-builder-item-tree-line-vertical-top::before {
height: 50%;
width: calc(var(--ag-advanced-filter-builder-indent-size) - var(--ag-icon-size) / 2);
top: 0;
left: calc(var(--ag-icon-size) / 2);
border-left: 1px solid;
border-color: var(--ag-border-color);
}
.ag-advanced-filter-builder-item-tree-line-vertical-bottom::before {
height: calc((100% - 1.5 * var(--ag-icon-size)) / 2);
width: calc(var(--ag-icon-size) / 2);
top: calc((100% + 1.5 * var(--ag-icon-size)) / 2);
left: calc(var(--ag-icon-size) / 2);
border-left: 1px solid;
border-color: var(--ag-border-color);
}
.ag-advanced-filter-builder-item-condition {
padding-top: var(--ag-grid-size);
padding-bottom: var(--ag-grid-size);
}
.ag-advanced-filter-builder-item,
.ag-advanced-filter-builder-item-condition,
.ag-advanced-filter-builder-pill-wrapper,
.ag-advanced-filter-builder-pill,
.ag-advanced-filter-builder-item-buttons,
.ag-advanced-filter-builder-item-tree-lines {
display: flex;
align-items: center;
height: 100%;
}
.ag-advanced-filter-builder-pill-wrapper {
margin: 0px var(--ag-grid-size);
}
.ag-advanced-filter-builder-pill {
position: relative;
border-radius: var(--ag-border-radius);
padding: var(--ag-grid-size) calc(var(--ag-grid-size) * 2);
min-height: calc(100% - var(--ag-grid-size) * 3);
min-width: calc(var(--ag-grid-size) * 2);
}
.ag-advanced-filter-builder-pill .ag-picker-field-display {
margin-right: var(--ag-grid-size);
}
.ag-advanced-filter-builder-pill .ag-advanced-filter-builder-value-number {
font-family: monospace;
font-weight: 700;
}
.ag-advanced-filter-builder-pill .ag-advanced-filter-builder-value-empty {
color: var(--ag-disabled-foreground-color);
}
.ag-advanced-filter-builder-pill:focus-visible {
outline: none;
}
.ag-advanced-filter-builder-pill:focus-visible::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-advanced-filter-builder-item-button:focus-visible {
outline: none;
}
.ag-advanced-filter-builder-item-button:focus-visible::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-advanced-filter-builder-pill-display {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-weight: 500;
}
.ag-advanced-filter-builder-join-pill {
color: var(--ag-foreground-color);
background-color: var(--ag-advanced-filter-join-pill-color);
cursor: pointer;
}
.ag-advanced-filter-builder-column-pill {
color: var(--ag-foreground-color);
background-color: var(--ag-advanced-filter-column-pill-color);
cursor: pointer;
}
.ag-advanced-filter-builder-option-pill {
color: var(--ag-foreground-color);
background-color: var(--ag-advanced-filter-option-pill-color);
cursor: pointer;
}
.ag-advanced-filter-builder-value-pill {
color: var(--ag-foreground-color);
background-color: var(--ag-advanced-filter-value-pill-color);
cursor: text;
max-width: 140px;
}
.ag-advanced-filter-builder-value-pill .ag-advanced-filter-builder-pill-display {
display: block;
}
.ag-advanced-filter-builder-item-buttons > * {
margin: 0 calc(var(--ag-grid-size) * 0.5);
}
.ag-advanced-filter-builder-item-button {
position: relative;
cursor: pointer;
color: var(--ag-secondary-foreground-color);
opacity: 50%;
}
.ag-advanced-filter-builder-item-button-disabled {
color: var(--ag-disabled-foreground-color);
cursor: default;
}
.ag-advanced-filter-builder-virtual-list-container {
top: var(--ag-grid-size);
}
.ag-advanced-filter-builder-virtual-list-item {
display: flex;
cursor: default;
height: var(--ag-list-item-height);
}
.ag-advanced-filter-builder-virtual-list-item:hover {
background-color: var(--ag-row-hover-color);
}
.ag-advanced-filter-builder-virtual-list-item:hover .ag-advanced-filter-builder-item-button {
opacity: 100%;
}
.ag-advanced-filter-builder-virtual-list-item-highlight .ag-advanced-filter-builder-item-button:focus-visible,
.ag-advanced-filter-builder-validation .ag-advanced-filter-builder-invalid {
opacity: 100%;
}
.ag-advanced-filter-builder-invalid {
margin: 0 var(--ag-grid-size);
color: var(--ag-invalid-color);
cursor: default;
}
.ag-row-number-cell {
background-color: var(--ag-header-background-color);
color: var(--ag-header-foreground-color);
font-size: var(--ag-font-size);
font-family: var(--ag-font-family);
}
.ag-row-number-header.ag-row-number-selection-enabled {
cursor: cell;
}
.ag-row-number-range-highlight {
background-color: var(--ag-range-header-highlight-color);
}
.ag-row-number-range-selected {
background-color: var(--ag-row-numbers-selected-color);
}
.ag-ltr .ag-row-number-header,
.ag-ltr .ag-cell.ag-row-number-cell:not(.ag-cell-last-left-pinned) {
border-right: var(--ag-pinned-column-border);
}
.ag-ltr .ag-cell.ag-row-number-cell.ag-row-number-selection-enabled {
cursor: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgc3R5bGU9ImZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDoxLjU7Ij4KICAgIDxnIHRyYW5zZm9ybT0ibWF0cml4KDEuNTc4NCwwLDAsMS44NjQyOSwtNC40MTM0OSwtNy4yMTIxMikiPgogICAgICAgIDxwYXRoIGQ9Ik0zLjQ0NSw4LjkxMUwzLjQ0NSw3LjQwOUw5Ljc1LDcuNDA5TDkuNzUsNi4wMTRMMTIuMjg1LDguMTZMOS43NSwxMC4zMDZMOS43NSw4LjkxMUwzLjQ0NSw4LjkxMVoiIHN0eWxlPSJzdHJva2U6d2hpdGU7c3Ryb2tlLXdpZHRoOjAuNDFweDsiLz4KICAgIDwvZz4KPC9zdmc+Cg=="), auto;
}
.ag-rtl .ag-row-number-header,
.ag-rtl .ag-cell.ag-row-number-cell:not(.ag-cell-first-right-pinned) {
border-left: var(--ag-pinned-column-border);
}
.ag-rtl .ag-cell.ag-row-number-cell.ag-row-number-selection-enabled {
cursor: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgc3R5bGU9ImZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDoxLjU7Ij4KICAgIDxnIHRyYW5zZm9ybT0ibWF0cml4KDEuNTc4NCwwLDAsMS44NjQyOSwtNC40MTM0OSwtNy4yMTIxMikiPgogICAgICAgIDxwYXRoIGQ9Ik01Ljk3OSw4LjkxMUw1Ljk3OSwxMC4zMDZMMy40NDUsOC4xNkw1Ljk3OSw2LjAxNEw1Ljk3OSw3LjQwOUwxMi4yODUsNy40MDlMMTIuMjg1LDguOTExTDUuOTc5LDguOTExWiIgc3R5bGU9InN0cm9rZTp3aGl0ZTtzdHJva2Utd2lkdGg6MC40MXB4OyIvPgogICAgPC9nPgo8L3N2Zz4K"), auto;
}
.ag-cell-batch-edit {
background-color: var(--ag-cell-batch-edit-background-color);
color: var(--ag-cell-batch-edit-text-color);
}
.ag-cell.ag-cell-inline-editing {
background-color: var(--ag-background-color);
background-image: linear-gradient(0deg, var(--ag-input-background-color), var(--ag-input-background-color));
}
.ag-row-batch-edit {
background-color: var(--ag-row-batch-edit-background-color);
color: var(--ag-row-batch-edit-text-color);
}
.ag-input-field-input {
width: 100%;
min-width: 0;
}
.ag-checkbox-input-wrapper {
font-family: var(--ag-icon-font-family);
font-weight: var(--ag-icon-font-weight);
color: var(--ag-icon-font-color);
font-size: var(--ag-icon-size);
line-height: var(--ag-icon-size);
font-style: normal;
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,
.ag-checkbox-input-wrapper input {
-webkit-appearance: none;
opacity: 0;
width: 100%;
height: 100%;
}
.ag-checkbox-input-wrapper:focus-within, .ag-checkbox-input-wrapper:active {
outline: none;
box-shadow: var(--ag-input-focus-box-shadow);
}
.ag-cell-editing-error .ag-checkbox-input-wrapper:focus-within, .ag-cell-editing-error .ag-checkbox-input-wrapper:active {
box-shadow: var(--ag-input-error-focus-box-shadow);
}
.ag-checkbox-input-wrapper.ag-disabled {
opacity: 0.5;
}
.ag-checkbox-input-wrapper::after {
content: var(--ag-icon-font-code-checkbox-unchecked, "\\f108");
font-family: inherit;
color: var(--ag-checkbox-unchecked-color);
display: var(--ag-icon-font-display-checkbox-unchecked, var(--ag-icon-font-display));
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);
display: var(--ag-icon-font-display-checkbox-checked, var(--ag-icon-font-display));
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);
display: var(--ag-icon-font-display-checkbox-indeterminate, var(--ag-icon-font-display));
position: absolute;
top: 0;
left: 0;
pointer-events: none;
}
.ag-checkbox-input-wrapper::before {
content: "";
background: transparent center/contain no-repeat;
position: absolute;
inset: 0;
background-image: var(--ag-icon-image-checkbox-unchecked, var(--ag-icon-image));
display: var(--ag-icon-image-display-checkbox-unchecked, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-checkbox-unchecked, var(--ag-icon-image-opacity, 0.9));
}
.ag-checkbox-input-wrapper.ag-checked::before {
background-image: var(--ag-icon-image-checkbox-checked, var(--ag-icon-image));
display: var(--ag-icon-image-display-checkbox-checked, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-checkbox-checked, var(--ag-icon-image-opacity, 0.9));
}
.ag-checkbox-input-wrapper.ag-indeterminate::before {
background-image: var(--ag-icon-image-checkbox-indeterminate, var(--ag-icon-image));
display: var(--ag-icon-image-display-checkbox-indeterminate, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-checkbox-indeterminate, var(--ag-icon-image-opacity, 0.9));
}
.ag-toggle-button-input-wrapper {
box-sizing: border-box;
width: var(--ag-toggle-button-width);
min-width: var(--ag-toggle-button-width);
max-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: 0.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 100ms;
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) + var(--ag-toggle-button-border-width));
border-color: var(--ag-toggle-button-on-border-color);
}
.ag-radio-button-input-wrapper {
font-family: var(--ag-icon-font-family);
font-weight: var(--ag-icon-font-weight);
color: var(--ag-icon-font-color);
font-size: var(--ag-icon-size);
line-height: var(--ag-icon-size);
font-style: normal;
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,
.ag-radio-button-input-wrapper input {
-webkit-appearance: none;
opacity: 0;
width: 100%;
height: 100%;
}
.ag-radio-button-input-wrapper:focus-within, .ag-radio-button-input-wrapper:active {
outline: none;
box-shadow: var(--ag-input-focus-box-shadow);
}
.ag-cell-editing-error .ag-radio-button-input-wrapper:focus-within, .ag-cell-editing-error .ag-radio-button-input-wrapper:active {
box-shadow: var(--ag-input-error-focus-box-shadow);
}
.ag-radio-button-input-wrapper.ag-disabled {
opacity: 0.5;
}
.ag-radio-button-input-wrapper::after {
content: var(--ag-icon-font-code-radio-button-off, "\\f127");
color: var(--ag-checkbox-unchecked-color);
display: var(--ag-icon-font-display-radio-button-off, var(--ag-icon-font-display));
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);
display: var(--ag-icon-font-display-radio-button-on, var(--ag-icon-font-display));
position: absolute;
top: 0;
left: 0;
pointer-events: none;
}
.ag-radio-button-input-wrapper::before {
content: "";
background: transparent center/contain no-repeat;
position: absolute;
inset: 0;
background-image: var(--ag-icon-image-radio-button-off, var(--ag-icon-image));
display: var(--ag-icon-image-display-radio-button-off, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-radio-button-off, var(--ag-icon-image-opacity, 0.9));
}
.ag-radio-button-input-wrapper.ag-checked::before {
background-image: var(--ag-icon-image-radio-button-on, var(--ag-icon-image));
display: var(--ag-icon-image-display-radio-button-on, var(--ag-icon-image-display));
opacity: var(--ag-icon-image-opacity-radio-button-on, var(--ag-icon-image-opacity, 0.9));
}
.ag-range-field-input {
-webkit-appearance: none;
width: 100%;
height: 100%;
background: none;
overflow: visible;
}
.ag-range-field-input::-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);
}
.ag-range-field-input::-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);
}
.ag-range-field-input::-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);
}
.ag-range-field-input::-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));
}
.ag-range-field-input::-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);
}
.ag-range-field-input::-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);
}
.ag-range-field-input:focus {
outline: none;
}
.ag-range-field-input:focus::-webkit-slider-thumb {
box-shadow: var(--ag-input-focus-box-shadow);
border-color: var(--ag-checkbox-checked-color);
}
.ag-range-field-input:focus::-ms-thumb {
box-shadow: var(--ag-input-focus-box-shadow);
border-color: var(--ag-checkbox-checked-color);
}
.ag-range-field-input:focus::-moz-ag-range-thumb {
box-shadow: var(--ag-input-focus-box-shadow);
border-color: var(--ag-checkbox-checked-color);
}
.ag-range-field-input:active::-webkit-slider-runnable-track {
background-color: var(--ag-input-focus-border-color);
}
.ag-range-field-input:active::-moz-ag-range-track {
background-color: var(--ag-input-focus-border-color);
}
.ag-range-field-input:active::-ms-track {
background-color: var(--ag-input-focus-border-color);
}
.ag-range-field-input:disabled {
opacity: 0.5;
}
`,document.head.appendChild(e)}}(),function(){if(typeof document<"u"){var e=document.createElement("style");e.setAttribute("data-ag-scope","legacy"),e.textContent=`.ag-theme-alpine,
.ag-theme-alpine-dark,
.ag-theme-alpine-auto-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-row-numbers-selected-color: color-mix(in srgb, transparent, var(--ag-alpine-active-color) 50%);
--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-advanced-filter-join-pill-color: #f08e8d;
--ag-advanced-filter-column-pill-color: #a6e194;
--ag-advanced-filter-option-pill-color: #f3c08b;
--ag-advanced-filter-value-pill-color: #85c0e4;
--ag-find-match-color: var(--ag-foreground-color);
--ag-find-match-background-color: #ffff00;
--ag-find-active-match-color: var(--ag-foreground-color);
--ag-find-active-match-background-color: #ffa500;
--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-input-error-focus-box-shadow: 0 0 2px 0.1rem var(--ag-invalid-color);
--ag-panel-background-color: var(--ag-header-background-color);
--ag-menu-background-color: var(--ag-header-background-color);
--ag-filter-panel-apply-button-color: var(--ag-background-color);
--ag-filter-panel-apply-button-background-color: var(--ag-alpine-active-color);
--ag-column-panel-apply-button-color: var(--ag-background-color);
--ag-column-panel-apply-button-background-color: var(--ag-alpine-active-color);
--ag-column-drag-indicator-color: var(--ag-alpine-active-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-advanced-filter-builder-indent-size: calc(var(--ag-icon-size) + var(--ag-grid-size) * 2);
--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 rgba(255, 255, 255, 0.5), 0 0 4px 3px var(--ag-input-focus-border-color);
--ag-input-error-focus-box-shadow: 0 0 2px 0.5px rgba(255, 255, 255, 0.5),
0 0 4px 3px color-mix(in srgb, var(--ag-background-color), var(--ag-invalid-color) 0.5%);
--ag-card-shadow: 0 1px 20px 1px black;
--ag-disabled-foreground-color: rgba(255, 255, 255, 0.5);
--ag-chip-background-color: rgba(255, 255, 255, 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-advanced-filter-join-pill-color: #7a3a37;
--ag-advanced-filter-column-pill-color: #355f2d;
--ag-advanced-filter-option-pill-color: #5a3168;
--ag-advanced-filter-value-pill-color: #374c86;
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-filter-panel-apply-button-color: var(--ag-foreground-color);
--ag-column-panel-apply-button-color: var(--ag-foreground-color);
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
.ag-theme-alpine-auto-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 rgba(255, 255, 255, 0.5), 0 0 4px 3px var(--ag-input-focus-border-color);
--ag-input-error-focus-box-shadow: 0 0 2px 0.5px rgba(255, 255, 255, 0.5),
0 0 4px 3px color-mix(in srgb, var(--ag-background-color), var(--ag-invalid-color) 0.5%);
--ag-card-shadow: 0 1px 20px 1px black;
--ag-disabled-foreground-color: rgba(255, 255, 255, 0.5);
--ag-chip-background-color: rgba(255, 255, 255, 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-advanced-filter-join-pill-color: #7a3a37;
--ag-advanced-filter-column-pill-color: #355f2d;
--ag-advanced-filter-option-pill-color: #5a3168;
--ag-advanced-filter-value-pill-color: #374c86;
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-filter-panel-apply-button-color: var(--ag-foreground-color);
--ag-column-panel-apply-button-color: var(--ag-foreground-color);
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
}
.ag-theme-alpine .ag-filter-toolpanel-header,
.ag-theme-alpine .ag-filter-toolpanel-search,
.ag-theme-alpine .ag-status-bar,
.ag-theme-alpine .ag-header-row,
.ag-theme-alpine .ag-row-number-cell,
.ag-theme-alpine .ag-panel-title-bar-title,
.ag-theme-alpine .ag-multi-filter-group-title-bar,
.ag-theme-alpine .ag-filter-card-title,
.ag-theme-alpine-dark .ag-filter-toolpanel-header,
.ag-theme-alpine-dark .ag-filter-toolpanel-search,
.ag-theme-alpine-dark .ag-status-bar,
.ag-theme-alpine-dark .ag-header-row,
.ag-theme-alpine-dark .ag-row-number-cell,
.ag-theme-alpine-dark .ag-panel-title-bar-title,
.ag-theme-alpine-dark .ag-multi-filter-group-title-bar,
.ag-theme-alpine-dark .ag-filter-card-title,
.ag-theme-alpine-auto-dark .ag-filter-toolpanel-header,
.ag-theme-alpine-auto-dark .ag-filter-toolpanel-search,
.ag-theme-alpine-auto-dark .ag-status-bar,
.ag-theme-alpine-auto-dark .ag-header-row,
.ag-theme-alpine-auto-dark .ag-row-number-cell,
.ag-theme-alpine-auto-dark .ag-panel-title-bar-title,
.ag-theme-alpine-auto-dark .ag-multi-filter-group-title-bar,
.ag-theme-alpine-auto-dark .ag-filter-card-title {
font-weight: 700;
color: var(--ag-header-foreground-color);
}
.ag-theme-alpine .ag-row,
.ag-theme-alpine-dark .ag-row,
.ag-theme-alpine-auto-dark .ag-row {
font-size: calc(var(--ag-font-size) + 1px);
}
.ag-theme-alpine input[class^=ag-]:not([type]),
.ag-theme-alpine input[class^=ag-][type=text],
.ag-theme-alpine input[class^=ag-][type=number],
.ag-theme-alpine input[class^=ag-][type=tel],
.ag-theme-alpine input[class^=ag-][type=date],
.ag-theme-alpine input[class^=ag-][type=datetime-local],
.ag-theme-alpine textarea[class^=ag-],
.ag-theme-alpine-dark input[class^=ag-]:not([type]),
.ag-theme-alpine-dark input[class^=ag-][type=text],
.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=date],
.ag-theme-alpine-dark input[class^=ag-][type=datetime-local],
.ag-theme-alpine-dark textarea[class^=ag-],
.ag-theme-alpine-auto-dark input[class^=ag-]:not([type]),
.ag-theme-alpine-auto-dark input[class^=ag-][type=text],
.ag-theme-alpine-auto-dark input[class^=ag-][type=number],
.ag-theme-alpine-auto-dark input[class^=ag-][type=tel],
.ag-theme-alpine-auto-dark input[class^=ag-][type=date],
.ag-theme-alpine-auto-dark input[class^=ag-][type=datetime-local],
.ag-theme-alpine-auto-dark textarea[class^=ag-] {
min-height: calc(var(--ag-grid-size) * 4);
border-radius: var(--ag-border-radius);
}
.ag-theme-alpine .ag-ltr input[class^=ag-]:not([type]), .ag-theme-alpine .ag-ltr input[class^=ag-][type=text], .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=date], .ag-theme-alpine .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-alpine .ag-ltr textarea[class^=ag-], .ag-theme-alpine-dark .ag-ltr input[class^=ag-]:not([type]), .ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=text], .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=date], .ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-alpine-dark .ag-ltr textarea[class^=ag-], .ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-]:not([type]), .ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=text], .ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=number], .ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=tel], .ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=date], .ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-alpine-auto-dark .ag-ltr textarea[class^=ag-] {
padding-left: var(--ag-grid-size);
}
.ag-theme-alpine .ag-rtl input[class^=ag-]:not([type]), .ag-theme-alpine .ag-rtl input[class^=ag-][type=text], .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=date], .ag-theme-alpine .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-alpine .ag-rtl textarea[class^=ag-], .ag-theme-alpine-dark .ag-rtl input[class^=ag-]:not([type]), .ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=text], .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=date], .ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-alpine-dark .ag-rtl textarea[class^=ag-], .ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-]:not([type]), .ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=text], .ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=number], .ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=tel], .ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=date], .ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-alpine-auto-dark .ag-rtl textarea[class^=ag-] {
padding-right: var(--ag-grid-size);
}
.ag-theme-alpine .ag-tab,
.ag-theme-alpine-dark .ag-tab,
.ag-theme-alpine-auto-dark .ag-tab {
padding: calc(var(--ag-grid-size) * 1.5);
transition: color 0.4s;
flex: 1 1 auto;
}
.ag-theme-alpine .ag-tab-selected,
.ag-theme-alpine-dark .ag-tab-selected,
.ag-theme-alpine-auto-dark .ag-tab-selected {
color: var(--ag-alpine-active-color);
}
.ag-theme-alpine .ag-menu,
.ag-theme-alpine-dark .ag-menu,
.ag-theme-alpine-auto-dark .ag-menu {
background-color: var(--ag-control-panel-background-color);
}
.ag-theme-alpine .ag-panel-content-wrapper .ag-column-select,
.ag-theme-alpine-dark .ag-panel-content-wrapper .ag-column-select,
.ag-theme-alpine-auto-dark .ag-panel-content-wrapper .ag-column-select {
background-color: var(--ag-control-panel-background-color);
}
.ag-theme-alpine .ag-menu-header,
.ag-theme-alpine-dark .ag-menu-header,
.ag-theme-alpine-auto-dark .ag-menu-header {
background-color: var(--ag-control-panel-background-color);
padding-top: 1px;
}
.ag-theme-alpine .ag-tabs-header,
.ag-theme-alpine-dark .ag-tabs-header,
.ag-theme-alpine-auto-dark .ag-tabs-header {
border-bottom: var(--ag-borders) var(--ag-border-color);
}
.ag-theme-alpine .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-advanced-settings-top-level-group-title-bar,
.ag-theme-alpine-dark .ag-charts-settings-group-title-bar,
.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-advanced-settings-top-level-group-title-bar,
.ag-theme-alpine-auto-dark .ag-charts-settings-group-title-bar,
.ag-theme-alpine-auto-dark .ag-charts-data-group-title-bar,
.ag-theme-alpine-auto-dark .ag-charts-format-top-level-group-title-bar,
.ag-theme-alpine-auto-dark .ag-charts-advanced-settings-top-level-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 .ag-chart-mini-thumbnail,
.ag-theme-alpine-dark .ag-chart-mini-thumbnail,
.ag-theme-alpine-auto-dark .ag-chart-mini-thumbnail {
background-color: var(--ag-background-color);
}
.ag-theme-alpine .ag-chart-settings-nav-bar,
.ag-theme-alpine-dark .ag-chart-settings-nav-bar,
.ag-theme-alpine-auto-dark .ag-chart-settings-nav-bar {
border-top: var(--ag-borders-secondary) var(--ag-secondary-border-color);
}
.ag-theme-alpine .ag-ltr .ag-group-title-bar-icon, .ag-theme-alpine-dark .ag-ltr .ag-group-title-bar-icon, .ag-theme-alpine-auto-dark .ag-ltr .ag-group-title-bar-icon {
margin-right: var(--ag-grid-size);
}
.ag-theme-alpine .ag-rtl .ag-group-title-bar-icon, .ag-theme-alpine-dark .ag-rtl .ag-group-title-bar-icon, .ag-theme-alpine-auto-dark .ag-rtl .ag-group-title-bar-icon {
margin-left: var(--ag-grid-size);
}
.ag-theme-alpine .ag-charts-format-top-level-group-toolbar,
.ag-theme-alpine .ag-charts-advanced-settings-top-level-group-toolbar,
.ag-theme-alpine-dark .ag-charts-format-top-level-group-toolbar,
.ag-theme-alpine-dark .ag-charts-advanced-settings-top-level-group-toolbar,
.ag-theme-alpine-auto-dark .ag-charts-format-top-level-group-toolbar,
.ag-theme-alpine-auto-dark .ag-charts-advanced-settings-top-level-group-toolbar {
margin-top: var(--ag-grid-size);
}
.ag-theme-alpine .ag-ltr .ag-charts-format-top-level-group-toolbar, .ag-theme-alpine .ag-ltr .ag-charts-advanced-settings-top-level-group-toolbar, .ag-theme-alpine-dark .ag-ltr .ag-charts-format-top-level-group-toolbar, .ag-theme-alpine-dark .ag-ltr .ag-charts-advanced-settings-top-level-group-toolbar, .ag-theme-alpine-auto-dark .ag-ltr .ag-charts-format-top-level-group-toolbar, .ag-theme-alpine-auto-dark .ag-ltr .ag-charts-advanced-settings-top-level-group-toolbar {
padding-left: calc(var(--ag-icon-size) * 0.5 + var(--ag-grid-size) * 2);
}
.ag-theme-alpine .ag-rtl .ag-charts-format-top-level-group-toolbar, .ag-theme-alpine .ag-rtl .ag-charts-advanced-settings-top-level-group-toolbar, .ag-theme-alpine-dark .ag-rtl .ag-charts-format-top-level-group-toolbar, .ag-theme-alpine-dark .ag-rtl .ag-charts-advanced-settings-top-level-group-toolbar, .ag-theme-alpine-auto-dark .ag-rtl .ag-charts-format-top-level-group-toolbar, .ag-theme-alpine-auto-dark .ag-rtl .ag-charts-advanced-settings-top-level-group-toolbar {
padding-right: calc(var(--ag-icon-size) * 0.5 + var(--ag-grid-size) * 2);
}
.ag-theme-alpine .ag-charts-format-sub-level-group,
.ag-theme-alpine-dark .ag-charts-format-sub-level-group,
.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group {
border-left: dashed 1px;
border-left-color: var(--ag-border-color);
padding-left: var(--ag-grid-size);
margin-bottom: calc(var(--ag-grid-size) * 2);
}
.ag-theme-alpine .ag-charts-format-sub-level-group-title-bar,
.ag-theme-alpine-dark .ag-charts-format-sub-level-group-title-bar,
.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group-title-bar {
padding-top: 0;
padding-bottom: 0;
background: none;
font-weight: 700;
}
.ag-theme-alpine .ag-charts-format-sub-level-group-container,
.ag-theme-alpine-dark .ag-charts-format-sub-level-group-container,
.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group-container {
padding-bottom: 0;
}
.ag-theme-alpine .ag-charts-format-sub-level-group-item:last-child,
.ag-theme-alpine-dark .ag-charts-format-sub-level-group-item:last-child,
.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group-item:last-child {
margin-bottom: 0;
}
.ag-theme-alpine.ag-dnd-ghost,
.ag-theme-alpine-dark.ag-dnd-ghost,
.ag-theme-alpine-auto-dark.ag-dnd-ghost {
font-size: calc(var(--ag-font-size) - 1px);
font-weight: 700;
}
.ag-theme-alpine .ag-side-buttons,
.ag-theme-alpine-dark .ag-side-buttons,
.ag-theme-alpine-auto-dark .ag-side-buttons {
width: calc(var(--ag-grid-size) * 5);
}
.ag-theme-alpine .ag-standard-button,
.ag-theme-alpine-dark .ag-standard-button,
.ag-theme-alpine-auto-dark .ag-standard-button {
font-family: inherit;
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 .ag-standard-button:hover,
.ag-theme-alpine-dark .ag-standard-button:hover,
.ag-theme-alpine-auto-dark .ag-standard-button:hover {
border-color: var(--ag-alpine-active-color);
background-color: var(--ag-row-hover-color);
}
.ag-theme-alpine .ag-standard-button:active,
.ag-theme-alpine-dark .ag-standard-button:active,
.ag-theme-alpine-auto-dark .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 .ag-standard-button:disabled,
.ag-theme-alpine-dark .ag-standard-button:disabled,
.ag-theme-alpine-auto-dark .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 .ag-column-drop-vertical,
.ag-theme-alpine-dark .ag-column-drop-vertical,
.ag-theme-alpine-auto-dark .ag-column-drop-vertical {
min-height: 75px;
}
.ag-theme-alpine .ag-column-drop-vertical-title-bar,
.ag-theme-alpine-dark .ag-column-drop-vertical-title-bar,
.ag-theme-alpine-auto-dark .ag-column-drop-vertical-title-bar {
padding: calc(var(--ag-grid-size) * 2);
padding-bottom: 0px;
}
.ag-theme-alpine .ag-column-drop-vertical-empty-message,
.ag-theme-alpine-dark .ag-column-drop-vertical-empty-message,
.ag-theme-alpine-auto-dark .ag-column-drop-vertical-empty-message {
display: flex;
align-items: center;
border: dashed 1px;
border-color: var(--ag-border-color);
margin: calc(var(--ag-grid-size) * 2);
padding: calc(var(--ag-grid-size) * 2);
}
.ag-theme-alpine .ag-column-drop-empty-message,
.ag-theme-alpine-dark .ag-column-drop-empty-message,
.ag-theme-alpine-auto-dark .ag-column-drop-empty-message {
color: var(--ag-foreground-color);
opacity: 0.75;
}
.ag-theme-alpine .ag-pill-select .ag-column-drop,
.ag-theme-alpine-dark .ag-pill-select .ag-column-drop,
.ag-theme-alpine-auto-dark .ag-pill-select .ag-column-drop {
min-height: unset;
}
.ag-theme-alpine .ag-status-bar,
.ag-theme-alpine-dark .ag-status-bar,
.ag-theme-alpine-auto-dark .ag-status-bar {
font-weight: normal;
}
.ag-theme-alpine .ag-status-name-value-value,
.ag-theme-alpine-dark .ag-status-name-value-value,
.ag-theme-alpine-auto-dark .ag-status-name-value-value {
font-weight: 700;
}
.ag-theme-alpine .ag-paging-number,
.ag-theme-alpine .ag-paging-row-summary-panel-number,
.ag-theme-alpine-dark .ag-paging-number,
.ag-theme-alpine-dark .ag-paging-row-summary-panel-number,
.ag-theme-alpine-auto-dark .ag-paging-number,
.ag-theme-alpine-auto-dark .ag-paging-row-summary-panel-number {
font-weight: 700;
}
.ag-theme-alpine .ag-column-drop-cell-button,
.ag-theme-alpine-dark .ag-column-drop-cell-button,
.ag-theme-alpine-auto-dark .ag-column-drop-cell-button {
opacity: 0.5;
}
.ag-theme-alpine .ag-column-drop-cell-button:hover,
.ag-theme-alpine-dark .ag-column-drop-cell-button:hover,
.ag-theme-alpine-auto-dark .ag-column-drop-cell-button:hover {
opacity: 0.75;
}
.ag-theme-alpine .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-alpine .ag-column-select-column-readonly .ag-icon-grip,
.ag-theme-alpine-dark .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-alpine-dark .ag-column-select-column-readonly .ag-icon-grip,
.ag-theme-alpine-auto-dark .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-alpine-auto-dark .ag-column-select-column-readonly .ag-icon-grip {
opacity: 0.35;
}
.ag-theme-alpine .ag-header-cell-menu-button:hover,
.ag-theme-alpine .ag-header-cell-filter-button:hover,
.ag-theme-alpine .ag-side-button-button:hover,
.ag-theme-alpine .ag-tab:hover,
.ag-theme-alpine .ag-panel-title-bar-button:hover,
.ag-theme-alpine .ag-header-expand-icon:hover,
.ag-theme-alpine .ag-column-group-icons:hover,
.ag-theme-alpine .ag-set-filter-group-icons:hover,
.ag-theme-alpine .ag-group-expanded .ag-icon:hover,
.ag-theme-alpine .ag-group-contracted .ag-icon:hover,
.ag-theme-alpine .ag-chart-settings-prev:hover,
.ag-theme-alpine .ag-chart-settings-next:hover,
.ag-theme-alpine .ag-group-title-bar-icon:hover,
.ag-theme-alpine .ag-column-select-header-icon:hover,
.ag-theme-alpine .ag-floating-filter-button-button:hover,
.ag-theme-alpine .ag-filter-toolpanel-expand:hover,
.ag-theme-alpine .ag-chart-menu-icon:hover,
.ag-theme-alpine-dark .ag-header-cell-menu-button:hover,
.ag-theme-alpine-dark .ag-header-cell-filter-button:hover,
.ag-theme-alpine-dark .ag-side-button-button:hover,
.ag-theme-alpine-dark .ag-tab:hover,
.ag-theme-alpine-dark .ag-panel-title-bar-button:hover,
.ag-theme-alpine-dark .ag-header-expand-icon:hover,
.ag-theme-alpine-dark .ag-column-group-icons:hover,
.ag-theme-alpine-dark .ag-set-filter-group-icons:hover,
.ag-theme-alpine-dark .ag-group-expanded .ag-icon:hover,
.ag-theme-alpine-dark .ag-group-contracted .ag-icon:hover,
.ag-theme-alpine-dark .ag-chart-settings-prev:hover,
.ag-theme-alpine-dark .ag-chart-settings-next:hover,
.ag-theme-alpine-dark .ag-group-title-bar-icon:hover,
.ag-theme-alpine-dark .ag-column-select-header-icon:hover,
.ag-theme-alpine-dark .ag-floating-filter-button-button:hover,
.ag-theme-alpine-dark .ag-filter-toolpanel-expand:hover,
.ag-theme-alpine-dark .ag-chart-menu-icon:hover,
.ag-theme-alpine-auto-dark .ag-header-cell-menu-button:hover,
.ag-theme-alpine-auto-dark .ag-header-cell-filter-button:hover,
.ag-theme-alpine-auto-dark .ag-side-button-button:hover,
.ag-theme-alpine-auto-dark .ag-tab:hover,
.ag-theme-alpine-auto-dark .ag-panel-title-bar-button:hover,
.ag-theme-alpine-auto-dark .ag-header-expand-icon:hover,
.ag-theme-alpine-auto-dark .ag-column-group-icons:hover,
.ag-theme-alpine-auto-dark .ag-set-filter-group-icons:hover,
.ag-theme-alpine-auto-dark .ag-group-expanded .ag-icon:hover,
.ag-theme-alpine-auto-dark .ag-group-contracted .ag-icon:hover,
.ag-theme-alpine-auto-dark .ag-chart-settings-prev:hover,
.ag-theme-alpine-auto-dark .ag-chart-settings-next:hover,
.ag-theme-alpine-auto-dark .ag-group-title-bar-icon:hover,
.ag-theme-alpine-auto-dark .ag-column-select-header-icon:hover,
.ag-theme-alpine-auto-dark .ag-floating-filter-button-button:hover,
.ag-theme-alpine-auto-dark .ag-filter-toolpanel-expand:hover,
.ag-theme-alpine-auto-dark .ag-chart-menu-icon:hover {
color: var(--ag-alpine-active-color);
}
.ag-theme-alpine .ag-header-cell-menu-button:hover .ag-icon,
.ag-theme-alpine .ag-header-cell-filter-button:hover .ag-icon,
.ag-theme-alpine .ag-side-button-button:hover .ag-icon,
.ag-theme-alpine .ag-panel-title-bar-button:hover .ag-icon,
.ag-theme-alpine .ag-floating-filter-button-button:hover .ag-icon,
.ag-theme-alpine-dark .ag-header-cell-menu-button:hover .ag-icon,
.ag-theme-alpine-dark .ag-header-cell-filter-button:hover .ag-icon,
.ag-theme-alpine-dark .ag-side-button-button:hover .ag-icon,
.ag-theme-alpine-dark .ag-panel-title-bar-button:hover .ag-icon,
.ag-theme-alpine-dark .ag-floating-filter-button-button:hover .ag-icon,
.ag-theme-alpine-auto-dark .ag-header-cell-menu-button:hover .ag-icon,
.ag-theme-alpine-auto-dark .ag-header-cell-filter-button:hover .ag-icon,
.ag-theme-alpine-auto-dark .ag-side-button-button:hover .ag-icon,
.ag-theme-alpine-auto-dark .ag-panel-title-bar-button:hover .ag-icon,
.ag-theme-alpine-auto-dark .ag-floating-filter-button-button:hover .ag-icon {
color: inherit;
}
.ag-theme-alpine .ag-filter-active .ag-icon-filter,
.ag-theme-alpine-dark .ag-filter-active .ag-icon-filter,
.ag-theme-alpine-auto-dark .ag-filter-active .ag-icon-filter {
color: var(--ag-alpine-active-color);
}
.ag-theme-alpine .ag-chart-settings-card-item.ag-not-selected:hover,
.ag-theme-alpine-dark .ag-chart-settings-card-item.ag-not-selected:hover,
.ag-theme-alpine-auto-dark .ag-chart-settings-card-item.ag-not-selected:hover {
opacity: 0.35;
}
.ag-theme-alpine .ag-ltr .ag-panel-title-bar-button, .ag-theme-alpine-dark .ag-ltr .ag-panel-title-bar-button, .ag-theme-alpine-auto-dark .ag-ltr .ag-panel-title-bar-button {
margin-left: calc(var(--ag-grid-size) * 2);
margin-right: var(--ag-grid-size);
}
.ag-theme-alpine .ag-rtl .ag-panel-title-bar-button, .ag-theme-alpine-dark .ag-rtl .ag-panel-title-bar-button, .ag-theme-alpine-auto-dark .ag-rtl .ag-panel-title-bar-button {
margin-right: calc(var(--ag-grid-size) * 2);
margin-left: var(--ag-grid-size);
}
.ag-theme-alpine .ag-ltr .ag-filter-toolpanel-group-container, .ag-theme-alpine-dark .ag-ltr .ag-filter-toolpanel-group-container, .ag-theme-alpine-auto-dark .ag-ltr .ag-filter-toolpanel-group-container {
padding-left: var(--ag-grid-size);
}
.ag-theme-alpine .ag-rtl .ag-filter-toolpanel-group-container, .ag-theme-alpine-dark .ag-rtl .ag-filter-toolpanel-group-container, .ag-theme-alpine-auto-dark .ag-rtl .ag-filter-toolpanel-group-container {
padding-right: var(--ag-grid-size);
}
.ag-theme-alpine .ag-filter-toolpanel-instance-filter,
.ag-theme-alpine-dark .ag-filter-toolpanel-instance-filter,
.ag-theme-alpine-auto-dark .ag-filter-toolpanel-instance-filter {
border: none;
background-color: var(--ag-control-panel-background-color);
}
.ag-theme-alpine .ag-ltr .ag-filter-toolpanel-instance-filter, .ag-theme-alpine-dark .ag-ltr .ag-filter-toolpanel-instance-filter, .ag-theme-alpine-auto-dark .ag-ltr .ag-filter-toolpanel-instance-filter {
border-left: dashed 1px;
border-left-color: var(--ag-border-color);
margin-left: calc(var(--ag-icon-size) * 0.5);
}
.ag-theme-alpine .ag-rtl .ag-filter-toolpanel-instance-filter, .ag-theme-alpine-dark .ag-rtl .ag-filter-toolpanel-instance-filter, .ag-theme-alpine-auto-dark .ag-rtl .ag-filter-toolpanel-instance-filter {
border-right: dashed 1px;
border-right-color: var(--ag-border-color);
margin-right: calc(var(--ag-icon-size) * 0.5);
}
.ag-theme-alpine .ag-set-filter-list,
.ag-theme-alpine-dark .ag-set-filter-list,
.ag-theme-alpine-auto-dark .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 .ag-filter-add-button .ag-icon,
.ag-theme-alpine-dark .ag-filter-add-button .ag-icon,
.ag-theme-alpine-auto-dark .ag-filter-add-button .ag-icon {
color: var(--ag-alpine-active-color);
}
.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-alpine .ag-layout-print .ag-center-cols-viewport,
.ag-theme-alpine .ag-layout-print .ag-center-cols-container,
.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-viewport,
.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-container,
.ag-theme-alpine-auto-dark .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-alpine-auto-dark .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-alpine-auto-dark .ag-layout-print .ag-center-cols-viewport,
.ag-theme-alpine-auto-dark .ag-layout-print .ag-center-cols-container {
min-height: 150px;
}
.ag-theme-alpine .ag-date-time-list-page-entry-is-current,
.ag-theme-alpine-dark .ag-date-time-list-page-entry-is-current,
.ag-theme-alpine-auto-dark .ag-date-time-list-page-entry-is-current {
background-color: var(--ag-alpine-active-color);
}
.ag-theme-alpine .ag-advanced-filter-builder-button,
.ag-theme-alpine-dark .ag-advanced-filter-builder-button,
.ag-theme-alpine-auto-dark .ag-advanced-filter-builder-button {
padding: var(--ag-grid-size);
font-weight: 600;
}
.ag-theme-alpine .ag-list-item-hovered::after,
.ag-theme-alpine-dark .ag-list-item-hovered::after,
.ag-theme-alpine-auto-dark .ag-list-item-hovered::after {
background-color: var(--ag-alpine-active-color);
}
.ag-theme-alpine .ag-pill .ag-pill-button:hover,
.ag-theme-alpine-dark .ag-pill .ag-pill-button:hover,
.ag-theme-alpine-auto-dark .ag-pill .ag-pill-button:hover {
color: var(--ag-alpine-active-color);
}
.ag-theme-alpine .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-alpine .ag-disabled .ag-icon,
.ag-theme-alpine .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-alpine [disabled] .ag-icon,
.ag-theme-alpine-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-alpine-dark .ag-disabled .ag-icon,
.ag-theme-alpine-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-alpine-dark [disabled] .ag-icon,
.ag-theme-alpine-auto-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-alpine-auto-dark .ag-disabled .ag-icon,
.ag-theme-alpine-auto-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-alpine-auto-dark [disabled] .ag-icon {
color: var(--ag-disabled-foreground-color);
}
`,document.head.appendChild(e)}}(),function(){if(typeof document<"u"){var e=document.createElement("style");e.setAttribute("data-ag-scope","legacy"),e.textContent=`@font-face {
font-family: "agGridAlpine";
src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABggAAsAAAAAMhAAABfNAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHItkBmAAjSYKuCStUgE2AiQDgnALgToABCAFhEYHhlQbPytlBGwcAPTYmQ3Z/39J4GQMMXfuK6EqRbRgZStLKfHti42sdSMMSzt8ncPoZYkG0xVMVCoPK4h6JNm9WHhsaEzj0edan0MTU1OnzAbfuP/Ea//rIg4bSsnz9GPfzvuii9guKmsWEiqWmE7LeAmEaNLuDD441/vawCVpe4j4geyXs7NzE1aTlTpyn4ATHiLTnS00yFIAuSkyfboqAfADv83/g9cEBYvUxgBjoYjNtRD/jLoXzNjmCguLDV863FoMsN/TJ7rqu2yjNr++SF+4F4t6sbiWSe/utyXXIRlFxlKbAcNjbaoHCpWampr8/0G793Otk0Ia6+lhWBUU/odPV7n1bn3wVBkKrbtnF5Xj9qfmn3yl5/8+e1i4lDHb73vdMciYBEs8IXwlAn5as9deCshTfC0LhRKdmp2dS3bocpt8mpvQ3n3ay6ftfkpSZMjeFj4Bu1YBy7ovfIVnYSplK4ysbqum3N/N3EGUPWOtd7Bj99YuI0MDJWOR6IXH+q9jVhTQ0TSnb96qHEZvX/j2AYuo5N4F8sHL7RsvH6N/mUUrdirEcqg3GJX2098fRVC05bGeVP1DDQxFtfbaTRalhymrbe6og2Gbjl+GpBIsVxA6cbvoqAVJ6QnfEUVbERtuupCM6JXdwphulBcsoHbyeGRdhLKzA04bxnCtU/MYW/Gdwp30gR5yVMYLR5ijVImd3zwZP0P6QhzFOhVfmia8ChLC5ZEbU5hXGrFi3TbKbBZpJrppDx/dc4abhr7EyRuGGcm0okgWxU2GRlizCspC8SwpG3khIMJp1JFW0cCSy/gswwlzErbhpjJ+E7XXYFuov5NHetnlTb145oeTDO8NhCOXUnHP45RMGGP3Fk68fFWL3MFOEVHYCy4SHgr2rpxSjoV3fG8jE7Je/PLvzWf/iiHJsT9N3Lpyslwvj8uroi4HtPk9If9eeK3Q0Hbfg9yaCZ/WktdOjH5Ojcuo3PWmEXG7x11bUFEeYjqR2jfjBOr7kswlqfFa/XTSw9l1XIapJIXXfUOapNGMUKUTsExCe23EuEbpvrIXDLNZ1UpvKjY+1xKrD/PkSJ6NjaIjKcoodlqYW8ZHWvm2CWRchDtxTu7+YhTNqatx3ZSwora4PTqifCG1AsIpeWppFBu2bEDdGVUjj2taM9YIG408dP5dZOPlnkeilLiQ2Cvfkw07P0YJM8q6SZKbLsKdV+4SzqwD7DLUOUAzI3TRferjVLXmPPLOD1dYFUJoC9cb6MTw7NZVSk4k5WCfGIXi9lQyqKfsYJ4asueeuG3AnEMD0lfZReyHhbiqlVFl+69wFBpjjr6kRMwbEZnJvh3sNtOo4PCGNcNqQz8pd3RXHmn71KHysvIJr7Nvv3zBRDEAVLAqJJO1/2r2DP+NZIf8ASdrG/VM+peA6QXJJ1fBMKhBZbS6rfQjvDyMULKFQ/2BHoKOqvnhkz/Z/fefEd/e+hJNSCa6MNNwVF4fiBC1b4bcGXEmV/kpBPWUDOYxsVLjlrs66AjORpDU+PwNo8XOwcnFzcPLxy8gKCQsIiomLiEpJS0jKyevoKikrKKqpq6hqSWtraOLcOvpGxgaGaOYiamZuYWlSAylAclZfNj/+ZsOakN30jJHta8VRUC2m/1t2dy6i+gUPUDtub5nwcgaHQYX0CZwER0El9AecBntBVfQVnAVnQTX0GZwHe0HN9B2cAsdALfRPnAHHQF30U5wD+0A99Ex8BBtAY/QbvAYbQNP0FHwFJ0Az9Au8BwdAi/QcfDysFMQjcukDg6SgIOkABoQBjQhHGhBbEAbIoAORAJdiAJ6IAYwA2ICMyEWMAtiB2ZDHMAciBOYC3EB8yBuYD7EAyyAeIFeiA/og/iBhZAAsAgSBBZDQsASSBhYCokAyyBRYDkkBqyAxIGVkASwCpIEVkNSwBpIGlgLyQDrIFlgPSQHbIDkgX5IARiAFIFBSAkYgpSBYUgFGIFUgVFIDRiD1IFxSAOYgDRt12ULyCQEmYIg0xCgCunZYZN9cGU5AAc5BAc5Agc5Bgc5AQc5BVCDzIA6ZM7pyQU4yCU4yBU4yDU4yA04yC04yB0YtOH0Vr5j4VYfdKck+fJ/H8BobKnQvx8gKBMURfsqJjinAq2gMYES2ptqBErltNmlUgpBvkLQPCkl8VWblHLOqS6omoJ6lHK7s24+k0aLl3s3mjgphsuli5ouoirDWMGSQh0qqzzqcTjclmh8uWwwTqWf+oSslBuHx9A+y/JLkY0EUS/EmLRxxkM+S0xdgpHYciXgoXGX6arrSmfqWvYL9U6HXJKCuZP5WDKZg/zKvb+B1cxPsecO0BGDlH0y49gk6yGYNhFmxGinSXZqPW+1sjBO/Lws9ur39sfI2gtQP/dwp3M43X34/HgQ4OqZzh2MU7r0w/qoX/WNVAhXHgvhxuUuWcjRCjsW2on3pgEjY2UwfH6aT51BSpY4jgl1PUjIZ81HIYxCWn8bSsedPWNLGVLsUE+ombIf7tZxnoaltQ1nSF29k6vp+Ic2nOrQmTZ9hg6ViorNcCcVPrtTq2x+p2bp3K9gbgrFNkbthFlxL0pJGNQBGyp2qu/OAV87fo66Wh8sklrCiYu/ZYwoRPo+26jYUSx0miznw48yCxGlFkaIw3aEdQgwqU8LYZXWqzEh69gkwyvrICdkinuiEzG9cToBIjizfu/VJpHVjcjCFFzLM3tyYCYayyJVZNbrks4xCl5YVI1Ex/SvEz62WP9O76Lw2jbvHBuDOjzh84WE8NnsJornCZquNs2VoR2FegygZ1yfzO3o0J1EdWgNqkf7uyXkvV7njRswY3h0Rp2dhBka957lt2u1MRAYa9YBXaP3Mpy5maTGQScH8pujrdp3ZUgzGJeo9H4oc/VNLqdvsDnK2efazJPOvWCIluLx40CYwDD/yjGgUDs3xafX9c1ZdWbjo3qCmGGoUwre6u6dWEprtOHw9WRkRlKu1GXUscrmURT12TjL9MhqcQCAhxGn0y1D2kivw/8IoY4KYWuZYsXkg82Mv7ZrnD3ddm7GEG6wPZHrL01hMBfnybmZ6tnyOMrSKCEut6JS6+Y19PbBX2Vz2V2rWuf3eubJaTVvzwe9jHi6Li2MQqUIs4baxi1iACeCHace2HHhhjIbJjIytEDIfn1jzsUTFyEOdyABlxLIBOyqzBxjNvM2PLaOedJzo/OFOVGy0/iVcOOWa9JW2HwCHh+gt5jvEBjx0X7j958iu63t1EEJj4XKTxZqfxOH9nTNFnL2qcy65Bg6Yeh+AVS0hvDRhcVer3CdXjmRqsNm2vPtK38oNsoIwdSMswGYKWk+WIHo2FiyMyep50zl27OA17pQI/njsfYwjzwMNuvw46Kej32KRE++o2YMFvKBZHakX4ajkrNiWWj1WOgXzNKqQ7xzQixdwx7wORTkRrGpYsi2k87GJ4KbvNLMMSedK4elaygvzC/spL3Ls89jTzO6Z54mvi46M/cyvpDdN/86/V0hNW2ws9OF85tU9J7JBnehvHfi5Izeu1ImyPQwyoy2x4F3vMectnAXCknqzhTSgqrv8jCEvANovHeqsWiIPAFo4Y8MxkM4iPd0Tud0bs0zdWoa7Blvpca+elkRNBqam07Os268jgPrMSv/eKn8mgj2E05pYyQNT5TeKHKrIikK+SmzTmnmwQ0x+adHVEFwpj71ch4X7+zI87U/m4HOc3A4eVuJM79qnf/de9c+MifzqqbOSABB9U7M6wNFSxweDHAy0JvYfotm3Uv+qcGKnGbfZ8SXUgp0Sp3WJ/nEV0rB6ra2MkMuPkEU7b2tesD2BatbNI+JyqCOruHC80IHKx1p+0Zqsy35Ctier904Kh3rHiPjtNt1eDLDUanbCG+E1dkhlp9PJ6sNMuky3JNYfdRVy2DIToeOrfaWpotKwrBwBd7p1sZQMxgYe4DVzbOVVpWhOEIxkIVv6/Z7KUrDpBOFYKIqKtCy25uZso5WOq7pHlF/tfMaNSrbncuQTobWlzlLIbYKRKf2tL7HFsM1qkZtAv/MaC9TphiWwlxF16fO8i85QDJJ582NMIaiwJvgtQG8yeZd2xmjaXNel0kkCwrlVg9HRilPK8FIio4vWofoqZ98kZ221RVeqau+832Bvk1aRS9E7Zluh1+maRxbE9ez4d67CqK9vVcmy5ChK2qi2ME7PBqGn2uXl99j739aHk3AMgT//b/zHwCc6SZ2Ntop+p63khOvauRP/2K6WP6SGcGJMYk38PyVd/85Z+KCoH4hme/i/OuQPI2T9pE2rHTlpuL8pVwfNYKn8SV6ezrtJhdZIy4LelTP796c4Iu63KXTfuy2iRSE0Fq/o9mc44SSuXf/vDBxYZHRXbh4pEenW/Ic83hEENDC4VVLF4iSu3/eH6/aKvW3qvgRPmFFW2fbrvhJxu53sSdeV8vvGTBdo4PFxvEk3j4v2BPEefNcXBp2dpDOk43a0eEG1zDa4mHizqY9B6m/p9qeHQY4RWvkBUF5QmFeUMG3if3cecKCoG9LuLt1adrIutCk4dMAdsUWSj8l8Vb5Tllbq1QoIfDgMtnRd8pxF6d8HfHdceGS6fTExDu3h4YSk6r9Xd4+23zkzfXkur81/Vsr68Mv1/r7tUVFBgbhYXc4fXdu3zkafujQ7l9wtiuIwZWN/bob/Cbeyf3lp5vcyBC1mwZFb2BW+QbVzoFLb8cFvJHLL7jgKsEkL5rSHrgCV9Jbuz7oJuEC62ofSB7A84CMzKiozLTmFkiO4WRgvEA49VN5ac3W5pjjJM9yz7WeZZ7C9b+ruOXkhN13tXU7STOmvAjLBdLW/jnzPQ5Ttpbla9/1xdBdb9YgNsxQD2uzXov6sGp/GvOkn/OFUmeZjL2d2nOMymbRGQ7U+y+sKbupDeu3/WpuJbWm9jNfCgdhle23DOsmQwW9z2JDSNI3jtYWZlkjUQzG57etu0N3e13gEywvoNdTahPIRizBNGtLB+1cLsvv0SpTcp+1HA6bB2y/LJxPfzwdGcH3x9f64WXaCfcr+/y1uL8oorAut8oz29m/7JRhOvC1/h4O/fGce90BunsB53UB3ecRkqciWZEUB4zKQ9e9Exh7DcWXQWD1YjRdJTdm2U3dyahbt3H3pnUMlGbl+jo0E83sncRumtJWm1slJG5Kr7vcZr2bZcsKkG2X1gd8amRKc6ZZwzYisLJBz+7f+sP87CEhkeC8fKkuuqrBPpnvJYzOuf6IKM3xq5CCLqaq3i45JDg+saTA9GF02lp2REGRShiXGsfV9wZ4x/H5sd4BZJN8hX96HinB/CWSxBBuFiuiUKP3bkBYEuODb7p09qp7QRE7ovmFQ763S65q0EUftnkLvv1xyC45+BOdlzEs7DTONQhPtLnUfYHImN7o0VTRQg290v10AV4JrlwmH/VmCu4/x15g8PatSCkimlAleqGJ356fqHwa4dYHDEMuChIFEqgf2nRaiSrLEynfNu2DR2rRILTp7TE7rSzCHycscsXs/AJrx/fLy/rgMf29HCYMPudyTnCHk4eD8wMD8yqFzYKFT+Ke4HD1/CQsqXYoKoLYq862+fI6wEkQJLS4v3pVltxrc6KyzDBBguBkfCanSsz+IlS4/hO16sFpkUKRsUQiRUb2BZZMpm0UisxFIWoR/CaD5SK5Uo7imSI5iE4r7ik8NndWAJjpvqP/JEfVBwXC9w5/bE3c7Or98eEqmdym9lJ/tk+Cd3y8d4JPdnA5d2BqisMtT7BBOlg1PFj7YcWRmX9S/rl51BVcdWsZlwVirT7lfuqKdV+wEqfDlP1KDFKU+/ebckKSWu9olzcWFewbCRM5PnFwiD/9bWxseYmRIcstJPn2Ro3mu++I7/es3ntC+VKny620JrPZNcUMkyqrNk3VQcrXc8w/p6dhrY1+WwyfH2OC2NMxCR3D3za/HqQ8H+vfBwc+M1oxdfG3Nl15/dCKZu3v8kfjeWongWHpGNGyjcePFXvJq1uI4/mEEV1/CBgHZs2EDrEmTdsbLsH/DJU7RG8E8TWGkNeAohcbmxpIjUfsYHAseF/TjstN2yTbd8DhP0cnVK3/55+bW3+5LMcjw12tds/wyHkobHzwff85Hg8l9Y2LP9qcI8wUCDKFOQvCfu5MQY5woTQ0PF+JqYyKqmwJHOkW/o+LfmunzSk6Uv9Z1jgQivD9cucZln3GMfRY0IrITwTfa6mJ9IB/EtntS4WE77PfJ0gmbAPn9euoqJBgR8fISCAi5Xly+PNwv3S1gSTl4caNQRRDEcZoH4aICsOCx8zP4Q3lpKebSiqaVR2S9RHBw20aXOajnuO4E1aZlxsXNzzsf+48mE/badHOYR1UXd2JDmNfSui3LMSmp9mV1Kt5h8FzjWdZUtrV4y3f4vk0Qcjgs+YhPHYbFnv6nOjcGUy8DRcPN7NFPHEKGvB8Xa1KVTqPnj9tjMrYIRUrnIenYPHQONA/rLCwsjjWgrN1KSwh8eUX3NpiCSxcLIDl98wv/Kj8jNxqoaaGGBwYHCTgMq209H5CItngg1yd7qXyxN7Vlg8fpKSEF1qrz67UFxVsXNbeuSr2MrXaAGNjbW0bbyeHuLEMjcpLYmO/PR1fX2dFXLuKHz9OhIakpf3JnPuacrCqTWNVZcIorqmuBjMBjXZPuzWLmnc1sfaODWoDZgeLpRsqkQothPUI6jzBH3k+evt20XMRAz4yGvX4//yTws+jYc1fB09un7Lo7X+65PHdBV96AospXUaPnuToxTRGNingZ75BxUqlVV19SmTYrr2GH3yZTln19j+/t5UFaQX1deZVRCtgIGeTy+uUkbv3uomPXctBc9aj67dY8wKuXfN//Nh6/HGMoi1W3NJlt1NP0u/kdHWKxV0+O61hh9N/5fSh09cYQH+G+P73nluRlSMBACTKzna/jSxsynM0aNQVVNHUISVwfNOWyWPZvkSFXHH2RQ3A/7/JFuQ3do8+5P+mL4FUE9VqMpmpCuz62jxTvrhMWdJVrTG4FZf/Q/4iy3BGeekmzgRsqCNN7/UDYulTZ7LJZdOENMI5wkvppmyYBKQCuyAGOjy3QpAsKetBhhAb2yqaqSO2rl1hs5H10NOQBJdpleplSVekXZxi53IwGNhf70cchYMsvxNR+6Qq/vtmyuD3hx99k08Le2lKQZYBtCyz7y6r4kuGPy/A4LfbCmiUyxWX9bfcxt+Qk2qyoNnftPUfPxUa4bL376J2iJiKbwH4G3jeCbeZ0DRornUwWVIwwpUNEnRzJ8SAAt6IgzkImZKoKIzeABvYDAiQDM2ABCxQRcgAqNDJkNfNh5khNr+MjIABc8wYm/+GyCAlGf5iFPAgFd3ZCr8k+i8pR8LfGGqyUrwU+zr/UUpkah9Hx09N2y8kFKvo2+7alik8qfZtLzy2P5nWZKXEbRZ+QaenQTU/349djaf75Hic2fBLov+SciT8jcs3riYrGleI6f+4YAXfNab28fSgmfhFMmKDKYK+7a7byjKFJ01136594ZGLn0aJJksp4xeR5f4LutichgZ+fr5Pr6vXNSdnhI79JwCoZOTxOZ0whwUsYQVr2MD2NzTmAMdfl/43vxVESVZUTTdMy3Zczw/CKE7SLC/Kqm7arh/GaV7WbT/O637e74/iJM2I80JIpY0tq7pxrQ+3bt+5e+/+GjPeCkEwWI1MKyvC5zK3xS3sprS0Hr9hrJwlh2npBiv6doXRvXZ8Mfsi+s+FsUTyqChjJKv4/lTnSlqVB8eJxeR4tLWsF0Qdqewck4p1in7hOF+XTriUuSvT3FVd2NZLvMyczbjZGo/0W7yiKcmWYc69VR/TBzpLD0+KLoLEvAzCNS+UEbpI2OsqRbI8vuvE1kcKm9Fe4hhvuBiR6sZRKowv4UUXxIR7YjU2JT6jX2YD44nzHGmZ48S6yYJT5FreyoW+GTZdVWUy3PdvCsOjpcQw6KLYCXdlfO1rPJ/pQNok97DryM2z5TDTG/Mc71UQiRTb4sCckTaVfAkscqplqcLDN15Y7bVMaFT1r1M5ECtMKPWq0g136bj+NEJvOlblcSd4ynkXGncShws1Hw6kpalX8tp0hP0qd4SvWGO9X6CPChYCCCAoRGAgOEMBBx4SDPAKHVzAfIIKGa4wQQ+3GQAAAAA=);
font-weight: normal;
font-style: normal;
}
.ag-theme-alpine,
.ag-theme-alpine-dark,
.ag-theme-alpine-auto-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-row-numbers-selected-color: color-mix(in srgb, transparent, var(--ag-alpine-active-color) 50%);
--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-advanced-filter-join-pill-color: #f08e8d;
--ag-advanced-filter-column-pill-color: #a6e194;
--ag-advanced-filter-option-pill-color: #f3c08b;
--ag-advanced-filter-value-pill-color: #85c0e4;
--ag-find-match-color: var(--ag-foreground-color);
--ag-find-match-background-color: #ffff00;
--ag-find-active-match-color: var(--ag-foreground-color);
--ag-find-active-match-background-color: #ffa500;
--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-input-error-focus-box-shadow: 0 0 2px 0.1rem var(--ag-invalid-color);
--ag-panel-background-color: var(--ag-header-background-color);
--ag-menu-background-color: var(--ag-header-background-color);
--ag-filter-panel-apply-button-color: var(--ag-background-color);
--ag-filter-panel-apply-button-background-color: var(--ag-alpine-active-color);
--ag-column-panel-apply-button-color: var(--ag-background-color);
--ag-column-panel-apply-button-background-color: var(--ag-alpine-active-color);
--ag-column-drag-indicator-color: var(--ag-alpine-active-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-advanced-filter-builder-indent-size: calc(var(--ag-icon-size) + var(--ag-grid-size) * 2);
--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 rgba(255, 255, 255, 0.5), 0 0 4px 3px var(--ag-input-focus-border-color);
--ag-input-error-focus-box-shadow: 0 0 2px 0.5px rgba(255, 255, 255, 0.5),
0 0 4px 3px color-mix(in srgb, var(--ag-background-color), var(--ag-invalid-color) 0.5%);
--ag-card-shadow: 0 1px 20px 1px black;
--ag-disabled-foreground-color: rgba(255, 255, 255, 0.5);
--ag-chip-background-color: rgba(255, 255, 255, 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-advanced-filter-join-pill-color: #7a3a37;
--ag-advanced-filter-column-pill-color: #355f2d;
--ag-advanced-filter-option-pill-color: #5a3168;
--ag-advanced-filter-value-pill-color: #374c86;
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-filter-panel-apply-button-color: var(--ag-foreground-color);
--ag-column-panel-apply-button-color: var(--ag-foreground-color);
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
.ag-theme-alpine-auto-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 rgba(255, 255, 255, 0.5), 0 0 4px 3px var(--ag-input-focus-border-color);
--ag-input-error-focus-box-shadow: 0 0 2px 0.5px rgba(255, 255, 255, 0.5),
0 0 4px 3px color-mix(in srgb, var(--ag-background-color), var(--ag-invalid-color) 0.5%);
--ag-card-shadow: 0 1px 20px 1px black;
--ag-disabled-foreground-color: rgba(255, 255, 255, 0.5);
--ag-chip-background-color: rgba(255, 255, 255, 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-advanced-filter-join-pill-color: #7a3a37;
--ag-advanced-filter-column-pill-color: #355f2d;
--ag-advanced-filter-option-pill-color: #5a3168;
--ag-advanced-filter-value-pill-color: #374c86;
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-filter-panel-apply-button-color: var(--ag-foreground-color);
--ag-column-panel-apply-button-color: var(--ag-foreground-color);
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
}
.ag-theme-alpine .ag-filter-toolpanel-header,
.ag-theme-alpine .ag-filter-toolpanel-search,
.ag-theme-alpine .ag-status-bar,
.ag-theme-alpine .ag-header-row,
.ag-theme-alpine .ag-row-number-cell,
.ag-theme-alpine .ag-panel-title-bar-title,
.ag-theme-alpine .ag-multi-filter-group-title-bar,
.ag-theme-alpine .ag-filter-card-title,
.ag-theme-alpine-dark .ag-filter-toolpanel-header,
.ag-theme-alpine-dark .ag-filter-toolpanel-search,
.ag-theme-alpine-dark .ag-status-bar,
.ag-theme-alpine-dark .ag-header-row,
.ag-theme-alpine-dark .ag-row-number-cell,
.ag-theme-alpine-dark .ag-panel-title-bar-title,
.ag-theme-alpine-dark .ag-multi-filter-group-title-bar,
.ag-theme-alpine-dark .ag-filter-card-title,
.ag-theme-alpine-auto-dark .ag-filter-toolpanel-header,
.ag-theme-alpine-auto-dark .ag-filter-toolpanel-search,
.ag-theme-alpine-auto-dark .ag-status-bar,
.ag-theme-alpine-auto-dark .ag-header-row,
.ag-theme-alpine-auto-dark .ag-row-number-cell,
.ag-theme-alpine-auto-dark .ag-panel-title-bar-title,
.ag-theme-alpine-auto-dark .ag-multi-filter-group-title-bar,
.ag-theme-alpine-auto-dark .ag-filter-card-title {
font-weight: 700;
color: var(--ag-header-foreground-color);
}
.ag-theme-alpine .ag-row,
.ag-theme-alpine-dark .ag-row,
.ag-theme-alpine-auto-dark .ag-row {
font-size: calc(var(--ag-font-size) + 1px);
}
.ag-theme-alpine input[class^=ag-]:not([type]),
.ag-theme-alpine input[class^=ag-][type=text],
.ag-theme-alpine input[class^=ag-][type=number],
.ag-theme-alpine input[class^=ag-][type=tel],
.ag-theme-alpine input[class^=ag-][type=date],
.ag-theme-alpine input[class^=ag-][type=datetime-local],
.ag-theme-alpine textarea[class^=ag-],
.ag-theme-alpine-dark input[class^=ag-]:not([type]),
.ag-theme-alpine-dark input[class^=ag-][type=text],
.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=date],
.ag-theme-alpine-dark input[class^=ag-][type=datetime-local],
.ag-theme-alpine-dark textarea[class^=ag-],
.ag-theme-alpine-auto-dark input[class^=ag-]:not([type]),
.ag-theme-alpine-auto-dark input[class^=ag-][type=text],
.ag-theme-alpine-auto-dark input[class^=ag-][type=number],
.ag-theme-alpine-auto-dark input[class^=ag-][type=tel],
.ag-theme-alpine-auto-dark input[class^=ag-][type=date],
.ag-theme-alpine-auto-dark input[class^=ag-][type=datetime-local],
.ag-theme-alpine-auto-dark textarea[class^=ag-] {
min-height: calc(var(--ag-grid-size) * 4);
border-radius: var(--ag-border-radius);
}
.ag-theme-alpine .ag-ltr input[class^=ag-]:not([type]), .ag-theme-alpine .ag-ltr input[class^=ag-][type=text], .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=date], .ag-theme-alpine .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-alpine .ag-ltr textarea[class^=ag-], .ag-theme-alpine-dark .ag-ltr input[class^=ag-]:not([type]), .ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=text], .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=date], .ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-alpine-dark .ag-ltr textarea[class^=ag-], .ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-]:not([type]), .ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=text], .ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=number], .ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=tel], .ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=date], .ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-alpine-auto-dark .ag-ltr textarea[class^=ag-] {
padding-left: var(--ag-grid-size);
}
.ag-theme-alpine .ag-rtl input[class^=ag-]:not([type]), .ag-theme-alpine .ag-rtl input[class^=ag-][type=text], .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=date], .ag-theme-alpine .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-alpine .ag-rtl textarea[class^=ag-], .ag-theme-alpine-dark .ag-rtl input[class^=ag-]:not([type]), .ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=text], .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=date], .ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-alpine-dark .ag-rtl textarea[class^=ag-], .ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-]:not([type]), .ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=text], .ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=number], .ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=tel], .ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=date], .ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-alpine-auto-dark .ag-rtl textarea[class^=ag-] {
padding-right: var(--ag-grid-size);
}
.ag-theme-alpine .ag-tab,
.ag-theme-alpine-dark .ag-tab,
.ag-theme-alpine-auto-dark .ag-tab {
padding: calc(var(--ag-grid-size) * 1.5);
transition: color 0.4s;
flex: 1 1 auto;
}
.ag-theme-alpine .ag-tab-selected,
.ag-theme-alpine-dark .ag-tab-selected,
.ag-theme-alpine-auto-dark .ag-tab-selected {
color: var(--ag-alpine-active-color);
}
.ag-theme-alpine .ag-menu,
.ag-theme-alpine-dark .ag-menu,
.ag-theme-alpine-auto-dark .ag-menu {
background-color: var(--ag-control-panel-background-color);
}
.ag-theme-alpine .ag-panel-content-wrapper .ag-column-select,
.ag-theme-alpine-dark .ag-panel-content-wrapper .ag-column-select,
.ag-theme-alpine-auto-dark .ag-panel-content-wrapper .ag-column-select {
background-color: var(--ag-control-panel-background-color);
}
.ag-theme-alpine .ag-menu-header,
.ag-theme-alpine-dark .ag-menu-header,
.ag-theme-alpine-auto-dark .ag-menu-header {
background-color: var(--ag-control-panel-background-color);
padding-top: 1px;
}
.ag-theme-alpine .ag-tabs-header,
.ag-theme-alpine-dark .ag-tabs-header,
.ag-theme-alpine-auto-dark .ag-tabs-header {
border-bottom: var(--ag-borders) var(--ag-border-color);
}
.ag-theme-alpine .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-advanced-settings-top-level-group-title-bar,
.ag-theme-alpine-dark .ag-charts-settings-group-title-bar,
.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-advanced-settings-top-level-group-title-bar,
.ag-theme-alpine-auto-dark .ag-charts-settings-group-title-bar,
.ag-theme-alpine-auto-dark .ag-charts-data-group-title-bar,
.ag-theme-alpine-auto-dark .ag-charts-format-top-level-group-title-bar,
.ag-theme-alpine-auto-dark .ag-charts-advanced-settings-top-level-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 .ag-chart-mini-thumbnail,
.ag-theme-alpine-dark .ag-chart-mini-thumbnail,
.ag-theme-alpine-auto-dark .ag-chart-mini-thumbnail {
background-color: var(--ag-background-color);
}
.ag-theme-alpine .ag-chart-settings-nav-bar,
.ag-theme-alpine-dark .ag-chart-settings-nav-bar,
.ag-theme-alpine-auto-dark .ag-chart-settings-nav-bar {
border-top: var(--ag-borders-secondary) var(--ag-secondary-border-color);
}
.ag-theme-alpine .ag-ltr .ag-group-title-bar-icon, .ag-theme-alpine-dark .ag-ltr .ag-group-title-bar-icon, .ag-theme-alpine-auto-dark .ag-ltr .ag-group-title-bar-icon {
margin-right: var(--ag-grid-size);
}
.ag-theme-alpine .ag-rtl .ag-group-title-bar-icon, .ag-theme-alpine-dark .ag-rtl .ag-group-title-bar-icon, .ag-theme-alpine-auto-dark .ag-rtl .ag-group-title-bar-icon {
margin-left: var(--ag-grid-size);
}
.ag-theme-alpine .ag-charts-format-top-level-group-toolbar,
.ag-theme-alpine .ag-charts-advanced-settings-top-level-group-toolbar,
.ag-theme-alpine-dark .ag-charts-format-top-level-group-toolbar,
.ag-theme-alpine-dark .ag-charts-advanced-settings-top-level-group-toolbar,
.ag-theme-alpine-auto-dark .ag-charts-format-top-level-group-toolbar,
.ag-theme-alpine-auto-dark .ag-charts-advanced-settings-top-level-group-toolbar {
margin-top: var(--ag-grid-size);
}
.ag-theme-alpine .ag-ltr .ag-charts-format-top-level-group-toolbar, .ag-theme-alpine .ag-ltr .ag-charts-advanced-settings-top-level-group-toolbar, .ag-theme-alpine-dark .ag-ltr .ag-charts-format-top-level-group-toolbar, .ag-theme-alpine-dark .ag-ltr .ag-charts-advanced-settings-top-level-group-toolbar, .ag-theme-alpine-auto-dark .ag-ltr .ag-charts-format-top-level-group-toolbar, .ag-theme-alpine-auto-dark .ag-ltr .ag-charts-advanced-settings-top-level-group-toolbar {
padding-left: calc(var(--ag-icon-size) * 0.5 + var(--ag-grid-size) * 2);
}
.ag-theme-alpine .ag-rtl .ag-charts-format-top-level-group-toolbar, .ag-theme-alpine .ag-rtl .ag-charts-advanced-settings-top-level-group-toolbar, .ag-theme-alpine-dark .ag-rtl .ag-charts-format-top-level-group-toolbar, .ag-theme-alpine-dark .ag-rtl .ag-charts-advanced-settings-top-level-group-toolbar, .ag-theme-alpine-auto-dark .ag-rtl .ag-charts-format-top-level-group-toolbar, .ag-theme-alpine-auto-dark .ag-rtl .ag-charts-advanced-settings-top-level-group-toolbar {
padding-right: calc(var(--ag-icon-size) * 0.5 + var(--ag-grid-size) * 2);
}
.ag-theme-alpine .ag-charts-format-sub-level-group,
.ag-theme-alpine-dark .ag-charts-format-sub-level-group,
.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group {
border-left: dashed 1px;
border-left-color: var(--ag-border-color);
padding-left: var(--ag-grid-size);
margin-bottom: calc(var(--ag-grid-size) * 2);
}
.ag-theme-alpine .ag-charts-format-sub-level-group-title-bar,
.ag-theme-alpine-dark .ag-charts-format-sub-level-group-title-bar,
.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group-title-bar {
padding-top: 0;
padding-bottom: 0;
background: none;
font-weight: 700;
}
.ag-theme-alpine .ag-charts-format-sub-level-group-container,
.ag-theme-alpine-dark .ag-charts-format-sub-level-group-container,
.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group-container {
padding-bottom: 0;
}
.ag-theme-alpine .ag-charts-format-sub-level-group-item:last-child,
.ag-theme-alpine-dark .ag-charts-format-sub-level-group-item:last-child,
.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group-item:last-child {
margin-bottom: 0;
}
.ag-theme-alpine.ag-dnd-ghost,
.ag-theme-alpine-dark.ag-dnd-ghost,
.ag-theme-alpine-auto-dark.ag-dnd-ghost {
font-size: calc(var(--ag-font-size) - 1px);
font-weight: 700;
}
.ag-theme-alpine .ag-side-buttons,
.ag-theme-alpine-dark .ag-side-buttons,
.ag-theme-alpine-auto-dark .ag-side-buttons {
width: calc(var(--ag-grid-size) * 5);
}
.ag-theme-alpine .ag-standard-button,
.ag-theme-alpine-dark .ag-standard-button,
.ag-theme-alpine-auto-dark .ag-standard-button {
font-family: inherit;
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 .ag-standard-button:hover,
.ag-theme-alpine-dark .ag-standard-button:hover,
.ag-theme-alpine-auto-dark .ag-standard-button:hover {
border-color: var(--ag-alpine-active-color);
background-color: var(--ag-row-hover-color);
}
.ag-theme-alpine .ag-standard-button:active,
.ag-theme-alpine-dark .ag-standard-button:active,
.ag-theme-alpine-auto-dark .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 .ag-standard-button:disabled,
.ag-theme-alpine-dark .ag-standard-button:disabled,
.ag-theme-alpine-auto-dark .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 .ag-column-drop-vertical,
.ag-theme-alpine-dark .ag-column-drop-vertical,
.ag-theme-alpine-auto-dark .ag-column-drop-vertical {
min-height: 75px;
}
.ag-theme-alpine .ag-column-drop-vertical-title-bar,
.ag-theme-alpine-dark .ag-column-drop-vertical-title-bar,
.ag-theme-alpine-auto-dark .ag-column-drop-vertical-title-bar {
padding: calc(var(--ag-grid-size) * 2);
padding-bottom: 0px;
}
.ag-theme-alpine .ag-column-drop-vertical-empty-message,
.ag-theme-alpine-dark .ag-column-drop-vertical-empty-message,
.ag-theme-alpine-auto-dark .ag-column-drop-vertical-empty-message {
display: flex;
align-items: center;
border: dashed 1px;
border-color: var(--ag-border-color);
margin: calc(var(--ag-grid-size) * 2);
padding: calc(var(--ag-grid-size) * 2);
}
.ag-theme-alpine .ag-column-drop-empty-message,
.ag-theme-alpine-dark .ag-column-drop-empty-message,
.ag-theme-alpine-auto-dark .ag-column-drop-empty-message {
color: var(--ag-foreground-color);
opacity: 0.75;
}
.ag-theme-alpine .ag-pill-select .ag-column-drop,
.ag-theme-alpine-dark .ag-pill-select .ag-column-drop,
.ag-theme-alpine-auto-dark .ag-pill-select .ag-column-drop {
min-height: unset;
}
.ag-theme-alpine .ag-status-bar,
.ag-theme-alpine-dark .ag-status-bar,
.ag-theme-alpine-auto-dark .ag-status-bar {
font-weight: normal;
}
.ag-theme-alpine .ag-status-name-value-value,
.ag-theme-alpine-dark .ag-status-name-value-value,
.ag-theme-alpine-auto-dark .ag-status-name-value-value {
font-weight: 700;
}
.ag-theme-alpine .ag-paging-number,
.ag-theme-alpine .ag-paging-row-summary-panel-number,
.ag-theme-alpine-dark .ag-paging-number,
.ag-theme-alpine-dark .ag-paging-row-summary-panel-number,
.ag-theme-alpine-auto-dark .ag-paging-number,
.ag-theme-alpine-auto-dark .ag-paging-row-summary-panel-number {
font-weight: 700;
}
.ag-theme-alpine .ag-column-drop-cell-button,
.ag-theme-alpine-dark .ag-column-drop-cell-button,
.ag-theme-alpine-auto-dark .ag-column-drop-cell-button {
opacity: 0.5;
}
.ag-theme-alpine .ag-column-drop-cell-button:hover,
.ag-theme-alpine-dark .ag-column-drop-cell-button:hover,
.ag-theme-alpine-auto-dark .ag-column-drop-cell-button:hover {
opacity: 0.75;
}
.ag-theme-alpine .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-alpine .ag-column-select-column-readonly .ag-icon-grip,
.ag-theme-alpine-dark .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-alpine-dark .ag-column-select-column-readonly .ag-icon-grip,
.ag-theme-alpine-auto-dark .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-alpine-auto-dark .ag-column-select-column-readonly .ag-icon-grip {
opacity: 0.35;
}
.ag-theme-alpine .ag-header-cell-menu-button:hover,
.ag-theme-alpine .ag-header-cell-filter-button:hover,
.ag-theme-alpine .ag-side-button-button:hover,
.ag-theme-alpine .ag-tab:hover,
.ag-theme-alpine .ag-panel-title-bar-button:hover,
.ag-theme-alpine .ag-header-expand-icon:hover,
.ag-theme-alpine .ag-column-group-icons:hover,
.ag-theme-alpine .ag-set-filter-group-icons:hover,
.ag-theme-alpine .ag-group-expanded .ag-icon:hover,
.ag-theme-alpine .ag-group-contracted .ag-icon:hover,
.ag-theme-alpine .ag-chart-settings-prev:hover,
.ag-theme-alpine .ag-chart-settings-next:hover,
.ag-theme-alpine .ag-group-title-bar-icon:hover,
.ag-theme-alpine .ag-column-select-header-icon:hover,
.ag-theme-alpine .ag-floating-filter-button-button:hover,
.ag-theme-alpine .ag-filter-toolpanel-expand:hover,
.ag-theme-alpine .ag-chart-menu-icon:hover,
.ag-theme-alpine-dark .ag-header-cell-menu-button:hover,
.ag-theme-alpine-dark .ag-header-cell-filter-button:hover,
.ag-theme-alpine-dark .ag-side-button-button:hover,
.ag-theme-alpine-dark .ag-tab:hover,
.ag-theme-alpine-dark .ag-panel-title-bar-button:hover,
.ag-theme-alpine-dark .ag-header-expand-icon:hover,
.ag-theme-alpine-dark .ag-column-group-icons:hover,
.ag-theme-alpine-dark .ag-set-filter-group-icons:hover,
.ag-theme-alpine-dark .ag-group-expanded .ag-icon:hover,
.ag-theme-alpine-dark .ag-group-contracted .ag-icon:hover,
.ag-theme-alpine-dark .ag-chart-settings-prev:hover,
.ag-theme-alpine-dark .ag-chart-settings-next:hover,
.ag-theme-alpine-dark .ag-group-title-bar-icon:hover,
.ag-theme-alpine-dark .ag-column-select-header-icon:hover,
.ag-theme-alpine-dark .ag-floating-filter-button-button:hover,
.ag-theme-alpine-dark .ag-filter-toolpanel-expand:hover,
.ag-theme-alpine-dark .ag-chart-menu-icon:hover,
.ag-theme-alpine-auto-dark .ag-header-cell-menu-button:hover,
.ag-theme-alpine-auto-dark .ag-header-cell-filter-button:hover,
.ag-theme-alpine-auto-dark .ag-side-button-button:hover,
.ag-theme-alpine-auto-dark .ag-tab:hover,
.ag-theme-alpine-auto-dark .ag-panel-title-bar-button:hover,
.ag-theme-alpine-auto-dark .ag-header-expand-icon:hover,
.ag-theme-alpine-auto-dark .ag-column-group-icons:hover,
.ag-theme-alpine-auto-dark .ag-set-filter-group-icons:hover,
.ag-theme-alpine-auto-dark .ag-group-expanded .ag-icon:hover,
.ag-theme-alpine-auto-dark .ag-group-contracted .ag-icon:hover,
.ag-theme-alpine-auto-dark .ag-chart-settings-prev:hover,
.ag-theme-alpine-auto-dark .ag-chart-settings-next:hover,
.ag-theme-alpine-auto-dark .ag-group-title-bar-icon:hover,
.ag-theme-alpine-auto-dark .ag-column-select-header-icon:hover,
.ag-theme-alpine-auto-dark .ag-floating-filter-button-button:hover,
.ag-theme-alpine-auto-dark .ag-filter-toolpanel-expand:hover,
.ag-theme-alpine-auto-dark .ag-chart-menu-icon:hover {
color: var(--ag-alpine-active-color);
}
.ag-theme-alpine .ag-header-cell-menu-button:hover .ag-icon,
.ag-theme-alpine .ag-header-cell-filter-button:hover .ag-icon,
.ag-theme-alpine .ag-side-button-button:hover .ag-icon,
.ag-theme-alpine .ag-panel-title-bar-button:hover .ag-icon,
.ag-theme-alpine .ag-floating-filter-button-button:hover .ag-icon,
.ag-theme-alpine-dark .ag-header-cell-menu-button:hover .ag-icon,
.ag-theme-alpine-dark .ag-header-cell-filter-button:hover .ag-icon,
.ag-theme-alpine-dark .ag-side-button-button:hover .ag-icon,
.ag-theme-alpine-dark .ag-panel-title-bar-button:hover .ag-icon,
.ag-theme-alpine-dark .ag-floating-filter-button-button:hover .ag-icon,
.ag-theme-alpine-auto-dark .ag-header-cell-menu-button:hover .ag-icon,
.ag-theme-alpine-auto-dark .ag-header-cell-filter-button:hover .ag-icon,
.ag-theme-alpine-auto-dark .ag-side-button-button:hover .ag-icon,
.ag-theme-alpine-auto-dark .ag-panel-title-bar-button:hover .ag-icon,
.ag-theme-alpine-auto-dark .ag-floating-filter-button-button:hover .ag-icon {
color: inherit;
}
.ag-theme-alpine .ag-filter-active .ag-icon-filter,
.ag-theme-alpine-dark .ag-filter-active .ag-icon-filter,
.ag-theme-alpine-auto-dark .ag-filter-active .ag-icon-filter {
color: var(--ag-alpine-active-color);
}
.ag-theme-alpine .ag-chart-settings-card-item.ag-not-selected:hover,
.ag-theme-alpine-dark .ag-chart-settings-card-item.ag-not-selected:hover,
.ag-theme-alpine-auto-dark .ag-chart-settings-card-item.ag-not-selected:hover {
opacity: 0.35;
}
.ag-theme-alpine .ag-ltr .ag-panel-title-bar-button, .ag-theme-alpine-dark .ag-ltr .ag-panel-title-bar-button, .ag-theme-alpine-auto-dark .ag-ltr .ag-panel-title-bar-button {
margin-left: calc(var(--ag-grid-size) * 2);
margin-right: var(--ag-grid-size);
}
.ag-theme-alpine .ag-rtl .ag-panel-title-bar-button, .ag-theme-alpine-dark .ag-rtl .ag-panel-title-bar-button, .ag-theme-alpine-auto-dark .ag-rtl .ag-panel-title-bar-button {
margin-right: calc(var(--ag-grid-size) * 2);
margin-left: var(--ag-grid-size);
}
.ag-theme-alpine .ag-ltr .ag-filter-toolpanel-group-container, .ag-theme-alpine-dark .ag-ltr .ag-filter-toolpanel-group-container, .ag-theme-alpine-auto-dark .ag-ltr .ag-filter-toolpanel-group-container {
padding-left: var(--ag-grid-size);
}
.ag-theme-alpine .ag-rtl .ag-filter-toolpanel-group-container, .ag-theme-alpine-dark .ag-rtl .ag-filter-toolpanel-group-container, .ag-theme-alpine-auto-dark .ag-rtl .ag-filter-toolpanel-group-container {
padding-right: var(--ag-grid-size);
}
.ag-theme-alpine .ag-filter-toolpanel-instance-filter,
.ag-theme-alpine-dark .ag-filter-toolpanel-instance-filter,
.ag-theme-alpine-auto-dark .ag-filter-toolpanel-instance-filter {
border: none;
background-color: var(--ag-control-panel-background-color);
}
.ag-theme-alpine .ag-ltr .ag-filter-toolpanel-instance-filter, .ag-theme-alpine-dark .ag-ltr .ag-filter-toolpanel-instance-filter, .ag-theme-alpine-auto-dark .ag-ltr .ag-filter-toolpanel-instance-filter {
border-left: dashed 1px;
border-left-color: var(--ag-border-color);
margin-left: calc(var(--ag-icon-size) * 0.5);
}
.ag-theme-alpine .ag-rtl .ag-filter-toolpanel-instance-filter, .ag-theme-alpine-dark .ag-rtl .ag-filter-toolpanel-instance-filter, .ag-theme-alpine-auto-dark .ag-rtl .ag-filter-toolpanel-instance-filter {
border-right: dashed 1px;
border-right-color: var(--ag-border-color);
margin-right: calc(var(--ag-icon-size) * 0.5);
}
.ag-theme-alpine .ag-set-filter-list,
.ag-theme-alpine-dark .ag-set-filter-list,
.ag-theme-alpine-auto-dark .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 .ag-filter-add-button .ag-icon,
.ag-theme-alpine-dark .ag-filter-add-button .ag-icon,
.ag-theme-alpine-auto-dark .ag-filter-add-button .ag-icon {
color: var(--ag-alpine-active-color);
}
.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-alpine .ag-layout-print .ag-center-cols-viewport,
.ag-theme-alpine .ag-layout-print .ag-center-cols-container,
.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-viewport,
.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-container,
.ag-theme-alpine-auto-dark .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-alpine-auto-dark .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-alpine-auto-dark .ag-layout-print .ag-center-cols-viewport,
.ag-theme-alpine-auto-dark .ag-layout-print .ag-center-cols-container {
min-height: 150px;
}
.ag-theme-alpine .ag-date-time-list-page-entry-is-current,
.ag-theme-alpine-dark .ag-date-time-list-page-entry-is-current,
.ag-theme-alpine-auto-dark .ag-date-time-list-page-entry-is-current {
background-color: var(--ag-alpine-active-color);
}
.ag-theme-alpine .ag-advanced-filter-builder-button,
.ag-theme-alpine-dark .ag-advanced-filter-builder-button,
.ag-theme-alpine-auto-dark .ag-advanced-filter-builder-button {
padding: var(--ag-grid-size);
font-weight: 600;
}
.ag-theme-alpine .ag-list-item-hovered::after,
.ag-theme-alpine-dark .ag-list-item-hovered::after,
.ag-theme-alpine-auto-dark .ag-list-item-hovered::after {
background-color: var(--ag-alpine-active-color);
}
.ag-theme-alpine .ag-pill .ag-pill-button:hover,
.ag-theme-alpine-dark .ag-pill .ag-pill-button:hover,
.ag-theme-alpine-auto-dark .ag-pill .ag-pill-button:hover {
color: var(--ag-alpine-active-color);
}
.ag-theme-alpine .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-alpine .ag-disabled .ag-icon,
.ag-theme-alpine .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-alpine [disabled] .ag-icon,
.ag-theme-alpine-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-alpine-dark .ag-disabled .ag-icon,
.ag-theme-alpine-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-alpine-dark [disabled] .ag-icon,
.ag-theme-alpine-auto-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-alpine-auto-dark .ag-disabled .ag-icon,
.ag-theme-alpine-auto-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-alpine-auto-dark [disabled] .ag-icon {
color: var(--ag-disabled-foreground-color);
}
`,document.head.appendChild(e)}}(),function(){if(typeof document<"u"){var e=document.createElement("style");e.setAttribute("data-ag-scope","legacy"),e.textContent=`.ag-theme-balham,
.ag-theme-balham-dark,
.ag-theme-balham-auto-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-advanced-filter-join-pill-color: #f08e8d;
--ag-advanced-filter-column-pill-color: #a6e194;
--ag-advanced-filter-option-pill-color: #f3c08b;
--ag-advanced-filter-value-pill-color: #85c0e4;
--ag-find-match-color: var(--ag-foreground-color);
--ag-find-match-background-color: #ffff00;
--ag-find-active-match-color: var(--ag-foreground-color);
--ag-find-active-match-background-color: #ffa500;
--ag-input-focus-box-shadow: 0 0 2px 1px var(--ag-input-focus-border-color);
--ag-input-error-focus-box-shadow: 0 0 2px 1px var(--ag-invalid-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-panel-background-color: var(--ag-header-background-color);
--ag-filter-panel-apply-button-color: var(--ag-background-color);
--ag-filter-panel-apply-button-background-color: var(--ag-balham-active-color);
--ag-column-panel-apply-button-color: var(--ag-background-color);
--ag-column-panel-apply-button-background-color: var(--ag-balham-active-color);
--ag-column-drag-indicator-color: var(--ag-balham-active-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-row-numbers-selected-color: color-mix(in srgb, transparent, var(--ag-balham-active-color) 50%);
--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-chart-menu-panel-width: 240px;
--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-advanced-filter-join-pill-color: #7a3a37;
--ag-advanced-filter-column-pill-color: #355f2d;
--ag-advanced-filter-option-pill-color: #5a3168;
--ag-advanced-filter-value-pill-color: #374c86;
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-filter-panel-apply-button-color: var(--ag-foreground-color);
--ag-column-panel-apply-button-color: var(--ag-foreground-color);
--ag-secondary-foreground-color: var(--ag-foreground-color);
--ag-disabled-foreground-color: rgba(245, 245, 245, 0.38);
--ag-subheader-toolbar-background-color: rgba(17, 17, 17, 0.5);
--ag-row-border-color: #5c5c5c;
--ag-chip-background-color: rgba(245, 245, 245, 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: rgba(240, 240, 240, 0.3);
--ag-header-foreground-color: rgba(245, 245, 245, 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-input-error-focus-box-shadow: 0 0 4px 1.5px
color-mix(in srgb, var(--ag-background-color), var(--ag-invalid-color) 0.5%);
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
.ag-theme-balham-auto-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-advanced-filter-join-pill-color: #7a3a37;
--ag-advanced-filter-column-pill-color: #355f2d;
--ag-advanced-filter-option-pill-color: #5a3168;
--ag-advanced-filter-value-pill-color: #374c86;
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-filter-panel-apply-button-color: var(--ag-foreground-color);
--ag-column-panel-apply-button-color: var(--ag-foreground-color);
--ag-secondary-foreground-color: var(--ag-foreground-color);
--ag-disabled-foreground-color: rgba(245, 245, 245, 0.38);
--ag-subheader-toolbar-background-color: rgba(17, 17, 17, 0.5);
--ag-row-border-color: #5c5c5c;
--ag-chip-background-color: rgba(245, 245, 245, 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: rgba(240, 240, 240, 0.3);
--ag-header-foreground-color: rgba(245, 245, 245, 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-input-error-focus-box-shadow: 0 0 4px 1.5px
color-mix(in srgb, var(--ag-background-color), var(--ag-invalid-color) 0.5%);
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
}
.ag-theme-balham .ag-filter-toolpanel-header,
.ag-theme-balham .ag-filter-toolpanel-search,
.ag-theme-balham .ag-status-bar,
.ag-theme-balham .ag-header-row,
.ag-theme-balham .ag-row-number-cell,
.ag-theme-balham .ag-multi-filter-group-title-bar,
.ag-theme-balham-dark .ag-filter-toolpanel-header,
.ag-theme-balham-dark .ag-filter-toolpanel-search,
.ag-theme-balham-dark .ag-status-bar,
.ag-theme-balham-dark .ag-header-row,
.ag-theme-balham-dark .ag-row-number-cell,
.ag-theme-balham-dark .ag-multi-filter-group-title-bar,
.ag-theme-balham-auto-dark .ag-filter-toolpanel-header,
.ag-theme-balham-auto-dark .ag-filter-toolpanel-search,
.ag-theme-balham-auto-dark .ag-status-bar,
.ag-theme-balham-auto-dark .ag-header-row,
.ag-theme-balham-auto-dark .ag-row-number-cell,
.ag-theme-balham-auto-dark .ag-multi-filter-group-title-bar {
font-weight: 600;
color: var(--ag-header-foreground-color);
}
.ag-theme-balham .ag-ltr input[class^=ag-]:not([type]), .ag-theme-balham .ag-ltr input[class^=ag-][type=text], .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=date], .ag-theme-balham .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-balham .ag-ltr textarea[class^=ag-], .ag-theme-balham-dark .ag-ltr input[class^=ag-]:not([type]), .ag-theme-balham-dark .ag-ltr input[class^=ag-][type=text], .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=date], .ag-theme-balham-dark .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-balham-dark .ag-ltr textarea[class^=ag-], .ag-theme-balham-auto-dark .ag-ltr input[class^=ag-]:not([type]), .ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=text], .ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=number], .ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=tel], .ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=date], .ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-balham-auto-dark .ag-ltr textarea[class^=ag-] {
padding-left: var(--ag-grid-size);
}
.ag-theme-balham .ag-rtl input[class^=ag-]:not([type]), .ag-theme-balham .ag-rtl input[class^=ag-][type=text], .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=date], .ag-theme-balham .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-balham .ag-rtl textarea[class^=ag-], .ag-theme-balham-dark .ag-rtl input[class^=ag-]:not([type]), .ag-theme-balham-dark .ag-rtl input[class^=ag-][type=text], .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=date], .ag-theme-balham-dark .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-balham-dark .ag-rtl textarea[class^=ag-], .ag-theme-balham-auto-dark .ag-rtl input[class^=ag-]:not([type]), .ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=text], .ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=number], .ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=tel], .ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=date], .ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-balham-auto-dark .ag-rtl textarea[class^=ag-] {
padding-right: var(--ag-grid-size);
}
.ag-theme-balham .ag-column-drop-vertical-empty-message,
.ag-theme-balham .ag-status-bar,
.ag-theme-balham-dark .ag-column-drop-vertical-empty-message,
.ag-theme-balham-dark .ag-status-bar,
.ag-theme-balham-auto-dark .ag-column-drop-vertical-empty-message,
.ag-theme-balham-auto-dark .ag-status-bar {
font-weight: 600;
color: var(--ag-disabled-foreground-color);
}
.ag-theme-balham.ag-dnd-ghost,
.ag-theme-balham-dark.ag-dnd-ghost,
.ag-theme-balham-auto-dark.ag-dnd-ghost {
font-size: var(--ag-font-size);
font-weight: 600;
}
.ag-theme-balham .ag-tab,
.ag-theme-balham-dark .ag-tab,
.ag-theme-balham-auto-dark .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 .ag-tab-selected,
.ag-theme-balham-dark .ag-tab-selected,
.ag-theme-balham-auto-dark .ag-tab-selected {
background-color: var(--ag-background-color);
border-color: var(--ag-border-color);
border-bottom-color: transparent;
}
.ag-theme-balham .ag-tabs-header,
.ag-theme-balham-dark .ag-tabs-header,
.ag-theme-balham-auto-dark .ag-tabs-header {
border-bottom: 1px solid var(--ag-border-color);
}
.ag-theme-balham .ag-column-drop-cell,
.ag-theme-balham-dark .ag-column-drop-cell,
.ag-theme-balham-auto-dark .ag-column-drop-cell {
height: calc(var(--ag-grid-size) * 6);
}
.ag-theme-balham .ag-column-drop-vertical-title,
.ag-theme-balham-dark .ag-column-drop-vertical-title,
.ag-theme-balham-auto-dark .ag-column-drop-vertical-title {
color: var(--ag-foreground-color);
}
.ag-theme-balham .ag-column-drop-vertical-cell,
.ag-theme-balham-dark .ag-column-drop-vertical-cell,
.ag-theme-balham-auto-dark .ag-column-drop-vertical-cell {
margin-left: calc(var(--ag-grid-size) * 2);
margin-right: calc(var(--ag-grid-size) * 2);
}
.ag-theme-balham .ag-column-drop-vertical-cell-text,
.ag-theme-balham-dark .ag-column-drop-vertical-cell-text,
.ag-theme-balham-auto-dark .ag-column-drop-vertical-cell-text {
margin-left: calc(var(--ag-grid-size) * 2);
}
.ag-theme-balham .ag-column-drop-vertical-icon,
.ag-theme-balham-dark .ag-column-drop-vertical-icon,
.ag-theme-balham-auto-dark .ag-column-drop-vertical-icon {
color: var(--ag-secondary-foreground-color);
}
.ag-theme-balham .ag-ltr .ag-column-drop-vertical-empty-message, .ag-theme-balham-dark .ag-ltr .ag-column-drop-vertical-empty-message, .ag-theme-balham-auto-dark .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 .ag-rtl .ag-column-drop-vertical-empty-message, .ag-theme-balham-dark .ag-rtl .ag-column-drop-vertical-empty-message, .ag-theme-balham-auto-dark .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 .ag-column-drop-horizontal,
.ag-theme-balham-dark .ag-column-drop-horizontal,
.ag-theme-balham-auto-dark .ag-column-drop-horizontal {
height: var(--ag-header-height);
}
.ag-theme-balham .ag-column-drop-empty,
.ag-theme-balham-dark .ag-column-drop-empty,
.ag-theme-balham-auto-dark .ag-column-drop-empty {
color: var(--ag-disabled-foreground-color);
}
.ag-theme-balham .ag-column-drop-horizontal-cell-text,
.ag-theme-balham-dark .ag-column-drop-horizontal-cell-text,
.ag-theme-balham-auto-dark .ag-column-drop-horizontal-cell-text {
margin-left: calc(var(--ag-grid-size) * 2);
}
.ag-theme-balham .ag-column-drop-vertical,
.ag-theme-balham-dark .ag-column-drop-vertical,
.ag-theme-balham-auto-dark .ag-column-drop-vertical {
padding-top: calc(var(--ag-grid-size) * 2);
}
.ag-theme-balham .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-balham .ag-column-select-column-readonly .ag-icon-grip,
.ag-theme-balham-dark .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-balham-dark .ag-column-select-column-readonly .ag-icon-grip,
.ag-theme-balham-auto-dark .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-balham-auto-dark .ag-column-select-column-readonly .ag-icon-grip {
opacity: 0.35;
}
.ag-theme-balham .ag-menu-header,
.ag-theme-balham-dark .ag-menu-header,
.ag-theme-balham-auto-dark .ag-menu-header {
background-color: var(--ag-header-background-color);
}
.ag-theme-balham .ag-overlay-loading-center,
.ag-theme-balham .ag-overlay-exporting-center,
.ag-theme-balham-dark .ag-overlay-loading-center,
.ag-theme-balham-dark .ag-overlay-exporting-center,
.ag-theme-balham-auto-dark .ag-overlay-loading-center,
.ag-theme-balham-auto-dark .ag-overlay-exporting-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 .ag-tooltip,
.ag-theme-balham-dark .ag-tooltip,
.ag-theme-balham-auto-dark .ag-tooltip {
border: none;
}
.ag-theme-balham .ag-panel-title-bar-button-icon,
.ag-theme-balham-dark .ag-panel-title-bar-button-icon,
.ag-theme-balham-auto-dark .ag-panel-title-bar-button-icon {
font-size: calc(var(--ag-icon-size) + var(--ag-grid-size));
}
.ag-theme-balham .ag-panel,
.ag-theme-balham-dark .ag-panel,
.ag-theme-balham-auto-dark .ag-panel {
background-color: var(--ag-header-background-color);
}
.ag-theme-balham .ag-chart-data-section,
.ag-theme-balham .ag-chart-format-section,
.ag-theme-balham .ag-chart-advanced-settings-section,
.ag-theme-balham-dark .ag-chart-data-section,
.ag-theme-balham-dark .ag-chart-format-section,
.ag-theme-balham-dark .ag-chart-advanced-settings-section,
.ag-theme-balham-auto-dark .ag-chart-data-section,
.ag-theme-balham-auto-dark .ag-chart-format-section,
.ag-theme-balham-auto-dark .ag-chart-advanced-settings-section {
padding-bottom: calc(var(--ag-grid-size) * 0.5);
}
.ag-theme-balham .ag-group-toolbar,
.ag-theme-balham-dark .ag-group-toolbar,
.ag-theme-balham-auto-dark .ag-group-toolbar {
background-color: var(--ag-subheader-toolbar-background-color);
}
.ag-theme-balham .ag-chart-tab,
.ag-theme-balham-dark .ag-chart-tab,
.ag-theme-balham-auto-dark .ag-chart-tab {
padding-top: calc(var(--ag-grid-size) * 0.5);
}
.ag-theme-balham .ag-charts-format-sub-level-group-item,
.ag-theme-balham-dark .ag-charts-format-sub-level-group-item,
.ag-theme-balham-auto-dark .ag-charts-format-sub-level-group-item {
margin-bottom: calc(var(--ag-grid-size) * 1.5);
}
.ag-theme-balham .ag-filter-active .ag-icon-filter,
.ag-theme-balham-dark .ag-filter-active .ag-icon-filter,
.ag-theme-balham-auto-dark .ag-filter-active .ag-icon-filter {
color: var(--ag-balham-active-color);
}
.ag-theme-balham .ag-color-input input[class^=ag-][type=text].ag-input-field-input,
.ag-theme-balham-dark .ag-color-input input[class^=ag-][type=text].ag-input-field-input,
.ag-theme-balham-auto-dark .ag-color-input input[class^=ag-][type=text].ag-input-field-input {
min-height: calc(var(--ag-icon-size) + 4px);
}
.ag-theme-balham .ag-list-item-hovered::after,
.ag-theme-balham-dark .ag-list-item-hovered::after,
.ag-theme-balham-auto-dark .ag-list-item-hovered::after {
background-color: var(--ag-balham-active-color);
}
.ag-theme-balham .ag-pill .ag-pill-button:hover,
.ag-theme-balham-dark .ag-pill .ag-pill-button:hover,
.ag-theme-balham-auto-dark .ag-pill .ag-pill-button:hover {
color: var(--ag-balham-active-color);
}
.ag-theme-balham .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-balham .ag-disabled .ag-icon,
.ag-theme-balham .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-balham [disabled] .ag-icon,
.ag-theme-balham-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-balham-dark .ag-disabled .ag-icon,
.ag-theme-balham-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-balham-dark [disabled] .ag-icon,
.ag-theme-balham-auto-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-balham-auto-dark .ag-disabled .ag-icon,
.ag-theme-balham-auto-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-balham-auto-dark [disabled] .ag-icon {
color: var(--ag-disabled-foreground-color);
}
.ag-theme-balham .ag-filter-panel .ag-standard-button.ag-filter-panel-buttons-apply-button:disabled,
.ag-theme-balham-dark .ag-filter-panel .ag-standard-button.ag-filter-panel-buttons-apply-button:disabled,
.ag-theme-balham-auto-dark .ag-filter-panel .ag-standard-button.ag-filter-panel-buttons-apply-button:disabled {
color: unset;
background-color: unset;
}
.ag-theme-balham .ag-filter-card-title,
.ag-theme-balham-dark .ag-filter-card-title,
.ag-theme-balham-auto-dark .ag-filter-card-title {
font-weight: 600;
}
`,document.head.appendChild(e)}}(),function(){if(typeof document<"u"){var e=document.createElement("style");e.setAttribute("data-ag-scope","legacy"),e.textContent=`@font-face {
font-family: "agGridBalham";
src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABrcAAsAAAAAN4gAABqMAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHItkBmAAjSYKw3S3SwE2AiQDglwLgTAABCAFhEYHhhsb6y9VBoWNAwDF6P6IqOIERFEf9qR69v+n5MYYUoGaPRSsRLkLDn1h4nEsTPOkD3q8Y+vATyTL9CvDCrJEtHG0760OxKRjMjTzG/bzPumSXkjosEOS0OR54Bj5LjrpDrSyVgU84gFN5fu8c9WfNp3JElOmSZsi7QGyEff8KU9On9D7A7/N/3PvpS4ISAo4DEwwiYWIFwvBRgV1ba5Yob3JonVzFeqi8vr2Whe4al+kc1Hu7+u2ZwAQ5O34kbIJlEJr1k1oyVCbJdP6cOfIqtDl1Kl6Rk68karzGb7wtSRrhiQnrkgHABBc3deZf6Kn1Zlh4VLGjH3PL7vOFuDESH624MoAuyV/1ArgerQmnBQ4aWUpvcw0qiYql5fWFvsiwI/WflksWqgMOpGStcXdQ3bmHWYLnr4lxBK/QUhfyKahHu0SlqCRKM1qp5TO/M+llskNAIRFTc78/5O7+z/QXa6Yg+3SYcq/nOsAQAFLQAWUlPBuSKqgOrc5QEd2b0r3TdXKTQ0ih6sOb1beOLGtbwgh2xNedOqo6OVDC2PZzC6PsZln7KNwbRAGNZmN8dHvUQAqbWOU9RkU6Dz46Q1GEXV+Aaw3Fxz39D7o3RjSUlOAfkL5seo064Off9lXdUOJ8h6iEDZ3P2lipWk3bxfjqGnT9I/TcU2MYDBJijq9ammy2LS1Ls7mRFG29Co1mH6pXqO0vm9LZUYQOkNGRa3yLOnGuMp7Y6GUIKIkYqbSH3VZV+uD0gqNocmXfMV09IAWOS5m85KK9vWjIhlGphzv6qOJODjPBRIjJQxSxymxfa3jlk29NmS4mDFyrcDpkm1lt4sd2nqsdXhMdoTFNS1SvCnDSRsIgyOwwU3fRc9pYxJijDeyzIruQHARYRbJN46r67ToXOaRLzHDZITG5gZW5K5pldRVy5f6n7/q4UrCOlqtTWX20AxVZJdqsq0e38cWuB7zMt/8Oner/0ht8nx63scwCiZBFczTZG24QT6e3+VDpsi2wq16e5akQ45wf85FdffI0lp/pkOLM+6gtCLVpp1pakYXy6zPcLp90aeS/kPsDHcnZNHqs/DwU7HPRt+hdc8L+nmoIqmejrW6lNx2jagztrpXlvNeztOg8ROZF7qKqJnN1smZtz7XXWipQg+1LNYq6rr1ni/e5iyDVKOIVqOW7ZqMFxRUQmqawCwD88KxIvbCuEJYFlX8pG1CZArFRIxjl6hwM8+5BrlXslvCw/RM9sJOiRrnbdOaZu1VNJ3bt1CSl4A7IJRH6C2SSpFp6LZOKNzzyheHOlpU9tb4bAh+Gc4mjrTKRtCs+FW3v9pg0nDzLsjUc4vpaaHgt5EjkrEtUOOvpSatO1cNvfNXYwu9a8i+PkGHVVTXzNR0Yr+jKo7vWofLkxz7l5RI/m11VCh8WXvgb/j9go+dgheAQlqgfsXWg3yEf21EYj2Ak+LEX/p9vKwVlIAiMAaKoXC0rxa01GVqjKpV+hjiClCNUhAbnnvnR/bgoHH3vfQhaauvninQ7teOW3QIRmiYm+fKgvOGIE+V1gdmuJTnWiK5So1CVddAtWgtzz+MHTp16dajV59+AwYNGTZi1JhxEyZNmTajw6w58xYs6rdk2YpVa/p1WLehw6Y1W1S9tu3YtWffAUJz6MixE6fOnLuAgoq6gzf950+sOy4vm76BYCWRZgZ9UaSFFeUVqnbVQPFdZS7A+AdtgmuaADe0Dm5pCdzRMrinafBA++CRJsETrYJnmgWvtAbeaAW80xb4QPPgI82BT7QDvtAU+EqL4BvNgO+0DX7QHvhJC+AXbYDftAv+NBxAQBEAIQCMAAhMKQRlyiAYUw7BmQoIwVRCSKYKQjHVEJqpgTBMLYRl6iAcUw+5MA2QK9MI4ZkmiMA0Q0SmBSIxrRCZaYMoTDtEZTogGtMJ0ZkuiMF0Q0ymB2IxvRCb6YM4TD/EZQYgns0bPmQQQoYgZBhCRiBkFGJzRYAICBEgQoAYARIESLEayLBpIUe0oUCAEtuOCtEPNVYPDWIMWpgiSGePG3qEFgYEGBFgQoAZARYEWGGKIRtTAtlFDBwIcCLAGwE+CPBFgB8C/HFYxeFXzD/wHypnqO3V46TIX8H+V80gQPcVmEOdpwAiKm1pPhwVh/rgX8xggmJLpTHE3A4R36dWiAJU8XhRwKB+WCKL9MOjGRQBk8nnh4BukciDQoZQSHtHXzLmSXEN0oSebA8exgwbIQ9lsxn46mvCaYFeIhwfImDzZGIahRSJjFI0Co6HRQjJdPoPe+9x3EvkwfDA/XBhoLcEZ0ipVJxOo0pFhKoyODgtFIpIIjMBCMpKuGcosTmKliqkPJwCwkftrPSQ4azZZ+/flz8ubLt3T/dbybkHD3yejN7+8OHwP4uabg2x3YN59q23h/5eev6u79NR2+4Me8BsulfMRJiwQYkXf1B0ULpFMsSKrZwRfI4HDEEymkdVL5MjeTAcuDQQtoG5I7yF0K1orm220XjwC7GrYWmOYUBIfXH90j3pbd292gqr56BOlZnjTIu902eDYY5duWOm19r4SjBtzQ4a1Zm+daceAbl+Pw+7sIEjvuG7cGXdrXPM93u4vWfrrHYHkh3wJQJlFUjIQi8QSAhp6k2L2Bn2T0gE2WZoyPQPzwqYgAR7RiLuSHRaxD+YMMXGGVafrpr7baKYcQwncRbN4gyS2pCFcyyTS4HLgOxoIdgy8LEA0fbxhvJBHfV4oIXzzDQFXrKMzyVJOAqL4//n6Z0jkXT0Li3dP15wnRy7h/Ikh0ucedvnYX6/bAIFtrble8I/il/ifGEnxdgW/IYax55az4Esqw58Az1Pdv4X2zlvuO0XqCnAcqzdH1X2Qn1yJk8p8pzteJaHFckRwvOmjkaruktSyRYljlbSP3f4FOLj1diWxQrPk4Os7PtQZ8JqdQTI5OHzfDlb55htulI1hHqEY8OBFTV7nuVgVjsDtc/lgZirUnF6pqA0Ex4yDkdwTAcVIdWtmj438NCvRHSCCsXUk4E07TBOQLZdrLoSkSQVlVR+KLqD0bRYmK0V3KBaLiPHVYKCo1waNeirSi8yz9RY/ax1/rBx6Nzcx+V3vrXLq4ZTwh/TYXu4thIlV0eMqtSgEVO5UdBoimMKws6V26fMGcsGk4IaAvmnBQsWSz9klP+HghtqSlhow1dbSBzbl0qqy5oHwej6F19r+Ey8QkiwU4jO9g88gM/lJVML57PVchrZMdoaZf12j/Ni5WCNY0nCl83aYSBpCnWDrnr3GKldmmW0M3YRAUwjTXNRO8Fu4bB8phnHnMJyVpaBd1nx+Ry2PFBsjkM063Kl8Ot04BLAvGFi8FXyxsVWLht8VSsWac9VD9Tw4vtfINuDyO1ue3b4Bl74/PZcEC/mYFye2DH+un0HLd+/nAvhK1Qsbcc5MhdD7+t/bEE8m7QMKciP15161jaSqSoYaQPKhYZa3Dq+9WLyyWmVXs5WHdq0y4wVdCFeWd+oerJ0Ll0+qNIoW3syaWFHFEUcbgXq5ebDWdtEuukU3FeLZod6YAvRvknIZkd6QH6iCYKGRhgTStA3hGCEqT6zRdyZSFNuUsnmoOnsSqzoCU62aCFCA2l7lgIIDuNAHC5AVAZJU0j46Itvn8bk1sebSvmbmXa5+/gqkny0MX9NouO+eEw7b3z6YMWRlXRGN5qqfaGpTDWUOWg+uMKh7OpDPpbH14GVa49gYwXMN0Mj+m6OXnrUXuYZIuBysZR6oURkLzQ8/MHp9+jI8mjzrFwYaUZn1iHRaRxfUtvQ0wq/oh+mhLLYiG6tuaEU5Kh9sKuJig7/kWebSS+rB+a5/4eWZFYFhzmzF5SE2nPSrLWvgeLr1s0IN9ffVqP2n1knD7pxBw96pmXQPPKKY7WNicoOTsEOx6K3IPCqzgZswAZrCALMAGMDcm6p8LbAFBN9cYeW13JFEZ4DEX1Fif5CsmTWjMJ2Tr9CJLecFMoXNUz11ZSUBF60hkv75kPSTWGLzcSkgB1L1jxDSovE3eHHydJ6kmRabtuXF+JNM5earBV8RiUzVr7cmovO958uYqFoli47lsLZiDDNbfahBIrRc5pZEAwYBiQyAAP9yA9sKAloZiUl6/LEpRsXxi/Ss78ZtEM7dlGHv9SMO2rf9HhiZd38fvOZ8dx6yp78yhNwAjK5NvgNA+Vk6VbAvTTSlgIvUV6wpaDdSXBHVBzNd2n2UvSLjyhZ+7BGInszaHKbvX55q0Z6lqXkhrKFvfwl5Qab2yFS3H9++eGuqiTRk5uj5SrJbctvQVv/weUeWzIlCTWONwwpAvmjOL8U09v66/yz3Qsfd+BUa/qPeZB3uYZMPUvEzpBvfixRdIcJx0yJuKPvSGAO/wuGeCqeDIYFhB2mcyNQT4UjMs3Z8z9z1sbja1zokzU0LXL3Y6byts5efKvULkGCkPd7kP0qCi/gIZfo+bwtoMhbQs0esAXnPCCX+iXUgoMzk5XKZDo2hBRdmZysnHneCkZ7IUkIqqbAaHR79mJsMl/rL2desr+WfyByrIPz0MnxA+iGfqNxAOP4H/54/2nuzs94QvXLT2O6J3gOGI2uWmaUrjTpaXzU08Rx1qf/fhDcRJNqofOe2UyuRadLms1s9iMN91oXL75+G/D12a5XCNCueaO8DpAmonsLWu6IVvabT/2v2vn4vZe/Z+/IeFkyPR0NeRF67YPs1iVd/ZNspb/fi73OXFnuIr1aea6ppeO7x4Y3YfZcpfngEBH3pwAs2jRhRFe9sm1aRoTR/4qI+0+bIEGn5y7/kyu4IItlBlx5d+nWpWfituJnx7a2tnaHHA7uIklYJovc3ZfIsr+IazfDcl56pB9QkjxumtCsqm+LmwdSTn2qcl5FvRTOYBMtHQnt0ye9Rc4+1N/fr7GSvNCCQ94i+DGA4oS4/TsDtw5q+osjPF8P+CY5JuRrbGq1TZPv9gtX22zqfI2b0i2Ps1tUJqXSpLIcAmjKpLSoDsKZIV1wUBkUsHns2evem+F73KbIe7g5ybXF9dxcZanq6a8eqAbdPHVuVFSuukHtmxulxupGP/wWyod8J18k/26I3PtUh7zdufP6df/Nm6fPkLya8bcNFgNok3qE5qSeb9KH3u937GgpKUHROEMnH7yzo/N43JEjzb12qQJMoJDaXjTD2SdGjfGSmtAQpNoL0NCw5gOXS/6J7oGEIw19YRaVyhKmDVNaLKpwzF9FB6m/BNuDDTvT6Wf6/CGeH6Y0W1RhG4xbgpKD4INva/oy7M6/E8urZ8xPPomETAxRh0wIGeb+XU3LTt/y/rOmrhG5xwiN93yCzNjxwGOl/I7Qc6J6YHuySPFTNSbwig3m49vY9YYqLdfrtMbvUrlfQYF0DmfrCY5UIhLLOdf6+KxmzqxJM1948PL5nB1eH4ftgkjhH2J+A6VWtJ09WZ/1uw+fjY86kCgW7+ngt8U2qy4pSYkKRPWsmgwmVaK7K5m+iXthrETTFclgbuc74RqXkVwfGr2gcdP7wUCVWak026WYlfaUqM4wuVZYNru8QWiSqxjYBtBVhgW8TgiVXW3TtV3V+XKb90VIvjg09fZuofM3QWNo9Np64KdP7A3SMV12p7OwLm1K89Q0sZHLU3yKHWkcue227ScGN8qDl5E5Na/u8np+s0QoGVowJ79+6FIqg+vH5cOah0NKuOiNBsXbcdGTUP5o9EDmvKUBBdcR+cHWt4Vu0mJJCzzIswryhEnR1pho+0DEwv17vva197aTcRv/Sy8oQ4IKrXFZhiJBmXC03B5DtqQaSvX60tggcUL6ksjBtMIyRG6unLbesA1N8/c/nSAOii3Tx5QaAkWJ6erHm6JUqq4pFDWZ3BgV1mJYtY8F37sBRrSYljk1YLJiOtvJKTRmx6jzDfgawvZtqQPjpCMrDNMcPskPJYdYpfOqFFmXLWf20ReNiCmqUlxRTBUesQCyi0bcv4P0UbjNvKsKTV4QaO70MCPxQcX5GfV1HpXkcrCBU8qcWGdNMDSvCjQ5NQSvrj74BitWURb8YmNG9g9qzhXV1/Hg/+15F9tFfUQf9PcTLoJsMLqMlxqivWkIeipxvQfelmpt5bsIV01cDBFTQ7gBH8p+iDtHnAPVHNftxok+AoJXvWpsb0ypMQjhLhbsQhoa/iD+qG6HgFfyMlYZU5azeUO7Y4o7l99gMJTnikyNPOxUIPCS+s5xSn59G3BotmzJtjeOKV1eS65N21bKUGX4uqdMeS1eeGnG8e46ZlmWpDRjH8/hEDZyHRuWxZaXaXnoLsdbvzunBWPadiRm3RmvAv5YYoCY4dPZSYr73p2MlKgHiAF1nC1tLJ48NixH6j9QSh9edKKPH6Emk9NpteZu17ZiBqC5LXUanS4nAcsbnXDjHfboEVaQPXP1ZfQRX/xMa45OTPbyBU+euB+7n8wi3yScUSd8gwPiXvxfwXd3zRjErrVGT92Hj2WVKUcFZWcMt+jOBxYIx4gSiU7jViQPyQ9M9Y2fVtI0NJ7IRsxhScpRKxjZDFtgRlBWTkSmqp2SqbSFK+0KC91GtxauMqlSwzde+UK1UE1ZDd8nBKTSdHh5/SzPSVEO2aINf+Kq9usJSHN1fT3BXOMVL00sbMuhNN8Z4ZU+Vvbff88hRCDnn37Y/Hv+780PT/NdivkSxTmFZL6iL6L7PXlL/ZYqdgbM8X0ynfScTCv7QPLiXYQsSXZOmgxW15o1DJk+a3lnS8+UkqLVBwyEzyO5PP3sHykpE8uoFEmgPrtjyoYN1vHb9NfKqFWnXB9bW8dW8JlSaXWpmF7JW7+hch3rtwde7+7eHbWa+s8xw19TXzFGKsV49cnN4974+Hb2Rc5m0mbLs5HLZoYqU0wqZ9UyMv0ANnLLW5147X18mDyF3jBn1jeQSnHNJf6vSx/5nuNmGY3tsxtmITf3hZ6IWd0w93LDTPOcueCb1DNhTHBhUFNTUGHwGLdAg33ywqAxwe4M3fK42vLYkpiYktjy1w58aUlMuf41EOWnD9L3wliNB338rP39SNKhdy3LwXBeX1BQY+P0TItunJekCxmDen5foCUwL1ABCsuODszwdjhabkJNLQ7HOhtEJ07gcid6LkQnLCCXK8g03jBt2smT7YuXJCQAyZ8jDQKz0oHytDwqr6V1+PDnPWe71pOWMhj2/DmPu7TbJwdponc5ccWeJT7abne3YhKrZS7bUSlMbXmpHanKTF93hh78vOAvu9qb7ln42rz65bWvnTq6YEeJfgT0fjGbpcWScQRDWbWqWHrGEoC1FpryriRzhFkhcFdtrTAG91rovP75vUTvtscp1+fO5xN8+HBWloTpolOjlT6WJWNaHWaTnqFB3CeWBPpdr+fvtafMtKWcvUBcOGczzbSb9s2XEqEmK/3srrqaeXnui8aLZxtAm7J3niQu1G61eeXtIFroYPPYJ5KXHSSWBPP/pRvz2d3A9meDRPNaE3fcec7Je1JdTe7auWsXCZe55eXXMjKZ6IKxra0fXadWRXm6r1utccX8pvOv6kuKpvS0dH5nUjF4k+Hw4fXrp3Rk6wMlFOrEspSUP86mv3E9KPn9d/aTJ8lYfW7uO68Hv7HWVa7fwKuki0urq6oA142XpT/9NJ+YX56kulNgFAC+jnT/OI+YBzvJPwA6j+xdIV39/c9CnqFgF/VQ8NOHjwIcx0L0+3XMaOszjzWPu4O7+/u7/XGeWbdQux45RaVcQHsLgONocLyqeNuNyGOd/HxFUW7Rm7TmxPdjjGMmGScdgNofIpIyJCd53pLI303JfMXIkWBfqvxhMa8wXLVixpGiYrPZp+VtcojvlOn+CUmmlOzs+VO8uNBttSI3hRKAuYOB/6vUL3Cs2DHPBLyZCgAAaAcm3HZ1YE9cYCh2OAYsQRocZKYe7DkAwve0OeqwMhIiMM4CdB1G3RYyx1rRDr8cwOBVTMdeam7SGHMVyTLGtR/TBzFAMzAieGCfCPR1DhYpsQLzFp0p4+WeacNfMY0JvCkqNIVDqfbFFmC1jqnYbMSGYLbI7MxW7I+KrrsSf9AOFLqmYVMt2azOpaLaWMIhl4ptc2YneOdocbPI0Z390R2YDy8nsRFrwhlNNP3v8O5gT3GZdTzX8JHBwnoAkFH4n5fnebC/yJfA8RLgVzmEXAjA8Ak9g7qmf7GYfhtExeu4Q1ZghvXi+0NCzw95pHOFbf/+YIaDML3FAINALk/ocHmEg01kFOg3LBAsEgXgTwn2HU4FFoQNp4EHDCPMDDERWmaBAKYBBggFBwQkMM8ZjgIHNhPsKXgfoUDw5eFUEMMDQoPgl8OZkI9QvhsLgpFRs3H4is6+oh9x+qZh9hjJ1dy3+U8xOeH2af3Iur8vYoqoZNvNvk3L8Kzat32Uqf0UtjvyXtoQ5YeMrkfV8PLw0Hs+r41MKxy+orOv6MdnAPmbbuTZu9sWOdbJk//ThiT40ITbp/Ujp/8Xz9yjo5KVN/uDnJYn+VlDuW93apQp4j+1Ik7iQyKPfMhWf8h4jvUooYaXh3BLPa9jbbSw85zHzarWipq+AjkUUEIFNTRw9FOk4xTO/qD4l17ygijJiqrphmnZjuv5t/vj+QrCKE7SLC/Kqm7arh/GaV7WbT9OnGAwSRabw+XxBUKRWCKVyRVKlUvXYlmMwxBpQHXCFcYo25RjMgXu3SVaeuqpDLIhX5oRo15aUTK/G9l15/lk74k2HFtSipNjVLpmpc7MpT014iV2waXCY/0y5onTsRHWiEbJFkbCvjRRUspNWnIza1G1XNLOx82QAmon9tOQhrrkMY15pFS98xfEZTcUkxZDdKEcosyhyDXQwlOvlXdcsa+1F7SOh2bCnZvcgYqJeG6ulMXqYWE6YdEOvZctpDIIWymHlctUF9HLKPpupNvMqsKd9P0F0RCX0Q2jFgkXOk6ThmKdlS03MTSGaJNPcK2RqJWczczGUUXwcyoZYHCNWdAISptEqganpNO24rvekauZO1Disx3FZLuNVJ46HWNalXBsRlqiQfPmcBqj67A8oTZJOgPGZOG4DTu3Q2sLsk4BYYAIBAoOBBi2kMCABQ8j/MIGdtBNMEOAPSzQw2EF);
font-weight: normal;
font-style: normal;
}
.ag-theme-balham,
.ag-theme-balham-dark,
.ag-theme-balham-auto-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-advanced-filter-join-pill-color: #f08e8d;
--ag-advanced-filter-column-pill-color: #a6e194;
--ag-advanced-filter-option-pill-color: #f3c08b;
--ag-advanced-filter-value-pill-color: #85c0e4;
--ag-find-match-color: var(--ag-foreground-color);
--ag-find-match-background-color: #ffff00;
--ag-find-active-match-color: var(--ag-foreground-color);
--ag-find-active-match-background-color: #ffa500;
--ag-input-focus-box-shadow: 0 0 2px 1px var(--ag-input-focus-border-color);
--ag-input-error-focus-box-shadow: 0 0 2px 1px var(--ag-invalid-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-panel-background-color: var(--ag-header-background-color);
--ag-filter-panel-apply-button-color: var(--ag-background-color);
--ag-filter-panel-apply-button-background-color: var(--ag-balham-active-color);
--ag-column-panel-apply-button-color: var(--ag-background-color);
--ag-column-panel-apply-button-background-color: var(--ag-balham-active-color);
--ag-column-drag-indicator-color: var(--ag-balham-active-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-row-numbers-selected-color: color-mix(in srgb, transparent, var(--ag-balham-active-color) 50%);
--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-chart-menu-panel-width: 240px;
--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-advanced-filter-join-pill-color: #7a3a37;
--ag-advanced-filter-column-pill-color: #355f2d;
--ag-advanced-filter-option-pill-color: #5a3168;
--ag-advanced-filter-value-pill-color: #374c86;
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-filter-panel-apply-button-color: var(--ag-foreground-color);
--ag-column-panel-apply-button-color: var(--ag-foreground-color);
--ag-secondary-foreground-color: var(--ag-foreground-color);
--ag-disabled-foreground-color: rgba(245, 245, 245, 0.38);
--ag-subheader-toolbar-background-color: rgba(17, 17, 17, 0.5);
--ag-row-border-color: #5c5c5c;
--ag-chip-background-color: rgba(245, 245, 245, 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: rgba(240, 240, 240, 0.3);
--ag-header-foreground-color: rgba(245, 245, 245, 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-input-error-focus-box-shadow: 0 0 4px 1.5px
color-mix(in srgb, var(--ag-background-color), var(--ag-invalid-color) 0.5%);
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
.ag-theme-balham-auto-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-advanced-filter-join-pill-color: #7a3a37;
--ag-advanced-filter-column-pill-color: #355f2d;
--ag-advanced-filter-option-pill-color: #5a3168;
--ag-advanced-filter-value-pill-color: #374c86;
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-filter-panel-apply-button-color: var(--ag-foreground-color);
--ag-column-panel-apply-button-color: var(--ag-foreground-color);
--ag-secondary-foreground-color: var(--ag-foreground-color);
--ag-disabled-foreground-color: rgba(245, 245, 245, 0.38);
--ag-subheader-toolbar-background-color: rgba(17, 17, 17, 0.5);
--ag-row-border-color: #5c5c5c;
--ag-chip-background-color: rgba(245, 245, 245, 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: rgba(240, 240, 240, 0.3);
--ag-header-foreground-color: rgba(245, 245, 245, 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-input-error-focus-box-shadow: 0 0 4px 1.5px
color-mix(in srgb, var(--ag-background-color), var(--ag-invalid-color) 0.5%);
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
}
.ag-theme-balham .ag-filter-toolpanel-header,
.ag-theme-balham .ag-filter-toolpanel-search,
.ag-theme-balham .ag-status-bar,
.ag-theme-balham .ag-header-row,
.ag-theme-balham .ag-row-number-cell,
.ag-theme-balham .ag-multi-filter-group-title-bar,
.ag-theme-balham-dark .ag-filter-toolpanel-header,
.ag-theme-balham-dark .ag-filter-toolpanel-search,
.ag-theme-balham-dark .ag-status-bar,
.ag-theme-balham-dark .ag-header-row,
.ag-theme-balham-dark .ag-row-number-cell,
.ag-theme-balham-dark .ag-multi-filter-group-title-bar,
.ag-theme-balham-auto-dark .ag-filter-toolpanel-header,
.ag-theme-balham-auto-dark .ag-filter-toolpanel-search,
.ag-theme-balham-auto-dark .ag-status-bar,
.ag-theme-balham-auto-dark .ag-header-row,
.ag-theme-balham-auto-dark .ag-row-number-cell,
.ag-theme-balham-auto-dark .ag-multi-filter-group-title-bar {
font-weight: 600;
color: var(--ag-header-foreground-color);
}
.ag-theme-balham .ag-ltr input[class^=ag-]:not([type]), .ag-theme-balham .ag-ltr input[class^=ag-][type=text], .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=date], .ag-theme-balham .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-balham .ag-ltr textarea[class^=ag-], .ag-theme-balham-dark .ag-ltr input[class^=ag-]:not([type]), .ag-theme-balham-dark .ag-ltr input[class^=ag-][type=text], .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=date], .ag-theme-balham-dark .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-balham-dark .ag-ltr textarea[class^=ag-], .ag-theme-balham-auto-dark .ag-ltr input[class^=ag-]:not([type]), .ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=text], .ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=number], .ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=tel], .ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=date], .ag-theme-balham-auto-dark .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-balham-auto-dark .ag-ltr textarea[class^=ag-] {
padding-left: var(--ag-grid-size);
}
.ag-theme-balham .ag-rtl input[class^=ag-]:not([type]), .ag-theme-balham .ag-rtl input[class^=ag-][type=text], .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=date], .ag-theme-balham .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-balham .ag-rtl textarea[class^=ag-], .ag-theme-balham-dark .ag-rtl input[class^=ag-]:not([type]), .ag-theme-balham-dark .ag-rtl input[class^=ag-][type=text], .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=date], .ag-theme-balham-dark .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-balham-dark .ag-rtl textarea[class^=ag-], .ag-theme-balham-auto-dark .ag-rtl input[class^=ag-]:not([type]), .ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=text], .ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=number], .ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=tel], .ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=date], .ag-theme-balham-auto-dark .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-balham-auto-dark .ag-rtl textarea[class^=ag-] {
padding-right: var(--ag-grid-size);
}
.ag-theme-balham .ag-column-drop-vertical-empty-message,
.ag-theme-balham .ag-status-bar,
.ag-theme-balham-dark .ag-column-drop-vertical-empty-message,
.ag-theme-balham-dark .ag-status-bar,
.ag-theme-balham-auto-dark .ag-column-drop-vertical-empty-message,
.ag-theme-balham-auto-dark .ag-status-bar {
font-weight: 600;
color: var(--ag-disabled-foreground-color);
}
.ag-theme-balham.ag-dnd-ghost,
.ag-theme-balham-dark.ag-dnd-ghost,
.ag-theme-balham-auto-dark.ag-dnd-ghost {
font-size: var(--ag-font-size);
font-weight: 600;
}
.ag-theme-balham .ag-tab,
.ag-theme-balham-dark .ag-tab,
.ag-theme-balham-auto-dark .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 .ag-tab-selected,
.ag-theme-balham-dark .ag-tab-selected,
.ag-theme-balham-auto-dark .ag-tab-selected {
background-color: var(--ag-background-color);
border-color: var(--ag-border-color);
border-bottom-color: transparent;
}
.ag-theme-balham .ag-tabs-header,
.ag-theme-balham-dark .ag-tabs-header,
.ag-theme-balham-auto-dark .ag-tabs-header {
border-bottom: 1px solid var(--ag-border-color);
}
.ag-theme-balham .ag-column-drop-cell,
.ag-theme-balham-dark .ag-column-drop-cell,
.ag-theme-balham-auto-dark .ag-column-drop-cell {
height: calc(var(--ag-grid-size) * 6);
}
.ag-theme-balham .ag-column-drop-vertical-title,
.ag-theme-balham-dark .ag-column-drop-vertical-title,
.ag-theme-balham-auto-dark .ag-column-drop-vertical-title {
color: var(--ag-foreground-color);
}
.ag-theme-balham .ag-column-drop-vertical-cell,
.ag-theme-balham-dark .ag-column-drop-vertical-cell,
.ag-theme-balham-auto-dark .ag-column-drop-vertical-cell {
margin-left: calc(var(--ag-grid-size) * 2);
margin-right: calc(var(--ag-grid-size) * 2);
}
.ag-theme-balham .ag-column-drop-vertical-cell-text,
.ag-theme-balham-dark .ag-column-drop-vertical-cell-text,
.ag-theme-balham-auto-dark .ag-column-drop-vertical-cell-text {
margin-left: calc(var(--ag-grid-size) * 2);
}
.ag-theme-balham .ag-column-drop-vertical-icon,
.ag-theme-balham-dark .ag-column-drop-vertical-icon,
.ag-theme-balham-auto-dark .ag-column-drop-vertical-icon {
color: var(--ag-secondary-foreground-color);
}
.ag-theme-balham .ag-ltr .ag-column-drop-vertical-empty-message, .ag-theme-balham-dark .ag-ltr .ag-column-drop-vertical-empty-message, .ag-theme-balham-auto-dark .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 .ag-rtl .ag-column-drop-vertical-empty-message, .ag-theme-balham-dark .ag-rtl .ag-column-drop-vertical-empty-message, .ag-theme-balham-auto-dark .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 .ag-column-drop-horizontal,
.ag-theme-balham-dark .ag-column-drop-horizontal,
.ag-theme-balham-auto-dark .ag-column-drop-horizontal {
height: var(--ag-header-height);
}
.ag-theme-balham .ag-column-drop-empty,
.ag-theme-balham-dark .ag-column-drop-empty,
.ag-theme-balham-auto-dark .ag-column-drop-empty {
color: var(--ag-disabled-foreground-color);
}
.ag-theme-balham .ag-column-drop-horizontal-cell-text,
.ag-theme-balham-dark .ag-column-drop-horizontal-cell-text,
.ag-theme-balham-auto-dark .ag-column-drop-horizontal-cell-text {
margin-left: calc(var(--ag-grid-size) * 2);
}
.ag-theme-balham .ag-column-drop-vertical,
.ag-theme-balham-dark .ag-column-drop-vertical,
.ag-theme-balham-auto-dark .ag-column-drop-vertical {
padding-top: calc(var(--ag-grid-size) * 2);
}
.ag-theme-balham .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-balham .ag-column-select-column-readonly .ag-icon-grip,
.ag-theme-balham-dark .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-balham-dark .ag-column-select-column-readonly .ag-icon-grip,
.ag-theme-balham-auto-dark .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-balham-auto-dark .ag-column-select-column-readonly .ag-icon-grip {
opacity: 0.35;
}
.ag-theme-balham .ag-menu-header,
.ag-theme-balham-dark .ag-menu-header,
.ag-theme-balham-auto-dark .ag-menu-header {
background-color: var(--ag-header-background-color);
}
.ag-theme-balham .ag-overlay-loading-center,
.ag-theme-balham .ag-overlay-exporting-center,
.ag-theme-balham-dark .ag-overlay-loading-center,
.ag-theme-balham-dark .ag-overlay-exporting-center,
.ag-theme-balham-auto-dark .ag-overlay-loading-center,
.ag-theme-balham-auto-dark .ag-overlay-exporting-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 .ag-tooltip,
.ag-theme-balham-dark .ag-tooltip,
.ag-theme-balham-auto-dark .ag-tooltip {
border: none;
}
.ag-theme-balham .ag-panel-title-bar-button-icon,
.ag-theme-balham-dark .ag-panel-title-bar-button-icon,
.ag-theme-balham-auto-dark .ag-panel-title-bar-button-icon {
font-size: calc(var(--ag-icon-size) + var(--ag-grid-size));
}
.ag-theme-balham .ag-panel,
.ag-theme-balham-dark .ag-panel,
.ag-theme-balham-auto-dark .ag-panel {
background-color: var(--ag-header-background-color);
}
.ag-theme-balham .ag-chart-data-section,
.ag-theme-balham .ag-chart-format-section,
.ag-theme-balham .ag-chart-advanced-settings-section,
.ag-theme-balham-dark .ag-chart-data-section,
.ag-theme-balham-dark .ag-chart-format-section,
.ag-theme-balham-dark .ag-chart-advanced-settings-section,
.ag-theme-balham-auto-dark .ag-chart-data-section,
.ag-theme-balham-auto-dark .ag-chart-format-section,
.ag-theme-balham-auto-dark .ag-chart-advanced-settings-section {
padding-bottom: calc(var(--ag-grid-size) * 0.5);
}
.ag-theme-balham .ag-group-toolbar,
.ag-theme-balham-dark .ag-group-toolbar,
.ag-theme-balham-auto-dark .ag-group-toolbar {
background-color: var(--ag-subheader-toolbar-background-color);
}
.ag-theme-balham .ag-chart-tab,
.ag-theme-balham-dark .ag-chart-tab,
.ag-theme-balham-auto-dark .ag-chart-tab {
padding-top: calc(var(--ag-grid-size) * 0.5);
}
.ag-theme-balham .ag-charts-format-sub-level-group-item,
.ag-theme-balham-dark .ag-charts-format-sub-level-group-item,
.ag-theme-balham-auto-dark .ag-charts-format-sub-level-group-item {
margin-bottom: calc(var(--ag-grid-size) * 1.5);
}
.ag-theme-balham .ag-filter-active .ag-icon-filter,
.ag-theme-balham-dark .ag-filter-active .ag-icon-filter,
.ag-theme-balham-auto-dark .ag-filter-active .ag-icon-filter {
color: var(--ag-balham-active-color);
}
.ag-theme-balham .ag-color-input input[class^=ag-][type=text].ag-input-field-input,
.ag-theme-balham-dark .ag-color-input input[class^=ag-][type=text].ag-input-field-input,
.ag-theme-balham-auto-dark .ag-color-input input[class^=ag-][type=text].ag-input-field-input {
min-height: calc(var(--ag-icon-size) + 4px);
}
.ag-theme-balham .ag-list-item-hovered::after,
.ag-theme-balham-dark .ag-list-item-hovered::after,
.ag-theme-balham-auto-dark .ag-list-item-hovered::after {
background-color: var(--ag-balham-active-color);
}
.ag-theme-balham .ag-pill .ag-pill-button:hover,
.ag-theme-balham-dark .ag-pill .ag-pill-button:hover,
.ag-theme-balham-auto-dark .ag-pill .ag-pill-button:hover {
color: var(--ag-balham-active-color);
}
.ag-theme-balham .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-balham .ag-disabled .ag-icon,
.ag-theme-balham .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-balham [disabled] .ag-icon,
.ag-theme-balham-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-balham-dark .ag-disabled .ag-icon,
.ag-theme-balham-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-balham-dark [disabled] .ag-icon,
.ag-theme-balham-auto-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-balham-auto-dark .ag-disabled .ag-icon,
.ag-theme-balham-auto-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-balham-auto-dark [disabled] .ag-icon {
color: var(--ag-disabled-foreground-color);
}
.ag-theme-balham .ag-filter-panel .ag-standard-button.ag-filter-panel-buttons-apply-button:disabled,
.ag-theme-balham-dark .ag-filter-panel .ag-standard-button.ag-filter-panel-buttons-apply-button:disabled,
.ag-theme-balham-auto-dark .ag-filter-panel .ag-standard-button.ag-filter-panel-buttons-apply-button:disabled {
color: unset;
background-color: unset;
}
.ag-theme-balham .ag-filter-card-title,
.ag-theme-balham-dark .ag-filter-card-title,
.ag-theme-balham-auto-dark .ag-filter-card-title {
font-weight: 600;
}
`,document.head.appendChild(e)}}(),function(){if(typeof document<"u"){var e=document.createElement("style");e.setAttribute("data-ag-scope","legacy"),e.textContent=`.ag-theme-material,
.ag-theme-material-dark,
.ag-theme-material-auto-dark {
--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: rgba(238, 238, 238, 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-row-numbers-selected-color: color-mix(in srgb, transparent, var(--ag-material-accent-color) 50%);
--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: rgba(33, 150, 243, 0.3);
--ag-checkbox-unchecked-color: #333;
--ag-value-change-value-highlight-background-color: #00acc1;
--ag-side-button-selected-background-color: transparent;
--ag-advanced-filter-join-pill-color: #f08e8d;
--ag-advanced-filter-column-pill-color: #a6e194;
--ag-advanced-filter-option-pill-color: #f3c08b;
--ag-advanced-filter-value-pill-color: #85c0e4;
--ag-find-match-color: var(--ag-foreground-color);
--ag-find-match-background-color: #ffff00;
--ag-find-active-match-color: var(--ag-foreground-color);
--ag-find-active-match-background-color: #ffa500;
--ag-filter-panel-apply-button-color: var(--ag-material-primary-color);
--ag-filter-panel-apply-button-background-color: transparent;
--ag-column-panel-apply-button-color: var(--ag-material-primary-color);
--ag-column-panel-apply-button-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, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell,
"Helvetica Neue", 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-input-error-focus-box-shadow: 0 0 0 5px
color-mix(in srgb, var(--ag-background-color), var(--ag-invalid-color) 0.5%);
--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-dark {
--ag-material-primary-color: #3f51b5;
--ag-material-accent-color: #bb86fcff;
--ag-range-selection-border-color: var(--ag-material-accent-color);
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-background-color: #121212ff;
--ag-foreground-color: #ffffffff;
--ag-data-color: #f5f5f5ff;
--ag-header-cell-hover-background-color: #000000ff;
--ag-advanced-filter-join-pill-color: #7a3a37ff;
--ag-advanced-filter-column-pill-color: #355f2dff;
--ag-advanced-filter-option-pill-color: #5a3168ff;
--ag-advanced-filter-value-pill-color: #374c86ff;
--ag-input-disabled-border-color: #3a434eff;
--ag-input-disabled-background-color: #68686e12;
--ag-selected-row-background-color: #bb86fc33;
--ag-row-hover-color: #bb86fc33;
--ag-column-hover-color: #f5f5f50d;
--ag-range-selection-background-color: #bb86fc1a;
--ag-range-selection-background-color-2: #bb86fc30;
--ag-range-selection-background-color-3: #bb86fc45;
--ag-range-selection-background-color-4: #bb86fc57;
--ag-border-color: #383838ff;
--ag-secondary-border-color: #383838ff;
--ag-header-background-color: #121212ff;
--ag-tooltip-background-color: #212b38ff;
--ag-odd-row-background-color: #121212ff;
--ag-control-panel-background-color: #2c2c2cff;
--ag-subheader-background-color: #ffffff0d;
--ag-subheader-toolbar-background-color: #2c2c2cff;
--ag-invalid-color: #e02525ff;
--ag-checkbox-unchecked-color: #797e87ff;
--ag-checkbox-background-color: #121212ff;
--ag-secondary-foreground-color: #f5f5f5ff;
--ag-input-border-color: #383838ff;
--ag-input-border-color-invalid: #e02525ff;
--ag-disabled-foreground-color: #f5f5f580;
--ag-chip-background-color: #22262812;
--ag-side-button-selected-background-color: #2c2c2cff;
--ag-selected-tab-underline-color: #3f51b5ff;
--ag-modal-overlay-background-color: #121212a8;
--ag-value-change-delta-up-color: #43a047a8;
--ag-value-change-delta-down-color: #e53935ff;
--ag-menu-background-color: #2c2c2cff;
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
.ag-theme-material-auto-dark {
--ag-material-primary-color: #3f51b5;
--ag-material-accent-color: #bb86fcff;
--ag-range-selection-border-color: var(--ag-material-accent-color);
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-background-color: #121212ff;
--ag-foreground-color: #ffffffff;
--ag-data-color: #f5f5f5ff;
--ag-header-cell-hover-background-color: #000000ff;
--ag-advanced-filter-join-pill-color: #7a3a37ff;
--ag-advanced-filter-column-pill-color: #355f2dff;
--ag-advanced-filter-option-pill-color: #5a3168ff;
--ag-advanced-filter-value-pill-color: #374c86ff;
--ag-input-disabled-border-color: #3a434eff;
--ag-input-disabled-background-color: #68686e12;
--ag-selected-row-background-color: #bb86fc33;
--ag-row-hover-color: #bb86fc33;
--ag-column-hover-color: #f5f5f50d;
--ag-range-selection-background-color: #bb86fc1a;
--ag-range-selection-background-color-2: #bb86fc30;
--ag-range-selection-background-color-3: #bb86fc45;
--ag-range-selection-background-color-4: #bb86fc57;
--ag-border-color: #383838ff;
--ag-secondary-border-color: #383838ff;
--ag-header-background-color: #121212ff;
--ag-tooltip-background-color: #212b38ff;
--ag-odd-row-background-color: #121212ff;
--ag-control-panel-background-color: #2c2c2cff;
--ag-subheader-background-color: #ffffff0d;
--ag-subheader-toolbar-background-color: #2c2c2cff;
--ag-invalid-color: #e02525ff;
--ag-checkbox-unchecked-color: #797e87ff;
--ag-checkbox-background-color: #121212ff;
--ag-secondary-foreground-color: #f5f5f5ff;
--ag-input-border-color: #383838ff;
--ag-input-border-color-invalid: #e02525ff;
--ag-disabled-foreground-color: #f5f5f580;
--ag-chip-background-color: #22262812;
--ag-side-button-selected-background-color: #2c2c2cff;
--ag-selected-tab-underline-color: #3f51b5ff;
--ag-modal-overlay-background-color: #121212a8;
--ag-value-change-delta-up-color: #43a047a8;
--ag-value-change-delta-down-color: #e53935ff;
--ag-menu-background-color: #2c2c2cff;
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
}
.ag-theme-material .ag-filter-toolpanel-header,
.ag-theme-material .ag-filter-toolpanel-search,
.ag-theme-material .ag-status-bar,
.ag-theme-material .ag-header-row,
.ag-theme-material .ag-row-number-cell,
.ag-theme-material .ag-panel-title-bar-title,
.ag-theme-material .ag-multi-filter-group-title-bar,
.ag-theme-material-dark .ag-filter-toolpanel-header,
.ag-theme-material-dark .ag-filter-toolpanel-search,
.ag-theme-material-dark .ag-status-bar,
.ag-theme-material-dark .ag-header-row,
.ag-theme-material-dark .ag-row-number-cell,
.ag-theme-material-dark .ag-panel-title-bar-title,
.ag-theme-material-dark .ag-multi-filter-group-title-bar,
.ag-theme-material-auto-dark .ag-filter-toolpanel-header,
.ag-theme-material-auto-dark .ag-filter-toolpanel-search,
.ag-theme-material-auto-dark .ag-status-bar,
.ag-theme-material-auto-dark .ag-header-row,
.ag-theme-material-auto-dark .ag-row-number-cell,
.ag-theme-material-auto-dark .ag-panel-title-bar-title,
.ag-theme-material-auto-dark .ag-multi-filter-group-title-bar {
font-size: calc(var(--ag-font-size) - 1px);
font-weight: 600;
color: var(--ag-header-foreground-color);
}
.ag-theme-material .ag-tab,
.ag-theme-material-dark .ag-tab,
.ag-theme-material-auto-dark .ag-tab {
height: calc(var(--ag-grid-size) * 4.5);
flex: 1 1 auto;
}
.ag-theme-material .ag-tabs-header,
.ag-theme-material .ag-column-drop-horizontal,
.ag-theme-material-dark .ag-tabs-header,
.ag-theme-material-dark .ag-column-drop-horizontal,
.ag-theme-material-auto-dark .ag-tabs-header,
.ag-theme-material-auto-dark .ag-column-drop-horizontal {
background-color: var(--ag-subheader-background-color);
}
.ag-theme-material .ag-tabs-body,
.ag-theme-material-dark .ag-tabs-body,
.ag-theme-material-auto-dark .ag-tabs-body {
padding: calc(var(--ag-grid-size) * 0.5) 0;
}
.ag-theme-material .ag-tabs-body .ag-menu-list,
.ag-theme-material-dark .ag-tabs-body .ag-menu-list,
.ag-theme-material-auto-dark .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,
.ag-theme-material-dark .ag-header-cell,
.ag-theme-material-dark .ag-header-group-cell,
.ag-theme-material-auto-dark .ag-header-cell,
.ag-theme-material-auto-dark .ag-header-group-cell {
transition: background-color 0.5s;
}
.ag-theme-material .ag-row-last:not(.ag-row-first) .ag-cell-inline-editing,
.ag-theme-material-dark .ag-row-last:not(.ag-row-first) .ag-cell-inline-editing,
.ag-theme-material-auto-dark .ag-row-last:not(.ag-row-first) .ag-cell-inline-editing {
bottom: 0;
}
.ag-theme-material .ag-cell-inline-editing,
.ag-theme-material-dark .ag-cell-inline-editing,
.ag-theme-material-auto-dark .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,
.ag-theme-material-dark .ag-has-focus .ag-cell-inline-editing,
.ag-theme-material-auto-dark .ag-has-focus .ag-cell-inline-editing {
border-color: var(--ag-input-focus-border-color) !important;
}
.ag-theme-material .ag-column-drop-vertical,
.ag-theme-material-dark .ag-column-drop-vertical,
.ag-theme-material-auto-dark .ag-column-drop-vertical {
border-bottom: solid 1px;
border-bottom-color: var(--ag-border-color);
padding-top: var(--ag-grid-size);
}
.ag-theme-material .ag-column-drop-vertical.ag-last-column-drop,
.ag-theme-material-dark .ag-column-drop-vertical.ag-last-column-drop,
.ag-theme-material-auto-dark .ag-column-drop-vertical.ag-last-column-drop {
border-bottom: none;
}
.ag-theme-material .ag-column-drop-vertical-cell,
.ag-theme-material-dark .ag-column-drop-vertical-cell,
.ag-theme-material-auto-dark .ag-column-drop-vertical-cell {
margin-left: 0;
}
.ag-theme-material .ag-column-drop-vertical-empty-message,
.ag-theme-material-dark .ag-column-drop-vertical-empty-message,
.ag-theme-material-auto-dark .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, .ag-theme-material-dark .ag-ltr .ag-column-drop-vertical-empty-message, .ag-theme-material-auto-dark .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, .ag-theme-material-dark .ag-rtl .ag-column-drop-vertical-empty-message, .ag-theme-material-auto-dark .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,
.ag-theme-material-dark .ag-status-bar,
.ag-theme-material-auto-dark .ag-status-bar {
border: solid 1px;
border-color: var(--ag-border-color);
}
.ag-theme-material .ag-column-panel-column-select,
.ag-theme-material-dark .ag-column-panel-column-select,
.ag-theme-material-auto-dark .ag-column-panel-column-select {
border-top: solid 1px;
border-top-color: var(--ag-border-color);
}
.ag-theme-material .ag-column-select,
.ag-theme-material .ag-column-select-header,
.ag-theme-material-dark .ag-column-select,
.ag-theme-material-dark .ag-column-select-header,
.ag-theme-material-auto-dark .ag-column-select,
.ag-theme-material-auto-dark .ag-column-select-header {
border-bottom: solid 1px;
border-bottom-color: var(--ag-border-color);
}
.ag-theme-material .ag-column-select-header,
.ag-theme-material-dark .ag-column-select-header,
.ag-theme-material-auto-dark .ag-column-select-header {
height: var(--ag-header-height);
}
.ag-theme-material .ag-group-title-bar,
.ag-theme-material-dark .ag-group-title-bar,
.ag-theme-material-auto-dark .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,
.ag-theme-material-dark .ag-charts-format-sub-level-group-title-bar,
.ag-theme-material-auto-dark .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,
.ag-theme-material .ag-chart-advanced-settings-section,
.ag-theme-material-dark .ag-chart-data-section,
.ag-theme-material-dark .ag-chart-format-section,
.ag-theme-material-dark .ag-chart-advanced-settings-section,
.ag-theme-material-auto-dark .ag-chart-data-section,
.ag-theme-material-auto-dark .ag-chart-format-section,
.ag-theme-material-auto-dark .ag-chart-advanced-settings-section {
padding-bottom: calc(var(--ag-grid-size) * 0.5);
}
.ag-theme-material input[class^=ag-]:not([type]),
.ag-theme-material input[class^=ag-][type=text],
.ag-theme-material input[class^=ag-][type=number],
.ag-theme-material input[class^=ag-][type=tel],
.ag-theme-material input[class^=ag-][type=date],
.ag-theme-material input[class^=ag-][type=datetime-local],
.ag-theme-material textarea[class^=ag-],
.ag-theme-material-dark input[class^=ag-]:not([type]),
.ag-theme-material-dark input[class^=ag-][type=text],
.ag-theme-material-dark input[class^=ag-][type=number],
.ag-theme-material-dark input[class^=ag-][type=tel],
.ag-theme-material-dark input[class^=ag-][type=date],
.ag-theme-material-dark input[class^=ag-][type=datetime-local],
.ag-theme-material-dark textarea[class^=ag-],
.ag-theme-material-auto-dark input[class^=ag-]:not([type]),
.ag-theme-material-auto-dark input[class^=ag-][type=text],
.ag-theme-material-auto-dark input[class^=ag-][type=number],
.ag-theme-material-auto-dark input[class^=ag-][type=tel],
.ag-theme-material-auto-dark input[class^=ag-][type=date],
.ag-theme-material-auto-dark input[class^=ag-][type=datetime-local],
.ag-theme-material-auto-dark textarea[class^=ag-] {
background: transparent;
color: var(--ag-foreground-color);
font-family: inherit;
font-size: inherit;
padding-bottom: var(--ag-grid-size);
border-width: 0;
border-radius: 0;
border-bottom: 2px solid;
border-bottom-color: var(--ag-border-color);
}
.ag-theme-material input[class^=ag-]:not([type]):not(textarea),
.ag-theme-material input[class^=ag-][type=text]:not(textarea),
.ag-theme-material input[class^=ag-][type=number]:not(textarea),
.ag-theme-material input[class^=ag-][type=tel]:not(textarea),
.ag-theme-material input[class^=ag-][type=date]:not(textarea),
.ag-theme-material input[class^=ag-][type=datetime-local]:not(textarea),
.ag-theme-material textarea[class^=ag-]:not(textarea),
.ag-theme-material-dark input[class^=ag-]:not([type]):not(textarea),
.ag-theme-material-dark input[class^=ag-][type=text]:not(textarea),
.ag-theme-material-dark input[class^=ag-][type=number]:not(textarea),
.ag-theme-material-dark input[class^=ag-][type=tel]:not(textarea),
.ag-theme-material-dark input[class^=ag-][type=date]:not(textarea),
.ag-theme-material-dark input[class^=ag-][type=datetime-local]:not(textarea),
.ag-theme-material-dark textarea[class^=ag-]:not(textarea),
.ag-theme-material-auto-dark input[class^=ag-]:not([type]):not(textarea),
.ag-theme-material-auto-dark input[class^=ag-][type=text]:not(textarea),
.ag-theme-material-auto-dark input[class^=ag-][type=number]:not(textarea),
.ag-theme-material-auto-dark input[class^=ag-][type=tel]:not(textarea),
.ag-theme-material-auto-dark input[class^=ag-][type=date]:not(textarea),
.ag-theme-material-auto-dark input[class^=ag-][type=datetime-local]:not(textarea),
.ag-theme-material-auto-dark textarea[class^=ag-]:not(textarea) {
height: calc(var(--ag-grid-size) * 5);
}
.ag-theme-material input[class^=ag-]:not([type]):focus,
.ag-theme-material input[class^=ag-][type=text]: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=date]:focus,
.ag-theme-material input[class^=ag-][type=datetime-local]:focus,
.ag-theme-material textarea[class^=ag-]:focus,
.ag-theme-material-dark input[class^=ag-]:not([type]):focus,
.ag-theme-material-dark input[class^=ag-][type=text]:focus,
.ag-theme-material-dark input[class^=ag-][type=number]:focus,
.ag-theme-material-dark input[class^=ag-][type=tel]:focus,
.ag-theme-material-dark input[class^=ag-][type=date]:focus,
.ag-theme-material-dark input[class^=ag-][type=datetime-local]:focus,
.ag-theme-material-dark textarea[class^=ag-]:focus,
.ag-theme-material-auto-dark input[class^=ag-]:not([type]):focus,
.ag-theme-material-auto-dark input[class^=ag-][type=text]:focus,
.ag-theme-material-auto-dark input[class^=ag-][type=number]:focus,
.ag-theme-material-auto-dark input[class^=ag-][type=tel]:focus,
.ag-theme-material-auto-dark input[class^=ag-][type=date]:focus,
.ag-theme-material-auto-dark input[class^=ag-][type=datetime-local]:focus,
.ag-theme-material-auto-dark 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=text]::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=date]::placeholder,
.ag-theme-material input[class^=ag-][type=datetime-local]::placeholder,
.ag-theme-material textarea[class^=ag-]::placeholder,
.ag-theme-material-dark input[class^=ag-]:not([type])::placeholder,
.ag-theme-material-dark input[class^=ag-][type=text]::placeholder,
.ag-theme-material-dark input[class^=ag-][type=number]::placeholder,
.ag-theme-material-dark input[class^=ag-][type=tel]::placeholder,
.ag-theme-material-dark input[class^=ag-][type=date]::placeholder,
.ag-theme-material-dark input[class^=ag-][type=datetime-local]::placeholder,
.ag-theme-material-dark textarea[class^=ag-]::placeholder,
.ag-theme-material-auto-dark input[class^=ag-]:not([type])::placeholder,
.ag-theme-material-auto-dark input[class^=ag-][type=text]::placeholder,
.ag-theme-material-auto-dark input[class^=ag-][type=number]::placeholder,
.ag-theme-material-auto-dark input[class^=ag-][type=tel]::placeholder,
.ag-theme-material-auto-dark input[class^=ag-][type=date]::placeholder,
.ag-theme-material-auto-dark input[class^=ag-][type=datetime-local]::placeholder,
.ag-theme-material-auto-dark 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=text]: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=date]:disabled,
.ag-theme-material input[class^=ag-][type=datetime-local]:disabled,
.ag-theme-material textarea[class^=ag-]:disabled,
.ag-theme-material-dark input[class^=ag-]:not([type]):disabled,
.ag-theme-material-dark input[class^=ag-][type=text]:disabled,
.ag-theme-material-dark input[class^=ag-][type=number]:disabled,
.ag-theme-material-dark input[class^=ag-][type=tel]:disabled,
.ag-theme-material-dark input[class^=ag-][type=date]:disabled,
.ag-theme-material-dark input[class^=ag-][type=datetime-local]:disabled,
.ag-theme-material-dark textarea[class^=ag-]:disabled,
.ag-theme-material-auto-dark input[class^=ag-]:not([type]):disabled,
.ag-theme-material-auto-dark input[class^=ag-][type=text]:disabled,
.ag-theme-material-auto-dark input[class^=ag-][type=number]:disabled,
.ag-theme-material-auto-dark input[class^=ag-][type=tel]:disabled,
.ag-theme-material-auto-dark input[class^=ag-][type=date]:disabled,
.ag-theme-material-auto-dark input[class^=ag-][type=datetime-local]:disabled,
.ag-theme-material-auto-dark 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=text]: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=date]:invalid,
.ag-theme-material input[class^=ag-][type=datetime-local]:invalid,
.ag-theme-material textarea[class^=ag-]:invalid,
.ag-theme-material-dark input[class^=ag-]:not([type]):invalid,
.ag-theme-material-dark input[class^=ag-][type=text]:invalid,
.ag-theme-material-dark input[class^=ag-][type=number]:invalid,
.ag-theme-material-dark input[class^=ag-][type=tel]:invalid,
.ag-theme-material-dark input[class^=ag-][type=date]:invalid,
.ag-theme-material-dark input[class^=ag-][type=datetime-local]:invalid,
.ag-theme-material-dark textarea[class^=ag-]:invalid,
.ag-theme-material-auto-dark input[class^=ag-]:not([type]):invalid,
.ag-theme-material-auto-dark input[class^=ag-][type=text]:invalid,
.ag-theme-material-auto-dark input[class^=ag-][type=number]:invalid,
.ag-theme-material-auto-dark input[class^=ag-][type=tel]:invalid,
.ag-theme-material-auto-dark input[class^=ag-][type=date]:invalid,
.ag-theme-material-auto-dark input[class^=ag-][type=datetime-local]:invalid,
.ag-theme-material-auto-dark 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,
.ag-theme-material-dark .ag-standard-button,
.ag-theme-material-auto-dark .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,
.ag-theme-material-dark .ag-standard-button:disabled,
.ag-theme-material-auto-dark .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,
.ag-theme-material-dark.ag-dnd-ghost,
.ag-theme-material-auto-dark.ag-dnd-ghost {
font-size: calc(var(--ag-font-size) - 1px);
font-weight: 600;
}
.ag-theme-material .ag-filter-toolpanel-header,
.ag-theme-material-dark .ag-filter-toolpanel-header,
.ag-theme-material-auto-dark .ag-filter-toolpanel-header {
height: calc(var(--ag-grid-size) * 4);
}
.ag-theme-material .ag-filter-toolpanel-group-level-0-header,
.ag-theme-material-dark .ag-filter-toolpanel-group-level-0-header,
.ag-theme-material-auto-dark .ag-filter-toolpanel-group-level-0-header {
height: calc(var(--ag-grid-size) * 7);
}
.ag-theme-material .ag-filter-card-title,
.ag-theme-material-dark .ag-filter-card-title,
.ag-theme-material-auto-dark .ag-filter-card-title {
font-size: calc(var(--ag-font-size) - 1px);
font-weight: 600;
}
.ag-theme-material .ag-filter-panel .ag-standard-button,
.ag-theme-material-dark .ag-filter-panel .ag-standard-button,
.ag-theme-material-auto-dark .ag-filter-panel .ag-standard-button {
padding: var(--ag-grid-size);
}
.ag-theme-material .ag-filter-add-button,
.ag-theme-material-dark .ag-filter-add-button,
.ag-theme-material-auto-dark .ag-filter-add-button {
border-bottom: 2px solid var(--ag-material-primary-color);
}
.ag-theme-material .ag-filter-add-button .ag-icon,
.ag-theme-material-dark .ag-filter-add-button .ag-icon,
.ag-theme-material-auto-dark .ag-filter-add-button .ag-icon {
color: var(--ag-material-active-color);
}
.ag-theme-material .ag-ltr .ag-filter-apply-panel-button, .ag-theme-material .ag-ltr .ag-advanced-filter-apply-button, .ag-theme-material .ag-ltr .ag-advanced-filter-builder-button, .ag-theme-material-dark .ag-ltr .ag-filter-apply-panel-button, .ag-theme-material-dark .ag-ltr .ag-advanced-filter-apply-button, .ag-theme-material-dark .ag-ltr .ag-advanced-filter-builder-button, .ag-theme-material-auto-dark .ag-ltr .ag-filter-apply-panel-button, .ag-theme-material-auto-dark .ag-ltr .ag-advanced-filter-apply-button, .ag-theme-material-auto-dark .ag-ltr .ag-advanced-filter-builder-button {
margin-left: var(--ag-grid-size);
}
.ag-theme-material .ag-rtl .ag-filter-apply-panel-button, .ag-theme-material .ag-rtl .ag-advanced-filter-apply-button, .ag-theme-material .ag-rtl .ag-advanced-filter-builder-button, .ag-theme-material-dark .ag-rtl .ag-filter-apply-panel-button, .ag-theme-material-dark .ag-rtl .ag-advanced-filter-apply-button, .ag-theme-material-dark .ag-rtl .ag-advanced-filter-builder-button, .ag-theme-material-auto-dark .ag-rtl .ag-filter-apply-panel-button, .ag-theme-material-auto-dark .ag-rtl .ag-advanced-filter-apply-button, .ag-theme-material-auto-dark .ag-rtl .ag-advanced-filter-builder-button {
margin-right: var(--ag-grid-size);
}
.ag-theme-material .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-material .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-material .ag-layout-print .ag-center-cols-viewport,
.ag-theme-material .ag-layout-print .ag-center-cols-container,
.ag-theme-material-dark .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-material-dark .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-material-dark .ag-layout-print .ag-center-cols-viewport,
.ag-theme-material-dark .ag-layout-print .ag-center-cols-container,
.ag-theme-material-auto-dark .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-material-auto-dark .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-material-auto-dark .ag-layout-print .ag-center-cols-viewport,
.ag-theme-material-auto-dark .ag-layout-print .ag-center-cols-container {
min-height: 150px;
}
.ag-theme-material .ag-picker-field-wrapper:focus-within,
.ag-theme-material-dark .ag-picker-field-wrapper:focus-within,
.ag-theme-material-auto-dark .ag-picker-field-wrapper:focus-within {
box-shadow: 0 0 0 1px var(--ag-material-primary-color);
}
.ag-theme-material .ag-rich-select-list,
.ag-theme-material-dark .ag-rich-select-list,
.ag-theme-material-auto-dark .ag-rich-select-list {
box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px;
}
.ag-theme-material .ag-advanced-filter-builder-button-label,
.ag-theme-material-dark .ag-advanced-filter-builder-button-label,
.ag-theme-material-auto-dark .ag-advanced-filter-builder-button-label {
text-transform: uppercase;
}
.ag-theme-material .ag-filter-active .ag-icon-filter,
.ag-theme-material-dark .ag-filter-active .ag-icon-filter,
.ag-theme-material-auto-dark .ag-filter-active .ag-icon-filter {
color: var(--ag-material-accent-color);
}
.ag-theme-material .ag-list-item-hovered::after,
.ag-theme-material-dark .ag-list-item-hovered::after,
.ag-theme-material-auto-dark .ag-list-item-hovered::after {
background-color: var(--ag-material-primary-color);
}
.ag-theme-material .ag-pill .ag-pill-button:hover,
.ag-theme-material-dark .ag-pill .ag-pill-button:hover,
.ag-theme-material-auto-dark .ag-pill .ag-pill-button:hover {
color: var(--ag-material-primary-color);
}
.ag-theme-material .ag-header-highlight-before::after,
.ag-theme-material .ag-header-highlight-after::after,
.ag-theme-material-dark .ag-header-highlight-before::after,
.ag-theme-material-dark .ag-header-highlight-after::after,
.ag-theme-material-auto-dark .ag-header-highlight-before::after,
.ag-theme-material-auto-dark .ag-header-highlight-after::after {
background-color: var(--ag-material-primary-color);
}
.ag-theme-material .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-material .ag-disabled .ag-icon,
.ag-theme-material .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-material [disabled] .ag-icon,
.ag-theme-material-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-material-dark .ag-disabled .ag-icon,
.ag-theme-material-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-material-dark [disabled] .ag-icon,
.ag-theme-material-auto-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-material-auto-dark .ag-disabled .ag-icon,
.ag-theme-material-auto-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-material-auto-dark [disabled] .ag-icon {
color: var(--ag-disabled-foreground-color);
}
`,document.head.appendChild(e)}}(),function(){if(typeof document<"u"){var e=document.createElement("style");e.setAttribute("data-ag-scope","legacy"),e.textContent=`@font-face {
font-family: "agGridMaterial";
src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABZQAAsAAAAAL8gAABX+AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHItkBmAAjSYKs2CqQQE2AiQDgmgLgTYABCAFhF4HhkIbrClVBDYOAAp8YUL2/9cEKSNmyMulLaJuYkm1oqKy9FiOakGnfexb/SBrV3TNoHbYatUmH9MLTy4P+YJwCS85tzc52B+FmWjKRO1GOISDbcYzN+5PGP6zy1BKImIs3ScKAKnECAAsIAldJTq+2pzPqzO/LTlRwkcItiVbxjtToIC0DH2dcO40dB6OALjc/Vgiz08PthpCAU1sU4QJRXka4Jh/8NvqAUZToogJ3wysplzR9eRjNbp7BrAR4VaChc7xjWtvEzbLypO9KLbw7uCCywBogACCg5Dp1mt/g4HBaeIRGAUS6xDKbUBvE6tRaQDTd6bgnIO0PGbJEn7t+N613sxBYWZzW2LHz1d9EPYgk/nEKz4XaAuJzdrjMgoDlvj+4JymNrVjuLoiEOoS0AFhahs7hsCJYH9qfrNT2+xhwSljtvxS6iSD4EiwxBPCVyKAwK15j9dTUGxQDiZB/Z/Osj3dBZAmOAkXFZbYVTMjGf6f0dryojwrYyU7zltFIdlBBsORjh1AKirgLi9tqp6LJmV7L0VTxa1lxO0vmNqj+c9Y04ddB1rNqMiQ0EiZfc2x63o5CqBp3Sl1fPkpqsv3wysMovhFC7A/aGH5Pb4LNhxENSsUsA8gOahq0jvf3233t1GH+Zcat/u5B82QpmzaplOSosSI+jNxBp1gsUmqHDPYos3h0sI+zuWVInWhCZIIs3qnQZppp1RmAGWywtkRzCLXnDqdb7k1dikliFL8mK0VXdp5NW1vaYHGYggJ5xcd792joIGLuQKneoe6MZGMTro8e18XTcTDBc7RMupCL1JMUtpd6cZGdtLQ4GJWwbDAmRJZ6oNiRckg7AnY3BKKGwqq2dsynLSGsnguaIDxYe8pJTYhpgsKTnF6V1BcRJhE6/vMuJyqWcdiD3yyoiQpIGNyLSouvKSokr61i0rLs68a4FqEVSwIpzK7WA2lqF3d4Fps336buA7TYl/8Pd+8jgZld3pqLhOmrDjW3mmFXiFev1t/yRbRdvFFnYZGmvEUd5/zMXWDo9GufKoimx3upJKKekmZTWrDFMuob3CmPaVOJeYZvYPDMY7GVpLCkz9RJmnUFcXUdgSTznP3ON+RoumdpzJl+VJdVy6Sep1buUCeJnTEE2petDmXqwrsgW6oe1q9qQPxi7Aqp66zu2iXJyxXe1FFg+ZtGi3P8ihfMoxACIs8e8iLtTBswW55lR61TmHrGEYXsdou3MZNYEWPlDJ2DG6nHVkL2z4qmHaN2xR7j2Du3JiRAgdgH7ZsoTiJUGXy6pYZQesdL3xyoKKR0ljGncF6Ybhp4lBRLRQy835p0r+ExU+5pmHVVHOz7smmBb2FtkjDNYOUH2ZGLTuzagfdV8YUal8ffUmF7LciTZsNRZX+MipF+4Y9vkDS9k+nhYZXfkigePAFf5Nvv3BXVEGFIi3Cn8HJC/EA/4VF5C9wpzx8oT8Knt4QqIASWAZlKNb6aqFCRH0ZUVS9NdQVoI1RUSueeuNbxJxW3PXcuyhSkrsF5Sg8bNYuECEv66a5VkfRlot6Skm9RQakeKqOSEObQkXk5DEFRf/8HWNFVU1dh05duvXo1affgEFDho0YNWbchIpJU6bNmNVtzrwFi5YsW7FqTcW6DZuITlu27di1Zx+lOXDoyLETp86cQyHF9+Az/+evnng+bxmhhYvDRNoZzD2RNp2o0UawkzZQ3qnxAKysyBl4TFbBE3ICnpJ98IwcgOdkA7wgN+AlWQOvyBF4TbbAW3IM3pFD8J6cgw9kB3wk2+ATuQRfyDr4SvbAN7IJvpML8INcg59kF/wip+A3uQJ/NrmFgChREBAUDASFgFKFoJQaBKPUITilASEoTQhJaUEoShtCUzoQhtIFYSndkBOlB3Km9EIulD4IR+mH8JQBiEAZhIiUIYhEGYbIlBGIQhmFqJQxiEYZh+iUCYhBmYSYlCmIRZmG2JQZiEOZhbiUDsQj5iDEPIRYgBCLEGIJYtZV+UChCoCgQiCoCAgqBoJKgKBSIKgMCCoHgipA6UBKlFYVEFQNBNWAUoK0ZrupDshM9UBQAxDUCAQ1AUHNQFALKGXISqlANlRc7UBQBxDUCwjqDQT1AYL6AkH9AFDFnc1s/vNP7USzwb3CW9sASsFaIumPAwL1GHgT87qmFbI1g87EzNpYKjGUo5CEHSWyCsi8OcjaJ5XXbwm+JPNDi4MjkjIMk7FEA/mYxuuC7QPtqfChA1vOZ0PEciax399Cn5HjZPAVsGg6oBQiQZzzPJHEcTLBoS+FPLOEInFcFq6weQcKGqINdABr4EeO4+af4EwqdxpAyBcqgAbx7BfzPk76PMXqRQKyhgyCYaBVq1CRsqiQBUcrkqM81xbS7PHyMHaPYMgEkNebVR5VX6dR4O48hNmrI9ShWZwPS6Gc6/SVUcFfP8+hRYOjZMjibPa4Cm6AONTj66to5QFifpgyLpxbhgiU6w0UPIM40coquRElOypr6jKT1HK2hSlSmF11TGWbMb6v5MUq7Oz+3W11N31USkPdP63gxP9XyIo3VvBFvZmOl62piq2xVMwk5TB/swUUUphuC082YJPbfBS3Z8+3cZv91tPMgnDCykfYVoI43bRt8/AFji+UeW5+RJjrimf0V+Am8JTgC7vBkwQ4zgxjgMG+KIKpBIZh5Ga7WGZTkTQKHwBU1Lwtu09RF+9V9F9tUVGnVWMNolyzabOht2dqYFAj/sAnEC5t1txWduxpfMYFCIEhx0KhmODT68didrgK3FnZp+oOwbABXBfFXN+6gL31buUABldzziUvGPRSOVH1ZGhNWufQWRrM5TeVMgGNxXtdaI3BYCNLSw2Fg14Edpm6R+/7VHbPnks4wfkKVmAu+C43XeSpC2fSOT5FJy1baGyjOV29hRcX7u4rZW42T+BBh2zsGrxOmOCR3id5zNny/MgRW63o7ryYUS3L3sfDnQ0AF2i4UeV8Rs51QjYRGJjgp6uGtDfn4p2rPwwPBXaDsvr///ndT639aMd2wYAd12F40+Hty98KxfzD0NDr2Q3htoYGSHBftYt31fg/87/HAL1BdijUG+Pn/rOZXzf9MxIOVtDqIT5el9aO2glwQcWwpiE6a+XKL2SBcpiWVLwUQ+msdhsPEBMVgWSPmw9yvFs0A1n028/iZCPnrDbuHEl1br5m9ai/fqfsUPj5cTO/wn27YsvuLCrHapfuzguyJ/f/72f/LgobUsjGKgRj5aLxwkBDJGDRqDRWJXEBYbV5FYNoFeUhyjvL08fsP7k5v5slZb/Vcx/+OsNfTfL+F/zPclO805bDBuywi8QOjDy/XyIzifeWiqQ0UGIGZHT+xCm04k6kIqfSUnjaOo/XFuNbAAVC4sdQURLl9Ey50melH6zcNNtXLQ8IL+z4BCSRaUOI6iWXYs77uUvBTbOHmetm5dQiYdaNOf1svo5pmSOlTSVJc6XumHhsbn5K3G9f4zwtslw0nIg1K+6dblKdvLF48Yk6JBebJaL+00WVrxsweDCDTGf40z/VfgHw2+9u7gPHldqF9JeToi/6Lb0w3alQ4fPGOZHK+MYjmA1f0hSeQOMNW3ceH5wBlsrD/RwFO02dHByhI97cZmYOZ0+IjNp8RkGhxXiTZHmH+Zw3oANXjvoajQulyYIuTttBNgNJIEC5Z5EYATzrb8XYjuJSPRB8Oa/n/WrRqvirEtsMCfD0+fohY0i5u+U+OVugokl8dHCyklg9PXQqebkWd0hZJGlupC6rHIVx95LiyKrcvhT25/Hripv3vGLhnLR26XxDL5kpjLzJ5FtY6e8q0Je5yh80b+p7rLWp0REivyrxYgmrGH8z4hlyWBImrbs0qjDcQPPGAv4ei6klo2kYgSQC/YqRbAo5JYeS6pyBi9XDyvXbKs4tnqoUXvh3mSaRk1mbS0zbfcfHIr6g2oFJpXf5iDR+m5fyCjf8cASLS39uADMq9fq/0b9/0g8JhRBzajnoOcBNs3anKidpx8384d/Xyxd+dWWSXpdmMDjWufiAN4HPjIxxDXvz4sogps8btbyQUbjPXy7R9pb6al1laDtBXBjEH/SgER8ghEhuY8LI5qDOVmFYOvMJjfhjJzWTnUQ88h2Reo2RbIc8+UUzrlly6axd+qSro0MX8KH/iFYLhxiiSafRNjz55dmYbon33jblDgRpycQVztXqPeFy7C/e8B/r5E/xrqxgQ65VLi5wLZPbuHafA5nMSYe7iAKLh9xpcB+xCBZ7YTye0rVB+/dOzldnAt7Z5+Q1CVVxcVUJNd+SdbYq7j35b8cMY4pzZwWK1cA58RphbNV2xfZX/HWCdXrz+r/WQ/wZvZ1X2KSXnddkmFfw3WEidjRaXt7jR2p1Xr7ePxoSKgtVZzfbxSVFqqTa9vD6rkqlrKvD41NTHqvr40ePP0396KNjr8VurJ+DD+GGvjkGmBJjzqxYG+oBdOuYzZA9wugBFZsAZ94pb95S/0qzGUIIt0wIsPgo37St8DkLED4LWEkci48AU/mc/xyi9uiG9Pyo674gbvKnJsl66W7O57iApoCogMaAuNV/JvfQF+Pu323YdBg3bROYQVrESVWzDsc9J51JTVF/9XBorAfrCVTXZH+Kbbfj5pR1MUTXL6J9NBKf4mK3HU5dnzm50Wkunk7PTBT7Y05bVsneOJCLKE4q19/i+iDc+VsXyjaLjbQex9VJ+d94URxtywayXFw+eETpTD4WrAnS0oOBttl+g9DOks6eorddIF6rpEePhNvY9VDkEGp01GoMi4veCYFWCodo4zuvGJyYEfoGEV9sd82d6XYq+5Rttu1JFqM9h+sjDNbhz8o+6cZiXMvJWVys8gY22eRPx8ut+MAmH5dsWvH+sZYVLulEMuuP5NL00u4J9IENMcKBLMxrEW26dZZyjO5Mjy3eUbQ59qClDdGHSIFjw83EgjfYRwhnSA1L2awA5oBEKCyJbirge3G9Vre681rQWlmekLMnuwmnyM/myGyZcTuyJSMcVoDvfzxulpvAyHj/OfhVF6SXle+J2XfweaBP7DEw/ngBJlb7cr34XqqjVT14HodYeTY0JyQkp8SsMyWiNQTPeNrJ7nzK3iwYqMyYCENUIoNIhphQE/zOvn1LOOR0zDMjakKBTZErRUoFtq4AT+hyfzf10/JkLjJM18lrJmlbiJTXZFJdm1RThJ+H86uNvYDX33r9oDCEQeJnCn1GhDGMYCuxxOr4+Ko1Zg2JUg9kmDFolY/mb1D3isG84DOWqpa3hZDNDZL8fEnDSdnJwy4jx9GnGpJ9FRkZcQewnmo2iAywzbzxtxtQw3gdA2AeM4lMac6gV3beISePlxeU53pTVR4qDMnNDRGGlic2Ib2TkwykSUjdZRKz4iBqb/OnD/4t+Hf6ExawOla2IAn4kg8iB1mYGfudoAPdrtqOQllse3ujn9fLr0JCdLrlTVoxuryMirWblnXAJiUovUPveZ/ivVBvMUZxxqKLcd+N/Tc8PzYsNwbdm3AzM1g/9ia88f/l6ch5c1QfpKlfYi916pA/vvb6xgr/Er/2dr8S/4oXZp1tb38vucL/haK9Vf2+1oq4Uja7NK5ikYw3X8quiFtMHRKM7zhrsrLWHNpsZw6Jf122uZyqd3bm4JPX7EqHhajdJl+Br8j3xgZ9he7NzcoxnlZO7QwKSPleQ/n9h6WPIEsjR/pqLfzoo8Gf9EajAsY8BagAho/dem51Bs18HO7fv/+6IaFxHOWLpLTalMTBT61VV4hENvzm3bsu8FdlJN61zwdhzmUZxWJvdE1VpUCAYTHXroPDlLsy/SLmDdatu5iOsT6KtJ8+Dp2aYsfRLPQXCkaM9TfkNXCAaRbPC84+w261mCdDeZevpV27gnJlYi622y0tkFugSWJv04ZdWaXr6dcvN0OUp95FTw0UF6DhIcVA29vsSHb8LCVjw39kYAMvpdeB4qgDR6Yj9EcbolM/lV+RkxfXr9f29fb1acGYQNVSJxL9N89TEyL+VPID91YAtbk4itXzGqGY+XuujjgPOef4tRHxBu1T2V/4eaf/ypsTfgF+bZDje7bXjlGukf2z69uYNLyX7/Tu1ZX7KRebfTCR48UlamD+J12AhmqiathTZT+gjpjNOn+d2SyRU2tGXKiuRYOD6JXT6L1/LhUoIdIIxuV58UiAfoWlgKWJI5ZD/l/OzQf7XRUifz1zctmCpcFTC7ZQN6GWChSWI/PjtHoiE+sUKjp/4L20Oti259WIdEwikjSIGuLXVyKyvzojmoG7d2NGRyljo5yNZ3ncQwr3w4O4wcMMxUUuVxF6mAI7vf+f/93IoV28jQ2ELAApn8tM7CzZe0RYxJTA9DmaSNNh4iKbCA2ma/sE3nChXYTbJluZV/k2wtt0GI/EjqRKFbloKV6fqGY27D90K2fh5RdTRbBDwtWVz+EfKjuWTbOOauMiBpiQU3WxW1y95AxCGgUJG2v7Ib5SVZaRShKqauoJDtB0vBc8A/5EGSdtLisRDltge5Gh4XTDzqJ8ZU+Cctyb4CSfBd/L1rWK4CU9mXefIKqL3fxvj18Gf2jYWDUx5Tcbe4IegDLb727tCjn9U/TeCuq3qUMIkpuj+e0w8Y2s0PxjW/35IwnRuhtsQ98AbexM0G+t3gGP2sYDqsa+ZMhL1gAi7B4YtegUaVCCDeiqRY/JBkuwYu47dMF6IIBiYQsKDMMhEBWq8A8IFh0GikVHiQa98Dqdw7I4IEVo4Dx+fSWYxfkFwmuJ7iMoSoT0DUNNMDoa6Zv4hVIiU3fb35z0XyOhzN5J1w3LrkzhTtV3XnjsXjEppsRdFn5Eq/1MNd9fX/tJH73lcQ3Ca4nuY7iyog/pG3NDFZcexOhYq+WvEAq+60zdbX9jbLyWJFuqoOuG5SZYpnA3W1F90AuPQr6yLAwhRcAzmdX+I9pQ97MCfr6/jk7Om+reWrFeCq4FUOSz38jIBqFodBZWxs8VfGD+4LfwPTheECVZUTXdMC3bcb3r7f54+kEYxUma5UVZ1U3b9cM4zcu67YcHzzz3wkuvvPbGW++898FHn3z2xVfffPfDT7/89sdf//xvBCsIBtDItAUlPC+bcGwD61ILA7+ZbNlOFlNrLxA9WWG0TwMvzLaI7upoPpEcKsoYCRTPTg1XMooe2EwsJseDJWX7zagjlT2bpAJW0TU287K1xaVs2jNt2lebst0Wv156p5wM1ju6XfzRlARltinKWz7SFdNtx0nRJlTMbSiuucnsoE2aXrdSUMn9bqcEFynsjH0Rx7jCZpxUdxy1pJlQEu5TqoGUeA6nzbmzuIkotTkm1hOZfTNshqrKZNj746M4aiXCTJvSJ9wrj4WGcTynnaiE2od5jtqZchdBb8XNnKkgUid3jw/IGWmnbucDTb5rabNY4Y7b3Eluw52qNRoqB1RK03ruVt232KHD1bQInRlYlcc9qayc91rDmcThQs0HO1HR1FzMBw5hztUexR+uAecaHFHXQSCQihiZKywnmXkyWDB/VbY08VZNAQAA);
font-weight: normal;
font-style: normal;
}
.ag-theme-material,
.ag-theme-material-dark,
.ag-theme-material-auto-dark {
--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: rgba(238, 238, 238, 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-row-numbers-selected-color: color-mix(in srgb, transparent, var(--ag-material-accent-color) 50%);
--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: rgba(33, 150, 243, 0.3);
--ag-checkbox-unchecked-color: #333;
--ag-value-change-value-highlight-background-color: #00acc1;
--ag-side-button-selected-background-color: transparent;
--ag-advanced-filter-join-pill-color: #f08e8d;
--ag-advanced-filter-column-pill-color: #a6e194;
--ag-advanced-filter-option-pill-color: #f3c08b;
--ag-advanced-filter-value-pill-color: #85c0e4;
--ag-find-match-color: var(--ag-foreground-color);
--ag-find-match-background-color: #ffff00;
--ag-find-active-match-color: var(--ag-foreground-color);
--ag-find-active-match-background-color: #ffa500;
--ag-filter-panel-apply-button-color: var(--ag-material-primary-color);
--ag-filter-panel-apply-button-background-color: transparent;
--ag-column-panel-apply-button-color: var(--ag-material-primary-color);
--ag-column-panel-apply-button-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, -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell,
"Helvetica Neue", 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-input-error-focus-box-shadow: 0 0 0 5px
color-mix(in srgb, var(--ag-background-color), var(--ag-invalid-color) 0.5%);
--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-dark {
--ag-material-primary-color: #3f51b5;
--ag-material-accent-color: #bb86fcff;
--ag-range-selection-border-color: var(--ag-material-accent-color);
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-background-color: #121212ff;
--ag-foreground-color: #ffffffff;
--ag-data-color: #f5f5f5ff;
--ag-header-cell-hover-background-color: #000000ff;
--ag-advanced-filter-join-pill-color: #7a3a37ff;
--ag-advanced-filter-column-pill-color: #355f2dff;
--ag-advanced-filter-option-pill-color: #5a3168ff;
--ag-advanced-filter-value-pill-color: #374c86ff;
--ag-input-disabled-border-color: #3a434eff;
--ag-input-disabled-background-color: #68686e12;
--ag-selected-row-background-color: #bb86fc33;
--ag-row-hover-color: #bb86fc33;
--ag-column-hover-color: #f5f5f50d;
--ag-range-selection-background-color: #bb86fc1a;
--ag-range-selection-background-color-2: #bb86fc30;
--ag-range-selection-background-color-3: #bb86fc45;
--ag-range-selection-background-color-4: #bb86fc57;
--ag-border-color: #383838ff;
--ag-secondary-border-color: #383838ff;
--ag-header-background-color: #121212ff;
--ag-tooltip-background-color: #212b38ff;
--ag-odd-row-background-color: #121212ff;
--ag-control-panel-background-color: #2c2c2cff;
--ag-subheader-background-color: #ffffff0d;
--ag-subheader-toolbar-background-color: #2c2c2cff;
--ag-invalid-color: #e02525ff;
--ag-checkbox-unchecked-color: #797e87ff;
--ag-checkbox-background-color: #121212ff;
--ag-secondary-foreground-color: #f5f5f5ff;
--ag-input-border-color: #383838ff;
--ag-input-border-color-invalid: #e02525ff;
--ag-disabled-foreground-color: #f5f5f580;
--ag-chip-background-color: #22262812;
--ag-side-button-selected-background-color: #2c2c2cff;
--ag-selected-tab-underline-color: #3f51b5ff;
--ag-modal-overlay-background-color: #121212a8;
--ag-value-change-delta-up-color: #43a047a8;
--ag-value-change-delta-down-color: #e53935ff;
--ag-menu-background-color: #2c2c2cff;
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
.ag-theme-material-auto-dark {
--ag-material-primary-color: #3f51b5;
--ag-material-accent-color: #bb86fcff;
--ag-range-selection-border-color: var(--ag-material-accent-color);
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-background-color: #121212ff;
--ag-foreground-color: #ffffffff;
--ag-data-color: #f5f5f5ff;
--ag-header-cell-hover-background-color: #000000ff;
--ag-advanced-filter-join-pill-color: #7a3a37ff;
--ag-advanced-filter-column-pill-color: #355f2dff;
--ag-advanced-filter-option-pill-color: #5a3168ff;
--ag-advanced-filter-value-pill-color: #374c86ff;
--ag-input-disabled-border-color: #3a434eff;
--ag-input-disabled-background-color: #68686e12;
--ag-selected-row-background-color: #bb86fc33;
--ag-row-hover-color: #bb86fc33;
--ag-column-hover-color: #f5f5f50d;
--ag-range-selection-background-color: #bb86fc1a;
--ag-range-selection-background-color-2: #bb86fc30;
--ag-range-selection-background-color-3: #bb86fc45;
--ag-range-selection-background-color-4: #bb86fc57;
--ag-border-color: #383838ff;
--ag-secondary-border-color: #383838ff;
--ag-header-background-color: #121212ff;
--ag-tooltip-background-color: #212b38ff;
--ag-odd-row-background-color: #121212ff;
--ag-control-panel-background-color: #2c2c2cff;
--ag-subheader-background-color: #ffffff0d;
--ag-subheader-toolbar-background-color: #2c2c2cff;
--ag-invalid-color: #e02525ff;
--ag-checkbox-unchecked-color: #797e87ff;
--ag-checkbox-background-color: #121212ff;
--ag-secondary-foreground-color: #f5f5f5ff;
--ag-input-border-color: #383838ff;
--ag-input-border-color-invalid: #e02525ff;
--ag-disabled-foreground-color: #f5f5f580;
--ag-chip-background-color: #22262812;
--ag-side-button-selected-background-color: #2c2c2cff;
--ag-selected-tab-underline-color: #3f51b5ff;
--ag-modal-overlay-background-color: #121212a8;
--ag-value-change-delta-up-color: #43a047a8;
--ag-value-change-delta-down-color: #e53935ff;
--ag-menu-background-color: #2c2c2cff;
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
}
.ag-theme-material .ag-filter-toolpanel-header,
.ag-theme-material .ag-filter-toolpanel-search,
.ag-theme-material .ag-status-bar,
.ag-theme-material .ag-header-row,
.ag-theme-material .ag-row-number-cell,
.ag-theme-material .ag-panel-title-bar-title,
.ag-theme-material .ag-multi-filter-group-title-bar,
.ag-theme-material-dark .ag-filter-toolpanel-header,
.ag-theme-material-dark .ag-filter-toolpanel-search,
.ag-theme-material-dark .ag-status-bar,
.ag-theme-material-dark .ag-header-row,
.ag-theme-material-dark .ag-row-number-cell,
.ag-theme-material-dark .ag-panel-title-bar-title,
.ag-theme-material-dark .ag-multi-filter-group-title-bar,
.ag-theme-material-auto-dark .ag-filter-toolpanel-header,
.ag-theme-material-auto-dark .ag-filter-toolpanel-search,
.ag-theme-material-auto-dark .ag-status-bar,
.ag-theme-material-auto-dark .ag-header-row,
.ag-theme-material-auto-dark .ag-row-number-cell,
.ag-theme-material-auto-dark .ag-panel-title-bar-title,
.ag-theme-material-auto-dark .ag-multi-filter-group-title-bar {
font-size: calc(var(--ag-font-size) - 1px);
font-weight: 600;
color: var(--ag-header-foreground-color);
}
.ag-theme-material .ag-tab,
.ag-theme-material-dark .ag-tab,
.ag-theme-material-auto-dark .ag-tab {
height: calc(var(--ag-grid-size) * 4.5);
flex: 1 1 auto;
}
.ag-theme-material .ag-tabs-header,
.ag-theme-material .ag-column-drop-horizontal,
.ag-theme-material-dark .ag-tabs-header,
.ag-theme-material-dark .ag-column-drop-horizontal,
.ag-theme-material-auto-dark .ag-tabs-header,
.ag-theme-material-auto-dark .ag-column-drop-horizontal {
background-color: var(--ag-subheader-background-color);
}
.ag-theme-material .ag-tabs-body,
.ag-theme-material-dark .ag-tabs-body,
.ag-theme-material-auto-dark .ag-tabs-body {
padding: calc(var(--ag-grid-size) * 0.5) 0;
}
.ag-theme-material .ag-tabs-body .ag-menu-list,
.ag-theme-material-dark .ag-tabs-body .ag-menu-list,
.ag-theme-material-auto-dark .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,
.ag-theme-material-dark .ag-header-cell,
.ag-theme-material-dark .ag-header-group-cell,
.ag-theme-material-auto-dark .ag-header-cell,
.ag-theme-material-auto-dark .ag-header-group-cell {
transition: background-color 0.5s;
}
.ag-theme-material .ag-row-last:not(.ag-row-first) .ag-cell-inline-editing,
.ag-theme-material-dark .ag-row-last:not(.ag-row-first) .ag-cell-inline-editing,
.ag-theme-material-auto-dark .ag-row-last:not(.ag-row-first) .ag-cell-inline-editing {
bottom: 0;
}
.ag-theme-material .ag-cell-inline-editing,
.ag-theme-material-dark .ag-cell-inline-editing,
.ag-theme-material-auto-dark .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,
.ag-theme-material-dark .ag-has-focus .ag-cell-inline-editing,
.ag-theme-material-auto-dark .ag-has-focus .ag-cell-inline-editing {
border-color: var(--ag-input-focus-border-color) !important;
}
.ag-theme-material .ag-column-drop-vertical,
.ag-theme-material-dark .ag-column-drop-vertical,
.ag-theme-material-auto-dark .ag-column-drop-vertical {
border-bottom: solid 1px;
border-bottom-color: var(--ag-border-color);
padding-top: var(--ag-grid-size);
}
.ag-theme-material .ag-column-drop-vertical.ag-last-column-drop,
.ag-theme-material-dark .ag-column-drop-vertical.ag-last-column-drop,
.ag-theme-material-auto-dark .ag-column-drop-vertical.ag-last-column-drop {
border-bottom: none;
}
.ag-theme-material .ag-column-drop-vertical-cell,
.ag-theme-material-dark .ag-column-drop-vertical-cell,
.ag-theme-material-auto-dark .ag-column-drop-vertical-cell {
margin-left: 0;
}
.ag-theme-material .ag-column-drop-vertical-empty-message,
.ag-theme-material-dark .ag-column-drop-vertical-empty-message,
.ag-theme-material-auto-dark .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, .ag-theme-material-dark .ag-ltr .ag-column-drop-vertical-empty-message, .ag-theme-material-auto-dark .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, .ag-theme-material-dark .ag-rtl .ag-column-drop-vertical-empty-message, .ag-theme-material-auto-dark .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,
.ag-theme-material-dark .ag-status-bar,
.ag-theme-material-auto-dark .ag-status-bar {
border: solid 1px;
border-color: var(--ag-border-color);
}
.ag-theme-material .ag-column-panel-column-select,
.ag-theme-material-dark .ag-column-panel-column-select,
.ag-theme-material-auto-dark .ag-column-panel-column-select {
border-top: solid 1px;
border-top-color: var(--ag-border-color);
}
.ag-theme-material .ag-column-select,
.ag-theme-material .ag-column-select-header,
.ag-theme-material-dark .ag-column-select,
.ag-theme-material-dark .ag-column-select-header,
.ag-theme-material-auto-dark .ag-column-select,
.ag-theme-material-auto-dark .ag-column-select-header {
border-bottom: solid 1px;
border-bottom-color: var(--ag-border-color);
}
.ag-theme-material .ag-column-select-header,
.ag-theme-material-dark .ag-column-select-header,
.ag-theme-material-auto-dark .ag-column-select-header {
height: var(--ag-header-height);
}
.ag-theme-material .ag-group-title-bar,
.ag-theme-material-dark .ag-group-title-bar,
.ag-theme-material-auto-dark .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,
.ag-theme-material-dark .ag-charts-format-sub-level-group-title-bar,
.ag-theme-material-auto-dark .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,
.ag-theme-material .ag-chart-advanced-settings-section,
.ag-theme-material-dark .ag-chart-data-section,
.ag-theme-material-dark .ag-chart-format-section,
.ag-theme-material-dark .ag-chart-advanced-settings-section,
.ag-theme-material-auto-dark .ag-chart-data-section,
.ag-theme-material-auto-dark .ag-chart-format-section,
.ag-theme-material-auto-dark .ag-chart-advanced-settings-section {
padding-bottom: calc(var(--ag-grid-size) * 0.5);
}
.ag-theme-material input[class^=ag-]:not([type]),
.ag-theme-material input[class^=ag-][type=text],
.ag-theme-material input[class^=ag-][type=number],
.ag-theme-material input[class^=ag-][type=tel],
.ag-theme-material input[class^=ag-][type=date],
.ag-theme-material input[class^=ag-][type=datetime-local],
.ag-theme-material textarea[class^=ag-],
.ag-theme-material-dark input[class^=ag-]:not([type]),
.ag-theme-material-dark input[class^=ag-][type=text],
.ag-theme-material-dark input[class^=ag-][type=number],
.ag-theme-material-dark input[class^=ag-][type=tel],
.ag-theme-material-dark input[class^=ag-][type=date],
.ag-theme-material-dark input[class^=ag-][type=datetime-local],
.ag-theme-material-dark textarea[class^=ag-],
.ag-theme-material-auto-dark input[class^=ag-]:not([type]),
.ag-theme-material-auto-dark input[class^=ag-][type=text],
.ag-theme-material-auto-dark input[class^=ag-][type=number],
.ag-theme-material-auto-dark input[class^=ag-][type=tel],
.ag-theme-material-auto-dark input[class^=ag-][type=date],
.ag-theme-material-auto-dark input[class^=ag-][type=datetime-local],
.ag-theme-material-auto-dark textarea[class^=ag-] {
background: transparent;
color: var(--ag-foreground-color);
font-family: inherit;
font-size: inherit;
padding-bottom: var(--ag-grid-size);
border-width: 0;
border-radius: 0;
border-bottom: 2px solid;
border-bottom-color: var(--ag-border-color);
}
.ag-theme-material input[class^=ag-]:not([type]):not(textarea),
.ag-theme-material input[class^=ag-][type=text]:not(textarea),
.ag-theme-material input[class^=ag-][type=number]:not(textarea),
.ag-theme-material input[class^=ag-][type=tel]:not(textarea),
.ag-theme-material input[class^=ag-][type=date]:not(textarea),
.ag-theme-material input[class^=ag-][type=datetime-local]:not(textarea),
.ag-theme-material textarea[class^=ag-]:not(textarea),
.ag-theme-material-dark input[class^=ag-]:not([type]):not(textarea),
.ag-theme-material-dark input[class^=ag-][type=text]:not(textarea),
.ag-theme-material-dark input[class^=ag-][type=number]:not(textarea),
.ag-theme-material-dark input[class^=ag-][type=tel]:not(textarea),
.ag-theme-material-dark input[class^=ag-][type=date]:not(textarea),
.ag-theme-material-dark input[class^=ag-][type=datetime-local]:not(textarea),
.ag-theme-material-dark textarea[class^=ag-]:not(textarea),
.ag-theme-material-auto-dark input[class^=ag-]:not([type]):not(textarea),
.ag-theme-material-auto-dark input[class^=ag-][type=text]:not(textarea),
.ag-theme-material-auto-dark input[class^=ag-][type=number]:not(textarea),
.ag-theme-material-auto-dark input[class^=ag-][type=tel]:not(textarea),
.ag-theme-material-auto-dark input[class^=ag-][type=date]:not(textarea),
.ag-theme-material-auto-dark input[class^=ag-][type=datetime-local]:not(textarea),
.ag-theme-material-auto-dark textarea[class^=ag-]:not(textarea) {
height: calc(var(--ag-grid-size) * 5);
}
.ag-theme-material input[class^=ag-]:not([type]):focus,
.ag-theme-material input[class^=ag-][type=text]: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=date]:focus,
.ag-theme-material input[class^=ag-][type=datetime-local]:focus,
.ag-theme-material textarea[class^=ag-]:focus,
.ag-theme-material-dark input[class^=ag-]:not([type]):focus,
.ag-theme-material-dark input[class^=ag-][type=text]:focus,
.ag-theme-material-dark input[class^=ag-][type=number]:focus,
.ag-theme-material-dark input[class^=ag-][type=tel]:focus,
.ag-theme-material-dark input[class^=ag-][type=date]:focus,
.ag-theme-material-dark input[class^=ag-][type=datetime-local]:focus,
.ag-theme-material-dark textarea[class^=ag-]:focus,
.ag-theme-material-auto-dark input[class^=ag-]:not([type]):focus,
.ag-theme-material-auto-dark input[class^=ag-][type=text]:focus,
.ag-theme-material-auto-dark input[class^=ag-][type=number]:focus,
.ag-theme-material-auto-dark input[class^=ag-][type=tel]:focus,
.ag-theme-material-auto-dark input[class^=ag-][type=date]:focus,
.ag-theme-material-auto-dark input[class^=ag-][type=datetime-local]:focus,
.ag-theme-material-auto-dark 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=text]::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=date]::placeholder,
.ag-theme-material input[class^=ag-][type=datetime-local]::placeholder,
.ag-theme-material textarea[class^=ag-]::placeholder,
.ag-theme-material-dark input[class^=ag-]:not([type])::placeholder,
.ag-theme-material-dark input[class^=ag-][type=text]::placeholder,
.ag-theme-material-dark input[class^=ag-][type=number]::placeholder,
.ag-theme-material-dark input[class^=ag-][type=tel]::placeholder,
.ag-theme-material-dark input[class^=ag-][type=date]::placeholder,
.ag-theme-material-dark input[class^=ag-][type=datetime-local]::placeholder,
.ag-theme-material-dark textarea[class^=ag-]::placeholder,
.ag-theme-material-auto-dark input[class^=ag-]:not([type])::placeholder,
.ag-theme-material-auto-dark input[class^=ag-][type=text]::placeholder,
.ag-theme-material-auto-dark input[class^=ag-][type=number]::placeholder,
.ag-theme-material-auto-dark input[class^=ag-][type=tel]::placeholder,
.ag-theme-material-auto-dark input[class^=ag-][type=date]::placeholder,
.ag-theme-material-auto-dark input[class^=ag-][type=datetime-local]::placeholder,
.ag-theme-material-auto-dark 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=text]: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=date]:disabled,
.ag-theme-material input[class^=ag-][type=datetime-local]:disabled,
.ag-theme-material textarea[class^=ag-]:disabled,
.ag-theme-material-dark input[class^=ag-]:not([type]):disabled,
.ag-theme-material-dark input[class^=ag-][type=text]:disabled,
.ag-theme-material-dark input[class^=ag-][type=number]:disabled,
.ag-theme-material-dark input[class^=ag-][type=tel]:disabled,
.ag-theme-material-dark input[class^=ag-][type=date]:disabled,
.ag-theme-material-dark input[class^=ag-][type=datetime-local]:disabled,
.ag-theme-material-dark textarea[class^=ag-]:disabled,
.ag-theme-material-auto-dark input[class^=ag-]:not([type]):disabled,
.ag-theme-material-auto-dark input[class^=ag-][type=text]:disabled,
.ag-theme-material-auto-dark input[class^=ag-][type=number]:disabled,
.ag-theme-material-auto-dark input[class^=ag-][type=tel]:disabled,
.ag-theme-material-auto-dark input[class^=ag-][type=date]:disabled,
.ag-theme-material-auto-dark input[class^=ag-][type=datetime-local]:disabled,
.ag-theme-material-auto-dark 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=text]: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=date]:invalid,
.ag-theme-material input[class^=ag-][type=datetime-local]:invalid,
.ag-theme-material textarea[class^=ag-]:invalid,
.ag-theme-material-dark input[class^=ag-]:not([type]):invalid,
.ag-theme-material-dark input[class^=ag-][type=text]:invalid,
.ag-theme-material-dark input[class^=ag-][type=number]:invalid,
.ag-theme-material-dark input[class^=ag-][type=tel]:invalid,
.ag-theme-material-dark input[class^=ag-][type=date]:invalid,
.ag-theme-material-dark input[class^=ag-][type=datetime-local]:invalid,
.ag-theme-material-dark textarea[class^=ag-]:invalid,
.ag-theme-material-auto-dark input[class^=ag-]:not([type]):invalid,
.ag-theme-material-auto-dark input[class^=ag-][type=text]:invalid,
.ag-theme-material-auto-dark input[class^=ag-][type=number]:invalid,
.ag-theme-material-auto-dark input[class^=ag-][type=tel]:invalid,
.ag-theme-material-auto-dark input[class^=ag-][type=date]:invalid,
.ag-theme-material-auto-dark input[class^=ag-][type=datetime-local]:invalid,
.ag-theme-material-auto-dark 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,
.ag-theme-material-dark .ag-standard-button,
.ag-theme-material-auto-dark .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,
.ag-theme-material-dark .ag-standard-button:disabled,
.ag-theme-material-auto-dark .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,
.ag-theme-material-dark.ag-dnd-ghost,
.ag-theme-material-auto-dark.ag-dnd-ghost {
font-size: calc(var(--ag-font-size) - 1px);
font-weight: 600;
}
.ag-theme-material .ag-filter-toolpanel-header,
.ag-theme-material-dark .ag-filter-toolpanel-header,
.ag-theme-material-auto-dark .ag-filter-toolpanel-header {
height: calc(var(--ag-grid-size) * 4);
}
.ag-theme-material .ag-filter-toolpanel-group-level-0-header,
.ag-theme-material-dark .ag-filter-toolpanel-group-level-0-header,
.ag-theme-material-auto-dark .ag-filter-toolpanel-group-level-0-header {
height: calc(var(--ag-grid-size) * 7);
}
.ag-theme-material .ag-filter-card-title,
.ag-theme-material-dark .ag-filter-card-title,
.ag-theme-material-auto-dark .ag-filter-card-title {
font-size: calc(var(--ag-font-size) - 1px);
font-weight: 600;
}
.ag-theme-material .ag-filter-panel .ag-standard-button,
.ag-theme-material-dark .ag-filter-panel .ag-standard-button,
.ag-theme-material-auto-dark .ag-filter-panel .ag-standard-button {
padding: var(--ag-grid-size);
}
.ag-theme-material .ag-filter-add-button,
.ag-theme-material-dark .ag-filter-add-button,
.ag-theme-material-auto-dark .ag-filter-add-button {
border-bottom: 2px solid var(--ag-material-primary-color);
}
.ag-theme-material .ag-filter-add-button .ag-icon,
.ag-theme-material-dark .ag-filter-add-button .ag-icon,
.ag-theme-material-auto-dark .ag-filter-add-button .ag-icon {
color: var(--ag-material-active-color);
}
.ag-theme-material .ag-ltr .ag-filter-apply-panel-button, .ag-theme-material .ag-ltr .ag-advanced-filter-apply-button, .ag-theme-material .ag-ltr .ag-advanced-filter-builder-button, .ag-theme-material-dark .ag-ltr .ag-filter-apply-panel-button, .ag-theme-material-dark .ag-ltr .ag-advanced-filter-apply-button, .ag-theme-material-dark .ag-ltr .ag-advanced-filter-builder-button, .ag-theme-material-auto-dark .ag-ltr .ag-filter-apply-panel-button, .ag-theme-material-auto-dark .ag-ltr .ag-advanced-filter-apply-button, .ag-theme-material-auto-dark .ag-ltr .ag-advanced-filter-builder-button {
margin-left: var(--ag-grid-size);
}
.ag-theme-material .ag-rtl .ag-filter-apply-panel-button, .ag-theme-material .ag-rtl .ag-advanced-filter-apply-button, .ag-theme-material .ag-rtl .ag-advanced-filter-builder-button, .ag-theme-material-dark .ag-rtl .ag-filter-apply-panel-button, .ag-theme-material-dark .ag-rtl .ag-advanced-filter-apply-button, .ag-theme-material-dark .ag-rtl .ag-advanced-filter-builder-button, .ag-theme-material-auto-dark .ag-rtl .ag-filter-apply-panel-button, .ag-theme-material-auto-dark .ag-rtl .ag-advanced-filter-apply-button, .ag-theme-material-auto-dark .ag-rtl .ag-advanced-filter-builder-button {
margin-right: var(--ag-grid-size);
}
.ag-theme-material .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-material .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-material .ag-layout-print .ag-center-cols-viewport,
.ag-theme-material .ag-layout-print .ag-center-cols-container,
.ag-theme-material-dark .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-material-dark .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-material-dark .ag-layout-print .ag-center-cols-viewport,
.ag-theme-material-dark .ag-layout-print .ag-center-cols-container,
.ag-theme-material-auto-dark .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-material-auto-dark .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-material-auto-dark .ag-layout-print .ag-center-cols-viewport,
.ag-theme-material-auto-dark .ag-layout-print .ag-center-cols-container {
min-height: 150px;
}
.ag-theme-material .ag-picker-field-wrapper:focus-within,
.ag-theme-material-dark .ag-picker-field-wrapper:focus-within,
.ag-theme-material-auto-dark .ag-picker-field-wrapper:focus-within {
box-shadow: 0 0 0 1px var(--ag-material-primary-color);
}
.ag-theme-material .ag-rich-select-list,
.ag-theme-material-dark .ag-rich-select-list,
.ag-theme-material-auto-dark .ag-rich-select-list {
box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px;
}
.ag-theme-material .ag-advanced-filter-builder-button-label,
.ag-theme-material-dark .ag-advanced-filter-builder-button-label,
.ag-theme-material-auto-dark .ag-advanced-filter-builder-button-label {
text-transform: uppercase;
}
.ag-theme-material .ag-filter-active .ag-icon-filter,
.ag-theme-material-dark .ag-filter-active .ag-icon-filter,
.ag-theme-material-auto-dark .ag-filter-active .ag-icon-filter {
color: var(--ag-material-accent-color);
}
.ag-theme-material .ag-list-item-hovered::after,
.ag-theme-material-dark .ag-list-item-hovered::after,
.ag-theme-material-auto-dark .ag-list-item-hovered::after {
background-color: var(--ag-material-primary-color);
}
.ag-theme-material .ag-pill .ag-pill-button:hover,
.ag-theme-material-dark .ag-pill .ag-pill-button:hover,
.ag-theme-material-auto-dark .ag-pill .ag-pill-button:hover {
color: var(--ag-material-primary-color);
}
.ag-theme-material .ag-header-highlight-before::after,
.ag-theme-material .ag-header-highlight-after::after,
.ag-theme-material-dark .ag-header-highlight-before::after,
.ag-theme-material-dark .ag-header-highlight-after::after,
.ag-theme-material-auto-dark .ag-header-highlight-before::after,
.ag-theme-material-auto-dark .ag-header-highlight-after::after {
background-color: var(--ag-material-primary-color);
}
.ag-theme-material .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-material .ag-disabled .ag-icon,
.ag-theme-material .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-material [disabled] .ag-icon,
.ag-theme-material-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-material-dark .ag-disabled .ag-icon,
.ag-theme-material-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-material-dark [disabled] .ag-icon,
.ag-theme-material-auto-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-material-auto-dark .ag-disabled .ag-icon,
.ag-theme-material-auto-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-material-auto-dark [disabled] .ag-icon {
color: var(--ag-disabled-foreground-color);
}
`,document.head.appendChild(e)}}(),function(){if(typeof document<"u"){var e=document.createElement("style");e.setAttribute("data-ag-scope","legacy"),e.textContent=`.ag-theme-quartz,
.ag-theme-quartz-dark,
.ag-theme-quartz-auto-dark {
--ag-active-color: #2196f3;
--ag-background-color: #fff;
--ag-foreground-color: #181d1f;
--ag-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 15%);
--ag-secondary-border-color: var(--ag-border-color);
--ag-header-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 2%);
--ag-tooltip-background-color: var(--ag-header-background-color);
--ag-control-panel-background-color: var(--ag-header-background-color);
--ag-subheader-background-color: transparent;
--ag-invalid-color: #e02525;
--ag-checkbox-unchecked-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 30%);
--ag-advanced-filter-join-pill-color: #f08e8d;
--ag-advanced-filter-column-pill-color: #a6e194;
--ag-advanced-filter-option-pill-color: #f3c08b;
--ag-advanced-filter-value-pill-color: #85c0e4;
--ag-header-column-resize-handle-color: var(--ag-secondary-border-color);
--ag-icon-font-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 90%);
--ag-find-match-color: var(--ag-foreground-color);
--ag-find-match-background-color: #ffff00;
--ag-find-active-match-color: var(--ag-foreground-color);
--ag-find-active-match-background-color: #ffa500;
--ag-panel-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 3%);
--ag-panel-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 20%);
--ag-menu-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 3%);
--ag-menu-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 20%);
--ag-selected-row-background-color: color-mix(in srgb, transparent, var(--ag-active-color) 8%);
--ag-row-hover-color: color-mix(in srgb, transparent, var(--ag-active-color) 12%);
--ag-column-hover-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 5%);
--ag-input-focus-border-color: var(--ag-active-color);
--ag-range-selection-background-color: color-mix(in srgb, transparent, var(--ag-active-color) 20%);
--ag-input-focus-box-shadow: 0 0 0 3px color-mix(in srgb, transparent, var(--ag-input-focus-border-color) 47%);
--ag-input-error-focus-box-shadow: 0 0 0 3px
color-mix(in srgb, var(--ag-background-color), var(--ag-invalid-color) 50%);
--ag-range-selection-background-color-2: color-mix(in srgb, transparent, var(--ag-active-color) 36%);
--ag-range-selection-background-color-3: color-mix(in srgb, transparent, var(--ag-active-color) 49%);
--ag-range-selection-background-color-4: color-mix(in srgb, transparent, var(--ag-active-color) 59%);
--ag-row-numbers-selected-color: color-mix(in srgb, transparent, var(--ag-active-color) 50%);
--ag-checkbox-background-color: var(--ag-background-color);
--ag-checkbox-checked-color: var(--ag-active-color);
--ag-range-selection-border-color: var(--ag-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-disabled-foreground-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 50%);
--ag-chip-background-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 7%);
--ag-chip-border-color: color-mix(in srgb, var(--ag-header-background-color), var(--ag-foreground-color) 13%);
--ag-input-disabled-border-color: var(--ag-border-color);
--ag-input-disabled-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 6%);
--ag-modal-overlay-background-color: color-mix(in srgb, transparent, var(--ag-background-color) 66%);
--ag-chart-menu-label-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 80%);
--ag-chart-menu-pill-select-button-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 70%);
--ag-filter-panel-card-subtle-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 70%);
--ag-column-drag-indicator-color: var(--ag-active-color);
--ag-borders: solid 1px;
--ag-border-radius: 4px;
--ag-wrapper-border-radius: 8px;
--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: 8px;
--ag-icon-size: 16px;
--ag-header-height: calc(var(--ag-font-size) + var(--ag-grid-size) * 4.25);
--ag-row-height: calc(var(--ag-font-size) + var(--ag-grid-size) * 3.5);
--ag-list-item-height: calc(
var(--ag-icon-size) + var(--ag-widget-vertical-spacing)
);
--ag-column-select-indent-size: var(--ag-icon-size);
--ag-set-filter-indent-size: var(--ag-icon-size);
--ag-filter-tool-panel-group-indent: var(--ag-grid-size);
--ag-advanced-filter-builder-indent-size: calc(var(--ag-icon-size) + var(--ag-grid-size) * 2);
--ag-cell-horizontal-padding: calc(var(--ag-grid-size) * 2);
--ag-cell-widget-spacing: calc(var(--ag-grid-size) * 1.5);
--ag-widget-container-vertical-padding: calc(var(--ag-grid-size) * 1.5);
--ag-widget-container-horizontal-padding: calc(var(--ag-grid-size) * 1.5);
--ag-widget-horizontal-spacing: calc(var(--ag-grid-size) * 1.5);
--ag-widget-vertical-spacing: calc(var(--ag-grid-size) * 1);
--ag-toggle-button-height: 18px;
--ag-toggle-button-width: 28px;
--ag-toggle-button-border-width: 2px;
--ag-font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
Cantarell, "Helvetica Neue", sans-serif;
--ag-font-size: 14px;
--ag-icon-font-family: agGridQuartz;
--ag-tab-min-width: 290px;
--ag-chart-menu-panel-width: 260px;
--ag-card-shadow: 0 1px 4px 1px rgba(186, 191, 199, 0.4);
--ag-popup-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.15);
--ag-side-bar-panel-width: 250px;
--ag-filter-panel-apply-button-color: var(--ag-background-color);
--ag-filter-panel-apply-button-background-color: var(--ag-active-color);
--ag-column-panel-apply-button-color: var(--ag-background-color);
--ag-column-panel-apply-button-background-color: var(--ag-active-color);
}
.ag-theme-quartz-dark {
--ag-background-color: color-mix(in srgb, #fff, #182230 97%);
--ag-foreground-color: #fff;
--ag-border-color: rgba(255, 255, 255, 0.16);
--ag-secondary-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 10%);
--ag-header-background-color: color-mix(in srgb, #fff, #182230 93%);
--ag-tooltip-background-color: color-mix(in srgb, #fff, #182230 96%);
--ag-control-panel-background-color: color-mix(in srgb, #fff, #182230 93%);
--ag-input-disabled-background-color: #68686e12;
--ag-card-shadow: 0 1px 20px 1px black;
--ag-input-border-color: var(--ag-border-color);
--ag-input-disabled-border-color: rgba(255, 255, 255, 0.07);
--ag-checkbox-unchecked-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 40%);
--ag-row-hover-color: color-mix(in srgb, transparent, var(--ag-active-color) 20%);
--ag-selected-row-background-color: var(--ag-row-hover-color);
--ag-panel-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 10%);
--ag-panel-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 10%);
--ag-menu-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 10%);
--ag-menu-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 10%);
--ag-advanced-filter-join-pill-color: #7a3a37;
--ag-advanced-filter-column-pill-color: #355f2d;
--ag-advanced-filter-option-pill-color: #5a3168;
--ag-advanced-filter-value-pill-color: #374c86;
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-filter-panel-apply-button-color: var(--ag-foreground-color);
--ag-column-panel-apply-button-color: var(--ag-foreground-color);
--ag-popup-shadow: 0 0px 20px rgba(0, 0, 0, 0.3);
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
.ag-theme-quartz-auto-dark {
--ag-background-color: color-mix(in srgb, #fff, #182230 97%);
--ag-foreground-color: #fff;
--ag-border-color: rgba(255, 255, 255, 0.16);
--ag-secondary-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 10%);
--ag-header-background-color: color-mix(in srgb, #fff, #182230 93%);
--ag-tooltip-background-color: color-mix(in srgb, #fff, #182230 96%);
--ag-control-panel-background-color: color-mix(in srgb, #fff, #182230 93%);
--ag-input-disabled-background-color: #68686e12;
--ag-card-shadow: 0 1px 20px 1px black;
--ag-input-border-color: var(--ag-border-color);
--ag-input-disabled-border-color: rgba(255, 255, 255, 0.07);
--ag-checkbox-unchecked-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 40%);
--ag-row-hover-color: color-mix(in srgb, transparent, var(--ag-active-color) 20%);
--ag-selected-row-background-color: var(--ag-row-hover-color);
--ag-panel-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 10%);
--ag-panel-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 10%);
--ag-menu-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 10%);
--ag-menu-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 10%);
--ag-advanced-filter-join-pill-color: #7a3a37;
--ag-advanced-filter-column-pill-color: #355f2d;
--ag-advanced-filter-option-pill-color: #5a3168;
--ag-advanced-filter-value-pill-color: #374c86;
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-filter-panel-apply-button-color: var(--ag-foreground-color);
--ag-column-panel-apply-button-color: var(--ag-foreground-color);
--ag-popup-shadow: 0 0px 20px rgba(0, 0, 0, 0.3);
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
}
.ag-theme-quartz .ag-filter-toolpanel-header,
.ag-theme-quartz .ag-filter-toolpanel-search,
.ag-theme-quartz .ag-status-bar,
.ag-theme-quartz .ag-header-row,
.ag-theme-quartz .ag-row-number-cell,
.ag-theme-quartz .ag-panel-title-bar-title,
.ag-theme-quartz .ag-multi-filter-group-title-bar,
.ag-theme-quartz .ag-filter-card-title,
.ag-theme-quartz-dark .ag-filter-toolpanel-header,
.ag-theme-quartz-dark .ag-filter-toolpanel-search,
.ag-theme-quartz-dark .ag-status-bar,
.ag-theme-quartz-dark .ag-header-row,
.ag-theme-quartz-dark .ag-row-number-cell,
.ag-theme-quartz-dark .ag-panel-title-bar-title,
.ag-theme-quartz-dark .ag-multi-filter-group-title-bar,
.ag-theme-quartz-dark .ag-filter-card-title,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-header,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search,
.ag-theme-quartz-auto-dark .ag-status-bar,
.ag-theme-quartz-auto-dark .ag-header-row,
.ag-theme-quartz-auto-dark .ag-row-number-cell,
.ag-theme-quartz-auto-dark .ag-panel-title-bar-title,
.ag-theme-quartz-auto-dark .ag-multi-filter-group-title-bar,
.ag-theme-quartz-auto-dark .ag-filter-card-title {
font-weight: 500;
color: var(--ag-header-foreground-color);
}
.ag-theme-quartz input[class^=ag-]:not([type]),
.ag-theme-quartz input[class^=ag-][type=text],
.ag-theme-quartz input[class^=ag-][type=number],
.ag-theme-quartz input[class^=ag-][type=tel],
.ag-theme-quartz input[class^=ag-][type=date],
.ag-theme-quartz input[class^=ag-][type=datetime-local],
.ag-theme-quartz textarea[class^=ag-],
.ag-theme-quartz-dark input[class^=ag-]:not([type]),
.ag-theme-quartz-dark input[class^=ag-][type=text],
.ag-theme-quartz-dark input[class^=ag-][type=number],
.ag-theme-quartz-dark input[class^=ag-][type=tel],
.ag-theme-quartz-dark input[class^=ag-][type=date],
.ag-theme-quartz-dark input[class^=ag-][type=datetime-local],
.ag-theme-quartz-dark textarea[class^=ag-],
.ag-theme-quartz-auto-dark input[class^=ag-]:not([type]),
.ag-theme-quartz-auto-dark input[class^=ag-][type=text],
.ag-theme-quartz-auto-dark input[class^=ag-][type=number],
.ag-theme-quartz-auto-dark input[class^=ag-][type=tel],
.ag-theme-quartz-auto-dark input[class^=ag-][type=date],
.ag-theme-quartz-auto-dark input[class^=ag-][type=datetime-local],
.ag-theme-quartz-auto-dark textarea[class^=ag-] {
min-height: calc(var(--ag-grid-size) * 4);
border-radius: var(--ag-border-radius);
}
.ag-theme-quartz .ag-ltr input[class^=ag-]:not([type]), .ag-theme-quartz .ag-ltr input[class^=ag-][type=text], .ag-theme-quartz .ag-ltr input[class^=ag-][type=number], .ag-theme-quartz .ag-ltr input[class^=ag-][type=tel], .ag-theme-quartz .ag-ltr input[class^=ag-][type=date], .ag-theme-quartz .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-quartz .ag-ltr textarea[class^=ag-], .ag-theme-quartz-dark .ag-ltr input[class^=ag-]:not([type]), .ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=text], .ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=number], .ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=tel], .ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=date], .ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-quartz-dark .ag-ltr textarea[class^=ag-], .ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-]:not([type]), .ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=text], .ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=number], .ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=tel], .ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=date], .ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-quartz-auto-dark .ag-ltr textarea[class^=ag-] {
padding-left: var(--ag-grid-size);
}
.ag-theme-quartz .ag-rtl input[class^=ag-]:not([type]), .ag-theme-quartz .ag-rtl input[class^=ag-][type=text], .ag-theme-quartz .ag-rtl input[class^=ag-][type=number], .ag-theme-quartz .ag-rtl input[class^=ag-][type=tel], .ag-theme-quartz .ag-rtl input[class^=ag-][type=date], .ag-theme-quartz .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-quartz .ag-rtl textarea[class^=ag-], .ag-theme-quartz-dark .ag-rtl input[class^=ag-]:not([type]), .ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=text], .ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=number], .ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=tel], .ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=date], .ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-quartz-dark .ag-rtl textarea[class^=ag-], .ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-]:not([type]), .ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=text], .ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=number], .ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=tel], .ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=date], .ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-quartz-auto-dark .ag-rtl textarea[class^=ag-] {
padding-right: var(--ag-grid-size);
}
.ag-theme-quartz .ag-picker-field-wrapper,
.ag-theme-quartz-dark .ag-picker-field-wrapper,
.ag-theme-quartz-auto-dark .ag-picker-field-wrapper {
min-height: calc(var(--ag-grid-size) * 4);
}
.ag-theme-quartz .ag-tab,
.ag-theme-quartz-dark .ag-tab,
.ag-theme-quartz-auto-dark .ag-tab {
padding: var(--ag-grid-size);
border-left: var(--ag-borders) transparent;
border-right: var(--ag-borders) transparent;
flex: 1 1 auto;
}
.ag-theme-quartz .ag-tab-selected,
.ag-theme-quartz-dark .ag-tab-selected,
.ag-theme-quartz-auto-dark .ag-tab-selected {
background-color: var(--ag-background-color);
}
.ag-theme-quartz .ag-ltr .ag-tab-selected:not(:first-of-type), .ag-theme-quartz-dark .ag-ltr .ag-tab-selected:not(:first-of-type), .ag-theme-quartz-auto-dark .ag-ltr .ag-tab-selected:not(:first-of-type) {
border-left-color: var(--ag-border-color);
}
.ag-theme-quartz .ag-rtl .ag-tab-selected:not(:first-of-type), .ag-theme-quartz-dark .ag-rtl .ag-tab-selected:not(:first-of-type), .ag-theme-quartz-auto-dark .ag-rtl .ag-tab-selected:not(:first-of-type) {
border-right-color: var(--ag-border-color);
}
.ag-theme-quartz .ag-ltr .ag-tab-selected:not(:last-of-type), .ag-theme-quartz-dark .ag-ltr .ag-tab-selected:not(:last-of-type), .ag-theme-quartz-auto-dark .ag-ltr .ag-tab-selected:not(:last-of-type) {
border-right-color: var(--ag-border-color);
}
.ag-theme-quartz .ag-rtl .ag-tab-selected:not(:last-of-type), .ag-theme-quartz-dark .ag-rtl .ag-tab-selected:not(:last-of-type), .ag-theme-quartz-auto-dark .ag-rtl .ag-tab-selected:not(:last-of-type) {
border-left-color: var(--ag-border-color);
}
.ag-theme-quartz .ag-tab:not(.ag-tab-selected),
.ag-theme-quartz-dark .ag-tab:not(.ag-tab-selected),
.ag-theme-quartz-auto-dark .ag-tab:not(.ag-tab-selected) {
opacity: 0.7;
}
.ag-theme-quartz .ag-tab:not(.ag-tab-selected):hover,
.ag-theme-quartz-dark .ag-tab:not(.ag-tab-selected):hover,
.ag-theme-quartz-auto-dark .ag-tab:not(.ag-tab-selected):hover {
opacity: 1;
}
.ag-theme-quartz .ag-menu,
.ag-theme-quartz-dark .ag-menu,
.ag-theme-quartz-auto-dark .ag-menu {
color: color-mix(in srgb, transparent, var(--ag-foreground-color) 95%);
}
.ag-theme-quartz .ag-panel-content-wrapper .ag-column-select,
.ag-theme-quartz-dark .ag-panel-content-wrapper .ag-column-select,
.ag-theme-quartz-auto-dark .ag-panel-content-wrapper .ag-column-select {
background-color: var(--ag-control-panel-background-color);
color: color-mix(in srgb, transparent, var(--ag-foreground-color) 95%);
}
.ag-theme-quartz .ag-menu-header,
.ag-theme-quartz-dark .ag-menu-header,
.ag-theme-quartz-auto-dark .ag-menu-header {
background-color: var(--ag-control-panel-background-color);
}
.ag-theme-quartz .ag-menu-option,
.ag-theme-quartz-dark .ag-menu-option,
.ag-theme-quartz-auto-dark .ag-menu-option {
font-weight: 500;
cursor: pointer;
}
.ag-theme-quartz .ag-ltr .ag-menu-option-popup-pointer .ag-icon, .ag-theme-quartz-dark .ag-ltr .ag-menu-option-popup-pointer .ag-icon, .ag-theme-quartz-auto-dark .ag-ltr .ag-menu-option-popup-pointer .ag-icon {
text-align: right;
}
.ag-theme-quartz .ag-rtl .ag-menu-option-popup-pointer .ag-icon, .ag-theme-quartz-dark .ag-rtl .ag-menu-option-popup-pointer .ag-icon, .ag-theme-quartz-auto-dark .ag-rtl .ag-menu-option-popup-pointer .ag-icon {
text-align: left;
}
.ag-theme-quartz .ag-tabs-header,
.ag-theme-quartz-dark .ag-tabs-header,
.ag-theme-quartz-auto-dark .ag-tabs-header {
border-bottom: var(--ag-borders) var(--ag-border-color);
display: flex;
background-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 5%);
}
.ag-theme-quartz .ag-side-bar,
.ag-theme-quartz-dark .ag-side-bar,
.ag-theme-quartz-auto-dark .ag-side-bar {
background-color: var(--ag-control-panel-background-color);
min-width: calc(var(--ag-icon-size) + var(--ag-grid-size) * 2);
}
.ag-theme-quartz .ag-side-buttons,
.ag-theme-quartz-dark .ag-side-buttons,
.ag-theme-quartz-auto-dark .ag-side-buttons {
padding: 0;
align-self: stretch;
width: calc(var(--ag-icon-size) + var(--ag-grid-size) * 2);
background: var(--ag-control-panel-background-color);
}
.ag-theme-quartz .ag-side-button,
.ag-theme-quartz-dark .ag-side-button,
.ag-theme-quartz-auto-dark .ag-side-button {
border-top: var(--ag-borders) transparent;
border-bottom: var(--ag-borders) transparent;
}
@media (max-resolution: 1.5x) {
.ag-theme-quartz .ag-side-button-label,
.ag-theme-quartz-dark .ag-side-button-label,
.ag-theme-quartz-auto-dark .ag-side-button-label {
font-family: "Segoe UI", var(--ag-font-family);
transform: rotate(0.05deg);
}
}
.ag-theme-quartz .ag-side-button.ag-selected,
.ag-theme-quartz-dark .ag-side-button.ag-selected,
.ag-theme-quartz-auto-dark .ag-side-button.ag-selected {
border-bottom-color: var(--ag-border-color);
background-color: var(--ag-background-color);
}
.ag-theme-quartz .ag-side-button.ag-selected:not(:first-of-type),
.ag-theme-quartz-dark .ag-side-button.ag-selected:not(:first-of-type),
.ag-theme-quartz-auto-dark .ag-side-button.ag-selected:not(:first-of-type) {
border-top-color: var(--ag-border-color);
}
.ag-theme-quartz .ag-column-panel-column-select,
.ag-theme-quartz-dark .ag-column-panel-column-select,
.ag-theme-quartz-auto-dark .ag-column-panel-column-select {
border-top: none;
}
.ag-theme-quartz .ag-column-panel-column-select:not(.ag-last-visible-child),
.ag-theme-quartz-dark .ag-column-panel-column-select:not(.ag-last-visible-child),
.ag-theme-quartz-auto-dark .ag-column-panel-column-select:not(.ag-last-visible-child) {
border-bottom: 1px solid var(--ag-secondary-border-color);
}
.ag-theme-quartz .ag-filter-toolpanel-search,
.ag-theme-quartz-dark .ag-filter-toolpanel-search,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search {
height: initial;
margin-top: var(--ag-widget-container-vertical-padding);
}
.ag-theme-quartz .ag-filter-toolpanel-search-input,
.ag-theme-quartz-dark .ag-filter-toolpanel-search-input,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search-input {
margin: 0;
}
.ag-theme-quartz .ag-filter-apply-panel,
.ag-theme-quartz-dark .ag-filter-apply-panel,
.ag-theme-quartz-auto-dark .ag-filter-apply-panel {
border: none;
padding-top: var(--ag-widget-vertical-spacing);
}
.ag-theme-quartz .ag-chart-tabbed-menu-body,
.ag-theme-quartz-dark .ag-chart-tabbed-menu-body,
.ag-theme-quartz-auto-dark .ag-chart-tabbed-menu-body {
position: relative;
}
.ag-theme-quartz .ag-chart-tabbed-menu-body::after,
.ag-theme-quartz-dark .ag-chart-tabbed-menu-body::after,
.ag-theme-quartz-auto-dark .ag-chart-tabbed-menu-body::after {
content: "";
position: absolute;
display: block;
top: 0;
left: 0;
right: 0;
height: 16px;
background: linear-gradient(var(--ag-control-panel-background-color), transparent);
}
.ag-theme-quartz .ag-charts-settings-group-title-bar,
.ag-theme-quartz .ag-charts-data-group-title-bar,
.ag-theme-quartz .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz .ag-charts-advanced-settings-top-level-group-title-bar,
.ag-theme-quartz .ag-charts-settings-group-container,
.ag-theme-quartz-dark .ag-charts-settings-group-title-bar,
.ag-theme-quartz-dark .ag-charts-data-group-title-bar,
.ag-theme-quartz-dark .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-advanced-settings-top-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-settings-group-container,
.ag-theme-quartz-auto-dark .ag-charts-settings-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-data-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-advanced-settings-top-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-settings-group-container {
border-top: none;
font-weight: 500;
}
.ag-theme-quartz .ag-chart-mini-thumbnail,
.ag-theme-quartz-dark .ag-chart-mini-thumbnail,
.ag-theme-quartz-auto-dark .ag-chart-mini-thumbnail {
background-color: var(--ag-background-color);
margin-top: 0;
margin-bottom: 0;
}
.ag-theme-quartz .ag-chart-settings-nav-bar,
.ag-theme-quartz-dark .ag-chart-settings-nav-bar,
.ag-theme-quartz-auto-dark .ag-chart-settings-nav-bar {
border-top: var(--ag-borders-secondary) var(--ag-secondary-border-color);
}
.ag-theme-quartz .ag-charts-format-sub-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-title-bar {
background: none;
font-weight: 500;
}
.ag-theme-quartz .ag-chart-data-section .ag-label:not(.ag-group-title-bar),
.ag-theme-quartz .ag-chart-format-section .ag-label:not(.ag-group-title-bar),
.ag-theme-quartz-dark .ag-chart-data-section .ag-label:not(.ag-group-title-bar),
.ag-theme-quartz-dark .ag-chart-format-section .ag-label:not(.ag-group-title-bar),
.ag-theme-quartz-auto-dark .ag-chart-data-section .ag-label:not(.ag-group-title-bar),
.ag-theme-quartz-auto-dark .ag-chart-format-section .ag-label:not(.ag-group-title-bar) {
color: var(--ag-chart-menu-label-color);
}
.ag-theme-quartz .ag-chart-data-section .ag-label-align-top .ag-label,
.ag-theme-quartz .ag-chart-format-section .ag-label-align-top .ag-label,
.ag-theme-quartz-dark .ag-chart-data-section .ag-label-align-top .ag-label,
.ag-theme-quartz-dark .ag-chart-format-section .ag-label-align-top .ag-label,
.ag-theme-quartz-auto-dark .ag-chart-data-section .ag-label-align-top .ag-label,
.ag-theme-quartz-auto-dark .ag-chart-format-section .ag-label-align-top .ag-label {
margin-top: calc(var(--ag-widget-vertical-spacing) * 0.5);
margin-bottom: var(--ag-widget-vertical-spacing);
}
.ag-theme-quartz .ag-chart-data-section .ag-slider.ag-label-align-top .ag-label,
.ag-theme-quartz .ag-chart-format-section .ag-slider.ag-label-align-top .ag-label,
.ag-theme-quartz-dark .ag-chart-data-section .ag-slider.ag-label-align-top .ag-label,
.ag-theme-quartz-dark .ag-chart-format-section .ag-slider.ag-label-align-top .ag-label,
.ag-theme-quartz-auto-dark .ag-chart-data-section .ag-slider.ag-label-align-top .ag-label,
.ag-theme-quartz-auto-dark .ag-chart-format-section .ag-slider.ag-label-align-top .ag-label {
margin-bottom: 0;
}
.ag-theme-quartz .ag-chart-data-section label,
.ag-theme-quartz .ag-chart-format-section label,
.ag-theme-quartz-dark .ag-chart-data-section label,
.ag-theme-quartz-dark .ag-chart-format-section label,
.ag-theme-quartz-auto-dark .ag-chart-data-section label,
.ag-theme-quartz-auto-dark .ag-chart-format-section label {
display: inline-block;
}
.ag-theme-quartz .ag-chart-format-wrapper,
.ag-theme-quartz .ag-chart-data-wrapper,
.ag-theme-quartz .ag-charts-format-top-level-group,
.ag-theme-quartz .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz .ag-charts-format-top-level-group .ag-charts-format-top-level-group-container,
.ag-theme-quartz .ag-charts-format-top-level-group-item,
.ag-theme-quartz .ag-charts-format-sub-level-group,
.ag-theme-quartz .ag-charts-format-sub-level-group-title-bar,
.ag-theme-quartz .ag-charts-format-sub-level-group-container,
.ag-theme-quartz .ag-charts-format-sub-level-group-item:last-child,
.ag-theme-quartz .ag-charts-format-sub-level-group-container > *,
.ag-theme-quartz .ag-charts-data-group-title-bar,
.ag-theme-quartz .ag-charts-data-group-container,
.ag-theme-quartz .ag-charts-settings-group-title-bar,
.ag-theme-quartz .ag-charts-settings-group-container,
.ag-theme-quartz-dark .ag-chart-format-wrapper,
.ag-theme-quartz-dark .ag-chart-data-wrapper,
.ag-theme-quartz-dark .ag-charts-format-top-level-group,
.ag-theme-quartz-dark .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-format-top-level-group .ag-charts-format-top-level-group-container,
.ag-theme-quartz-dark .ag-charts-format-top-level-group-item,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-container,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-item:last-child,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-container > *,
.ag-theme-quartz-dark .ag-charts-data-group-title-bar,
.ag-theme-quartz-dark .ag-charts-data-group-container,
.ag-theme-quartz-dark .ag-charts-settings-group-title-bar,
.ag-theme-quartz-dark .ag-charts-settings-group-container,
.ag-theme-quartz-auto-dark .ag-chart-format-wrapper,
.ag-theme-quartz-auto-dark .ag-chart-data-wrapper,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group .ag-charts-format-top-level-group-container,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-item,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-container,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-item:last-child,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-container > *,
.ag-theme-quartz-auto-dark .ag-charts-data-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-data-group-container,
.ag-theme-quartz-auto-dark .ag-charts-settings-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-settings-group-container {
padding: 0;
margin: 0;
}
.ag-theme-quartz .ag-charts-format-top-level-group,
.ag-theme-quartz .ag-charts-data-group,
.ag-theme-quartz-dark .ag-charts-format-top-level-group,
.ag-theme-quartz-dark .ag-charts-data-group,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group,
.ag-theme-quartz-auto-dark .ag-charts-data-group {
border-top: var(--ag-borders-secondary) var(--ag-secondary-border-color);
}
.ag-theme-quartz .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz .ag-charts-data-group-title-bar,
.ag-theme-quartz .ag-charts-settings-group-title-bar,
.ag-theme-quartz-dark .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-data-group-title-bar,
.ag-theme-quartz-dark .ag-charts-settings-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-data-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-settings-group-title-bar {
padding: var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);
}
.ag-theme-quartz .ag-charts-format-top-level-group .ag-charts-format-top-level-group-container,
.ag-theme-quartz .ag-charts-data-group .ag-charts-data-group-container,
.ag-theme-quartz .ag-charts-settings-group .ag-charts-settings-group-container,
.ag-theme-quartz-dark .ag-charts-format-top-level-group .ag-charts-format-top-level-group-container,
.ag-theme-quartz-dark .ag-charts-data-group .ag-charts-data-group-container,
.ag-theme-quartz-dark .ag-charts-settings-group .ag-charts-settings-group-container,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group .ag-charts-format-top-level-group-container,
.ag-theme-quartz-auto-dark .ag-charts-data-group .ag-charts-data-group-container,
.ag-theme-quartz-auto-dark .ag-charts-settings-group .ag-charts-settings-group-container {
padding: 0 var(--ag-widget-container-horizontal-padding);
}
.ag-theme-quartz .ag-charts-format-sub-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-title-bar {
padding: var(--ag-widget-vertical-spacing) 0;
}
.ag-theme-quartz .ag-charts-format-sub-level-group-container,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-container,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-container {
padding-top: var(--ag-widget-vertical-spacing);
padding-bottom: var(--ag-widget-container-vertical-padding);
}
.ag-theme-quartz .ag-charts-format-top-level-group-container > *,
.ag-theme-quartz .ag-charts-format-sub-level-group-container > *,
.ag-theme-quartz-dark .ag-charts-format-top-level-group-container > *,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-container > *,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-container > *,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-container > * {
margin-bottom: var(--ag-widget-vertical-spacing);
}
.ag-theme-quartz .ag-charts-data-group-item,
.ag-theme-quartz-dark .ag-charts-data-group-item,
.ag-theme-quartz-auto-dark .ag-charts-data-group-item {
padding-bottom: var(--ag-widget-container-vertical-padding);
}
.ag-theme-quartz .ag-chart-settings-mini-wrapper,
.ag-theme-quartz-dark .ag-chart-settings-mini-wrapper,
.ag-theme-quartz-auto-dark .ag-chart-settings-mini-wrapper {
padding-bottom: var(--ag-widget-container-vertical-padding);
}
.ag-theme-quartz .ag-chart-advanced-settings-section,
.ag-theme-quartz-dark .ag-chart-advanced-settings-section,
.ag-theme-quartz-auto-dark .ag-chart-advanced-settings-section {
padding-top: var(--ag-widget-container-vertical-padding);
padding-bottom: var(--ag-widget-container-vertical-padding);
}
.ag-theme-quartz .ag-charts-advanced-settings-top-level-group .ag-charts-advanced-settings-top-level-group-title-bar,
.ag-theme-quartz .ag-charts-advanced-settings-top-level-group .ag-charts-advanced-settings-top-level-group-container,
.ag-theme-quartz-dark .ag-charts-advanced-settings-top-level-group .ag-charts-advanced-settings-top-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-advanced-settings-top-level-group .ag-charts-advanced-settings-top-level-group-container,
.ag-theme-quartz-auto-dark .ag-charts-advanced-settings-top-level-group .ag-charts-advanced-settings-top-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-advanced-settings-top-level-group .ag-charts-advanced-settings-top-level-group-container {
padding: 0 var(--ag-widget-container-horizontal-padding);
}
.ag-theme-quartz .ag-charts-advanced-settings-top-level-group-container,
.ag-theme-quartz-dark .ag-charts-advanced-settings-top-level-group-container,
.ag-theme-quartz-auto-dark .ag-charts-advanced-settings-top-level-group-container {
margin: 0;
}
.ag-theme-quartz .ag-charts-advanced-settings-top-level-group-item,
.ag-theme-quartz-dark .ag-charts-advanced-settings-top-level-group-item,
.ag-theme-quartz-auto-dark .ag-charts-advanced-settings-top-level-group-item {
margin-top: calc(var(--ag-widget-vertical-spacing) * 2);
margin-bottom: 0;
}
.ag-theme-quartz .ag-ltr .ag-group-title-bar-icon, .ag-theme-quartz-dark .ag-ltr .ag-group-title-bar-icon, .ag-theme-quartz-auto-dark .ag-ltr .ag-group-title-bar-icon {
margin-right: var(--ag-grid-size);
}
.ag-theme-quartz .ag-rtl .ag-group-title-bar-icon, .ag-theme-quartz-dark .ag-rtl .ag-group-title-bar-icon, .ag-theme-quartz-auto-dark .ag-rtl .ag-group-title-bar-icon {
margin-left: var(--ag-grid-size);
}
.ag-theme-quartz .ag-spectrum-color,
.ag-theme-quartz .ag-spectrum-fill,
.ag-theme-quartz-dark .ag-spectrum-color,
.ag-theme-quartz-dark .ag-spectrum-fill,
.ag-theme-quartz-auto-dark .ag-spectrum-color,
.ag-theme-quartz-auto-dark .ag-spectrum-fill {
border-radius: var(--ag-border-radius);
}
.ag-theme-quartz .ag-spectrum-dragger,
.ag-theme-quartz-dark .ag-spectrum-dragger,
.ag-theme-quartz-auto-dark .ag-spectrum-dragger {
border-radius: 18px;
height: 18px;
width: 18px;
border: 3px solid white;
}
.ag-theme-quartz .ag-spectrum-tools,
.ag-theme-quartz-dark .ag-spectrum-tools,
.ag-theme-quartz-auto-dark .ag-spectrum-tools {
padding-left: 0;
padding-right: 0;
padding-bottom: 0;
}
.ag-theme-quartz .ag-spectrum-tool,
.ag-theme-quartz-dark .ag-spectrum-tool,
.ag-theme-quartz-auto-dark .ag-spectrum-tool {
height: 12px;
}
.ag-theme-quartz .ag-spectrum-hue-background,
.ag-theme-quartz .ag-spectrum-alpha-background,
.ag-theme-quartz-dark .ag-spectrum-hue-background,
.ag-theme-quartz-dark .ag-spectrum-alpha-background,
.ag-theme-quartz-auto-dark .ag-spectrum-hue-background,
.ag-theme-quartz-auto-dark .ag-spectrum-alpha-background {
border-radius: 12px;
}
.ag-theme-quartz .ag-spectrum-slider,
.ag-theme-quartz-dark .ag-spectrum-slider,
.ag-theme-quartz-auto-dark .ag-spectrum-slider {
margin-top: -15px;
width: 18px;
height: 18px;
border-radius: 18px;
border: 3px solid rgb(248, 248, 248);
}
.ag-theme-quartz .ag-recent-colors,
.ag-theme-quartz-dark .ag-recent-colors,
.ag-theme-quartz-auto-dark .ag-recent-colors {
margin-left: var(--ag-grid-size);
margin-right: var(--ag-grid-size);
margin-bottom: 2px;
}
.ag-theme-quartz .ag-color-input-color,
.ag-theme-quartz .ag-color-picker-color,
.ag-theme-quartz .ag-recent-color,
.ag-theme-quartz-dark .ag-color-input-color,
.ag-theme-quartz-dark .ag-color-picker-color,
.ag-theme-quartz-dark .ag-recent-color,
.ag-theme-quartz-auto-dark .ag-color-input-color,
.ag-theme-quartz-auto-dark .ag-color-picker-color,
.ag-theme-quartz-auto-dark .ag-recent-color {
border-radius: 4px;
}
.ag-theme-quartz .ag-recent-color,
.ag-theme-quartz-dark .ag-recent-color,
.ag-theme-quartz-auto-dark .ag-recent-color {
border: var(--ag-borders-secondary) var(--ag-secondary-border-color);
}
.ag-theme-quartz.ag-dnd-ghost,
.ag-theme-quartz-dark.ag-dnd-ghost,
.ag-theme-quartz-auto-dark.ag-dnd-ghost {
font-weight: 500;
}
.ag-theme-quartz .ag-standard-button,
.ag-theme-quartz-dark .ag-standard-button,
.ag-theme-quartz-auto-dark .ag-standard-button {
font-family: inherit;
appearance: none;
-webkit-appearance: none;
border-radius: var(--ag-border-radius);
border: solid 1px var(--ag-input-border-color);
background-color: var(--ag-background-color);
padding: var(--ag-grid-size) calc(var(--ag-grid-size) * 2);
cursor: pointer;
}
.ag-theme-quartz .ag-standard-button:hover,
.ag-theme-quartz-dark .ag-standard-button:hover,
.ag-theme-quartz-auto-dark .ag-standard-button:hover {
background-color: var(--ag-row-hover-color);
}
.ag-theme-quartz .ag-standard-button:active,
.ag-theme-quartz-dark .ag-standard-button:active,
.ag-theme-quartz-auto-dark .ag-standard-button:active {
border-color: var(--ag-active-color);
}
.ag-theme-quartz .ag-standard-button:disabled,
.ag-theme-quartz-dark .ag-standard-button:disabled,
.ag-theme-quartz-auto-dark .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-quartz .ag-column-drop-cell,
.ag-theme-quartz-dark .ag-column-drop-cell,
.ag-theme-quartz-auto-dark .ag-column-drop-cell {
border-radius: calc(var(--ag-grid-size) * 3);
height: calc(var(--ag-grid-size) * 3);
padding: 0 var(--ag-grid-size);
}
.ag-theme-quartz .ag-column-drop-cell-button,
.ag-theme-quartz-dark .ag-column-drop-cell-button,
.ag-theme-quartz-auto-dark .ag-column-drop-cell-button {
min-width: 0;
margin: 0;
}
.ag-theme-quartz .ag-column-drop-cell-drag-handle,
.ag-theme-quartz-dark .ag-column-drop-cell-drag-handle,
.ag-theme-quartz-auto-dark .ag-column-drop-cell-drag-handle {
margin-left: 0;
}
.ag-theme-quartz .ag-column-drop-vertical,
.ag-theme-quartz-dark .ag-column-drop-vertical,
.ag-theme-quartz-auto-dark .ag-column-drop-vertical {
min-height: 75px;
}
.ag-theme-quartz .ag-column-drop-vertical-title-bar,
.ag-theme-quartz-dark .ag-column-drop-vertical-title-bar,
.ag-theme-quartz-auto-dark .ag-column-drop-vertical-title-bar {
padding: var(--ag-widget-container-vertical-padding) calc(var(--ag-grid-size) * 2) 0;
}
.ag-theme-quartz .ag-ltr .ag-column-drop-vertical-icon, .ag-theme-quartz-dark .ag-ltr .ag-column-drop-vertical-icon, .ag-theme-quartz-auto-dark .ag-ltr .ag-column-drop-vertical-icon {
margin-left: 0;
margin-right: var(--ag-widget-horizontal-spacing);
}
.ag-theme-quartz .ag-rtl .ag-column-drop-vertical-icon, .ag-theme-quartz-dark .ag-rtl .ag-column-drop-vertical-icon, .ag-theme-quartz-auto-dark .ag-rtl .ag-column-drop-vertical-icon {
margin-right: 0;
margin-left: var(--ag-widget-horizontal-spacing);
}
.ag-theme-quartz .ag-column-drop-vertical-empty-message,
.ag-theme-quartz-dark .ag-column-drop-vertical-empty-message,
.ag-theme-quartz-auto-dark .ag-column-drop-vertical-empty-message {
display: flex;
align-items: center;
justify-content: center;
border: dashed 1px;
border-color: var(--ag-border-color);
margin: calc(var(--ag-grid-size) * 1.5) calc(var(--ag-grid-size) * 2);
padding: calc(var(--ag-grid-size) * 2);
}
.ag-theme-quartz .ag-column-drop-empty-message,
.ag-theme-quartz-dark .ag-column-drop-empty-message,
.ag-theme-quartz-auto-dark .ag-column-drop-empty-message {
color: var(--ag-foreground-color);
}
.ag-theme-quartz .ag-pill-select .ag-column-drop,
.ag-theme-quartz-dark .ag-pill-select .ag-column-drop,
.ag-theme-quartz-auto-dark .ag-pill-select .ag-column-drop {
min-height: unset;
}
.ag-theme-quartz .ag-pill-select .ag-picker-field-display,
.ag-theme-quartz-dark .ag-pill-select .ag-picker-field-display,
.ag-theme-quartz-auto-dark .ag-pill-select .ag-picker-field-display {
font-weight: 500;
color: var(--ag-chart-menu-pill-select-button-color);
}
.ag-theme-quartz .ag-pill-select .ag-picker-field-icon .ag-icon,
.ag-theme-quartz-dark .ag-pill-select .ag-picker-field-icon .ag-icon,
.ag-theme-quartz-auto-dark .ag-pill-select .ag-picker-field-icon .ag-icon {
color: var(--ag-chart-menu-pill-select-button-color);
}
.ag-theme-quartz .ag-status-bar,
.ag-theme-quartz-dark .ag-status-bar,
.ag-theme-quartz-auto-dark .ag-status-bar {
font-weight: normal;
}
.ag-theme-quartz .ag-status-name-value,
.ag-theme-quartz-dark .ag-status-name-value,
.ag-theme-quartz-auto-dark .ag-status-name-value {
padding: var(--ag-widget-container-vertical-padding) 0;
}
.ag-theme-quartz .ag-status-name-value-value,
.ag-theme-quartz .ag-paging-number,
.ag-theme-quartz .ag-paging-row-summary-panel-number,
.ag-theme-quartz-dark .ag-status-name-value-value,
.ag-theme-quartz-dark .ag-paging-number,
.ag-theme-quartz-dark .ag-paging-row-summary-panel-number,
.ag-theme-quartz-auto-dark .ag-status-name-value-value,
.ag-theme-quartz-auto-dark .ag-paging-number,
.ag-theme-quartz-auto-dark .ag-paging-row-summary-panel-number {
font-weight: 500;
}
.ag-theme-quartz .ag-column-drop-cell-button,
.ag-theme-quartz-dark .ag-column-drop-cell-button,
.ag-theme-quartz-auto-dark .ag-column-drop-cell-button {
opacity: 0.75;
}
.ag-theme-quartz .ag-column-drop-cell-button:hover,
.ag-theme-quartz-dark .ag-column-drop-cell-button:hover,
.ag-theme-quartz-auto-dark .ag-column-drop-cell-button:hover {
opacity: 1;
}
.ag-theme-quartz .ag-header-cell-menu-button,
.ag-theme-quartz .ag-header-cell-filter-button,
.ag-theme-quartz .ag-panel-title-bar-button,
.ag-theme-quartz .ag-header-expand-icon,
.ag-theme-quartz .ag-column-group-icons,
.ag-theme-quartz .ag-set-filter-group-icons,
.ag-theme-quartz .ag-group-expanded .ag-icon,
.ag-theme-quartz .ag-group-contracted .ag-icon,
.ag-theme-quartz .ag-chart-settings-prev,
.ag-theme-quartz .ag-chart-settings-next,
.ag-theme-quartz .ag-group-title-bar-icon,
.ag-theme-quartz .ag-column-select-header-icon,
.ag-theme-quartz .ag-floating-filter-button-button,
.ag-theme-quartz .ag-filter-toolpanel-expand,
.ag-theme-quartz .ag-panel-title-bar-button-icon,
.ag-theme-quartz .ag-chart-menu-icon,
.ag-theme-quartz-dark .ag-header-cell-menu-button,
.ag-theme-quartz-dark .ag-header-cell-filter-button,
.ag-theme-quartz-dark .ag-panel-title-bar-button,
.ag-theme-quartz-dark .ag-header-expand-icon,
.ag-theme-quartz-dark .ag-column-group-icons,
.ag-theme-quartz-dark .ag-set-filter-group-icons,
.ag-theme-quartz-dark .ag-group-expanded .ag-icon,
.ag-theme-quartz-dark .ag-group-contracted .ag-icon,
.ag-theme-quartz-dark .ag-chart-settings-prev,
.ag-theme-quartz-dark .ag-chart-settings-next,
.ag-theme-quartz-dark .ag-group-title-bar-icon,
.ag-theme-quartz-dark .ag-column-select-header-icon,
.ag-theme-quartz-dark .ag-floating-filter-button-button,
.ag-theme-quartz-dark .ag-filter-toolpanel-expand,
.ag-theme-quartz-dark .ag-panel-title-bar-button-icon,
.ag-theme-quartz-dark .ag-chart-menu-icon,
.ag-theme-quartz-auto-dark .ag-header-cell-menu-button,
.ag-theme-quartz-auto-dark .ag-header-cell-filter-button,
.ag-theme-quartz-auto-dark .ag-panel-title-bar-button,
.ag-theme-quartz-auto-dark .ag-header-expand-icon,
.ag-theme-quartz-auto-dark .ag-column-group-icons,
.ag-theme-quartz-auto-dark .ag-set-filter-group-icons,
.ag-theme-quartz-auto-dark .ag-group-expanded .ag-icon,
.ag-theme-quartz-auto-dark .ag-group-contracted .ag-icon,
.ag-theme-quartz-auto-dark .ag-chart-settings-prev,
.ag-theme-quartz-auto-dark .ag-chart-settings-next,
.ag-theme-quartz-auto-dark .ag-group-title-bar-icon,
.ag-theme-quartz-auto-dark .ag-column-select-header-icon,
.ag-theme-quartz-auto-dark .ag-floating-filter-button-button,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-expand,
.ag-theme-quartz-auto-dark .ag-panel-title-bar-button-icon,
.ag-theme-quartz-auto-dark .ag-chart-menu-icon {
--ag-quartz-icon-hover-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 10%);
}
.ag-theme-quartz .ag-header-cell-menu-button:hover,
.ag-theme-quartz .ag-header-cell-filter-button:hover,
.ag-theme-quartz .ag-panel-title-bar-button:hover,
.ag-theme-quartz .ag-header-expand-icon:hover,
.ag-theme-quartz .ag-column-group-icons:hover,
.ag-theme-quartz .ag-set-filter-group-icons:hover,
.ag-theme-quartz .ag-group-expanded .ag-icon:hover,
.ag-theme-quartz .ag-group-contracted .ag-icon:hover,
.ag-theme-quartz .ag-chart-settings-prev:hover,
.ag-theme-quartz .ag-chart-settings-next:hover,
.ag-theme-quartz .ag-group-title-bar-icon:hover,
.ag-theme-quartz .ag-column-select-header-icon:hover,
.ag-theme-quartz .ag-floating-filter-button-button:hover,
.ag-theme-quartz .ag-filter-toolpanel-expand:hover,
.ag-theme-quartz .ag-panel-title-bar-button-icon:hover,
.ag-theme-quartz .ag-chart-menu-icon:hover,
.ag-theme-quartz-dark .ag-header-cell-menu-button:hover,
.ag-theme-quartz-dark .ag-header-cell-filter-button:hover,
.ag-theme-quartz-dark .ag-panel-title-bar-button:hover,
.ag-theme-quartz-dark .ag-header-expand-icon:hover,
.ag-theme-quartz-dark .ag-column-group-icons:hover,
.ag-theme-quartz-dark .ag-set-filter-group-icons:hover,
.ag-theme-quartz-dark .ag-group-expanded .ag-icon:hover,
.ag-theme-quartz-dark .ag-group-contracted .ag-icon:hover,
.ag-theme-quartz-dark .ag-chart-settings-prev:hover,
.ag-theme-quartz-dark .ag-chart-settings-next:hover,
.ag-theme-quartz-dark .ag-group-title-bar-icon:hover,
.ag-theme-quartz-dark .ag-column-select-header-icon:hover,
.ag-theme-quartz-dark .ag-floating-filter-button-button:hover,
.ag-theme-quartz-dark .ag-filter-toolpanel-expand:hover,
.ag-theme-quartz-dark .ag-panel-title-bar-button-icon:hover,
.ag-theme-quartz-dark .ag-chart-menu-icon:hover,
.ag-theme-quartz-auto-dark .ag-header-cell-menu-button:hover,
.ag-theme-quartz-auto-dark .ag-header-cell-filter-button:hover,
.ag-theme-quartz-auto-dark .ag-panel-title-bar-button:hover,
.ag-theme-quartz-auto-dark .ag-header-expand-icon:hover,
.ag-theme-quartz-auto-dark .ag-column-group-icons:hover,
.ag-theme-quartz-auto-dark .ag-set-filter-group-icons:hover,
.ag-theme-quartz-auto-dark .ag-group-expanded .ag-icon:hover,
.ag-theme-quartz-auto-dark .ag-group-contracted .ag-icon:hover,
.ag-theme-quartz-auto-dark .ag-chart-settings-prev:hover,
.ag-theme-quartz-auto-dark .ag-chart-settings-next:hover,
.ag-theme-quartz-auto-dark .ag-group-title-bar-icon:hover,
.ag-theme-quartz-auto-dark .ag-column-select-header-icon:hover,
.ag-theme-quartz-auto-dark .ag-floating-filter-button-button:hover,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-expand:hover,
.ag-theme-quartz-auto-dark .ag-panel-title-bar-button-icon:hover,
.ag-theme-quartz-auto-dark .ag-chart-menu-icon:hover {
border-radius: 1px;
background-color: var(--ag-quartz-icon-hover-color);
box-shadow: 0 0 0 4px var(--ag-quartz-icon-hover-color);
}
.ag-theme-quartz .ag-filter-active,
.ag-theme-quartz .ag-filter-toolpanel-group-instance-header-icon,
.ag-theme-quartz .ag-filter-toolpanel-instance-header-icon,
.ag-theme-quartz-dark .ag-filter-active,
.ag-theme-quartz-dark .ag-filter-toolpanel-group-instance-header-icon,
.ag-theme-quartz-dark .ag-filter-toolpanel-instance-header-icon,
.ag-theme-quartz-auto-dark .ag-filter-active,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-group-instance-header-icon,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-instance-header-icon {
position: relative;
}
.ag-theme-quartz .ag-filter-active::after,
.ag-theme-quartz .ag-filter-toolpanel-group-instance-header-icon::after,
.ag-theme-quartz .ag-filter-toolpanel-instance-header-icon::after,
.ag-theme-quartz-dark .ag-filter-active::after,
.ag-theme-quartz-dark .ag-filter-toolpanel-group-instance-header-icon::after,
.ag-theme-quartz-dark .ag-filter-toolpanel-instance-header-icon::after,
.ag-theme-quartz-auto-dark .ag-filter-active::after,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-group-instance-header-icon::after,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-instance-header-icon::after {
content: "";
position: absolute;
width: 6px;
height: 6px;
top: -1px;
right: -1px;
border-radius: 50%;
background-color: var(--ag-active-color);
}
.ag-theme-quartz .ag-filter-active,
.ag-theme-quartz-dark .ag-filter-active,
.ag-theme-quartz-auto-dark .ag-filter-active {
--ag-quartz-icon-active-color: color-mix(in srgb, transparent, var(--ag-active-color) 14%);
--ag-quartz-icon-hover-color: color-mix(in srgb, transparent, var(--ag-active-color) 28%);
border-radius: 1px;
background-color: var(--ag-quartz-icon-active-color);
box-shadow: 0 0 0 4px var(--ag-quartz-icon-active-color);
}
.ag-theme-quartz .ag-filter-active .ag-icon-filter,
.ag-theme-quartz-dark .ag-filter-active .ag-icon-filter,
.ag-theme-quartz-auto-dark .ag-filter-active .ag-icon-filter {
clip-path: path("M8,0C8,4.415 11.585,8 16,8L16,16L0,16L0,0L8,0Z");
}
.ag-theme-quartz .ag-chart-menu,
.ag-theme-quartz-dark .ag-chart-menu,
.ag-theme-quartz-auto-dark .ag-chart-menu {
--ag-icon-size: 20px;
background-color: color-mix(in srgb, transparent, var(--ag-background-color) 30%);
padding: 4px 2px;
}
.ag-theme-quartz .ag-chart-menu-icon,
.ag-theme-quartz-dark .ag-chart-menu-icon,
.ag-theme-quartz-auto-dark .ag-chart-menu-icon {
opacity: 0.8;
}
.ag-theme-quartz .ag-drag-handle,
.ag-theme-quartz-dark .ag-drag-handle,
.ag-theme-quartz-auto-dark .ag-drag-handle {
color: var(--ag-icon-font-color);
}
.ag-theme-quartz .ag-menu-option-icon,
.ag-theme-quartz .ag-compact-menu-option-icon,
.ag-theme-quartz-dark .ag-menu-option-icon,
.ag-theme-quartz-dark .ag-compact-menu-option-icon,
.ag-theme-quartz-auto-dark .ag-menu-option-icon,
.ag-theme-quartz-auto-dark .ag-compact-menu-option-icon {
width: var(--ag-icon-size);
cursor: pointer;
}
.ag-theme-quartz .ag-ltr .ag-menu-option-icon, .ag-theme-quartz .ag-ltr .ag-compact-menu-option-icon, .ag-theme-quartz-dark .ag-ltr .ag-menu-option-icon, .ag-theme-quartz-dark .ag-ltr .ag-compact-menu-option-icon, .ag-theme-quartz-auto-dark .ag-ltr .ag-menu-option-icon, .ag-theme-quartz-auto-dark .ag-ltr .ag-compact-menu-option-icon {
padding-left: calc(var(--ag-grid-size) * 1.5);
}
.ag-theme-quartz .ag-rtl .ag-menu-option-icon, .ag-theme-quartz .ag-rtl .ag-compact-menu-option-icon, .ag-theme-quartz-dark .ag-rtl .ag-menu-option-icon, .ag-theme-quartz-dark .ag-rtl .ag-compact-menu-option-icon, .ag-theme-quartz-auto-dark .ag-rtl .ag-menu-option-icon, .ag-theme-quartz-auto-dark .ag-rtl .ag-compact-menu-option-icon {
padding-right: calc(var(--ag-grid-size) * 1.5);
}
.ag-theme-quartz .ag-chart-settings-card-item.ag-not-selected:hover,
.ag-theme-quartz-dark .ag-chart-settings-card-item.ag-not-selected:hover,
.ag-theme-quartz-auto-dark .ag-chart-settings-card-item.ag-not-selected:hover {
opacity: 0.35;
}
.ag-theme-quartz .ag-ltr .ag-panel-title-bar-button, .ag-theme-quartz-dark .ag-ltr .ag-panel-title-bar-button, .ag-theme-quartz-auto-dark .ag-ltr .ag-panel-title-bar-button {
margin-left: calc(var(--ag-grid-size) * 2);
margin-right: var(--ag-grid-size);
}
.ag-theme-quartz .ag-rtl .ag-panel-title-bar-button, .ag-theme-quartz-dark .ag-rtl .ag-panel-title-bar-button, .ag-theme-quartz-auto-dark .ag-rtl .ag-panel-title-bar-button {
margin-right: calc(var(--ag-grid-size) * 2);
margin-left: var(--ag-grid-size);
}
.ag-theme-quartz .ag-multi-filter-group-title-bar,
.ag-theme-quartz-dark .ag-multi-filter-group-title-bar,
.ag-theme-quartz-auto-dark .ag-multi-filter-group-title-bar {
padding: calc(var(--ag-grid-size) * 1.5) var(--ag-grid-size);
}
.ag-theme-quartz .ag-ltr .ag-filter-toolpanel-instance-body, .ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-instance-body, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-instance-body {
padding-left: var(--ag-grid-size);
}
.ag-theme-quartz .ag-rtl .ag-filter-toolpanel-instance-body, .ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-instance-body, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-instance-body {
padding-right: var(--ag-grid-size);
}
.ag-theme-quartz .ag-filter-toolpanel-instance-filter,
.ag-theme-quartz-dark .ag-filter-toolpanel-instance-filter,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-instance-filter {
border: none;
background-color: var(--ag-control-panel-background-color);
}
.ag-theme-quartz .ag-ltr .ag-filter-toolpanel-instance-filter, .ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-instance-filter, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-instance-filter {
margin-left: calc(var(--ag-icon-size) * 0.5);
}
.ag-theme-quartz .ag-rtl .ag-filter-toolpanel-instance-filter, .ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-instance-filter, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-instance-filter {
margin-right: calc(var(--ag-icon-size) * 0.5);
}
.ag-theme-quartz .ag-filter-toolpanel-group-level-0,
.ag-theme-quartz-dark .ag-filter-toolpanel-group-level-0,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-group-level-0 {
border-top: none;
}
.ag-theme-quartz .ag-filter-toolpanel-header,
.ag-theme-quartz-dark .ag-filter-toolpanel-header,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-header {
height: initial;
padding-top: var(--ag-grid-size);
padding-bottom: var(--ag-grid-size);
}
.ag-theme-quartz .ag-filter-toolpanel-group-item,
.ag-theme-quartz-dark .ag-filter-toolpanel-group-item,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-group-item {
margin: 0;
}
.ag-theme-quartz .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-quartz .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-quartz .ag-layout-print .ag-center-cols-viewport,
.ag-theme-quartz .ag-layout-print .ag-center-cols-container,
.ag-theme-quartz-dark .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-quartz-dark .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-quartz-dark .ag-layout-print .ag-center-cols-viewport,
.ag-theme-quartz-dark .ag-layout-print .ag-center-cols-container,
.ag-theme-quartz-auto-dark .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-quartz-auto-dark .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-quartz-auto-dark .ag-layout-print .ag-center-cols-viewport,
.ag-theme-quartz-auto-dark .ag-layout-print .ag-center-cols-container {
min-height: 150px;
}
.ag-theme-quartz .ag-date-time-list-page-entry-is-current,
.ag-theme-quartz-dark .ag-date-time-list-page-entry-is-current,
.ag-theme-quartz-auto-dark .ag-date-time-list-page-entry-is-current {
background-color: var(--ag-active-color);
}
.ag-theme-quartz .ag-advanced-filter-builder-button,
.ag-theme-quartz-dark .ag-advanced-filter-builder-button,
.ag-theme-quartz-auto-dark .ag-advanced-filter-builder-button {
padding: var(--ag-grid-size);
font-weight: 600;
}
.ag-theme-quartz .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-quartz .ag-disabled .ag-icon,
.ag-theme-quartz .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-quartz [disabled] .ag-icon,
.ag-theme-quartz-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-quartz-dark .ag-disabled .ag-icon,
.ag-theme-quartz-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-quartz-dark [disabled] .ag-icon,
.ag-theme-quartz-auto-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-quartz-auto-dark .ag-disabled .ag-icon,
.ag-theme-quartz-auto-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-quartz-auto-dark [disabled] .ag-icon {
opacity: 0.6;
}
.ag-theme-quartz .ag-icon-grip,
.ag-theme-quartz-dark .ag-icon-grip,
.ag-theme-quartz-auto-dark .ag-icon-grip {
opacity: 0.7;
}
.ag-theme-quartz .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-quartz .ag-column-select-column-readonly .ag-icon-grip,
.ag-theme-quartz-dark .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-quartz-dark .ag-column-select-column-readonly .ag-icon-grip,
.ag-theme-quartz-auto-dark .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-quartz-auto-dark .ag-column-select-column-readonly .ag-icon-grip {
opacity: 0.35;
}
.ag-theme-quartz .ag-column-select-header-filter-wrapper .ag-input-wrapper::before,
.ag-theme-quartz .ag-filter-toolpanel-search .ag-input-wrapper::before,
.ag-theme-quartz .ag-mini-filter .ag-input-wrapper::before,
.ag-theme-quartz .ag-filter-filter .ag-input-wrapper::before,
.ag-theme-quartz .ag-filter-add-select .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-column-select-header-filter-wrapper .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-filter-toolpanel-search .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-mini-filter .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-filter-filter .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-filter-add-select .ag-input-wrapper::before,
.ag-theme-quartz-auto-dark .ag-column-select-header-filter-wrapper .ag-input-wrapper::before,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search .ag-input-wrapper::before,
.ag-theme-quartz-auto-dark .ag-mini-filter .ag-input-wrapper::before,
.ag-theme-quartz-auto-dark .ag-filter-filter .ag-input-wrapper::before,
.ag-theme-quartz-auto-dark .ag-filter-add-select .ag-input-wrapper::before {
position: absolute;
display: block;
width: 12px;
height: 12px;
background-image: url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41Ij48cGF0aCBkPSJNNS4zIDlhMy43IDMuNyAwIDEgMCAwLTcuNSAzLjcgMy43IDAgMCAwIDAgNy41Wk0xMC41IDEwLjUgOC4zIDguMiIvPjwvc3ZnPg==");
background-position: 50% 50%;
background-size: contain;
opacity: 40%;
content: "";
filter: var(--ag-icon-filter);
}
.ag-theme-quartz .ag-ltr .ag-column-select-header-filter-wrapper .ag-input-wrapper::before, .ag-theme-quartz .ag-ltr .ag-filter-toolpanel-search .ag-input-wrapper::before, .ag-theme-quartz .ag-ltr .ag-mini-filter .ag-input-wrapper::before, .ag-theme-quartz .ag-ltr .ag-filter-filter .ag-input-wrapper::before, .ag-theme-quartz .ag-ltr .ag-filter-add-select .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-ltr .ag-column-select-header-filter-wrapper .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-search .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-ltr .ag-mini-filter .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-ltr .ag-filter-filter .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-ltr .ag-filter-add-select .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-header-filter-wrapper .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-search .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-ltr .ag-mini-filter .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-filter .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-add-select .ag-input-wrapper::before {
margin-left: var(--ag-grid-size);
}
.ag-theme-quartz .ag-rtl .ag-column-select-header-filter-wrapper .ag-input-wrapper::before, .ag-theme-quartz .ag-rtl .ag-filter-toolpanel-search .ag-input-wrapper::before, .ag-theme-quartz .ag-rtl .ag-mini-filter .ag-input-wrapper::before, .ag-theme-quartz .ag-rtl .ag-filter-filter .ag-input-wrapper::before, .ag-theme-quartz .ag-rtl .ag-filter-add-select .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-rtl .ag-column-select-header-filter-wrapper .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-search .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-rtl .ag-mini-filter .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-rtl .ag-filter-filter .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-rtl .ag-filter-add-select .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-header-filter-wrapper .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-search .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-rtl .ag-mini-filter .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-filter .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-add-select .ag-input-wrapper::before {
margin-right: var(--ag-grid-size);
}
.ag-theme-quartz .ag-ltr .ag-column-select-header-filter-wrapper input.ag-text-field-input, .ag-theme-quartz .ag-ltr .ag-column-select-header-filter-wrapper input.ag-number-field-input, .ag-theme-quartz .ag-ltr .ag-filter-toolpanel-search input.ag-text-field-input, .ag-theme-quartz .ag-ltr .ag-filter-toolpanel-search input.ag-number-field-input, .ag-theme-quartz .ag-ltr .ag-mini-filter input.ag-text-field-input, .ag-theme-quartz .ag-ltr .ag-mini-filter input.ag-number-field-input, .ag-theme-quartz .ag-ltr .ag-filter-filter input.ag-text-field-input, .ag-theme-quartz .ag-ltr .ag-filter-filter input.ag-number-field-input, .ag-theme-quartz .ag-ltr .ag-filter-add-select input.ag-text-field-input, .ag-theme-quartz .ag-ltr .ag-filter-add-select input.ag-number-field-input, .ag-theme-quartz-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-text-field-input, .ag-theme-quartz-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-number-field-input, .ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-search input.ag-text-field-input, .ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-search input.ag-number-field-input, .ag-theme-quartz-dark .ag-ltr .ag-mini-filter input.ag-text-field-input, .ag-theme-quartz-dark .ag-ltr .ag-mini-filter input.ag-number-field-input, .ag-theme-quartz-dark .ag-ltr .ag-filter-filter input.ag-text-field-input, .ag-theme-quartz-dark .ag-ltr .ag-filter-filter input.ag-number-field-input, .ag-theme-quartz-dark .ag-ltr .ag-filter-add-select input.ag-text-field-input, .ag-theme-quartz-dark .ag-ltr .ag-filter-add-select input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-search input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-search input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-mini-filter input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-mini-filter input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-filter input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-filter input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-add-select input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-add-select input.ag-number-field-input {
padding-left: 26px;
}
.ag-theme-quartz .ag-rtl .ag-column-select-header-filter-wrapper input.ag-text-field-input, .ag-theme-quartz .ag-rtl .ag-column-select-header-filter-wrapper input.ag-number-field-input, .ag-theme-quartz .ag-rtl .ag-filter-toolpanel-search input.ag-text-field-input, .ag-theme-quartz .ag-rtl .ag-filter-toolpanel-search input.ag-number-field-input, .ag-theme-quartz .ag-rtl .ag-mini-filter input.ag-text-field-input, .ag-theme-quartz .ag-rtl .ag-mini-filter input.ag-number-field-input, .ag-theme-quartz .ag-rtl .ag-filter-filter input.ag-text-field-input, .ag-theme-quartz .ag-rtl .ag-filter-filter input.ag-number-field-input, .ag-theme-quartz .ag-rtl .ag-filter-add-select input.ag-text-field-input, .ag-theme-quartz .ag-rtl .ag-filter-add-select input.ag-number-field-input, .ag-theme-quartz-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-text-field-input, .ag-theme-quartz-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-number-field-input, .ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-search input.ag-text-field-input, .ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-search input.ag-number-field-input, .ag-theme-quartz-dark .ag-rtl .ag-mini-filter input.ag-text-field-input, .ag-theme-quartz-dark .ag-rtl .ag-mini-filter input.ag-number-field-input, .ag-theme-quartz-dark .ag-rtl .ag-filter-filter input.ag-text-field-input, .ag-theme-quartz-dark .ag-rtl .ag-filter-filter input.ag-number-field-input, .ag-theme-quartz-dark .ag-rtl .ag-filter-add-select input.ag-text-field-input, .ag-theme-quartz-dark .ag-rtl .ag-filter-add-select input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-search input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-search input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-mini-filter input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-mini-filter input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-filter input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-filter input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-add-select input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-add-select input.ag-number-field-input {
padding-right: 26px;
}
.ag-theme-quartz .ag-ltr .ag-column-select-add-group-indent, .ag-theme-quartz-dark .ag-ltr .ag-column-select-add-group-indent, .ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-add-group-indent {
margin-left: calc(var(--ag-icon-size) + var(--ag-grid-size) * 1.5);
}
.ag-theme-quartz .ag-rtl .ag-column-select-add-group-indent, .ag-theme-quartz-dark .ag-rtl .ag-column-select-add-group-indent, .ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-add-group-indent {
margin-right: calc(var(--ag-icon-size) + var(--ag-grid-size) * 1.5);
}
.ag-theme-quartz .ag-text-field-input[disabled],
.ag-theme-quartz .ag-menu-option-disabled,
.ag-theme-quartz-dark .ag-text-field-input[disabled],
.ag-theme-quartz-dark .ag-menu-option-disabled,
.ag-theme-quartz-auto-dark .ag-text-field-input[disabled],
.ag-theme-quartz-auto-dark .ag-menu-option-disabled {
cursor: not-allowed;
}
.ag-theme-quartz .ag-checkbox-input-wrapper.ag-checked.ag-disabled,
.ag-theme-quartz-dark .ag-checkbox-input-wrapper.ag-checked.ag-disabled,
.ag-theme-quartz-auto-dark .ag-checkbox-input-wrapper.ag-checked.ag-disabled {
--ag-checkbox-checked-color: var(--ag-checkbox-unchecked-color);
}
.ag-theme-quartz .ag-checkbox-input,
.ag-theme-quartz .ag-toggle-button-input,
.ag-theme-quartz .ag-radio-button-input,
.ag-theme-quartz input[class^=ag-][type=range],
.ag-theme-quartz-dark .ag-checkbox-input,
.ag-theme-quartz-dark .ag-toggle-button-input,
.ag-theme-quartz-dark .ag-radio-button-input,
.ag-theme-quartz-dark input[class^=ag-][type=range],
.ag-theme-quartz-auto-dark .ag-checkbox-input,
.ag-theme-quartz-auto-dark .ag-toggle-button-input,
.ag-theme-quartz-auto-dark .ag-radio-button-input,
.ag-theme-quartz-auto-dark input[class^=ag-][type=range] {
cursor: pointer;
}
.ag-theme-quartz .ag-details-row,
.ag-theme-quartz-dark .ag-details-row,
.ag-theme-quartz-auto-dark .ag-details-row {
padding: calc(var(--ag-grid-size) * 3.75);
}
.ag-theme-quartz .ag-list-item-hovered::after,
.ag-theme-quartz-dark .ag-list-item-hovered::after,
.ag-theme-quartz-auto-dark .ag-list-item-hovered::after {
background-color: var(--ag-active-color);
}
.ag-theme-quartz .ag-pill .ag-pill-button:hover,
.ag-theme-quartz-dark .ag-pill .ag-pill-button:hover,
.ag-theme-quartz-auto-dark .ag-pill .ag-pill-button:hover {
color: var(--ag-active-color);
}
.ag-theme-quartz-dark .ag-column-select-header-filter-wrapper .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-filter-toolpanel-search .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-mini-filter .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-filter-filter .ag-input-wrapper::before {
opacity: 66%;
filter: invert(100%);
}
.ag-theme-quartz-dark .ag-chart-menu {
background-color: color-mix(in srgb, rgba(24, 39, 50, 0.3), var(--ag-background-color) 30%);
}
.ag-theme-quartz-dark .ag-text-field-input::placeholder {
color: var(--ag-data-color);
opacity: 0.8;
}
`,document.head.appendChild(e)}}(),function(){if(typeof document<"u"){var e=document.createElement("style");e.setAttribute("data-ag-scope","legacy"),e.textContent=`@font-face {
font-family: "agGridQuartz";
src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAB60AAsAAAAAP9AAAB5kAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHItkBmAAjSYK02DDKgE2AiQDgnALgToABCAFhEYHhlUbGDZVRoWNAxCE6WSJokyNVmT/f0mQlxh6/aA2IaNSNSSMnFiPpCFrpxM4K2otB+uVtaIChHJqIvHDENnTdjLimnVXso4TytrTJzK4pg/me9l/YydzYHHZUEoe/n/tf/vemffdUS3liyhimoYMWTONUCiBEgj1rEV/Ps+9r/et+feYGhwbKIIByglQsVguFajUU8Bc6vSDVEIwvGxhQJFLtCEtQ2/vNjUAhue32YNvIvjF/0kD+mOjuHBJiFhF6aKMlUuMra2hbnfnSte6K4W1lzBXJX9zibf9f1FyUeqFXiEMufb6HcLgvJBHHMR871Sllk9WUWBoOTCmNGMQhNhF1s/dxncbCywH32oQBABKPMP/4ONvm6pmuvZk1rDIKWNuj+d82xpMQjITCuCDoFwi4H9V01W86y5NTmllGNP3ZJsIEKIEfEASRN09UzB9pjuvvGce3eXWdFNK77N4dBHdmVLbMLmOacOSYc2WOcOecUq2UFgnyp8tvnAVMiEtgVbEqzq3Qvxp3Rok89J7f80caG99C/bAiwpChJiEMMkNsv3qO5FAi6w2cmJqYUP+8Y3XT3WgZbdMcFwwPX5w74bks4VuGJfwX0Jtizy/N79/pfqZHub8wldS/ebV1/JWTStGFpTXNhUiGebJXMhhIzw+Kow1Wp3Vx3Cx4BriBBMY7FUEVWCyPj07hjTMCLSjjXjp9iJ4cXOjtAYk5WqtyiAIE0/zHeW3d4ymMZoax5hylBHhW73RzQRXSOOUUNFlTXgHARsVeftSI8aBgBRLlEUf0YLqBlHcg1Mn5ulxGECa1zFIIFe9DPZTzxyJICgoPs6gZ4FQt31fAFGzaFNCBQfqfY4OkMwQmk11bGbRObSxGmIALe+rQ3GqsKa9Gx+mSU4dQKNLsLj5JLEOJLVbUlPrvVXQEWIGvwoagTW8hECk63NwE/pNegiVBO19+fvxO/7xo0Tb08ubS2WpOm1Ou1J72k9gtoXyPf4qXw23W0/TE2qmIGqePZKStASraUzvycGhxdVSLPoyZDNUB1xagP0Acq3XKqNOXrAtnO7AamiZGA69W2viqHLEswsRLpvw7JC0TSR9eiOQxTG1uXgOA5mrkZLA2AriEAUvOhPH5dHZkzpQ9LS+QyWUXwTDWFp6e1Gc2BNRo6JEdlF5bnbEozzK0Q14T9ATnV6siC4K4sirtu+W1Sf14g3UeLrzjqH+9c2n6Jm2qo2FsWRFrPgoThTXRxMfVQQvztMX8OaUAHQDxFxDb4daQrpI0Erq0y7c+bBJaQBKDNoaSGR4ZN0WsR7XQOD9MMK/w+MZ3BAQSRUaEQ8OKahltEb6uGEUFRpJ+9ySelSFsl/QGCqpFT+zBtqogEtzIEQ1iKNA9BsUJKWu+1dyJJrx9AYG8sd8GXwpDnz6J5cyQMYUIHsVK3cnb/uPVIwKH9grtZF+Fdj0AKiBAlycKcr5cvP0dDaofd9FFLHu46F9QxseiZZy68lPTNbrLrlx6yVSyczsRM6DTmFlQAKqsil05HHKU5ETKPYEDWrg5TI1B46FkCgsDk8g+mf2YVSoNLR09AyMTMwsrGzsHJxc3Dy8fBR+AUEhYUYRUTFxCUkpaRlZOXkFRXolZRVVNXU0RkNTS1tH1z4LpAaQPbzhzx9fW1ya2ptYmVFZ3pyb3eYuTG/tzq/v7FtdbUD53nsVuPTRBnCjceBma8CtFoHbLQF3mgLutgfcawK43wrwoBngUavA45aBJ20CT5sDnjULPG8beNkk8KoF4HXTwJu2gLftAu+aB963DnxoB/h49kEQo1gSBiwFA5YGNEAwaIRg0QTBoRmCRwuEgFYIEW0QEtohZHRAKOiEUNEFoUE3hBY9EDr0QujRB2FAP4QRAxAmDEKYMQRhwTCEFSMQNoxC2DEG4cAhCCcOQ7hwBMKNoxAeHIPwoh3Cl+MQOQGRkxA5BZHTEOiDiBgZAzwKDPAYMMDjwABPAAM8CQzwFDDA08AAzwADPAsM8BwwwPPAAC8AA7wIDPASGHrjZWDOeQUY4FVggNeAAV4HBngDGOBNOJcSonUuNYg2Q8Y7wADvAgO8BwzwPjDAB8AAHwIDfAQUTMfB13b+wG+0PwNd37NyHissKde4UwgUUmNwqY/Aon/vkN88uAmfAbkGfo4B8ovk+AjEx2oSoACDojFdV2rGpfWbber8hlTuUk5tptE2hRfFHQyEb0uOjojmRtADtjDYgavYTZIwNJIJ0Z6cHx0sCaaHD4s8jko58QxFsBCpCmwOTmUh/SRkM18oYtAD7Dr2Q0a4Zx9QKILJ8mexdStGY+SMMDRRKBayoiLp0KZwCAlnoFw+P5LFixJjdJ8mBqNKdnOxu0O4jCjS8Oyd0ulbaf7rNCvNsMSlVH3Yo+lAuQG5MjYh//wtgQBOxVvFygozrpmYk/R2l4ilVHppV4d3mgjyspFM+61xYQ+DuudwKuHE7DdFRPViyCsQ45WDMdtNptebRYJiDjuQL6FDJVdgelrTlkZEddl3l/j0crn2TZJr17fSjk4CnIhBw0jyhW9PuO1Ude0efnFjW8jbh03SrSieKnrug9sUtDTUBLbABthnNpgtcItcOwuqPqeASn7cA7uv0sDycqZn1NYFgGauWoxGHgA1VpLPhO3OsKBIOvaQqJ6wiAs5iTuYWvk6/DFePsDDJYausJ7LdYZr4+gqJnZe89JYmaMQUDTiUqVm3JXIrz8Zke3U8iXqkIcdSjVqHyWtDb9w9dmOg5nG56znz+VCGPN61Yg//8ULxczR/v6fpFSo7rwiZe4ObU/Mh8w9whXBE0yaRn4x08UbPGRK+EFXVPNWF0+MvvyGyxsG1F91/Qx+FExPiEcsX7QIw1716ptL2Z2Hvua6Mun6z8LlF7sOfyNeyBusXzTJt+Vknj9odCfI1MNRCwkt5taAOmeM+Z3CQ/MrXgkFHS4WjsRlpsEbFx/gPFwbXMDJo5soMf7QUKok1BoRWUdsW06g+VPMenLrOlVw3gPW4ds38BuuT9YdSivNUI19MjmQWeLTdctblukuo1mElw1o1VGjXoeoKibSkO8cBsKxHYsPn6O/d/PaFuqJBZwhfteZ2KPVy5B9xefRtfjmtRPUSFmhkJbk4kMNa2hkU4vd3KT35YrRZuP6GKFFM5WcsATfBQveE/UN/EWpAens6nY5xtsMU90AubaCRFGqN9wR39SFvimGFBohOwR1XTCFuMfhBNe2FYZslyF+xLKIIcNuLlGUeMgMmzSyDMO2DZNDpEjrYb2oT0yTJG/YEMecyQvFgelQ1SEeVcS6tiqrlkh3WQzhDUihoK89x6YpKGH2bovYGp6GM2QOzUoo781G3UeMUWvEbeeaerLP4sjc/Vz+TNkXzcp4Ll9ORht9nrZhinUImsHyHAbQ4A8RMWq1xr1UgpPGACnCE0yU5nnyQrIa4Qjnt1yqUkgy30tAPYFTwkMmQQcB3RORpsBBsmHHnIQjhyBRtYhGf5az+eL8zNlHghm1PqzeZH2PL2rvv58DuCDhdfjFacloc9qCkT3mj0kkpzNDiM+Xdo0oVqc3ymWeSbHQyzNvLhc0vQQZmkLyBdVvejxDo7Fy+/PF1/MVFuHPGdDBwnkTVXaWzn1yR80zrffRrZLBrfbEWF/4zz9FJcdxuDTzZl69u6O7Z2SqEc2RGTiNZ1WceQafPydeL0Jv2DulV7e3To30BLs+nSdkuMubfv3+rqN9YxOh9pKZj27JWWLO1yKfWZ92oQPWYU8+aWa1QB92oMuY6eQCsBp3w4yZGp1rR8M3O8Aai1CQd1hzWIND1521NWKUB3EhHRMzPcZvRKV78QDgxx0O8tDE2qApzmkruTr16YQdif6meHy/wWwszR3YgVKjVKeDzKZ/zEeC0l9M4AS5cXUADc5OAoC91SSGZFcHfJYpL96Cx6f74cDMRC2+kQRYqRTZqVneWObu6gEtqG687Aj7IwNrmy0cEx0zaIIbnL8h6fdq3pERt8DBSNKEHYtEp0wyHK61yUqXieJ47PInGWYoCKAppOT2wlpK4wY0rbfAOsvP8iLoqRzd/PqcTdyuuwDM7WgetmWDeGlt01RuOmhfiU063Wi1DDrSJGLOkyGLLB1FB8O7WPYSy1UMojV8M5IWC1tq+tRcHy1XJk6ylZiV7AdlnP6wH2EWHIQf1qvIJeMPeUACiSmz54pids7HxmjaiZS3JCmrgQCvsb7s/M1nAOTVGllYtMC6QculGXwvQNOjt1/k3QD3L6/NHD6jor8XF5TJxTfho7xR1Z2Qh3wNO1wbY4qERIq8VbT0aDZhZ1pncM4W5GoI2B1nk1QhOpFaZlx6pRgMZaNQKUmmxtxfsltRGCkddHTk/FnZbqcqruF60jB+LlfjxTtQZ6TVE0oXF3dlO9Py6fVVHOkK9mfaX6QcRZHWPnHunbFGZXtRy0fenIoDryUHDKHESouLclaXPVLHD3sdb/XTSV5e/sln9pqUU9scDak4sJnr7Gxp3D8hqFRGm9tAUz+y079Eo81Wo/m2kvZqccBitX3Mr1rppGvHBCgjjcdmMIshYvP9ELLQypjYFxydHAAaDVwbvAj7D/sW6w6e+azXHEx4cnYQDWmmh51l5lqZMnlEj5NhaSbwoseaqK6JjjPx5m408msdoABjtXUAXwuwHyB9AoKNygLOFgsCVfBex9PdT9qHoV2bX26ryAFPuC5DsiJyI7ZXQFcmihWONbELDzjooSouNj2bhj0hz/C6GeHlIa9Ib9yJeymc0GPeUi6heRoNBEivm9puVQb/PwJ7Kx089i5nllUydzZXA9Glpo28AyNtD3NnrYoaozjdElW2Ti5ON55Qmk7fuHmBX0ZV19NmYB+lrRb8oky7xFCFlBrfyIiVVXPhZDwVTlhfBbVadyh4QyxTjrgGhZvBI4WjhodelA1j875QJh68aOuuNBtYm5Gi/ro1g6phfOhC9xHdfPG9C7bnNSz75IkkT7yAS2g8klsT9ZMLBlw0PENy4INtQiqp1qgiWxYymbwxE+vcpzJbfFZ5iP2PuDi0eapoavPn+5YCZDvJD27f55tdRZMc5CY3/6/cj4bO//fyN3PcMg18ICr5gJST27bh/kflhIcCPDvlsLZtq4hpa21lWqq6LwPw125rOQh7pUG4hSFA8XSbLcyW2vVZiMJ+OX6Zt8GeAuHyRBIjuVzcv19N3L93HXJhDvT6hoZev0g7UHX+EjMEwBwrMAI5+oT12qTh0h+2DZ+McURh31vV/PTAHCr2g+LBOH/YldrwsiBGJPzh7Q3F/OJm/bRKtq9ZvphcGN8OGYtjDP2RLPiWBFLqK2fiDTHH1+YmzBfdY8HfHkc0qbPgjq9g5CP+bJrk3m+uYRfBPr6UOHfi2DESc8pxtxvY+fuppMu94mvEg0cdRT8ukdMX42bC2Shf0Y/Z+6YyLv25ecN9Kke8OkkfkENRHD3BG3ZftUIkSrUNU6IwOyJY4KbEb9Xm0e42nzix/etQ9MPpIHlsEPVFvd6RkVdyh3zQrtfbXY2s3WofyWR9K5rbq7aPeIFQtx5xoEdRB/YlGZMl6BnVXA+qLjxD3JgTmWpoNAVyB749pE3Tl7v4oPQN1eHDudUrc2EoBcq/TlZVwbnKFCWct7IqH969AHzMBNzgc0IoCJ1xkrqhbvMW/aZDu5Y1i4ifVR4nZaaMTmGfKaRc02wc6gISXQrzwNE3ukc7e4I23OAPpcC9iTkT4XG4srW7v3xj7I0vd69tMccbbxUVDAb301iuaS8q6kviJnWXFLueoE9cpt2lxH1FRe1PIgAs+YDAHJhn/XqCsIdpwzQYhlImihOUygoSI3NzP39YGRnNpKfQ4e8hjTRaKnvRRzduOCIdYduFB8UHhZGvreSAnM5f9bEDhoFYPWjMZnIsr5X2hnz4ZcexLz8MgY3RehCkW8Ec5xukp+MkcebY01KD5FJsQv78tdLP0+H64ycWnThcDxth6eThrg3FmcaDXcc3hlYD1nKYlJOTk+AjCo/44yOZj5SD4JsYCe35aIQ4MTcCxZ5W9ihPx0I9j/9NKeLGXEj1005+hapCO5MQUZhkP0/SKeF3fnb28pPxTovBtCf/EJgTI9lsDhvH3BhRnIVNYi4MR4/MUZ0ITH8yWlVhW7c7/SIFq8KSsUps+se/pN4+MBzxVW19G+VZkEId9pKyrucFPPf9U798z7pYfUAuHmhFwjlRf7+1y4+275reEFNUNUybu+Y3bqS1pDaUuVLP2xF64kIojzc5W7lb/WDjTjTk5LW96Y0/0JlGhHGp8f0B1tRdKB718eRbO6rtrFOM1OmKvC/DrkkYweW6T75iv3Un/Nys12NdMW5uLODs8Q/JY9H8ualPOev6QvvWcZLvqYJop8IN780NlIs8GlxDaoihvOlzLSukVXx9EW3VycamuHhCr2+G/PXXdEqJJFubUsQo4Lo5BfSiFG22pISqa8xejq0c5CfEFzg/EOEaj4bQkK/VXVHxesnvZECkSkAcmAv98slTYolDjkvEJPYp7VVO+eDY2p4+Qe6rfHLXUp+9au/abE7BMNP+S+9s63zrzTO650HDSjozN39Naf2xtZnIySA0KIOrrzA1TOt7FjysZYSDGImVYMuYv7uqmtla22Yw/y2kHAh0BrB+aUquQp0+W63Irzndu7ExSn33YYk34+E35Yzx2S95Citno3g0Y7v4CfcTPODVR31ke8fgko/ZONXKK2NrtewynlVILGlMmapYbJrSJqzcIs5q3NjbW7PzvdhhdXquYmnK+qQkoNspWzFlKzBPDlZETQPWPOzzrHHG7PWdhSSGp0q0Hh9DRSMCA6t9TTE5FYfV7HT2Lunew8MVOTFNWsiSrBmh3dbG6xJzeCWRPdChH71H3qaNaJIt0LwoIanOF8kbSspPSMhfJN2FRfsbPKymMISW6RIg71/Ehfws9JfenxHXO9/EyFFKZ8X5Abqn70DAqXwHmH8KmTDhb8uemxwZwf2PFBIou221raIZMAAUrwtJjYl0Twr3nc4ajbgNvNl5PqY6Lw7E3lQRGClezB9Pnc/rZRHmRHrhUnix2F5t1uiF7MUlBIaXFFcpixGn3IlIp+5AkYLqRqIPehWdo1rpZAYgH6DCGmn/Uh2h7o8gV7PX2UhDINFF4PL+QiIubixLlDVmZNovW4aP+jyIC3MhHuCt5ftl6NJ0GRMRmaFl0czEYsl8rah0ofrnaUqkiTXD7uDyJ0yqNJVpgp+JVx00M6FEOk8jMi4YqE1ZkpAqw6wFbSGfcl8+kEhaZiF456tzArGQd/mtaxvFMdJm8/g7Cj2eTmLy+xFQ2mxIdzCrZyVvCEC6oK+ue5pumKZMGpTKZ7MRcof/93Qc+7p1KeLabHvqpQ7U2UEs5FCt0zY25qX22G/2fpZ2oVOIC5mClkyNDJkkMYlr/22M5CKCHBsD9/8ibuE5g0mdk98i3+aJk/gBssf/IsDsgeMkRo6O2qUmPeE+l23z+TyYkjmuPMHMJ7Xuqd+iDfxu4RToL9krvvXo0S1z51boeULu9CdP5bW1toTbGarEDZmF1Z6fOwfg5dMAh6vRpM1UWxcWJOYlJOQlFriku5iX0Id2vdZlmutmVaQtW5ZWMfvnqU/96N0BP83+Oe0nUDHrMWZ2RR1gQ/fFdCFfeilu4qqOuySd4I3r5vMtbA6cDk9o75Shfhg/SV8n/15WZ0xKh19QcukDKOHPTx/npSca7dLAY6/mvbrwDHUhMpMJ93MUEm+/Q2BkfrD21lpmVbXdZJQhbhB6syl8nJ8nvRhL0UccFHaF9DRnyeAaWRbqQA2IC21fXg2cLWvuCela+mOEAc6pjYD10elwLOJG7shqQLa0uZfG/55P6z2YJQU1sjuIE40JS4/Wh/VAHWGYI/8w6gJ0JHeCpAbXIh+eEb4nlU6d0w2SgdgBgmSyDoruo05kaEj7XUPHCxjSnzV0x9RKd04kH7pTeMeDOBAQpRpdE3i1Um3OWYY0z7DMgCuXvlM4d1l2M7LJsqmc0V2YplbMaQzJr/6TA2nOXjan8HzFcvp4TmtkHLRWtqElaw2yeAnDurBrf6U5vHtJd2GY3bqoCSnYYcg17Ija9O67m6Jak5t2FVOYlPSz74XmnqYqjlmmr9dvGtOmbVte+5O9HQUDP3RXWUS1e+wRoKNfnh71CPfE5wPROgfqRLz9/YTcIccnp/wSPFNTdrMlrLbW3t/vRVyI+Ed06iKZiAtzI+Dro6F5XAwoNvnZ+favMn3Ow+TbJyftnw8HbMTPXs4zWyjwde5Vy01Xwbgcf3DfAzrkxDJ9fSSGA+PIXLdK/EVrrGALyXRExN4BI51tMsFipY0D31w4NDjgf69rOPSd9evaaltElupu228P/V1L8F+DFk+UhWdGwBUOvEcGfIyRX4Q+FNOwSbyKTP6EWTVTBUQScdJB0cEkOv3XTMlDnTNyHtj1rTYBqB3D+u2rylLNKpU5texZarmLZlUvPyt/TZU3lelokNeyTGaVmlpaTFKr7LZ0P/eWFqlJZr1dE/wqAXUia2tCj1VTY5Yo5a5SvxMshFbRXImJyTZV3lp2h1rylq1X3lj/vceIpSFTJUwDh8axyvw8n7xr8wZB2JtzsMo82M4XC1UpRmOKSrOi4MeAd/jbyTsBP63I16iMySnG13VyksCrhH9W5KsroLJ1Tt2tf7dH0ZcELvMSxE94adwn4rmBlj89uN/Rwv9GKfb5NVcGImzPUmR9peePy9y54qfcNN5TcQJ3W/TaV3sv08Mz6GKGey94+eA8I5xh3lu3sHafmSFmrAXja4gbeRwc9Hr5rjjj+Ypv9FcwZLU5WXzqe0n4pKHxQxx1BJ/mrJhfd8oLBh/LMFkNyJIeDDnx5a71/+z6UjWPGi19tnvlwpbw3mQsHHh8sAuMjJIywoSkes1MvYXghhhZsQFZgrMRjqm/v/TGtNS3XpSFR4FyHBC7I0Ycax5HYAT+jUhfPTzzCIEB5diBytGFRLnzE1fAb9nfFgjW7r+OqpwZYVukW5hnXKGK9peuQdbAXM2dvHp6XJZs2Elpl7ZTdq6auRV11WbOIjY3oC7fu9o0zZ4O7wy8LLDZrBbb5kc83Wz6bF1mZuoAfSDVvnkz2Pl/Nurz6UUUtKbI3aIBaSU097A70EuhqGtmpBOgDbftg3xg0pjggDqOyT1QVPo+5IhaDeUCUP/OGujHVXo9dOMWadCCpCu/2UXcoyUIkSYchRK68m9N6SjqZ+kOSCtC07QBWp12U3+55VPofRH4FhpmeWb+gzoqMmlKt0IPhBZER3FlH/SdyULMSCdA1GP3yJ1QaGLWlYsNomUxSRuoKiWkvgniMi0nCTJAja/oysWQO8qr/1+XRWh1JaJkEAKWt4ii9hYIaqNZOyPQC8xE6J/KXxt4fudfxWJ4zu9BIZAPgFQW/NWVXQUyG/VP+vQjmv4sMSUBoH9DmKF8f1HM/PHjH03h+7jB/9dJ/v45JMTVmXg+8TJoSXqgDk6XXzpyEpnYI+NK5IkWe2EArWz1nFYjSZzWQFamLTWiDztvZfAogiiDAcHqfXUaSfVBqU3rJ6Wh9edpDLM/lIXW/6eJzsnvd5OE094CqI/i3UcG0fs3rHMA+blKsi+/UJJnKl4Oz1Vv7IiEAoquON2K1NavqlVRCTfFO1O8qhC4iMKfaPVwVo1vT09VmvBguelAfRTvPjIkfr1/w43K4WytCNaqzv6FTzTBwcZUvByeCbUjEPFZQdHZp9uXndqN/aq5XRUf1cJN8U4VE9KQUl5DrPc+0abqcO7gxbenfKiKVB0sFfPPUpdF/D/Cc0CVyrQcttPl9mivzw8gwoQyLqTSxjofhFGcpFlelFXdtF0/jNO8rNt+nNf9vN+v0erS9RmGzKzsnNy8/ILCouKSUqPJbLGWlS8wwO9OK9S1YA3qmYYgwpfUg2T78Dl1AA6vBkMLZDEM7BlE1xFE+3Xia7nrQff4YzeeHCpK4wkUt1VdmYgWn1sOLGX0J50y+ihyQ2lqmVTAKrq+5XgbWOGUeja1PZu1z9oe4PUhNy4ZgXqom+ANyxQgnXt7d1j5cMPcwHGStF+Lj4NaOMf+xZymHysdBk+Mk44Cg/NUjxu4+sbfsd8g5bGgpNSAmHBGrCWEwBfIQby6iD0sToPoW9a1rPcPl6esylRyVa1+xNFAfH3WfoIWp6mhMFA6vtABc8FnYLTh43ckItWxqDNTQSxt4ATYpqviCJOf83JEGmeShHY7eTHkNGjUi42HgbhGfdqoOsBymo8tlMq0h5kQl7T42ByhK0+sys205CrHqXJkKwOYkuP8gMXObvAmvwBjw6dj/tWW4FwfnVcDpjZi0Kjxhg2Zi0nGGmeCOZsvczJXUzYmm2hupjWVuXcA);
font-weight: normal;
font-style: normal;
}
.ag-theme-quartz,
.ag-theme-quartz-dark,
.ag-theme-quartz-auto-dark {
--ag-active-color: #2196f3;
--ag-background-color: #fff;
--ag-foreground-color: #181d1f;
--ag-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 15%);
--ag-secondary-border-color: var(--ag-border-color);
--ag-header-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 2%);
--ag-tooltip-background-color: var(--ag-header-background-color);
--ag-control-panel-background-color: var(--ag-header-background-color);
--ag-subheader-background-color: transparent;
--ag-invalid-color: #e02525;
--ag-checkbox-unchecked-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 30%);
--ag-advanced-filter-join-pill-color: #f08e8d;
--ag-advanced-filter-column-pill-color: #a6e194;
--ag-advanced-filter-option-pill-color: #f3c08b;
--ag-advanced-filter-value-pill-color: #85c0e4;
--ag-header-column-resize-handle-color: var(--ag-secondary-border-color);
--ag-icon-font-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 90%);
--ag-find-match-color: var(--ag-foreground-color);
--ag-find-match-background-color: #ffff00;
--ag-find-active-match-color: var(--ag-foreground-color);
--ag-find-active-match-background-color: #ffa500;
--ag-panel-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 3%);
--ag-panel-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 20%);
--ag-menu-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 3%);
--ag-menu-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 20%);
--ag-selected-row-background-color: color-mix(in srgb, transparent, var(--ag-active-color) 8%);
--ag-row-hover-color: color-mix(in srgb, transparent, var(--ag-active-color) 12%);
--ag-column-hover-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 5%);
--ag-input-focus-border-color: var(--ag-active-color);
--ag-range-selection-background-color: color-mix(in srgb, transparent, var(--ag-active-color) 20%);
--ag-input-focus-box-shadow: 0 0 0 3px color-mix(in srgb, transparent, var(--ag-input-focus-border-color) 47%);
--ag-input-error-focus-box-shadow: 0 0 0 3px
color-mix(in srgb, var(--ag-background-color), var(--ag-invalid-color) 50%);
--ag-range-selection-background-color-2: color-mix(in srgb, transparent, var(--ag-active-color) 36%);
--ag-range-selection-background-color-3: color-mix(in srgb, transparent, var(--ag-active-color) 49%);
--ag-range-selection-background-color-4: color-mix(in srgb, transparent, var(--ag-active-color) 59%);
--ag-row-numbers-selected-color: color-mix(in srgb, transparent, var(--ag-active-color) 50%);
--ag-checkbox-background-color: var(--ag-background-color);
--ag-checkbox-checked-color: var(--ag-active-color);
--ag-range-selection-border-color: var(--ag-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-disabled-foreground-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 50%);
--ag-chip-background-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 7%);
--ag-chip-border-color: color-mix(in srgb, var(--ag-header-background-color), var(--ag-foreground-color) 13%);
--ag-input-disabled-border-color: var(--ag-border-color);
--ag-input-disabled-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 6%);
--ag-modal-overlay-background-color: color-mix(in srgb, transparent, var(--ag-background-color) 66%);
--ag-chart-menu-label-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 80%);
--ag-chart-menu-pill-select-button-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 70%);
--ag-filter-panel-card-subtle-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 70%);
--ag-column-drag-indicator-color: var(--ag-active-color);
--ag-borders: solid 1px;
--ag-border-radius: 4px;
--ag-wrapper-border-radius: 8px;
--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: 8px;
--ag-icon-size: 16px;
--ag-header-height: calc(var(--ag-font-size) + var(--ag-grid-size) * 4.25);
--ag-row-height: calc(var(--ag-font-size) + var(--ag-grid-size) * 3.5);
--ag-list-item-height: calc(
var(--ag-icon-size) + var(--ag-widget-vertical-spacing)
);
--ag-column-select-indent-size: var(--ag-icon-size);
--ag-set-filter-indent-size: var(--ag-icon-size);
--ag-filter-tool-panel-group-indent: var(--ag-grid-size);
--ag-advanced-filter-builder-indent-size: calc(var(--ag-icon-size) + var(--ag-grid-size) * 2);
--ag-cell-horizontal-padding: calc(var(--ag-grid-size) * 2);
--ag-cell-widget-spacing: calc(var(--ag-grid-size) * 1.5);
--ag-widget-container-vertical-padding: calc(var(--ag-grid-size) * 1.5);
--ag-widget-container-horizontal-padding: calc(var(--ag-grid-size) * 1.5);
--ag-widget-horizontal-spacing: calc(var(--ag-grid-size) * 1.5);
--ag-widget-vertical-spacing: calc(var(--ag-grid-size) * 1);
--ag-toggle-button-height: 18px;
--ag-toggle-button-width: 28px;
--ag-toggle-button-border-width: 2px;
--ag-font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
Cantarell, "Helvetica Neue", sans-serif;
--ag-font-size: 14px;
--ag-icon-font-family: agGridQuartz;
--ag-tab-min-width: 290px;
--ag-chart-menu-panel-width: 260px;
--ag-card-shadow: 0 1px 4px 1px rgba(186, 191, 199, 0.4);
--ag-popup-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.15);
--ag-side-bar-panel-width: 250px;
--ag-filter-panel-apply-button-color: var(--ag-background-color);
--ag-filter-panel-apply-button-background-color: var(--ag-active-color);
--ag-column-panel-apply-button-color: var(--ag-background-color);
--ag-column-panel-apply-button-background-color: var(--ag-active-color);
}
.ag-theme-quartz-dark {
--ag-background-color: color-mix(in srgb, #fff, #182230 97%);
--ag-foreground-color: #fff;
--ag-border-color: rgba(255, 255, 255, 0.16);
--ag-secondary-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 10%);
--ag-header-background-color: color-mix(in srgb, #fff, #182230 93%);
--ag-tooltip-background-color: color-mix(in srgb, #fff, #182230 96%);
--ag-control-panel-background-color: color-mix(in srgb, #fff, #182230 93%);
--ag-input-disabled-background-color: #68686e12;
--ag-card-shadow: 0 1px 20px 1px black;
--ag-input-border-color: var(--ag-border-color);
--ag-input-disabled-border-color: rgba(255, 255, 255, 0.07);
--ag-checkbox-unchecked-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 40%);
--ag-row-hover-color: color-mix(in srgb, transparent, var(--ag-active-color) 20%);
--ag-selected-row-background-color: var(--ag-row-hover-color);
--ag-panel-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 10%);
--ag-panel-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 10%);
--ag-menu-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 10%);
--ag-menu-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 10%);
--ag-advanced-filter-join-pill-color: #7a3a37;
--ag-advanced-filter-column-pill-color: #355f2d;
--ag-advanced-filter-option-pill-color: #5a3168;
--ag-advanced-filter-value-pill-color: #374c86;
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-filter-panel-apply-button-color: var(--ag-foreground-color);
--ag-column-panel-apply-button-color: var(--ag-foreground-color);
--ag-popup-shadow: 0 0px 20px rgba(0, 0, 0, 0.3);
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
.ag-theme-quartz-auto-dark {
--ag-background-color: color-mix(in srgb, #fff, #182230 97%);
--ag-foreground-color: #fff;
--ag-border-color: rgba(255, 255, 255, 0.16);
--ag-secondary-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 10%);
--ag-header-background-color: color-mix(in srgb, #fff, #182230 93%);
--ag-tooltip-background-color: color-mix(in srgb, #fff, #182230 96%);
--ag-control-panel-background-color: color-mix(in srgb, #fff, #182230 93%);
--ag-input-disabled-background-color: #68686e12;
--ag-card-shadow: 0 1px 20px 1px black;
--ag-input-border-color: var(--ag-border-color);
--ag-input-disabled-border-color: rgba(255, 255, 255, 0.07);
--ag-checkbox-unchecked-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 40%);
--ag-row-hover-color: color-mix(in srgb, transparent, var(--ag-active-color) 20%);
--ag-selected-row-background-color: var(--ag-row-hover-color);
--ag-panel-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 10%);
--ag-panel-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 10%);
--ag-menu-background-color: color-mix(in srgb, var(--ag-background-color), var(--ag-foreground-color) 10%);
--ag-menu-border-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 10%);
--ag-advanced-filter-join-pill-color: #7a3a37;
--ag-advanced-filter-column-pill-color: #355f2d;
--ag-advanced-filter-option-pill-color: #5a3168;
--ag-advanced-filter-value-pill-color: #374c86;
--ag-find-match-color: var(--ag-background-color);
--ag-find-active-match-color: var(--ag-background-color);
--ag-filter-panel-apply-button-color: var(--ag-foreground-color);
--ag-column-panel-apply-button-color: var(--ag-foreground-color);
--ag-popup-shadow: 0 0px 20px rgba(0, 0, 0, 0.3);
--ag-row-loading-skeleton-effect-color: rgba(202, 203, 204, 0.4);
--ag-cell-batch-edit-text-color: #f3d0b3;
--ag-formula-token-1-color: #4da3e5;
--ag-formula-token-1-background-color: rgb(77 163 229 / 16%);
--ag-formula-token-2-color: #f55864;
--ag-formula-token-2-background-color: rgb(245 88 100 / 16%);
--ag-formula-token-3-color: #b688f2;
--ag-formula-token-3-background-color: rgb(182 136 242 / 16%);
--ag-formula-token-4-color: #24bb4a;
--ag-formula-token-4-background-color: rgb(36 187 74 / 16%);
--ag-formula-token-5-color: #e772ba;
--ag-formula-token-5-background-color: rgb(231 114 186 / 16%);
--ag-formula-token-6-color: #f69b5f;
--ag-formula-token-6-background-color: rgb(246 155 95 / 16%);
--ag-formula-token-7-color: #a3e6ff;
--ag-formula-token-7-background-color: rgb(163 230 255 / 16%);
color-scheme: dark;
}
}
.ag-theme-quartz .ag-filter-toolpanel-header,
.ag-theme-quartz .ag-filter-toolpanel-search,
.ag-theme-quartz .ag-status-bar,
.ag-theme-quartz .ag-header-row,
.ag-theme-quartz .ag-row-number-cell,
.ag-theme-quartz .ag-panel-title-bar-title,
.ag-theme-quartz .ag-multi-filter-group-title-bar,
.ag-theme-quartz .ag-filter-card-title,
.ag-theme-quartz-dark .ag-filter-toolpanel-header,
.ag-theme-quartz-dark .ag-filter-toolpanel-search,
.ag-theme-quartz-dark .ag-status-bar,
.ag-theme-quartz-dark .ag-header-row,
.ag-theme-quartz-dark .ag-row-number-cell,
.ag-theme-quartz-dark .ag-panel-title-bar-title,
.ag-theme-quartz-dark .ag-multi-filter-group-title-bar,
.ag-theme-quartz-dark .ag-filter-card-title,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-header,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search,
.ag-theme-quartz-auto-dark .ag-status-bar,
.ag-theme-quartz-auto-dark .ag-header-row,
.ag-theme-quartz-auto-dark .ag-row-number-cell,
.ag-theme-quartz-auto-dark .ag-panel-title-bar-title,
.ag-theme-quartz-auto-dark .ag-multi-filter-group-title-bar,
.ag-theme-quartz-auto-dark .ag-filter-card-title {
font-weight: 500;
color: var(--ag-header-foreground-color);
}
.ag-theme-quartz input[class^=ag-]:not([type]),
.ag-theme-quartz input[class^=ag-][type=text],
.ag-theme-quartz input[class^=ag-][type=number],
.ag-theme-quartz input[class^=ag-][type=tel],
.ag-theme-quartz input[class^=ag-][type=date],
.ag-theme-quartz input[class^=ag-][type=datetime-local],
.ag-theme-quartz textarea[class^=ag-],
.ag-theme-quartz-dark input[class^=ag-]:not([type]),
.ag-theme-quartz-dark input[class^=ag-][type=text],
.ag-theme-quartz-dark input[class^=ag-][type=number],
.ag-theme-quartz-dark input[class^=ag-][type=tel],
.ag-theme-quartz-dark input[class^=ag-][type=date],
.ag-theme-quartz-dark input[class^=ag-][type=datetime-local],
.ag-theme-quartz-dark textarea[class^=ag-],
.ag-theme-quartz-auto-dark input[class^=ag-]:not([type]),
.ag-theme-quartz-auto-dark input[class^=ag-][type=text],
.ag-theme-quartz-auto-dark input[class^=ag-][type=number],
.ag-theme-quartz-auto-dark input[class^=ag-][type=tel],
.ag-theme-quartz-auto-dark input[class^=ag-][type=date],
.ag-theme-quartz-auto-dark input[class^=ag-][type=datetime-local],
.ag-theme-quartz-auto-dark textarea[class^=ag-] {
min-height: calc(var(--ag-grid-size) * 4);
border-radius: var(--ag-border-radius);
}
.ag-theme-quartz .ag-ltr input[class^=ag-]:not([type]), .ag-theme-quartz .ag-ltr input[class^=ag-][type=text], .ag-theme-quartz .ag-ltr input[class^=ag-][type=number], .ag-theme-quartz .ag-ltr input[class^=ag-][type=tel], .ag-theme-quartz .ag-ltr input[class^=ag-][type=date], .ag-theme-quartz .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-quartz .ag-ltr textarea[class^=ag-], .ag-theme-quartz-dark .ag-ltr input[class^=ag-]:not([type]), .ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=text], .ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=number], .ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=tel], .ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=date], .ag-theme-quartz-dark .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-quartz-dark .ag-ltr textarea[class^=ag-], .ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-]:not([type]), .ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=text], .ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=number], .ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=tel], .ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=date], .ag-theme-quartz-auto-dark .ag-ltr input[class^=ag-][type=datetime-local], .ag-theme-quartz-auto-dark .ag-ltr textarea[class^=ag-] {
padding-left: var(--ag-grid-size);
}
.ag-theme-quartz .ag-rtl input[class^=ag-]:not([type]), .ag-theme-quartz .ag-rtl input[class^=ag-][type=text], .ag-theme-quartz .ag-rtl input[class^=ag-][type=number], .ag-theme-quartz .ag-rtl input[class^=ag-][type=tel], .ag-theme-quartz .ag-rtl input[class^=ag-][type=date], .ag-theme-quartz .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-quartz .ag-rtl textarea[class^=ag-], .ag-theme-quartz-dark .ag-rtl input[class^=ag-]:not([type]), .ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=text], .ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=number], .ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=tel], .ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=date], .ag-theme-quartz-dark .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-quartz-dark .ag-rtl textarea[class^=ag-], .ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-]:not([type]), .ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=text], .ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=number], .ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=tel], .ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=date], .ag-theme-quartz-auto-dark .ag-rtl input[class^=ag-][type=datetime-local], .ag-theme-quartz-auto-dark .ag-rtl textarea[class^=ag-] {
padding-right: var(--ag-grid-size);
}
.ag-theme-quartz .ag-picker-field-wrapper,
.ag-theme-quartz-dark .ag-picker-field-wrapper,
.ag-theme-quartz-auto-dark .ag-picker-field-wrapper {
min-height: calc(var(--ag-grid-size) * 4);
}
.ag-theme-quartz .ag-tab,
.ag-theme-quartz-dark .ag-tab,
.ag-theme-quartz-auto-dark .ag-tab {
padding: var(--ag-grid-size);
border-left: var(--ag-borders) transparent;
border-right: var(--ag-borders) transparent;
flex: 1 1 auto;
}
.ag-theme-quartz .ag-tab-selected,
.ag-theme-quartz-dark .ag-tab-selected,
.ag-theme-quartz-auto-dark .ag-tab-selected {
background-color: var(--ag-background-color);
}
.ag-theme-quartz .ag-ltr .ag-tab-selected:not(:first-of-type), .ag-theme-quartz-dark .ag-ltr .ag-tab-selected:not(:first-of-type), .ag-theme-quartz-auto-dark .ag-ltr .ag-tab-selected:not(:first-of-type) {
border-left-color: var(--ag-border-color);
}
.ag-theme-quartz .ag-rtl .ag-tab-selected:not(:first-of-type), .ag-theme-quartz-dark .ag-rtl .ag-tab-selected:not(:first-of-type), .ag-theme-quartz-auto-dark .ag-rtl .ag-tab-selected:not(:first-of-type) {
border-right-color: var(--ag-border-color);
}
.ag-theme-quartz .ag-ltr .ag-tab-selected:not(:last-of-type), .ag-theme-quartz-dark .ag-ltr .ag-tab-selected:not(:last-of-type), .ag-theme-quartz-auto-dark .ag-ltr .ag-tab-selected:not(:last-of-type) {
border-right-color: var(--ag-border-color);
}
.ag-theme-quartz .ag-rtl .ag-tab-selected:not(:last-of-type), .ag-theme-quartz-dark .ag-rtl .ag-tab-selected:not(:last-of-type), .ag-theme-quartz-auto-dark .ag-rtl .ag-tab-selected:not(:last-of-type) {
border-left-color: var(--ag-border-color);
}
.ag-theme-quartz .ag-tab:not(.ag-tab-selected),
.ag-theme-quartz-dark .ag-tab:not(.ag-tab-selected),
.ag-theme-quartz-auto-dark .ag-tab:not(.ag-tab-selected) {
opacity: 0.7;
}
.ag-theme-quartz .ag-tab:not(.ag-tab-selected):hover,
.ag-theme-quartz-dark .ag-tab:not(.ag-tab-selected):hover,
.ag-theme-quartz-auto-dark .ag-tab:not(.ag-tab-selected):hover {
opacity: 1;
}
.ag-theme-quartz .ag-menu,
.ag-theme-quartz-dark .ag-menu,
.ag-theme-quartz-auto-dark .ag-menu {
color: color-mix(in srgb, transparent, var(--ag-foreground-color) 95%);
}
.ag-theme-quartz .ag-panel-content-wrapper .ag-column-select,
.ag-theme-quartz-dark .ag-panel-content-wrapper .ag-column-select,
.ag-theme-quartz-auto-dark .ag-panel-content-wrapper .ag-column-select {
background-color: var(--ag-control-panel-background-color);
color: color-mix(in srgb, transparent, var(--ag-foreground-color) 95%);
}
.ag-theme-quartz .ag-menu-header,
.ag-theme-quartz-dark .ag-menu-header,
.ag-theme-quartz-auto-dark .ag-menu-header {
background-color: var(--ag-control-panel-background-color);
}
.ag-theme-quartz .ag-menu-option,
.ag-theme-quartz-dark .ag-menu-option,
.ag-theme-quartz-auto-dark .ag-menu-option {
font-weight: 500;
cursor: pointer;
}
.ag-theme-quartz .ag-ltr .ag-menu-option-popup-pointer .ag-icon, .ag-theme-quartz-dark .ag-ltr .ag-menu-option-popup-pointer .ag-icon, .ag-theme-quartz-auto-dark .ag-ltr .ag-menu-option-popup-pointer .ag-icon {
text-align: right;
}
.ag-theme-quartz .ag-rtl .ag-menu-option-popup-pointer .ag-icon, .ag-theme-quartz-dark .ag-rtl .ag-menu-option-popup-pointer .ag-icon, .ag-theme-quartz-auto-dark .ag-rtl .ag-menu-option-popup-pointer .ag-icon {
text-align: left;
}
.ag-theme-quartz .ag-tabs-header,
.ag-theme-quartz-dark .ag-tabs-header,
.ag-theme-quartz-auto-dark .ag-tabs-header {
border-bottom: var(--ag-borders) var(--ag-border-color);
display: flex;
background-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 5%);
}
.ag-theme-quartz .ag-side-bar,
.ag-theme-quartz-dark .ag-side-bar,
.ag-theme-quartz-auto-dark .ag-side-bar {
background-color: var(--ag-control-panel-background-color);
min-width: calc(var(--ag-icon-size) + var(--ag-grid-size) * 2);
}
.ag-theme-quartz .ag-side-buttons,
.ag-theme-quartz-dark .ag-side-buttons,
.ag-theme-quartz-auto-dark .ag-side-buttons {
padding: 0;
align-self: stretch;
width: calc(var(--ag-icon-size) + var(--ag-grid-size) * 2);
background: var(--ag-control-panel-background-color);
}
.ag-theme-quartz .ag-side-button,
.ag-theme-quartz-dark .ag-side-button,
.ag-theme-quartz-auto-dark .ag-side-button {
border-top: var(--ag-borders) transparent;
border-bottom: var(--ag-borders) transparent;
}
@media (max-resolution: 1.5x) {
.ag-theme-quartz .ag-side-button-label,
.ag-theme-quartz-dark .ag-side-button-label,
.ag-theme-quartz-auto-dark .ag-side-button-label {
font-family: "Segoe UI", var(--ag-font-family);
transform: rotate(0.05deg);
}
}
.ag-theme-quartz .ag-side-button.ag-selected,
.ag-theme-quartz-dark .ag-side-button.ag-selected,
.ag-theme-quartz-auto-dark .ag-side-button.ag-selected {
border-bottom-color: var(--ag-border-color);
background-color: var(--ag-background-color);
}
.ag-theme-quartz .ag-side-button.ag-selected:not(:first-of-type),
.ag-theme-quartz-dark .ag-side-button.ag-selected:not(:first-of-type),
.ag-theme-quartz-auto-dark .ag-side-button.ag-selected:not(:first-of-type) {
border-top-color: var(--ag-border-color);
}
.ag-theme-quartz .ag-column-panel-column-select,
.ag-theme-quartz-dark .ag-column-panel-column-select,
.ag-theme-quartz-auto-dark .ag-column-panel-column-select {
border-top: none;
}
.ag-theme-quartz .ag-column-panel-column-select:not(.ag-last-visible-child),
.ag-theme-quartz-dark .ag-column-panel-column-select:not(.ag-last-visible-child),
.ag-theme-quartz-auto-dark .ag-column-panel-column-select:not(.ag-last-visible-child) {
border-bottom: 1px solid var(--ag-secondary-border-color);
}
.ag-theme-quartz .ag-filter-toolpanel-search,
.ag-theme-quartz-dark .ag-filter-toolpanel-search,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search {
height: initial;
margin-top: var(--ag-widget-container-vertical-padding);
}
.ag-theme-quartz .ag-filter-toolpanel-search-input,
.ag-theme-quartz-dark .ag-filter-toolpanel-search-input,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search-input {
margin: 0;
}
.ag-theme-quartz .ag-filter-apply-panel,
.ag-theme-quartz-dark .ag-filter-apply-panel,
.ag-theme-quartz-auto-dark .ag-filter-apply-panel {
border: none;
padding-top: var(--ag-widget-vertical-spacing);
}
.ag-theme-quartz .ag-chart-tabbed-menu-body,
.ag-theme-quartz-dark .ag-chart-tabbed-menu-body,
.ag-theme-quartz-auto-dark .ag-chart-tabbed-menu-body {
position: relative;
}
.ag-theme-quartz .ag-chart-tabbed-menu-body::after,
.ag-theme-quartz-dark .ag-chart-tabbed-menu-body::after,
.ag-theme-quartz-auto-dark .ag-chart-tabbed-menu-body::after {
content: "";
position: absolute;
display: block;
top: 0;
left: 0;
right: 0;
height: 16px;
background: linear-gradient(var(--ag-control-panel-background-color), transparent);
}
.ag-theme-quartz .ag-charts-settings-group-title-bar,
.ag-theme-quartz .ag-charts-data-group-title-bar,
.ag-theme-quartz .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz .ag-charts-advanced-settings-top-level-group-title-bar,
.ag-theme-quartz .ag-charts-settings-group-container,
.ag-theme-quartz-dark .ag-charts-settings-group-title-bar,
.ag-theme-quartz-dark .ag-charts-data-group-title-bar,
.ag-theme-quartz-dark .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-advanced-settings-top-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-settings-group-container,
.ag-theme-quartz-auto-dark .ag-charts-settings-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-data-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-advanced-settings-top-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-settings-group-container {
border-top: none;
font-weight: 500;
}
.ag-theme-quartz .ag-chart-mini-thumbnail,
.ag-theme-quartz-dark .ag-chart-mini-thumbnail,
.ag-theme-quartz-auto-dark .ag-chart-mini-thumbnail {
background-color: var(--ag-background-color);
margin-top: 0;
margin-bottom: 0;
}
.ag-theme-quartz .ag-chart-settings-nav-bar,
.ag-theme-quartz-dark .ag-chart-settings-nav-bar,
.ag-theme-quartz-auto-dark .ag-chart-settings-nav-bar {
border-top: var(--ag-borders-secondary) var(--ag-secondary-border-color);
}
.ag-theme-quartz .ag-charts-format-sub-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-title-bar {
background: none;
font-weight: 500;
}
.ag-theme-quartz .ag-chart-data-section .ag-label:not(.ag-group-title-bar),
.ag-theme-quartz .ag-chart-format-section .ag-label:not(.ag-group-title-bar),
.ag-theme-quartz-dark .ag-chart-data-section .ag-label:not(.ag-group-title-bar),
.ag-theme-quartz-dark .ag-chart-format-section .ag-label:not(.ag-group-title-bar),
.ag-theme-quartz-auto-dark .ag-chart-data-section .ag-label:not(.ag-group-title-bar),
.ag-theme-quartz-auto-dark .ag-chart-format-section .ag-label:not(.ag-group-title-bar) {
color: var(--ag-chart-menu-label-color);
}
.ag-theme-quartz .ag-chart-data-section .ag-label-align-top .ag-label,
.ag-theme-quartz .ag-chart-format-section .ag-label-align-top .ag-label,
.ag-theme-quartz-dark .ag-chart-data-section .ag-label-align-top .ag-label,
.ag-theme-quartz-dark .ag-chart-format-section .ag-label-align-top .ag-label,
.ag-theme-quartz-auto-dark .ag-chart-data-section .ag-label-align-top .ag-label,
.ag-theme-quartz-auto-dark .ag-chart-format-section .ag-label-align-top .ag-label {
margin-top: calc(var(--ag-widget-vertical-spacing) * 0.5);
margin-bottom: var(--ag-widget-vertical-spacing);
}
.ag-theme-quartz .ag-chart-data-section .ag-slider.ag-label-align-top .ag-label,
.ag-theme-quartz .ag-chart-format-section .ag-slider.ag-label-align-top .ag-label,
.ag-theme-quartz-dark .ag-chart-data-section .ag-slider.ag-label-align-top .ag-label,
.ag-theme-quartz-dark .ag-chart-format-section .ag-slider.ag-label-align-top .ag-label,
.ag-theme-quartz-auto-dark .ag-chart-data-section .ag-slider.ag-label-align-top .ag-label,
.ag-theme-quartz-auto-dark .ag-chart-format-section .ag-slider.ag-label-align-top .ag-label {
margin-bottom: 0;
}
.ag-theme-quartz .ag-chart-data-section label,
.ag-theme-quartz .ag-chart-format-section label,
.ag-theme-quartz-dark .ag-chart-data-section label,
.ag-theme-quartz-dark .ag-chart-format-section label,
.ag-theme-quartz-auto-dark .ag-chart-data-section label,
.ag-theme-quartz-auto-dark .ag-chart-format-section label {
display: inline-block;
}
.ag-theme-quartz .ag-chart-format-wrapper,
.ag-theme-quartz .ag-chart-data-wrapper,
.ag-theme-quartz .ag-charts-format-top-level-group,
.ag-theme-quartz .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz .ag-charts-format-top-level-group .ag-charts-format-top-level-group-container,
.ag-theme-quartz .ag-charts-format-top-level-group-item,
.ag-theme-quartz .ag-charts-format-sub-level-group,
.ag-theme-quartz .ag-charts-format-sub-level-group-title-bar,
.ag-theme-quartz .ag-charts-format-sub-level-group-container,
.ag-theme-quartz .ag-charts-format-sub-level-group-item:last-child,
.ag-theme-quartz .ag-charts-format-sub-level-group-container > *,
.ag-theme-quartz .ag-charts-data-group-title-bar,
.ag-theme-quartz .ag-charts-data-group-container,
.ag-theme-quartz .ag-charts-settings-group-title-bar,
.ag-theme-quartz .ag-charts-settings-group-container,
.ag-theme-quartz-dark .ag-chart-format-wrapper,
.ag-theme-quartz-dark .ag-chart-data-wrapper,
.ag-theme-quartz-dark .ag-charts-format-top-level-group,
.ag-theme-quartz-dark .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-format-top-level-group .ag-charts-format-top-level-group-container,
.ag-theme-quartz-dark .ag-charts-format-top-level-group-item,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-container,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-item:last-child,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-container > *,
.ag-theme-quartz-dark .ag-charts-data-group-title-bar,
.ag-theme-quartz-dark .ag-charts-data-group-container,
.ag-theme-quartz-dark .ag-charts-settings-group-title-bar,
.ag-theme-quartz-dark .ag-charts-settings-group-container,
.ag-theme-quartz-auto-dark .ag-chart-format-wrapper,
.ag-theme-quartz-auto-dark .ag-chart-data-wrapper,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group .ag-charts-format-top-level-group-container,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-item,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-container,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-item:last-child,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-container > *,
.ag-theme-quartz-auto-dark .ag-charts-data-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-data-group-container,
.ag-theme-quartz-auto-dark .ag-charts-settings-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-settings-group-container {
padding: 0;
margin: 0;
}
.ag-theme-quartz .ag-charts-format-top-level-group,
.ag-theme-quartz .ag-charts-data-group,
.ag-theme-quartz-dark .ag-charts-format-top-level-group,
.ag-theme-quartz-dark .ag-charts-data-group,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group,
.ag-theme-quartz-auto-dark .ag-charts-data-group {
border-top: var(--ag-borders-secondary) var(--ag-secondary-border-color);
}
.ag-theme-quartz .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz .ag-charts-data-group-title-bar,
.ag-theme-quartz .ag-charts-settings-group-title-bar,
.ag-theme-quartz-dark .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-data-group-title-bar,
.ag-theme-quartz-dark .ag-charts-settings-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-data-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-settings-group-title-bar {
padding: var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);
}
.ag-theme-quartz .ag-charts-format-top-level-group .ag-charts-format-top-level-group-container,
.ag-theme-quartz .ag-charts-data-group .ag-charts-data-group-container,
.ag-theme-quartz .ag-charts-settings-group .ag-charts-settings-group-container,
.ag-theme-quartz-dark .ag-charts-format-top-level-group .ag-charts-format-top-level-group-container,
.ag-theme-quartz-dark .ag-charts-data-group .ag-charts-data-group-container,
.ag-theme-quartz-dark .ag-charts-settings-group .ag-charts-settings-group-container,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group .ag-charts-format-top-level-group-container,
.ag-theme-quartz-auto-dark .ag-charts-data-group .ag-charts-data-group-container,
.ag-theme-quartz-auto-dark .ag-charts-settings-group .ag-charts-settings-group-container {
padding: 0 var(--ag-widget-container-horizontal-padding);
}
.ag-theme-quartz .ag-charts-format-sub-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-title-bar {
padding: var(--ag-widget-vertical-spacing) 0;
}
.ag-theme-quartz .ag-charts-format-sub-level-group-container,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-container,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-container {
padding-top: var(--ag-widget-vertical-spacing);
padding-bottom: var(--ag-widget-container-vertical-padding);
}
.ag-theme-quartz .ag-charts-format-top-level-group-container > *,
.ag-theme-quartz .ag-charts-format-sub-level-group-container > *,
.ag-theme-quartz-dark .ag-charts-format-top-level-group-container > *,
.ag-theme-quartz-dark .ag-charts-format-sub-level-group-container > *,
.ag-theme-quartz-auto-dark .ag-charts-format-top-level-group-container > *,
.ag-theme-quartz-auto-dark .ag-charts-format-sub-level-group-container > * {
margin-bottom: var(--ag-widget-vertical-spacing);
}
.ag-theme-quartz .ag-charts-data-group-item,
.ag-theme-quartz-dark .ag-charts-data-group-item,
.ag-theme-quartz-auto-dark .ag-charts-data-group-item {
padding-bottom: var(--ag-widget-container-vertical-padding);
}
.ag-theme-quartz .ag-chart-settings-mini-wrapper,
.ag-theme-quartz-dark .ag-chart-settings-mini-wrapper,
.ag-theme-quartz-auto-dark .ag-chart-settings-mini-wrapper {
padding-bottom: var(--ag-widget-container-vertical-padding);
}
.ag-theme-quartz .ag-chart-advanced-settings-section,
.ag-theme-quartz-dark .ag-chart-advanced-settings-section,
.ag-theme-quartz-auto-dark .ag-chart-advanced-settings-section {
padding-top: var(--ag-widget-container-vertical-padding);
padding-bottom: var(--ag-widget-container-vertical-padding);
}
.ag-theme-quartz .ag-charts-advanced-settings-top-level-group .ag-charts-advanced-settings-top-level-group-title-bar,
.ag-theme-quartz .ag-charts-advanced-settings-top-level-group .ag-charts-advanced-settings-top-level-group-container,
.ag-theme-quartz-dark .ag-charts-advanced-settings-top-level-group .ag-charts-advanced-settings-top-level-group-title-bar,
.ag-theme-quartz-dark .ag-charts-advanced-settings-top-level-group .ag-charts-advanced-settings-top-level-group-container,
.ag-theme-quartz-auto-dark .ag-charts-advanced-settings-top-level-group .ag-charts-advanced-settings-top-level-group-title-bar,
.ag-theme-quartz-auto-dark .ag-charts-advanced-settings-top-level-group .ag-charts-advanced-settings-top-level-group-container {
padding: 0 var(--ag-widget-container-horizontal-padding);
}
.ag-theme-quartz .ag-charts-advanced-settings-top-level-group-container,
.ag-theme-quartz-dark .ag-charts-advanced-settings-top-level-group-container,
.ag-theme-quartz-auto-dark .ag-charts-advanced-settings-top-level-group-container {
margin: 0;
}
.ag-theme-quartz .ag-charts-advanced-settings-top-level-group-item,
.ag-theme-quartz-dark .ag-charts-advanced-settings-top-level-group-item,
.ag-theme-quartz-auto-dark .ag-charts-advanced-settings-top-level-group-item {
margin-top: calc(var(--ag-widget-vertical-spacing) * 2);
margin-bottom: 0;
}
.ag-theme-quartz .ag-ltr .ag-group-title-bar-icon, .ag-theme-quartz-dark .ag-ltr .ag-group-title-bar-icon, .ag-theme-quartz-auto-dark .ag-ltr .ag-group-title-bar-icon {
margin-right: var(--ag-grid-size);
}
.ag-theme-quartz .ag-rtl .ag-group-title-bar-icon, .ag-theme-quartz-dark .ag-rtl .ag-group-title-bar-icon, .ag-theme-quartz-auto-dark .ag-rtl .ag-group-title-bar-icon {
margin-left: var(--ag-grid-size);
}
.ag-theme-quartz .ag-spectrum-color,
.ag-theme-quartz .ag-spectrum-fill,
.ag-theme-quartz-dark .ag-spectrum-color,
.ag-theme-quartz-dark .ag-spectrum-fill,
.ag-theme-quartz-auto-dark .ag-spectrum-color,
.ag-theme-quartz-auto-dark .ag-spectrum-fill {
border-radius: var(--ag-border-radius);
}
.ag-theme-quartz .ag-spectrum-dragger,
.ag-theme-quartz-dark .ag-spectrum-dragger,
.ag-theme-quartz-auto-dark .ag-spectrum-dragger {
border-radius: 18px;
height: 18px;
width: 18px;
border: 3px solid white;
}
.ag-theme-quartz .ag-spectrum-tools,
.ag-theme-quartz-dark .ag-spectrum-tools,
.ag-theme-quartz-auto-dark .ag-spectrum-tools {
padding-left: 0;
padding-right: 0;
padding-bottom: 0;
}
.ag-theme-quartz .ag-spectrum-tool,
.ag-theme-quartz-dark .ag-spectrum-tool,
.ag-theme-quartz-auto-dark .ag-spectrum-tool {
height: 12px;
}
.ag-theme-quartz .ag-spectrum-hue-background,
.ag-theme-quartz .ag-spectrum-alpha-background,
.ag-theme-quartz-dark .ag-spectrum-hue-background,
.ag-theme-quartz-dark .ag-spectrum-alpha-background,
.ag-theme-quartz-auto-dark .ag-spectrum-hue-background,
.ag-theme-quartz-auto-dark .ag-spectrum-alpha-background {
border-radius: 12px;
}
.ag-theme-quartz .ag-spectrum-slider,
.ag-theme-quartz-dark .ag-spectrum-slider,
.ag-theme-quartz-auto-dark .ag-spectrum-slider {
margin-top: -15px;
width: 18px;
height: 18px;
border-radius: 18px;
border: 3px solid rgb(248, 248, 248);
}
.ag-theme-quartz .ag-recent-colors,
.ag-theme-quartz-dark .ag-recent-colors,
.ag-theme-quartz-auto-dark .ag-recent-colors {
margin-left: var(--ag-grid-size);
margin-right: var(--ag-grid-size);
margin-bottom: 2px;
}
.ag-theme-quartz .ag-color-input-color,
.ag-theme-quartz .ag-color-picker-color,
.ag-theme-quartz .ag-recent-color,
.ag-theme-quartz-dark .ag-color-input-color,
.ag-theme-quartz-dark .ag-color-picker-color,
.ag-theme-quartz-dark .ag-recent-color,
.ag-theme-quartz-auto-dark .ag-color-input-color,
.ag-theme-quartz-auto-dark .ag-color-picker-color,
.ag-theme-quartz-auto-dark .ag-recent-color {
border-radius: 4px;
}
.ag-theme-quartz .ag-recent-color,
.ag-theme-quartz-dark .ag-recent-color,
.ag-theme-quartz-auto-dark .ag-recent-color {
border: var(--ag-borders-secondary) var(--ag-secondary-border-color);
}
.ag-theme-quartz.ag-dnd-ghost,
.ag-theme-quartz-dark.ag-dnd-ghost,
.ag-theme-quartz-auto-dark.ag-dnd-ghost {
font-weight: 500;
}
.ag-theme-quartz .ag-standard-button,
.ag-theme-quartz-dark .ag-standard-button,
.ag-theme-quartz-auto-dark .ag-standard-button {
font-family: inherit;
appearance: none;
-webkit-appearance: none;
border-radius: var(--ag-border-radius);
border: solid 1px var(--ag-input-border-color);
background-color: var(--ag-background-color);
padding: var(--ag-grid-size) calc(var(--ag-grid-size) * 2);
cursor: pointer;
}
.ag-theme-quartz .ag-standard-button:hover,
.ag-theme-quartz-dark .ag-standard-button:hover,
.ag-theme-quartz-auto-dark .ag-standard-button:hover {
background-color: var(--ag-row-hover-color);
}
.ag-theme-quartz .ag-standard-button:active,
.ag-theme-quartz-dark .ag-standard-button:active,
.ag-theme-quartz-auto-dark .ag-standard-button:active {
border-color: var(--ag-active-color);
}
.ag-theme-quartz .ag-standard-button:disabled,
.ag-theme-quartz-dark .ag-standard-button:disabled,
.ag-theme-quartz-auto-dark .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-quartz .ag-column-drop-cell,
.ag-theme-quartz-dark .ag-column-drop-cell,
.ag-theme-quartz-auto-dark .ag-column-drop-cell {
border-radius: calc(var(--ag-grid-size) * 3);
height: calc(var(--ag-grid-size) * 3);
padding: 0 var(--ag-grid-size);
}
.ag-theme-quartz .ag-column-drop-cell-button,
.ag-theme-quartz-dark .ag-column-drop-cell-button,
.ag-theme-quartz-auto-dark .ag-column-drop-cell-button {
min-width: 0;
margin: 0;
}
.ag-theme-quartz .ag-column-drop-cell-drag-handle,
.ag-theme-quartz-dark .ag-column-drop-cell-drag-handle,
.ag-theme-quartz-auto-dark .ag-column-drop-cell-drag-handle {
margin-left: 0;
}
.ag-theme-quartz .ag-column-drop-vertical,
.ag-theme-quartz-dark .ag-column-drop-vertical,
.ag-theme-quartz-auto-dark .ag-column-drop-vertical {
min-height: 75px;
}
.ag-theme-quartz .ag-column-drop-vertical-title-bar,
.ag-theme-quartz-dark .ag-column-drop-vertical-title-bar,
.ag-theme-quartz-auto-dark .ag-column-drop-vertical-title-bar {
padding: var(--ag-widget-container-vertical-padding) calc(var(--ag-grid-size) * 2) 0;
}
.ag-theme-quartz .ag-ltr .ag-column-drop-vertical-icon, .ag-theme-quartz-dark .ag-ltr .ag-column-drop-vertical-icon, .ag-theme-quartz-auto-dark .ag-ltr .ag-column-drop-vertical-icon {
margin-left: 0;
margin-right: var(--ag-widget-horizontal-spacing);
}
.ag-theme-quartz .ag-rtl .ag-column-drop-vertical-icon, .ag-theme-quartz-dark .ag-rtl .ag-column-drop-vertical-icon, .ag-theme-quartz-auto-dark .ag-rtl .ag-column-drop-vertical-icon {
margin-right: 0;
margin-left: var(--ag-widget-horizontal-spacing);
}
.ag-theme-quartz .ag-column-drop-vertical-empty-message,
.ag-theme-quartz-dark .ag-column-drop-vertical-empty-message,
.ag-theme-quartz-auto-dark .ag-column-drop-vertical-empty-message {
display: flex;
align-items: center;
justify-content: center;
border: dashed 1px;
border-color: var(--ag-border-color);
margin: calc(var(--ag-grid-size) * 1.5) calc(var(--ag-grid-size) * 2);
padding: calc(var(--ag-grid-size) * 2);
}
.ag-theme-quartz .ag-column-drop-empty-message,
.ag-theme-quartz-dark .ag-column-drop-empty-message,
.ag-theme-quartz-auto-dark .ag-column-drop-empty-message {
color: var(--ag-foreground-color);
}
.ag-theme-quartz .ag-pill-select .ag-column-drop,
.ag-theme-quartz-dark .ag-pill-select .ag-column-drop,
.ag-theme-quartz-auto-dark .ag-pill-select .ag-column-drop {
min-height: unset;
}
.ag-theme-quartz .ag-pill-select .ag-picker-field-display,
.ag-theme-quartz-dark .ag-pill-select .ag-picker-field-display,
.ag-theme-quartz-auto-dark .ag-pill-select .ag-picker-field-display {
font-weight: 500;
color: var(--ag-chart-menu-pill-select-button-color);
}
.ag-theme-quartz .ag-pill-select .ag-picker-field-icon .ag-icon,
.ag-theme-quartz-dark .ag-pill-select .ag-picker-field-icon .ag-icon,
.ag-theme-quartz-auto-dark .ag-pill-select .ag-picker-field-icon .ag-icon {
color: var(--ag-chart-menu-pill-select-button-color);
}
.ag-theme-quartz .ag-status-bar,
.ag-theme-quartz-dark .ag-status-bar,
.ag-theme-quartz-auto-dark .ag-status-bar {
font-weight: normal;
}
.ag-theme-quartz .ag-status-name-value,
.ag-theme-quartz-dark .ag-status-name-value,
.ag-theme-quartz-auto-dark .ag-status-name-value {
padding: var(--ag-widget-container-vertical-padding) 0;
}
.ag-theme-quartz .ag-status-name-value-value,
.ag-theme-quartz .ag-paging-number,
.ag-theme-quartz .ag-paging-row-summary-panel-number,
.ag-theme-quartz-dark .ag-status-name-value-value,
.ag-theme-quartz-dark .ag-paging-number,
.ag-theme-quartz-dark .ag-paging-row-summary-panel-number,
.ag-theme-quartz-auto-dark .ag-status-name-value-value,
.ag-theme-quartz-auto-dark .ag-paging-number,
.ag-theme-quartz-auto-dark .ag-paging-row-summary-panel-number {
font-weight: 500;
}
.ag-theme-quartz .ag-column-drop-cell-button,
.ag-theme-quartz-dark .ag-column-drop-cell-button,
.ag-theme-quartz-auto-dark .ag-column-drop-cell-button {
opacity: 0.75;
}
.ag-theme-quartz .ag-column-drop-cell-button:hover,
.ag-theme-quartz-dark .ag-column-drop-cell-button:hover,
.ag-theme-quartz-auto-dark .ag-column-drop-cell-button:hover {
opacity: 1;
}
.ag-theme-quartz .ag-header-cell-menu-button,
.ag-theme-quartz .ag-header-cell-filter-button,
.ag-theme-quartz .ag-panel-title-bar-button,
.ag-theme-quartz .ag-header-expand-icon,
.ag-theme-quartz .ag-column-group-icons,
.ag-theme-quartz .ag-set-filter-group-icons,
.ag-theme-quartz .ag-group-expanded .ag-icon,
.ag-theme-quartz .ag-group-contracted .ag-icon,
.ag-theme-quartz .ag-chart-settings-prev,
.ag-theme-quartz .ag-chart-settings-next,
.ag-theme-quartz .ag-group-title-bar-icon,
.ag-theme-quartz .ag-column-select-header-icon,
.ag-theme-quartz .ag-floating-filter-button-button,
.ag-theme-quartz .ag-filter-toolpanel-expand,
.ag-theme-quartz .ag-panel-title-bar-button-icon,
.ag-theme-quartz .ag-chart-menu-icon,
.ag-theme-quartz-dark .ag-header-cell-menu-button,
.ag-theme-quartz-dark .ag-header-cell-filter-button,
.ag-theme-quartz-dark .ag-panel-title-bar-button,
.ag-theme-quartz-dark .ag-header-expand-icon,
.ag-theme-quartz-dark .ag-column-group-icons,
.ag-theme-quartz-dark .ag-set-filter-group-icons,
.ag-theme-quartz-dark .ag-group-expanded .ag-icon,
.ag-theme-quartz-dark .ag-group-contracted .ag-icon,
.ag-theme-quartz-dark .ag-chart-settings-prev,
.ag-theme-quartz-dark .ag-chart-settings-next,
.ag-theme-quartz-dark .ag-group-title-bar-icon,
.ag-theme-quartz-dark .ag-column-select-header-icon,
.ag-theme-quartz-dark .ag-floating-filter-button-button,
.ag-theme-quartz-dark .ag-filter-toolpanel-expand,
.ag-theme-quartz-dark .ag-panel-title-bar-button-icon,
.ag-theme-quartz-dark .ag-chart-menu-icon,
.ag-theme-quartz-auto-dark .ag-header-cell-menu-button,
.ag-theme-quartz-auto-dark .ag-header-cell-filter-button,
.ag-theme-quartz-auto-dark .ag-panel-title-bar-button,
.ag-theme-quartz-auto-dark .ag-header-expand-icon,
.ag-theme-quartz-auto-dark .ag-column-group-icons,
.ag-theme-quartz-auto-dark .ag-set-filter-group-icons,
.ag-theme-quartz-auto-dark .ag-group-expanded .ag-icon,
.ag-theme-quartz-auto-dark .ag-group-contracted .ag-icon,
.ag-theme-quartz-auto-dark .ag-chart-settings-prev,
.ag-theme-quartz-auto-dark .ag-chart-settings-next,
.ag-theme-quartz-auto-dark .ag-group-title-bar-icon,
.ag-theme-quartz-auto-dark .ag-column-select-header-icon,
.ag-theme-quartz-auto-dark .ag-floating-filter-button-button,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-expand,
.ag-theme-quartz-auto-dark .ag-panel-title-bar-button-icon,
.ag-theme-quartz-auto-dark .ag-chart-menu-icon {
--ag-quartz-icon-hover-color: color-mix(in srgb, transparent, var(--ag-foreground-color) 10%);
}
.ag-theme-quartz .ag-header-cell-menu-button:hover,
.ag-theme-quartz .ag-header-cell-filter-button:hover,
.ag-theme-quartz .ag-panel-title-bar-button:hover,
.ag-theme-quartz .ag-header-expand-icon:hover,
.ag-theme-quartz .ag-column-group-icons:hover,
.ag-theme-quartz .ag-set-filter-group-icons:hover,
.ag-theme-quartz .ag-group-expanded .ag-icon:hover,
.ag-theme-quartz .ag-group-contracted .ag-icon:hover,
.ag-theme-quartz .ag-chart-settings-prev:hover,
.ag-theme-quartz .ag-chart-settings-next:hover,
.ag-theme-quartz .ag-group-title-bar-icon:hover,
.ag-theme-quartz .ag-column-select-header-icon:hover,
.ag-theme-quartz .ag-floating-filter-button-button:hover,
.ag-theme-quartz .ag-filter-toolpanel-expand:hover,
.ag-theme-quartz .ag-panel-title-bar-button-icon:hover,
.ag-theme-quartz .ag-chart-menu-icon:hover,
.ag-theme-quartz-dark .ag-header-cell-menu-button:hover,
.ag-theme-quartz-dark .ag-header-cell-filter-button:hover,
.ag-theme-quartz-dark .ag-panel-title-bar-button:hover,
.ag-theme-quartz-dark .ag-header-expand-icon:hover,
.ag-theme-quartz-dark .ag-column-group-icons:hover,
.ag-theme-quartz-dark .ag-set-filter-group-icons:hover,
.ag-theme-quartz-dark .ag-group-expanded .ag-icon:hover,
.ag-theme-quartz-dark .ag-group-contracted .ag-icon:hover,
.ag-theme-quartz-dark .ag-chart-settings-prev:hover,
.ag-theme-quartz-dark .ag-chart-settings-next:hover,
.ag-theme-quartz-dark .ag-group-title-bar-icon:hover,
.ag-theme-quartz-dark .ag-column-select-header-icon:hover,
.ag-theme-quartz-dark .ag-floating-filter-button-button:hover,
.ag-theme-quartz-dark .ag-filter-toolpanel-expand:hover,
.ag-theme-quartz-dark .ag-panel-title-bar-button-icon:hover,
.ag-theme-quartz-dark .ag-chart-menu-icon:hover,
.ag-theme-quartz-auto-dark .ag-header-cell-menu-button:hover,
.ag-theme-quartz-auto-dark .ag-header-cell-filter-button:hover,
.ag-theme-quartz-auto-dark .ag-panel-title-bar-button:hover,
.ag-theme-quartz-auto-dark .ag-header-expand-icon:hover,
.ag-theme-quartz-auto-dark .ag-column-group-icons:hover,
.ag-theme-quartz-auto-dark .ag-set-filter-group-icons:hover,
.ag-theme-quartz-auto-dark .ag-group-expanded .ag-icon:hover,
.ag-theme-quartz-auto-dark .ag-group-contracted .ag-icon:hover,
.ag-theme-quartz-auto-dark .ag-chart-settings-prev:hover,
.ag-theme-quartz-auto-dark .ag-chart-settings-next:hover,
.ag-theme-quartz-auto-dark .ag-group-title-bar-icon:hover,
.ag-theme-quartz-auto-dark .ag-column-select-header-icon:hover,
.ag-theme-quartz-auto-dark .ag-floating-filter-button-button:hover,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-expand:hover,
.ag-theme-quartz-auto-dark .ag-panel-title-bar-button-icon:hover,
.ag-theme-quartz-auto-dark .ag-chart-menu-icon:hover {
border-radius: 1px;
background-color: var(--ag-quartz-icon-hover-color);
box-shadow: 0 0 0 4px var(--ag-quartz-icon-hover-color);
}
.ag-theme-quartz .ag-filter-active,
.ag-theme-quartz .ag-filter-toolpanel-group-instance-header-icon,
.ag-theme-quartz .ag-filter-toolpanel-instance-header-icon,
.ag-theme-quartz-dark .ag-filter-active,
.ag-theme-quartz-dark .ag-filter-toolpanel-group-instance-header-icon,
.ag-theme-quartz-dark .ag-filter-toolpanel-instance-header-icon,
.ag-theme-quartz-auto-dark .ag-filter-active,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-group-instance-header-icon,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-instance-header-icon {
position: relative;
}
.ag-theme-quartz .ag-filter-active::after,
.ag-theme-quartz .ag-filter-toolpanel-group-instance-header-icon::after,
.ag-theme-quartz .ag-filter-toolpanel-instance-header-icon::after,
.ag-theme-quartz-dark .ag-filter-active::after,
.ag-theme-quartz-dark .ag-filter-toolpanel-group-instance-header-icon::after,
.ag-theme-quartz-dark .ag-filter-toolpanel-instance-header-icon::after,
.ag-theme-quartz-auto-dark .ag-filter-active::after,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-group-instance-header-icon::after,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-instance-header-icon::after {
content: "";
position: absolute;
width: 6px;
height: 6px;
top: -1px;
right: -1px;
border-radius: 50%;
background-color: var(--ag-active-color);
}
.ag-theme-quartz .ag-filter-active,
.ag-theme-quartz-dark .ag-filter-active,
.ag-theme-quartz-auto-dark .ag-filter-active {
--ag-quartz-icon-active-color: color-mix(in srgb, transparent, var(--ag-active-color) 14%);
--ag-quartz-icon-hover-color: color-mix(in srgb, transparent, var(--ag-active-color) 28%);
border-radius: 1px;
background-color: var(--ag-quartz-icon-active-color);
box-shadow: 0 0 0 4px var(--ag-quartz-icon-active-color);
}
.ag-theme-quartz .ag-filter-active .ag-icon-filter,
.ag-theme-quartz-dark .ag-filter-active .ag-icon-filter,
.ag-theme-quartz-auto-dark .ag-filter-active .ag-icon-filter {
clip-path: path("M8,0C8,4.415 11.585,8 16,8L16,16L0,16L0,0L8,0Z");
}
.ag-theme-quartz .ag-chart-menu,
.ag-theme-quartz-dark .ag-chart-menu,
.ag-theme-quartz-auto-dark .ag-chart-menu {
--ag-icon-size: 20px;
background-color: color-mix(in srgb, transparent, var(--ag-background-color) 30%);
padding: 4px 2px;
}
.ag-theme-quartz .ag-chart-menu-icon,
.ag-theme-quartz-dark .ag-chart-menu-icon,
.ag-theme-quartz-auto-dark .ag-chart-menu-icon {
opacity: 0.8;
}
.ag-theme-quartz .ag-drag-handle,
.ag-theme-quartz-dark .ag-drag-handle,
.ag-theme-quartz-auto-dark .ag-drag-handle {
color: var(--ag-icon-font-color);
}
.ag-theme-quartz .ag-menu-option-icon,
.ag-theme-quartz .ag-compact-menu-option-icon,
.ag-theme-quartz-dark .ag-menu-option-icon,
.ag-theme-quartz-dark .ag-compact-menu-option-icon,
.ag-theme-quartz-auto-dark .ag-menu-option-icon,
.ag-theme-quartz-auto-dark .ag-compact-menu-option-icon {
width: var(--ag-icon-size);
cursor: pointer;
}
.ag-theme-quartz .ag-ltr .ag-menu-option-icon, .ag-theme-quartz .ag-ltr .ag-compact-menu-option-icon, .ag-theme-quartz-dark .ag-ltr .ag-menu-option-icon, .ag-theme-quartz-dark .ag-ltr .ag-compact-menu-option-icon, .ag-theme-quartz-auto-dark .ag-ltr .ag-menu-option-icon, .ag-theme-quartz-auto-dark .ag-ltr .ag-compact-menu-option-icon {
padding-left: calc(var(--ag-grid-size) * 1.5);
}
.ag-theme-quartz .ag-rtl .ag-menu-option-icon, .ag-theme-quartz .ag-rtl .ag-compact-menu-option-icon, .ag-theme-quartz-dark .ag-rtl .ag-menu-option-icon, .ag-theme-quartz-dark .ag-rtl .ag-compact-menu-option-icon, .ag-theme-quartz-auto-dark .ag-rtl .ag-menu-option-icon, .ag-theme-quartz-auto-dark .ag-rtl .ag-compact-menu-option-icon {
padding-right: calc(var(--ag-grid-size) * 1.5);
}
.ag-theme-quartz .ag-chart-settings-card-item.ag-not-selected:hover,
.ag-theme-quartz-dark .ag-chart-settings-card-item.ag-not-selected:hover,
.ag-theme-quartz-auto-dark .ag-chart-settings-card-item.ag-not-selected:hover {
opacity: 0.35;
}
.ag-theme-quartz .ag-ltr .ag-panel-title-bar-button, .ag-theme-quartz-dark .ag-ltr .ag-panel-title-bar-button, .ag-theme-quartz-auto-dark .ag-ltr .ag-panel-title-bar-button {
margin-left: calc(var(--ag-grid-size) * 2);
margin-right: var(--ag-grid-size);
}
.ag-theme-quartz .ag-rtl .ag-panel-title-bar-button, .ag-theme-quartz-dark .ag-rtl .ag-panel-title-bar-button, .ag-theme-quartz-auto-dark .ag-rtl .ag-panel-title-bar-button {
margin-right: calc(var(--ag-grid-size) * 2);
margin-left: var(--ag-grid-size);
}
.ag-theme-quartz .ag-multi-filter-group-title-bar,
.ag-theme-quartz-dark .ag-multi-filter-group-title-bar,
.ag-theme-quartz-auto-dark .ag-multi-filter-group-title-bar {
padding: calc(var(--ag-grid-size) * 1.5) var(--ag-grid-size);
}
.ag-theme-quartz .ag-ltr .ag-filter-toolpanel-instance-body, .ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-instance-body, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-instance-body {
padding-left: var(--ag-grid-size);
}
.ag-theme-quartz .ag-rtl .ag-filter-toolpanel-instance-body, .ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-instance-body, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-instance-body {
padding-right: var(--ag-grid-size);
}
.ag-theme-quartz .ag-filter-toolpanel-instance-filter,
.ag-theme-quartz-dark .ag-filter-toolpanel-instance-filter,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-instance-filter {
border: none;
background-color: var(--ag-control-panel-background-color);
}
.ag-theme-quartz .ag-ltr .ag-filter-toolpanel-instance-filter, .ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-instance-filter, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-instance-filter {
margin-left: calc(var(--ag-icon-size) * 0.5);
}
.ag-theme-quartz .ag-rtl .ag-filter-toolpanel-instance-filter, .ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-instance-filter, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-instance-filter {
margin-right: calc(var(--ag-icon-size) * 0.5);
}
.ag-theme-quartz .ag-filter-toolpanel-group-level-0,
.ag-theme-quartz-dark .ag-filter-toolpanel-group-level-0,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-group-level-0 {
border-top: none;
}
.ag-theme-quartz .ag-filter-toolpanel-header,
.ag-theme-quartz-dark .ag-filter-toolpanel-header,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-header {
height: initial;
padding-top: var(--ag-grid-size);
padding-bottom: var(--ag-grid-size);
}
.ag-theme-quartz .ag-filter-toolpanel-group-item,
.ag-theme-quartz-dark .ag-filter-toolpanel-group-item,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-group-item {
margin: 0;
}
.ag-theme-quartz .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-quartz .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-quartz .ag-layout-print .ag-center-cols-viewport,
.ag-theme-quartz .ag-layout-print .ag-center-cols-container,
.ag-theme-quartz-dark .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-quartz-dark .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-quartz-dark .ag-layout-print .ag-center-cols-viewport,
.ag-theme-quartz-dark .ag-layout-print .ag-center-cols-container,
.ag-theme-quartz-auto-dark .ag-layout-auto-height .ag-center-cols-viewport,
.ag-theme-quartz-auto-dark .ag-layout-auto-height .ag-center-cols-container,
.ag-theme-quartz-auto-dark .ag-layout-print .ag-center-cols-viewport,
.ag-theme-quartz-auto-dark .ag-layout-print .ag-center-cols-container {
min-height: 150px;
}
.ag-theme-quartz .ag-date-time-list-page-entry-is-current,
.ag-theme-quartz-dark .ag-date-time-list-page-entry-is-current,
.ag-theme-quartz-auto-dark .ag-date-time-list-page-entry-is-current {
background-color: var(--ag-active-color);
}
.ag-theme-quartz .ag-advanced-filter-builder-button,
.ag-theme-quartz-dark .ag-advanced-filter-builder-button,
.ag-theme-quartz-auto-dark .ag-advanced-filter-builder-button {
padding: var(--ag-grid-size);
font-weight: 600;
}
.ag-theme-quartz .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-quartz .ag-disabled .ag-icon,
.ag-theme-quartz .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-quartz [disabled] .ag-icon,
.ag-theme-quartz-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-quartz-dark .ag-disabled .ag-icon,
.ag-theme-quartz-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-quartz-dark [disabled] .ag-icon,
.ag-theme-quartz-auto-dark .ag-advanced-filter-builder-item-button-disabled .ag-icon,
.ag-theme-quartz-auto-dark .ag-disabled .ag-icon,
.ag-theme-quartz-auto-dark .ag-column-select-column-group-readonly .ag-icon,
.ag-theme-quartz-auto-dark [disabled] .ag-icon {
opacity: 0.6;
}
.ag-theme-quartz .ag-icon-grip,
.ag-theme-quartz-dark .ag-icon-grip,
.ag-theme-quartz-auto-dark .ag-icon-grip {
opacity: 0.7;
}
.ag-theme-quartz .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-quartz .ag-column-select-column-readonly .ag-icon-grip,
.ag-theme-quartz-dark .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-quartz-dark .ag-column-select-column-readonly .ag-icon-grip,
.ag-theme-quartz-auto-dark .ag-column-select-column-readonly.ag-icon-grip,
.ag-theme-quartz-auto-dark .ag-column-select-column-readonly .ag-icon-grip {
opacity: 0.35;
}
.ag-theme-quartz .ag-column-select-header-filter-wrapper .ag-input-wrapper::before,
.ag-theme-quartz .ag-filter-toolpanel-search .ag-input-wrapper::before,
.ag-theme-quartz .ag-mini-filter .ag-input-wrapper::before,
.ag-theme-quartz .ag-filter-filter .ag-input-wrapper::before,
.ag-theme-quartz .ag-filter-add-select .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-column-select-header-filter-wrapper .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-filter-toolpanel-search .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-mini-filter .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-filter-filter .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-filter-add-select .ag-input-wrapper::before,
.ag-theme-quartz-auto-dark .ag-column-select-header-filter-wrapper .ag-input-wrapper::before,
.ag-theme-quartz-auto-dark .ag-filter-toolpanel-search .ag-input-wrapper::before,
.ag-theme-quartz-auto-dark .ag-mini-filter .ag-input-wrapper::before,
.ag-theme-quartz-auto-dark .ag-filter-filter .ag-input-wrapper::before,
.ag-theme-quartz-auto-dark .ag-filter-add-select .ag-input-wrapper::before {
position: absolute;
display: block;
width: 12px;
height: 12px;
background-image: url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41Ij48cGF0aCBkPSJNNS4zIDlhMy43IDMuNyAwIDEgMCAwLTcuNSAzLjcgMy43IDAgMCAwIDAgNy41Wk0xMC41IDEwLjUgOC4zIDguMiIvPjwvc3ZnPg==");
background-position: 50% 50%;
background-size: contain;
opacity: 40%;
content: "";
filter: var(--ag-icon-filter);
}
.ag-theme-quartz .ag-ltr .ag-column-select-header-filter-wrapper .ag-input-wrapper::before, .ag-theme-quartz .ag-ltr .ag-filter-toolpanel-search .ag-input-wrapper::before, .ag-theme-quartz .ag-ltr .ag-mini-filter .ag-input-wrapper::before, .ag-theme-quartz .ag-ltr .ag-filter-filter .ag-input-wrapper::before, .ag-theme-quartz .ag-ltr .ag-filter-add-select .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-ltr .ag-column-select-header-filter-wrapper .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-search .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-ltr .ag-mini-filter .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-ltr .ag-filter-filter .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-ltr .ag-filter-add-select .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-header-filter-wrapper .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-search .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-ltr .ag-mini-filter .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-filter .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-add-select .ag-input-wrapper::before {
margin-left: var(--ag-grid-size);
}
.ag-theme-quartz .ag-rtl .ag-column-select-header-filter-wrapper .ag-input-wrapper::before, .ag-theme-quartz .ag-rtl .ag-filter-toolpanel-search .ag-input-wrapper::before, .ag-theme-quartz .ag-rtl .ag-mini-filter .ag-input-wrapper::before, .ag-theme-quartz .ag-rtl .ag-filter-filter .ag-input-wrapper::before, .ag-theme-quartz .ag-rtl .ag-filter-add-select .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-rtl .ag-column-select-header-filter-wrapper .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-search .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-rtl .ag-mini-filter .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-rtl .ag-filter-filter .ag-input-wrapper::before, .ag-theme-quartz-dark .ag-rtl .ag-filter-add-select .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-header-filter-wrapper .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-search .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-rtl .ag-mini-filter .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-filter .ag-input-wrapper::before, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-add-select .ag-input-wrapper::before {
margin-right: var(--ag-grid-size);
}
.ag-theme-quartz .ag-ltr .ag-column-select-header-filter-wrapper input.ag-text-field-input, .ag-theme-quartz .ag-ltr .ag-column-select-header-filter-wrapper input.ag-number-field-input, .ag-theme-quartz .ag-ltr .ag-filter-toolpanel-search input.ag-text-field-input, .ag-theme-quartz .ag-ltr .ag-filter-toolpanel-search input.ag-number-field-input, .ag-theme-quartz .ag-ltr .ag-mini-filter input.ag-text-field-input, .ag-theme-quartz .ag-ltr .ag-mini-filter input.ag-number-field-input, .ag-theme-quartz .ag-ltr .ag-filter-filter input.ag-text-field-input, .ag-theme-quartz .ag-ltr .ag-filter-filter input.ag-number-field-input, .ag-theme-quartz .ag-ltr .ag-filter-add-select input.ag-text-field-input, .ag-theme-quartz .ag-ltr .ag-filter-add-select input.ag-number-field-input, .ag-theme-quartz-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-text-field-input, .ag-theme-quartz-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-number-field-input, .ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-search input.ag-text-field-input, .ag-theme-quartz-dark .ag-ltr .ag-filter-toolpanel-search input.ag-number-field-input, .ag-theme-quartz-dark .ag-ltr .ag-mini-filter input.ag-text-field-input, .ag-theme-quartz-dark .ag-ltr .ag-mini-filter input.ag-number-field-input, .ag-theme-quartz-dark .ag-ltr .ag-filter-filter input.ag-text-field-input, .ag-theme-quartz-dark .ag-ltr .ag-filter-filter input.ag-number-field-input, .ag-theme-quartz-dark .ag-ltr .ag-filter-add-select input.ag-text-field-input, .ag-theme-quartz-dark .ag-ltr .ag-filter-add-select input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-header-filter-wrapper input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-search input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-toolpanel-search input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-mini-filter input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-mini-filter input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-filter input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-filter input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-add-select input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-ltr .ag-filter-add-select input.ag-number-field-input {
padding-left: 26px;
}
.ag-theme-quartz .ag-rtl .ag-column-select-header-filter-wrapper input.ag-text-field-input, .ag-theme-quartz .ag-rtl .ag-column-select-header-filter-wrapper input.ag-number-field-input, .ag-theme-quartz .ag-rtl .ag-filter-toolpanel-search input.ag-text-field-input, .ag-theme-quartz .ag-rtl .ag-filter-toolpanel-search input.ag-number-field-input, .ag-theme-quartz .ag-rtl .ag-mini-filter input.ag-text-field-input, .ag-theme-quartz .ag-rtl .ag-mini-filter input.ag-number-field-input, .ag-theme-quartz .ag-rtl .ag-filter-filter input.ag-text-field-input, .ag-theme-quartz .ag-rtl .ag-filter-filter input.ag-number-field-input, .ag-theme-quartz .ag-rtl .ag-filter-add-select input.ag-text-field-input, .ag-theme-quartz .ag-rtl .ag-filter-add-select input.ag-number-field-input, .ag-theme-quartz-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-text-field-input, .ag-theme-quartz-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-number-field-input, .ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-search input.ag-text-field-input, .ag-theme-quartz-dark .ag-rtl .ag-filter-toolpanel-search input.ag-number-field-input, .ag-theme-quartz-dark .ag-rtl .ag-mini-filter input.ag-text-field-input, .ag-theme-quartz-dark .ag-rtl .ag-mini-filter input.ag-number-field-input, .ag-theme-quartz-dark .ag-rtl .ag-filter-filter input.ag-text-field-input, .ag-theme-quartz-dark .ag-rtl .ag-filter-filter input.ag-number-field-input, .ag-theme-quartz-dark .ag-rtl .ag-filter-add-select input.ag-text-field-input, .ag-theme-quartz-dark .ag-rtl .ag-filter-add-select input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-header-filter-wrapper input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-search input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-toolpanel-search input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-mini-filter input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-mini-filter input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-filter input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-filter input.ag-number-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-add-select input.ag-text-field-input, .ag-theme-quartz-auto-dark .ag-rtl .ag-filter-add-select input.ag-number-field-input {
padding-right: 26px;
}
.ag-theme-quartz .ag-ltr .ag-column-select-add-group-indent, .ag-theme-quartz-dark .ag-ltr .ag-column-select-add-group-indent, .ag-theme-quartz-auto-dark .ag-ltr .ag-column-select-add-group-indent {
margin-left: calc(var(--ag-icon-size) + var(--ag-grid-size) * 1.5);
}
.ag-theme-quartz .ag-rtl .ag-column-select-add-group-indent, .ag-theme-quartz-dark .ag-rtl .ag-column-select-add-group-indent, .ag-theme-quartz-auto-dark .ag-rtl .ag-column-select-add-group-indent {
margin-right: calc(var(--ag-icon-size) + var(--ag-grid-size) * 1.5);
}
.ag-theme-quartz .ag-text-field-input[disabled],
.ag-theme-quartz .ag-menu-option-disabled,
.ag-theme-quartz-dark .ag-text-field-input[disabled],
.ag-theme-quartz-dark .ag-menu-option-disabled,
.ag-theme-quartz-auto-dark .ag-text-field-input[disabled],
.ag-theme-quartz-auto-dark .ag-menu-option-disabled {
cursor: not-allowed;
}
.ag-theme-quartz .ag-checkbox-input-wrapper.ag-checked.ag-disabled,
.ag-theme-quartz-dark .ag-checkbox-input-wrapper.ag-checked.ag-disabled,
.ag-theme-quartz-auto-dark .ag-checkbox-input-wrapper.ag-checked.ag-disabled {
--ag-checkbox-checked-color: var(--ag-checkbox-unchecked-color);
}
.ag-theme-quartz .ag-checkbox-input,
.ag-theme-quartz .ag-toggle-button-input,
.ag-theme-quartz .ag-radio-button-input,
.ag-theme-quartz input[class^=ag-][type=range],
.ag-theme-quartz-dark .ag-checkbox-input,
.ag-theme-quartz-dark .ag-toggle-button-input,
.ag-theme-quartz-dark .ag-radio-button-input,
.ag-theme-quartz-dark input[class^=ag-][type=range],
.ag-theme-quartz-auto-dark .ag-checkbox-input,
.ag-theme-quartz-auto-dark .ag-toggle-button-input,
.ag-theme-quartz-auto-dark .ag-radio-button-input,
.ag-theme-quartz-auto-dark input[class^=ag-][type=range] {
cursor: pointer;
}
.ag-theme-quartz .ag-details-row,
.ag-theme-quartz-dark .ag-details-row,
.ag-theme-quartz-auto-dark .ag-details-row {
padding: calc(var(--ag-grid-size) * 3.75);
}
.ag-theme-quartz .ag-list-item-hovered::after,
.ag-theme-quartz-dark .ag-list-item-hovered::after,
.ag-theme-quartz-auto-dark .ag-list-item-hovered::after {
background-color: var(--ag-active-color);
}
.ag-theme-quartz .ag-pill .ag-pill-button:hover,
.ag-theme-quartz-dark .ag-pill .ag-pill-button:hover,
.ag-theme-quartz-auto-dark .ag-pill .ag-pill-button:hover {
color: var(--ag-active-color);
}
.ag-theme-quartz-dark .ag-column-select-header-filter-wrapper .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-filter-toolpanel-search .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-mini-filter .ag-input-wrapper::before,
.ag-theme-quartz-dark .ag-filter-filter .ag-input-wrapper::before {
opacity: 66%;
filter: invert(100%);
}
.ag-theme-quartz-dark .ag-chart-menu {
background-color: color-mix(in srgb, rgba(24, 39, 50, 0.3), var(--ag-background-color) 30%);
}
.ag-theme-quartz-dark .ag-text-field-input::placeholder {
color: var(--ag-data-color);
opacity: 0.8;
}
`,document.head.appendChild(e)}}(),function(){if(typeof document<"u"){var e=document.createElement("style");e.setAttribute("data-ag-scope","legacy"),e.textContent=`@font-face {
font-family: "agGridAlpine";
src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABggAAsAAAAAMhAAABfNAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHItkBmAAjSYKuCStUgE2AiQDgnALgToABCAFhEYHhlQbPytlBGwcAPTYmQ3Z/39J4GQMMXfuK6EqRbRgZStLKfHti42sdSMMSzt8ncPoZYkG0xVMVCoPK4h6JNm9WHhsaEzj0edan0MTU1OnzAbfuP/Ea//rIg4bSsnz9GPfzvuii9guKmsWEiqWmE7LeAmEaNLuDD441/vawCVpe4j4geyXs7NzE1aTlTpyn4ATHiLTnS00yFIAuSkyfboqAfADv83/g9cEBYvUxgBjoYjNtRD/jLoXzNjmCguLDV863FoMsN/TJ7rqu2yjNr++SF+4F4t6sbiWSe/utyXXIRlFxlKbAcNjbaoHCpWampr8/0G793Otk0Ia6+lhWBUU/odPV7n1bn3wVBkKrbtnF5Xj9qfmn3yl5/8+e1i4lDHb73vdMciYBEs8IXwlAn5as9deCshTfC0LhRKdmp2dS3bocpt8mpvQ3n3ay6ftfkpSZMjeFj4Bu1YBy7ovfIVnYSplK4ysbqum3N/N3EGUPWOtd7Bj99YuI0MDJWOR6IXH+q9jVhTQ0TSnb96qHEZvX/j2AYuo5N4F8sHL7RsvH6N/mUUrdirEcqg3GJX2098fRVC05bGeVP1DDQxFtfbaTRalhymrbe6og2Gbjl+GpBIsVxA6cbvoqAVJ6QnfEUVbERtuupCM6JXdwphulBcsoHbyeGRdhLKzA04bxnCtU/MYW/Gdwp30gR5yVMYLR5ijVImd3zwZP0P6QhzFOhVfmia8ChLC5ZEbU5hXGrFi3TbKbBZpJrppDx/dc4abhr7EyRuGGcm0okgWxU2GRlizCspC8SwpG3khIMJp1JFW0cCSy/gswwlzErbhpjJ+E7XXYFuov5NHetnlTb145oeTDO8NhCOXUnHP45RMGGP3Fk68fFWL3MFOEVHYCy4SHgr2rpxSjoV3fG8jE7Je/PLvzWf/iiHJsT9N3Lpyslwvj8uroi4HtPk9If9eeK3Q0Hbfg9yaCZ/WktdOjH5Ojcuo3PWmEXG7x11bUFEeYjqR2jfjBOr7kswlqfFa/XTSw9l1XIapJIXXfUOapNGMUKUTsExCe23EuEbpvrIXDLNZ1UpvKjY+1xKrD/PkSJ6NjaIjKcoodlqYW8ZHWvm2CWRchDtxTu7+YhTNqatx3ZSwora4PTqifCG1AsIpeWppFBu2bEDdGVUjj2taM9YIG408dP5dZOPlnkeilLiQ2Cvfkw07P0YJM8q6SZKbLsKdV+4SzqwD7DLUOUAzI3TRferjVLXmPPLOD1dYFUJoC9cb6MTw7NZVSk4k5WCfGIXi9lQyqKfsYJ4asueeuG3AnEMD0lfZReyHhbiqlVFl+69wFBpjjr6kRMwbEZnJvh3sNtOo4PCGNcNqQz8pd3RXHmn71KHysvIJr7Nvv3zBRDEAVLAqJJO1/2r2DP+NZIf8ASdrG/VM+peA6QXJJ1fBMKhBZbS6rfQjvDyMULKFQ/2BHoKOqvnhkz/Z/fefEd/e+hJNSCa6MNNwVF4fiBC1b4bcGXEmV/kpBPWUDOYxsVLjlrs66AjORpDU+PwNo8XOwcnFzcPLxy8gKCQsIiomLiEpJS0jKyevoKikrKKqpq6hqSWtraOLcOvpGxgaGaOYiamZuYWlSAylAclZfNj/+ZsOakN30jJHta8VRUC2m/1t2dy6i+gUPUDtub5nwcgaHQYX0CZwER0El9AecBntBVfQVnAVnQTX0GZwHe0HN9B2cAsdALfRPnAHHQF30U5wD+0A99Ex8BBtAY/QbvAYbQNP0FHwFJ0Az9Au8BwdAi/QcfDysFMQjcukDg6SgIOkABoQBjQhHGhBbEAbIoAORAJdiAJ6IAYwA2ICMyEWMAtiB2ZDHMAciBOYC3EB8yBuYD7EAyyAeIFeiA/og/iBhZAAsAgSBBZDQsASSBhYCokAyyBRYDkkBqyAxIGVkASwCpIEVkNSwBpIGlgLyQDrIFlgPSQHbIDkgX5IARiAFIFBSAkYgpSBYUgFGIFUgVFIDRiD1IFxSAOYgDRt12ULyCQEmYIg0xCgCunZYZN9cGU5AAc5BAc5Agc5Bgc5AQc5BVCDzIA6ZM7pyQU4yCU4yBU4yDU4yA04yC04yB0YtOH0Vr5j4VYfdKck+fJ/H8BobKnQvx8gKBMURfsqJjinAq2gMYES2ptqBErltNmlUgpBvkLQPCkl8VWblHLOqS6omoJ6lHK7s24+k0aLl3s3mjgphsuli5ouoirDWMGSQh0qqzzqcTjclmh8uWwwTqWf+oSslBuHx9A+y/JLkY0EUS/EmLRxxkM+S0xdgpHYciXgoXGX6arrSmfqWvYL9U6HXJKCuZP5WDKZg/zKvb+B1cxPsecO0BGDlH0y49gk6yGYNhFmxGinSXZqPW+1sjBO/Lws9ur39sfI2gtQP/dwp3M43X34/HgQ4OqZzh2MU7r0w/qoX/WNVAhXHgvhxuUuWcjRCjsW2on3pgEjY2UwfH6aT51BSpY4jgl1PUjIZ81HIYxCWn8bSsedPWNLGVLsUE+ombIf7tZxnoaltQ1nSF29k6vp+Ic2nOrQmTZ9hg6ViorNcCcVPrtTq2x+p2bp3K9gbgrFNkbthFlxL0pJGNQBGyp2qu/OAV87fo66Wh8sklrCiYu/ZYwoRPo+26jYUSx0miznw48yCxGlFkaIw3aEdQgwqU8LYZXWqzEh69gkwyvrICdkinuiEzG9cToBIjizfu/VJpHVjcjCFFzLM3tyYCYayyJVZNbrks4xCl5YVI1Ex/SvEz62WP9O76Lw2jbvHBuDOjzh84WE8NnsJornCZquNs2VoR2FegygZ1yfzO3o0J1EdWgNqkf7uyXkvV7njRswY3h0Rp2dhBka957lt2u1MRAYa9YBXaP3Mpy5maTGQScH8pujrdp3ZUgzGJeo9H4oc/VNLqdvsDnK2efazJPOvWCIluLx40CYwDD/yjGgUDs3xafX9c1ZdWbjo3qCmGGoUwre6u6dWEprtOHw9WRkRlKu1GXUscrmURT12TjL9MhqcQCAhxGn0y1D2kivw/8IoY4KYWuZYsXkg82Mv7ZrnD3ddm7GEG6wPZHrL01hMBfnybmZ6tnyOMrSKCEut6JS6+Y19PbBX2Vz2V2rWuf3eubJaTVvzwe9jHi6Li2MQqUIs4baxi1iACeCHace2HHhhjIbJjIytEDIfn1jzsUTFyEOdyABlxLIBOyqzBxjNvM2PLaOedJzo/OFOVGy0/iVcOOWa9JW2HwCHh+gt5jvEBjx0X7j958iu63t1EEJj4XKTxZqfxOH9nTNFnL2qcy65Bg6Yeh+AVS0hvDRhcVer3CdXjmRqsNm2vPtK38oNsoIwdSMswGYKWk+WIHo2FiyMyep50zl27OA17pQI/njsfYwjzwMNuvw46Kej32KRE++o2YMFvKBZHakX4ajkrNiWWj1WOgXzNKqQ7xzQixdwx7wORTkRrGpYsi2k87GJ4KbvNLMMSedK4elaygvzC/spL3Ls89jTzO6Z54mvi46M/cyvpDdN/86/V0hNW2ws9OF85tU9J7JBnehvHfi5Izeu1ImyPQwyoy2x4F3vMectnAXCknqzhTSgqrv8jCEvANovHeqsWiIPAFo4Y8MxkM4iPd0Tud0bs0zdWoa7Blvpca+elkRNBqam07Os268jgPrMSv/eKn8mgj2E05pYyQNT5TeKHKrIikK+SmzTmnmwQ0x+adHVEFwpj71ch4X7+zI87U/m4HOc3A4eVuJM79qnf/de9c+MifzqqbOSABB9U7M6wNFSxweDHAy0JvYfotm3Uv+qcGKnGbfZ8SXUgp0Sp3WJ/nEV0rB6ra2MkMuPkEU7b2tesD2BatbNI+JyqCOruHC80IHKx1p+0Zqsy35Ctier904Kh3rHiPjtNt1eDLDUanbCG+E1dkhlp9PJ6sNMuky3JNYfdRVy2DIToeOrfaWpotKwrBwBd7p1sZQMxgYe4DVzbOVVpWhOEIxkIVv6/Z7KUrDpBOFYKIqKtCy25uZso5WOq7pHlF/tfMaNSrbncuQTobWlzlLIbYKRKf2tL7HFsM1qkZtAv/MaC9TphiWwlxF16fO8i85QDJJ582NMIaiwJvgtQG8yeZd2xmjaXNel0kkCwrlVg9HRilPK8FIio4vWofoqZ98kZ221RVeqau+832Bvk1aRS9E7Zluh1+maRxbE9ez4d67CqK9vVcmy5ChK2qi2ME7PBqGn2uXl99j739aHk3AMgT//b/zHwCc6SZ2Ntop+p63khOvauRP/2K6WP6SGcGJMYk38PyVd/85Z+KCoH4hme/i/OuQPI2T9pE2rHTlpuL8pVwfNYKn8SV6ezrtJhdZIy4LelTP796c4Iu63KXTfuy2iRSE0Fq/o9mc44SSuXf/vDBxYZHRXbh4pEenW/Ic83hEENDC4VVLF4iSu3/eH6/aKvW3qvgRPmFFW2fbrvhJxu53sSdeV8vvGTBdo4PFxvEk3j4v2BPEefNcXBp2dpDOk43a0eEG1zDa4mHizqY9B6m/p9qeHQY4RWvkBUF5QmFeUMG3if3cecKCoG9LuLt1adrIutCk4dMAdsUWSj8l8Vb5Tllbq1QoIfDgMtnRd8pxF6d8HfHdceGS6fTExDu3h4YSk6r9Xd4+23zkzfXkur81/Vsr68Mv1/r7tUVFBgbhYXc4fXdu3zkafujQ7l9wtiuIwZWN/bob/Cbeyf3lp5vcyBC1mwZFb2BW+QbVzoFLb8cFvJHLL7jgKsEkL5rSHrgCV9Jbuz7oJuEC62ofSB7A84CMzKiozLTmFkiO4WRgvEA49VN5ac3W5pjjJM9yz7WeZZ7C9b+ruOXkhN13tXU7STOmvAjLBdLW/jnzPQ5Ttpbla9/1xdBdb9YgNsxQD2uzXov6sGp/GvOkn/OFUmeZjL2d2nOMymbRGQ7U+y+sKbupDeu3/WpuJbWm9jNfCgdhle23DOsmQwW9z2JDSNI3jtYWZlkjUQzG57etu0N3e13gEywvoNdTahPIRizBNGtLB+1cLsvv0SpTcp+1HA6bB2y/LJxPfzwdGcH3x9f64WXaCfcr+/y1uL8oorAut8oz29m/7JRhOvC1/h4O/fGce90BunsB53UB3ecRkqciWZEUB4zKQ9e9Exh7DcWXQWD1YjRdJTdm2U3dyahbt3H3pnUMlGbl+jo0E83sncRumtJWm1slJG5Kr7vcZr2bZcsKkG2X1gd8amRKc6ZZwzYisLJBz+7f+sP87CEhkeC8fKkuuqrBPpnvJYzOuf6IKM3xq5CCLqaq3i45JDg+saTA9GF02lp2REGRShiXGsfV9wZ4x/H5sd4BZJN8hX96HinB/CWSxBBuFiuiUKP3bkBYEuODb7p09qp7QRE7ovmFQ763S65q0EUftnkLvv1xyC45+BOdlzEs7DTONQhPtLnUfYHImN7o0VTRQg290v10AV4JrlwmH/VmCu4/x15g8PatSCkimlAleqGJ356fqHwa4dYHDEMuChIFEqgf2nRaiSrLEynfNu2DR2rRILTp7TE7rSzCHycscsXs/AJrx/fLy/rgMf29HCYMPudyTnCHk4eD8wMD8yqFzYKFT+Ke4HD1/CQsqXYoKoLYq862+fI6wEkQJLS4v3pVltxrc6KyzDBBguBkfCanSsz+IlS4/hO16sFpkUKRsUQiRUb2BZZMpm0UisxFIWoR/CaD5SK5Uo7imSI5iE4r7ik8NndWAJjpvqP/JEfVBwXC9w5/bE3c7Or98eEqmdym9lJ/tk+Cd3y8d4JPdnA5d2BqisMtT7BBOlg1PFj7YcWRmX9S/rl51BVcdWsZlwVirT7lfuqKdV+wEqfDlP1KDFKU+/ebckKSWu9olzcWFewbCRM5PnFwiD/9bWxseYmRIcstJPn2Ro3mu++I7/es3ntC+VKny620JrPZNcUMkyqrNk3VQcrXc8w/p6dhrY1+WwyfH2OC2NMxCR3D3za/HqQ8H+vfBwc+M1oxdfG3Nl15/dCKZu3v8kfjeWongWHpGNGyjcePFXvJq1uI4/mEEV1/CBgHZs2EDrEmTdsbLsH/DJU7RG8E8TWGkNeAohcbmxpIjUfsYHAseF/TjstN2yTbd8DhP0cnVK3/55+bW3+5LMcjw12tds/wyHkobHzwff85Hg8l9Y2LP9qcI8wUCDKFOQvCfu5MQY5woTQ0PF+JqYyKqmwJHOkW/o+LfmunzSk6Uv9Z1jgQivD9cucZln3GMfRY0IrITwTfa6mJ9IB/EtntS4WE77PfJ0gmbAPn9euoqJBgR8fISCAi5Xly+PNwv3S1gSTl4caNQRRDEcZoH4aICsOCx8zP4Q3lpKebSiqaVR2S9RHBw20aXOajnuO4E1aZlxsXNzzsf+48mE/badHOYR1UXd2JDmNfSui3LMSmp9mV1Kt5h8FzjWdZUtrV4y3f4vk0Qcjgs+YhPHYbFnv6nOjcGUy8DRcPN7NFPHEKGvB8Xa1KVTqPnj9tjMrYIRUrnIenYPHQONA/rLCwsjjWgrN1KSwh8eUX3NpiCSxcLIDl98wv/Kj8jNxqoaaGGBwYHCTgMq209H5CItngg1yd7qXyxN7Vlg8fpKSEF1qrz67UFxVsXNbeuSr2MrXaAGNjbW0bbyeHuLEMjcpLYmO/PR1fX2dFXLuKHz9OhIakpf3JnPuacrCqTWNVZcIorqmuBjMBjXZPuzWLmnc1sfaODWoDZgeLpRsqkQothPUI6jzBH3k+evt20XMRAz4yGvX4//yTws+jYc1fB09un7Lo7X+65PHdBV96AospXUaPnuToxTRGNingZ75BxUqlVV19SmTYrr2GH3yZTln19j+/t5UFaQX1deZVRCtgIGeTy+uUkbv3uomPXctBc9aj67dY8wKuXfN//Nh6/HGMoi1W3NJlt1NP0u/kdHWKxV0+O61hh9N/5fSh09cYQH+G+P73nluRlSMBACTKzna/jSxsynM0aNQVVNHUISVwfNOWyWPZvkSFXHH2RQ3A/7/JFuQ3do8+5P+mL4FUE9VqMpmpCuz62jxTvrhMWdJVrTG4FZf/Q/4iy3BGeekmzgRsqCNN7/UDYulTZ7LJZdOENMI5wkvppmyYBKQCuyAGOjy3QpAsKetBhhAb2yqaqSO2rl1hs5H10NOQBJdpleplSVekXZxi53IwGNhf70cchYMsvxNR+6Qq/vtmyuD3hx99k08Le2lKQZYBtCyz7y6r4kuGPy/A4LfbCmiUyxWX9bfcxt+Qk2qyoNnftPUfPxUa4bL376J2iJiKbwH4G3jeCbeZ0DRornUwWVIwwpUNEnRzJ8SAAt6IgzkImZKoKIzeABvYDAiQDM2ABCxQRcgAqNDJkNfNh5khNr+MjIABc8wYm/+GyCAlGf5iFPAgFd3ZCr8k+i8pR8LfGGqyUrwU+zr/UUpkah9Hx09N2y8kFKvo2+7alik8qfZtLzy2P5nWZKXEbRZ+QaenQTU/349djaf75Hic2fBLov+SciT8jcs3riYrGleI6f+4YAXfNab28fSgmfhFMmKDKYK+7a7byjKFJ01136594ZGLn0aJJksp4xeR5f4LutichgZ+fr5Pr6vXNSdnhI79JwCoZOTxOZ0whwUsYQVr2MD2NzTmAMdfl/43vxVESVZUTTdMy3Zczw/CKE7SLC/Kqm7arh/GaV7WbT/O637e74/iJM2I80JIpY0tq7pxrQ+3bt+5e+/+GjPeCkEwWI1MKyvC5zK3xS3sprS0Hr9hrJwlh2npBiv6doXRvXZ8Mfsi+s+FsUTyqChjJKv4/lTnSlqVB8eJxeR4tLWsF0Qdqewck4p1in7hOF+XTriUuSvT3FVd2NZLvMyczbjZGo/0W7yiKcmWYc69VR/TBzpLD0+KLoLEvAzCNS+UEbpI2OsqRbI8vuvE1kcKm9Fe4hhvuBiR6sZRKowv4UUXxIR7YjU2JT6jX2YD44nzHGmZ48S6yYJT5FreyoW+GTZdVWUy3PdvCsOjpcQw6KLYCXdlfO1rPJ/pQNok97DryM2z5TDTG/Mc71UQiRTb4sCckTaVfAkscqplqcLDN15Y7bVMaFT1r1M5ECtMKPWq0g136bj+NEJvOlblcSd4ynkXGncShws1Hw6kpalX8tp0hP0qd4SvWGO9X6CPChYCCCAoRGAgOEMBBx4SDPAKHVzAfIIKGa4wQQ+3GQAAAAA=);
font-weight: normal;
font-style: normal;
}
`,document.head.appendChild(e)}}(),function(){if(typeof document<"u"){var e=document.createElement("style");e.setAttribute("data-ag-scope","legacy"),e.textContent=`@font-face {
font-family: "agGridBalham";
src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABrcAAsAAAAAN4gAABqMAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHItkBmAAjSYKw3S3SwE2AiQDglwLgTAABCAFhEYHhhsb6y9VBoWNAwDF6P6IqOIERFEf9qR69v+n5MYYUoGaPRSsRLkLDn1h4nEsTPOkD3q8Y+vATyTL9CvDCrJEtHG0760OxKRjMjTzG/bzPumSXkjosEOS0OR54Bj5LjrpDrSyVgU84gFN5fu8c9WfNp3JElOmSZsi7QGyEff8KU9On9D7A7/N/3PvpS4ISAo4DEwwiYWIFwvBRgV1ba5Yob3JonVzFeqi8vr2Whe4al+kc1Hu7+u2ZwAQ5O34kbIJlEJr1k1oyVCbJdP6cOfIqtDl1Kl6Rk68karzGb7wtSRrhiQnrkgHABBc3deZf6Kn1Zlh4VLGjH3PL7vOFuDESH624MoAuyV/1ArgerQmnBQ4aWUpvcw0qiYql5fWFvsiwI/WflksWqgMOpGStcXdQ3bmHWYLnr4lxBK/QUhfyKahHu0SlqCRKM1qp5TO/M+llskNAIRFTc78/5O7+z/QXa6Yg+3SYcq/nOsAQAFLQAWUlPBuSKqgOrc5QEd2b0r3TdXKTQ0ih6sOb1beOLGtbwgh2xNedOqo6OVDC2PZzC6PsZln7KNwbRAGNZmN8dHvUQAqbWOU9RkU6Dz46Q1GEXV+Aaw3Fxz39D7o3RjSUlOAfkL5seo064Off9lXdUOJ8h6iEDZ3P2lipWk3bxfjqGnT9I/TcU2MYDBJijq9ammy2LS1Ls7mRFG29Co1mH6pXqO0vm9LZUYQOkNGRa3yLOnGuMp7Y6GUIKIkYqbSH3VZV+uD0gqNocmXfMV09IAWOS5m85KK9vWjIhlGphzv6qOJODjPBRIjJQxSxymxfa3jlk29NmS4mDFyrcDpkm1lt4sd2nqsdXhMdoTFNS1SvCnDSRsIgyOwwU3fRc9pYxJijDeyzIruQHARYRbJN46r67ToXOaRLzHDZITG5gZW5K5pldRVy5f6n7/q4UrCOlqtTWX20AxVZJdqsq0e38cWuB7zMt/8Oner/0ht8nx63scwCiZBFczTZG24QT6e3+VDpsi2wq16e5akQ45wf85FdffI0lp/pkOLM+6gtCLVpp1pakYXy6zPcLp90aeS/kPsDHcnZNHqs/DwU7HPRt+hdc8L+nmoIqmejrW6lNx2jagztrpXlvNeztOg8ROZF7qKqJnN1smZtz7XXWipQg+1LNYq6rr1ni/e5iyDVKOIVqOW7ZqMFxRUQmqawCwD88KxIvbCuEJYFlX8pG1CZArFRIxjl6hwM8+5BrlXslvCw/RM9sJOiRrnbdOaZu1VNJ3bt1CSl4A7IJRH6C2SSpFp6LZOKNzzyheHOlpU9tb4bAh+Gc4mjrTKRtCs+FW3v9pg0nDzLsjUc4vpaaHgt5EjkrEtUOOvpSatO1cNvfNXYwu9a8i+PkGHVVTXzNR0Yr+jKo7vWofLkxz7l5RI/m11VCh8WXvgb/j9go+dgheAQlqgfsXWg3yEf21EYj2Ak+LEX/p9vKwVlIAiMAaKoXC0rxa01GVqjKpV+hjiClCNUhAbnnvnR/bgoHH3vfQhaauvninQ7teOW3QIRmiYm+fKgvOGIE+V1gdmuJTnWiK5So1CVddAtWgtzz+MHTp16dajV59+AwYNGTZi1JhxEyZNmTajw6w58xYs6rdk2YpVa/p1WLehw6Y1W1S9tu3YtWffAUJz6MixE6fOnLuAgoq6gzf950+sOy4vm76BYCWRZgZ9UaSFFeUVqnbVQPFdZS7A+AdtgmuaADe0Dm5pCdzRMrinafBA++CRJsETrYJnmgWvtAbeaAW80xb4QPPgI82BT7QDvtAU+EqL4BvNgO+0DX7QHvhJC+AXbYDftAv+NBxAQBEAIQCMAAhMKQRlyiAYUw7BmQoIwVRCSKYKQjHVEJqpgTBMLYRl6iAcUw+5MA2QK9MI4ZkmiMA0Q0SmBSIxrRCZaYMoTDtEZTogGtMJ0ZkuiMF0Q0ymB2IxvRCb6YM4TD/EZQYgns0bPmQQQoYgZBhCRiBkFGJzRYAICBEgQoAYARIESLEayLBpIUe0oUCAEtuOCtEPNVYPDWIMWpgiSGePG3qEFgYEGBFgQoAZARYEWGGKIRtTAtlFDBwIcCLAGwE+CPBFgB8C/HFYxeFXzD/wHypnqO3V46TIX8H+V80gQPcVmEOdpwAiKm1pPhwVh/rgX8xggmJLpTHE3A4R36dWiAJU8XhRwKB+WCKL9MOjGRQBk8nnh4BukciDQoZQSHtHXzLmSXEN0oSebA8exgwbIQ9lsxn46mvCaYFeIhwfImDzZGIahRSJjFI0Co6HRQjJdPoPe+9x3EvkwfDA/XBhoLcEZ0ipVJxOo0pFhKoyODgtFIpIIjMBCMpKuGcosTmKliqkPJwCwkftrPSQ4azZZ+/flz8ubLt3T/dbybkHD3yejN7+8OHwP4uabg2x3YN59q23h/5eev6u79NR2+4Me8BsulfMRJiwQYkXf1B0ULpFMsSKrZwRfI4HDEEymkdVL5MjeTAcuDQQtoG5I7yF0K1orm220XjwC7GrYWmOYUBIfXH90j3pbd292gqr56BOlZnjTIu902eDYY5duWOm19r4SjBtzQ4a1Zm+daceAbl+Pw+7sIEjvuG7cGXdrXPM93u4vWfrrHYHkh3wJQJlFUjIQi8QSAhp6k2L2Bn2T0gE2WZoyPQPzwqYgAR7RiLuSHRaxD+YMMXGGVafrpr7baKYcQwncRbN4gyS2pCFcyyTS4HLgOxoIdgy8LEA0fbxhvJBHfV4oIXzzDQFXrKMzyVJOAqL4//n6Z0jkXT0Li3dP15wnRy7h/Ikh0ucedvnYX6/bAIFtrble8I/il/ifGEnxdgW/IYax55az4Esqw58Az1Pdv4X2zlvuO0XqCnAcqzdH1X2Qn1yJk8p8pzteJaHFckRwvOmjkaruktSyRYljlbSP3f4FOLj1diWxQrPk4Os7PtQZ8JqdQTI5OHzfDlb55htulI1hHqEY8OBFTV7nuVgVjsDtc/lgZirUnF6pqA0Ex4yDkdwTAcVIdWtmj438NCvRHSCCsXUk4E07TBOQLZdrLoSkSQVlVR+KLqD0bRYmK0V3KBaLiPHVYKCo1waNeirSi8yz9RY/ax1/rBx6Nzcx+V3vrXLq4ZTwh/TYXu4thIlV0eMqtSgEVO5UdBoimMKws6V26fMGcsGk4IaAvmnBQsWSz9klP+HghtqSlhow1dbSBzbl0qqy5oHwej6F19r+Ey8QkiwU4jO9g88gM/lJVML57PVchrZMdoaZf12j/Ni5WCNY0nCl83aYSBpCnWDrnr3GKldmmW0M3YRAUwjTXNRO8Fu4bB8phnHnMJyVpaBd1nx+Ry2PFBsjkM063Kl8Ot04BLAvGFi8FXyxsVWLht8VSsWac9VD9Tw4vtfINuDyO1ue3b4Bl74/PZcEC/mYFye2DH+un0HLd+/nAvhK1Qsbcc5MhdD7+t/bEE8m7QMKciP15161jaSqSoYaQPKhYZa3Dq+9WLyyWmVXs5WHdq0y4wVdCFeWd+oerJ0Ll0+qNIoW3syaWFHFEUcbgXq5ebDWdtEuukU3FeLZod6YAvRvknIZkd6QH6iCYKGRhgTStA3hGCEqT6zRdyZSFNuUsnmoOnsSqzoCU62aCFCA2l7lgIIDuNAHC5AVAZJU0j46Itvn8bk1sebSvmbmXa5+/gqkny0MX9NouO+eEw7b3z6YMWRlXRGN5qqfaGpTDWUOWg+uMKh7OpDPpbH14GVa49gYwXMN0Mj+m6OXnrUXuYZIuBysZR6oURkLzQ8/MHp9+jI8mjzrFwYaUZn1iHRaRxfUtvQ0wq/oh+mhLLYiG6tuaEU5Kh9sKuJig7/kWebSS+rB+a5/4eWZFYFhzmzF5SE2nPSrLWvgeLr1s0IN9ffVqP2n1knD7pxBw96pmXQPPKKY7WNicoOTsEOx6K3IPCqzgZswAZrCALMAGMDcm6p8LbAFBN9cYeW13JFEZ4DEX1Fif5CsmTWjMJ2Tr9CJLecFMoXNUz11ZSUBF60hkv75kPSTWGLzcSkgB1L1jxDSovE3eHHydJ6kmRabtuXF+JNM5earBV8RiUzVr7cmovO958uYqFoli47lsLZiDDNbfahBIrRc5pZEAwYBiQyAAP9yA9sKAloZiUl6/LEpRsXxi/Ss78ZtEM7dlGHv9SMO2rf9HhiZd38fvOZ8dx6yp78yhNwAjK5NvgNA+Vk6VbAvTTSlgIvUV6wpaDdSXBHVBzNd2n2UvSLjyhZ+7BGInszaHKbvX55q0Z6lqXkhrKFvfwl5Qab2yFS3H9++eGuqiTRk5uj5SrJbctvQVv/weUeWzIlCTWONwwpAvmjOL8U09v66/yz3Qsfd+BUa/qPeZB3uYZMPUvEzpBvfixRdIcJx0yJuKPvSGAO/wuGeCqeDIYFhB2mcyNQT4UjMs3Z8z9z1sbja1zokzU0LXL3Y6byts5efKvULkGCkPd7kP0qCi/gIZfo+bwtoMhbQs0esAXnPCCX+iXUgoMzk5XKZDo2hBRdmZysnHneCkZ7IUkIqqbAaHR79mJsMl/rL2desr+WfyByrIPz0MnxA+iGfqNxAOP4H/54/2nuzs94QvXLT2O6J3gOGI2uWmaUrjTpaXzU08Rx1qf/fhDcRJNqofOe2UyuRadLms1s9iMN91oXL75+G/D12a5XCNCueaO8DpAmonsLWu6IVvabT/2v2vn4vZe/Z+/IeFkyPR0NeRF67YPs1iVd/ZNspb/fi73OXFnuIr1aea6ppeO7x4Y3YfZcpfngEBH3pwAs2jRhRFe9sm1aRoTR/4qI+0+bIEGn5y7/kyu4IItlBlx5d+nWpWfituJnx7a2tnaHHA7uIklYJovc3ZfIsr+IazfDcl56pB9QkjxumtCsqm+LmwdSTn2qcl5FvRTOYBMtHQnt0ye9Rc4+1N/fr7GSvNCCQ94i+DGA4oS4/TsDtw5q+osjPF8P+CY5JuRrbGq1TZPv9gtX22zqfI2b0i2Ps1tUJqXSpLIcAmjKpLSoDsKZIV1wUBkUsHns2evem+F73KbIe7g5ybXF9dxcZanq6a8eqAbdPHVuVFSuukHtmxulxupGP/wWyod8J18k/26I3PtUh7zdufP6df/Nm6fPkLya8bcNFgNok3qE5qSeb9KH3u937GgpKUHROEMnH7yzo/N43JEjzb12qQJMoJDaXjTD2SdGjfGSmtAQpNoL0NCw5gOXS/6J7oGEIw19YRaVyhKmDVNaLKpwzF9FB6m/BNuDDTvT6Wf6/CGeH6Y0W1RhG4xbgpKD4INva/oy7M6/E8urZ8xPPomETAxRh0wIGeb+XU3LTt/y/rOmrhG5xwiN93yCzNjxwGOl/I7Qc6J6YHuySPFTNSbwig3m49vY9YYqLdfrtMbvUrlfQYF0DmfrCY5UIhLLOdf6+KxmzqxJM1948PL5nB1eH4ftgkjhH2J+A6VWtJ09WZ/1uw+fjY86kCgW7+ngt8U2qy4pSYkKRPWsmgwmVaK7K5m+iXthrETTFclgbuc74RqXkVwfGr2gcdP7wUCVWak026WYlfaUqM4wuVZYNru8QWiSqxjYBtBVhgW8TgiVXW3TtV3V+XKb90VIvjg09fZuofM3QWNo9Np64KdP7A3SMV12p7OwLm1K89Q0sZHLU3yKHWkcue227ScGN8qDl5E5Na/u8np+s0QoGVowJ79+6FIqg+vH5cOah0NKuOiNBsXbcdGTUP5o9EDmvKUBBdcR+cHWt4Vu0mJJCzzIswryhEnR1pho+0DEwv17vva197aTcRv/Sy8oQ4IKrXFZhiJBmXC03B5DtqQaSvX60tggcUL6ksjBtMIyRG6unLbesA1N8/c/nSAOii3Tx5QaAkWJ6erHm6JUqq4pFDWZ3BgV1mJYtY8F37sBRrSYljk1YLJiOtvJKTRmx6jzDfgawvZtqQPjpCMrDNMcPskPJYdYpfOqFFmXLWf20ReNiCmqUlxRTBUesQCyi0bcv4P0UbjNvKsKTV4QaO70MCPxQcX5GfV1HpXkcrCBU8qcWGdNMDSvCjQ5NQSvrj74BitWURb8YmNG9g9qzhXV1/Hg/+15F9tFfUQf9PcTLoJsMLqMlxqivWkIeipxvQfelmpt5bsIV01cDBFTQ7gBH8p+iDtHnAPVHNftxok+AoJXvWpsb0ypMQjhLhbsQhoa/iD+qG6HgFfyMlYZU5azeUO7Y4o7l99gMJTnikyNPOxUIPCS+s5xSn59G3BotmzJtjeOKV1eS65N21bKUGX4uqdMeS1eeGnG8e46ZlmWpDRjH8/hEDZyHRuWxZaXaXnoLsdbvzunBWPadiRm3RmvAv5YYoCY4dPZSYr73p2MlKgHiAF1nC1tLJ48NixH6j9QSh9edKKPH6Emk9NpteZu17ZiBqC5LXUanS4nAcsbnXDjHfboEVaQPXP1ZfQRX/xMa45OTPbyBU+euB+7n8wi3yScUSd8gwPiXvxfwXd3zRjErrVGT92Hj2WVKUcFZWcMt+jOBxYIx4gSiU7jViQPyQ9M9Y2fVtI0NJ7IRsxhScpRKxjZDFtgRlBWTkSmqp2SqbSFK+0KC91GtxauMqlSwzde+UK1UE1ZDd8nBKTSdHh5/SzPSVEO2aINf+Kq9usJSHN1fT3BXOMVL00sbMuhNN8Z4ZU+Vvbff88hRCDnn37Y/Hv+780PT/NdivkSxTmFZL6iL6L7PXlL/ZYqdgbM8X0ynfScTCv7QPLiXYQsSXZOmgxW15o1DJk+a3lnS8+UkqLVBwyEzyO5PP3sHykpE8uoFEmgPrtjyoYN1vHb9NfKqFWnXB9bW8dW8JlSaXWpmF7JW7+hch3rtwde7+7eHbWa+s8xw19TXzFGKsV49cnN4974+Hb2Rc5m0mbLs5HLZoYqU0wqZ9UyMv0ANnLLW5147X18mDyF3jBn1jeQSnHNJf6vSx/5nuNmGY3tsxtmITf3hZ6IWd0w93LDTPOcueCb1DNhTHBhUFNTUGHwGLdAg33ywqAxwe4M3fK42vLYkpiYktjy1w58aUlMuf41EOWnD9L3wliNB338rP39SNKhdy3LwXBeX1BQY+P0TItunJekCxmDen5foCUwL1ABCsuODszwdjhabkJNLQ7HOhtEJ07gcid6LkQnLCCXK8g03jBt2smT7YuXJCQAyZ8jDQKz0oHytDwqr6V1+PDnPWe71pOWMhj2/DmPu7TbJwdponc5ccWeJT7abne3YhKrZS7bUSlMbXmpHanKTF93hh78vOAvu9qb7ln42rz65bWvnTq6YEeJfgT0fjGbpcWScQRDWbWqWHrGEoC1FpryriRzhFkhcFdtrTAG91rovP75vUTvtscp1+fO5xN8+HBWloTpolOjlT6WJWNaHWaTnqFB3CeWBPpdr+fvtafMtKWcvUBcOGczzbSb9s2XEqEmK/3srrqaeXnui8aLZxtAm7J3niQu1G61eeXtIFroYPPYJ5KXHSSWBPP/pRvz2d3A9meDRPNaE3fcec7Je1JdTe7auWsXCZe55eXXMjKZ6IKxra0fXadWRXm6r1utccX8pvOv6kuKpvS0dH5nUjF4k+Hw4fXrp3Rk6wMlFOrEspSUP86mv3E9KPn9d/aTJ8lYfW7uO68Hv7HWVa7fwKuki0urq6oA142XpT/9NJ+YX56kulNgFAC+jnT/OI+YBzvJPwA6j+xdIV39/c9CnqFgF/VQ8NOHjwIcx0L0+3XMaOszjzWPu4O7+/u7/XGeWbdQux45RaVcQHsLgONocLyqeNuNyGOd/HxFUW7Rm7TmxPdjjGMmGScdgNofIpIyJCd53pLI303JfMXIkWBfqvxhMa8wXLVixpGiYrPZp+VtcojvlOn+CUmmlOzs+VO8uNBttSI3hRKAuYOB/6vUL3Cs2DHPBLyZCgAAaAcm3HZ1YE9cYCh2OAYsQRocZKYe7DkAwve0OeqwMhIiMM4CdB1G3RYyx1rRDr8cwOBVTMdeam7SGHMVyTLGtR/TBzFAMzAieGCfCPR1DhYpsQLzFp0p4+WeacNfMY0JvCkqNIVDqfbFFmC1jqnYbMSGYLbI7MxW7I+KrrsSf9AOFLqmYVMt2azOpaLaWMIhl4ptc2YneOdocbPI0Z390R2YDy8nsRFrwhlNNP3v8O5gT3GZdTzX8JHBwnoAkFH4n5fnebC/yJfA8RLgVzmEXAjA8Ak9g7qmf7GYfhtExeu4Q1ZghvXi+0NCzw95pHOFbf/+YIaDML3FAINALk/ocHmEg01kFOg3LBAsEgXgTwn2HU4FFoQNp4EHDCPMDDERWmaBAKYBBggFBwQkMM8ZjgIHNhPsKXgfoUDw5eFUEMMDQoPgl8OZkI9QvhsLgpFRs3H4is6+oh9x+qZh9hjJ1dy3+U8xOeH2af3Iur8vYoqoZNvNvk3L8Kzat32Uqf0UtjvyXtoQ5YeMrkfV8PLw0Hs+r41MKxy+orOv6MdnAPmbbuTZu9sWOdbJk//ThiT40ITbp/Ujp/8Xz9yjo5KVN/uDnJYn+VlDuW93apQp4j+1Ik7iQyKPfMhWf8h4jvUooYaXh3BLPa9jbbSw85zHzarWipq+AjkUUEIFNTRw9FOk4xTO/qD4l17ygijJiqrphmnZjuv5t/vj+QrCKE7SLC/Kqm7arh/GaV7WbT9OnGAwSRabw+XxBUKRWCKVyRVKlUvXYlmMwxBpQHXCFcYo25RjMgXu3SVaeuqpDLIhX5oRo15aUTK/G9l15/lk74k2HFtSipNjVLpmpc7MpT014iV2waXCY/0y5onTsRHWiEbJFkbCvjRRUspNWnIza1G1XNLOx82QAmon9tOQhrrkMY15pFS98xfEZTcUkxZDdKEcosyhyDXQwlOvlXdcsa+1F7SOh2bCnZvcgYqJeG6ulMXqYWE6YdEOvZctpDIIWymHlctUF9HLKPpupNvMqsKd9P0F0RCX0Q2jFgkXOk6ThmKdlS03MTSGaJNPcK2RqJWczczGUUXwcyoZYHCNWdAISptEqganpNO24rvekauZO1Disx3FZLuNVJ46HWNalXBsRlqiQfPmcBqj67A8oTZJOgPGZOG4DTu3Q2sLsk4BYYAIBAoOBBi2kMCABQ8j/MIGdtBNMEOAPSzQw2EF);
font-weight: normal;
font-style: normal;
}
`,document.head.appendChild(e)}}(),function(){if(typeof document<"u"){var e=document.createElement("style");e.setAttribute("data-ag-scope","legacy"),e.textContent=`@font-face {
font-family: "agGridClassic";
src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABggAAsAAAAANFQAABfOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHItkBmAAjSYKvHCxdgE2AiQDgmwLgTgABCAFhFIHhkgbXy1VRoWNA0AeO1Mi+/9LAjeGqDWN+kVALVojjqZTSCyfeAMnfSI7weG177KhblZ5djMmYYI1InxViwy2uYX7nP35bOdCi82GUhJB9/LOvd9qASxpvQKHNPqFA1gptkDx+eb+805mkkzwE3JeZgL0gBeozLq6pwpQqArds6pkVGWF6aoGwPC0zX9wn2njcZS6ApHTNYKxRhyhhHGEFYhuumDaW7v/h26uAgx081RcJSwyZJ0s5BeRG/tjqsWMCsbGQv/rzB3542++n0BnJ9BZZXsqGrkmvWXq/ITf8GttJ1qjMxGgA+wWPAN14tqfmh+ut9nDYqeMWeueX3YMMkeCJZ4QvhIBP819afOvgDjF17IwLNGpySSbzcyb/N8sz87P7uU4y2mOiwSKfjZH/3KUApKrO1RlYyorNGjVCiMLNtY6zL8D0CzzYcz1PfXGxvXJijMOEVGIiPzmrfFmFNBs1zVlT6Z1uM+ffPQOxjHk2gXWk5fnr7/6BPyiGROsX/DPoO4LuOZ94Ku/DskPrig5fcMUds2+GadUDyrbon3XQoSllBbzCSUeKRCKKDT+YvehWEJNZoREOgh6laYoZXK9/capsmkNTWMYXxDnUdy62Jpenkzz8WsqGiQ5SFQT6qQ3dF2PMDuyQRUoKUjrV5nNHmJoEWoSuVXZhUFcVZMnsjk/M0BVlRJyd9gQvdIwqobM78nQffv6/dAv1ASKSUnw1Vn0zrt3WBLJVC6UDNC9xeDlh5qEyB4mkCr7gc9eZC+yhKQaT664Upw9jxGqpAXM3TxB41p2qeolnwzp1RWw5l3bF9fcYvIw03btyPbt4uaEDmkXXyQbmk5wB1E611uS2Axv0Tahz6Kqz/yw/yP/MDI9nl5YTNJJMSkn8zVYlSbDCsK9B14Rqvrtuk39kqVGJeU8diHD9UqchnCjGw62R9y5I1/0WmyhV/t9NU3f9wu+U65uqMtXvBHOr3Aauhwfnvc11/Gjdpi1fUk+T+qxCZlLpuwjNzTZ9EFVQkvRc/n4Qk6nKiwJpJ5JtJtEwsXDc93SO9F62/rQaZFUaHr1jxedSCvb1izGNG7Vvunh7AkVRUqmwCrbe97EJNbSpAavM6n0tN2xcfwZnKcqCF2yS5jDVU9RKx2XhNcYyVo6mqIs0olZnWytKW7PIx/gIrkF/AxeFKB6EUrRpOu1yTs//mNv+cQ5R4CRNNZGgz0z3LvugslnnN6mVXwSYnsuYXYES1RHtbBiH7Y16EMsIP2JZXT4JDdt061WLx+/WPOhzoz4z+HgqBb0dfYTLm8eRRneZCqTq4f+xXSw6m/ydeqg+qocCt/osi8/sVUUoKLWgLyk0w/FS3ietQjfgKu1Ipiz/inw4vpBHagBq6AWqnXx6LIIWvWuokzeB8P8D2jFKZgtr3vPFxFlzRNv+iCEcYgq7DQ5adkxeAIrrmmhM+F0oOwmRr63vcEbeKGxqpYuQkFpdJzBnJ7fHYerR68+/QYMGjJsxKgx4yZMmjJtxqw58xYsWrJsxao16zZs2rJtx6698g/GfVsOUP0OHTl24tQZRnXuwqUr127cuoNSD3IEn/N//s6ZNBOdUhGgfLIehU34x2SjHVdbXSwO1ArUfkb/TbCWk3PgDtkBd8kZcI8cB/fJCfCAHAAPyRXwiOyCx+QUeEIOgWfkNHhOToIX5Dx4SY6AV+QweE0ugrdkD7wjx8B7chB8IBfAR3IZfCJHwWdyFnwhl8DXna9CQIFKCAIkDAESAVAPQYEGCAY0QnCgCUIAzRASaIFQQCvkArRBrkA75AZ0QO5AJ+QBdEGeQDeEBnogDNALYYE+CAf0Q3hgACIAgxARGIJIwDBEBkYgCjAKUYExiAaMQ3RgAmIAkxATmIJYwDTEBmYgDjALcYE5iAfMQ3xgARIAi5AQWIJEwDIkBlYgCbAKSYE1SAasQ3JgA1IAm5AS2IJUlljWILYhlj7ZQKCyBVAD6aywyR6CSA4QIEcIkBMEyBkC5AIBcgVQC9mAOsguqMgDAuQJAfINAfIDAfILAfIHAfIPDqNxrczZ57umcaD1AEhL1UqblbSka0L9kGG/cLCKE9rLEIxh3EhhUyMka8ZDpsr4DEjOWXlOknoUvYyKKTlcxpy1ZEbNU8YuZwOm2d9PR9qDvUw0uR5Rb9IoY13VtTnT7D5qbpxOrTgGN1Z8U7zb8VFrcMTVLqkxgtNRTDOOTka5Hql3V1PX3LHeHs6dQVf/dWhjQ0SO4RqU7Edni4u9NjOiEcMV58xsyyHm82SO+aTxWdEbMIwnYVLWNhg1Uba/b7qNKReMcs38t5EwtI2YbqxPzYXfYWuC8gzY7o0LT0LtJKhdFen79fyL9RPtzUiev67Si0+RarvuNjc6tcZLHx29i51Lt0rAgUI/oYTDuHtjD5Kt1guofmKP3H0dQO8lbgc3DQEwafUeYicCGArreeZvbh0ucOqpyCmKlaHbljma8xoFHmzpHMuzhSYc7NzDbc9h2t2xknIMYbDidH1W3b2IJzmX7pHp7p0LKCPP396QVa0lb9d4Z3tKtIxoME4Q9NGy3eAc0Oq8Fsv6tKT3SvezZne6x8Dm5WtcWf6HlSb6BGNerjVnN5IP3EfYeav22jgy8Mz8vProme5waIkgQIAxyBzWEs3AoJvM0Mw+nCHBC63BitByiVtlYQc8LYyo+2iyfKD4aTzCQ4DXTTFZJV8lZHBMVlotUI2oVtuCnZ37ThH3xB4kPRUUahGo/Uhubiv98TB0fSZ3Hwf1UiBjMkG16h+aoYVGtNfZ15Gut6utoqCmWij0ZjJM3m9XBRNhESvHfYly1PPEUVDghUIX01YXloOtnSP5+UPOM0lkHKs0xc73nLYPIOZ5Ot0ucT8cVcd3yz0n3FP7nL0nF6n7/vv5OQ8t1h9uiQ7nrEkkI1jJTV9ww6Z1msRtz2WiuEOmvTEkX6HMN7pzl2oc13Q9eFARdg4+C9OQv7+8RZIGr+F8/AejbxXLx8THGNQHlz/gvVfT9LmYJoLa4t+Yp/zufxd5V0z49I9Fr0WfbYs/sVv5MY0bY95lGKc9EU2YB4o+Nx5gDLEf/8JO/XzsZ3tmSeMYoyDPWgN9ORf/USYIgvzClNe5JmBiE2wiAwMCZFZlg64+CfrnAyJ6XBqrtRR0skzw/xm1nJcxzHS09jpL4n/ofcvd1N5P0f1fhG49v/1dv5J7pRUnD5Lu66LTTV8LIoy3vP512MzXX7Ue8pQqvKCYJf+2XyR+s/h15ymngINClMqad68zfuUVr5I/8Kxfd4vikejydK1glCBglCOYERVgcr4CYzJABOZA0Wmg1ioq/hT/UkvQfxkQNpqB8zOvmCLoV/Q/YVHxnafR2g8Ncy9q424Us10WZiVpfDBR+UM5onsXH111hyXETYbtYocf/I7f5SmoQz43JFnyrU0y2UkEEwaH4sfUzLWgMaAchA7YNCtYg+FMkUlguMiYV6wv959g/xQQ5P/h4t8cGc6i6fjEY42LZlsZhNI4dIEOqtRl5lqJlVDO2E4gM9hMrA6shFLpnaIvwU2StVxMlLjIYlvL6qBNQF8f8bm5t+rqZHh6ybIy9kSp35qwV+2xpWSx4ekou9SXuaOoKc/qzq3Jjuvz3eKxoagnRc6tTI8nsz7M+q9Dp7AhULkvNq7hu/YJciJkgyy25owudV9frpop2ycUpLNNneRZYrpt2QIDtsXgWmW5qHVnd54yt6U8Z6jI6RDbbYdCtVQUJL9TeoTT1fgS1OufnskOZ8xJo/xrRr+yDpqBkm4HYydaeOIK13mV6stkbzMsCpNX/+JHPKhh3Lx1aedjPUhe+PTUlIvQGYZdx0/v3rbnzIkXkXgZtPpVRARlg52+Wukv5alC69DZGDYnYsh0p2NYUhPhkbbtizGSrS5zih6uVmVl3kPN+Ml16h2N+gOB3tRSz/Zttq9VbH2RN5/ApQyTiY60N+fooSrbATOV1ZaieMJfWTdJvmAkjq/tvrllTgvqJwTqs/Ux7IiLcwxtyVebpPRTYXEWhk4wSM1Aebl/GDvl558qrLzK9oWdi25Xpi0C/UMGe6lUEvFZcgKxOFEFQYmJzBoSiUuMFrEEoUpFJErZSBWrEolg08wtW/QFeYTWp9zTQ28D/JWfwy8CsDSPYMR8g7asT7rrZ4Xx/jcGK+BdmjBokoeciL4Pu/A96JpdUPMgMZw1+H2HMSUoZZF/v7A5pQU5zqxhDZAmJVza3Z9GPhUCjRIbYi7XhDdNVQyfyDpHI79qQmIFY8hLnpORA0FjvUPOfbVfs/fSm/J6tzVbLE60h3vZ4QCmoGo6p92hP/f1wlXR6skfppN3hTtgcgLVrOzr9Ea3ZNevcuN5IoO92EHcT04I29IVeM1xzGEsllE/DBamswXTwMmQPxarXiqdXal5+4YX/tT9aeCjUCzZvXvXbomkoH118a7Vd4mL7AZRVuJH1kom+yubuZL1kb3Ss6rruZKIrPsSUAl/hqsCvsBFtIZBp8BCMEUHhnOSVrVVDaI2vW14Tnbr81K3+QUpPgj/+HmaL+xa/LQlHk0ekiffVLgqrg3eHbdazfn5ROL4cWd5LWfPnN0+fsuWxneaQDYQA3ag+n0jsPZ1qjpF+e46FLgKF7V2KGsKRO3uQzHZnzpG9s7jp9461F9g8Y85FTfQfoNA3omndMSB2Yy7XHjekdKnVAduxXJpYm7wfTIMV1TA8FkhEHXjdVFhxfQFk3YS0CKUhxrQqPjfVWzafS34eWV1PeGWZ5gw4AFhuvWO77IBN6gBRTx36yQa+1QFhDDGcileLX4148r5ZMbuiMH2wsE6XeBc/+Yd/oFMGn2A/wUXxafRv7Z4xntfWEvxtzJ+RLWDEdRndMrsP6porX6Tx6ieDqT4eaV3iej0zWcoTWMbh9jDHcwhgFbjU6nwJjEFN5nT1pMPZDEjLo/w9G6lGMFW38i5R6LuYlduxgrD+RpehMbg62siDLPnafgThHnVWWVoxmB+3TXoNWh4fO4AqzzofFOk5XzkQUtk00GIgFYlVqniGKlobIJboG0OBUfA5mp/q29Pj16flwuts8Yvf47cOJtanTClsTSBPpEMs3+NTZuY1nJdfcqTPNIXVihLseojayiNTCozUjdXWxO5mORJHkymHEE/qEYF7sIBBfGPznkq+guqTZ6RoFu4tLTotiBOGPHrwfC59xMIuZj3hM0Vl+cGvWRrMqLH6tbE8fjSUXFL8pW0FEaS96DM4DSvXE8N/1bjU1582p/l8ruGxFHirBt07SOv9jGYHQw6SfuLWJvS7etcMEabLMLislkFIXmkyaSs6NtLn/ISUutmJsxXT+++/DZN1GVF5UUXkaaTcqI0vPiCG3TNY8/94vQiflVxpCRrYzzRt/8QbxXQSbzTOAllOu1OQOKXiJSKtg7cDdS4Gkz46MJcZMeJ4/hVfWRzgF/F2/o6iqvge+smtybTgiCkBMdUblWnnZ24surBlG6lmnZYpeqapvUjjuFtuDoPMfx7SvEo4O8+zIUNHSts7erS6w+4m1cFurvHdII5c0yIEklAN1TV1ZmWcUSOKBCjseDyjY9caZJKNwQO8qMSGDxNvQ2RwjKxDJFRbAvr7LCUIrWZZgQAeLGpKnltDkyhmBSOi5jq6qrQDau5m2AVYV1y1YYqOOAcwOttFEy9sM4mo8gQMRw5Ulu9hscgUP0GBW6QSu1g/Q8FkkMbNlRU2A28h99b9q+XNuTlZWfNDLpIlOOPJBIn2Wypslh6Z0seP5aApo9aCEYnuWeiIQKWEhfhxVXxWaNvg0UkZ+3/LZYis4W/SvLokeSL3Eq/Bkjn+X1z847iyZxLqOg+V+3VHMGguHeGDDQttL4+NA3NvOR0TlvfkBaawb2YyeUYDQZ3BNeoX9RMdKtLJksT0mPpUmNuTHZUVFZMnlF6Hm/6WpksXkgX3ayfFRW9KLlGGSOWLlwLOGVMt8VscWP46MBwVdR0ucDHj9kxO4rdKX247nVHYrIx185us/IzPi9lnrQTEwBMIh3odPRr7EXbDNJncxw96qgW+1DpVclAXDIXNoClbpuurVOY6ThhwshcJcNxuFTfhRaqXRqZ+ywmb9KXnvLZ7kyIznsWndt4Vu0s9VigVxvVjdyV88rPfFd9FpM7xFSm1kmimTNFJqezYqoGwEKJrXvSrN/VFZ3KW+DiyDgYhw3YsjzOUQSXlJivEte8FmG1GuBms0IJFN+VCjOg3oy9KQrginJOSjAm//qIEQJBRfmRIwcOXD8iwCVm3AySrxgQg1b7H+hrtdtDpUJL/YyGTR4l08hKbntXEFILWVsLurmNoygayoWy6bSNWpQKTR5yRtU4LS2ksOp8HE6uM/J5dkn3Wmjv5CBCxNX/919mbR4vVw/WfkcNqrTMW656NwkCNo1DDUo0P816LnoB/Fh94od+OGJH7Qje76NeFfvcFSyP48o8wsPh/+hVwpezReEL9ap/51BtaA8V0OpK/GC/HYFBpfk5noL9HjHvAsXPCfxYfoAZ8Sli/HbjPiP8oKLC0d7W3u4A32MQB3K9CW78Ku1DNdsLX4qPoEiJjsdufRdC6ZMu3H+ZaqPGh04j6z1aZPVZ/2UeN/Hw9VA0dBqI56xp8w7KsM/4Z/4z/gTiQM6tBZOz/qR0ljaEPGmgmGwH9147dwJdu0IrJjiFXO7r22M0MwuNSO5lOsLQdnere3bVz1OzN8kMRn0H0uE9zWVUvH4v2jv0MsnGfXj33njUXhSM+rZ66zpJvc0r7+sSzmvQm7SRdPlelVZAjljRiDQnF8ijA2o5tfAWezIciPfvvya0Bi4xzj/avl9ya+YRGjgNhHlTkB60hzil3LCM8hqq/U2naHTsYoU3C65JaUsa6GmpFRXPvflyXzlfJuPv8d3DP1VdDXL+J2s/H20UVEI30kJLNzkDPRgRdiyfeBoB6OsN9BZ7mrEa0rtrZcF7y3NFZsGdo+MB0NU06AOCVujhkOcw4ZS6grNQNPUYOkeUNvGPLRa8o7yDHp1ghbT/v+AW9b2+xaeMT4ttpVElHgzdBKB43jvd5yix/TRlHZlTYqNWSFsuUWkmWiAtrjvU4Y0Vh6TsuWW2uhxsuiaRO5oUyBa7ZrOiSotNdoi8AbzqIMifvRSxjW6DFRqIAyJ9D7qDgAnR/6AVRmFzPvliYgHj/uNN/4Vy1Xj+m4xOaZfX+NNDZwEZVpoC48dp/dzf8CMKE/+NctPKfxKdf32Cxdvyl5/NrfDw5nQc/CdBp9+joHCkIyo6Y5/zmsobRKl2lTlSx7JN6jnOSLMNcv4tBryPIrUGiHFfLojC9QunvFV+5Qyr/E5Uw/7hGlZ5QUzNEvD7W5bL6Y12X+ztW9ApefMNLgfN9VNvLOl/4OQJi+fqKfoqvgCBtYAt6luROvci0hQNU1t8EgqEQEVk+gEj1Vkkvj4+NotClaH2Qbsv9vYtPPCUZnnzDS7XLyjLnEGu+g/nbL28EhbP1ZNs6QtRXmmJuIWqb6VK3Z16kVQ1RR4xtRV+6mWSPKScbjHyox8wsa7OClF8fUzPq5HVldHi/AR5aDRAfr+iDNOyXe6vIDc/Hv/Nr49mWI4XRElWVE03TMt2XM8PwihO0iwvyqp+NW3XD+M0L+u2H6c7nhKfIAVCkVgilckVyiqqauoamlraOrruuR9btHaOwWnxhCPNTJfU18kMdLFIQ20hmZHRaCAMzVmzbHoSzG9N13LZDfb0aCEeLQhw61EL7La1ZpSadmEoEJfRb6zB4/cjt5hmhlBYGwE7MBRvQ8OUUt+krm+yDIZWQ7gm7qT8qLWn2incoExBp3O/CkeNDz26w1mPkwwc+zh0TDkOnkyRQYBGRsHjwEXHgbT16CatvvrW32HQAuaJpTZTFOEqAySEOZKUOgS6gB1GDQWhHz0Oo+9IJpGh85TThjtaOlTWWYSwpKZZP6qHQ/buLIOkO5il9q6/tHTBFTNJzmE1kZMb02Iue+Y+dsIAnqxOMjoQG8SQ03BLZ04T200jTUUFIk61pIU/sQygGmXczz4u85kh2LImEWpnTCgUZwHxO7azK8fFipnXeMfuyktYd3Lm58+31NYOwHpRWjnFCpQor0ihuqikjLIqqLP6VbW6qrJVWUV1U51q1P0hAAA=);
font-weight: normal;
font-style: normal;
}
`,document.head.appendChild(e)}}(),function(){if(typeof document<"u"){var e=document.createElement("style");e.setAttribute("data-ag-scope","legacy"),e.textContent=`@font-face {
font-family: "agGridMaterial";
src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABZQAAsAAAAAL8gAABX+AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHItkBmAAjSYKs2CqQQE2AiQDgmgLgTYABCAFhF4HhkIbrClVBDYOAAp8YUL2/9cEKSNmyMulLaJuYkm1oqKy9FiOakGnfexb/SBrV3TNoHbYatUmH9MLTy4P+YJwCS85tzc52B+FmWjKRO1GOISDbcYzN+5PGP6zy1BKImIs3ScKAKnECAAsIAldJTq+2pzPqzO/LTlRwkcItiVbxjtToIC0DH2dcO40dB6OALjc/Vgiz08PthpCAU1sU4QJRXka4Jh/8NvqAUZToogJ3wysplzR9eRjNbp7BrAR4VaChc7xjWtvEzbLypO9KLbw7uCCywBogACCg5Dp1mt/g4HBaeIRGAUS6xDKbUBvE6tRaQDTd6bgnIO0PGbJEn7t+N613sxBYWZzW2LHz1d9EPYgk/nEKz4XaAuJzdrjMgoDlvj+4JymNrVjuLoiEOoS0AFhahs7hsCJYH9qfrNT2+xhwSljtvxS6iSD4EiwxBPCVyKAwK15j9dTUGxQDiZB/Z/Osj3dBZAmOAkXFZbYVTMjGf6f0dryojwrYyU7zltFIdlBBsORjh1AKirgLi9tqp6LJmV7L0VTxa1lxO0vmNqj+c9Y04ddB1rNqMiQ0EiZfc2x63o5CqBp3Sl1fPkpqsv3wysMovhFC7A/aGH5Pb4LNhxENSsUsA8gOahq0jvf3233t1GH+Zcat/u5B82QpmzaplOSosSI+jNxBp1gsUmqHDPYos3h0sI+zuWVInWhCZIIs3qnQZppp1RmAGWywtkRzCLXnDqdb7k1dikliFL8mK0VXdp5NW1vaYHGYggJ5xcd792joIGLuQKneoe6MZGMTro8e18XTcTDBc7RMupCL1JMUtpd6cZGdtLQ4GJWwbDAmRJZ6oNiRckg7AnY3BKKGwqq2dsynLSGsnguaIDxYe8pJTYhpgsKTnF6V1BcRJhE6/vMuJyqWcdiD3yyoiQpIGNyLSouvKSokr61i0rLs68a4FqEVSwIpzK7WA2lqF3d4Fps336buA7TYl/8Pd+8jgZld3pqLhOmrDjW3mmFXiFev1t/yRbRdvFFnYZGmvEUd5/zMXWDo9GufKoimx3upJKKekmZTWrDFMuob3CmPaVOJeYZvYPDMY7GVpLCkz9RJmnUFcXUdgSTznP3ON+RoumdpzJl+VJdVy6Sep1buUCeJnTEE2petDmXqwrsgW6oe1q9qQPxi7Aqp66zu2iXJyxXe1FFg+ZtGi3P8ihfMoxACIs8e8iLtTBswW55lR61TmHrGEYXsdou3MZNYEWPlDJ2DG6nHVkL2z4qmHaN2xR7j2Du3JiRAgdgH7ZsoTiJUGXy6pYZQesdL3xyoKKR0ljGncF6Ybhp4lBRLRQy835p0r+ExU+5pmHVVHOz7smmBb2FtkjDNYOUH2ZGLTuzagfdV8YUal8ffUmF7LciTZsNRZX+MipF+4Y9vkDS9k+nhYZXfkigePAFf5Nvv3BXVEGFIi3Cn8HJC/EA/4VF5C9wpzx8oT8Knt4QqIASWAZlKNb6aqFCRH0ZUVS9NdQVoI1RUSueeuNbxJxW3PXcuyhSkrsF5Sg8bNYuECEv66a5VkfRlot6Skm9RQakeKqOSEObQkXk5DEFRf/8HWNFVU1dh05duvXo1affgEFDho0YNWbchIpJU6bNmNVtzrwFi5YsW7FqTcW6DZuITlu27di1Zx+lOXDoyLETp86cQyHF9+Az/+evnng+bxmhhYvDRNoZzD2RNp2o0UawkzZQ3qnxAKysyBl4TFbBE3ICnpJ98IwcgOdkA7wgN+AlWQOvyBF4TbbAW3IM3pFD8J6cgw9kB3wk2+ATuQRfyDr4SvbAN7IJvpML8INcg59kF/wip+A3uQJ/NrmFgChREBAUDASFgFKFoJQaBKPUITilASEoTQhJaUEoShtCUzoQhtIFYSndkBOlB3Km9EIulD4IR+mH8JQBiEAZhIiUIYhEGYbIlBGIQhmFqJQxiEYZh+iUCYhBmYSYlCmIRZmG2JQZiEOZhbiUDsQj5iDEPIRYgBCLEGIJYtZV+UChCoCgQiCoCAgqBoJKgKBSIKgMCCoHgipA6UBKlFYVEFQNBNWAUoK0ZrupDshM9UBQAxDUCAQ1AUHNQFALKGXISqlANlRc7UBQBxDUCwjqDQT1AYL6AkH9AFDFnc1s/vNP7USzwb3CW9sASsFaIumPAwL1GHgT87qmFbI1g87EzNpYKjGUo5CEHSWyCsi8OcjaJ5XXbwm+JPNDi4MjkjIMk7FEA/mYxuuC7QPtqfChA1vOZ0PEciax399Cn5HjZPAVsGg6oBQiQZzzPJHEcTLBoS+FPLOEInFcFq6weQcKGqINdABr4EeO4+af4EwqdxpAyBcqgAbx7BfzPk76PMXqRQKyhgyCYaBVq1CRsqiQBUcrkqM81xbS7PHyMHaPYMgEkNebVR5VX6dR4O48hNmrI9ShWZwPS6Gc6/SVUcFfP8+hRYOjZMjibPa4Cm6AONTj66to5QFifpgyLpxbhgiU6w0UPIM40coquRElOypr6jKT1HK2hSlSmF11TGWbMb6v5MUq7Oz+3W11N31USkPdP63gxP9XyIo3VvBFvZmOl62piq2xVMwk5TB/swUUUphuC082YJPbfBS3Z8+3cZv91tPMgnDCykfYVoI43bRt8/AFji+UeW5+RJjrimf0V+Am8JTgC7vBkwQ4zgxjgMG+KIKpBIZh5Ga7WGZTkTQKHwBU1Lwtu09RF+9V9F9tUVGnVWMNolyzabOht2dqYFAj/sAnEC5t1txWduxpfMYFCIEhx0KhmODT68didrgK3FnZp+oOwbABXBfFXN+6gL31buUABldzziUvGPRSOVH1ZGhNWufQWRrM5TeVMgGNxXtdaI3BYCNLSw2Fg14Edpm6R+/7VHbPnks4wfkKVmAu+C43XeSpC2fSOT5FJy1baGyjOV29hRcX7u4rZW42T+BBh2zsGrxOmOCR3id5zNny/MgRW63o7ryYUS3L3sfDnQ0AF2i4UeV8Rs51QjYRGJjgp6uGtDfn4p2rPwwPBXaDsvr///ndT639aMd2wYAd12F40+Hty98KxfzD0NDr2Q3htoYGSHBftYt31fg/87/HAL1BdijUG+Pn/rOZXzf9MxIOVtDqIT5el9aO2glwQcWwpiE6a+XKL2SBcpiWVLwUQ+msdhsPEBMVgWSPmw9yvFs0A1n028/iZCPnrDbuHEl1br5m9ai/fqfsUPj5cTO/wn27YsvuLCrHapfuzguyJ/f/72f/LgobUsjGKgRj5aLxwkBDJGDRqDRWJXEBYbV5FYNoFeUhyjvL08fsP7k5v5slZb/Vcx/+OsNfTfL+F/zPclO805bDBuywi8QOjDy/XyIzifeWiqQ0UGIGZHT+xCm04k6kIqfSUnjaOo/XFuNbAAVC4sdQURLl9Ey50melH6zcNNtXLQ8IL+z4BCSRaUOI6iWXYs77uUvBTbOHmetm5dQiYdaNOf1svo5pmSOlTSVJc6XumHhsbn5K3G9f4zwtslw0nIg1K+6dblKdvLF48Yk6JBebJaL+00WVrxsweDCDTGf40z/VfgHw2+9u7gPHldqF9JeToi/6Lb0w3alQ4fPGOZHK+MYjmA1f0hSeQOMNW3ceH5wBlsrD/RwFO02dHByhI97cZmYOZ0+IjNp8RkGhxXiTZHmH+Zw3oANXjvoajQulyYIuTttBNgNJIEC5Z5EYATzrb8XYjuJSPRB8Oa/n/WrRqvirEtsMCfD0+fohY0i5u+U+OVugokl8dHCyklg9PXQqebkWd0hZJGlupC6rHIVx95LiyKrcvhT25/Hripv3vGLhnLR26XxDL5kpjLzJ5FtY6e8q0Je5yh80b+p7rLWp0REivyrxYgmrGH8z4hlyWBImrbs0qjDcQPPGAv4ei6klo2kYgSQC/YqRbAo5JYeS6pyBi9XDyvXbKs4tnqoUXvh3mSaRk1mbS0zbfcfHIr6g2oFJpXf5iDR+m5fyCjf8cASLS39uADMq9fq/0b9/0g8JhRBzajnoOcBNs3anKidpx8384d/Xyxd+dWWSXpdmMDjWufiAN4HPjIxxDXvz4sogps8btbyQUbjPXy7R9pb6al1laDtBXBjEH/SgER8ghEhuY8LI5qDOVmFYOvMJjfhjJzWTnUQ88h2Reo2RbIc8+UUzrlly6axd+qSro0MX8KH/iFYLhxiiSafRNjz55dmYbon33jblDgRpycQVztXqPeFy7C/e8B/r5E/xrqxgQ65VLi5wLZPbuHafA5nMSYe7iAKLh9xpcB+xCBZ7YTye0rVB+/dOzldnAt7Z5+Q1CVVxcVUJNd+SdbYq7j35b8cMY4pzZwWK1cA58RphbNV2xfZX/HWCdXrz+r/WQ/wZvZ1X2KSXnddkmFfw3WEidjRaXt7jR2p1Xr7ePxoSKgtVZzfbxSVFqqTa9vD6rkqlrKvD41NTHqvr40ePP0396KNjr8VurJ+DD+GGvjkGmBJjzqxYG+oBdOuYzZA9wugBFZsAZ94pb95S/0qzGUIIt0wIsPgo37St8DkLED4LWEkci48AU/mc/xyi9uiG9Pyo674gbvKnJsl66W7O57iApoCogMaAuNV/JvfQF+Pu323YdBg3bROYQVrESVWzDsc9J51JTVF/9XBorAfrCVTXZH+Kbbfj5pR1MUTXL6J9NBKf4mK3HU5dnzm50Wkunk7PTBT7Y05bVsneOJCLKE4q19/i+iDc+VsXyjaLjbQex9VJ+d94URxtywayXFw+eETpTD4WrAnS0oOBttl+g9DOks6eorddIF6rpEePhNvY9VDkEGp01GoMi4veCYFWCodo4zuvGJyYEfoGEV9sd82d6XYq+5Rttu1JFqM9h+sjDNbhz8o+6cZiXMvJWVys8gY22eRPx8ut+MAmH5dsWvH+sZYVLulEMuuP5NL00u4J9IENMcKBLMxrEW26dZZyjO5Mjy3eUbQ59qClDdGHSIFjw83EgjfYRwhnSA1L2awA5oBEKCyJbirge3G9Vre681rQWlmekLMnuwmnyM/myGyZcTuyJSMcVoDvfzxulpvAyHj/OfhVF6SXle+J2XfweaBP7DEw/ngBJlb7cr34XqqjVT14HodYeTY0JyQkp8SsMyWiNQTPeNrJ7nzK3iwYqMyYCENUIoNIhphQE/zOvn1LOOR0zDMjakKBTZErRUoFtq4AT+hyfzf10/JkLjJM18lrJmlbiJTXZFJdm1RThJ+H86uNvYDX33r9oDCEQeJnCn1GhDGMYCuxxOr4+Ko1Zg2JUg9kmDFolY/mb1D3isG84DOWqpa3hZDNDZL8fEnDSdnJwy4jx9GnGpJ9FRkZcQewnmo2iAywzbzxtxtQw3gdA2AeM4lMac6gV3beISePlxeU53pTVR4qDMnNDRGGlic2Ib2TkwykSUjdZRKz4iBqb/OnD/4t+Hf6ExawOla2IAn4kg8iB1mYGfudoAPdrtqOQllse3ujn9fLr0JCdLrlTVoxuryMirWblnXAJiUovUPveZ/ivVBvMUZxxqKLcd+N/Tc8PzYsNwbdm3AzM1g/9ia88f/l6ch5c1QfpKlfYi916pA/vvb6xgr/Er/2dr8S/4oXZp1tb38vucL/haK9Vf2+1oq4Uja7NK5ikYw3X8quiFtMHRKM7zhrsrLWHNpsZw6Jf122uZyqd3bm4JPX7EqHhajdJl+Br8j3xgZ9he7NzcoxnlZO7QwKSPleQ/n9h6WPIEsjR/pqLfzoo8Gf9EajAsY8BagAho/dem51Bs18HO7fv/+6IaFxHOWLpLTalMTBT61VV4hENvzm3bsu8FdlJN61zwdhzmUZxWJvdE1VpUCAYTHXroPDlLsy/SLmDdatu5iOsT6KtJ8+Dp2aYsfRLPQXCkaM9TfkNXCAaRbPC84+w261mCdDeZevpV27gnJlYi622y0tkFugSWJv04ZdWaXr6dcvN0OUp95FTw0UF6DhIcVA29vsSHb8LCVjw39kYAMvpdeB4qgDR6Yj9EcbolM/lV+RkxfXr9f29fb1acGYQNVSJxL9N89TEyL+VPID91YAtbk4itXzGqGY+XuujjgPOef4tRHxBu1T2V/4eaf/ypsTfgF+bZDje7bXjlGukf2z69uYNLyX7/Tu1ZX7KRebfTCR48UlamD+J12AhmqiathTZT+gjpjNOn+d2SyRU2tGXKiuRYOD6JXT6L1/LhUoIdIIxuV58UiAfoWlgKWJI5ZD/l/OzQf7XRUifz1zctmCpcFTC7ZQN6GWChSWI/PjtHoiE+sUKjp/4L20Oti259WIdEwikjSIGuLXVyKyvzojmoG7d2NGRyljo5yNZ3ncQwr3w4O4wcMMxUUuVxF6mAI7vf+f/93IoV28jQ2ELAApn8tM7CzZe0RYxJTA9DmaSNNh4iKbCA2ma/sE3nChXYTbJluZV/k2wtt0GI/EjqRKFbloKV6fqGY27D90K2fh5RdTRbBDwtWVz+EfKjuWTbOOauMiBpiQU3WxW1y95AxCGgUJG2v7Ib5SVZaRShKqauoJDtB0vBc8A/5EGSdtLisRDltge5Gh4XTDzqJ8ZU+Cctyb4CSfBd/L1rWK4CU9mXefIKqL3fxvj18Gf2jYWDUx5Tcbe4IegDLb727tCjn9U/TeCuq3qUMIkpuj+e0w8Y2s0PxjW/35IwnRuhtsQ98AbexM0G+t3gGP2sYDqsa+ZMhL1gAi7B4YtegUaVCCDeiqRY/JBkuwYu47dMF6IIBiYQsKDMMhEBWq8A8IFh0GikVHiQa98Dqdw7I4IEVo4Dx+fSWYxfkFwmuJ7iMoSoT0DUNNMDoa6Zv4hVIiU3fb35z0XyOhzN5J1w3LrkzhTtV3XnjsXjEppsRdFn5Eq/1MNd9fX/tJH73lcQ3Ca4nuY7iyog/pG3NDFZcexOhYq+WvEAq+60zdbX9jbLyWJFuqoOuG5SZYpnA3W1F90AuPQr6yLAwhRcAzmdX+I9pQ97MCfr6/jk7Om+reWrFeCq4FUOSz38jIBqFodBZWxs8VfGD+4LfwPTheECVZUTXdMC3bcb3r7f54+kEYxUma5UVZ1U3b9cM4zcu67YcHzzz3wkuvvPbGW++898FHn3z2xVfffPfDT7/89sdf//xvBCsIBtDItAUlPC+bcGwD61ILA7+ZbNlOFlNrLxA9WWG0TwMvzLaI7upoPpEcKsoYCRTPTg1XMooe2EwsJseDJWX7zagjlT2bpAJW0TU287K1xaVs2jNt2lebst0Wv156p5wM1ju6XfzRlARltinKWz7SFdNtx0nRJlTMbSiuucnsoE2aXrdSUMn9bqcEFynsjH0Rx7jCZpxUdxy1pJlQEu5TqoGUeA6nzbmzuIkotTkm1hOZfTNshqrKZNj746M4aiXCTJvSJ9wrj4WGcTynnaiE2od5jtqZchdBb8XNnKkgUid3jw/IGWmnbucDTb5rabNY4Y7b3Eluw52qNRoqB1RK03ruVt232KHD1bQInRlYlcc9qayc91rDmcThQs0HO1HR1FzMBw5hztUexR+uAecaHFHXQSCQihiZKywnmXkyWDB/VbY08VZNAQAA);
font-weight: normal;
font-style: normal;
}
`,document.head.appendChild(e)}}(),function(){if(typeof document<"u"){var e=document.createElement("style");e.setAttribute("data-ag-scope","legacy"),e.textContent=`@font-face {
font-family: "agGridQuartz";
src: url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAB60AAsAAAAAP9AAAB5kAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHItkBmAAjSYK02DDKgE2AiQDgnALgToABCAFhEYHhlUbGDZVRoWNAxCE6WSJokyNVmT/f0mQlxh6/aA2IaNSNSSMnFiPpCFrpxM4K2otB+uVtaIChHJqIvHDENnTdjLimnVXso4TytrTJzK4pg/me9l/YydzYHHZUEoe/n/tf/vemffdUS3liyhimoYMWTONUCiBEgj1rEV/Ps+9r/et+feYGhwbKIIByglQsVguFajUU8Bc6vSDVEIwvGxhQJFLtCEtQ2/vNjUAhue32YNvIvjF/0kD+mOjuHBJiFhF6aKMlUuMra2hbnfnSte6K4W1lzBXJX9zibf9f1FyUeqFXiEMufb6HcLgvJBHHMR871Sllk9WUWBoOTCmNGMQhNhF1s/dxncbCywH32oQBABKPMP/4ONvm6pmuvZk1rDIKWNuj+d82xpMQjITCuCDoFwi4H9V01W86y5NTmllGNP3ZJsIEKIEfEASRN09UzB9pjuvvGce3eXWdFNK77N4dBHdmVLbMLmOacOSYc2WOcOecUq2UFgnyp8tvnAVMiEtgVbEqzq3Qvxp3Rok89J7f80caG99C/bAiwpChJiEMMkNsv3qO5FAi6w2cmJqYUP+8Y3XT3WgZbdMcFwwPX5w74bks4VuGJfwX0Jtizy/N79/pfqZHub8wldS/ebV1/JWTStGFpTXNhUiGebJXMhhIzw+Kow1Wp3Vx3Cx4BriBBMY7FUEVWCyPj07hjTMCLSjjXjp9iJ4cXOjtAYk5WqtyiAIE0/zHeW3d4ymMZoax5hylBHhW73RzQRXSOOUUNFlTXgHARsVeftSI8aBgBRLlEUf0YLqBlHcg1Mn5ulxGECa1zFIIFe9DPZTzxyJICgoPs6gZ4FQt31fAFGzaFNCBQfqfY4OkMwQmk11bGbRObSxGmIALe+rQ3GqsKa9Gx+mSU4dQKNLsLj5JLEOJLVbUlPrvVXQEWIGvwoagTW8hECk63NwE/pNegiVBO19+fvxO/7xo0Tb08ubS2WpOm1Ou1J72k9gtoXyPf4qXw23W0/TE2qmIGqePZKStASraUzvycGhxdVSLPoyZDNUB1xagP0Acq3XKqNOXrAtnO7AamiZGA69W2viqHLEswsRLpvw7JC0TSR9eiOQxTG1uXgOA5mrkZLA2AriEAUvOhPH5dHZkzpQ9LS+QyWUXwTDWFp6e1Gc2BNRo6JEdlF5bnbEozzK0Q14T9ATnV6siC4K4sirtu+W1Sf14g3UeLrzjqH+9c2n6Jm2qo2FsWRFrPgoThTXRxMfVQQvztMX8OaUAHQDxFxDb4daQrpI0Erq0y7c+bBJaQBKDNoaSGR4ZN0WsR7XQOD9MMK/w+MZ3BAQSRUaEQ8OKahltEb6uGEUFRpJ+9ySelSFsl/QGCqpFT+zBtqogEtzIEQ1iKNA9BsUJKWu+1dyJJrx9AYG8sd8GXwpDnz6J5cyQMYUIHsVK3cnb/uPVIwKH9grtZF+Fdj0AKiBAlycKcr5cvP0dDaofd9FFLHu46F9QxseiZZy68lPTNbrLrlx6yVSyczsRM6DTmFlQAKqsil05HHKU5ETKPYEDWrg5TI1B46FkCgsDk8g+mf2YVSoNLR09AyMTMwsrGzsHJxc3Dy8fBR+AUEhYUYRUTFxCUkpaRlZOXkFRXolZRVVNXU0RkNTS1tH1z4LpAaQPbzhzx9fW1ya2ptYmVFZ3pyb3eYuTG/tzq/v7FtdbUD53nsVuPTRBnCjceBma8CtFoHbLQF3mgLutgfcawK43wrwoBngUavA45aBJ20CT5sDnjULPG8beNkk8KoF4HXTwJu2gLftAu+aB963DnxoB/h49kEQo1gSBiwFA5YGNEAwaIRg0QTBoRmCRwuEgFYIEW0QEtohZHRAKOiEUNEFoUE3hBY9EDr0QujRB2FAP4QRAxAmDEKYMQRhwTCEFSMQNoxC2DEG4cAhCCcOQ7hwBMKNoxAeHIPwoh3Cl+MQOQGRkxA5BZHTEOiDiBgZAzwKDPAYMMDjwABPAAM8CQzwFDDA08AAzwADPAsM8BwwwPPAAC8AA7wIDPASGHrjZWDOeQUY4FVggNeAAV4HBngDGOBNOJcSonUuNYg2Q8Y7wADvAgO8BwzwPjDAB8AAHwIDfAQUTMfB13b+wG+0PwNd37NyHissKde4UwgUUmNwqY/Aon/vkN88uAmfAbkGfo4B8ovk+AjEx2oSoACDojFdV2rGpfWbber8hlTuUk5tptE2hRfFHQyEb0uOjojmRtADtjDYgavYTZIwNJIJ0Z6cHx0sCaaHD4s8jko58QxFsBCpCmwOTmUh/SRkM18oYtAD7Dr2Q0a4Zx9QKILJ8mexdStGY+SMMDRRKBayoiLp0KZwCAlnoFw+P5LFixJjdJ8mBqNKdnOxu0O4jCjS8Oyd0ulbaf7rNCvNsMSlVH3Yo+lAuQG5MjYh//wtgQBOxVvFygozrpmYk/R2l4ilVHppV4d3mgjyspFM+61xYQ+DuudwKuHE7DdFRPViyCsQ45WDMdtNptebRYJiDjuQL6FDJVdgelrTlkZEddl3l/j0crn2TZJr17fSjk4CnIhBw0jyhW9PuO1Ude0efnFjW8jbh03SrSieKnrug9sUtDTUBLbABthnNpgtcItcOwuqPqeASn7cA7uv0sDycqZn1NYFgGauWoxGHgA1VpLPhO3OsKBIOvaQqJ6wiAs5iTuYWvk6/DFePsDDJYausJ7LdYZr4+gqJnZe89JYmaMQUDTiUqVm3JXIrz8Zke3U8iXqkIcdSjVqHyWtDb9w9dmOg5nG56znz+VCGPN61Yg//8ULxczR/v6fpFSo7rwiZe4ObU/Mh8w9whXBE0yaRn4x08UbPGRK+EFXVPNWF0+MvvyGyxsG1F91/Qx+FExPiEcsX7QIw1716ptL2Z2Hvua6Mun6z8LlF7sOfyNeyBusXzTJt+Vknj9odCfI1MNRCwkt5taAOmeM+Z3CQ/MrXgkFHS4WjsRlpsEbFx/gPFwbXMDJo5soMf7QUKok1BoRWUdsW06g+VPMenLrOlVw3gPW4ds38BuuT9YdSivNUI19MjmQWeLTdctblukuo1mElw1o1VGjXoeoKibSkO8cBsKxHYsPn6O/d/PaFuqJBZwhfteZ2KPVy5B9xefRtfjmtRPUSFmhkJbk4kMNa2hkU4vd3KT35YrRZuP6GKFFM5WcsATfBQveE/UN/EWpAens6nY5xtsMU90AubaCRFGqN9wR39SFvimGFBohOwR1XTCFuMfhBNe2FYZslyF+xLKIIcNuLlGUeMgMmzSyDMO2DZNDpEjrYb2oT0yTJG/YEMecyQvFgelQ1SEeVcS6tiqrlkh3WQzhDUihoK89x6YpKGH2bovYGp6GM2QOzUoo781G3UeMUWvEbeeaerLP4sjc/Vz+TNkXzcp4Ll9ORht9nrZhinUImsHyHAbQ4A8RMWq1xr1UgpPGACnCE0yU5nnyQrIa4Qjnt1yqUkgy30tAPYFTwkMmQQcB3RORpsBBsmHHnIQjhyBRtYhGf5az+eL8zNlHghm1PqzeZH2PL2rvv58DuCDhdfjFacloc9qCkT3mj0kkpzNDiM+Xdo0oVqc3ymWeSbHQyzNvLhc0vQQZmkLyBdVvejxDo7Fy+/PF1/MVFuHPGdDBwnkTVXaWzn1yR80zrffRrZLBrfbEWF/4zz9FJcdxuDTzZl69u6O7Z2SqEc2RGTiNZ1WceQafPydeL0Jv2DulV7e3To30BLs+nSdkuMubfv3+rqN9YxOh9pKZj27JWWLO1yKfWZ92oQPWYU8+aWa1QB92oMuY6eQCsBp3w4yZGp1rR8M3O8Aai1CQd1hzWIND1521NWKUB3EhHRMzPcZvRKV78QDgxx0O8tDE2qApzmkruTr16YQdif6meHy/wWwszR3YgVKjVKeDzKZ/zEeC0l9M4AS5cXUADc5OAoC91SSGZFcHfJYpL96Cx6f74cDMRC2+kQRYqRTZqVneWObu6gEtqG687Aj7IwNrmy0cEx0zaIIbnL8h6fdq3pERt8DBSNKEHYtEp0wyHK61yUqXieJ47PInGWYoCKAppOT2wlpK4wY0rbfAOsvP8iLoqRzd/PqcTdyuuwDM7WgetmWDeGlt01RuOmhfiU063Wi1DDrSJGLOkyGLLB1FB8O7WPYSy1UMojV8M5IWC1tq+tRcHy1XJk6ylZiV7AdlnP6wH2EWHIQf1qvIJeMPeUACiSmz54pids7HxmjaiZS3JCmrgQCvsb7s/M1nAOTVGllYtMC6QculGXwvQNOjt1/k3QD3L6/NHD6jor8XF5TJxTfho7xR1Z2Qh3wNO1wbY4qERIq8VbT0aDZhZ1pncM4W5GoI2B1nk1QhOpFaZlx6pRgMZaNQKUmmxtxfsltRGCkddHTk/FnZbqcqruF60jB+LlfjxTtQZ6TVE0oXF3dlO9Py6fVVHOkK9mfaX6QcRZHWPnHunbFGZXtRy0fenIoDryUHDKHESouLclaXPVLHD3sdb/XTSV5e/sln9pqUU9scDak4sJnr7Gxp3D8hqFRGm9tAUz+y079Eo81Wo/m2kvZqccBitX3Mr1rppGvHBCgjjcdmMIshYvP9ELLQypjYFxydHAAaDVwbvAj7D/sW6w6e+azXHEx4cnYQDWmmh51l5lqZMnlEj5NhaSbwoseaqK6JjjPx5m408msdoABjtXUAXwuwHyB9AoKNygLOFgsCVfBex9PdT9qHoV2bX26ryAFPuC5DsiJyI7ZXQFcmihWONbELDzjooSouNj2bhj0hz/C6GeHlIa9Ib9yJeymc0GPeUi6heRoNBEivm9puVQb/PwJ7Kx089i5nllUydzZXA9Glpo28AyNtD3NnrYoaozjdElW2Ti5ON55Qmk7fuHmBX0ZV19NmYB+lrRb8oky7xFCFlBrfyIiVVXPhZDwVTlhfBbVadyh4QyxTjrgGhZvBI4WjhodelA1j875QJh68aOuuNBtYm5Gi/ro1g6phfOhC9xHdfPG9C7bnNSz75IkkT7yAS2g8klsT9ZMLBlw0PENy4INtQiqp1qgiWxYymbwxE+vcpzJbfFZ5iP2PuDi0eapoavPn+5YCZDvJD27f55tdRZMc5CY3/6/cj4bO//fyN3PcMg18ICr5gJST27bh/kflhIcCPDvlsLZtq4hpa21lWqq6LwPw125rOQh7pUG4hSFA8XSbLcyW2vVZiMJ+OX6Zt8GeAuHyRBIjuVzcv19N3L93HXJhDvT6hoZev0g7UHX+EjMEwBwrMAI5+oT12qTh0h+2DZ+McURh31vV/PTAHCr2g+LBOH/YldrwsiBGJPzh7Q3F/OJm/bRKtq9ZvphcGN8OGYtjDP2RLPiWBFLqK2fiDTHH1+YmzBfdY8HfHkc0qbPgjq9g5CP+bJrk3m+uYRfBPr6UOHfi2DESc8pxtxvY+fuppMu94mvEg0cdRT8ukdMX42bC2Shf0Y/Z+6YyLv25ecN9Kke8OkkfkENRHD3BG3ZftUIkSrUNU6IwOyJY4KbEb9Xm0e42nzix/etQ9MPpIHlsEPVFvd6RkVdyh3zQrtfbXY2s3WofyWR9K5rbq7aPeIFQtx5xoEdRB/YlGZMl6BnVXA+qLjxD3JgTmWpoNAVyB749pE3Tl7v4oPQN1eHDudUrc2EoBcq/TlZVwbnKFCWct7IqH969AHzMBNzgc0IoCJ1xkrqhbvMW/aZDu5Y1i4ifVR4nZaaMTmGfKaRc02wc6gISXQrzwNE3ukc7e4I23OAPpcC9iTkT4XG4srW7v3xj7I0vd69tMccbbxUVDAb301iuaS8q6kviJnWXFLueoE9cpt2lxH1FRe1PIgAs+YDAHJhn/XqCsIdpwzQYhlImihOUygoSI3NzP39YGRnNpKfQ4e8hjTRaKnvRRzduOCIdYduFB8UHhZGvreSAnM5f9bEDhoFYPWjMZnIsr5X2hnz4ZcexLz8MgY3RehCkW8Ec5xukp+MkcebY01KD5FJsQv78tdLP0+H64ycWnThcDxth6eThrg3FmcaDXcc3hlYD1nKYlJOTk+AjCo/44yOZj5SD4JsYCe35aIQ4MTcCxZ5W9ihPx0I9j/9NKeLGXEj1005+hapCO5MQUZhkP0/SKeF3fnb28pPxTovBtCf/EJgTI9lsDhvH3BhRnIVNYi4MR4/MUZ0ITH8yWlVhW7c7/SIFq8KSsUps+se/pN4+MBzxVW19G+VZkEId9pKyrucFPPf9U798z7pYfUAuHmhFwjlRf7+1y4+275reEFNUNUybu+Y3bqS1pDaUuVLP2xF64kIojzc5W7lb/WDjTjTk5LW96Y0/0JlGhHGp8f0B1tRdKB718eRbO6rtrFOM1OmKvC/DrkkYweW6T75iv3Un/Nys12NdMW5uLODs8Q/JY9H8ualPOev6QvvWcZLvqYJop8IN780NlIs8GlxDaoihvOlzLSukVXx9EW3VycamuHhCr2+G/PXXdEqJJFubUsQo4Lo5BfSiFG22pISqa8xejq0c5CfEFzg/EOEaj4bQkK/VXVHxesnvZECkSkAcmAv98slTYolDjkvEJPYp7VVO+eDY2p4+Qe6rfHLXUp+9au/abE7BMNP+S+9s63zrzTO650HDSjozN39Naf2xtZnIySA0KIOrrzA1TOt7FjysZYSDGImVYMuYv7uqmtla22Yw/y2kHAh0BrB+aUquQp0+W63Irzndu7ExSn33YYk34+E35Yzx2S95Citno3g0Y7v4CfcTPODVR31ke8fgko/ZONXKK2NrtewynlVILGlMmapYbJrSJqzcIs5q3NjbW7PzvdhhdXquYmnK+qQkoNspWzFlKzBPDlZETQPWPOzzrHHG7PWdhSSGp0q0Hh9DRSMCA6t9TTE5FYfV7HT2Lunew8MVOTFNWsiSrBmh3dbG6xJzeCWRPdChH71H3qaNaJIt0LwoIanOF8kbSspPSMhfJN2FRfsbPKymMISW6RIg71/Ehfws9JfenxHXO9/EyFFKZ8X5Abqn70DAqXwHmH8KmTDhb8uemxwZwf2PFBIou221raIZMAAUrwtJjYl0Twr3nc4ajbgNvNl5PqY6Lw7E3lQRGClezB9Pnc/rZRHmRHrhUnix2F5t1uiF7MUlBIaXFFcpixGn3IlIp+5AkYLqRqIPehWdo1rpZAYgH6DCGmn/Uh2h7o8gV7PX2UhDINFF4PL+QiIubixLlDVmZNovW4aP+jyIC3MhHuCt5ftl6NJ0GRMRmaFl0czEYsl8rah0ofrnaUqkiTXD7uDyJ0yqNJVpgp+JVx00M6FEOk8jMi4YqE1ZkpAqw6wFbSGfcl8+kEhaZiF456tzArGQd/mtaxvFMdJm8/g7Cj2eTmLy+xFQ2mxIdzCrZyVvCEC6oK+ue5pumKZMGpTKZ7MRcof/93Qc+7p1KeLabHvqpQ7U2UEs5FCt0zY25qX22G/2fpZ2oVOIC5mClkyNDJkkMYlr/22M5CKCHBsD9/8ibuE5g0mdk98i3+aJk/gBssf/IsDsgeMkRo6O2qUmPeE+l23z+TyYkjmuPMHMJ7Xuqd+iDfxu4RToL9krvvXo0S1z51boeULu9CdP5bW1toTbGarEDZmF1Z6fOwfg5dMAh6vRpM1UWxcWJOYlJOQlFriku5iX0Id2vdZlmutmVaQtW5ZWMfvnqU/96N0BP83+Oe0nUDHrMWZ2RR1gQ/fFdCFfeilu4qqOuySd4I3r5vMtbA6cDk9o75Shfhg/SV8n/15WZ0xKh19QcukDKOHPTx/npSca7dLAY6/mvbrwDHUhMpMJ93MUEm+/Q2BkfrD21lpmVbXdZJQhbhB6syl8nJ8nvRhL0UccFHaF9DRnyeAaWRbqQA2IC21fXg2cLWvuCela+mOEAc6pjYD10elwLOJG7shqQLa0uZfG/55P6z2YJQU1sjuIE40JS4/Wh/VAHWGYI/8w6gJ0JHeCpAbXIh+eEb4nlU6d0w2SgdgBgmSyDoruo05kaEj7XUPHCxjSnzV0x9RKd04kH7pTeMeDOBAQpRpdE3i1Um3OWYY0z7DMgCuXvlM4d1l2M7LJsqmc0V2YplbMaQzJr/6TA2nOXjan8HzFcvp4TmtkHLRWtqElaw2yeAnDurBrf6U5vHtJd2GY3bqoCSnYYcg17Ija9O67m6Jak5t2FVOYlPSz74XmnqYqjlmmr9dvGtOmbVte+5O9HQUDP3RXWUS1e+wRoKNfnh71CPfE5wPROgfqRLz9/YTcIccnp/wSPFNTdrMlrLbW3t/vRVyI+Ed06iKZiAtzI+Dro6F5XAwoNvnZ+favMn3Ow+TbJyftnw8HbMTPXs4zWyjwde5Vy01Xwbgcf3DfAzrkxDJ9fSSGA+PIXLdK/EVrrGALyXRExN4BI51tMsFipY0D31w4NDjgf69rOPSd9evaaltElupu228P/V1L8F+DFk+UhWdGwBUOvEcGfIyRX4Q+FNOwSbyKTP6EWTVTBUQScdJB0cEkOv3XTMlDnTNyHtj1rTYBqB3D+u2rylLNKpU5texZarmLZlUvPyt/TZU3lelokNeyTGaVmlpaTFKr7LZ0P/eWFqlJZr1dE/wqAXUia2tCj1VTY5Yo5a5SvxMshFbRXImJyTZV3lp2h1rylq1X3lj/vceIpSFTJUwDh8axyvw8n7xr8wZB2JtzsMo82M4XC1UpRmOKSrOi4MeAd/jbyTsBP63I16iMySnG13VyksCrhH9W5KsroLJ1Tt2tf7dH0ZcELvMSxE94adwn4rmBlj89uN/Rwv9GKfb5NVcGImzPUmR9peePy9y54qfcNN5TcQJ3W/TaV3sv08Mz6GKGey94+eA8I5xh3lu3sHafmSFmrAXja4gbeRwc9Hr5rjjj+Ypv9FcwZLU5WXzqe0n4pKHxQxx1BJ/mrJhfd8oLBh/LMFkNyJIeDDnx5a71/+z6UjWPGi19tnvlwpbw3mQsHHh8sAuMjJIywoSkes1MvYXghhhZsQFZgrMRjqm/v/TGtNS3XpSFR4FyHBC7I0Ycax5HYAT+jUhfPTzzCIEB5diBytGFRLnzE1fAb9nfFgjW7r+OqpwZYVukW5hnXKGK9peuQdbAXM2dvHp6XJZs2Elpl7ZTdq6auRV11WbOIjY3oC7fu9o0zZ4O7wy8LLDZrBbb5kc83Wz6bF1mZuoAfSDVvnkz2Pl/Nurz6UUUtKbI3aIBaSU097A70EuhqGtmpBOgDbftg3xg0pjggDqOyT1QVPo+5IhaDeUCUP/OGujHVXo9dOMWadCCpCu/2UXcoyUIkSYchRK68m9N6SjqZ+kOSCtC07QBWp12U3+55VPofRH4FhpmeWb+gzoqMmlKt0IPhBZER3FlH/SdyULMSCdA1GP3yJ1QaGLWlYsNomUxSRuoKiWkvgniMi0nCTJAja/oysWQO8qr/1+XRWh1JaJkEAKWt4ii9hYIaqNZOyPQC8xE6J/KXxt4fudfxWJ4zu9BIZAPgFQW/NWVXQUyG/VP+vQjmv4sMSUBoH9DmKF8f1HM/PHjH03h+7jB/9dJ/v45JMTVmXg+8TJoSXqgDk6XXzpyEpnYI+NK5IkWe2EArWz1nFYjSZzWQFamLTWiDztvZfAogiiDAcHqfXUaSfVBqU3rJ6Wh9edpDLM/lIXW/6eJzsnvd5OE094CqI/i3UcG0fs3rHMA+blKsi+/UJJnKl4Oz1Vv7IiEAoquON2K1NavqlVRCTfFO1O8qhC4iMKfaPVwVo1vT09VmvBguelAfRTvPjIkfr1/w43K4WytCNaqzv6FTzTBwcZUvByeCbUjEPFZQdHZp9uXndqN/aq5XRUf1cJN8U4VE9KQUl5DrPc+0abqcO7gxbenfKiKVB0sFfPPUpdF/D/Cc0CVyrQcttPl9mivzw8gwoQyLqTSxjofhFGcpFlelFXdtF0/jNO8rNt+nNf9vN+v0erS9RmGzKzsnNy8/ILCouKSUqPJbLGWlS8wwO9OK9S1YA3qmYYgwpfUg2T78Dl1AA6vBkMLZDEM7BlE1xFE+3Xia7nrQff4YzeeHCpK4wkUt1VdmYgWn1sOLGX0J50y+ihyQ2lqmVTAKrq+5XgbWOGUeja1PZu1z9oe4PUhNy4ZgXqom+ANyxQgnXt7d1j5cMPcwHGStF+Lj4NaOMf+xZymHysdBk+Mk44Cg/NUjxu4+sbfsd8g5bGgpNSAmHBGrCWEwBfIQby6iD0sToPoW9a1rPcPl6esylRyVa1+xNFAfH3WfoIWp6mhMFA6vtABc8FnYLTh43ckItWxqDNTQSxt4ATYpqviCJOf83JEGmeShHY7eTHkNGjUi42HgbhGfdqoOsBymo8tlMq0h5kQl7T42ByhK0+sys205CrHqXJkKwOYkuP8gMXObvAmvwBjw6dj/tWW4FwfnVcDpjZi0Kjxhg2Zi0nGGmeCOZsvczJXUzYmm2hupjWVuXcA);
font-weight: normal;
font-style: normal;
}
`,document.head.appendChild(e)}}();function W(e){if(e?.length)return e[e.length-1]}function we(e,t,a){if(e===t)return!0;if(!e||!t)return e==null&&t==null;const n=e.length;if(n!==t.length)return!1;for(let r=0;r=0&&e.splice(a,1)}function Hs(e,t){let a=0,n=0;for(;a=0;n--)e.splice(a,0,t[n])}function Od(e){return[].concat.apply([],e)}var Te=e=>e==null||e===""?null:e;function A(e){return e!=null&&e!==""}function ie(e){return!A(e)}var Ze=e=>e!=null&&typeof e.toString=="function"?e.toString():null,Aa=(e,t)=>{const a=e?JSON.stringify(e):null,n=t?JSON.stringify(t):null;return a===n},ni=(e,t,a=!1)=>e==null?t==null?0:-1:t==null?1:(typeof e=="object"&&e.toNumber&&(e=e.toNumber()),typeof t=="object"&&t.toNumber&&(t=t.toNumber()),!a||typeof e!="string"?e>t?1:e{const l=n?()=>n.wrapIncoming(s):s;t?this.dispatchAsync(l):l()},o=this.getListeners(a,t,!1);if((o?.size??0)>0){const s=new Set(o);for(const l of s)o?.has(l)&&r(()=>l(e))}const i=this.getGlobalListeners(t);if(i.size>0){const s=new Set(i);for(const l of s)r(()=>l(a,e))}}getGlobalListeners(e){return e?this.globalAsyncListeners:this.globalSyncListeners}dispatchAsync(e){if(this.asyncFunctionsQueue.push(e),!this.scheduled){const t=()=>{window.setTimeout(this.flushAsyncQueue.bind(this),0)},a=this.frameworkOverrides;a?a.wrapIncoming(t):t(),this.scheduled=!0}}flushAsyncQueue(){this.scheduled=!1;const e=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[];for(const t of e)t()}},Jk=/[&<>"']/g,$k={"&":"&","<":"<",">":">",'"':""","'":"'"};function ea(e){return e?.toString().toString()??null}function pt(e){return ea(e)?.replace(Jk,t=>$k[t])??null}function cr(e){return typeof e=="string"&&e.startsWith("=")&&e.length>1}function $f(e){if(!e||e==null)return null;const t=/([a-z])([A-Z])/g,a=/([A-Z]+)([A-Z])([a-z])/g;return e.replace(t,"$1 $2").replace(a,"$1 $2$3").replace(/\./g," ").split(" ").map(r=>r.substring(0,1).toUpperCase()+(r.length>1?r.substring(1,r.length):"")).join(" ")}function Dt(e){return e.eRootDiv.getRootNode()}function ne(e){return Dt(e).activeElement}function me(e){const{gos:t,eRootDiv:a}=e;let n=null;const r=t.get("getDocument");return r&&A(r)?n=r():a&&(n=a.ownerDocument),n&&A(n)?n:document}function ma(e){const t=ne(e);return t===null||t===me(e).body}function Xr(e){return me(e).defaultView||window}function dr(e){let t=null,a=null;try{t=me(e).fullscreenElement}catch{}finally{t||(t=Dt(e));const n=t.querySelector("body");n?a=n:t instanceof ShadowRoot?a=t:t instanceof Document?a=t?.documentElement:a=t}return a}function eR(e){return dr(e)?.clientWidth??(window.innerWidth||-1)}function tR(e){return dr(e)?.clientHeight??(window.innerHeight||-1)}function xt(e,t,a){a==null||typeof a=="string"&&a==""?qs(e,t):It(e,t,a)}function It(e,t,a){e.setAttribute(em(t),a.toString())}function qs(e,t){e.removeAttribute(em(t))}function em(e){return`aria-${e}`}function De(e,t){t?e.setAttribute("role",t):e.removeAttribute("role")}function aR(e){const t=e?.direction;return t==="asc"?"ascending":t==="desc"?"descending":t==="mixed"?"other":"none"}function tm(e){return Number.parseInt(e.getAttribute("aria-posinset"),10)}function nR(e){return e.getAttribute("aria-label")}function de(e,t){xt(e,"label",t)}function va(e,t){xt(e,"labelledby",t)}function ri(e,t){xt(e,"describedby",t)}function am(e,t){xt(e,"live",t)}function rR(e,t){xt(e,"atomic",t)}function oR(e,t){xt(e,"relevant",t)}function Ws(e,t){xt(e,"invalid",t)}function oi(e,t){xt(e,"level",t)}function ii(e,t){xt(e,"disabled",t)}function Us(e,t){xt(e,"hidden",t)}function Gd(e,t){xt(e,"activedescendant",t)}function ot(e,t){It(e,"expanded",t)}function Vd(e){qs(e,"expanded")}function si(e,t){It(e,"setsize",t)}function li(e,t){It(e,"posinset",t)}function iR(e,t){It(e,"multiselectable",t)}function nm(e,t){It(e,"rowcount",t)}function ur(e,t){It(e,"rowindex",t)}function sR(e,t){It(e,"rowspan",t)}function rm(e,t){It(e,"colcount",t)}function js(e,t){It(e,"colindex",t)}function Bd(e,t){It(e,"colspan",t)}function om(e,t){It(e,"sort",t)}function im(e){qs(e,"sort")}function ci(e,t){xt(e,"selected",t)}function Nd(e,t){It(e,"checked",t===void 0?"mixed":t)}function _s(e,t){xt(e,"controls",t)}function Ks(e,t){_s(e,t.id),va(t,e.id)}function sm(e,t){xt(e,"owns",t)}function lm(e,t){xt(e,"haspopup",t===!1?null:t)}function Ys(e,t){return t===void 0?e("ariaIndeterminate","indeterminate"):t===!0?e("ariaChecked","checked"):e("ariaUnchecked","unchecked")}function lR(e,t){t?It(e,"orientation",t):qs(e,"orientation")}function di(e,t,a){const n=e.parentElement;let r=n&&n.firstChild;for(;r;)t&&r.classList.toggle(t,r===e),a&&r.classList.toggle(a,r!==e),r=r.nextSibling}var cR="[tabindex], input, select, button, textarea, [href]",cm="[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";function Jr(e){return!e||!e.matches("input, select, button, textarea")||!e.matches(cm)?!1:Be(e)}function G(e,t,a={}){const{skipAriaHidden:n}=a;e.classList.toggle("ag-hidden",!t),n||Us(e,!t)}function Hd(e,t,a={}){const{skipAriaHidden:n}=a;e.classList.toggle("ag-invisible",!t),n||Us(e,!t)}function wn(e,t){const a="disabled",n=t?o=>o.setAttribute(a,""):o=>o.removeAttribute(a);n(e);const r=e.querySelectorAll("input")??[];for(const o of r)n(o)}function gr(e,t,a){let n=0;for(;e;){if(e.classList.contains(t))return!0;if(e=e.parentElement,typeof a=="number"){if(++n>a)break}else if(e===a)break}return!1}function hr(e){const{height:t,width:a,borderTopWidth:n,borderRightWidth:r,borderBottomWidth:o,borderLeftWidth:i,paddingTop:s,paddingRight:l,paddingBottom:c,paddingLeft:d,marginTop:u,marginRight:g,marginBottom:h,marginLeft:p,boxSizing:f}=window.getComputedStyle(e),m=Number.parseFloat;return{height:m(t||"0"),width:m(a||"0"),borderTopWidth:m(n||"0"),borderRightWidth:m(r||"0"),borderBottomWidth:m(o||"0"),borderLeftWidth:m(i||"0"),paddingTop:m(s||"0"),paddingRight:m(l||"0"),paddingBottom:m(c||"0"),paddingLeft:m(d||"0"),marginTop:m(u||"0"),marginRight:m(g||"0"),marginBottom:m(h||"0"),marginLeft:m(p||"0"),boxSizing:f}}function ui(e){const t=hr(e);return t.boxSizing==="border-box"?t.height-t.paddingTop-t.paddingBottom-t.borderTopWidth-t.borderBottomWidth:t.height}function pr(e){const t=hr(e);return t.boxSizing==="border-box"?t.width-t.paddingLeft-t.paddingRight-t.borderLeftWidth-t.borderRightWidth:t.width}function gi(e){const{height:t,marginBottom:a,marginTop:n}=hr(e);return Math.floor(t+a+n)}function yn(e){const{width:t,marginLeft:a,marginRight:n}=hr(e);return Math.floor(t+a+n)}function dm(e){const t=e.getBoundingClientRect(),{borderTopWidth:a,borderLeftWidth:n,borderRightWidth:r,borderBottomWidth:o}=hr(e);return{top:t.top+(a||0),left:t.left+(n||0),right:t.right+(r||0),bottom:t.bottom+(o||0)}}function Qs(e,t){let a=e.scrollLeft;return t&&(a=Math.abs(a)),a}function fr(e,t,a){a&&(t*=-1),e.scrollLeft=t}function ee(e){for(;e?.firstChild;)e.firstChild.remove()}function ue(e){e?.parentNode&&e.remove()}function um(e){return!!e.offsetParent}function Be(e){return e.checkVisibility?e.checkVisibility({checkVisibilityCSS:!0}):!(!um(e)||window.getComputedStyle(e).visibility!=="visible")}function Zs(e){const t=document.createElement("div");return t.innerHTML=(e||"").trim(),t.firstChild}function gm(e,t,a){a&&a.nextSibling===t||(e.firstChild?a?a.nextSibling?e.insertBefore(t,a.nextSibling):e.appendChild(t):e.firstChild&&e.firstChild!==t&&e.prepend(t):e.appendChild(t))}function hm(e,t){for(let a=0;a`-${t.toLocaleLowerCase()}`)}function hi(e,t){if(t)for(const a of Object.keys(t)){const n=t[a];if(!a?.length||n==null)continue;const r=dR(a),o=n.toString(),i=o.replace(/\s*!important/g,""),s=i.length!=o.length?"important":void 0;e.style.setProperty(r,i,s)}}function tn(e){return()=>{const t=e();return t?pm(t)||uR(t):!0}}function pm(e){return e.clientWidtho?.disconnect()}function kt(e,t){const a=Xr(e);a.requestAnimationFrame?a.requestAnimationFrame(t):a.webkitRequestAnimationFrame?a.webkitRequestAnimationFrame(t):a.setTimeout(t,0)}var fm="data-ref",Wd;function mm(){return Wd??(Wd=document.createTextNode(" ")),Wd.cloneNode()}function je(e){const{attrs:t,children:a,cls:n,ref:r,role:o,tag:i}=e,s=document.createElement(i);if(n&&(s.className=n),r&&s.setAttribute(fm,r),o&&s.setAttribute("role",o),t)for(const l of Object.keys(t))s.setAttribute(l,t[l]);if(a)if(typeof a=="string")s.textContent=a;else{let l=!0;for(const c of a)c&&(typeof c=="string"?(s.appendChild(document.createTextNode(c)),l=!1):typeof c=="function"?s.appendChild(c()):(l&&(s.appendChild(mm()),l=!1),s.append(je(c)),s.appendChild(mm())))}return s}var gR=["touchstart","touchend","touchmove","touchcancel","scroll"],hR=["wheel"],Ud={},$s=(()=>{const e={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return a=>{if(typeof Ud[a]=="boolean")return Ud[a];const n=document.createElement(e[a]||"div");return a="on"+a,Ud[a]=a in n}})();function el(e,t){return!t||!e?!1:fR(t).indexOf(e)>=0}function pR(e){const t=[];let a=e.target;for(;a;)t.push(a),a=a.parentElement;return t}function fR(e){const t=e;return t.path?t.path:t.composedPath?t.composedPath():pR(t)}function mR(e,t,a){const n=vR(t);let r;n!=null&&(r={passive:n}),e.addEventListener(t,a,r)}var vR=e=>{const t=gR.includes(e),a=hR.includes(e);if(t)return!0;if(a)return!1};function vm(e,t,a){if(a===0)return!1;const n=Math.abs(e.clientX-t.clientX),r=Math.abs(e.clientY-t.clientY);return Math.max(n,r)<=a}var $r=(e,t)=>{const a=e.identifier;for(let n=0,r=t.length;n0&&g+e.clientWidth>o+m&&(g=o+m-e.clientWidth),g<0&&(g=0),i>0&&u+e.clientHeight>i+f&&(u=i+f-e.clientHeight),u<0&&(u=0),e.style.left=`${g}px`,e.style.top=`${u}px`}var al=(e,...t)=>{for(const a of t){const[n,r,o,i]=a;n.addEventListener(r,o,i),e.push(a)}},jd=e=>{if(e){for(const[t,a,n,r]of e)t.removeEventListener(a,n,r);e.length=0}},Sn=e=>{e.cancelable&&e.preventDefault()};function CR(e,t){return t}function _d(e){return e?.getLocaleTextFunc()??CR}function nl(e,t,a,n){const r=t[a];return e.getLocaleTextFunc()(a,typeof r=="function"?r(n):r,n)}function Cm(e){return(t,a,n)=>e({key:t,defaultValue:a,variableValues:n})}function bm(e){return(t,a,n)=>{let r=e?.[t];if(r&&n?.length){let o=0;for(;!(o>=n.length||r.indexOf("${variable}")===-1);)r=r.replace("${variable}",n[o++])}return r??a}}var _e=class{constructor(){this.destroyFunctions=[],this.destroyed=!1,this.__v_skip=!0,this.propertyListenerId=0,this.lastChangeSetIdLookup={},this.isAlive=()=>!this.destroyed}preWireBeans(e){this.beans=e,this.stubContext=e.context,this.eventSvc=e.eventSvc,this.gos=e.gos}destroy(){const{destroyFunctions:e}=this;for(let t=0;tnull;let n;if(bR(e))e.__addEventListener(t,a),n=()=>(e.__removeEventListener(t,a),null);else{const r=wR(e);e instanceof HTMLElement?mR(e,t,a):r?e.addListener(t,a):e.addEventListener(t,a),n=r?()=>(e.removeListener(t,a),null):()=>(e.removeEventListener(t,a),null)}return this.destroyFunctions.push(n),()=>(n(),this.destroyFunctions=this.destroyFunctions.filter(r=>r!==n),null)}setupPropertyListener(e,t){const{gos:a}=this;a.addPropertyEventListener(e,t);const n=()=>(a.removePropertyEventListener(e,t),null);return this.destroyFunctions.push(n),()=>(n(),this.destroyFunctions=this.destroyFunctions.filter(r=>r!==n),null)}addManagedPropertyListener(e,t){return this.destroyed?()=>null:this.setupPropertyListener(e,t)}addManagedPropertyListeners(e,t){if(this.destroyed)return;const a=e.join("-")+this.propertyListenerId++,n=r=>{if(r.changeSet){if(r.changeSet&&r.changeSet.id===this.lastChangeSetIdLookup[a])return;this.lastChangeSetIdLookup[a]=r.changeSet.id}const o={type:"propertyChanged",changeSet:r.changeSet,source:r.source};t(o)};for(const r of e)this.setupPropertyListener(r,n)}getLocaleTextFunc(){return _d(this.beans.localeSvc)}addDestroyFunc(e){this.isAlive()?this.destroyFunctions.push(e):e()}createOptionalManagedBean(e,t){return e?this.createManagedBean(e,t):void 0}createManagedBean(e,t){const a=this.createBean(e,t);return this.addDestroyFunc(this.destroyBean.bind(this,e,t)),a}createBean(e,t,a){return(t||this.stubContext).createBean(e,a)}destroyBean(e,t){return(t||this.stubContext).destroyBean(e)}destroyBeans(e,t){return(t||this.stubContext).destroyBeans(e)}};function bR(e){return e.__addEventListener!==void 0}function wR(e){return e.eventServiceType==="global"}var F=class extends _e{},Kd=new Set,eo=(e,t)=>{Kd.has(t)||(Kd.add(t),e())};eo._set=Kd;var yR={pending:!1,funcs:[]},SR={pending:!1,funcs:[]};function vi(e,t="setTimeout",a){const n=t==="raf"?SR:yR;if(n.funcs.push(e),n.pending)return;n.pending=!0;const r=()=>{const o=n.funcs.slice();n.funcs.length=0,n.pending=!1;for(const i of o)i()};t==="raf"?kt(a,r):window.setTimeout(r,0)}function ve(e,t,a){let n;return function(...r){const o=this;return window.clearTimeout(n),n=window.setTimeout(function(){e.isAlive()&&t.apply(o,r)},a),n}}function wm(e,t){let a=0;return function(...n){const r=this,o=Date.now();o-a{o!=null&&(window.clearInterval(o),o=null)};e.addDestroyFunc(s);const l=()=>{const c=Date.now()-r>n;(t()||c)&&(a(),i=!0,s())};l(),i||(o=window.setInterval(l,10))}var ym=new Set(["__proto__","constructor","prototype"]);function xR(e,t){if(e!=null){if(Array.isArray(e)){for(let a=0;a!ym.has(n)))t(a,e[a])}}function Oe(e,t,a=!0,n=!1){A(t)&&xR(t,(r,o)=>{let i=e[r];i!==o&&(n&&i==null&&o!=null&&typeof o=="object"&&o.constructor===Object&&(i={},e[r]=i),Sm(o)&&Sm(i)&&!Array.isArray(i)?Oe(i,o,a,n):(a||o!==void 0)&&(e[r]=o))})}function Sm(e){return typeof e=="object"&&e!==null}var Qd=class bn{static applyGlobalGridOptions(t){if(!bn.gridOptions)return{...t};let a={};return Oe(a,bn.gridOptions,!0,!0),bn.mergeStrategy==="deep"?Oe(a,t,!0,!0):a={...a,...t},bn.gridOptions.context&&(a.context=bn.gridOptions.context),t.context&&(bn.mergeStrategy==="deep"&&a.context&&Oe(t.context,a.context,!0,!0),a.context=t.context),a}static applyGlobalGridOption(t,a){if(bn.mergeStrategy==="deep"){const n=Zd(t);if(n&&typeof n=="object"&&typeof a=="object")return bn.applyGlobalGridOptions({[t]:a})[t]}return a}};Qd.gridOptions=void 0,Qd.mergeStrategy="shallow";var Ci=Qd;function kR(e,t="shallow"){Ci.gridOptions=e,Ci.mergeStrategy=t}function Zd(e){return Ci.gridOptions?.[e]}var xm={suppressContextMenu:!1,preventDefaultOnContextMenu:!1,allowContextMenuWithControlKey:!1,suppressMenuHide:!0,enableBrowserTooltips:!1,tooltipTrigger:"hover",tooltipShowDelay:2e3,tooltipSwitchShowDelay:200,tooltipHideDelay:1e4,tooltipMouseTrack:!1,tooltipShowMode:"standard",tooltipInteraction:!1,copyHeadersToClipboard:!1,copyGroupHeadersToClipboard:!1,clipboardDelimiter:" ",suppressCopyRowsToClipboard:!1,suppressCopySingleCellRanges:!1,suppressLastEmptyLineOnPaste:!1,suppressClipboardPaste:!1,suppressClipboardApi:!1,suppressCutToClipboard:!1,maintainColumnOrder:!1,enableStrictPivotColumnOrder:!1,suppressFieldDotNotation:!1,allowDragFromColumnsToolPanel:!1,suppressMovableColumns:!1,suppressColumnMoveAnimation:!1,suppressMoveWhenColumnDragging:!1,suppressDragLeaveHidesColumns:!1,suppressRowGroupHidesColumns:!1,suppressAutoSize:!1,autoSizePadding:20,skipHeaderOnAutoSize:!1,singleClickEdit:!1,suppressClickEdit:!1,readOnlyEdit:!1,stopEditingWhenCellsLoseFocus:!1,enterNavigatesVertically:!1,enterNavigatesVerticallyAfterEdit:!1,enableCellEditingOnBackspace:!1,undoRedoCellEditing:!1,undoRedoCellEditingLimit:10,suppressCsvExport:!1,suppressExcelExport:!1,cacheQuickFilter:!1,includeHiddenColumnsInQuickFilter:!1,excludeChildrenWhenTreeDataFiltering:!1,enableAdvancedFilter:!1,includeHiddenColumnsInAdvancedFilter:!1,enableCharts:!1,masterDetail:!1,keepDetailRows:!1,keepDetailRowsCount:10,detailRowAutoHeight:!1,tabIndex:0,rowBuffer:10,valueCache:!1,valueCacheNeverExpires:!1,enableCellExpressions:!1,suppressTouch:!1,suppressFocusAfterRefresh:!1,suppressBrowserResizeObserver:!1,suppressPropertyNamesCheck:!1,suppressChangeDetection:!1,debug:!1,suppressLoadingOverlay:!1,suppressNoRowsOverlay:!1,pagination:!1,paginationPageSize:100,paginationPageSizeSelector:!0,paginationAutoPageSize:!1,paginateChildRows:!1,suppressPaginationPanel:!1,pivotMode:!1,pivotPanelShow:"never",pivotDefaultExpanded:0,pivotSuppressAutoColumn:!1,suppressExpandablePivotGroups:!1,functionsReadOnly:!1,suppressAggFuncInHeader:!1,alwaysAggregateAtRootLevel:!1,aggregateOnlyChangedColumns:!1,suppressAggFilteredOnly:!1,removePivotHeaderRowWhenSingleValueColumn:!1,animateRows:!0,cellFlashDuration:500,cellFadeDuration:1e3,allowShowChangeAfterFilter:!1,domLayout:"normal",ensureDomOrder:!1,enableRtl:!1,suppressColumnVirtualisation:!1,suppressMaxRenderedRowRestriction:!1,suppressRowVirtualisation:!1,rowDragManaged:!1,refreshAfterGroupEdit:!1,rowDragInsertDelay:500,suppressRowDrag:!1,suppressMoveWhenRowDragging:!1,rowDragEntireRow:!1,rowDragMultiRow:!1,embedFullWidthRows:!1,groupDisplayType:"singleColumn",groupDefaultExpanded:0,groupMaintainOrder:!1,groupSelectsChildren:!1,groupSuppressBlankHeader:!1,groupSelectsFiltered:!1,showOpenedGroup:!1,groupRemoveSingleChildren:!1,groupRemoveLowestSingleChildren:!1,groupHideOpenParents:!1,groupHideColumnsUntilExpanded:!1,groupAllowUnbalanced:!1,rowGroupPanelShow:"never",suppressMakeColumnVisibleAfterUnGroup:!1,treeData:!1,rowGroupPanelSuppressSort:!1,suppressGroupRowsSticky:!1,rowModelType:"clientSide",asyncTransactionWaitMillis:50,suppressModelUpdateAfterUpdateTransaction:!1,cacheOverflowSize:1,infiniteInitialRowCount:1,serverSideInitialRowCount:1,cacheBlockSize:100,maxBlocksInCache:-1,maxConcurrentDatasourceRequests:2,blockLoadDebounceMillis:0,purgeClosedRowNodes:!1,serverSideSortAllLevels:!1,serverSideOnlyRefreshFilteredGroups:!1,serverSidePivotResultFieldSeparator:"_",viewportRowModelPageSize:5,viewportRowModelBufferSize:5,alwaysShowHorizontalScroll:!1,alwaysShowVerticalScroll:!1,debounceVerticalScrollbar:!1,suppressHorizontalScroll:!1,suppressScrollOnNewData:!1,suppressScrollWhenPopupsAreOpen:!1,suppressAnimationFrame:!1,suppressMiddleClickScrolls:!1,suppressPreventDefaultOnMouseWheel:!1,rowMultiSelectWithClick:!1,suppressRowDeselection:!1,suppressRowClickSelection:!1,suppressCellFocus:!1,suppressHeaderFocus:!1,suppressMultiRangeSelection:!1,enableCellTextSelection:!1,enableRangeSelection:!1,enableRangeHandle:!1,enableFillHandle:!1,fillHandleDirection:"xy",suppressClearOnFillReduction:!1,accentedSort:!1,unSortIcon:!1,suppressMultiSort:!1,alwaysMultiSort:!1,suppressMaintainUnsortedOrder:!1,suppressRowHoverHighlight:!1,suppressRowTransform:!1,columnHoverHighlight:!1,deltaSort:!1,enableGroupEdit:!1,groupLockGroupColumns:0,serverSideEnableClientSideSort:!1,suppressServerSideFullWidthLoadingRow:!1,pivotMaxGeneratedColumns:-1,columnMenu:"new",reactiveCustomComponents:!0,suppressSetFilterByDefault:!1,enableFilterHandlers:!1},km="https://www.ag-grid.com";function xn(e,t,...a){e.get("debug")&&console.log("AG Grid: "+t,...a)}function aa(e,...t){eo(()=>Rm(e,...t),e+t?.join(""))}function to(e,...t){eo(()=>ao(e,...t),e+t?.join(""))}function ao(e,...t){console.error("AG Grid: "+e,...t)}function Rm(e,...t){console.warn("AG Grid: "+e,...t)}var Fm=new Set,rl={},mr={},ol,Mm=!1,Em=!1,Pm=!1;function RR(e){const[t,a]=e.version.split(".")||[],[n,r]=ol.split(".")||[];return t===n&&a===r}function FR(e){ol||(ol=e.version);const t=n=>`You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. ${n} Please update all modules to the same version.`;e.version?RR(e)||to(t(`'${e.moduleName}' is version ${e.version} but the other modules are version ${ol}.`)):to(t(`'${e.moduleName}' is incompatible.`));const a=e.validate?.();a&&!a.isValid&&to(`${a.message}`)}function no(e,t,a=!1){a||(Mm=!0),FR(e);const n=e.rowModels??["all"];Fm.add(e);let r;t!==void 0?(Em=!0,mr[t]===void 0&&(mr[t]={}),r=mr[t]):r=rl;for(const o of n)r[o]===void 0&&(r[o]={}),r[o][e.moduleName]=e;if(e.dependsOn)for(const o of e.dependsOn)no(o,t,a)}function MR(e){delete mr[e]}function Xd(e,t,a){const n=r=>!!rl[r]?.[e]||!!mr[t]?.[r]?.[e];return n(a)||n("all")}function Jd(){return Em}function ER(e,t){const a=mr[e]??{};return[...Object.values(rl.all??{}),...Object.values(a.all??{}),...Object.values(rl[t]??{}),...Object.values(a[t]??{})]}function PR(){return new Set(Fm)}function Am(e,t){const a=mr[e]??{};return[...Object.values(a.all??{}),...Object.values(a[t]??{})]}function AR(){return Mm}function $d(){return Pm}function Tm(){Pm=!0}var il=class{static register(e){no(e,void 0)}static registerModules(e){for(const t of e)no(t,void 0)}};function Dm(e){for(const t of e){if("setLicenseKey"in t)return t;if(t.dependsOn){const a=Dm(t.dependsOn);if(a)return a}}}var N="35.2.1",Im=2e3,Lm=100,zm="_version_",Om=null,ro=`${km}/javascript-data-grid`;function TR(e){Om=e}function DR(e){ro=e}function Gm(e,t,a){return Om?.(e,t)??[OR(e,t,a)]}function sl(e,t,a,n,r){e(`${n?"warning":"error"} #${t}`,...Gm(t,a,r))}function IR(e){if(!e)return String(e);const t={};for(const a of Object.keys(e))typeof e[a]!="object"&&typeof e[a]!="function"&&(t[a]=e[a]);return JSON.stringify(t)}function LR(e){let t=e;return e instanceof Error?t=e.toString():typeof e=="object"&&(t=IR(e)),t}function ll(e){return e===void 0?"undefined":e===null?"null":e}function eu(e,t){return`${e}?${t.toString()}`}function zR(e,t,a){const n=Array.from(t.entries()).sort((o,i)=>i[1].length-o[1].length);let r=eu(e,t);for(const[o,i]of n){if(o===zm)continue;const s=r.length-a;if(s<=0)break;const l="...",c=s+l.length,d=i.length-c>Lm?i.slice(0,i.length-c)+l:i.slice(0,Lm)+l;t.set(o,d),r=eu(e,t)}return r}function Vm(e,t){const a=new URLSearchParams;if(a.append(zm,N),t)for(const o of Object.keys(t))a.append(o,LR(t[o]));const n=`${ro}/errors/${e}`,r=eu(n,a);return r.length<=Im?r:zR(n,a,Im)}var OR=(e,t,a)=>{const n=Vm(e,t),r=`${a?a+`
`:""}Visit ${n}`;return $d()?r:`${r}${a?"":`
Alternatively register the ValidationModule to see the full message in the console.`}`};function R(...e){sl(aa,e[0],e[1],!0)}function J(...e){sl(to,e[0],e[1],!1)}function bi(e,t,a){sl(to,e,t,!1,a)}function Bm(e,t,a){sl(aa,e,t,!0,a)}function Nm(e,t){const a=t[0];return`error #${a} `+Gm(a,t[1],e).join(" ")}function Rt(...e){return Nm(void 0,e)}function cl(...e){return Nm(`
`,e)}function Hm(e,t){return e.get("rowModelType")===t}function se(e,t){return Hm(e,"clientSide")}function ft(e,t){return Hm(e,"serverSide")}function Ke(e,t){return e.get("domLayout")===t}function Lt(e){return wr(e)!==void 0}function dl(e){return typeof e.get("getRowHeight")=="function"}function GR(e,t){return t?!e.get("enableStrictPivotColumnOrder"):e.get("maintainColumnOrder")}function an({gos:e,formula:t}){const a=e.get("rowNumbers");return a||!!t?.active&&a!==!1}function Xe(e,t,a=!1,n){const{gos:r,environment:o}=e;if(n==null&&(n=o.getDefaultRowHeight()),dl(r)){if(a)return{height:n,estimated:!0};const l={node:t,data:t.data},c=r.getCallback("getRowHeight")(l);if(tu(c))return c===0&&R(23),{height:Math.max(1,c),estimated:!1}}if(t.detail&&r.get("masterDetail"))return VR(r);const i=r.get("rowHeight");return{height:i&&tu(i)?i:n,estimated:!1}}function VR(e){if(e.get("detailRowAutoHeight"))return{height:1,estimated:!1};const t=e.get("detailRowHeight");return tu(t)?{height:t,estimated:!1}:{height:300,estimated:!1}}function Ft(e){const{environment:t,gos:a}=e,n=a.get("rowHeight");if(!n||ie(n))return t.getDefaultRowHeight();const r=t.refreshRowHeightVariable();return r!==-1?r:(R(24),t.getDefaultRowHeight())}function tu(e){return!isNaN(e)&&typeof e=="number"&&isFinite(e)}function qm(e,t,a){const n=t[e.getDomDataKey()];return n?n[a]:void 0}function vr(e,t,a,n){const r=e.getDomDataKey();let o=t[r];ie(o)&&(o={},t[r]=o),o[a]=n}function Cr(e){return e.get("ensureDomOrder")?!1:e.get("animateRows")}function wi(e){return!(e.get("paginateChildRows")||e.get("groupHideOpenParents")||Ke(e,"print"))}function ba(e){return!e.get("autoGroupColumnDef")?.comparator&&!e.get("treeData")}function kn(e){const t=e.get("groupAggFiltering");if(typeof t=="function")return e.getCallback("groupAggFiltering");if(t===!0)return()=>!0}function Rn(e){return e.get("grandTotalRow")}function br(e){const t=e.get("groupTotalRow");return typeof t=="function"?e.getCallback("groupTotalRow"):()=>t??void 0}function yi(e){return e.get("groupHideOpenParents")?!0:e.get("groupDisplayType")==="multipleColumns"}function au(e){return yi(e)&&e.get("groupHideColumnsUntilExpanded")&&se(e)}function ul(e,t){return t?!1:e.get("groupDisplayType")==="groupRows"}function gl(e,t,a){return!!t.group&&!t.footer&&ul(e,a)}function Da(e){const t=e.getCallback("getRowId");return t===void 0?t:a=>{let n=t(a);return typeof n!="string"&&(eo(()=>R(25,{id:n}),"getRowIdString"),n=String(n)),n}}function Wm(e,t){const a=e.get("groupHideParentOfSingleChild");return!!(a===!0||a==="leafGroupsOnly"&&t.leafGroup||e.get("groupRemoveSingleChildren")||e.get("groupRemoveLowestSingleChildren")&&t.leafGroup)}function nu(e){const t=e.get("maxConcurrentDatasourceRequests");return t>0?t:void 0}function ru(e,t){const a=e.get("suppressGroupChangesColumnVisibility");if(a===!0||t&&a==="suppressHideOnGroup"||!t&&a==="suppressShowOnUngroup")return!1;const n=e.get("suppressRowGroupHidesColumns");if(t&&n===!0)return!1;const r=e.get("suppressMakeColumnVisibleAfterUnGroup");return!(!t&&r===!0)}function Fn(e){return e?.checkboxes??!0}function Si(e){return e?.mode==="multiRow"&&(e.headerCheckbox??!0)}function oo(e){if(typeof e=="object")return e.checkboxLocation??"selectionColumn"}function ou(e){return e?.hideDisabledCheckboxes??!1}function hl(e){return typeof e.get("rowSelection")!="string"}function Um(e){return e.get("cellSelection")!==void 0}function jm(e){const t=e.get("cellSelection");return t!==void 0?typeof t!="boolean"?t?.suppressMultiRanges??!1:!1:e.get("suppressMultiRangeSelection")}function mt(e){const t=e.get("cellSelection");return t!==void 0?!!t:e.get("enableRangeSelection")}function pl(e){const t=e.get("cellSelection");return t!==void 0?typeof t!="boolean"&&t.handle?.mode==="fill"?t.handle:void 0:{mode:"fill",setFillValue:e.get("fillOperation"),direction:e.get("fillHandleDirection"),suppressClearOnFillReduction:e.get("suppressClearOnFillReduction")}}function Mn(e){const t=e.get("cellSelection")??!1;return(typeof t=="object"&&t.enableColumnSelection)??!1}function _m(e){const t=e.get("rowSelection")??"single";if(typeof t=="string"){const a=e.get("suppressRowClickSelection"),n=e.get("suppressRowDeselection");return a&&n?!1:a?"enableDeselection":n?"enableSelection":!0}return t.mode==="singleRow"||t.mode==="multiRow"?t.enableClickSelection??!1:!1}function BR(e){const t=_m(e);return t===!0||t==="enableSelection"}function NR(e){const t=_m(e);return t===!0||t==="enableDeselection"}function fl(e){const t=e.get("rowSelection");return typeof t=="string"?e.get("isRowSelectable"):t?.isRowSelectable}function wr(e){const t="beanName"in e&&e.beanName==="gos"?e.get("rowSelection"):e.rowSelection;if(typeof t=="string")switch(t){case"multiple":return"multiRow";case"single":return"singleRow";default:return}switch(t?.mode){case"multiRow":case"singleRow":return t.mode;default:return}}function Ia(e){return wr(e)==="multiRow"}function HR(e){const t=e.get("rowSelection");return typeof t=="string"?e.get("rowMultiSelectWithClick"):t?.enableSelectionWithoutKeys??!1}function xi(e){const t=e.get("rowSelection");if(typeof t=="string"){const a=e.get("groupSelectsChildren"),n=e.get("groupSelectsFiltered");return a&&n?"filteredDescendants":a?"descendants":"self"}return t?.mode==="multiRow"?t.groupSelects:void 0}function Km(e,t=!0){const a=e.get("rowSelection");return typeof a!="object"?t?"all":void 0:a.mode==="multiRow"?a.selectAll:"all"}function qR(e){const t=e.get("rowSelection");return typeof t=="string"?!1:t?.mode==="multiRow"?t.ctrlASelectsRows??!1:!1}function En(e){const t=xi(e);return t==="descendants"||t==="filteredDescendants"}function Ym(e){const t=e.get("rowSelection");return typeof t=="object"&&t.masterSelects||"self"}function iu(e){return e.isModuleRegistered("SetFilter")&&!e.get("suppressSetFilterByDefault")}function Ne(e){return e.get("columnMenu")==="legacy"}function su(e){return!Ne(e)}function Qm(e){return!e||e.length<2?e:"on"+e[0].toUpperCase()+e.substring(1)}function WR(e,t,a){typeof e!="object"&&(e={});const n={...e};for(const r of a){const o=t[r];typeof o<"u"&&(n[r]=o)}return n}function UR(e,t){if(!e)return;const a={};let n=!1;for(const i of Object.keys(e))a[i]=e[i],n=!0;if(!n)return;const r={type:"gridOptionsChanged",options:a};t.dispatchEvent(r);const o={type:"componentStateChanged",...a};t.dispatchEvent(o)}function B(e,t){return e.addCommon(t)}function jR(e,t){return e[t]??e.gridOptions?.[t]??Zd(t)??xm[t]}function ml({gos:e},t){return t.button===2||t.ctrlKey&&e.get("allowContextMenuWithControlKey")}var _R={resizable:!0,sortable:!0},KR=0;function Zm(){return KR++}function wa(e){return e instanceof na}var YR=["asc","desc",null],QR=[{type:"absolute",direction:"asc"},{type:"absolute",direction:"desc"},null],na=class extends F{constructor(e,t,a,n){super(),this.colDef=e,this.userProvidedColDef=t,this.colId=a,this.primary=n,this.isColumn=!0,this.instanceId=Zm(),this.autoHeaderHeight=null,this.sortDef=Ut(),this._wasSortExplicitlyRemoved=!1,this.moving=!1,this.resizing=!1,this.menuVisible=!1,this.formulaRef=null,this.lastLeftPinned=!1,this.firstRightPinned=!1,this.filterActive=!1,this.colEventSvc=new Ta,this.tooltipEnabled=!1,this.rowGroupActive=!1,this.pivotActive=!1,this.aggregationActive=!1,this.flex=null,this.colIdSanitised=pt(a)}destroy(){super.destroy(),this.beans.rowSpanSvc?.deregister(this)}getInstanceId(){return this.instanceId}initState(){const{colDef:e,beans:{sortSvc:t,pinnedCols:a,colFlex:n}}=this;t?.initCol(this);const r=e.hide;r!==void 0?this.visible=!r:this.visible=!e.initialHide,a?.initCol(this),n?.initCol(this)}setColDef(e,t,a){const n=e.spanRows!==this.colDef.spanRows;this.colDef=e,this.userProvidedColDef=t,this.initMinAndMaxWidths(),this.initDotNotation(),this.initTooltip(),n&&(this.beans.rowSpanSvc?.deregister(this),this.initRowSpan()),this.dispatchColEvent("colDefChanged",a)}getUserProvidedColDef(){return this.userProvidedColDef}getParent(){return this.parent}getOriginalParent(){return this.originalParent}postConstruct(){this.initState(),this.initMinAndMaxWidths(),this.resetActualWidth("gridInitializing"),this.initDotNotation(),this.initTooltip(),this.initRowSpan(),this.addPivotListener()}initDotNotation(){const{gos:e,colDef:{field:t,tooltipField:a}}=this,n=e.get("suppressFieldDotNotation");this.fieldContainsDots=A(t)&&t.includes(".")&&!n,this.tooltipFieldContainsDots=A(a)&&a.includes(".")&&!n}initMinAndMaxWidths(){const e=this.colDef;this.minWidth=e.minWidth??this.beans.environment.getDefaultColumnMinWidth(),this.maxWidth=e.maxWidth??Number.MAX_SAFE_INTEGER}initTooltip(){this.beans.tooltipSvc?.initCol(this)}initRowSpan(){this.colDef.spanRows&&this.beans.rowSpanSvc?.register(this)}addPivotListener(){const e=this.beans.pivotColDefSvc,t=this.colDef.pivotValueColumn;!e||!t||this.addManagedListeners(t,{colDefChanged:a=>{const n=e.recreateColDef(this.colDef);this.setColDef(n,n,a.source)}})}resetActualWidth(e){const t=this.calculateColInitialWidth(this.colDef);this.setActualWidth(t,e,!0)}calculateColInitialWidth(e){const t=e.width??e.initialWidth??200;return Math.max(Math.min(t,this.maxWidth),this.minWidth)}isEmptyGroup(){return!1}isRowGroupDisplayed(e){return this.beans.showRowGroupCols?.isRowGroupDisplayed(this,e)??!1}isPrimary(){return this.primary}isFilterAllowed(){return!!this.colDef.filter}isFieldContainsDots(){return this.fieldContainsDots}isTooltipEnabled(){return this.tooltipEnabled}isTooltipFieldContainsDots(){return this.tooltipFieldContainsDots}getHighlighted(){return this.highlighted}__addEventListener(e,t){this.colEventSvc.addEventListener(e,t)}__removeEventListener(e,t){this.colEventSvc.removeEventListener(e,t)}addEventListener(e,t){this.frameworkEventListenerService=this.beans.frameworkOverrides.createLocalEventListenerWrapper?.(this.frameworkEventListenerService,this.colEventSvc);const a=this.frameworkEventListenerService?.wrap(e,t)??t;this.colEventSvc.addEventListener(e,a)}removeEventListener(e,t){const a=this.frameworkEventListenerService?.unwrap(e,t)??t;this.colEventSvc.removeEventListener(e,a)}createColumnFunctionCallbackParams(e){return B(this.gos,{node:e,data:e.data,column:this,colDef:this.colDef})}isSuppressNavigable(e){return this.beans.cellNavigation?.isSuppressNavigable(this,e)??!1}isCellEditable(e){return this.beans.editSvc?.isCellEditable({rowNode:e,column:this})??!1}isSuppressFillHandle(){return!!this.colDef.suppressFillHandle}isAutoHeight(){return!!this.colDef.autoHeight}isAutoHeaderHeight(){return!!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.beans.selectionSvc?.isCellCheckboxSelection(this,e)??!1}isSuppressPaste(e){return this.isColumnFunc(e,this.colDef?.suppressPaste??null)}isResizable(){return!!this.getColDefValue("resizable")}getColDefValue(e){return this.colDef[e]??_R[e]}isColumnFunc(e,t){if(typeof t=="boolean")return t;if(typeof t=="function"){const a=this.createColumnFunctionCallbackParams(e);return t(a)}return!1}createColumnEvent(e,t){return B(this.gos,{type:e,column:this,columns:[this],source:t})}isMoving(){return this.moving}getSort(){return this.sortDef.direction}getSortDef(){return this.sortDef.direction?this.sortDef:null}getColDefAllowedSortTypes(){const e=[],{sort:t,initialSort:a}=this.colDef,n=t===null?t:ra(t?.type),r=a===null?a:ra(a?.type);return n&&e.push(n),r&&e.push(r),e}getSortingOrder(){const e=this.getColDefAllowedSortTypes().includes("absolute")?QR:YR;return(this.colDef.sortingOrder??this.gos.get("sortingOrder")??e).map(t=>Ut(t))}getAvailableSortTypes(){const e=this.getSortingOrder().reduce((t,a)=>(a.direction&&t.push(a.type),t),this.getColDefAllowedSortTypes());return new Set(e)}get wasSortExplicitlyRemoved(){return this._wasSortExplicitlyRemoved}setSortDef(e,t=!1){t||(this._wasSortExplicitlyRemoved=!e.direction),this.sortDef=e}isSortable(){return!!this.getColDefValue("sortable")}isSortAscending(){return this.getSort()==="asc"}isSortDescending(){return this.getSort()==="desc"}isSortNone(){return ie(this.getSort())}isSorting(){return A(this.getSort())}getSortIndex(){return this.sortIndex}isMenuVisible(){return this.menuVisible}getAggFunc(){return this.aggFunc}getLeft(){return this.left}getOldLeft(){return this.oldLeft}getRight(){return this.left+this.actualWidth}setLeft(e,t){this.oldLeft=this.left,this.left!==e&&(this.left=e,this.dispatchColEvent("leftChanged",t))}isFilterActive(){return this.filterActive}isHovered(){return R(261),!!this.beans.colHover?.isHovered(this)}setFirstRightPinned(e,t){this.firstRightPinned!==e&&(this.firstRightPinned=e,this.dispatchColEvent("firstRightPinnedChanged",t))}setLastLeftPinned(e,t){this.lastLeftPinned!==e&&(this.lastLeftPinned=e,this.dispatchColEvent("lastLeftPinnedChanged",t))}isFirstRightPinned(){return this.firstRightPinned}isLastLeftPinned(){return this.lastLeftPinned}isPinned(){return this.pinned==="left"||this.pinned==="right"}isPinnedLeft(){return this.pinned==="left"}isPinnedRight(){return this.pinned==="right"}getPinned(){return this.pinned}setVisible(e,t){const a=e===!0;this.visible!==a&&(this.visible=a,this.dispatchColEvent("visibleChanged",t)),this.dispatchStateUpdatedEvent("hide")}isVisible(){return this.visible}isSpanHeaderHeight(){return!this.getColDef().suppressSpanHeaderHeight}getFirstRealParent(){let e=this.getOriginalParent();for(;e?.isPadding();)e=e.getOriginalParent();return e}getColumnGroupPaddingInfo(){let e=this.getParent();if(!e?.isPadding())return{numberOfParents:0,isSpanningTotal:!1};const t=e.getPaddingLevel()+1;let a=!0;for(;e;){if(!e.isPadding()){a=!1;break}e=e.getParent()}return{numberOfParents:t,isSpanningTotal:a}}getColDef(){return this.colDef}getDefinition(){return this.colDef}getColumnGroupShow(){return this.colDef.columnGroupShow}getColId(){return this.colId}getId(){return this.colId}getUniqueId(){return this.colId}getActualWidth(){return this.actualWidth}getAutoHeaderHeight(){return this.autoHeaderHeight}setAutoHeaderHeight(e){const t=e!==this.autoHeaderHeight;return this.autoHeaderHeight=e,t}createBaseColDefParams(e){return B(this.gos,{node:e,data:e.data,colDef:this.colDef,column:this})}getColSpan(e){if(ie(this.colDef.colSpan))return 1;const t=this.createBaseColDefParams(e),a=this.colDef.colSpan(t);return Math.max(a,1)}getRowSpan(e){if(ie(this.colDef.rowSpan))return 1;const t=this.createBaseColDefParams(e),a=this.colDef.rowSpan(t);return Math.max(a,1)}setActualWidth(e,t,a=!1){e=Math.max(e,this.minWidth),e=Math.min(e,this.maxWidth),this.actualWidth!==e&&(this.actualWidth=e,this.flex!=null&&t!=="flex"&&t!=="gridInitializing"&&(this.flex=null),a||this.fireColumnWidthChangedEvent(t)),this.dispatchStateUpdatedEvent("width")}fireColumnWidthChangedEvent(e){this.dispatchColEvent("widthChanged",e)}isGreaterThanMax(e){return e>this.maxWidth}getMinWidth(){return this.minWidth}getMaxWidth(){return this.maxWidth}getFlex(){return this.flex}isRowGroupActive(){return this.rowGroupActive}isPivotActive(){return this.pivotActive}isAnyFunctionActive(){return this.isPivotActive()||this.isRowGroupActive()||this.isValueActive()}isAnyFunctionAllowed(){return this.isAllowPivot()||this.isAllowRowGroup()||this.isAllowValue()}isValueActive(){return this.aggregationActive}isAllowPivot(){return this.colDef.enablePivot===!0}isAllowValue(){return this.colDef.enableValue===!0}isAllowRowGroup(){return this.colDef.enableRowGroup===!0}isAllowFormula(){return this.colDef.allowFormula===!0}dispatchColEvent(e,t,a){const n=this.createColumnEvent(e,t);a&&Oe(n,a),this.colEventSvc.dispatchEvent(n)}dispatchStateUpdatedEvent(e){this.colEventSvc.dispatchEvent({type:"columnStateUpdated",key:e})}};function Ut(e){return io(e)?{direction:e.direction,type:e.type}:{direction:Ri(e),type:ra(e)}}function nn(e){return e==="asc"||e==="desc"||e===null}function vl(e){return e==="default"||e==="absolute"}function io(e){if(!e||typeof e!="object")return!1;const t=e;return vl(t.type)&&nn(t.direction)}function ki(e,t){return e?t?e.type===t.type&&e.direction===t.direction:e?e.direction===null:!0:t?t.direction===null:!0}function Ri(e){return nn(e)?e:null}function ra(e){return vl(e)?e:"default"}function lu(e,t,a){const r=a?.()??t.sortSvc.getDisplaySortForColumn(e),o=ra(r?.type),i=Ri(r?.direction),s=e.getAvailableSortTypes(),l=s.has("default"),c=s.has("absolute");return{isDefaultSortAllowed:l,isAbsoluteSortAllowed:c,isAbsoluteSort:o==="absolute",isDefaultSort:o==="default",isAscending:i==="asc",isDescending:i==="desc",direction:i}}function ke(e){return e instanceof yr}var yr=class extends F{constructor(e,t,a,n){super(),this.colGroupDef=e,this.groupId=t,this.padding=a,this.level=n,this.isColumn=!1,this.expandable=!1,this.instanceId=Zm(),this.expandableListenerRemoveCallback=null,this.expanded=!!e?.openByDefault}destroy(){this.expandableListenerRemoveCallback&&this.reset(null,void 0),super.destroy()}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}getOriginalParent(){return this.originalParent}getLevel(){return this.level}isVisible(){return this.children?this.children.some(e=>e.isVisible()):!1}isPadding(){return this.padding}setExpanded(e){this.expanded=e===void 0?!1:e,this.dispatchLocalEvent({type:"expandedChanged"})}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}forEachLeafColumn(e){if(this.children)for(const t of this.children)wa(t)?e(t):ke(t)&&t.forEachLeafColumn(e)}addLeafColumns(e){if(this.children)for(const t of this.children)wa(t)?e.push(t):ke(t)&&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);for(const t of this.getLeafColumns())t.__addEventListener("visibleChanged",e);this.expandableListenerRemoveCallback=()=>{for(const t of this.getLeafColumns())t.__removeEventListener("visibleChanged",e);this.expandableListenerRemoveCallback=null}}setExpandable(){if(this.isPadding())return;let e=!1,t=!1,a=!1;const n=this.findChildrenRemovingPadding();for(let o=0,i=n.length;o{for(const n of a)ke(n)&&n.isPadding()?t(n.children):e.push(n)};return t(this.children),e}onColumnVisibilityChanged(){this.setExpandable()}},ZR={numericColumn:{headerClass:"ag-right-aligned-header",cellClass:"ag-right-aligned-cell"},rightAligned:{headerClass:"ag-right-aligned-header",cellClass:"ag-right-aligned-cell"}};function cu(e,t,a){const n={},r=e.gos;return Object.assign(n,r.get("defaultColGroupDef")),Object.assign(n,t),r.validateColDef(n,a),n}var Xm=class{constructor(){this.existingKeys={}}addExistingKeys(e){for(let t=0;t0&&R(273,{providedId:e,usedId:r}),this.existingKeys[r]=!0,r}a++}}},Jm=(e,t)=>{ke(e)&&e.setupExpandable(),e.originalParent=t};function $m(e,t=null,a,n,r){const{existingCols:o,existingGroups:i}=ev(n),s=new Map(o.map(f=>[f.getId(),f])),l=new Map(i.map(f=>[f.getId(),f]));let c=0;const d=(f,m)=>{if(c=Math.max(c,m),nv(f)){if(!e.colGroupSvc)return null;const y=f.groupId,S=l.get(y),k=cu(e,f,y),M=new yr(k,y,!1,m);return e.context.createBean(M),S&&M.setExpanded(S.isExpanded()),M.setChildren(f.children.map(E=>d(E,m+1))),M}const v=f.colId;let C=s.get(v);const b=Pn(e,f,C?.getColId()??v);return C?(C.setColDef(b,f,r),uu(e,C,b,r)):(C=new na(b,f,v,a),e.context.createBean(C)),e.dataTypeSvc?.addColumnListeners(C),C},u=t?.map(f=>d(f,0))??[];let g=0;const h={getUniqueKey:(f,m)=>String(++g)},p=e.colGroupSvc?e.colGroupSvc.balanceColumnTree(u,0,c,h):u;return La(null,p,Jm),{columnTree:p,treeDepth:c}}function du(e,t=null,a,n,r){const o=new Xm,{existingCols:i,existingGroups:s,existingColKeys:l}=ev(n);o.addExistingKeys(l);const c=tv(e,t,0,a,i,o,s,r),{colGroupSvc:d}=e,u=d?.findMaxDepth(c,0)??0,g=d?d.balanceColumnTree(c,0,u,o):c;return La(null,g,Jm),{columnTree:g,treeDepth:u}}function ev(e){const t=[],a=[],n=[];return e&&La(null,e,r=>{if(ke(r)){const o=r;a.push(o)}else{const o=r;n.push(o.getId()),t.push(o)}}),{existingCols:t,existingGroups:a,existingColKeys:n}}function tv(e,t,a,n,r,o,i,s){if(!t)return[];const{colGroupSvc:l}=e,c=new Array(t.length);for(let d=0;d0))if(a.width!=null)t.setActualWidth(a.width,n);else{const o=t.getActualWidth();t.setActualWidth(o,n)}}function JR(e,t){if(t)for(let a=0;a{for(let r=0;rt+a.getActualWidth(),0)}function oa(e,t,a){const n={};if(!t)return;La(null,t,o=>{n[o.getInstanceId()]=o}),a&&La(null,a,o=>{n[o.getInstanceId()]=null});const r=Object.values(n).filter(o=>o!=null);e.context.destroyBeans(r)}function Sr(e){return e.getId().startsWith(jt)}function za(e){return(typeof e=="string"?e:"getColId"in e?e.getColId():e.colId)?.startsWith(Cl)??!1}function Re(e){return(typeof e=="string"?e:"getColId"in e?e.getColId():e.colId)?.startsWith(Fi)??!1}function xr(e){return za(e)||Re(e)}function wl(e){let t=[];return e instanceof Array?t=e:typeof e=="string"&&(t=e.split(",")),t}function Mi(e,t){return we(e,t,(a,n)=>a.getColId()===n.getColId())}function Ei(e){e.map={};for(const t of e.list)e.map[t.getId()]=t}function Oa(e){return e==="optionsUpdated"?"gridOptionsChanged":e}function on(e,t){return e===t||e.colId==t||e.getColDef()===t}var tF=(e,t)=>(a,n)=>{const r={value1:void 0,value2:void 0};let o=!1;return e&&(e[a]!==void 0&&(r.value1=e[a],o=!0),A(n)&&e[n]!==void 0&&(r.value2=e[n],o=!0)),!o&&t&&(t[a]!==void 0&&(r.value1=t[a]),A(n)&&t[n]!==void 0&&(r.value2=t[n])),r};function yl(e,t){const a={...e,sort:void 0,colId:t},n=gu(e);return n&&(a.sort=n.direction,a.sortType=n.type),a}function gu(e){const{sort:t,initialSort:a}=e,n=io(t)||nn(t),r=io(a)||nn(a);return n?Ut(t):r?Ut(a):null}function ov(e,t){return e+"_"+t}function Le(e){return e instanceof so}var so=class extends F{constructor(e,t,a,n){super(),this.providedColumnGroup=e,this.groupId=t,this.partId=a,this.pinned=n,this.isColumn=!1,this.displayedChildren=[],this.autoHeaderHeight=null,this.parent=null,this.colIdSanitised=pt(this.getUniqueId())}reset(){this.parent=null,this.children=null,this.displayedChildren=null}getParent(){return this.parent}getUniqueId(){return ov(this.groupId,this.partId)}isEmptyGroup(){return this.displayedChildren.length===0}isMoving(){const e=this.getProvidedColumnGroup().getLeafColumns();return!e||e.length===0?!1:e.every(t=>t.isMoving())}checkLeft(){for(const e of this.displayedChildren)Le(e)&&e.checkLeft();if(this.displayedChildren.length>0)if(this.gos.get("enableRtl")){const t=W(this.displayedChildren).getLeft();this.setLeft(t)}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=this.left,this.left!==e&&(this.left=e,this.dispatchLocalEvent({type:"leftChanged"}))}getPinned(){return this.pinned}getGroupId(){return this.groupId}getPartId(){return this.partId}getActualWidth(){let e=0;for(const t of this.displayedChildren??[])e+=t.getActualWidth();return e}isResizable(){if(!this.displayedChildren)return!1;let e=!1;for(const t of this.displayedChildren)t.isResizable()&&(e=!0);return e}getMinWidth(){let e=0;for(const t of this.displayedChildren)e+=t.getMinWidth();return 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)}isAutoHeaderHeight(){return!!this.getColGroupDef()?.autoHeaderHeight}getAutoHeaderHeight(){return this.autoHeaderHeight}setAutoHeaderHeight(e){const t=e!==this.autoHeaderHeight;return this.autoHeaderHeight=e,t}addDisplayedLeafColumns(e){for(const t of this.displayedChildren??[])wa(t)?e.push(t):Le(t)&&t.addDisplayedLeafColumns(e)}addLeafColumns(e){for(const t of this.children??[])wa(t)?e.push(t):Le(t)&&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?.isPadding()?0:1+e.getPaddingLevel()}calculateDisplayedColumns(){this.displayedChildren=[];let e=this;for(;e?.isPadding();)e=e.getParent();if(!(e?e.getProvidedColumnGroup().isExpandable():!1)){this.displayedChildren=this.children,this.dispatchLocalEvent({type:"displayedChildrenChanged"});return}for(const a of this.children??[]){if(Le(a)&&!a.displayedChildren?.length)continue;switch(a.getColumnGroupShow()){case"open":e.getProvidedColumnGroup().isExpanded()&&this.displayedChildren.push(a);break;case"closed":e.getProvidedColumnGroup().isExpanded()||this.displayedChildren.push(a);break;default:this.displayedChildren.push(a);break}}this.dispatchLocalEvent({type:"displayedChildrenChanged"})}},w={BACKSPACE:"Backspace",TAB:"Tab",ENTER:"Enter",ESCAPE:"Escape",SPACE:" ",LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown",DELETE:"Delete",F2:"F2",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",PAGE_HOME:"Home",PAGE_END:"End",A:"KeyA",C:"KeyC",D:"KeyD",V:"KeyV",X:"KeyX",Y:"KeyY",Z:"KeyZ"},aF=65,nF=67,rF=86,oF=68,iF=90,sF=89;function iv(e){const{keyCode:t}=e;let a;switch(t){case aF:a=w.A;break;case nF:a=w.C;break;case rF:a=w.V;break;case oF:a=w.D;break;case iF:a=w.Z;break;case sF:a=w.Y;break;default:a=e.code}return a}function sv(e){return typeof e.then=="function"}function lF(e,t){return new j(a=>{a(window.setInterval(e,t))})}var j=class Ns{constructor(t){this.status=0,this.resolution=null,this.waiters=[],t(a=>this.onDone(a),a=>this.onReject(a))}static all(t){return t.length?new Ns(a=>{let n=t.length;const r=new Array(n);t.forEach((o,i)=>{o.then(s=>{r[i]=s,n--,n===0&&a(r)})})}):Ns.resolve()}static resolve(t=null){return new Ns(a=>a(t))}then(t){return new Ns(a=>{this.status===1?a(t(this.resolution)):this.waiters.push(n=>a(t(n)))})}onDone(t){this.status=1,this.resolution=t;for(const a of this.waiters)a(t)}onReject(t){}},lv=class extends _e{constructor(){super(...arguments),this.beanName="dragAndDrop",this.dragSourceAndParamsList=[],this.dragItem=null,this.dragInitialSourcePointerOffsetX=0,this.dragInitialSourcePointerOffsetY=0,this.lastMouseEvent=null,this.lastDraggingEvent=null,this.dragSource=null,this.dragImageCompPromise=null,this.dragImageComp=null,this.dragImageLastIcon=void 0,this.dragImageLastLabel=void 0,this.dropTargets=[],this.externalDropZoneCount=0,this.lastDropTarget=null}addDragSource(e,t=!1){const a={capturePointer:!0,dragSource:e,eElement:e.eElement,dragStartPixels:e.dragStartPixels,onDragStart:n=>this.onDragStart(e,n),onDragStop:this.onDragStop.bind(this),onDragging:this.onDragging.bind(this),onDragCancel:this.onDragCancel.bind(this),includeTouch:t};this.dragSourceAndParamsList.push(a),this.beans.dragSvc.addDragSource(a)}setDragImageCompIcon(e,t=!1){const a=this.dragImageComp;a&&(t||this.dragImageLastIcon!==e)&&(this.dragImageLastIcon=e,a.setIcon(e,t))}removeDragSource(e){const{dragSourceAndParamsList:t,beans:a}=this;for(let n=0,r=t.length;n{for(const c of l){const{width:d,height:u,left:g,right:h,top:p,bottom:f}=c.getBoundingClientRect();if(d===0||u===0)return!1;const m=s.clientX>=g&&s.clientX=p&&s.clientY0}findExternalZone(e){const t=this.dropTargets;for(let a=0,n=t.length;a0?"down":p<0?"up":null,hDirection:h<0?"left":h>0?"right":null,initialSourcePointerOffsetX:s,initialSourcePointerOffsetY:l,dragSource:n,fromNudge:a,dragItem:r,dropZoneTarget:c,dropTarget:o?.dropTarget??null,changed:!!o?.changed});return this.lastDraggingEvent=f,f}positionDragImageComp(e){const t=this.dragImageComp?.getGui();t&&tl(t,e,this.beans)}removeDragImageComp(e){this.dragImageComp===e&&(this.dragImageComp=null),e&&(e.getGui()?.remove(),this.destroyBean(e))}createAndUpdateDragImageComp(e){const t=this.createDragImageComp(e)??null;this.dragImageCompPromise=t,t?.then(a=>{const n=this.lastMouseEvent;if(t!==this.dragImageCompPromise||!n||!this.isAlive()){this.destroyBean(a);return}this.dragImageCompPromise=null,this.dragImageLastIcon=void 0,this.dragImageLastLabel=void 0;const r=this.dragImageComp;r!==a&&(this.dragImageComp=a,this.removeDragImageComp(r)),a&&(this.appendDragImageComp(a),this.updateDragImageComp(),this.positionDragImageComp(n))})}appendDragImageComp(e){const t=e.getGui(),a=t.style;a.position="absolute",a.zIndex="9999",this.beans.dragSvc?.hasPointerCapture()&&(a.pointerEvents="none"),this.gos.setInstanceDomData(t),this.beans.environment.applyThemeClasses(t),a.top="20px",a.left="20px";const n=dr(this.beans);n?n.appendChild(t):this.warnNoBody()}updateDragImageComp(){const{dragImageComp:e,dragSource:t,lastDropTarget:a,lastDraggingEvent:n,dragImageLastLabel:r}=this;if(!e)return;this.setDragImageCompIcon(a?.getIconName?.(n)??null);let o=t?.dragItemName;typeof o=="function"&&(o=o(n)),o||(o=""),r!==o&&(this.dragImageLastLabel=o,e.setLabel(o))}};function cv(e){return typeof e=="object"&&!!e.component}function cF(e){return e?e.prototype&&"getGui"in e.prototype:!1}function dv(e,t,a,n){const{name:r}=a;let o,i,s,l,c,d;if(t){const u=t,g=u[r+"Selector"],h=g?g(n):null,p=f=>{typeof f=="string"?o=f:f!=null&&f!==!0&&(e.isFrameworkComponent(f)?s=f:i=f)};h?(p(h.component),l=h.params,c=h.popup,d=h.popupPosition):p(u[r])}return{compName:o,jsComp:i,fwComp:s,paramsFromSelector:l,popupFromSelector:c,popupPositionFromSelector:d}}var dF=class extends F{constructor(){super(...arguments),this.beanName="userCompFactory"}wireBeans(e){this.agCompUtils=e.agCompUtils,this.registry=e.registry,this.frameworkCompWrapper=e.frameworkCompWrapper,this.gridOptions=e.gridOptions}getCompDetailsFromGridOptions(e,t,a,n=!1){return this.getCompDetails(this.gridOptions,e,t,a,n)}getCompDetails(e,t,a,n,r=!1){const{name:o,cellRenderer:i}=t;let{compName:s,jsComp:l,fwComp:c,paramsFromSelector:d,popupFromSelector:u,popupPositionFromSelector:g}=dv(this.beans.frameworkOverrides,e,t,n),h,p;const f=b=>{const y=this.registry.getUserComponent(o,b);y&&(l=y.componentFromFramework?void 0:y.component,c=y.componentFromFramework?y.component:void 0,h=y.params,p=y.processParams)};if(s!=null&&f(s),l==null&&c==null&&a!=null&&f(a),l&&i&&!cF(l)&&(l=this.agCompUtils?.adaptFunction(t,l)),!l&&!c){const{validation:b}=this.beans;r&&(s!==a||!a)?s?b?.isProvidedUserComp(s)||J(50,{compName:s}):a?b||J(260,{...this.gos.getModuleErrorParams(),propName:o,compName:a}):J(216,{name:o}):a&&!b&&J(146,{comp:a});return}const m=this.mergeParams(e,t,n,d,h,p),v=l==null,C=l??c;return{componentFromFramework:v,componentClass:C,params:m,type:t,popupFromSelector:u,popupPositionFromSelector:g,newAgStackInstance:()=>this.newAgStackInstance(C,v,m,t)}}newAgStackInstance(e,t,a,n){const r=!t;let o;r?o=new e:o=this.frameworkCompWrapper.wrap(e,n.mandatoryMethods,n.optionalMethods,n),this.createBean(o);const i=o.init?.(a);return i==null?j.resolve(o):i.then(()=>o)}mergeParams(e,t,a,n=null,r,o){const i={...a,...r},l=e?.[t.name+"Params"];if(typeof l=="function"){const c=l(a);Oe(i,c)}else typeof l=="object"&&Oe(i,l);return Oe(i,n),o?o(i):i}},uF={name:"dateComponent",mandatoryMethods:["getDate","setDate"],optionalMethods:["afterGuiAttached","setInputPlaceholder","setInputAriaLabel","setDisabled","refresh"]},gF={name:"dragAndDropImageComponent",mandatoryMethods:["setIcon","setLabel"]},hF={name:"headerComponent",optionalMethods:["refresh"]},pF={name:"innerHeaderComponent"},fF={name:"innerHeaderGroupComponent"},mF={name:"headerGroupComponent"},vF={name:"innerRenderer",cellRenderer:!0,optionalMethods:["afterGuiAttached"]},CF={name:"cellRenderer",optionalMethods:["refresh","afterGuiAttached"],cellRenderer:!0},bF={name:"cellRenderer",optionalMethods:["refresh","afterGuiAttached"]},wF={name:"loadingCellRenderer",cellRenderer:!0},yF={name:"cellEditor",mandatoryMethods:["getValue"],optionalMethods:["isPopup","isCancelBeforeStart","isCancelAfterEnd","getPopupPosition","focusIn","focusOut","afterGuiAttached","refresh"]},SF={name:"tooltipComponent"},hu={name:"filter",mandatoryMethods:["isFilterActive","doesFilterPass","getModel","setModel"],optionalMethods:["afterGuiAttached","afterGuiDetached","onNewRowsLoaded","getModelAsString","onFloatingFilterChanged","onAnyFilterChanged","refresh"]},xF={name:"floatingFilterComponent",mandatoryMethods:["onParentModelChanged"],optionalMethods:["afterGuiAttached","refresh"]},kF={name:"fullWidthCellRenderer",optionalMethods:["refresh","afterGuiAttached"],cellRenderer:!0},RF={name:"loadingCellRenderer",cellRenderer:!0},FF={name:"groupRowRenderer",optionalMethods:["afterGuiAttached"],cellRenderer:!0},MF={name:"detailCellRenderer",optionalMethods:["refresh"],cellRenderer:!0};function EF(e,t){return e.getCompDetailsFromGridOptions(gF,"agDragAndDropImage",t,!0)}function Pi(e,t,a){return e.getCompDetails(t,vF,void 0,a)}function PF(e,t,a){return e.getCompDetails(t,hF,"agColumnHeader",a)}function AF(e,t,a){return e.getCompDetails(t,pF,void 0,a)}function TF(e,t){const a=t.columnGroup.getColGroupDef();return e.getCompDetails(a,mF,"agColumnGroupHeader",t)}function DF(e,t,a){return e.getCompDetails(t,fF,void 0,a)}function IF(e,t){return e.getCompDetailsFromGridOptions(kF,void 0,t,!0)}function LF(e,t){return e.getCompDetailsFromGridOptions(RF,"agLoadingCellRenderer",t,!0)}function zF(e,t){return e.getCompDetailsFromGridOptions(FF,"agGroupRowRenderer",t,!0)}function OF(e,t){return e.getCompDetailsFromGridOptions(MF,"agDetailCellRenderer",t,!0)}function kr(e,t,a){return e.getCompDetails(t,CF,void 0,a)}function pu(e,t,a){return e.getCompDetails(t,bF,void 0,a)}function uv(e,t,a){return e.getCompDetails(t,wF,"agSkeletonCellRenderer",a,!0)}function gv(e,t,a){return e.getCompDetails(t,yF,"agCellEditor",a,!0)}function fu(e,t,a,n){const r=t.filter;return cv(r)&&(t={filter:r.component,filterParams:t.filterParams}),e.getCompDetails(t,hu,n,a,!0)}function GF(e,t,a){return e.getCompDetails(t,uF,"agDateInput",a,!0)}function VF(e,t){return e.getCompDetails(t.colDef,SF,"agTooltipComponent",t,!0)}function mu(e,t,a,n){return e.getCompDetails(t,xF,n,a)}function hv(e,t){return dv(e,t,hu)}function vu(e,t,a){return e.mergeParams(t,hu,a)}var ia=(e=>(e[e.ToolPanel=0]="ToolPanel",e[e.HeaderCell=1]="HeaderCell",e[e.RowDrag=2]="RowDrag",e[e.ChartPanel=3]="ChartPanel",e[e.AdvancedFilterBuilder=4]="AdvancedFilterBuilder",e))(ia||{}),BF=class extends lv{createEvent(e){return B(this.gos,e)}createDragImageComp(e){const{gos:t,beans:a}=this;return EF(a.userCompFactory,B(t,{dragSource:e}))?.newAgStackInstance()}handleEnter(e,t){e?.onGridEnter?.(t)}handleExit(e,t){e?.onGridExit?.(t)}warnNoBody(){R(54)}isDropZoneWithinThisGrid(e){return this.beans.ctrlsSvc.getGridBodyCtrl().eGridBody.contains(e.dropZoneTarget)}registerGridDropTarget(e,t){const a={getContainer:e,isInterestedIn:n=>n===1||n===0,getIconName:()=>"notAllowed"};this.addDropTarget(a),t.addDestroyFunc(()=>this.removeDropTarget(a))}};function Cu(e){return!!e.operator}var pv="ag-resizer-wrapper",An=(e,t)=>({tag:"div",ref:`${e}Resizer`,cls:`ag-resizer ag-resizer-${t}`}),NF={tag:"div",cls:pv,children:[An("eTopLeft","topLeft"),An("eTop","top"),An("eTopRight","topRight"),An("eRight","right"),An("eBottomRight","bottomRight"),An("eBottom","bottom"),An("eBottomLeft","bottomLeft"),An("eLeft","left")]},bu=class extends _e{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={popup:!1,...t}}wireBeans(e){this.popupSvc=e.popupSvc,this.dragSvc=e.dragSvc}center(e){const{clientHeight:t,clientWidth:a}=this.offsetParent,n=a/2-this.getWidth()/2,r=t/2-this.getHeight()/2;this.offsetElement(n,r,e)}initialisePosition(e){if(this.positioned)return;const{centered:t,forcePopupParentAsOffsetParent:a,minWidth:n,width:r,minHeight:o,height:i,x:s,y:l}=this.config;this.offsetParent||this.setOffsetParent();let c=0,d=0;const u=Be(this.element);if(u){const g=this.findBoundaryElement(),h=window.getComputedStyle(g);if(h.minWidth!=null){const p=g.offsetWidth-this.element.offsetWidth;d=Number.parseInt(h.minWidth,10)-p}if(h.minHeight!=null){const p=g.offsetHeight-this.element.offsetHeight;c=Number.parseInt(h.minHeight,10)-p}}if(this.minHeight=o||c,this.minWidth=n||d,r&&this.setWidth(r),i&&this.setHeight(i),(!r||!i)&&this.refreshSize(),t)this.center(e);else if(s||l)this.offsetElement(s,l,e);else if(u&&a){let g=this.boundaryEl,h=!0;if(g||(g=this.findBoundaryElement(),h=!1),g){const p=Number.parseFloat(g.style.top),f=Number.parseFloat(g.style.left);h?this.offsetElement(Number.isNaN(f)?0:f,Number.isNaN(p)?0:p,e):this.setPosition(f,p)}}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 a=this.moveElementDragListener||{eElement:t,onDragStart:this.onMoveStart.bind(this),onDragging:this.onMove.bind(this),onDragStop:this.onMoveEnd.bind(this)};e?(this.dragSvc?.addDragSource(a),this.moveElementDragListener=a):(this.dragSvc?.removeDragSource(a),this.moveElementDragListener=void 0)}setResizable(e){if(this.clearResizeListeners(),e?this.addResizers():this.removeResizers(),typeof e=="boolean"){if(e===!1)return;e={topLeft:e,top:e,topRight:e,right:e,bottomRight:e,bottom:e,bottomLeft:e,left:e}}for(const t of Object.keys(e)){const a=!!e[t],n=this.getResizerElement(t),r={dragStartPixels:0,eElement:n,onDragStart:o=>this.onResizeStart(o,t),onDragging:this.onResize.bind(this),onDragStop:o=>this.onResizeEnd(o,t)};(a||!this.isAlive()&&!a)&&(a?(this.dragSvc?.addDragSource(r),this.resizeListeners.push(r),n.style.pointerEvents="all"):n.style.pointerEvents="none",this.resizable[t]=a)}}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;t!==-1&&(this.element.style.width=`${t}px`),e!==-1&&(this.element.style.height=`${e}px`)}getHeight(){return this.element.offsetHeight}setHeight(e){const{popup:t}=this.config,a=this.element;let n=!1;if(typeof e=="string"&&e.includes("%"))pi(a,e),e=gi(a),n=!0;else if(e=Math.max(this.minHeight,e),this.positioned){const r=this.getAvailableHeight();r&&e>r&&(e=r)}this.getHeight()!==e&&(n?(a.style.maxHeight="unset",a.style.minHeight="unset"):t?pi(a,e):(a.style.height=`${e}px`,a.style.flex="0 0 auto",this.lastSize.height=typeof e=="number"?e:Number.parseFloat(e)))}getAvailableHeight(){const{popup:e,forcePopupParentAsOffsetParent:t}=this.config;this.positioned||this.initialisePosition();const{clientHeight:a}=this.offsetParent;if(!a)return null;const n=this.element.getBoundingClientRect(),r=this.offsetParent.getBoundingClientRect(),o=e?this.position.y:n.top,i=e?0:r.top;let s=0;if(t){const c=this.element.parentElement;if(c){const{bottom:d}=c.getBoundingClientRect();s=d-n.bottom}}return a+i-o-s}getWidth(){return this.element.offsetWidth}setWidth(e){const t=this.element,{popup:a}=this.config;let n=!1;if(typeof e=="string"&&e.includes("%"))ta(t,e),e=yn(t),n=!0;else if(this.positioned){e=Math.max(this.minWidth,e);const{clientWidth:r}=this.offsetParent,o=a?this.position.x:this.element.getBoundingClientRect().left;r&&e+o>r&&(e=r-o)}this.getWidth()!==e&&(n?(t.style.maxWidth="unset",t.style.minWidth="unset"):this.config.popup?ta(t,e):(t.style.width=`${e}px`,t.style.flex=" unset",this.lastSize.width=typeof e=="number"?e:Number.parseFloat(e)))}offsetElement(e=0,t=0,a){const{forcePopupParentAsOffsetParent:n}=this.config,r=n?this.boundaryEl:this.element;r&&(this.popupSvc?.positionPopup({ePopup:r,keepWithinBounds:!0,skipObserver:this.movable||this.isResizable(),updatePosition:()=>({x:e,y:t}),postProcessCallback:a}),this.setPosition(Number.parseFloat(r.style.left),Number.parseFloat(r.style.top)))}constrainSizeToAvailableHeight(e){if(!this.config.forcePopupParentAsOffsetParent)return;const t=()=>{const a=this.getAvailableHeight();this.element.style.setProperty("max-height",`${a}px`)};e&&this.popupSvc?(this.resizeObserverSubscriber?.(),this.resizeObserverSubscriber=Ca(this.beans,this.popupSvc?.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:a,isTop:n,anywhereWithin:r,topBuffer:o}=e,i=t.clientX-this.dragStartPosition.x,s=t.clientY-this.dragStartPosition.y,l=this.shouldSkipX(t,!!a,!!r,i)?0:i,c=this.shouldSkipY(t,!!n,o,s)?0:s;return{movementX:l,movementY:c}}shouldSkipX(e,t,a,n){const r=this.element.getBoundingClientRect(),o=this.offsetParent.getBoundingClientRect(),i=this.boundaryEl.getBoundingClientRect(),s=this.config.popup?this.position.x:r.left;let l=s<=0&&o.left>=e.clientX||o.right<=e.clientX&&o.right<=i.right;return l?!0:(t?l=n<0&&e.clientX>s+o.left||n>0&&e.clientXi.right||n>0&&e.clientXi.right||n>0&&e.clientX=e.clientY||o.bottom<=e.clientY&&o.bottom<=i.bottom;return l?!0:(t?l=n<0&&e.clientY>s+o.top+a||n>0&&e.clientYi.bottom||n>0&&e.clientY({element:this.element.querySelector(`[data-ref=${t}Resizer]`)});this.resizerMap={topLeft:e("eTopLeft"),top:e("eTop"),topRight:e("eTopRight"),right:e("eRight"),bottomRight:e("eBottomRight"),bottom:e("eBottom"),bottomLeft:e("eBottomLeft"),left:e("eLeft")}}addResizers(){if(this.resizersAdded)return;const e=this.element;e&&(e.appendChild(je(NF)),this.createResizeMap(),this.resizersAdded=!0)}removeResizers(){this.resizerMap=void 0,this.element.querySelector(`.${pv}`)?.remove(),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:a,forcePopupParentAsOffsetParent:n}=this.config;!a&&!n&&this.applySizeToSiblings(this.currentResizer.isBottom||this.currentResizer.isTop),this.isResizing=!0,this.updateDragStartPosition(e.clientX,e.clientY)}getSiblings(){const t=this.element.parentElement;return t?Array.prototype.slice.call(t.children).filter(a=>!a.classList.contains("ag-hidden")):null}getMinSizeOfSiblings(){const e=this.getSiblings()||[];let t=0,a=0;for(const n of e){const r=!!n.style.flex&&n.style.flex!=="0 0 auto";if(n===this.element)continue;let o=this.minHeight||0,i=this.minWidth||0;if(r){const s=window.getComputedStyle(n);s.minHeight&&(o=Number.parseInt(s.minHeight,10)),s.minWidth&&(i=Number.parseInt(s.minWidth,10))}else o=n.offsetHeight,i=n.offsetWidth;t+=o,a+=i}return{height:t,width:a}}applySizeToSiblings(e){let t=null;const a=this.getSiblings();if(a){for(let n=0;ne)}onResize(e){if(!this.isResizing||!this.currentResizer)return;const{popup:t,forcePopupParentAsOffsetParent:a}=this.config,{isTop:n,isRight:r,isBottom:o,isLeft:i}=this.currentResizer,s=r||i,l=o||n,{movementX:c,movementY:d}=this.calculateMouseMovement({e,isLeft:i,isTop:n}),u=this.position.x,g=this.position.y;let h=0,p=0;if(s&&c){const f=i?-1:1,m=this.getWidth(),v=m+c*f;let C=!1;i&&(h=m-v,(u+h<=0||v<=this.minWidth)&&(C=!0,h=0)),C||this.setWidth(v)}if(l&&d){const f=n?-1:1,m=this.getHeight(),v=m+d*f;let C=!1;n?(p=m-v,(g+p<=0||v<=this.minHeight)&&(C=!0,p=0)):!this.config.popup&&!this.config.forcePopupParentAsOffsetParent&&mthis.element.parentElement.offsetHeight&&(C=!0),C||this.setHeight(v)}this.updateDragStartPosition(e.clientX,e.clientY),((t||a)&&h||p)&&this.offsetElement(u+h,g+p)}onResizeEnd(e,t){this.isResizing=!1,this.currentResizer=null,this.boundaryEl=null,this.element.classList.remove("ag-resizing"),this.resizerMap[t].element.classList.remove("ag-active"),this.dispatchLocalEvent({type:"resize"})}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:a}=this.position;let n;this.config.calculateTopBuffer&&(n=this.config.calculateTopBuffer());const{movementX:r,movementY:o}=this.calculateMouseMovement({e,isTop:!0,anywhereWithin:!0,topBuffer:n});this.offsetElement(t+r,a+o),this.updateDragStartPosition(e.clientX,e.clientY)}onMoveEnd(){this.isMoving=!1,this.boundaryEl=null,this.element.classList.remove("ag-moving")}setOffsetParent(){this.config.forcePopupParentAsOffsetParent&&this.popupSvc?this.offsetParent=this.popupSvc.getPopupParent():this.offsetParent=this.element.offsetParent}findBoundaryElement(){let e=this.element;for(;e;){if(window.getComputedStyle(e).position!=="static")return e;e=e.parentElement}return this.element}clearResizeListeners(){for(;this.resizeListeners.length;){const e=this.resizeListeners.pop();this.dragSvc?.removeDragSource(e)}}destroy(){super.destroy(),this.moveElementDragListener&&this.dragSvc?.removeDragSource(this.moveElementDragListener),this.constrainSizeToAvailableHeight(!1),this.clearResizeListeners(),this.removeResizers()}},Sl=class extends bu{},x=null;function lo(e){return typeof e?.getGui=="function"}var wu=class{constructor(e){this.cssClassStates={},this.getGui=e}toggleCss(e,t){if(!e)return;if(e.includes(" ")){const n=(e||"").split(" ");if(n.length>1){for(const r of n)this.toggleCss(r,t);return}}this.cssClassStates[e]!==t&&e.length&&(this.getGui()?.classList.toggle(e,t),this.cssClassStates[e]=t)}},HF=0,Mt=class extends _e{constructor(e,t){super(),this.suppressDataRefValidation=!1,this.displayed=!0,this.visible=!0,this.compId=HF++,this.cssManager=new wu(()=>this.eGui),this.componentSelectors=new Map((t??[]).map(a=>[a.selector,a])),e&&this.setTemplate(e)}preConstruct(){this.wireTemplate(this.getGui()),this.addGlobalCss()}wireTemplate(e,t){e&&this.gos&&(this.applyElementsToComponent(e),this.createChildComponentsFromTags(e,t))}getCompId(){return this.compId}getDataRefAttribute(e){return e.getAttribute?e.getAttribute(fm):null}applyElementsToComponent(e,t,a,n=null){if(t===void 0&&(t=this.getDataRefAttribute(e)),t){const r=this[t];if(r===x)this[t]=n??e;else{const o=a?.[t];if(!this.suppressDataRefValidation&&!o)throw new Error(`data-ref: ${t} on ${this.constructor.name} with ${r}`)}}}createChildComponentsFromTags(e,t){const a=[];for(const n of e.childNodes??[])a.push(n);for(const n of a){if(!(n instanceof HTMLElement))continue;const r=this.createComponentFromElement(n,o=>{const i=o.getGui();if(i)for(const s of n.attributes??[])i.setAttribute(s.name,s.value)},t);if(r){if(r.addItems&&n.children.length){this.createChildComponentsFromTags(n,t);const o=Array.prototype.slice.call(n.children);r.addItems(o)}this.swapComponentForNode(r,e,n)}else n.childNodes&&this.createChildComponentsFromTags(n,t)}}createComponentFromElement(e,t,a){const n=e.nodeName,r=this.getDataRefAttribute(e),o=n.indexOf("AG-")===0,i=o?this.componentSelectors.get(n):null;let s=null;if(i){const l=a&&r?a[r]:void 0;s=new i.component(l),s.setParentComponent(this),this.createBean(s,null,t)}else if(o)throw new Error(`selector: ${n}`);return this.applyElementsToComponent(e,r,a,s),s}swapComponentForNode(e,t,a){const n=e.getGui();t.replaceChild(n,a),t.insertBefore(document.createComment(a.nodeName),n),this.addDestroyFunc(this.destroyBean.bind(this,e))}activateTabIndex(e,t){const a=t??this.gos.get("tabIndex");e||(e=[]),e.length||e.push(this.getGui());for(const n of e)n.setAttribute("tabindex",a.toString())}setTemplate(e,t,a){let n;typeof e=="string"||e==null?n=Zs(e):n=je(e),this.setTemplateFromElement(n,t,a)}setTemplateFromElement(e,t,a,n=!1){if(this.eGui=e,this.suppressDataRefValidation=n,t)for(let r=0;rthis.eGui.removeEventListener(e,t))}addCss(e){this.cssManager.toggleCss(e,!0)}removeCss(e){this.cssManager.toggleCss(e,!1)}toggleCss(e,t){this.cssManager.toggleCss(e,t)}registerCSS(e){this.css===fv?(this.css=[e],this.addGlobalCss()):(this.css||(this.css=[]),this.css.push(e))}addGlobalCss(){if(Array.isArray(this.css)){const e="component-"+Object.getPrototypeOf(this)?.constructor?.name;for(const t of this.css??[])this.beans.environment.addGlobalCSS(t,e)}this.css=fv}},fv=Symbol(),T=class extends Mt{},yu,Su,xu,ku,Ru,Fu,Mu;function ya(){return yu===void 0&&(yu=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)),yu}function Tn(){return Su===void 0&&(Su=/(firefox)/i.test(navigator.userAgent)),Su}function mv(){return xu===void 0&&(xu=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)),xu}function sn(){return ku===void 0&&(ku=/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1),ku}function Eu(e){if(!e)return null;const t=e.tabIndex,a=e.getAttribute("tabIndex");return t===-1&&(a===null||a===""&&!Tn())?null:t.toString()}function qF(){if(Mu!==void 0)return Mu;if(!document.body)return-1;let e=1e6;const t=Tn()?6e6:1e9,a=document.createElement("div");for(document.body.appendChild(a);;){const n=e*2;if(a.style.height=n+"px",n>t||a.clientHeight!==n)break;e=n}return a.remove(),Mu=e,e}function Pu(){return Fu==null&&vv(),Fu}function vv(){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 a=t.offsetWidth-t.clientWidth;a===0&&t.clientWidth===0&&(a=null),t.parentNode&&t.remove(),a!=null&&(Fu=a,Ru=a===0)}function Cv(){return Ru==null&&vv(),Ru}var Au=!1,xl=0;function WF(e){xl>0||(e.addEventListener("keydown",kl),e.addEventListener("mousedown",kl))}function UF(e){xl>0||(e.removeEventListener("keydown",kl),e.removeEventListener("mousedown",kl))}function kl(e){const t=Au,a=e.type==="keydown";a&&(e.ctrlKey||e.metaKey||e.altKey)||t!==a&&(Au=a)}function jF(e){const t=me(e);return WF(t),xl++,()=>{xl--,UF(t)}}function Ai(){return Au}function _t(e,t,a=!1){const n=cR;let r=cm;t&&(r+=", "+t),a&&(r+=', [tabindex="-1"]');const o=Array.prototype.slice.apply(e.querySelectorAll(n)).filter(l=>Be(l)),i=Array.prototype.slice.apply(e.querySelectorAll(r));return i.length?((l,c)=>l.filter(d=>c.indexOf(d)===-1))(o,i):o}function ze(e,t=!1,a=!1,n=!1){const r=_t(e,n?".ag-tab-guard":null,a),o=t?W(r):r[0];return o?(o.focus({preventScroll:!0}),!0):!1}function Je(e,t,a,n){const r=_t(t,a?':not([tabindex="-1"])':null),o=ne(e);let i;a?i=r.findIndex(l=>l.contains(o)):i=r.indexOf(o);const s=i+(n?-1:1);return s<0||s>=r.length?null:r[s]}function Rl(e,t=5){let a=0;for(;e&&Eu(e)===null&&++a<=t;)e=e.parentElement;return Eu(e)===null?null:e}var Tu="ag-focus-managed",bv=class extends _e{constructor(e,t={isStopPropagation:()=>!1,stopPropagation:()=>{}},a={}){super(),this.eFocusable=e,this.stopPropagationCallbacks=t,this.callbacks=a,this.callbacks={shouldStopEventPropagation:()=>!1,onTabKeyDown:n=>{if(n.defaultPrevented)return;const r=Je(this.beans,this.eFocusable,!1,n.shiftKey);r&&(r.focus(),n.preventDefault())},...a}}postConstruct(){const{eFocusable:e,callbacks:{onFocusIn:t,onFocusOut:a}}=this;e.classList.add(Tu),this.addKeyDownListeners(e),t&&this.addManagedElementListeners(e,{focusin:t}),a&&this.addManagedElementListeners(e,{focusout:a})}addKeyDownListeners(e){this.addManagedElementListeners(e,{keydown:t=>{if(t.defaultPrevented||this.stopPropagationCallbacks.isStopPropagation(t))return;const{callbacks:a}=this;if(a.shouldStopEventPropagation(t)){this.stopPropagationCallbacks.stopPropagation(t);return}t.key===w.TAB?a.onTabKeyDown(t):a.handleKeyDown&&a.handleKeyDown(t)}})}},wv="__ag_Grid_Stop_Propagation";function Fe(e){e[wv]=!0}function zt(e){return e[wv]===!0}var Dn={isStopPropagation:zt,stopPropagation:Fe},In=class extends bv{constructor(e,t){super(e,Dn,t)}},_F={applyFilter:"Apply",clearFilter:"Clear",resetFilter:"Reset",cancelFilter:"Cancel",textFilter:"Text Filter",numberFilter:"Number Filter",bigintFilter:"BigInt Filter",dateFilter:"Date Filter",setFilter:"Set Filter",filterOoo:"Filter...",empty:"Choose one",equals:"Equals",notEqual:"Does not equal",lessThan:"Less than",greaterThan:"Greater than",inRange:"Between",inRangeStart:"From",inRangeEnd:"To",lessThanOrEqual:"Less than or equal to",greaterThanOrEqual:"Greater than or equal to",contains:"Contains",notContains:"Does not contain",startsWith:"Begins with",endsWith:"Ends with",blank:"Blank",notBlank:"Not blank",before:"Before",after:"After",andCondition:"AND",orCondition:"OR",dateFormatOoo:"yyyy-mm-dd",filterSummaryInactive:"is (All)",filterSummaryContains:"contains",filterSummaryNotContains:"does not contain",filterSummaryTextEquals:"equals",filterSummaryTextNotEqual:"does not equal",filterSummaryStartsWith:"begins with",filterSummaryEndsWith:"ends with",filterSummaryBlank:"is blank",filterSummaryNotBlank:"is not blank",filterSummaryEquals:"=",filterSummaryNotEqual:"!=",filterSummaryGreaterThan:">",filterSummaryGreaterThanOrEqual:">=",filterSummaryLessThan:"<",filterSummaryLessThanOrEqual:"<=",filterSummaryInRange:"between",yesterday:"Yesterday",today:"Today",tomorrow:"Tomorrow",last7Days:"Last 7 Days",lastWeek:"Last Week",thisWeek:"This Week",nextWeek:"Next Week",last30Days:"Last 30 Days",lastMonth:"Last Month",thisMonth:"This Month",nextMonth:"Next Month",last90Days:"Last 90 Days",lastQuarter:"Last Quarter",thisQuarter:"This Quarter",nextQuarter:"Next Quarter",lastYear:"Last Year",thisYear:"This Year",yearToDate:"Year To Date",nextYear:"Next Year",last6Months:"Last 6 Months",last12Months:"Last 12 Months",last24Months:"Last 24 Months",filterSummaryInRangeValues:e=>`(${e[0]}, ${e[1]})`,filterSummaryTextQuote:e=>`"${e[0]}"`,minDateValidation:e=>`Date must be after ${e[0]}`,maxDateValidation:e=>`Date must be before ${e[0]}`,strictMinValueValidation:e=>`Must be greater than ${e[0]}`,strictMaxValueValidation:e=>`Must be less than ${e[0]}`};function Kt(e,t,a){return nl(e,_F,t,a)}function Du(e,t){const{debounceMs:a}=e;return co(e)?(a!=null&&R(71),0):a??t}function co(e){return(e.buttons?.indexOf("apply")??-1)>=0}function yv(e,t,a,n){let r=Kt(e,a);if(typeof t=="function"){const o=Kt(e,n);r=t({filterOptionKey:n,filterOption:o,placeholder:r})}else typeof t=="string"&&(r=t);return r}var Ti=class extends T{constructor(e,t){super(),this.filterNameKey=e,this.cssIdentifier=t,this.applyActive=!1,this.debouncePending=!1,this.defaultDebounceMs=0}postConstruct(){const e={tag:"div",cls:`ag-filter-body-wrapper ag-${this.cssIdentifier}-body-wrapper`,children:[this.createBodyTemplate()]};this.setTemplate(e,this.getAgComponents()),this.createManagedBean(new In(this.getFocusableElement(),{handleKeyDown:this.handleKeyDown.bind(this)})),this.positionableFeature=this.createBean(new Sl(this.getPositionableElement(),{forcePopupParentAsOffsetParent:!0}))}handleKeyDown(e){}init(e){const t=e;this.setParams(t),this.setModelIntoUi(t.state.model,!0).then(()=>this.updateUiVisibility())}areStatesEqual(e,t){return e===t}refresh(e){const t=e,a=this.params;this.params=t;const{source:n,state:r,additionalEventAttributes:o}=t;n==="colDef"&&this.updateParams(t,a);const i=this.state;this.state=r;const s=o?.fromAction;return(s&&s!=="apply"||r.model!==i.model||!this.areStatesEqual(r.state,i.state))&&this.setModelIntoUi(r.model),!0}setParams(e){this.params=e,this.state=e.state,this.commonUpdateParams(e)}updateParams(e,t){this.commonUpdateParams(e,t)}commonUpdateParams(e,t){this.applyActive=co(e),this.setupApplyDebounced()}doesFilterPass(e){R(283);const{getHandler:t,model:a,column:n}=this.params;return t().doesFilterPass({...e,model:a,handlerParams:this.beans.colFilter.getHandlerParams(n)})}getFilterTitle(){return this.translate(this.filterNameKey)}isFilterActive(){return R(284),this.params.model!=null}setupApplyDebounced(){const e=Du(this.params,this.defaultDebounceMs),t=ve(this,this.checkApplyDebounce.bind(this),e);this.applyDebounced=()=>{this.debouncePending=!0,t()}}checkApplyDebounce(){this.debouncePending&&(this.debouncePending=!1,this.doApplyModel())}getModel(){return R(285),this.params.model}setModel(e){R(286);const{beans:t,params:a}=this;return t.colFilter.setModelForColumnLegacy(a.column,e)}applyModel(e="api"){return this.doApplyModel()}canApply(e){return!0}doApplyModel(e){const{params:t,state:{valid:a=!0,model:n}}=this;if(!a)return!1;const r=!this.areModelsEqual(t.model,n);return r&&t.onAction("apply",e),r}onNewRowsLoaded(){}onUiChanged(e,t=!1){this.updateUiVisibility();const a=this.getModelFromUi(),n={model:a,state:this.getState(),valid:this.canApply(a)};this.state=n;const{params:r,gos:o,eventSvc:i,applyActive:s}=this;r.onStateChange(n),r.onUiChange(this.getUiChangeEventParams()),o.get("enableFilterHandlers")||i.dispatchEvent({type:"filterModified",column:r.column,filterInstance:this}),n.valid&&(e??(e=s?void 0:"debounce"),e==="immediately"?this.doApplyModel({afterFloatingFilter:t,afterDataChange:!1}):e==="debounce"&&this.applyDebounced())}getState(){}getUiChangeEventParams(){}afterGuiAttached(e){this.lastContainerType=e?.container,this.refreshFilterResizer(e?.container)}refreshFilterResizer(e){const{positionableFeature:t,gos:a}=this;if(!t)return;const n=e==="floatingFilter"||e==="columnFilter";n?(t.restoreLastSize(),t.setResizable(a.get("enableRtl")?{bottom:!0,bottomLeft:!0,left:!0}:{bottom:!0,bottomRight:!0,right:!0})):(t.removeSizeFromEl(),t.setResizable(!1)),t.constrainSizeToAvailableHeight(n)}afterGuiDetached(){this.checkApplyDebounce(),this.positionableFeature?.constrainSizeToAvailableHeight(!1)}destroy(){this.positionableFeature=this.destroyBean(this.positionableFeature),super.destroy()}translate(e,t){return Kt(this,e,t)}getPositionableElement(){return this.getGui()}areModelsEqual(e,t){return e===t||e==null&&t==null?!0:e==null||t==null?!1:this.areNonNullModelsEqual(e,t)}},Sv=["aggregation","filter","sort","pivot","columnVisibility","columnSizing","rowGroup"],Di=class extends Mt{isPopup(){return!0}setParentComponent(e){e.addCss("ag-has-popup"),super.setParentComponent(e)}destroy(){const e=this.parentComponent;e?.isAlive()&&e.getGui().classList.remove("ag-has-popup"),super.destroy()}},Rr=class extends Di{constructor(){super(...arguments),this.errorMessages=null}init(e){this.params=e,this.initialiseEditor(e),this.eEditor.onValueChange(()=>e.validate())}destroy(){this.eEditor.destroy(),this.errorMessages=null,super.destroy()}};function st(e){const t=e.rowModel;return t.getType()==="clientSide"?t:void 0}function Fl(e){const t=e.rowModel;return t.getType()==="infinite"?t:void 0}function uo(e){const t=e.rowModel;return t.getType()==="serverSide"?t:void 0}function KF(e){const t=e.rowModel;return t.getType()==="viewport"?t:void 0}var Iu="row-group-",Ml="t-",El="b-",YF=0,lt=class{constructor(e){this.id=void 0,this.destroyed=!1,this._groupData=void 0,this.master=!1,this.detail=void 0,this.rowIndex=null,this.field=null,this.rowGroupColumn=null,this.key=null,this.sourceRowIndex=-1,this._leafs=void 0,this.childrenAfterGroup=null,this.childrenAfterFilter=null,this.childrenAfterAggFilter=null,this.childrenAfterSort=null,this.allChildrenCount=null,this.childrenMapped=null,this.treeParent=null,this.treeNodeFlags=0,this._expanded=void 0,this.displayed=!1,this.rowTop=null,this.oldRowTop=null,this.selectable=!0,this.__objectId=YF++,this.alreadyRendered=!1,this.formulaRowIndex=null,this.hovered=!1,this.__selected=!1,this.beans=e}get groupData(){const e=this._groupData;return e!==void 0?e:this.footer?this.sibling?.groupData:this.beans.groupStage?.loadGroupData(this)??null}set groupData(e){this._groupData=e}get primaryRow(){let e=this.footer&&this.sibling?this.sibling:this;const{pinnedSibling:t}=e;return t&&e.rowPinned&&(e=t,e.footer&&e.sibling&&(e=e.sibling)),e}get allLeafChildren(){const e=this._leafs;return e===void 0?this.beans.groupStage?.loadLeafs?.(this)??null:e}set allLeafChildren(e){this._leafs=e}get expanded(){const e=this.beans.expansionSvc;return e?e.isExpanded(this):this.level===-1?!0:!!this._expanded}set expanded(e){this._expanded=e}setData(e){this.setDataCommon(e,!1)}updateData(e){this.setDataCommon(e,!0)}setDataCommon(e,t){const{valueCache:a,eventSvc:n}=this.beans,r=this.data;this.data=e,a?.onDataChanged(),this.updateDataOnDetailNode(),this.resetQuickFilterAggregateText();const o=this.createDataChangedEvent(e,r,t);if(this.__localEventService?.dispatchEvent(o),this.sibling){this.sibling.data=e;const s=this.sibling.createDataChangedEvent(e,r,t);this.sibling.__localEventService?.dispatchEvent(s)}n.dispatchEvent({type:"rowNodeDataChanged",node:this});const i=this.pinnedSibling;i&&(i.data=e,i.__localEventService?.dispatchEvent(i.createDataChangedEvent(e,r,t)),n.dispatchEvent({type:"rowNodeDataChanged",node:i}))}updateDataOnDetailNode(){const e=this.detailNode;e&&(e.data=this.data)}createDataChangedEvent(e,t,a){return{type:"dataChanged",node:this,oldData:t,newData:e,update:a}}getRowIndexString(){return this.rowIndex==null?(J(13),null):this.rowPinned==="top"?Ml+this.rowIndex:this.rowPinned==="bottom"?El+this.rowIndex:this.rowIndex.toString()}setDataAndId(e,t){const{selectionSvc:a}=this.beans,n=a?.createDaemonNode?.(this),r=this.data;this.data=e,this.updateDataOnDetailNode(),this.setId(t),a&&(a.updateRowSelectable(this),a.syncInRowNode(this,n));const o=this.createDataChangedEvent(e,r,!1);this.__localEventService?.dispatchEvent(o)}setId(e){const t=Da(this.beans.gos);if(t)if(this.data){const a=this.parent?.getRoute()??[];this.id=t({data:this.data,parentKeys:a.length>0?a:void 0,level:this.level,rowPinned:this.rowPinned}),this.id.startsWith(Iu)&&J(14,{groupPrefix:Iu})}else this.id=void 0;else this.id=e}setRowTop(e){if(this.oldRowTop=this.rowTop,this.rowTop===e)return;this.rowTop=e,this.dispatchRowEvent("topChanged");const t=e!==null;this.displayed!==t&&(this.displayed=t,this.dispatchRowEvent("displayedChanged"))}clearRowTopAndRowIndex(){this.oldRowTop=null,this.setRowTop(null),this.setRowIndex(null)}setHovered(e){this.hovered=e}isHovered(){return this.hovered}setRowHeight(e,t=!1){this.rowHeight=e,this.rowHeightEstimated=t,this.dispatchRowEvent("heightChanged")}setExpanded(e,t,a){this.beans.expansionSvc?.setExpanded(this,e,t,a)}setDataValue(e,t,a){const{colModel:n,valueSvc:r,gos:o,editSvc:i}=this.beans;if(e==null)return!1;let s=n.getCol(e)??n.getColDefCol(e);if(!s)return!1;if(!this.group){const d=s.getColDef();d.pivotValueColumn&&(s=d.pivotValueColumn)}const l=r.getValueForDisplay({column:s,node:this,from:"data"}).value;if(o.get("readOnlyEdit")){const{beans:{eventSvc:d},data:u,rowIndex:g,rowPinned:h}=this;return d.dispatchEvent({type:"cellEditRequest",event:null,rowIndex:g,rowPinned:h,column:s,colDef:s.colDef,data:u,node:this,oldValue:l,newValue:t,value:t,source:a}),!1}if(a!=="data"&&i&&!i.committing){const d=i.setDataValue({rowNode:this,column:s},t,a);if(d!=null)return d}const c=r.setValue(this,s,t,a);return this.dispatchCellChangedEvent(s,t,l),c&&this.pinnedSibling?.dispatchCellChangedEvent(s,t,l),c}getDataValue(e,t="data"){const{colModel:a,valueSvc:n,formula:r}=this.beans;if(e==null)return;const o=a.getCol(e)??a.getColDefCol(e);if(!o)return;const i=t==="data-raw",s=i||t==="value"?"data":t;let l=n.getValue(o,this,s,i);if(!i&&(r&&o.isAllowFormula()&&r.isFormula(l)&&(l=r.resolveValue(o,this)),t!=="data"&&o.getAggFunc()&&typeof l=="object"&&l!=null)){if(typeof l.toNumber=="function")return l.toNumber();if("value"in l)return l.value}return l}updateHasChildren(){let e=this.group&&!this.footer||!!this.childrenAfterGroup?.length;const{rowChildrenSvc:t}=this.beans;t&&(e=t.getHasChildrenValue(this)),e!==this.__hasChildren&&(this.__hasChildren=!!e,this.dispatchRowEvent("hasChildrenChanged"))}hasChildren(){return this.__hasChildren==null&&this.updateHasChildren(),this.__hasChildren}dispatchCellChangedEvent(e,t,a){const n={type:"cellChanged",node:this,column:e,newValue:t,oldValue:a};this.__localEventService?.dispatchEvent(n)}resetQuickFilterAggregateText(){this.quickFilterAggregateText=null}isExpandable(){return this.beans.expansionSvc?.isExpandable(this)??!1}isSelected(){if(this.footer)return this.sibling.isSelected();const e=this.rowPinned&&this.pinnedSibling;return e?e.isSelected():this.__selected}depthFirstSearch(e){const t=this.childrenAfterGroup;if(t)for(let a=0,n=t.length;a{const a=new lt(t);for(const n of Object.keys(e))QF.has(n)||(a[n]=e[n]);return a.oldRowTop=null,a},Ii=(e,t,a)=>{if(!a)return;let n=a.rowIndex;if(n==null)return;n+=t;const r=e.getRowCount();for(;n>=0&&nt?.compareRowNodes(n,s,l)||(s.pinnedSibling?.rowIndex??0)-(l.pinnedSibling?.rowIndex??0)),!o)return;const i=Rn(a);i==="bottom"||i==="pinnedBottom"?this.order.push(o):this.order.unshift(o)}hide(e){const{all:t,visible:a}=this,n=a.size;return t.forEach(r=>e(r)?a.delete(r):a.add(r)),this.order=Array.from(a),this.sort(),n!=a.size}queue(e){this.queued.add(e)}unqueue(e){this.queued.delete(e)}forEachQueued(e){this.queued.forEach(e)}};function kv(e){if(e.level===-1)return!0;const t=e.parent;return t?.childrenAfterSort?.some(a=>a==e)?kv(t):!1}function Ou(e,t){const{gos:a,rowModel:n,filterManager:r}=e;return ft(a,n)?!n.getRowNode(t.id):r?.isAnyFilterPresent()?!kv(t):a.get("pivotMode")?!t.group:!1}function ZF(e){return!!e.footer&&e.level===-1}function XF(e){return!!e.pinnedSibling&&ZF(e.pinnedSibling)}function JF(e){const t=e.findIndex(XF);if(t>-1)return e.splice(t,1)?.[0]}var Rv=class extends F{constructor(){super(...arguments),this.csrm=null}postConstruct(){const{gos:e,beans:t}=this;this.top=new xv(t,"top"),this.bottom=new xv(t,"bottom"),this.csrm=st(t)??null;const a=r=>Ou(t,r.pinnedSibling),n=()=>{const r=e.get("isRowPinned");r&&e.get("enableRowPinning")&&t.rowModel.forEachNode(o=>this.pinRow(o,r(o)),!0),this.refreshRowPositions(),this.dispatchRowPinnedEvents()};this.addManagedEventListeners({stylesChanged:this.onGridStylesChanges.bind(this),modelUpdated:({keepRenderedRows:r})=>{this.tryToEmptyQueues(),this.pinGrandTotalRow();let o=!1;this.forContainers(s=>{o||(o=s.hide(a))});const i=this.refreshRowPositions();(!r||i||o)&&this.dispatchRowPinnedEvents()},columnRowGroupChanged:()=>{this.forContainers(eM),this.refreshRowPositions()},rowNodeDataChanged:({node:r})=>{(e.get("isRowPinnable")?.(r)??!0)||this.pinRow(r,null)},firstDataRendered:n}),this.addManagedPropertyListener("pivotMode",()=>{this.forContainers(r=>r.hide(a)),this.dispatchRowPinnedEvents()}),this.addManagedPropertyListener("grandTotalRow",({currentValue:r})=>{this._grandTotalPinned=r==="pinnedBottom"?"bottom":r==="pinnedTop"?"top":null}),this.addManagedPropertyListener("isRowPinned",n)}destroy(){this.reset(!1),super.destroy()}reset(e=!0){this.forContainers(t=>{const a=[];t.forEach(n=>a.push(n)),a.forEach(n=>this.pinRow(n,null)),t.clear()}),e&&this.dispatchRowPinnedEvents()}pinRow(e,t,a){if(t!=null&&e.destroyed)return;if(e.footer){const i=e.level;if(i>-1)return;if(i===-1){this._grandTotalPinned=t,this.csrm?.reMapRows();return}}const n=e.rowPinned??e.pinnedSibling?.rowPinned;if(n!=null&&t!=null&&t!=n){const i=e.rowPinned?e:e.pinnedSibling,s=e.rowPinned?e.pinnedSibling:e;this.pinRow(i,null,a),this.pinRow(s,t,a);return}const o=a&&tM(this.beans,e,a);if(o){o.forEach(i=>this.pinRow(i,t));return}if(t==null){const i=e.rowPinned?e:e.pinnedSibling,s=this.findPinnedRowNode(i);if(!s)return;s.delete(i);const l=i.pinnedSibling;Gu(i),this.refreshRowPositions(t),this.dispatchRowPinnedEvents(l)}else{const i=Fv(this.beans,e,t),s=this.getContainer(t);s.add(i),Ou(this.beans,e)&&s.hide(l=>Ou(this.beans,l.pinnedSibling)),this.refreshRowPositions(t),this.dispatchRowPinnedEvents(e)}}isManual(){return!0}isEmpty(e){return this.getContainer(e).size()===0}isRowsToRender(e){return!this.isEmpty(e)}ensureRowHeightsValid(){let e=!1,t=0;const a=n=>{if(n.rowHeightEstimated){const r=Xe(this.beans,n);n.setRowTop(t),n.setRowHeight(r.height),t+=r.height,e=!0}};return this.bottom.forEach(a),t=0,this.top.forEach(a),this.eventSvc.dispatchEvent({type:"pinnedHeightChanged"}),e}getPinnedTopTotalHeight(){return Mv(this.top)}getPinnedBottomTotalHeight(){return Mv(this.bottom)}getPinnedTopRowCount(){return this.top.size()}getPinnedBottomRowCount(){return this.bottom.size()}getPinnedTopRow(e){return this.top.getByIndex(e)}getPinnedBottomRow(e){return this.bottom.getByIndex(e)}getPinnedRowById(e,t){return this.getContainer(t).getById(e)}forEachPinnedRow(e,t){this.getContainer(e).forEach(t)}getPinnedState(){const e=t=>{const a=[];return this.forEachPinnedRow(t,n=>{const r=n.pinnedSibling?.id;r!=null&&a.push(r)}),a};return{top:e("top"),bottom:e("bottom")}}setPinnedState(e){this.forContainers((t,a)=>{for(const n of e[a]){const r=this.beans.rowModel.getRowNode(n);r?this.pinRow(r,a):t.queue(n)}})}getGrandTotalPinned(){return this._grandTotalPinned}setGrandTotalPinned(e){this._grandTotalPinned=e}tryToEmptyQueues(){this.forContainers((e,t)=>{const a=new Set;e.forEachQueued(n=>{const r=this.beans.rowModel.getRowNode(n);r&&a.add(r)});for(const n of a)e.unqueue(n.id),this.pinRow(n,t)})}pinGrandTotalRow(){const{csrm:e,beans:t,_grandTotalPinned:a}=this;if(!e)return;const n=e.rootNode?.sibling;if(!n)return;const r=n.pinnedSibling,o=r&&this.findPinnedRowNode(r);if(a){if(o&&o.floating!==a&&(Gu(r),o.delete(r)),!o||o.floating!==a){const i=Fv(t,n,a);this.getContainer(a).add(i)}}else{if(!o)return;Gu(r),o.delete(r)}}onGridStylesChanges(e){e.rowHeightChanged&&this.forContainers(t=>t.forEach(a=>a.setRowHeight(a.rowHeight,!0)))}getContainer(e){return e==="top"?this.top:this.bottom}findPinnedRowNode(e){if(this.top.has(e))return this.top;if(this.bottom.has(e))return this.bottom}refreshRowPositions(e){const t=n=>$F(this.beans,n);if(e)return t(this.getContainer(e));let a=!1;return this.forContainers(n=>{const r=t(n);a||(a=r)}),a}forContainers(e){e(this.top,"top"),e(this.bottom,"bottom")}dispatchRowPinnedEvents(e){this.eventSvc.dispatchEvent({type:"pinnedRowsChanged"}),e?.dispatchRowEvent("rowPinned")}};function $F(e,t){let a=0,n=!1;return t.forEach((r,o)=>{if(n||(n=r.rowTop!==a),r.setRowTop(a),r.rowHeightEstimated||r.rowHeight==null){const i=Xe(e,r).height;n||(n=r.rowHeight!==i),r.setRowHeight(i)}r.setRowIndex(o),a+=r.rowHeight}),n}function Fv(e,t,a){if(t.pinnedSibling)return t.pinnedSibling;const n=zu(t,e);n.setRowTop(null),n.setRowIndex(null),n.rowPinned=a;const r=a==="top"?Ml:El;return n.id=`${r}${a}-${t.id}`,n.pinnedSibling=t,t.pinnedSibling=n,n}function Gu(e){if(!e.pinnedSibling)return;e.rowPinned=null,e._destroy(!1);const t=e.pinnedSibling;e.pinnedSibling=void 0,t&&(t.pinnedSibling=void 0,t.rowPinned=null)}function eM(e){const t=new Set;e.forEach(a=>{a.group&&t.add(a)}),t.forEach(a=>e.delete(a))}function tM(e,t,a){const{rowSpanSvc:n}=e,r=(a&&n?.isCellSpanning(a,t))??!1;if(a&&r)return n?.getCellSpan(a,t)?.spannedNodes}function Mv(e){const t=e.size();if(t===0)return 0;const a=e.getByIndex(t-1);return a===void 0?0:a.rowTop+a.rowHeight}var Ev=class extends F{constructor(){super(...arguments),this.nextId=0,this.pinnedTopRows={cache:{},order:[]},this.pinnedBottomRows={cache:{},order:[]}}postConstruct(){const e=this.gos;this.setPinnedRowData(e.get("pinnedTopRowData"),"top"),this.setPinnedRowData(e.get("pinnedBottomRowData"),"bottom"),this.addManagedPropertyListener("pinnedTopRowData",t=>this.setPinnedRowData(t.currentValue,"top")),this.addManagedPropertyListener("pinnedBottomRowData",t=>this.setPinnedRowData(t.currentValue,"bottom")),this.addManagedEventListeners({stylesChanged:this.onGridStylesChanges.bind(this)})}reset(){}isEmpty(e){return this.getCache(e).order.length===0}isRowsToRender(e){return!this.isEmpty(e)}isManual(){return!1}pinRow(e,t){}onGridStylesChanges(e){if(e.rowHeightChanged){const t=a=>{a.setRowHeight(a.rowHeight,!0)};zi(this.pinnedBottomRows,t),zi(this.pinnedTopRows,t)}}ensureRowHeightsValid(){let e=!1,t=0;const a=n=>{if(n.rowHeightEstimated){const r=Xe(this.beans,n);n.setRowTop(t),n.setRowHeight(r.height),t+=r.height,e=!0}};return zi(this.pinnedBottomRows,a),t=0,zi(this.pinnedTopRows,a),this.eventSvc.dispatchEvent({type:"pinnedHeightChanged"}),e}setPinnedRowData(e,t){this.updateNodesFromRowData(e,t),this.eventSvc.dispatchEvent({type:"pinnedRowDataChanged"})}updateNodesFromRowData(e,t){const a=this.getCache(t);if(e===void 0){a.order.length=0,a.cache={};return}const n=Da(this.gos),r=t==="top"?Ml:El,o=new Set(a.order),i=[],s=new Set;let l=0,c=-1;for(const d of e){const u=n?.({data:d,level:0,rowPinned:t})??r+this.nextId++;if(s.has(u)){R(96,{id:u,data:d});continue}c++,s.add(u),i.push(u);const g=Li(a,u);if(g!==void 0)g.data!==d&&g.updateData(d),l+=this.setRowTopAndRowIndex(g,l,c),o.delete(u);else{const h=new lt(this.beans);h.id=u,h.data=d,h.rowPinned=t,l+=this.setRowTopAndRowIndex(h,l,c),a.cache[u]=h,a.order.push(u)}}for(const d of o)Li(a,d)?.clearRowTopAndRowIndex(),delete a.cache[d];a.order=i}setRowTopAndRowIndex(e,t,a){return e.setRowTop(t),e.setRowHeight(Xe(this.beans,e).height),e.setRowIndex(a),e.rowHeight}getPinnedTopTotalHeight(){return Pv(this.pinnedTopRows)}getPinnedBottomTotalHeight(){return Pv(this.pinnedBottomRows)}getPinnedTopRowCount(){return Bu(this.pinnedTopRows)}getPinnedBottomRowCount(){return Bu(this.pinnedBottomRows)}getPinnedTopRow(e){return Vu(this.pinnedTopRows,e)}getPinnedBottomRow(e){return Vu(this.pinnedBottomRows,e)}getPinnedRowById(e,t){return Li(this.getCache(t),e)}forEachPinnedRow(e,t){return zi(this.getCache(e),t)}getCache(e){return e==="top"?this.pinnedTopRows:this.pinnedBottomRows}getPinnedState(){return{top:[],bottom:[]}}setPinnedState(){}getGrandTotalPinned(){}setGrandTotalPinned(){}};function Pv(e){const t=Bu(e);if(t===0)return 0;const a=Vu(e,t-1);return a===void 0?0:a.rowTop+a.rowHeight}function Li(e,t){return e.cache[t]}function Vu(e,t){return Li(e,e.order[t])}function zi(e,t){e.order.forEach((a,n)=>{const r=Li(e,a);r&&t(r,n)})}function Bu(e){return e.order.length}var Av=class extends F{constructor(){super(...arguments),this.beanName="pinnedRowModel"}postConstruct(){const{gos:e}=this,t=()=>{const a=e.get("enableRowPinning"),n=Rn(e),o=!!a||(n==="pinnedBottom"||n==="pinnedTop"),i=o?this.inner instanceof Ev:this.inner instanceof Rv;this.inner&&i&&this.destroyBean(this.inner),(i||!this.inner)&&(this.inner=this.createManagedBean(o?new Rv:new Ev))};this.addManagedPropertyListeners(["enableRowPinning","grandTotalRow"],t),t()}reset(){return this.inner.reset()}isEmpty(e){return this.inner.isEmpty(e)}isManual(){return this.inner.isManual()}isRowsToRender(e){return this.inner.isRowsToRender(e)}pinRow(e,t,a){return this.inner.pinRow(e,t,a)}ensureRowHeightsValid(){return this.inner.ensureRowHeightsValid()}getPinnedRowById(e,t){return this.inner.getPinnedRowById(e,t)}getPinnedTopTotalHeight(){return this.inner.getPinnedTopTotalHeight()}getPinnedBottomTotalHeight(){return this.inner.getPinnedBottomTotalHeight()}getPinnedTopRowCount(){return this.inner.getPinnedTopRowCount()}getPinnedBottomRowCount(){return this.inner.getPinnedBottomRowCount()}getPinnedTopRow(e){return this.inner.getPinnedTopRow(e)}getPinnedBottomRow(e){return this.inner.getPinnedBottomRow(e)}forEachPinnedRow(e,t){return this.inner.forEachPinnedRow(e,t)}getPinnedState(){return this.inner.getPinnedState()}setPinnedState(e){return this.inner.setPinnedState(e)}setGrandTotalPinned(e){return this.inner.setGrandTotalPinned(e)}getGrandTotalPinned(){return this.inner.getGrandTotalPinned()}},Sa=(e=>(e.Applied="Applied",e.StoreNotFound="StoreNotFound",e.StoreLoading="StoreLoading",e.StoreWaitingToLoad="StoreWaitingToLoad",e.StoreLoadingFailed="StoreLoadingFailed",e.StoreWrongType="StoreWrongType",e.Cancelled="Cancelled",e.StoreNotStarted="StoreNotStarted",e))(Sa||{}),aM=500,nM=550,Pl,rM=e=>{if(!Pl)Pl=new WeakSet;else if(Pl.has(e))return!1;return Pl.add(e),!0},sa=class{constructor(e,t=!1){this.eElement=e,this.preventClick=t,this.startListener=null,this.handlers=[],this.eventSvc=void 0,this.touchStart=null,this.lastTapTime=null,this.longPressTimer=0,this.moved=!1}addEventListener(e,t){let a=this.eventSvc;if(!a){if(a===null)return;this.eventSvc=a=new Ta;const n=this.onTouchStart.bind(this);this.startListener=n,this.eElement.addEventListener("touchstart",n,{passive:!0})}a.addEventListener(e,t)}removeEventListener(e,t){this.eventSvc?.removeEventListener(e,t)}onTouchStart(e){if(this.touchStart||!rM(e))return;const t=e.touches[0];this.touchStart=t;const a=this.handlers;if(!a.length){const n=this.eElement,r=n.ownerDocument,o=this.onTouchMove.bind(this),i=this.onTouchEnd.bind(this),s=this.onTouchCancel.bind(this),l={passive:!0},c={passive:!1};al(a,[n,"touchmove",o,l],[r,"touchcancel",s,l],[r,"touchend",i,c],[r,"contextmenu",Sn,c])}this.clearLongPress(),this.longPressTimer=window.setTimeout(()=>{this.longPressTimer=0,this.touchStart===t&&!this.moved&&(this.moved=!0,this.eventSvc?.dispatchEvent({type:"longTap",touchStart:t,touchEvent:e}))},nM)}onTouchMove(e){const{moved:t,touchStart:a}=this;if(!t&&a){const n=$r(a,e.touches);n&&!vm(n,a,4)&&(this.clearLongPress(),this.moved=!0)}}onTouchEnd(e){const t=this.touchStart;!t||!$r(t,e.changedTouches)||(this.moved||(this.eventSvc?.dispatchEvent({type:"tap",touchStart:t}),this.checkDoubleTap(t)),this.preventClick&&Sn(e),this.cancel())}onTouchCancel(e){const t=this.touchStart;!t||!$r(t,e.changedTouches)||(this.lastTapTime=null,this.cancel())}checkDoubleTap(e){let t=Date.now();const a=this.lastTapTime;a&&t-a>aM&&(this.eventSvc?.dispatchEvent({type:"doubleTap",touchStart:e}),t=null),this.lastTapTime=t}cancel(){this.clearLongPress(),jd(this.handlers),this.touchStart=null}clearLongPress(){window.clearTimeout(this.longPressTimer),this.longPressTimer=0,this.moved=!1}destroy(){const e=this.startListener;e&&(this.startListener=null,this.eElement.removeEventListener("touchstart",e)),this.cancel(),this.eElement=null,this.eventSvc=null}},Yt=(e=>(e[e.VALUE=0]="VALUE",e[e.DIMENSION=1]="DIMENSION",e))(Yt||{}),oM=1,Tv=class{constructor(e){this.beans={},this.createdBeans=[],this.destroyed=!1,this.instanceId=oM++,e?.beanClasses&&(this.beanDestroyComparator=e.beanDestroyComparator,this.init(e))}init(e){this.id=e.id,this.beans.context=this,this.destroyCallback=e.destroyCallback;for(const t of Object.keys(e.providedBeanInstances))this.beans[t]=e.providedBeanInstances[t];for(const t of e.beanClasses){const a=new t;a.beanName?this.beans[a.beanName]=a:console.error(`Bean ${t.name} is missing beanName`),this.createdBeans.push(a)}for(const t of e.derivedBeans??[]){const{beanName:a,bean:n}=t(this);this.beans[a]=n,this.createdBeans.push(n)}e.beanInitComparator&&this.createdBeans.sort(e.beanInitComparator),this.initBeans(this.createdBeans)}getBeanInstances(){return Object.values(this.beans)}createBean(e,t){return this.initBeans([e],t),e}initBeans(e,t){const a=this.beans;for(const n of e)n.preWireBeans?.(a),n.wireBeans?.(a);for(const n of e)n.preConstruct?.();t&&e.forEach(t);for(const n of e)n.postConstruct?.()}getBeans(){return this.beans}getBean(e){return this.beans[e]}getId(){return this.id}destroy(){if(this.destroyed)return;this.destroyed=!0;const e=this.getBeanInstances();this.beanDestroyComparator&&e.sort(this.beanDestroyComparator),this.destroyBeans(e),this.beans={},this.createdBeans=[],this.destroyCallback?.()}destroyBean(e){e?.destroy?.()}destroyBeans(e){if(e)for(let t=0;t[e,t]));function lM(e,t){const a=(e.beanName?Dv[e.beanName]:void 0)??Number.MAX_SAFE_INTEGER,n=(t.beanName?Dv[t.beanName]:void 0)??Number.MAX_SAFE_INTEGER;return a-n}function cM(e,t){return e?.beanName==="gridDestroySvc"?-1:t?.beanName==="gridDestroySvc"?1:0}function ln(e){const{rowIndex:t,rowPinned:a,column:n}=e;return`${t}.${a??"null"}.${n.getId()}`}function go(e,t){const a=e.column===t.column,n=e.rowPinned===t.rowPinned,r=e.rowIndex===t.rowIndex;return a&&n&&r}function He(e,t){switch(e.rowPinned){case"top":if(t.rowPinned!=="top")return!0;break;case"bottom":if(t.rowPinned!=="bottom")return!1;break;default:if(A(t.rowPinned))return t.rowPinned!=="top";break}return e.rowIndexu.rowNode.rowIndex===t.rowIndex),l=s?o:i,c=(a?-1:1)*(s?-1:1);let d;for(let u=0;u{if(!n.defaultPrevented&&!hM(n)&&n.key===w.TAB){const r=n.shiftKey;Je(e,a,!1,r)||Ga(e,r)&&n.preventDefault()}}})}function Hu(e,t){return e.ctrlsSvc.get("gridCtrl").focusInnerElement(t)}function xa(e){return e.gos.get("suppressHeaderFocus")||!!e.overlays?.exclusive}function Oi(e){return e.gos.get("suppressCellFocus")||!!e.overlays?.exclusive}function Ga(e,t,a=!1){const n=e.ctrlsSvc.get("gridCtrl"),r=n.focusNextInnerContainer(t);return r===!0?!0:r===!1?r:((a||!t&&!n.isDetailGrid()&&n.isFocusInsideGridBody())&&n.forceFocusOutOfContainer(t),!1)}function qu(e,t){const a=e.focusSvc,n=a.getFocusedCell();if(n&&t&&go(n,t)){const{rowIndex:r,rowPinned:o,column:i}=t;ma(e)&&a.setFocusedCell({rowIndex:r,column:i,rowPinned:o,forceBrowserFocus:!0,preventScrollOnBrowserFocus:!Ai()})}}function gM(e,t){const a=e.getFocusableContainerName();return a==="gridBody"?t():Lv(e,()=>_t(e.getGui(),".ag-tab-guard").length>0)?a:null}function Lv(e,t){e.setAllowFocus?.(!0);try{return t()}finally{e.setAllowFocus?.(!1)}}var zv="__ag_Grid_Skip_Focusable_Container";function Ov(e){e[zv]=!0}function hM(e){return e[zv]===!0}function Gv(e){return e.cols?e.cols.treeDepth+1:-1}function ca(e){return e.ctrlsSvc.getHeaderRowContainerCtrl()?.getRowCount()??0}function Wu(e){const t=[],a=e.ctrlsSvc.getHeaderRowContainerCtrls();for(const n of a){if(!n)continue;const r=n.getGroupRowCount()||0;for(let o=0;os)&&(t[o]=l)}}}return t}function pM(e,t){let n=e.colModel.isPivotMode()?mM(e):Vv(e);const r=t.getHeaderCellCtrls();for(const o of r){const{column:i}=o,s=i.getAutoHeaderHeight();s!=null&&s>n&&i.isAutoHeaderHeight()&&(n=s)}return n}function Uu(e){let a=e.colModel.isPivotMode()?fM(e):Gi(e);return e.colModel.forAllCols(n=>{const r=n.getAutoHeaderHeight();r!=null&&r>a&&n.isAutoHeaderHeight()&&(a=r)}),a}function Gi(e){return e.gos.get("headerHeight")??e.environment.getDefaultHeaderHeight()}function Al(e){return e.gos.get("floatingFiltersHeight")??Gi(e)}function Vv(e){return e.gos.get("groupHeaderHeight")??Gi(e)}function fM(e){return e.gos.get("pivotHeaderHeight")??Gi(e)}function mM(e){return e.gos.get("pivotGroupHeaderHeight")??Vv(e)}function vM(e,t){return e.headerRowIndex===t.headerRowIndex&&e.column===t.column}function CM(e){return e?.headerRowIndex!=null}var Bv=class extends F{setComp(e,t,a){this.comp=e,this.eGui=t;const{beans:n}=this,{headerNavigation:r,touchSvc:o,ctrlsSvc:i}=n;r&&this.createManagedBean(new In(a,{onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this),onFocusOut:this.onFocusOut.bind(this)})),this.addManagedEventListeners({columnPivotModeChanged:this.onPivotModeChanged.bind(this,n),displayedColumnsChanged:this.onDisplayedColumnsChanged.bind(this,n)}),this.onPivotModeChanged(n),this.setupHeaderHeight();const s=this.onHeaderContextMenu.bind(this);this.addManagedElementListeners(this.eGui,{contextmenu:s}),o?.mockHeaderContextMenu(this,s),i.register("gridHeaderCtrl",this)}setupHeaderHeight(){const e=this.setHeaderHeight.bind(this);e(),this.addManagedPropertyListeners(["headerHeight","pivotHeaderHeight","groupHeaderHeight","pivotGroupHeaderHeight","floatingFiltersHeight"],e),this.addManagedEventListeners({headerRowsChanged:e,columnHeaderHeightChanged:e,columnGroupHeaderHeightChanged:()=>kt(this.beans,()=>e()),stylesChanged:e,advancedFilterEnabledChanged:e})}setHeaderHeight(){const{beans:e}=this;let t=0;const a=Wu(e).reduce((i,s)=>i+s,0),n=Uu(e);e.filterManager?.hasFloatingFilters()&&(t+=Al(e)),t+=a,t+=n;const r=e.environment.getHeaderRowBorderWidth(),o=t+r;if(this.headerHeightWithBorder!==o){this.headerHeightWithBorder=o;const i=`${o}px`;this.comp.setHeightAndMinHeight(i)}this.headerHeight!==t&&(this.headerHeight=t,this.eventSvc.dispatchEvent({type:"headerHeightChanged"}))}onPivotModeChanged(e){const t=e.colModel.isPivotMode();this.comp.toggleCss("ag-pivot-on",t),this.comp.toggleCss("ag-pivot-off",!t)}onDisplayedColumnsChanged(e){const a=e.visibleCols.allCols.some(n=>n.isSpanHeaderHeight());this.comp.toggleCss("ag-header-allow-overflow",a)}onTabKeyDown(e){const t=this.gos.get("enableRtl"),a=e.shiftKey,n=a!==t?"LEFT":"RIGHT",{beans:r}=this,{headerNavigation:o,focusSvc:i}=r;(o.navigateHorizontally(n,!0,e)||!a&&i.focusOverlay(!1)||Ga(r,a,!0))&&e.preventDefault()}handleKeyDown(e){let t=null;const{headerNavigation:a}=this.beans;switch(e.key){case w.LEFT:t="LEFT";case w.RIGHT:{A(t)||(t="RIGHT"),a.navigateHorizontally(t,!1,e)&&e.preventDefault();break}case w.UP:t="UP";case w.DOWN:{A(t)||(t="DOWN"),a.navigateVertically(t,e)&&e.preventDefault();break}default:return}}onFocusOut(e){const{relatedTarget:t}=e,{eGui:a,beans:n}=this;!t&&a.contains(ne(n))||a.contains(t)||(n.focusSvc.focusedHeader=null)}onHeaderContextMenu(e,t,a){const{menuSvc:n,ctrlsSvc:r}=this.beans;if(!e&&!a||!n?.isHeaderContextMenuEnabled())return;const{target:o}=e??t;(o===this.eGui||o===r.getHeaderRowContainerCtrl()?.eViewport)&&n.showHeaderContextMenu(void 0,e,a)}},ju=class extends T{constructor(e,t){super(e),this.ctrl=t}getCtrl(){return this.ctrl}},bM={tag:"div",cls:"ag-header-cell",role:"columnheader",children:[{tag:"div",ref:"eResize",cls:"ag-header-cell-resize",role:"presentation"},{tag:"div",ref:"eHeaderCompWrapper",cls:"ag-header-cell-comp-wrapper",role:"presentation"}]},wM=class extends ju{constructor(e){super(bM,e),this.eResize=x,this.eHeaderCompWrapper=x,this.headerCompVersion=0}postConstruct(){const e=this.getGui(),t=()=>{const n=this.ctrl.getSelectAllGui();n&&(this.eResize.insertAdjacentElement("afterend",n),this.addDestroyFunc(()=>n.remove()))},a={setWidth:n=>e.style.width=n,toggleCss:(n,r)=>this.toggleCss(n,r),setUserStyles:n=>hi(e,n),setAriaSort:n=>n?om(e,n):im(e),setUserCompDetails:n=>this.setUserCompDetails(n),getUserCompInstance:()=>this.headerComp,refreshSelectAllGui:t,removeSelectAllGui:()=>this.ctrl.getSelectAllGui()?.remove()};this.ctrl.setComp(a,this.getGui(),this.eResize,this.eHeaderCompWrapper,void 0),t()}destroy(){this.destroyHeaderComp(),super.destroy()}destroyHeaderComp(){this.headerComp&&(this.headerCompGui?.remove(),this.headerComp=this.destroyBean(this.headerComp),this.headerCompGui=void 0)}setUserCompDetails(e){this.headerCompVersion++;const t=this.headerCompVersion;e.newAgStackInstance().then(a=>this.afterCompCreated(t,a))}afterCompCreated(e,t){if(e!=this.headerCompVersion||!this.isAlive()){this.destroyBean(t);return}this.destroyHeaderComp(),this.headerComp=t,this.headerCompGui=t.getGui(),this.eHeaderCompWrapper.appendChild(this.headerCompGui),this.ctrl.setDragSource(this.getGui())}},yM={tag:"div",cls:"ag-header-group-cell",role:"columnheader",children:[{tag:"div",ref:"eHeaderCompWrapper",cls:"ag-header-cell-comp-wrapper",role:"presentation"},{tag:"div",ref:"eResize",cls:"ag-header-cell-resize",role:"presentation"}]},SM=class extends ju{constructor(e){super(yM,e),this.eResize=x,this.eHeaderCompWrapper=x}postConstruct(){const e=this.getGui(),t=(n,r)=>r!=null?e.setAttribute(n,r):e.removeAttribute(n),a={toggleCss:(n,r)=>this.toggleCss(n,r),setUserStyles:n=>hi(e,n),setHeaderWrapperHidden:n=>{n?this.eHeaderCompWrapper.style.setProperty("display","none"):this.eHeaderCompWrapper.style.removeProperty("display")},setHeaderWrapperMaxHeight:n=>{n!=null?this.eHeaderCompWrapper.style.setProperty("max-height",`${n}px`):this.eHeaderCompWrapper.style.removeProperty("max-height"),this.eHeaderCompWrapper.classList.toggle("ag-header-cell-comp-wrapper-limited-height",n!=null)},setResizableDisplayed:n=>G(this.eResize,n),setWidth:n=>e.style.width=n,setAriaExpanded:n=>t("aria-expanded",n),setUserCompDetails:n=>this.setUserCompDetails(n),getUserCompInstance:()=>this.headerGroupComp};this.ctrl.setComp(a,e,this.eResize,this.eHeaderCompWrapper,void 0)}setUserCompDetails(e){e.newAgStackInstance().then(t=>this.afterHeaderCompCreated(t))}afterHeaderCompCreated(e){const t=()=>this.destroyBean(e);if(!this.isAlive()){t();return}const a=this.getGui(),n=e.getGui();this.eHeaderCompWrapper.appendChild(n),this.addDestroyFunc(t),this.headerGroupComp=e,this.ctrl.setDragSource(a)}},xM={tag:"div",cls:"ag-header-cell ag-floating-filter",role:"gridcell",children:[{tag:"div",ref:"eFloatingFilterBody",role:"presentation"},{tag:"div",ref:"eButtonWrapper",cls:"ag-floating-filter-button ag-hidden",role:"presentation",children:[{tag:"button",ref:"eButtonShowMainFilter",cls:"ag-button ag-floating-filter-button-button",attrs:{type:"button",tabindex:"-1"}}]}]},kM=class extends ju{constructor(e){super(xM,e),this.eFloatingFilterBody=x,this.eButtonWrapper=x,this.eButtonShowMainFilter=x}postConstruct(){const e=this.getGui(),t={toggleCss:(a,n)=>this.toggleCss(a,n),setUserStyles:a=>hi(e,a),addOrRemoveBodyCssClass:(a,n)=>this.eFloatingFilterBody.classList.toggle(a,n),setButtonWrapperDisplayed:a=>G(this.eButtonWrapper,a),setCompDetails:a=>this.setCompDetails(a),getFloatingFilterComp:()=>this.compPromise,setWidth:a=>e.style.width=a,setMenuIcon:a=>this.eButtonShowMainFilter.appendChild(a)};this.ctrl.setComp(t,e,this.eButtonShowMainFilter,this.eFloatingFilterBody,void 0)}setCompDetails(e){if(!e){this.destroyFloatingFilterComp(),this.compPromise=null;return}this.compPromise=e.newAgStackInstance(),this.compPromise.then(t=>this.afterCompCreated(t))}destroy(){this.destroyFloatingFilterComp(),super.destroy()}destroyFloatingFilterComp(){this.floatingFilterComp?.getGui().remove(),this.floatingFilterComp=this.destroyBean(this.floatingFilterComp)}afterCompCreated(e){if(e){if(!this.isAlive()){this.destroyBean(e);return}this.destroyFloatingFilterComp(),this.floatingFilterComp=e,this.eFloatingFilterBody.appendChild(e.getGui()),e.afterGuiAttached?.()}}},RM=class extends T{constructor(e){super({tag:"div",cls:e.headerRowClass,role:"row"}),this.ctrl=e,this.headerComps={}}postConstruct(){this.getGui().setAttribute("tabindex",String(this.gos.get("tabIndex"))),ur(this.getGui(),this.ctrl.getAriaRowIndex());const t={setHeight:a=>this.getGui().style.height=a,setTop:a=>this.getGui().style.top=a,setHeaderCtrls:(a,n)=>this.setHeaderCtrls(a,n),setWidth:a=>this.getGui().style.width=a,setRowIndex:a=>ur(this.getGui(),a)};this.ctrl.setComp(t,void 0)}destroy(){this.setHeaderCtrls([],!1),super.destroy()}setHeaderCtrls(e,t){if(!this.isAlive())return;const a=this.headerComps;this.headerComps={};for(const n of e){const r=n.instanceId;let o=a[r];delete a[r],o==null&&(o=this.createHeaderComp(n),this.getGui().appendChild(o.getGui())),this.headerComps[r]=o}if(Object.values(a).forEach(n=>{n.getGui().remove(),this.destroyBean(n)}),t){const n=Object.values(this.headerComps);n.sort((o,i)=>{const s=o.getCtrl().column.getLeft(),l=i.getCtrl().column.getLeft();return s-l});const r=n.map(o=>o.getGui());hm(this.getGui(),r)}}createHeaderComp(e){let t;switch(this.ctrl.type){case"group":t=new SM(e);break;case"filter":t=new kM(e);break;default:t=new wM(e);break}return this.createBean(t),t.setParentComponent(this),t}},_u=class extends F{constructor(e,t=!1){super(),this.callback=e,this.addSpacer=t}postConstruct(){const e=this.setWidth.bind(this);this.addManagedPropertyListener("domLayout",e),this.addManagedEventListeners({columnContainerWidthChanged:e,displayedColumnsChanged:e,leftPinnedWidthChanged:e}),this.addSpacer&&this.addManagedEventListeners({rightPinnedWidthChanged:e,scrollVisibilityChanged:e,scrollbarWidthChanged:e}),this.setWidth()}setWidth(){const e=Ke(this.gos,"print"),{visibleCols:t,scrollVisibleSvc:a}=this.beans,n=t.bodyWidth,r=t.getColsLeftWidth(),o=t.getDisplayedColumnsRightWidth();let i;e?i=n+r+o:(i=n,this.addSpacer&&(this.gos.get("enableRtl")?r:o)===0&&a.verticalScrollShowing&&(i+=a.getScrollbarWidth())),this.callback(i)}},FM=class extends F{};function Vi(e,t,a){return a&&e.addDestroyFunc(()=>t.destroyBean(a)),a??e}var Ku=class extends F{constructor(e,t,a,n){super(),this.columnOrGroup=e,this.eCell=t,this.colsSpanning=n,this.columnOrGroup=e,this.ariaEl=t.querySelector("[role=columnheader]")||t,this.beans=a}setColsSpanning(e){this.colsSpanning=e,this.onLeftChanged()}getColumnOrGroup(){const{beans:e,colsSpanning:t}=this;return e.gos.get("enableRtl")&&t?W(t):this.columnOrGroup}postConstruct(){const e=this.onLeftChanged.bind(this);this.addManagedListeners(this.columnOrGroup,{leftChanged:e}),this.setLeftFirstTime(),this.addManagedEventListeners({displayedColumnsWidthChanged:e}),this.addManagedPropertyListener("domLayout",e)}setLeftFirstTime(){const{gos:e,colAnimation:t}=this.beans,a=e.get("suppressColumnMoveAnimation"),n=A(this.columnOrGroup.getOldLeft());t?.isActive()&&n&&!a?this.animateInLeft():this.onLeftChanged()}animateInLeft(){const e=this.getColumnOrGroup(),t=this.modifyLeftForPrintLayout(e,e.getOldLeft()),a=this.modifyLeftForPrintLayout(e,e.getLeft());this.setLeft(t),this.actualLeft=a,this.beans.colAnimation.executeNextVMTurn(()=>{this.actualLeft===a&&this.setLeft(a)})}onLeftChanged(){const e=this.getColumnOrGroup(),t=e.getLeft();this.actualLeft=this.modifyLeftForPrintLayout(e,t),this.setLeft(this.actualLeft)}modifyLeftForPrintLayout(e,t){const{gos:a,visibleCols:n}=this.beans;if(!Ke(a,"print")||e.getPinned()==="left")return t;const o=n.getColsLeftWidth();if(e.getPinned()==="right"){const i=n.bodyWidth;return o+i+t}return o+t}setLeft(e){if(A(e)&&(this.eCell.style.left=`${e}px`),Le(this.columnOrGroup)){const t=this.columnOrGroup.getLeafColumns();if(!t.length)return;t.length>1&&Bd(this.ariaEl,t.length)}}},MM="ag-column-first",EM="ag-column-last";function Tl(e,t,a,n){return ie(e)?[]:Hv(e.headerClass,e,t,a,n)}function Yu(e,t,a,n){return ie(e)?[]:Hv(e.toolPanelClass,e,t,a,n)}function Nv(e,t,a){e.toggleCss(MM,a.isColAtEdge(t,"first")),e.toggleCss(EM,a.isColAtEdge(t,"last"))}function PM(e,t,a,n){return B(t,{colDef:e,column:a,columnGroup:n})}function Hv(e,t,a,n,r){if(ie(e))return[];let o;if(typeof e=="function"){const i=PM(t,a,n,r);o=e(i)}else o=e;return typeof o=="string"?[o]:Array.isArray(o)?[...o]:[]}var AM=0,qv="headerCtrl",Qu=class extends F{constructor(e,t){super(),this.column=e,this.rowCtrl=t,this.resizeToggleTimeout=0,this.resizeMultiplier=1,this.resizeFeature=null,this.lastFocusEvent=null,this.dragSource=null,this.reAttemptToFocus=!1,this.instanceId=e.getUniqueId()+"-"+AM++}postConstruct(){const e=this.refreshTabIndex.bind(this);this.addManagedPropertyListeners(["suppressHeaderFocus"],e),this.addManagedEventListeners({overlayExclusiveChanged:e})}setComp(e,t,a,n,r){t.setAttribute("col-id",this.column.colIdSanitised),this.wireComp(e,t,a,n,r),this.reAttemptToFocus&&(this.reAttemptToFocus=!1,this.focus(this.lastFocusEvent??void 0))}shouldStopEventPropagation(e){const{headerRowIndex:t,column:a}=this.beans.focusSvc.focusedHeader,n=a.getDefinition(),r=n?.suppressHeaderKeyboardEvent;if(!A(r))return!1;const o=B(this.gos,{colDef:n,column:a,headerRowIndex:t,event:e});return!!r(o)}getWrapperHasFocus(){return ne(this.beans)===this.eGui}setGui(e,t){this.eGui=e,this.addDomData(t),t.addManagedListeners(this.beans.eventSvc,{displayedColumnsChanged:this.onDisplayedColumnsChanged.bind(this)}),t.addManagedElementListeners(this.eGui,{focus:this.onGuiFocus.bind(this)}),this.onDisplayedColumnsChanged(),this.refreshTabIndex()}refreshHeaderStyles(){const e=this.column.getDefinition();if(!e)return;const{headerStyle:t}=e;let a;if(typeof t=="function"){const n=this.getHeaderClassParams();a=t(n)}else a=t;a&&this.comp.setUserStyles(a)}onGuiFocus(){this.eventSvc.dispatchEvent({type:"headerFocused",column:this.column})}setupAutoHeight(e){const{wrapperElement:t,checkMeasuringCallback:a,compBean:n}=e,{beans:r}=this,o=u=>{if(!this.isAlive()||!n.isAlive())return;const{paddingTop:g,paddingBottom:h,borderBottomWidth:p,borderTopWidth:f}=hr(this.eGui),m=g+h+p+f,C=t.offsetHeight+m;if(u<5){const y=!me(r)?.contains(t),S=C==0;if(y||S){vi(()=>o(u+1),"raf",r);return}}this.setColHeaderHeight(this.column,C)};let i=!1,s;const l=()=>{const u=this.column.isAutoHeaderHeight();u&&!i&&c(),!u&&i&&d()},c=()=>{i=!0,this.comp.toggleCss("ag-header-cell-auto-height",!0),o(0),s=Ca(this.beans,t,()=>o(0))},d=()=>{i=!1,s&&s(),this.comp.toggleCss("ag-header-cell-auto-height",!1),s=void 0};l(),n.addDestroyFunc(()=>d()),n.addManagedListeners(this.column,{widthChanged:()=>i&&o(0)}),n.addManagedEventListeners({sortChanged:()=>{i&&window.setTimeout(()=>o(0))}}),a&&a(l)}onDisplayedColumnsChanged(){const{comp:e,column:t,beans:a,eGui:n}=this;!e||!t||!n||(Nv(e,t,a.visibleCols),js(n,a.visibleCols.getAriaColIndex(t)))}addResizeAndMoveKeyboardListeners(e){e.addManagedListeners(this.eGui,{keydown:this.onGuiKeyDown.bind(this),keyup:this.onGuiKeyUp.bind(this)})}refreshTabIndex(){const e=xa(this.beans);this.eGui&&it(this.eGui,"tabindex",e?null:"-1")}onGuiKeyDown(e){const t=ne(this.beans),a=e.key===w.LEFT||e.key===w.RIGHT;if(this.isResizing&&(e.preventDefault(),e.stopImmediatePropagation()),t!==this.eGui||!e.shiftKey&&!e.altKey&&!e.ctrlKey&&!e.metaKey)return;if((this.isResizing||a)&&(e.preventDefault(),e.stopImmediatePropagation()),(e.ctrlKey||e.metaKey)&&iv(e)===w.C)return this.beans.clipboardSvc?.copyToClipboard();if(!a)return;const o=e.key===w.LEFT!==this.gos.get("enableRtl")?"left":"right";if(e.altKey){this.isResizing=!0,this.resizeMultiplier+=1;const i=this.getViewportAdjustedResizeDiff(e);this.resizeHeader(i,e.shiftKey),this.resizeFeature?.toggleColumnResizing(!0)}else this.moveHeader(o)}moveHeader(e){this.beans.colMoves?.moveHeader(e,this.eGui,this.column,this.rowCtrl.pinned,this)}getViewportAdjustedResizeDiff(e){const t=this.getResizeDiff(e),{pinnedCols:a}=this.beans;return a?a.getHeaderResizeDiff(t,this.column):t}getResizeDiff(e){const{gos:t,column:a}=this;let n=e.key===w.LEFT!==t.get("enableRtl");const r=a.getPinned(),o=t.get("enableRtl");return r&&o!==(r==="right")&&(n=!n),(n?-1:1)*this.resizeMultiplier}onGuiKeyUp(){this.isResizing&&(this.resizeToggleTimeout&&(window.clearTimeout(this.resizeToggleTimeout),this.resizeToggleTimeout=0),this.isResizing=!1,this.resizeMultiplier=1,this.resizeToggleTimeout=window.setTimeout(()=>{this.resizeFeature?.toggleColumnResizing(!1)},150))}handleKeyDown(e){const t=this.getWrapperHasFocus();switch(e.key){case w.PAGE_DOWN:case w.PAGE_UP:case w.PAGE_HOME:case w.PAGE_END:t&&e.preventDefault()}}addDomData(e){const t=qv,{eGui:a,gos:n}=this;vr(n,a,t,this),e.addDestroyFunc(()=>vr(n,a,t,null))}focus(e){if(!this.isAlive())return!1;const{eGui:t}=this;return t?(this.lastFocusEvent=e||null,t.focus()):this.reAttemptToFocus=!0,!0}focusThis(){this.beans.focusSvc.focusedHeader={headerRowIndex:this.rowCtrl.rowIndex,column:this.column}}removeDragSource(){this.dragSource&&(this.beans.dragAndDrop?.removeDragSource(this.dragSource),this.dragSource=null)}handleContextMenuMouseEvent(e,t,a){const n=e??t,{menuSvc:r,gos:o}=this.beans;o.get("preventDefaultOnContextMenu")&&n.preventDefault(),r?.isHeaderContextMenuEnabled(a)&&r.showHeaderContextMenu(a,e,t),this.dispatchColumnMouseEvent("columnHeaderContextMenu",a)}dispatchColumnMouseEvent(e,t){this.eventSvc.dispatchEvent({type:e,column:t})}setColHeaderHeight(e,t){if(!e.setAutoHeaderHeight(t))return;const{eventSvc:a}=this;e.isColumn?a.dispatchEvent({type:"columnHeaderHeightChanged",column:e,columns:[e],source:"autosizeColumnHeaderHeight"}):a.dispatchEvent({type:"columnGroupHeaderHeightChanged",columnGroup:e,source:"autosizeColumnGroupHeaderHeight"})}clearComponent(){this.removeDragSource(),this.resizeFeature=null,this.comp=null,this.eGui=null}destroy(){super.destroy(),this.column=null,this.lastFocusEvent=null,this.rowCtrl=null}},TM=class extends Qu{constructor(){super(...arguments),this.refreshFunctions={},this.userHeaderClasses=new Set,this.ariaDescriptionProperties=new Map}wireComp(e,t,a,n,r){this.comp=e;const{rowCtrl:o,column:i,beans:s}=this,{colResize:l,context:c,colHover:d,rangeSvc:u}=s,g=Vi(this,c,r);this.setGui(t,g),this.updateState(),this.setupWidth(g),this.setupMovingCss(g),this.setupMenuClass(g),this.setupSortableClass(g),this.setupWrapTextClass(),this.refreshSpanHeaderHeight(),this.setupAutoHeight({wrapperElement:n,checkMeasuringCallback:p=>this.setRefreshFunction("measuring",p),compBean:g}),this.addColumnHoverListener(g),this.setupFilterClass(g),this.setupStylesFromColDef(),this.setupClassesFromColDef(),this.setupTooltip(),this.addActiveHeaderMouseListeners(g),this.setupSelectAll(g),this.setupUserComp(),this.refreshAria(),l?this.resizeFeature=g.createManagedBean(l.createResizeFeature(o.pinned,i,a,e,this)):G(a,!1),d?.createHoverFeature(g,[i],t),u?.createRangeHighlightFeature(g,i,e),g.createManagedBean(new Ku(i,t,s)),g.createManagedBean(new In(t,{shouldStopEventPropagation:p=>this.shouldStopEventPropagation(p),onTabKeyDown:()=>null,handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this),onFocusOut:this.onFocusOut.bind(this)})),this.addResizeAndMoveKeyboardListeners(g),g.addManagedPropertyListeners(["suppressMovableColumns","suppressMenuHide","suppressAggFuncInHeader","enableAdvancedFilter"],()=>this.refresh()),g.addManagedListeners(i,{colDefChanged:()=>this.refresh(),formulaRefChanged:()=>this.refresh(),headerHighlightChanged:this.onHeaderHighlightChanged.bind(this)});const h=()=>this.checkDisplayName();g.addManagedEventListeners({columnValueChanged:h,columnRowGroupChanged:h,columnPivotChanged:h,headerHeightChanged:this.onHeaderHeightChanged.bind(this)}),g.addDestroyFunc(()=>{this.refreshFunctions={},this.selectAllFeature=null,this.dragSourceElement=void 0,this.userCompDetails=null,this.userHeaderClasses.clear(),this.ariaDescriptionProperties.clear(),this.clearComponent()})}resizeHeader(e,t){this.beans.colResize?.resizeHeader(this.column,e,t)}getHeaderClassParams(){const{column:e,beans:t}=this,a=e.colDef;return B(t.gos,{colDef:a,column:e,floatingFilter:!1})}setupUserComp(){const e=this.lookupUserCompDetails();e&&this.setCompDetails(e)}setCompDetails(e){this.userCompDetails=e,this.comp.setUserCompDetails(e)}lookupUserCompDetails(){const e=this.createParams(),t=this.column.getColDef();return PF(this.beans.userCompFactory,t,e)}createParams(){const{menuSvc:e,sortSvc:t,colFilter:a,gos:n}=this.beans;return B(n,{column:this.column,displayName:this.displayName,enableSorting:this.column.isSortable(),enableMenu:this.menuEnabled,enableFilterButton:this.openFilterEnabled&&!!e?.isHeaderFilterButtonEnabled(this.column),enableFilterIcon:!!a&&(!this.openFilterEnabled||Ne(this.gos)),showColumnMenu:(o,i)=>{e?.showColumnMenu({column:this.column,buttonElement:o,positionBy:"button",onClosedCallback:i})},showColumnMenuAfterMouseClick:(o,i)=>{e?.showColumnMenu({column:this.column,mouseEvent:o,positionBy:"mouse",onClosedCallback:i})},showFilter:o=>{e?.showFilterMenu({column:this.column,buttonElement:o,containerType:"columnFilter",positionBy:"button"})},progressSort:o=>{t?.progressSort(this.column,!!o,"uiColumnSorted")},setSort:(o,i)=>{t?.setSortForColumn(this.column,Ut(o),!!i,"uiColumnSorted")},eGridHeader:this.eGui,setTooltip:(o,i)=>{n.assertModuleRegistered("Tooltip",3),this.setupTooltip(o,i)}})}setupSelectAll(e){const{selectionSvc:t}=this.beans;t&&(this.selectAllFeature=e.createOptionalManagedBean(t.createSelectAllFeature(this.column)),this.selectAllFeature?.setComp(this),e.addManagedPropertyListener("rowSelection",()=>{const a=t.createSelectAllFeature(this.column);a&&!this.selectAllFeature?(this.selectAllFeature=e.createManagedBean(a),this.selectAllFeature?.setComp(this),this.comp.refreshSelectAllGui()):this.selectAllFeature&&!a&&(this.comp.removeSelectAllGui(),this.selectAllFeature=this.destroyBean(this.selectAllFeature))}))}getSelectAllGui(){return this.selectAllFeature?.getCheckboxGui()}handleKeyDown(e){super.handleKeyDown(e),e.key===w.SPACE?this.selectAllFeature?.onSpaceKeyDown(e):e.key===w.ENTER?this.onEnterKeyDown(e):e.key===w.DOWN&&e.altKey&&this.showMenuOnKeyPress(e,!1)}onEnterKeyDown(e){const{column:t,gos:a,sortable:n,beans:r}=this;let o=!1;(e.ctrlKey||e.metaKey)&&(o=this.showMenuOnKeyPress(e,!0)),o||(!e.altKey&&Mn(a)?r.rangeSvc?.handleColumnSelection(t,e):n&&r.sortSvc?.progressSort(t,e.shiftKey,"uiColumnSorted"))}showMenuOnKeyPress(e,t){const a=this.comp.getUserCompInstance();return Wv(a)&&a.onMenuKeyboardShortcut(t)?(e.preventDefault(),!0):!1}onFocusIn(e){this.eGui.contains(e.relatedTarget)||(this.focusThis(),this.announceAriaDescription()),Ai()&&this.setActiveHeader(!0)}onFocusOut(e){this.eGui.contains(e.relatedTarget)||this.setActiveHeader(!1)}setupTooltip(e,t){this.tooltipFeature=this.beans.tooltipSvc?.setupHeaderTooltip(this.tooltipFeature,this,e,t)}setupStylesFromColDef(){this.setRefreshFunction("headerStyles",this.refreshHeaderStyles.bind(this)),this.refreshHeaderStyles()}setupClassesFromColDef(){const e=()=>{const t=this.column.getColDef(),a=Tl(t,this.gos,this.column,null),n=this.userHeaderClasses;this.userHeaderClasses=new Set(a);for(const r of a)n.has(r)?n.delete(r):this.comp.toggleCss(r,!0);for(const r of n)this.comp.toggleCss(r,!1)};this.setRefreshFunction("headerClasses",e),e()}setDragSource(e){this.dragSourceElement=e,this.removeDragSource(),!(!e||!this.draggable)&&(this.dragSource=this.beans.colMoves?.setDragSourceForHeader(e,this.column,this.displayName)??null)}updateState(){const{menuSvc:e}=this.beans;this.menuEnabled=!!e?.isColumnMenuInHeaderEnabled(this.column),this.openFilterEnabled=!!e?.isFilterMenuInHeaderEnabled(this.column),this.sortable=this.column.isSortable(),this.displayName=this.calculateDisplayName(),this.draggable=this.workOutDraggable()}setRefreshFunction(e,t){this.refreshFunctions[e]=t}refresh(){this.updateState(),this.refreshHeaderComp(),this.refreshAria();for(const e of Object.values(this.refreshFunctions))e()}refreshHeaderComp(){const e=this.lookupUserCompDetails();if(!e)return;(this.comp.getUserCompInstance()!=null&&this.userCompDetails.componentClass==e.componentClass?this.attemptHeaderCompRefresh(e.params):!1)?this.setDragSource(this.dragSourceElement):this.setCompDetails(e)}attemptHeaderCompRefresh(e){const t=this.comp.getUserCompInstance();return!t||!t.refresh?!1:t.refresh(e)}calculateDisplayName(){return this.beans.colNames.getDisplayNameForColumn(this.column,"header",!0)}checkDisplayName(){this.displayName!==this.calculateDisplayName()&&this.refresh()}workOutDraggable(){const e=this.column.getColDef();return!!(!this.gos.get("suppressMovableColumns")&&!e.suppressMovable&&!e.lockPosition)||!!e.enableRowGroup||!!e.enablePivot}setupWidth(e){const t=()=>{const a=this.column.getActualWidth();this.comp.setWidth(`${a}px`)};e.addManagedListeners(this.column,{widthChanged:t}),t()}setupMovingCss(e){const t=()=>{this.comp.toggleCss("ag-header-cell-moving",this.column.isMoving())};e.addManagedListeners(this.column,{movingChanged:t}),t()}setupMenuClass(e){const t=()=>{this.comp?.toggleCss("ag-column-menu-visible",this.column.isMenuVisible())};e.addManagedListeners(this.column,{menuVisibleChanged:t}),t()}setupSortableClass(e){const t=()=>{this.comp.toggleCss("ag-header-cell-sortable",!!this.sortable)};t(),this.setRefreshFunction("updateSortable",t),e.addManagedEventListeners({sortChanged:this.refreshAriaSort.bind(this)})}setupFilterClass(e){const t=()=>{const a=this.column.isFilterActive();this.comp.toggleCss("ag-header-cell-filtered",a),this.refreshAria()};e.addManagedListeners(this.column,{filterActiveChanged:t}),t()}setupWrapTextClass(){const e=()=>{const t=!!this.column.getColDef().wrapHeaderText;this.comp.toggleCss("ag-header-cell-wrap-text",t)};e(),this.setRefreshFunction("wrapText",e)}onHeaderHighlightChanged(){const e=this.column.getHighlighted(),t=e===0,a=e===1;this.comp.toggleCss("ag-header-highlight-before",t),this.comp.toggleCss("ag-header-highlight-after",a)}onDisplayedColumnsChanged(){super.onDisplayedColumnsChanged(),this.isAlive()&&this.onHeaderHeightChanged()}onHeaderHeightChanged(){this.refreshSpanHeaderHeight()}refreshSpanHeaderHeight(){const{eGui:e,column:t,comp:a,beans:n}=this,r=Wu(this.beans),o=r.reduce((g,h)=>g+h,0)===0;if(a.toggleCss("ag-header-parent-hidden",o),!t.isSpanHeaderHeight()){e.style.removeProperty("top"),e.style.removeProperty("height"),a.toggleCss("ag-header-span-height",!1),a.toggleCss("ag-header-span-total",!1);return}const{numberOfParents:i,isSpanningTotal:s}=this.column.getColumnGroupPaddingInfo();a.toggleCss("ag-header-span-height",i>0);const l=Uu(n);if(i===0){a.toggleCss("ag-header-span-total",!1),e.style.setProperty("top","0px"),e.style.setProperty("height",`${l}px`);return}a.toggleCss("ag-header-span-total",s);const c=(this.column.getFirstRealParent()?.getLevel()??-1)+1,d=r.length-c;let u=0;for(let g=0;gr==="filter"?-1:o.charCodeAt(0)-r.charCodeAt(0)).map(r=>a.get(r)).join(". ");e.ariaAnnounce?.announceValue(n,"columnHeader")}refreshAria(){this.refreshAriaSort(),this.refreshAriaMenu(),this.refreshAriaFilterButton(),this.refreshAriaFiltered(),this.refreshAriaCellSelection()}addColumnHoverListener(e){this.beans.colHover?.addHeaderColumnHoverListener(e,this.comp,this.column)}addActiveHeaderMouseListeners(e){const t=r=>this.handleMouseOverChange(r.type==="mouseenter"),a=()=>{this.setActiveHeader(!0),this.dispatchColumnMouseEvent("columnHeaderClicked",this.column)},n=r=>this.handleContextMenuMouseEvent(r,void 0,this.column);e.addManagedListeners(this.eGui,{mouseenter:t,mouseleave:t,click:a,contextmenu:n})}handleMouseOverChange(e){this.setActiveHeader(e),this.eventSvc.dispatchEvent({type:e?"columnHeaderMouseOver":"columnHeaderMouseLeave",column:this.column})}setActiveHeader(e){this.comp.toggleCss("ag-header-active",e)}getAnchorElementForMenu(e){const t=this.comp.getUserCompInstance();return Wv(t)?t.getAnchorElementForMenu(e):this.eGui}destroy(){this.tooltipFeature=this.destroyBean(this.tooltipFeature),super.destroy()}};function Wv(e){return typeof e?.getAnchorElementForMenu=="function"&&typeof e.onMenuKeyboardShortcut=="function"}var DM=0,Zu=class extends F{constructor(e,t,a){super(),this.rowIndex=e,this.pinned=t,this.type=a,this.instanceId=DM++,this.comp=null,this.allCtrls=[];let n="ag-header-row-column";a==="group"?n="ag-header-row-group":a==="filter"&&(n="ag-header-row-filter"),this.headerRowClass=`ag-header-row ${n}`}setRowIndex(e){this.rowIndex=e,this.comp?.setRowIndex(this.getAriaRowIndex()),this.onRowHeightChanged()}postConstruct(){this.isPrintLayout=Ke(this.gos,"print"),this.isEnsureDomOrder=this.gos.get("ensureDomOrder")}areCellsRendered(){return this.comp?this.allCtrls.every(e=>e.eGui!=null):!1}setComp(e,t,a=!0){this.comp=e,t=Vi(this,this.beans.context,t),a&&(this.setRowIndex(this.rowIndex),this.onVirtualColumnsChanged()),this.setWidth(),this.addEventListeners(t)}getAriaRowIndex(){return this.rowIndex+1}addEventListeners(e){const t=this.onRowHeightChanged.bind(this),a=this.onDisplayedColumnsChanged.bind(this);e.addManagedEventListeners({columnResized:this.setWidth.bind(this),displayedColumnsChanged:a,virtualColumnsChanged:n=>this.onVirtualColumnsChanged(n.afterScroll),columnGroupHeaderHeightChanged:t,columnHeaderHeightChanged:t,stylesChanged:t,advancedFilterEnabledChanged:t}),e.addManagedPropertyListener("domLayout",a),e.addManagedPropertyListener("ensureDomOrder",n=>this.isEnsureDomOrder=n.currentValue),e.addManagedPropertyListeners(["headerHeight","pivotHeaderHeight","groupHeaderHeight","pivotGroupHeaderHeight","floatingFiltersHeight"],t)}onDisplayedColumnsChanged(){this.isPrintLayout=Ke(this.gos,"print"),this.onVirtualColumnsChanged(),this.setWidth(),this.onRowHeightChanged()}setWidth(){if(!this.comp)return;const e=this.getWidthForRow();this.comp.setWidth(`${e}px`)}getWidthForRow(){const{visibleCols:e}=this.beans;return this.isPrintLayout?this.pinned!=null?0:e.getContainerWidth("right")+e.getContainerWidth("left")+e.getContainerWidth(null):e.getContainerWidth(this.pinned)}onRowHeightChanged(){if(!this.comp)return;const{topOffset:e,rowHeight:t}=this.getTopAndHeight();this.comp.setTop(e+"px"),this.comp.setHeight(t+"px")}getTopAndHeight(){let e=0;const t=Wu(this.beans);for(let r=0;r{const{focusSvc:r,visibleCols:o}=this.beans;return r.isHeaderWrapperFocused(n)?o.isVisible(n.column):!1};if(e)for(const[n,r]of e)a(r)?this.ctrlsById.set(n,r):this.destroyBean(r);return this.allCtrls=Array.from(this.ctrlsById.values()),this.allCtrls}getHeaderCellCtrls(){return this.allCtrls}recycleAndCreateHeaderCtrls(e,t,a){if(e.isEmptyGroup())return;const n=e.getUniqueId();let r;if(a&&(r=a.get(n),a.delete(n)),r&&r.column!=e&&(this.destroyBean(r),r=void 0),r==null)switch(this.type){case"filter":{r=this.createBean(this.beans.registry.createDynamicBean("headerFilterCellCtrl",!0,e,this));break}case"group":r=this.createBean(this.beans.registry.createDynamicBean("headerGroupCellCtrl",!0,e,this));break;default:r=this.createBean(new TM(e,this));break}t.set(n,r)}getColumnsInViewport(){if(!this.isPrintLayout)return this.getComponentsToRender();if(this.pinned)return[];const e=[];for(const t of["left",null,"right"])e.push(...this.getComponentsToRender(t));return e}getComponentsToRender(e=this.pinned){return this.type==="group"?this.beans.colViewport.getHeadersToRender(e,this.rowIndex):this.beans.colViewport.getColumnHeadersToRender(e)}focusHeader(e,t){const a=this.allCtrls.find(r=>r.column==e);return a?a.focus(t):!1}destroy(){this.allCtrls=this.destroyBeans(this.allCtrls),this.ctrlsById=void 0,this.comp=null,super.destroy()}},Uv=class extends F{constructor(e){super(),this.pinned=e,this.hidden=!1,this.includeFloatingFilter=!1,this.groupsRowCtrls=[]}setComp(e,t){this.comp=e,this.eViewport=t;const{pinnedCols:a,ctrlsSvc:n,colModel:r,colMoves:o}=this.beans;this.setupCenterWidth(),a?.setupHeaderPinnedWidth(this),this.setupDragAndDrop(o,this.eViewport);const i=this.refresh.bind(this,!0);this.addManagedEventListeners({displayedColumnsChanged:i,advancedFilterEnabledChanged:i});const s=`${typeof this.pinned=="string"?this.pinned:"center"}Header`;n.register(s,this),r.ready&&this.refresh()}getAllCtrls(){const e=[...this.groupsRowCtrls];return this.columnsRowCtrl&&e.push(this.columnsRowCtrl),this.filtersRowCtrl&&e.push(this.filtersRowCtrl),e}refresh(e=!1){const{focusSvc:t,filterManager:a,visibleCols:n}=this.beans;let r=0;const o=t.getFocusHeaderToUseAfterRefresh(),i=()=>{const u=n.headerGroupRowCount;r=u,e||(this.groupsRowCtrls=this.destroyBeans(this.groupsRowCtrls));const g=this.groupsRowCtrls.length;if(g!==u){if(g>u){for(let h=u;h{const u=r++;if(this.hidden){this.columnsRowCtrl=this.destroyBean(this.columnsRowCtrl);return}this.columnsRowCtrl==null||!e?(this.columnsRowCtrl=this.destroyBean(this.columnsRowCtrl),this.columnsRowCtrl=this.createBean(new Zu(u,this.pinned,"column"))):this.columnsRowCtrl.rowIndex!==u&&this.columnsRowCtrl.setRowIndex(u)},l=()=>{this.includeFloatingFilter=!!a?.hasFloatingFilters()&&!this.hidden;const u=()=>{this.filtersRowCtrl=this.destroyBean(this.filtersRowCtrl)};if(!this.includeFloatingFilter){u();return}e||u();const g=r++;this.filtersRowCtrl?this.filtersRowCtrl.rowIndex!==g&&this.filtersRowCtrl.setRowIndex(g):this.filtersRowCtrl=this.createBean(new Zu(g,this.pinned,"filter"))},c=this.getAllCtrls();i(),s(),l();const d=this.getAllCtrls();this.comp.setCtrls(d),this.restoreFocusOnHeader(t,o),c.length!==d.length&&this.beans.eventSvc.dispatchEvent({type:"headerRowsChanged"})}getHeaderCtrlForColumn(e){const t=a=>a?.getHeaderCellCtrls().find(n=>n.column===e);if(wa(e))return t(this.columnsRowCtrl);if(this.groupsRowCtrls.length!==0)for(let a=0;athis.comp.setCenterWidth(`${e}px`),!0))}},IM={tag:"div",cls:"ag-pinned-left-header",role:"rowgroup"},LM={tag:"div",cls:"ag-pinned-right-header",role:"rowgroup"},zM={tag:"div",cls:"ag-header-viewport",role:"rowgroup",attrs:{tabindex:"-1"},children:[{tag:"div",ref:"eCenterContainer",cls:"ag-header-container",role:"presentation"}]},Xu=class extends T{constructor(e){super(),this.eCenterContainer=x,this.headerRowComps={},this.rowCompsList=[],this.pinned=e}postConstruct(){this.selectAndSetTemplate();const e={setDisplayed:a=>this.setDisplayed(a),setCtrls:a=>this.setCtrls(a),setCenterWidth:a=>this.eCenterContainer.style.width=a,setViewportScrollLeft:a=>this.getGui().scrollLeft=a,setPinnedContainerWidth:a=>{const n=this.getGui();n.style.width=a,n.style.maxWidth=a,n.style.minWidth=a}};this.createManagedBean(new Uv(this.pinned)).setComp(e,this.getGui())}selectAndSetTemplate(){const e=this.pinned=="left",t=this.pinned=="right",a=e?IM:t?LM:zM;this.setTemplate(a),this.eRowContainer=this.eCenterContainer!==x?this.eCenterContainer:this.getGui()}destroy(){this.setCtrls([]),super.destroy()}destroyRowComp(e){this.destroyBean(e),e.getGui().remove()}setCtrls(e){const t=this.headerRowComps;this.headerRowComps={},this.rowCompsList=[];let a;const n=r=>{const o=r.getGui();o.parentElement!=this.eRowContainer&&this.eRowContainer.appendChild(o),a&&gm(this.eRowContainer,o,a),a=o};for(const r of e){const o=r.instanceId,i=t[o];delete t[o];const s=i||this.createBean(new RM(r));this.headerRowComps[o]=s,this.rowCompsList.push(s),n(s)}for(const r of Object.values(t))this.destroyRowComp(r)}},OM={tag:"div",cls:"ag-header",role:"presentation"},GM=class extends T{constructor(){super(OM)}postConstruct(){const e={toggleCss:(n,r)=>this.toggleCss(n,r),setHeightAndMinHeight:n=>{this.getGui().style.height=n,this.getGui().style.minHeight=n}};this.createManagedBean(new Bv).setComp(e,this.getGui(),this.getFocusableElement());const a=n=>{this.createManagedBean(n),this.appendChild(n)};a(new Xu("left")),a(new Xu(null)),a(new Xu("right"))}},VM={selector:"AG-HEADER-ROOT",component:GM},ka={AUTO_HEIGHT:"ag-layout-auto-height",NORMAL:"ag-layout-normal",PRINT:"ag-layout-print"},Ju=class extends F{constructor(e){super(),this.view=e}postConstruct(){this.addManagedPropertyListener("domLayout",this.updateLayoutClasses.bind(this)),this.updateLayoutClasses()}updateLayoutClasses(){const e=this.gos.get("domLayout"),t={autoHeight:e==="autoHeight",normal:e==="normal",print:e==="print"},a=t.autoHeight?ka.AUTO_HEIGHT:t.print?ka.PRINT:ka.NORMAL;this.view.updateLayoutClasses(a,t)}},jv=class extends T{constructor(e,t){super(),this.direction=t,this.eViewport=x,this.eContainer=x,this.hideTimeout=0,this.setTemplate(e)}postConstruct(){this.addManagedEventListeners({scrollVisibilityChanged:this.onScrollVisibilityChanged.bind(this)}),this.onScrollVisibilityChanged(),this.toggleCss("ag-apple-scrollbar",mv()||sn())}destroy(){super.destroy(),window.clearTimeout(this.hideTimeout)}initialiseInvisibleScrollbar(){this.invisibleScrollbar===void 0&&(this.invisibleScrollbar=Cv(),this.invisibleScrollbar&&(this.hideAndShowInvisibleScrollAsNeeded(),this.addActiveListenerToggles()))}addActiveListenerToggles(){const e=this.getGui(),t=()=>this.toggleCss("ag-scrollbar-active",!0),a=()=>this.toggleCss("ag-scrollbar-active",!1);this.addManagedListeners(e,{mouseenter:t,mousedown:t,touchstart:t,mouseleave:a,touchend:a})}onScrollVisibilityChanged(){this.invisibleScrollbar===void 0&&this.initialiseInvisibleScrollbar(),kt(this.beans,()=>this.setScrollVisible())}hideAndShowInvisibleScrollAsNeeded(){this.addManagedEventListeners({bodyScroll:e=>{e.direction===this.direction&&(this.hideTimeout&&(window.clearTimeout(this.hideTimeout),this.hideTimeout=0),this.toggleCss("ag-scrollbar-scrolling",!0))},bodyScrollEnd:()=>{this.hideTimeout=window.setTimeout(()=>{this.toggleCss("ag-scrollbar-scrolling",!1),this.hideTimeout=0},400)}})}attemptSettingScrollPosition(e){const t=this.eViewport;Yd(this,()=>Be(t),()=>this.setScrollPosition(e),100)}onScrollCallback(e){this.addManagedElementListeners(this.eViewport,{scroll:e})}},BM={tag:"div",cls:"ag-body-horizontal-scroll",attrs:{"aria-hidden":"true"},children:[{tag:"div",ref:"eLeftSpacer",cls:"ag-horizontal-left-spacer"},{tag:"div",ref:"eViewport",cls:"ag-body-horizontal-scroll-viewport",children:[{tag:"div",ref:"eContainer",cls:"ag-body-horizontal-scroll-container"}]},{tag:"div",ref:"eRightSpacer",cls:"ag-horizontal-right-spacer"}]},_v=class extends jv{constructor(){super(BM,"horizontal"),this.eLeftSpacer=x,this.eRightSpacer=x,this.setScrollVisibleDebounce=0}wireBeans(e){this.visibleCols=e.visibleCols,this.scrollVisibleSvc=e.scrollVisibleSvc}postConstruct(){super.postConstruct();const e=this.setFakeHScrollSpacerWidths.bind(this);this.addManagedEventListeners({displayedColumnsChanged:e,displayedColumnsWidthChanged:e,pinnedRowDataChanged:this.refreshCompBottom.bind(this)}),this.addManagedPropertyListener("domLayout",e),this.beans.ctrlsSvc.register("fakeHScrollComp",this),this.createManagedBean(new _u(t=>this.eContainer.style.width=`${t}px`)),this.addManagedPropertyListeners(["suppressHorizontalScroll"],this.onScrollVisibilityChanged.bind(this))}destroy(){window.clearTimeout(this.setScrollVisibleDebounce),super.destroy()}initialiseInvisibleScrollbar(){this.invisibleScrollbar===void 0&&(this.enableRtl=this.gos.get("enableRtl"),super.initialiseInvisibleScrollbar(),this.invisibleScrollbar&&this.refreshCompBottom())}refreshCompBottom(){if(!this.invisibleScrollbar)return;const e=this.beans.pinnedRowModel?.getPinnedBottomTotalHeight()??0;this.getGui().style.bottom=`${e}px`}onScrollVisibilityChanged(){super.onScrollVisibilityChanged(),this.setFakeHScrollSpacerWidths()}setFakeHScrollSpacerWidths(){const e=this.scrollVisibleSvc.verticalScrollShowing;let t=this.visibleCols.getDisplayedColumnsRightWidth();const a=!this.enableRtl&&e,n=this.scrollVisibleSvc.getScrollbarWidth();a&&(t+=n),ta(this.eRightSpacer,t),this.eRightSpacer.classList.toggle("ag-scroller-corner",t<=n);let r=this.visibleCols.getColsLeftWidth();this.enableRtl&&e&&(r+=n),ta(this.eLeftSpacer,r),this.eLeftSpacer.classList.toggle("ag-scroller-corner",r<=n)}setScrollVisible(){const e=this.scrollVisibleSvc.horizontalScrollShowing,t=this.invisibleScrollbar,a=this.gos.get("suppressHorizontalScroll"),n=e&&this.scrollVisibleSvc.getScrollbarWidth()||0,o=a?0:n===0&&t?16:n,i=()=>{this.setScrollVisibleDebounce=0,this.toggleCss("ag-scrollbar-invisible",t),pi(this.getGui(),o),pi(this.eViewport,o),pi(this.eContainer,o),o||this.eContainer.style.setProperty("min-height","1px"),this.setVisible(e,{skipAriaHidden:!0})};window.clearTimeout(this.setScrollVisibleDebounce),e?this.setScrollVisibleDebounce=window.setTimeout(i,100):i()}getScrollPosition(){return Qs(this.eViewport,this.enableRtl)}setScrollPosition(e){Be(this.eViewport)||this.attemptSettingScrollPosition(e),fr(this.eViewport,e,this.enableRtl)}},NM={selector:"AG-FAKE-HORIZONTAL-SCROLL",component:_v},Kv=class extends F{constructor(e,t){super(),this.eContainer=e,this.eViewport=t}postConstruct(){this.addManagedEventListeners({rowContainerHeightChanged:this.onHeightChanged.bind(this,this.beans.rowContainerHeight)})}onHeightChanged(e){const t=e.uiContainerHeight,a=t!=null?`${t}px`:"";this.eContainer.style.height=a,this.eViewport&&(this.eViewport.style.height=a)}},HM={tag:"div",cls:"ag-body-vertical-scroll",attrs:{"aria-hidden":"true"},children:[{tag:"div",ref:"eViewport",cls:"ag-body-vertical-scroll-viewport",children:[{tag:"div",ref:"eContainer",cls:"ag-body-vertical-scroll-container"}]}]},Yv=class extends jv{constructor(){super(HM,"vertical")}postConstruct(){super.postConstruct(),this.createManagedBean(new Kv(this.eContainer));const{ctrlsSvc:e}=this.beans;e.register("fakeVScrollComp",this),this.addManagedEventListeners({rowContainerHeightChanged:this.onRowContainerHeightChanged.bind(this,e)})}setScrollVisible(){const{scrollVisibleSvc:e}=this.beans,t=e.verticalScrollShowing,a=this.invisibleScrollbar,n=t&&e.getScrollbarWidth()||0,r=n===0&&a?16:n;this.toggleCss("ag-scrollbar-invisible",a),ta(this.getGui(),r),ta(this.eViewport,r),ta(this.eContainer,r),this.setDisplayed(t,{skipAriaHidden:!0})}onRowContainerHeightChanged(e){const a=e.getGridBodyCtrl().eBodyViewport,n=this.getScrollPosition(),r=a.scrollTop;n!=r&&this.setScrollPosition(r,!0)}getScrollPosition(){return this.eViewport.scrollTop}setScrollPosition(e,t){!t&&!Be(this.eViewport)&&this.attemptSettingScrollPosition(e),this.eViewport.scrollTop=e}},qM={selector:"AG-FAKE-VERTICAL-SCROLL",component:Yv},$u=(e=>(e[e.Vertical=0]="Vertical",e[e.Horizontal=1]="Horizontal",e))($u||{}),Ln="Viewport",Qv="fakeVScrollComp",eg=["fakeHScrollComp","centerHeader","topCenter","bottomCenter","stickyTopCenter","stickyBottomCenter"],Zv=100,tg=150,WM=class extends F{constructor(e){super(),this.clearRetryListenerFncs=[],this.lastScrollSource=[null,null],this.scrollLeft=-1,this.nextScrollTop=-1,this.scrollTop=-1,this.lastOffsetHeight=-1,this.lastScrollTop=-1,this.lastIsHorizontalScrollShowing=!1,this.scrollTimer=0,this.isScrollActive=!1,this.isVerticalPositionInvalidated=!0,this.isHorizontalPositionInvalidated=!0,this.eBodyViewport=e,this.resetLastHScrollDebounced=ve(this,()=>this.lastScrollSource[1]=null,tg),this.resetLastVScrollDebounced=ve(this,()=>this.lastScrollSource[0]=null,tg)}wireBeans(e){this.ctrlsSvc=e.ctrlsSvc,this.animationFrameSvc=e.animationFrameSvc,this.visibleCols=e.visibleCols}destroy(){super.destroy(),this.clearRetryListenerFncs=[],window.clearTimeout(this.scrollTimer)}postConstruct(){this.enableRtl=this.gos.get("enableRtl");const e=this.invalidateVerticalScroll.bind(this),t=this.invalidateHorizontalScroll.bind(this);this.addManagedEventListeners({displayedColumnsWidthChanged:this.onDisplayedColumnsWidthChanged.bind(this),bodyHeightChanged:e,scrollGapChanged:t}),this.addManagedElementListeners(this.eBodyViewport,{scroll:e}),this.ctrlsSvc.whenReady(this,a=>{this.centerRowsCtrl=a.center,this.fakeVScrollComp=a.fakeVScrollComp,this.fakeHScrollComp=a.fakeHScrollComp,this.onDisplayedColumnsWidthChanged(),this.addScrollListener()})}invalidateHorizontalScroll(){this.isHorizontalPositionInvalidated=!0}invalidateVerticalScroll(){this.isVerticalPositionInvalidated=!0}addScrollListener(){this.addHorizontalScrollListeners(),this.addVerticalScrollListeners()}addHorizontalScrollListeners(){this.addManagedElementListeners(this.centerRowsCtrl.eViewport,{scroll:this.onHScroll.bind(this,Ln)});for(const e of eg){const t=this.ctrlsSvc.get(e);this.registerScrollPartner(t,this.onHScroll.bind(this,e))}}addVerticalScrollListeners(){const e=this.gos.get("debounceVerticalScrollbar"),t=e?ve(this,this.onVScroll.bind(this,Ln),Zv):this.onVScroll.bind(this,Ln),a=e?ve(this,this.onVScroll.bind(this,Qv),Zv):this.onVScroll.bind(this,Qv);this.addManagedElementListeners(this.eBodyViewport,{scroll:t}),this.registerScrollPartner(this.fakeVScrollComp,a)}registerScrollPartner(e,t){e.onScrollCallback(t)}onDisplayedColumnsWidthChanged(){this.enableRtl&&this.horizontallyScrollHeaderCenterAndFloatingCenter()}horizontallyScrollHeaderCenterAndFloatingCenter(e){this.centerRowsCtrl!=null&&(e===void 0&&(e=this.centerRowsCtrl.getCenterViewportScrollLeft()),this.setScrollLeftForAllContainersExceptCurrent(Math.abs(e)))}setScrollLeftForAllContainersExceptCurrent(e){for(const t of[...eg,Ln]){if(this.lastScrollSource[1]===t)continue;const a=this.getViewportForSource(t);fr(a,e,this.enableRtl)}}getViewportForSource(e){return e===Ln?this.centerRowsCtrl.eViewport:this.ctrlsSvc.get(e).eViewport}isControllingScroll(e,t){return this.lastScrollSource[t]==null?(t===0?this.lastScrollSource[0]=e:this.lastScrollSource[1]=e,!0):this.lastScrollSource[t]===e}onHScroll(e){if(!this.isControllingScroll(e,1))return;const t=this.centerRowsCtrl.eViewport,{scrollLeft:a}=t;if(this.shouldBlockScrollUpdate(1,a,!0))return;const n=Qs(this.getViewportForSource(e),this.enableRtl);this.doHorizontalScroll(n),this.resetLastHScrollDebounced()}onVScroll(e){if(!this.isControllingScroll(e,0))return;const t=e===Ln?this.eBodyViewport.scrollTop:this.fakeVScrollComp.getScrollPosition();let a=t;if(this.shouldBlockScrollUpdate(0,a,!0))return;e===Ln?this.fakeVScrollComp.setScrollPosition(a):(this.eBodyViewport.scrollTop=t,a=this.eBodyViewport.scrollTop,this.invalidateVerticalScroll(),a!==t&&this.fakeVScrollComp.setScrollPosition(a,!0));const{animationFrameSvc:n}=this;n?.setScrollTop(a),this.nextScrollTop=a,n?.active?n.schedule():this.scrollGridIfNeeded(!0),this.resetLastVScrollDebounced()}doHorizontalScroll(e){const t=this.fakeHScrollComp.getScrollPosition();this.scrollLeft===e&&e===t||(this.scrollLeft=e,this.fireScrollEvent(1),this.horizontallyScrollHeaderCenterAndFloatingCenter(e),this.centerRowsCtrl.onHorizontalViewportChanged(!0))}isScrolling(){return this.isScrollActive}fireScrollEvent(e){const t={type:"bodyScroll",direction:e===1?"horizontal":"vertical",left:this.scrollLeft,top:this.scrollTop};this.isScrollActive=!0,this.eventSvc.dispatchEvent(t),window.clearTimeout(this.scrollTimer),this.scrollTimer=window.setTimeout(()=>{this.scrollTimer=0,this.isScrollActive=!1,this.eventSvc.dispatchEvent({...t,type:"bodyScrollEnd"})},tg)}shouldBlockScrollUpdate(e,t,a=!1){return a&&!sn()?!1:e===0?this.shouldBlockVerticalScroll(t):this.shouldBlockHorizontalScroll(t)}shouldBlockVerticalScroll(e){const t=ui(this.eBodyViewport),{scrollHeight:a}=this.eBodyViewport;return e<0||e+t>a}shouldBlockHorizontalScroll(e){const t=this.centerRowsCtrl.getCenterWidth(),{scrollWidth:a}=this.centerRowsCtrl.eViewport;if(this.enableRtl){if(e>0)return!0}else if(e<0)return!0;return Math.abs(e)+t>a}redrawRowsAfterScroll(){this.fireScrollEvent(0)}checkScrollLeft(){const e=this.scrollLeft;let t=!1;for(const a of eg)if(this.getViewportForSource(a).scrollLeft!==e){t=!0;break}t&&this.onHScroll(Ln)}scrollGridIfNeeded(e=!1){const t=this.scrollTop!=this.nextScrollTop;return t&&(this.scrollTop=this.nextScrollTop,e&&this.invalidateVerticalScroll(),this.redrawRowsAfterScroll()),t}setHorizontalScrollPosition(e,t=!1){const n=this.centerRowsCtrl.eViewport.scrollWidth-this.centerRowsCtrl.getCenterWidth();!t&&this.shouldBlockScrollUpdate(1,e)&&(this.enableRtl?e=e>0?0:n:e=Math.min(Math.max(e,0),n)),fr(this.centerRowsCtrl.eViewport,Math.abs(e),this.enableRtl),this.doHorizontalScroll(e)}setVerticalScrollPosition(e){this.invalidateVerticalScroll(),this.eBodyViewport.scrollTop=e}getVScrollPosition(){if(!this.isVerticalPositionInvalidated){const{lastOffsetHeight:a,lastScrollTop:n}=this;return{top:n,bottom:n+a}}this.isVerticalPositionInvalidated=!1;const{scrollTop:e,offsetHeight:t}=this.eBodyViewport;return this.lastScrollTop=e,this.lastOffsetHeight=t,{top:e,bottom:e+t}}getApproximateVScollPosition(){return this.lastScrollTop>=0&&this.lastOffsetHeight>=0?{top:this.scrollTop,bottom:this.scrollTop+this.lastOffsetHeight}:this.getVScrollPosition()}getHScrollPosition(){return this.centerRowsCtrl.getHScrollPosition()}isHorizontalScrollShowing(){return this.isHorizontalPositionInvalidated&&(this.lastIsHorizontalScrollShowing=this.centerRowsCtrl.isHorizontalScrollShowing(),this.isHorizontalPositionInvalidated=!1),this.lastIsHorizontalScrollShowing}scrollHorizontally(e){const t=this.centerRowsCtrl.eViewport.scrollLeft;return this.setHorizontalScrollPosition(t+e),this.centerRowsCtrl.eViewport.scrollLeft-t}scrollToTop(){this.setVerticalScrollPosition(0)}ensureNodeVisible(e,t=null){const{rowModel:a}=this.beans,n=a.getRowCount();let r=-1;for(let o=0;o=0&&this.ensureIndexVisible(r,t)}ensureIndexVisible(e,t,a=0){if(Ke(this.gos,"print"))return;const{rowModel:n}=this.beans,r=n.getRowCount();if(typeof e!="number"||e<0||e>=r){R(88,{index:e});return}this.clearRetryListeners();const{frameworkOverrides:o,pageBounds:i,rowContainerHeight:s,rowRenderer:l}=this.beans;o.wrapIncoming(()=>{const c=this.ctrlsSvc.getGridBodyCtrl(),d=n.getRow(e);let u,g,h=0;this.invalidateVerticalScroll();do{const{stickyTopHeight:p,stickyBottomHeight:f}=c,m=d.rowTop,v=d.rowHeight,C=i.getPixelOffset(),b=d.rowTop-C,y=b+d.rowHeight,S=this.getVScrollPosition(),k=s.divStretchOffset,M=S.top+k,E=S.bottom+k,P=E-M,D=s.getScrollPositionForPixel(b),I=s.getScrollPositionForPixel(y-P),L=Math.min((D+I)/2,b),K=M+p>b,U=E-fP?O=D-p:O=I+f),O!==null&&(this.setVerticalScrollPosition(O),l.redraw({afterScroll:!0})),u=m!==d.rowTop||v!==d.rowHeight,g=p!==c.stickyTopHeight||f!==c.stickyBottomHeight,h++}while((u||g)&&h<10);if(this.animationFrameSvc?.flushAllFrames(),a<10&&(d?.stub||!this.beans.rowAutoHeight?.areRowsMeasured())){const p=this.getVScrollPosition().top;this.clearRetryListenerFncs=this.addManagedEventListeners({bodyScroll:()=>{const f=this.getVScrollPosition().top;p!==f&&this.clearRetryListeners()},modelUpdated:()=>{this.clearRetryListeners(),!(e>=n.getRowCount())&&this.ensureIndexVisible(e,t,a+1)}})}})}clearRetryListeners(){for(const e of this.clearRetryListenerFncs)e();this.clearRetryListenerFncs=[]}ensureColumnVisible(e,t="auto"){const{colModel:a,frameworkOverrides:n}=this.beans,r=a.getCol(e);if(!r||r.isPinned()||!this.visibleCols.isColDisplayed(r))return;const o=this.getPositionedHorizontalScroll(r,t);n.wrapIncoming(()=>{o!==null&&this.centerRowsCtrl.setCenterViewportScrollLeft(o),this.centerRowsCtrl.onHorizontalViewportChanged(),this.animationFrameSvc?.flushAllFrames()})}getPositionedHorizontalScroll(e,t){const{columnBeforeStart:a,columnAfterEnd:n}=this.isColumnOutsideViewport(e),r=this.centerRowsCtrl.getCenterWidth()r:an;return{columnBeforeStart:i,columnAfterEnd:s}}getColumnBounds(e){const t=this.enableRtl,a=this.visibleCols.bodyWidth,n=e.getActualWidth(),r=e.getLeft(),o=t?-1:1,i=t?a-r:r,s=i+n*o,l=i+n/2*o;return{colLeft:i,colMiddle:l,colRight:s}}getViewportBounds(){const e=this.centerRowsCtrl.getCenterWidth(),t=this.centerRowsCtrl.getCenterViewportScrollLeft(),a=t,n=e+t;return{start:a,end:n,width:e}}},Xv={horizontal:{overflow:e=>e.scrollWidth-e.clientWidth,scrollSize:e=>e.scrollWidth,clientSize:e=>e.clientWidth,opposite:"vertical"},vertical:{overflow:e=>e.scrollHeight-e.clientHeight,scrollSize:e=>e.scrollHeight,clientSize:e=>e.clientHeight,opposite:"horizontal"}};function UM(e,t,a=Pu()||0,n,r){return Jv(e,t,"horizontal",a,n,r)}function jM(e,t,a=Pu()||0,n,r){return Jv(e,t,"vertical",a,n,r)}function Jv(e,t,a,n,r,o){const i=Xv[a],s=Xv[i.opposite],l=r?Be(r):!0,c=o?Be(o):!0,d=i.overflow(e);if(d<=0)return!1;if(!t||n===0)return!0;const u=s.overflow(t);if(u<=0)return!0;if(d<=n){if(l&&c&&_M({candidateOverflow:u,candidateScrollSize:s.scrollSize(t),candidateClientSize:s.clientSize(t),scrollbarWidth:n}))return!1;const g=i.clientSize(e)+n;return i.scrollSize(e)<=g}return!0}function _M({candidateOverflow:e,candidateScrollSize:t,candidateClientSize:a,scrollbarWidth:n}){if(e<=0||e>n)return!1;const r=a+n;return t>a&&t<=r}var KM=class extends F{constructor(e){super(),this.centerContainerCtrl=e}wireBeans(e){this.scrollVisibleSvc=e.scrollVisibleSvc}postConstruct(){this.beans.ctrlsSvc.whenReady(this,e=>{this.gridBodyCtrl=e.gridBodyCtrl,this.listenForResize()}),this.addManagedEventListeners({scrollbarWidthChanged:this.onScrollbarWidthChanged.bind(this)}),this.addManagedPropertyListeners(["alwaysShowHorizontalScroll","alwaysShowVerticalScroll"],()=>{this.checkViewportAndScrolls()})}listenForResize(){const{beans:e,centerContainerCtrl:t,gridBodyCtrl:a}=this,n=()=>{kt(e,()=>{this.onCenterViewportResized()})};t.registerViewportResizeListener(n),a.registerBodyViewportResizeListener(n)}onScrollbarWidthChanged(){this.checkViewportAndScrolls()}onCenterViewportResized(){if(this.scrollVisibleSvc.updateScrollGap(),this.centerContainerCtrl.isViewportInTheDOMTree()){const{pinnedCols:e,colFlex:t}=this.beans;e?.keepPinnedColumnsNarrowerThanViewport(),this.checkViewportAndScrolls();const a=this.centerContainerCtrl.getCenterWidth();a!==this.centerWidth&&(this.centerWidth=a,t?.refreshFlexedColumns({viewportWidth:this.centerWidth,updateBodyWidths:!0,fireResizedEvent:!0}))}else this.bodyHeight=0}checkViewportAndScrolls(){this.updateScrollVisibleService(),this.checkBodyHeight(),this.onHorizontalViewportChanged(),this.gridBodyCtrl.scrollFeature.checkScrollLeft()}getBodyHeight(){return this.bodyHeight}checkBodyHeight(){const e=this.gridBodyCtrl.eBodyViewport,t=ui(e);this.bodyHeight!==t&&(this.bodyHeight=t,this.eventSvc.dispatchEvent({type:"bodyHeightChanged"}))}updateScrollVisibleService(){this.updateScrollVisibleServiceImpl(),setTimeout(this.updateScrollVisibleServiceImpl.bind(this),500)}updateScrollVisibleServiceImpl(){if(!this.isAlive())return;const e={horizontalScrollShowing:this.centerContainerCtrl.isHorizontalScrollShowing(),verticalScrollShowing:this.gridBodyCtrl.isVerticalScrollShowing()};this.scrollVisibleSvc.setScrollsVisible(e)}onHorizontalViewportChanged(){const{centerContainerCtrl:e,beans:t}=this,a=e.getCenterWidth(),n=e.getViewportScrollLeft();t.colViewport.setScrollPosition(a,n)}};function Dl(e){return e.altKey||e.ctrlKey||e.metaKey?!1:e.key?.length===1}function Bi(e,t,a,n){const r=t.getColDef().cellRendererParams?.suppressMouseEventHandling;return $v(e,t,a,n,r)}function YM(e,t,a,n){const r=t?.suppressMouseEventHandling;return $v(e,void 0,a,n,r)}function $v(e,t,a,n,r){return r?r(B(e,{column:t,node:a,event:n})):!1}function eC(e,t,a){let n=t;for(;n;){const r=qm(e,n,a);if(r)return r;n=n.parentElement}return null}var Il="cellCtrl";function Ni(e,t){return eC(e,t,Il)}var Ll="renderedRow";function ag(e,t){return eC(e,t,Ll)}function ng(e,t,a,n,r){const o=n?n.getColDef().suppressKeyboardEvent:void 0;if(!o)return!1;const i=B(e,{event:t,editing:r,column:n,node:a,data:a.data,colDef:n.getColDef()});return!!(o&&o(i))}function rg(e){const{pinnedRowModel:t,rowModel:a,rangeSvc:n,visibleCols:r}=e;if(!n||r.allCols.length===0)return;const o=t?.isEmpty("top")??!0,i=t?.isEmpty("bottom")??!0,s=o?null:"top";let l,c;i?(l=null,c=a.getRowCount()-1):(l="bottom",c=t?.getPinnedBottomRowCount()??-1),n.setCellRange({rowStartIndex:0,rowStartPinned:s,rowEndIndex:c,rowEndPinned:l})}var QM=class extends F{constructor(e){super(),this.element=e}postConstruct(){this.addKeyboardListeners(),this.addMouseListeners(),this.beans.touchSvc?.mockRowContextMenu(this),this.editSvc=this.beans.editSvc}addKeyboardListeners(){const e="keydown",t=this.processKeyboardEvent.bind(this,e);this.addManagedElementListeners(this.element,{[e]:t})}addMouseListeners(){let e="mousedown";$s("pointerdown")?e="pointerdown":$s("touchstart")&&(e="touchstart");const t=["dblclick","contextmenu","mouseover","mouseout","click",e];for(const a of t){const n=this.processMouseEvent.bind(this,a);this.addManagedElementListeners(this.element,{[a]:n})}}processMouseEvent(e,t){if(!mi(this.beans,t)||zt(t))return;const{cellCtrl:a,rowCtrl:n}=this.getControlsForEventTarget(t.target);e==="contextmenu"?(a?.column&&a.dispatchCellContextMenuEvent(t),this.beans.contextMenuSvc?.handleContextMenuMouseEvent(t,void 0,n,a)):(a&&a.onMouseEvent(e,t),n&&n.onMouseEvent(e,t))}getControlsForEventTarget(e){const{gos:t}=this;return{cellCtrl:Ni(t,e),rowCtrl:ag(t,e)}}processKeyboardEvent(e,t){const{cellCtrl:a,rowCtrl:n}=this.getControlsForEventTarget(t.target);t.defaultPrevented||(a?this.processCellKeyboardEvent(a,e,t):n?.isFullWidth()&&this.processFullWidthRowKeyboardEvent(n,e,t))}processCellKeyboardEvent(e,t,a){const n=this.editSvc?.isEditing(e,{withOpenEditor:!0})??!1;!ng(this.gos,a,e.rowNode,e.column,n)&&t==="keydown"&&(!n&&this.beans.navigation?.handlePageScrollingKey(a)||e.onKeyDown(a),this.doGridOperations(a,n),Dl(a)&&e.processCharacter(a)),t==="keydown"&&this.eventSvc.dispatchEvent(e.createEvent(a,"cellKeyDown"))}processFullWidthRowKeyboardEvent(e,t,a){const{rowNode:n}=e,{focusSvc:r,navigation:o}=this.beans,s=r.getFocusedCell()?.column;if(!ng(this.gos,a,n,s,!1)){const c=a.key;if(t==="keydown")switch(c){case w.PAGE_HOME:case w.PAGE_END:case w.PAGE_UP:case w.PAGE_DOWN:o?.handlePageScrollingKey(a,!0);break;case w.LEFT:case w.RIGHT:if(!this.gos.get("embedFullWidthRows"))break;case w.UP:case w.DOWN:e.onKeyboardNavigate(a);break;case w.TAB:e.onTabKeyDown(a);break;default:}}t==="keydown"&&this.eventSvc.dispatchEvent(e.createRowEvent("cellKeyDown",a))}doGridOperations(e,t){if(!e.ctrlKey&&!e.metaKey||t||!mi(this.beans,e))return;const a=iv(e),{clipboardSvc:n,undoRedo:r}=this.beans;if(a===w.A)return this.onCtrlAndA(e);if(a===w.C)return this.onCtrlAndC(n,e);if(a===w.D)return this.onCtrlAndD(n,e);if(a===w.V)return this.onCtrlAndV(n,e);if(a===w.X)return this.onCtrlAndX(n,e);if(a===w.Y)return this.onCtrlAndY(r);if(a===w.Z)return this.onCtrlAndZ(r,e)}onCtrlAndA(e){const{beans:{rowModel:t,rangeSvc:a,selectionSvc:n},gos:r}=this;a&&mt(r)&&!qR(r)&&t.isRowsToRender()?rg(this.beans):n&&n.selectAllRowNodes({source:"keyboardSelectAll",selectAll:Km(r)}),e.preventDefault()}onCtrlAndC(e,t){if(!e||this.gos.get("enableCellTextSelection"))return;const{cellCtrl:a}=this.getControlsForEventTarget(t.target);this.editSvc?.isEditing(a,{withOpenEditor:!0})||(t.preventDefault(),e.copyToClipboard())}onCtrlAndX(e,t){if(!e||this.gos.get("enableCellTextSelection")||this.gos.get("suppressCutToClipboard"))return;const{cellCtrl:a}=this.getControlsForEventTarget(t.target);this.editSvc?.isEditing(a,{withOpenEditor:!0})||(t.preventDefault(),e.cutToClipboard(void 0,"ui"))}onCtrlAndV(e,t){const{cellCtrl:a}=this.getControlsForEventTarget(t.target);this.editSvc?.isEditing(a,{withOpenEditor:!0})||e&&!this.gos.get("suppressClipboardPaste")&&e.pasteFromClipboard()}onCtrlAndD(e,t){e&&!this.gos.get("suppressClipboardPaste")&&e.copyRangeDown(),t.preventDefault()}onCtrlAndZ(e,t){!this.gos.get("undoRedoCellEditing")||!e||(t.preventDefault(),t.shiftKey?e.redo("ui"):e.undo("ui"))}onCtrlAndY(e){e?.redo("ui")}},zl=e=>e.topRowCtrls,Ol=e=>e.getStickyTopRowCtrls(),Gl=e=>e.getStickyBottomRowCtrls(),Vl=e=>e.bottomRowCtrls,Bl=e=>e.allRowCtrls,og=e=>e.getCtrls("top"),ig=e=>e.getCtrls("center"),sg=e=>e.getCtrls("bottom"),ZM={center:{type:"center",name:"center-cols",getRowCtrls:Bl,getSpannedRowCtrls:ig},left:{type:"left",name:"pinned-left-cols",pinnedType:"left",getRowCtrls:Bl,getSpannedRowCtrls:ig},right:{type:"right",name:"pinned-right-cols",pinnedType:"right",getRowCtrls:Bl,getSpannedRowCtrls:ig},fullWidth:{type:"fullWidth",name:"full-width",fullWidth:!0,getRowCtrls:Bl},topCenter:{type:"center",name:"floating-top",getRowCtrls:zl,getSpannedRowCtrls:og},topLeft:{type:"left",name:"pinned-left-floating",container:"ag-pinned-left-floating-top",pinnedType:"left",getRowCtrls:zl,getSpannedRowCtrls:og},topRight:{type:"right",name:"pinned-right-floating",container:"ag-pinned-right-floating-top",pinnedType:"right",getRowCtrls:zl,getSpannedRowCtrls:og},topFullWidth:{type:"fullWidth",name:"floating-top-full-width",fullWidth:!0,getRowCtrls:zl},stickyTopCenter:{type:"center",name:"sticky-top",getRowCtrls:Ol},stickyTopLeft:{type:"left",name:"pinned-left-sticky-top",container:"ag-pinned-left-sticky-top",pinnedType:"left",getRowCtrls:Ol},stickyTopRight:{type:"right",name:"pinned-right-sticky-top",container:"ag-pinned-right-sticky-top",pinnedType:"right",getRowCtrls:Ol},stickyTopFullWidth:{type:"fullWidth",name:"sticky-top-full-width",fullWidth:!0,getRowCtrls:Ol},stickyBottomCenter:{type:"center",name:"sticky-bottom",getRowCtrls:Gl},stickyBottomLeft:{type:"left",name:"pinned-left-sticky-bottom",container:"ag-pinned-left-sticky-bottom",pinnedType:"left",getRowCtrls:Gl},stickyBottomRight:{type:"right",name:"pinned-right-sticky-bottom",container:"ag-pinned-right-sticky-bottom",pinnedType:"right",getRowCtrls:Gl},stickyBottomFullWidth:{type:"fullWidth",name:"sticky-bottom-full-width",fullWidth:!0,getRowCtrls:Gl},bottomCenter:{type:"center",name:"floating-bottom",getRowCtrls:Vl,getSpannedRowCtrls:sg},bottomLeft:{type:"left",name:"pinned-left-floating-bottom",container:"ag-pinned-left-floating-bottom",pinnedType:"left",getRowCtrls:Vl,getSpannedRowCtrls:sg},bottomRight:{type:"right",name:"pinned-right-floating-bottom",container:"ag-pinned-right-floating-bottom",pinnedType:"right",getRowCtrls:Vl,getSpannedRowCtrls:sg},bottomFullWidth:{type:"fullWidth",name:"floating-bottom-full-width",fullWidth:!0,getRowCtrls:Vl}};function lg(e){return`ag-${po(e).name}-viewport`}function cg(e){const t=po(e);return t.container??`ag-${t.name}-container`}function tC(e){return`ag-${po(e).name}-spanned-cells-container`}function po(e){return ZM[e]}var XM=["topCenter","topLeft","topRight"],JM=["bottomCenter","bottomLeft","bottomRight"],$M=["center","left","right"],eE=["center","left","right","fullWidth"],tE=["stickyTopCenter","stickyBottomCenter","center","topCenter","bottomCenter"],aE=["left","bottomLeft","topLeft","stickyTopLeft","stickyBottomLeft"],nE=["right","bottomRight","topRight","stickyTopRight","stickyBottomRight"],aC=["stickyTopCenter","stickyTopLeft","stickyTopRight"],nC=["stickyBottomCenter","stickyBottomLeft","stickyBottomRight"],rE=[...aC,"stickyTopFullWidth",...nC,"stickyBottomFullWidth"],oE=[...XM,...JM,...$M,...aC,...nC],rC=class extends F{constructor(e){super(),this.name=e,this.visible=!0,this.EMPTY_CTRLS=[],this.options=po(e)}postConstruct(){this.enableRtl=this.gos.get("enableRtl"),this.forContainers(["center"],()=>{this.viewportSizeFeature=this.createManagedBean(new KM(this)),this.addManagedEventListeners({stickyTopOffsetChanged:this.onStickyTopOffsetChanged.bind(this)})})}onStickyTopOffsetChanged(e){this.comp.setOffsetTop(`${e.offset}px`)}registerWithCtrlsService(){this.options.fullWidth||this.beans.ctrlsSvc.register(this.name,this)}forContainers(e,t){e.indexOf(this.name)>=0&&t()}setComp(e,t,a,n){this.comp=e,this.eContainer=t,this.eSpannedContainer=a,this.eViewport=n,this.createManagedBean(new QM(this.eViewport??this.eContainer)),this.addPreventScrollWhileDragging(),this.listenOnDomOrder();const{pinnedCols:r,rangeSvc:o}=this.beans,i=()=>this.onPinnedWidthChanged();this.forContainers(aE,()=>{this.pinnedWidthFeature=this.createOptionalManagedBean(r?.createPinnedWidthFeature(!0,this.eContainer,this.eSpannedContainer)),this.addManagedEventListeners({leftPinnedWidthChanged:i})}),this.forContainers(nE,()=>{this.pinnedWidthFeature=this.createOptionalManagedBean(r?.createPinnedWidthFeature(!1,this.eContainer,this.eSpannedContainer)),this.addManagedEventListeners({rightPinnedWidthChanged:i})}),this.forContainers(eE,()=>this.createManagedBean(new Kv(this.eContainer,this.name==="center"?n:void 0))),o&&this.forContainers(oE,()=>this.createManagedBean(o.createDragListenerFeature(this.eContainer))),this.forContainers(tE,()=>this.createManagedBean(new _u(s=>this.comp.setContainerWidth(`${s}px`)))),this.visible=this.isContainerVisible(),this.addListeners(),this.registerWithCtrlsService()}onScrollCallback(e){this.addManagedElementListeners(this.eViewport,{scroll:e})}addListeners(){const{spannedRowRenderer:e,gos:t}=this.beans,a=this.onDisplayedColumnsChanged.bind(this);this.addManagedEventListeners({displayedColumnsChanged:a,displayedColumnsWidthChanged:a,displayedRowsChanged:n=>this.onDisplayedRowsChanged(n.afterScroll)}),a(),this.onDisplayedRowsChanged(),e&&this.options.getSpannedRowCtrls&&t.get("enableCellSpan")&&this.addManagedListeners(e,{spannedRowsUpdated:()=>{const n=this.options.getSpannedRowCtrls(e);n&&this.comp.setSpannedRowCtrls(n,!1)}})}listenOnDomOrder(){if(rE.indexOf(this.name)>=0){this.comp.setDomOrder(!0);return}const t=()=>{const a=this.gos.get("ensureDomOrder"),n=Ke(this.gos,"print");this.comp.setDomOrder(a||n)};this.addManagedPropertyListener("domLayout",t),t()}onDisplayedColumnsChanged(){this.forContainers(["center"],()=>this.onHorizontalViewportChanged())}addPreventScrollWhileDragging(){const{dragSvc:e}=this.beans;if(!e)return;const t=a=>{e.dragging&&a.cancelable&&a.preventDefault()};this.eContainer.addEventListener("touchmove",t,{passive:!1}),this.addDestroyFunc(()=>this.eContainer.removeEventListener("touchmove",t))}onHorizontalViewportChanged(e=!1){const t=this.getCenterWidth(),a=this.getCenterViewportScrollLeft();this.beans.colViewport.setScrollPosition(t,a,e)}hasHorizontalScrollGap(){return this.eContainer.clientWidth-this.eViewport.clientWidth<0}hasVerticalScrollGap(){return this.eContainer.clientHeight-this.eViewport.clientHeight<0}getCenterWidth(){return pr(this.eViewport)}getCenterViewportScrollLeft(){return Qs(this.eViewport,this.enableRtl)}registerViewportResizeListener(e){const t=Ca(this.beans,this.eViewport,e);this.addDestroyFunc(()=>t())}isViewportInTheDOMTree(){return um(this.eViewport)}getViewportScrollLeft(){return Qs(this.eViewport,this.enableRtl)}isHorizontalScrollShowing(){const{beans:e,gos:t,eViewport:a}=this,n=t.get("alwaysShowHorizontalScroll"),{ctrlsSvc:r}=e,o=r.getGridBodyCtrl()?.eBodyViewport,i=r.get("fakeHScrollComp")?.getGui(),s=r.get("fakeVScrollComp")?.getGui();return n||UM(a,o,void 0,i,s)}setHorizontalScroll(e){this.comp.setHorizontalScroll(e)}getHScrollPosition(){return{left:this.eViewport.scrollLeft,right:this.eViewport.scrollLeft+this.eViewport.offsetWidth}}setCenterViewportScrollLeft(e){fr(this.eViewport,e,this.enableRtl)}isContainerVisible(){return!(this.options.pinnedType!=null)||!!this.pinnedWidthFeature&&this.pinnedWidthFeature.getWidth()>0}onPinnedWidthChanged(){const e=this.isContainerVisible();this.visible!=e&&(this.visible=e,this.onDisplayedRowsChanged())}onDisplayedRowsChanged(e=!1){const t=this.options.getRowCtrls(this.beans.rowRenderer);if(!this.visible||t.length===0){this.comp.setRowCtrls({rowCtrls:this.EMPTY_CTRLS});return}const a=Ke(this.gos,"print"),r=this.gos.get("embedFullWidthRows")||a,o=t.filter(i=>{const s=i.isFullWidth();return this.options.fullWidth?!r&&s:r||!s});this.comp.setRowCtrls({rowCtrls:o,useFlushSync:e})}},oC="ag-force-vertical-scroll",iE="ag-selectable",sE="ag-column-moving",iC=class extends F{constructor(){super(...arguments),this.stickyTopHeight=0,this.stickyBottomHeight=0}wireBeans(e){this.ctrlsSvc=e.ctrlsSvc,this.colModel=e.colModel,this.scrollVisibleSvc=e.scrollVisibleSvc,this.pinnedRowModel=e.pinnedRowModel,this.filterManager=e.filterManager,this.rowGroupColsSvc=e.rowGroupColsSvc}setComp(e,t,a,n,r,o,i){this.comp=e,this.eGridBody=t,this.eBodyViewport=a,this.eTop=n,this.eBottom=r,this.eStickyTop=o,this.eStickyBottom=i,this.eCenterColsViewport=a.querySelector(`.${lg("center")}`),this.eFullWidthContainer=a.querySelector(`.${cg("fullWidth")}`),this.setCellTextSelection(this.gos.get("enableCellTextSelection")),this.addManagedPropertyListener("enableCellTextSelection",s=>this.setCellTextSelection(s.currentValue)),this.createManagedBean(new Ju(this.comp)),this.scrollFeature=this.createManagedBean(new WM(a)),this.beans.rowDragSvc?.setupRowDrag(a,this),this.setupRowAnimationCssClass(),this.addEventListeners(),this.addFocusListeners([n,a,r,o,i]),this.setGridRootRole(),this.onGridColumnsChanged(),this.addBodyViewportListener(),this.setFloatingHeights(),this.disableBrowserDragging(),this.addStopEditingWhenGridLosesFocus(),this.updateScrollingClasses(),this.filterManager?.setupAdvFilterHeaderComp(n),this.ctrlsSvc.register("gridBodyCtrl",this)}addEventListeners(){const e=this.setFloatingHeights.bind(this),t=this.setGridRootRole.bind(this),a=this.toggleRowResizeStyles.bind(this);this.addManagedEventListeners({gridColumnsChanged:this.onGridColumnsChanged.bind(this),scrollVisibilityChanged:this.onScrollVisibilityChanged.bind(this),scrollGapChanged:this.updateScrollingClasses.bind(this),pinnedRowDataChanged:e,pinnedHeightChanged:e,pinnedRowsChanged:e,headerHeightChanged:this.setStickyTopOffsetTop.bind(this),columnRowGroupChanged:t,columnPivotChanged:t,rowResizeStarted:a,rowResizeEnded:a}),this.addManagedPropertyListener("treeData",t)}toggleRowResizeStyles(e){const t=e.type==="rowResizeStarted";this.eBodyViewport.classList.toggle("ag-prevent-animation",t)}onGridColumnsChanged(){const e=this.beans.colModel.getCols();this.comp.setColumnCount(e.length)}onScrollVisibilityChanged(){const{scrollVisibleSvc:e}=this,t=e.verticalScrollShowing;this.setVerticalScrollPaddingVisible(t),this.setStickyWidth(t),this.setStickyBottomOffsetBottom();const a=t&&e.getScrollbarWidth()||0,n=Cv()?16:0,r=`calc(100% + ${a+n}px)`;kt(this.beans,()=>this.comp.setBodyViewportWidth(r)),this.updateScrollingClasses()}setGridRootRole(){const{rowGroupColsSvc:e,colModel:t,gos:a}=this;let n=a.get("treeData");if(!n){const r=t.isPivotMode();n=(e?e.columns.length:0)>=(r?2:1)}this.comp.setGridRootRole(n?"treegrid":"grid")}addFocusListeners(e){for(const t of e)this.addManagedElementListeners(t,{focusin:a=>{const{target:n}=a,r=gr(n,"ag-root",t);t.classList.toggle("ag-has-focus",!r)},focusout:a=>{const{target:n,relatedTarget:r}=a,o=t.contains(r),i=gr(r,"ag-root",t);gr(n,"ag-root",t)||(!o||i)&&t.classList.remove("ag-has-focus")}})}setColumnMovingCss(e){this.comp.setColumnMovingCss(sE,e)}setCellTextSelection(e=!1){this.comp.setCellSelectableCss(iE,e)}updateScrollingClasses(){const{eGridBody:{classList:e},scrollVisibleSvc:t}=this;e.toggle("ag-body-vertical-content-no-gap",!t.verticalScrollGap),e.toggle("ag-body-horizontal-content-no-gap",!t.horizontalScrollGap)}disableBrowserDragging(){this.addManagedElementListeners(this.eGridBody,{dragstart:e=>{if(e.target instanceof HTMLImageElement)return e.preventDefault(),!1}})}addStopEditingWhenGridLosesFocus(){this.beans.editSvc?.addStopEditingWhenGridLosesFocus([this.eBodyViewport,this.eBottom,this.eTop,this.eStickyTop,this.eStickyBottom])}updateRowCount(){const e=(this.ctrlsSvc.getHeaderRowContainerCtrl()?.getRowCount()??0)+(this.filterManager?.getHeaderRowCount()??0),{rowModel:t}=this.beans,a=t.isLastRowIndexKnown()?t.getRowCount():-1,n=a===-1?-1:e+a;this.comp.setRowCount(n)}registerBodyViewportResizeListener(e){this.comp.registerBodyViewportResizeListener(e)}setVerticalScrollPaddingVisible(e){const t=e?"scroll":"hidden";this.comp.setPinnedTopBottomOverflowY(t)}isVerticalScrollShowing(){const{gos:e,comp:t,ctrlsSvc:a}=this,n=e.get("alwaysShowVerticalScroll"),r=n?oC:null,o=Ke(e,"normal");t.setAlwaysVerticalScrollClass(r,n);const i=a.get("center")?.eViewport,s=a.get("fakeHScrollComp")?.getGui(),l=a.get("fakeVScrollComp")?.getGui();return n||o&&jM(this.eBodyViewport,i,void 0,l,s)}setupRowAnimationCssClass(){const{rowContainerHeight:e,environment:t}=this.beans;let a=t.sizesMeasured;const n=()=>{const r=a&&Cr(this.gos)&&!e.stretching,o=r?"ag-row-animation":"ag-row-no-animation";this.comp.setRowAnimationCssOnBodyViewport(o,r)};n(),this.addManagedEventListeners({heightScaleChanged:n}),this.addManagedPropertyListener("animateRows",n),this.addManagedEventListeners({stylesChanged:()=>{!a&&t.sizesMeasured&&(a=!0,n())}})}addBodyViewportListener(){const{eBodyViewport:e,eStickyTop:t,eStickyBottom:a,eTop:n,eBottom:r,beans:{popupSvc:o,touchSvc:i}}=this,s=this.onBodyViewportContextMenu.bind(this);this.addManagedElementListeners(e,{contextmenu:s}),i?.mockBodyContextMenu(this,s),this.addManagedElementListeners(e,{wheel:this.onBodyViewportWheel.bind(this,o)});const l=this.onStickyWheel.bind(this);for(const d of[t,a,n,r])this.addManagedElementListeners(d,{wheel:l});const c=this.onHorizontalWheel.bind(this);for(const d of["left","right","topLeft","topRight","bottomLeft","bottomRight"])this.addManagedElementListeners(this.ctrlsSvc.get(d).eContainer,{wheel:c});this.addFullWidthContainerWheelListener()}addFullWidthContainerWheelListener(){this.addManagedElementListeners(this.eFullWidthContainer,{wheel:e=>this.onFullWidthContainerWheel(e)})}onFullWidthContainerWheel(e){const{deltaX:t,deltaY:a,shiftKey:n}=e;(n||Math.abs(t)>Math.abs(a))&&mi(this.beans,e)&&this.scrollGridBodyToMatchEvent(e)}onStickyWheel(e){const{deltaY:t}=e;this.scrollVertically(t)>0&&e.preventDefault()}onHorizontalWheel(e){const{deltaX:t,deltaY:a,shiftKey:n}=e;(n||Math.abs(t)>Math.abs(a))&&this.scrollGridBodyToMatchEvent(e)}scrollGridBodyToMatchEvent(e){const{deltaX:t,deltaY:a}=e;e.preventDefault(),this.eCenterColsViewport.scrollBy({left:t||a})}onBodyViewportContextMenu(e,t,a){if(!e&&!a)return;this.gos.get("preventDefaultOnContextMenu")&&(e||a).preventDefault();const{target:n}=e||t;(n===this.eBodyViewport||n===this.ctrlsSvc.get("center").eViewport)&&this.beans.contextMenuSvc?.showContextMenu({mouseEvent:e,touchEvent:a,value:null,anchorToElement:this.eGridBody,source:"ui"})}onBodyViewportWheel(e,t){this.gos.get("suppressScrollWhenPopupsAreOpen")&&e?.hasAnchoredPopup()&&t.preventDefault()}scrollVertically(e){const t=this.eBodyViewport.scrollTop;return this.scrollFeature.setVerticalScrollPosition(t+e),this.eBodyViewport.scrollTop-t}setFloatingHeights(){const{pinnedRowModel:e,beans:{environment:t}}=this,a=e?.getPinnedTopTotalHeight(),n=e?.getPinnedBottomTotalHeight(),r=t.getPinnedRowBorderWidth(),o=t.getRowBorderWidth(),i=r-o,s=a?i+a:0,l=n?i+n:0;this.comp.setTopHeight(s),this.comp.setBottomHeight(l),this.comp.setTopInvisible(s<=0),this.comp.setBottomInvisible(l<=0),this.setStickyTopOffsetTop(),this.setStickyBottomOffsetBottom()}setStickyTopHeight(e=0){this.comp.setStickyTopHeight(`${e}px`),this.stickyTopHeight=e}setStickyBottomHeight(e=0){this.comp.setStickyBottomHeight(`${e}px`),this.stickyBottomHeight=e}setStickyWidth(e){if(!e)this.comp.setStickyTopWidth("100%"),this.comp.setStickyBottomWidth("100%");else{const t=this.scrollVisibleSvc.getScrollbarWidth();this.comp.setStickyTopWidth(`calc(100% - ${t}px)`),this.comp.setStickyBottomWidth(`calc(100% - ${t}px)`)}}setStickyTopOffsetTop(){const t=this.ctrlsSvc.get("gridHeaderCtrl").headerHeight+(this.filterManager?.getHeaderHeight()??0),a=this.pinnedRowModel?.getPinnedTopTotalHeight()??0;let n=0;t>0&&(n+=t),a>0&&(n+=a),n>0&&(n+=1),this.comp.setStickyTopTop(`${n}px`)}setStickyBottomOffsetBottom(){const{pinnedRowModel:e,scrollVisibleSvc:t,comp:a}=this,n=e?.getPinnedBottomTotalHeight()??0,o=t.horizontalScrollShowing&&t.getScrollbarWidth()||0,i=n+o;a.setStickyBottomBottom(`${i}px`)}};function re(e){return je(e)}var lE=class extends T{constructor(e,t,a,n,r){super(),this.cellCtrl=t,this.rowResizerElement=null,this.rendererVersion=0,this.editorVersion=0,this.beans=e,this.gos=e.gos,this.column=t.column,this.rowNode=t.rowNode,this.eRow=n;const o=re({tag:"div",role:t.getCellAriaRole(),attrs:{"comp-id":`${this.getCompId()}`,"col-id":t.column.colIdSanitised}});this.eCell=o;let i;t.isCellSpanning()?(i=re({tag:"div",cls:"ag-spanned-cell-wrapper",role:"presentation"}),i.appendChild(o),this.setTemplateFromElement(i)):this.setTemplateFromElement(o),this.cellCssManager=new wu(()=>o),this.forceWrapper=t.isForceWrapper(),this.refreshWrapper(!1);const s={toggleCss:(l,c)=>this.cellCssManager.toggleCss(l,c),setUserStyles:l=>hi(o,l),getFocusableElement:()=>o,setIncludeSelection:l=>this.includeSelection=l,setIncludeRowDrag:l=>this.includeRowDrag=l,setIncludeDndSource:l=>this.includeDndSource=l,setRowResizerElement:l=>this.setRowResizerElement(l),setRenderDetails:(l,c,d)=>this.setRenderDetails(l,c,d),setEditDetails:(l,c,d)=>this.setEditDetails(l,c,d),getCellEditor:()=>this.cellEditor||null,getCellRenderer:()=>this.cellRenderer||null,getParentOfValue:()=>this.getParentOfValue(),refreshEditStyles:(l,c)=>this.refreshEditStyles(l,c)};t.setComp(s,o,i,this.eCellWrapper,a,r,void 0)}getParentOfValue(){return this.eCellValue??this.eCellWrapper??this.eCell}setRowResizerElement(e){this.rowResizerElement&&ue(this.rowResizerElement),this.rowResizerElement=e,e&&this.eCell.appendChild(e)}setRenderDetails(e,t,a){if(this.cellEditor&&!this.cellEditorPopupWrapper)return;this.firstRender=this.firstRender==null;const r=this.refreshWrapper(!1);this.refreshEditStyles(!1),e?!(a||r)&&this.refreshCellRenderer(e)||(this.destroyRenderer(),this.createCellRendererInstance(e)):(this.destroyRenderer(),this.insertValueWithoutCellRenderer(t)),this.rowDraggingComp?.refreshVisibility(),this.rowResizerElement&&!this.rowResizerElement.parentElement&&this.eCell.appendChild(this.rowResizerElement)}setEditDetails(e,t,a){e?this.createCellEditorInstance(e,t,a):this.destroyEditor()}removeControls(){const e=this.beans.context;this.checkboxSelectionComp=e.destroyBean(this.checkboxSelectionComp),this.dndSourceComp=e.destroyBean(this.dndSourceComp),this.rowDraggingComp=e.destroyBean(this.rowDraggingComp)}refreshWrapper(e){const t=this.includeRowDrag||this.includeDndSource||this.includeSelection,a=t||this.forceWrapper,n=a&&this.eCellWrapper==null;n&&(this.eCellWrapper=re({tag:"div",cls:"ag-cell-wrapper",role:"presentation"}),this.eCell.appendChild(this.eCellWrapper));const r=!a&&this.eCellWrapper!=null;r&&(ue(this.eCellWrapper),this.eCellWrapper=void 0),this.cellCssManager.toggleCss("ag-cell-value",!a);const o=!e&&a,i=o&&this.eCellValue==null;if(i){const c=this.cellCtrl.getCellValueClass();this.eCellValue=re({tag:"span",cls:c,role:"presentation"}),this.eCellWrapper.appendChild(this.eCellValue)}const s=!o&&this.eCellValue!=null;s&&(ue(this.eCellValue),this.eCellValue=void 0);const l=n||r||i||s;return l&&this.removeControls(),!e&&t&&this.addControls(),l}addControls(){const{cellCtrl:e,eCellWrapper:t,eCellValue:a,includeRowDrag:n,includeDndSource:r,includeSelection:o}=this,i=s=>{s&&t.insertBefore(s.getGui(),a)};n&&this.rowDraggingComp==null&&(this.rowDraggingComp=e.createRowDragComp(),i(this.rowDraggingComp)),r&&this.dndSourceComp==null&&(this.dndSourceComp=e.createDndSource(),i(this.dndSourceComp)),o&&this.checkboxSelectionComp==null&&(this.checkboxSelectionComp=e.createSelectionCheckbox(),i(this.checkboxSelectionComp))}createCellEditorInstance(e,t,a){const n=this.editorVersion,r=e.newAgStackInstance(),{params:o}=e;r.then(s=>this.afterCellEditorCreated(n,s,o,t,a)),ie(this.cellEditor)&&o.cellStartedEdit&&this.cellCtrl.focusCell(!0)}insertValueWithoutCellRenderer(e){const t=this.getParentOfValue();ee(t);const a=ea(e);a!=null&&(t.textContent=a)}destroyRenderer(){const{context:e}=this.beans;this.cellRenderer=e.destroyBean(this.cellRenderer),ue(this.cellRendererGui),this.cellRendererGui=null,this.rendererVersion++}destroyEditor(){const{context:e}=this.beans;(this.cellEditorPopupWrapper?.getGui().contains(ne(this.beans))||this.cellCtrl.hasBrowserFocus())&&this.eCell.focus({preventScroll:!0}),this.hideEditorPopup?.(),this.hideEditorPopup=void 0,this.cellEditor=e.destroyBean(this.cellEditor),this.cellEditorPopupWrapper=e.destroyBean(this.cellEditorPopupWrapper),ue(this.cellEditorGui),this.cellCtrl.disableEditorTooltipFeature(),this.cellEditorGui=null,this.editorVersion++}refreshCellRenderer(e){if(this.cellRenderer?.refresh==null||this.cellRendererClass!==e.componentClass)return!1;const t=this.cellRenderer.refresh(e.params);return t===!0||t===void 0}createCellRendererInstance(e){const t=this.rendererVersion,a=o=>i=>{if(this.rendererVersion!==t||!this.isAlive())return;const l=o.newAgStackInstance(),c=this.afterCellRendererCreated.bind(this,t,o.componentClass);l?.then(c)},{animationFrameSvc:n}=this.beans;let r;if(n?.active&&this.firstRender?r=(o,i=!1)=>{n.createTask(a(o),this.rowNode.rowIndex,"p2",o.componentFromFramework,i)}:r=o=>a(o)(),e.params?.deferRender&&!this.cellCtrl.rowNode.group){const{loadingComp:o,onReady:i}=this.cellCtrl.getDeferLoadingCellRenderer();o&&(r(o),i.then(()=>r(e,!0)))}else r(e)}afterCellRendererCreated(e,t,a){if(!this.isAlive()||e!==this.rendererVersion){this.beans.context.destroyBean(a);return}this.cellRenderer=a,this.cellRendererClass=t;const r=a.getGui();if(this.cellRendererGui=r,r!=null){const o=this.getParentOfValue();ee(o),o.appendChild(r)}}afterCellEditorCreated(e,t,a,n,r){const o=e!==this.editorVersion,{context:i}=this.beans;if(o){i.destroyBean(t);return}if(t.isCancelBeforeStart?.()){i.destroyBean(t),this.cellCtrl.stopEditing(!0);return}if(!t.getGui){R(97,{colId:this.column.getId()}),i.destroyBean(t);return}this.cellEditor=t,this.cellEditorGui=t.getGui();const l=n||t.isPopup?.();l?this.addPopupCellEditor(a,r):this.addInCellEditor(),this.refreshEditStyles(!0,l),t.afterGuiAttached?.(),this.cellCtrl.enableEditorTooltipFeature(t),this.cellCtrl.cellEditorAttached()}refreshEditStyles(e,t){const{cellCssManager:a}=this;a.toggleCss("ag-cell-inline-editing",e&&!t),a.toggleCss("ag-cell-popup-editing",e&&!!t),a.toggleCss("ag-cell-not-inline-editing",!e||!!t)}addInCellEditor(){const{eCell:e}=this;e.contains(ne(this.beans))&&e.focus(),this.destroyRenderer(),this.refreshWrapper(!0),ee(this.getParentOfValue()),this.cellEditorGui&&this.getParentOfValue().appendChild(this.cellEditorGui)}addPopupCellEditor(e,t){const{gos:a,context:n,popupSvc:r,editSvc:o}=this.beans;a.get("editType")==="fullRow"&&R(98);const i=this.cellEditorPopupWrapper=n.createBean(o.createPopupEditorWrapper(e)),{cellEditor:s,cellEditorGui:l,eCell:c,rowNode:d,column:u,cellCtrl:g}=this,h=i.getGui();l&&h.appendChild(l);const p=a.get("stopEditingWhenCellsLoseFocus"),f=t??s.getPopupPosition?.()??"over",m=a.get("enableRtl"),v={ePopup:h,additionalParams:{column:u,rowNode:d},type:"popupCellEditor",eventSource:c,position:f,alignSide:m?"right":"left",keepWithinBounds:!0},C=r.positionPopupByComponent.bind(r,v),b=r.addPopup({modal:p,eChild:h,closeOnEsc:!0,closedCallback:y=>{g.onPopupEditorClosed(y)},anchorToElement:c,positionCallback:C,ariaOwns:c});b&&(this.hideEditorPopup=b.hideFunc)}detach(){this.getGui().remove()}destroy(){this.destroyRenderer(),this.destroyEditor(),this.removeControls(),super.destroy()}},cE=class extends T{constructor(e,t,a){super(),this.cellComps=new Map,this.beans=t,this.rowCtrl=e;const n=re({tag:"div",role:"row",attrs:{"comp-id":`${this.getCompId()}`}});this.setInitialStyle(n,a),this.setTemplateFromElement(n);const r=n.style;this.domOrder=this.rowCtrl.getDomOrder();const o={setDomOrder:i=>this.domOrder=i,setCellCtrls:i=>this.setCellCtrls(i),showFullWidth:i=>this.showFullWidth(i),getFullWidthCellRenderer:()=>this.fullWidthCellRenderer,getFullWidthCellRendererParams:()=>this.fullWidthCellRendererParams,toggleCss:(i,s)=>this.toggleCss(i,s),setUserStyles:i=>hi(n,i),setTop:i=>r.top=i,setTransform:i=>r.transform=i,setRowIndex:i=>n.setAttribute("row-index",i),setRowId:i=>n.setAttribute("row-id",i),setRowBusinessKey:i=>n.setAttribute("row-business-key",i),refreshFullWidth:i=>{const s=i();return this.fullWidthCellRendererParams=s,this.fullWidthCellRenderer?.refresh?.(s)??!1}};e.setComp(o,this.getGui(),a,void 0),this.addDestroyFunc(()=>{e.unsetComp(a)})}setInitialStyle(e,t){const a=this.rowCtrl.getInitialTransform(t);if(a)e.style.setProperty("transform",a);else{const n=this.rowCtrl.getInitialRowTop(t);n&&e.style.setProperty("top",n)}}showFullWidth(e){const t=n=>{if(this.isAlive()){const r=n.getGui();this.getGui().appendChild(r),this.rowCtrl.setupDetailRowAutoHeight(r),this.setFullWidthRowComp(n,e.params)}else this.beans.context.destroyBean(n)};e.newAgStackInstance().then(t)}setCellCtrls(e){const t=new Map(this.cellComps);for(const a of e){const n=a.instanceId;this.cellComps.has(n)?t.delete(n):this.newCellComp(a)}this.destroyCells(t),this.ensureDomOrder(e)}ensureDomOrder(e){if(!this.domOrder)return;const t=[];for(const a of e){const n=this.cellComps.get(a.instanceId);n&&t.push(n.getGui())}hm(this.getGui(),t)}newCellComp(e){const t=this.beans.editSvc?.isEditing(e,{withOpenEditor:!0})??!1,a=new lE(this.beans,e,this.rowCtrl.printLayout,this.getGui(),t);this.cellComps.set(e.instanceId,a),this.getGui().appendChild(a.getGui())}destroy(){super.destroy(),this.destroyCells(this.cellComps)}setFullWidthRowComp(e,t){this.fullWidthCellRenderer=e,this.fullWidthCellRendererParams=t,this.addDestroyFunc(()=>{this.fullWidthCellRenderer=this.beans.context.destroyBean(this.fullWidthCellRenderer),this.fullWidthCellRendererParams=void 0})}destroyCells(e){for(const t of e.values()){if(!t)continue;const a=t.cellCtrl.instanceId;this.cellComps.get(a)===t&&(t.detach(),t.destroy(),this.cellComps.delete(a))}}};function dE(e,t,a){const n=!!a.gos.get("enableCellSpan")&&!!t.getSpannedRowCtrls,r={tag:"div",ref:"eContainer",cls:cg(e),role:"rowgroup"};if(t.type==="center"||n){const o={tag:"div",ref:"eSpannedContainer",cls:`ag-spanning-container ${tC(e)}`,role:"presentation"};return r.role="presentation",{tag:"div",ref:"eViewport",cls:`ag-viewport ${lg(e)}`,role:"rowgroup",children:[r,n?o:null]}}return r}var uE=class extends T{constructor(e){super(),this.eViewport=x,this.eContainer=x,this.eSpannedContainer=x,this.rowCompsNoSpan={},this.rowCompsWithSpan={},this.name=e?.name,this.options=po(this.name)}postConstruct(){this.setTemplate(dE(this.name,this.options,this.beans));const e={setHorizontalScroll:a=>this.eViewport.scrollLeft=a,setViewportHeight:a=>this.eViewport.style.height=a,setRowCtrls:({rowCtrls:a})=>this.setRowCtrls(a),setSpannedRowCtrls:a=>this.setRowCtrls(a,!0),setDomOrder:a=>{this.domOrder=a},setContainerWidth:a=>{this.eContainer.style.width=a,this.eSpannedContainer&&(this.eSpannedContainer.style.width=a)},setOffsetTop:a=>{const n=`translateY(${a})`;this.eContainer.style.transform=n,this.eSpannedContainer&&(this.eSpannedContainer.style.transform=n)}};this.createManagedBean(new rC(this.name)).setComp(e,this.eContainer,this.eSpannedContainer,this.eViewport)}destroy(){this.setRowCtrls([]),this.setRowCtrls([],!0),super.destroy(),this.lastPlacedElement=null}setRowCtrls(e,t){const{beans:a,options:n}=this,r=t?this.eSpannedContainer:this.eContainer,o=t?{...this.rowCompsWithSpan}:{...this.rowCompsNoSpan},i={};t?this.rowCompsWithSpan=i:this.rowCompsNoSpan=i,this.lastPlacedElement=null;const s=[];for(const l of e){const c=l.instanceId,d=o[c];let u;if(d)u=d,delete o[c];else{if(!l.rowNode.displayed)continue;u=new cE(l,a,n.type)}i[c]=u,s.push([u,!d])}this.removeOldRows(Object.values(o)),this.addRowNodes(s,r)}addRowNodes(e,t){const{domOrder:a}=this;for(const[n,r]of e){const o=n.getGui();a?this.ensureDomOrder(o,t):r&&t.appendChild(o)}}removeOldRows(e){for(const t of e)t.getGui().remove(),t.destroy()}ensureDomOrder(e,t){gm(t,e,this.lastPlacedElement),this.lastPlacedElement=e}},gE={selector:"AG-ROW-CONTAINER",component:uE};function Hi(e,t){return t.map(a=>{const n=`e${a[0].toUpperCase()+a.substring(1)}RowContainer`;return e[n]={name:a},{tag:"ag-row-container",ref:n,attrs:{name:a}}})}function hE(e){const t={},a={tag:"div",ref:"eGridRoot",cls:"ag-root ag-unselectable",children:[{tag:"ag-header-root"},{tag:"div",ref:"eTop",cls:"ag-floating-top",role:"presentation",children:Hi(t,["topLeft","topCenter","topRight","topFullWidth"])},{tag:"div",ref:"eBody",cls:"ag-body",role:"presentation",children:[{tag:"div",ref:"eBodyViewport",cls:"ag-body-viewport",role:"presentation",children:Hi(t,["left","center","right","fullWidth"])},{tag:"ag-fake-vertical-scroll"}]},{tag:"div",ref:"eStickyTop",cls:"ag-sticky-top",role:"presentation",children:Hi(t,["stickyTopLeft","stickyTopCenter","stickyTopRight","stickyTopFullWidth"])},{tag:"div",ref:"eStickyBottom",cls:"ag-sticky-bottom",role:"presentation",children:Hi(t,["stickyBottomLeft","stickyBottomCenter","stickyBottomRight","stickyBottomFullWidth"])},{tag:"div",ref:"eBottom",cls:"ag-floating-bottom",role:"presentation",children:Hi(t,["bottomLeft","bottomCenter","bottomRight","bottomFullWidth"])},{tag:"ag-fake-horizontal-scroll"},e?{tag:"ag-overlay-wrapper"}:null]};return{paramsMap:t,elementParams:a}}var pE=class extends T{constructor(){super(...arguments),this.eGridRoot=x,this.eBodyViewport=x,this.eStickyTop=x,this.eStickyBottom=x,this.eTop=x,this.eBottom=x,this.eBody=x}postConstruct(){const{overlays:e,rangeSvc:t}=this.beans,a=e?.getOverlayWrapperSelector(),{paramsMap:n,elementParams:r}=hE(!!a);this.setTemplate(r,[...a?[a]:[],NM,qM,VM,gE],n);const o=(s,l)=>{const c=`${s}px`;l.style.minHeight=c,l.style.height=c},i={setRowAnimationCssOnBodyViewport:(s,l)=>this.setRowAnimationCssOnBodyViewport(s,l),setColumnCount:s=>rm(this.getGui(),s),setRowCount:s=>nm(this.getGui(),s),setTopHeight:s=>o(s,this.eTop),setBottomHeight:s=>o(s,this.eBottom),setTopInvisible:s=>this.eTop.classList.toggle("ag-invisible",s),setBottomInvisible:s=>this.eBottom.classList.toggle("ag-invisible",s),setStickyTopHeight:s=>this.eStickyTop.style.height=s,setStickyTopTop:s=>this.eStickyTop.style.top=s,setStickyTopWidth:s=>this.eStickyTop.style.width=s,setStickyBottomHeight:s=>{this.eStickyBottom.style.height=s,this.eStickyBottom.classList.toggle("ag-invisible",s==="0px")},setStickyBottomBottom:s=>this.eStickyBottom.style.bottom=s,setStickyBottomWidth:s=>this.eStickyBottom.style.width=s,setColumnMovingCss:(s,l)=>this.toggleCss(s,l),updateLayoutClasses:(s,l)=>{const c=[this.eBodyViewport.classList,this.eBody.classList];for(const d of c)d.toggle(ka.AUTO_HEIGHT,l.autoHeight),d.toggle(ka.NORMAL,l.normal),d.toggle(ka.PRINT,l.print);this.toggleCss(ka.AUTO_HEIGHT,l.autoHeight),this.toggleCss(ka.NORMAL,l.normal),this.toggleCss(ka.PRINT,l.print)},setAlwaysVerticalScrollClass:(s,l)=>this.eBodyViewport.classList.toggle(oC,l),registerBodyViewportResizeListener:s=>{const l=Ca(this.beans,this.eBodyViewport,s);this.addDestroyFunc(()=>l())},setPinnedTopBottomOverflowY:s=>this.eTop.style.overflowY=this.eBottom.style.overflowY=s,setCellSelectableCss:(s,l)=>{for(const c of[this.eTop,this.eBodyViewport,this.eBottom])c.classList.toggle(s,l)},setBodyViewportWidth:s=>this.eBodyViewport.style.width=s,setGridRootRole:s=>De(this.eGridRoot,s)};this.ctrl=this.createManagedBean(new iC),this.ctrl.setComp(i,this.getGui(),this.eBodyViewport,this.eTop,this.eBottom,this.eStickyTop,this.eStickyBottom),(t&&mt(this.gos)||Ia(this.gos))&&iR(this.getGui(),!0)}setRowAnimationCssOnBodyViewport(e,t){const a=this.eBodyViewport.classList;a.toggle("ag-row-animation",t),a.toggle("ag-row-no-animation",!t)}getFocusableContainerName(){return"gridBody"}},fE={selector:"AG-GRID-BODY",component:pE},qi={TAB_GUARD:"ag-tab-guard",TAB_GUARD_TOP:"ag-tab-guard-top",TAB_GUARD_BOTTOM:"ag-tab-guard-bottom"},sC=class extends _e{constructor(e,t){super(),this.stopPropagationCallbacks=t,this.skipTabGuardFocus=!1,this.forcingFocusOut=!1,this.allowFocus=!1;const{comp:a,eTopGuard:n,eBottomGuard:r,focusTrapActive:o,forceFocusOutWhenTabGuardsAreEmpty:i,isFocusableContainer:s,focusInnerElement:l,onFocusIn:c,onFocusOut:d,shouldStopEventPropagation:u,onTabKeyDown:g,handleKeyDown:h,isEmpty:p,eFocusableElement:f}=e;this.comp=a,this.eTopGuard=n,this.eBottomGuard=r,this.providedFocusInnerElement=l,this.eFocusableElement=f,this.focusTrapActive=!!o,this.forceFocusOutWhenTabGuardsAreEmpty=!!i,this.isFocusableContainer=!!s,this.providedFocusIn=c,this.providedFocusOut=d,this.providedShouldStopEventPropagation=u,this.providedOnTabKeyDown=g,this.providedHandleKeyDown=h,this.providedIsEmpty=p}postConstruct(){this.createManagedBean(new bv(this.eFocusableElement,this.stopPropagationCallbacks,{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();for(const e of[this.eTopGuard,this.eBottomGuard])this.addManagedElementListeners(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():!1}activateTabGuards(){if(this.forcingFocusOut)return;const e=this.gos.get("tabIndex");this.comp.setTabIndex(e.toString())}deactivateTabGuards(){this.comp.setTabIndex()}onFocus(e){if(this.isFocusableContainer&&!this.eFocusableElement.contains(e.relatedTarget)&&!this.allowFocus){this.findNextElementOutsideAndFocus(e.target===this.eBottomGuard);return}if(this.skipTabGuardFocus){this.skipTabGuardFocus=!1;return}if(this.forceFocusOutWhenTabGuardsAreEmpty&&(this.providedIsEmpty?this.providedIsEmpty():_t(this.eFocusableElement,".ag-tab-guard").length===0)){this.findNextElementOutsideAndFocus(e.target===this.eBottomGuard);return}if(this.isFocusableContainer&&this.eFocusableElement.contains(e.relatedTarget))return;const t=e.target===this.eBottomGuard;!(this.providedFocusInnerElement?this.providedFocusInnerElement(t):this.focusInnerElement(t))&&this.forceFocusOutWhenTabGuardsAreEmpty&&this.findNextElementOutsideAndFocus(e.target===this.eBottomGuard)}findNextElementOutsideAndFocus(e){const t=me(this.beans),a=_t(t.body,null,!0),n=a.indexOf(e?this.eTopGuard:this.eBottomGuard);if(n===-1)return;let r,o;e?(r=0,o=n):(r=n+1,o=a.length);const i=a.slice(r,o),s=this.gos.get("tabIndex");i.sort((l,c)=>{const d=Number.parseInt(l.getAttribute("tabindex")||"0"),u=Number.parseInt(c.getAttribute("tabindex")||"0");return u===s?1:d===s?-1:d===0?1:u===0?-1:d-u}),i[e?i.length-1:0]?.focus()}onFocusIn(e){this.focusTrapActive||this.forcingFocusOut||(this.providedFocusIn&&this.providedFocusIn(e),this.isFocusableContainer||this.deactivateTabGuards())}onFocusOut(e){this.focusTrapActive||(this.providedFocusOut&&this.providedFocusOut(e),this.eFocusableElement.contains(e.relatedTarget)||this.activateTabGuards())}onTabKeyDown(e){if(this.providedOnTabKeyDown){this.providedOnTabKeyDown(e);return}if(this.focusTrapActive||e.defaultPrevented)return;const t=this.tabGuardsAreActive();t&&this.deactivateTabGuards();const a=this.getNextFocusableElement(e.shiftKey);t&&setTimeout(()=>this.activateTabGuards(),0),a&&(a.focus(),e.preventDefault())}focusInnerElement(e=!1){const t=_t(this.eFocusableElement);return this.tabGuardsAreActive()&&(t.splice(0,1),t.splice(-1,1)),t.length?(t[e?t.length-1:0].focus({preventScroll:!0}),!0):!1}getNextFocusableElement(e){return Je(this.beans,this.eFocusableElement,!1,e)}forceFocusOutOfContainer(e=!1){if(this.forcingFocusOut)return;const t=e?this.eTopGuard:this.eBottomGuard;this.activateTabGuards(),this.skipTabGuardFocus=!0,this.forcingFocusOut=!0,t.focus(),window.setTimeout(()=>{this.forcingFocusOut=!1,this.activateTabGuards()})}isTabGuard(e,t){return e===this.eTopGuard&&!t||e===this.eBottomGuard&&(t??!0)}setAllowFocus(e){this.allowFocus=e}},Nl=class extends _e{constructor(e,t){super(),this.comp=e,this.stopPropagationCallbacks=t}initialiseTabGuard(e){this.eTopGuard=this.createTabGuard("top"),this.eBottomGuard=this.createTabGuard("bottom"),this.eFocusableElement=this.comp.getFocusableElement();const{eTopGuard:t,eBottomGuard:a,eFocusableElement:n,stopPropagationCallbacks:r}=this,o=[t,a],i={setTabIndex:v=>{for(const C of o)v==null?C.removeAttribute("tabindex"):C.setAttribute("tabindex",v)}};this.addTabGuards(t,a);const{focusTrapActive:s=!1,onFocusIn:l,onFocusOut:c,focusInnerElement:d,handleKeyDown:u,onTabKeyDown:g,shouldStopEventPropagation:h,isEmpty:p,forceFocusOutWhenTabGuardsAreEmpty:f,isFocusableContainer:m}=e;this.tabGuardCtrl=this.createManagedBean(new sC({comp:i,focusTrapActive:s,eTopGuard:t,eBottomGuard:a,eFocusableElement:n,onFocusIn:l,onFocusOut:c,focusInnerElement:d,handleKeyDown:u,onTabKeyDown:g,shouldStopEventPropagation:h,isEmpty:p,forceFocusOutWhenTabGuardsAreEmpty:f,isFocusableContainer:m},r))}getTabGuardCtrl(){return this.tabGuardCtrl}createTabGuard(e){const t=me(this.beans).createElement("div"),a=e==="top"?qi.TAB_GUARD_TOP:qi.TAB_GUARD_BOTTOM;return t.classList.add(qi.TAB_GUARD,a),De(t,"presentation"),t}addTabGuards(e,t){const a=this.eFocusableElement;a.prepend(e),a.append(t)}removeAllChildrenExceptTabGuards(){const e=[this.eTopGuard,this.eBottomGuard];ee(this.comp.getFocusableElement()),this.addTabGuards(...e)}forceFocusOutOfContainer(e=!1){this.tabGuardCtrl.forceFocusOutOfContainer(e)}appendChild(e,t,a){fi(t)||(t=t.getGui());const{eBottomGuard:n}=this;n?n.before(t):e(t,a)}destroy(){const{eTopGuard:e,eBottomGuard:t}=this;ue(e),ue(t),super.destroy()}},fo=class extends Mt{initialiseTabGuard(e,t){this.tabGuardFeature=this.createManagedBean(new Nl(this,t)),this.tabGuardFeature.initialiseTabGuard(e)}forceFocusOutOfContainer(e=!1){this.tabGuardFeature.forceFocusOutOfContainer(e)}appendChild(e,t){this.tabGuardFeature.appendChild(super.appendChild.bind(this),e,t)}},Er=class extends fo{initialiseTabGuard(e){super.initialiseTabGuard(e,Dn)}},lC=(e,t)=>Lv(e,()=>ze(e.getGui(),t,!1,!0)),cC=e=>e?.getFocusableContainerName()??"external",mE=e=>e==null?"external":typeof e=="string"?e:"gridBody",dC=class extends F{constructor(){super(...arguments),this.additionalFocusableContainers=new Set}setComp(e,t,a){this.view=e,this.eGridHostDiv=t,this.eGui=a,this.eGui.setAttribute("grid-id",this.beans.context.getId());const{dragAndDrop:n,ctrlsSvc:r}=this.beans;n?.registerGridDropTarget(()=>this.eGui,this),this.createManagedBean(new Ju(this.view)),this.view.setRtlClass(this.gos.get("enableRtl")?"ag-rtl":"ag-ltr");const o=Ca(this.beans,this.eGridHostDiv,this.onGridSizeChanged.bind(this));this.addDestroyFunc(()=>o()),r.register("gridCtrl",this)}isDetailGrid(){return Rl(this.getGui())?.getAttribute("row-id")?.startsWith("detail")||!1}getOptionalSelectors(){const e=this.beans;return{paginationSelector:e.pagination?.getPaginationSelector(),gridHeaderDropZonesSelector:e.registry?.getSelector("AG-GRID-HEADER-DROP-ZONES"),sideBarSelector:e.sideBar?.getSelector(),statusBarSelector:e.registry?.getSelector("AG-STATUS-BAR"),watermarkSelector:e.licenseManager?.getWatermarkSelector()}}onGridSizeChanged(){this.eventSvc.dispatchEvent({type:"gridSizeChanged",clientWidth:this.eGridHostDiv.clientWidth,clientHeight:this.eGridHostDiv.clientHeight})}destroyGridUi(){this.view.destroyGridUi()}getGui(){return this.eGui}setResizeCursor(e){const{view:t}=this;e===!1?t.setCursor(null):t.setCursor(e===1?"ew-resize":"ns-resize")}disableUserSelect(e){this.view.setUserSelect(e?"none":null)}focusNextInnerContainer(e){const t=this.getFocusableContainers(),{indexWithFocus:a,nextIndex:n}=this.getNextFocusableIndex(t,e),r=a===-1?e?t.length-1:0:n,{gos:o,beans:{focusSvc:i,navigation:s}}=this,l=o.getCallback("tabToNextGridContainer");if(l){const c=i.getDefaultTabToNextGridContainerTarget({backwards:e,focusableContainers:t,nextIndex:r}),d=cC(t[r]),u=c==null&&d==="gridBody"?"gridBody":mE(c),g=l({backwards:e,previousContainer:cC(t[a]),nextContainer:u,defaultTarget:c});if(g!==void 0){if(typeof g=="boolean")return g;if(typeof g=="string"){if(g==="gridBody")return this.focusGridBodyDefault(e)||void 0;const h=t.find(p=>p.getFocusableContainerName()===g);if(!h){Rm(`tabToNextGridContainer - ${g} container not found`);return}return lC(h,e)?!0:void 0}return CM(g)?i.focusHeaderPosition({headerPosition:g})||void 0:(s?.ensureCellVisible(g),i.setFocusedCell({...g,forceBrowserFocus:!0}),i.isCellFocused(g)||void 0)}}return this.focusNextInnerContainerDefault({backwards:e,focusableContainers:t,indexWithFocus:a,nextIndex:r})||void 0}focusInnerElement(e){const{gos:t,beans:a,beans:{focusSvc:n,visibleCols:r}}=this;if(t.getCallback("focusGridInnerElement")?.({fromBottom:!!e}))return!0;const i=this.getFocusableContainers();if(e)return this.focusNextInnerContainerDefault({backwards:!0,focusableContainers:i,indexWithFocus:i.length,nextIndex:i.length-1})?!0:n.focusGridView({column:W(r.allCols),backwards:!0});const s=r.allCols;if(t.get("headerHeight")===0||xa(a)){if(n.focusGridView({column:s[0],backwards:e}))return!0;for(let l=1;lr.getGui().contains(a));return{indexWithFocus:n,nextIndex:n+(t?-1:1)}}focusGridBodyDefault(e){const{gos:t,beans:a,beans:{focusSvc:n,visibleCols:{allCols:r}}}=this;return e?n.focusGridView({column:W(r),backwards:!0}):t.get("headerHeight")===0||xa(a)?n.focusGridView({column:r[0]}):n.focusFirstHeader()}focusNextInnerContainerDefault(e){const{backwards:t,focusableContainers:a,indexWithFocus:n}=e,r=t?-1:1;for(let o=e.nextIndex;o>=0&&oo:nthis.destroyBean(this),setRtlClass:o=>this.addCss(o),forceFocusOutOfContainer:this.forceFocusOutOfContainer.bind(this),updateLayoutClasses:this.updateLayoutClasses.bind(this),getFocusableContainers:this.getFocusableContainers.bind(this),setUserSelect:o=>{this.getGui().style.userSelect=o??"",this.getGui().style.webkitUserSelect=o??""},setCursor:o=>{this.getGui().style.cursor=o??""}},t=this.createManagedBean(new dC),a=t.getOptionalSelectors(),n=this.createTemplate(a),r=[fE,...Object.values(a).filter(o=>!!o)];this.setTemplate(n,r),t.setComp(e,this.eGridDiv,this.getGui()),this.insertGridIntoDom(),this.initialiseTabGuard({onTabKeyDown:()=>{},focusInnerElement:o=>t.focusInnerElement(o),forceFocusOutWhenTabGuardsAreEmpty:!0,isEmpty:()=>!t.isFocusable()})}insertGridIntoDom(){const e=this.getGui();this.eGridDiv.appendChild(e),this.addDestroyFunc(()=>{e.remove(),xn(this.gos,"Grid removed from DOM")})}updateLayoutClasses(e,t){const a=this.rootWrapperBody.classList,{AUTO_HEIGHT:n,NORMAL:r,PRINT:o}=ka,{autoHeight:i,normal:s,print:l}=t;a.toggle(n,i),a.toggle(r,s),a.toggle(o,l),this.toggleCss(n,i),this.toggleCss(r,s),this.toggleCss(o,l)}createTemplate(e){const t=e.gridHeaderDropZonesSelector?{tag:"ag-grid-header-drop-zones",ref:"gridHeaderDropZones"}:null,a=e.sideBarSelector?{tag:"ag-side-bar",ref:"sideBar"}:null,n=e.statusBarSelector?{tag:"ag-status-bar",ref:"statusBar"}:null,r=e.watermarkSelector?{tag:"ag-watermark"}:null,o=e.paginationSelector?{tag:"ag-pagination",ref:"pagination"}:null;return{tag:"div",cls:"ag-root-wrapper",role:"presentation",children:[t,{tag:"div",ref:"rootWrapperBody",cls:"ag-root-wrapper-body",role:"presentation",children:[{tag:"ag-grid-body",ref:"gridBody"},a]},n,o,r]}}getFocusableElement(){return this.rootWrapperBody}forceFocusOutOfContainer(e=!1){if(!e&&this.pagination?.isDisplayed()){this.pagination.forceFocusOutOfContainer(e);return}super.forceFocusOutOfContainer(e)}getFocusableContainers(){const e=[...this.gridHeaderDropZones?.getFocusableContainers?.()??[],this.gridBody];for(const t of[this.sideBar,this.statusBar,this.pagination])t&&e.push(t);return e.filter(t=>Be(t.getGui()))}},te=(e,t)=>{for(const a of Object.keys(t))t[a]=e;return t},uC={dispatchEvent:"CommunityCore",...te("CommunityCore",{destroy:0,getGridId:0,getGridOption:0,isDestroyed:0,setGridOption:0,updateGridOptions:0,isModuleRegistered:0}),...te("GridState",{getState:0,setState:0}),...te("SharedRowSelection",{setNodesSelected:0,selectAll:0,deselectAll:0,selectAllFiltered:0,deselectAllFiltered:0,selectAllOnCurrentPage:0,deselectAllOnCurrentPage:0,getSelectedNodes:0,getSelectedRows:0}),...te("RowApi",{redrawRows:0,setRowNodeExpanded:0,getRowNode:0,addRenderedRowListener:0,getRenderedNodes:0,forEachNode:0,getFirstDisplayedRowIndex:0,getLastDisplayedRowIndex:0,getDisplayedRowAtIndex:0,getDisplayedRowCount:0}),...te("ScrollApi",{getVerticalPixelRange:0,getHorizontalPixelRange:0,ensureColumnVisible:0,ensureIndexVisible:0,ensureNodeVisible:0}),...te("KeyboardNavigation",{getFocusedCell:0,clearFocusedCell:0,setFocusedCell:0,tabToNextCell:0,tabToPreviousCell:0,setFocusedHeader:0}),...te("EventApi",{addEventListener:0,addGlobalListener:0,removeEventListener:0,removeGlobalListener:0}),...te("ValueCache",{expireValueCache:0}),...te("CellApi",{getCellValue:0}),...te("SharedMenu",{showColumnMenu:0,hidePopupMenu:0}),...te("Sort",{onSortChanged:0}),...te("PinnedRow",{getPinnedTopRowCount:0,getPinnedBottomRowCount:0,getPinnedTopRow:0,getPinnedBottomRow:0,forEachPinnedRow:0}),...te("Overlay",{showLoadingOverlay:0,showNoRowsOverlay:0,hideOverlay:0}),...te("RenderApi",{setGridAriaProperty:0,refreshCells:0,refreshHeader:0,isAnimationFrameQueueEmpty:0,flushAllAnimationFrames:0,getSizesForCurrentTheme:0,getCellRendererInstances:0}),...te("HighlightChanges",{flashCells:0}),...te("RowDrag",{addRowDropZone:0,removeRowDropZone:0,getRowDropZoneParams:0,getRowDropPositionIndicator:0,setRowDropPositionIndicator:0}),...te("ColumnApi",{getColumnDefs:0,getColumnDef:0,getDisplayNameForColumn:0,getColumn:0,getColumns:0,applyColumnState:0,getColumnState:0,resetColumnState:0,isPinning:0,isPinningLeft:0,isPinningRight:0,getDisplayedColAfter:0,getDisplayedColBefore:0,setColumnsVisible:0,setColumnsPinned:0,getAllGridColumns:0,getDisplayedLeftColumns:0,getDisplayedCenterColumns:0,getDisplayedRightColumns:0,getAllDisplayedColumns:0,getAllDisplayedVirtualColumns:0}),...te("ColumnAutoSize",{sizeColumnsToFit:0,autoSizeColumns:0,autoSizeAllColumns:0}),...te("ColumnGroup",{setColumnGroupOpened:0,getColumnGroup:0,getProvidedColumnGroup:0,getDisplayNameForColumnGroup:0,getColumnGroupState:0,setColumnGroupState:0,resetColumnGroupState:0,getLeftDisplayedColumnGroups:0,getCenterDisplayedColumnGroups:0,getRightDisplayedColumnGroups:0,getAllDisplayedColumnGroups:0}),...te("ColumnMove",{moveColumnByIndex:0,moveColumns:0}),...te("ColumnResize",{setColumnWidths:0}),...te("ColumnHover",{isColumnHovered:0}),...te("EditCore",{getCellEditorInstances:0,getEditingCells:0,getEditRowValues:0,stopEditing:0,startEditingCell:0,isEditing:0,validateEdit:0}),...te("BatchEdit",{startBatchEdit:0,cancelBatchEdit:0,commitBatchEdit:0,isBatchEditing:0}),...te("UndoRedoEdit",{undoCellEditing:0,redoCellEditing:0,getCurrentUndoSize:0,getCurrentRedoSize:0}),...te("FilterCore",{isAnyFilterPresent:0,onFilterChanged:0}),...te("ColumnFilter",{isColumnFilterPresent:0,getColumnFilterInstance:0,destroyFilter:0,setFilterModel:0,getFilterModel:0,getColumnFilterModel:0,setColumnFilterModel:0,showColumnFilter:0,hideColumnFilter:0,getColumnFilterHandler:0,doFilterAction:0}),...te("QuickFilter",{isQuickFilterPresent:0,getQuickFilter:0,resetQuickFilter:0}),...te("Find",{findGetActiveMatch:0,findGetTotalMatches:0,findGoTo:0,findNext:0,findPrevious:0,findGetNumMatches:0,findGetParts:0,findClearActive:0,findRefresh:0}),...te("Pagination",{paginationIsLastPageFound:0,paginationGetPageSize:0,paginationGetCurrentPage:0,paginationGetTotalPages:0,paginationGetRowCount:0,paginationGoToNextPage:0,paginationGoToPreviousPage:0,paginationGoToFirstPage:0,paginationGoToLastPage:0,paginationGoToPage:0}),...te("CsrmSsrmSharedApi",{expandAll:0,collapseAll:0,resetRowGroupExpansion:0}),...te("SsrmInfiniteSharedApi",{setRowCount:0,getCacheBlockState:0,isLastRowIndexKnown:0}),...te("ClientSideRowModelApi",{onGroupExpandedOrCollapsed:0,refreshClientSideRowModel:0,isRowDataEmpty:0,forEachLeafNode:0,forEachNodeAfterFilter:0,forEachNodeAfterFilterAndSort:0,applyTransaction:0,applyTransactionAsync:0,flushAsyncTransactions:0,getBestCostNodeSelection:0,onRowHeightChanged:0,resetRowHeights:0}),...te("CsvExport",{getDataAsCsv:0,exportDataAsCsv:0}),...te("InfiniteRowModel",{refreshInfiniteCache:0,purgeInfiniteCache:0,getInfiniteRowCount:0}),...te("AdvancedFilter",{getAdvancedFilterModel:0,setAdvancedFilterModel:0,showAdvancedFilterBuilder:0,hideAdvancedFilterBuilder:0}),...te("IntegratedCharts",{getChartModels:0,getChartRef:0,getChartImageDataURL:0,downloadChart:0,openChartToolPanel:0,closeChartToolPanel:0,createRangeChart:0,createPivotChart:0,createCrossFilterChart:0,updateChart:0,restoreChart:0}),...te("Clipboard",{copyToClipboard:0,cutToClipboard:0,copySelectedRowsToClipboard:0,copySelectedRangeToClipboard:0,copySelectedRangeDown:0,pasteFromClipboard:0}),...te("ExcelExport",{getDataAsExcel:0,exportDataAsExcel:0,getSheetDataForExcel:0,getMultipleSheetsAsExcel:0,exportMultipleSheetsAsExcel:0}),...te("SharedMasterDetail",{addDetailGridInfo:0,removeDetailGridInfo:0,getDetailGridInfo:0,forEachDetailGridInfo:0}),...te("ContextMenu",{showContextMenu:0}),...te("ColumnMenu",{showColumnChooser:0,hideColumnChooser:0}),...te("CellSelection",{getCellRanges:0,addCellRange:0,clearRangeSelection:0,clearCellSelection:0}),...te("SharedRowGrouping",{setRowGroupColumns:0,removeRowGroupColumns:0,addRowGroupColumns:0,getRowGroupColumns:0,moveRowGroupColumn:0}),...te("SharedAggregation",{addAggFuncs:0,clearAggFuncs:0,setColumnAggFunc:0}),...te("SharedPivot",{isPivotMode:0,getPivotResultColumn:0,setValueColumns:0,getValueColumns:0,removeValueColumns:0,addValueColumns:0,setPivotColumns:0,removePivotColumns:0,addPivotColumns:0,getPivotColumns:0,setPivotResultColumns:0,getPivotResultColumns:0}),...te("ServerSideRowModelApi",{getServerSideSelectionState:0,setServerSideSelectionState:0,applyServerSideTransaction:0,applyServerSideTransactionAsync:0,applyServerSideRowData:0,retryServerSideLoads:0,flushServerSideAsyncTransactions:0,refreshServerSide:0,getServerSideGroupLevelState:0,onRowHeightChanged:0,resetRowHeights:0}),...te("SideBar",{isSideBarVisible:0,setSideBarVisible:0,setSideBarPosition:0,openToolPanel:0,closeToolPanel:0,getOpenedToolPanel:0,refreshToolPanel:0,isToolPanelShowing:0,getToolPanelInstance:0,getSideBar:0}),...te("StatusBar",{getStatusPanel:0}),...te("AiToolkit",{getStructuredSchema:0})},dg={isDestroyed:()=>!0,destroy(){},preConstruct(){},postConstruct(){},preWireBeans(){},wireBeans(){}},CE=(e,t)=>e.eventSvc.dispatchEvent(t),gC=class{};Reflect.defineProperty(gC,"name",{value:"GridApi"});var bE=class extends F{constructor(){super(),this.beanName="apiFunctionSvc",this.api=new gC,this.fns={...dg,dispatchEvent:CE},this.preDestroyLink="";const{api:e}=this;for(const t of Object.keys(uC))e[t]=this.makeApi(t)[t]}postConstruct(){this.preDestroyLink=this.beans.frameworkOverrides.getDocLink("grid-lifecycle/#grid-pre-destroyed")}addFunction(e,t){const{fns:a,beans:n}=this;a!==dg&&(a[e]=n?.validation?.validateApiFunction(e,t)??t)}makeApi(e){return{[e]:(...t)=>{const{beans:a,fns:{[e]:n}}=this;return n?n(a,...t):this.apiNotFound(e)}}}apiNotFound(e){const{beans:t,gos:a,preDestroyLink:n}=this;if(!t)R(26,{fnName:e,preDestroyLink:n});else{const r=uC[e];a.assertModuleRegistered(r,`api.${e}`)&&R(27,{fnName:e,module:r})}}destroy(){super.destroy(),this.fns=dg,this.beans=null}};function hC(e){return e.context.getId()}function wE(e){e.gridDestroySvc.destroy()}function yE(e){return e.gridDestroySvc.destroyCalled}function SE(e,t){return e.gos.get(t)}function xE(e,t,a){pC(e,{[t]:a})}function pC(e,t){e.gos.updateGridOptions({options:t})}function kE(e,t){const a=t.replace(/Module$/,"");return e.gos.isModuleRegistered(a)}function Va(e,t,a){const n=q(e,t,a);if(n){const{className:o}=n;if(typeof o=="string"&&o.includes("ag-icon")||typeof o=="object"&&o["ag-icon"])return n}const r=re({tag:"span"});return r.appendChild(n),r}function q(e,t,a){let n=null;e==="smallDown"?R(262):e==="smallLeft"?R(263):e==="smallRight"&&R(264);const r=a?.getColDef().icons;if(r&&(n=r[e]),t.gos&&!n){const o=t.gos.get("icons");o&&(n=o[e])}if(n){let o;if(typeof n=="function")o=n();else if(typeof n=="string")o=n;else{R(38,{iconName:e});return}if(typeof o=="string")return Zs(o);if(fi(o))return o;R(133,{iconName:e});return}else{const o=t.registry.getIcon(e);return o||t.validation?.validateIcon(e),re({tag:"span",cls:`ag-icon ag-icon-${o??e}`,role:"presentation",attrs:{unselectable:"on"}})}}var RE={tag:"div",cls:"ag-drag-handle ag-row-drag",attrs:{draggable:"true"}},FE=class extends T{constructor(e,t,a){super(RE),this.rowNode=e,this.column=t,this.eCell=a}postConstruct(){this.getGui().appendChild(q("rowDrag",this.beans,null)),this.addGuiEventListener("mousedown",t=>{t.stopPropagation()}),this.addDragSource(),this.checkVisibility()}addDragSource(){this.addGuiEventListener("dragstart",this.onDragStart.bind(this))}onDragStart(e){const{rowNode:t,column:a,eCell:n,gos:r}=this,o=a.getColDef().dndSourceOnRowDrag,i=e.dataTransfer;if(i.setDragImage(n,0,0),o){const s=B(r,{rowNode:t,dragEvent:e});o(s)}else try{const s=JSON.stringify(t.data);i.setData("application/json",s),i.setData("text/plain",s)}catch{}}checkVisibility(){const e=this.column.isDndSource(this.rowNode);this.setDisplayed(e)}},ME=".ag-dnd-ghost{align-items:center;background-color:var(--ag-drag-and-drop-image-background-color);border:var(--ag-drag-and-drop-image-border);border-radius:var(--ag-border-radius);box-shadow:var(--ag-drag-and-drop-image-shadow);color:var(--ag-text-color);cursor:move;display:flex;font-weight:500;gap:var(--ag-cell-widget-spacing);height:var(--ag-header-height);overflow:hidden;padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding);text-overflow:ellipsis;transform:translateY(calc(var(--ag-spacing)*2));white-space:nowrap}.ag-dnd-ghost-not-allowed{border:var(--ag-drag-and-drop-image-not-allowed-border)}",EE={tag:"div",children:[{tag:"div",ref:"eGhost",cls:"ag-dnd-ghost ag-unselectable",children:[{tag:"span",ref:"eIcon",cls:"ag-dnd-ghost-icon ag-shake-left-to-right"},{tag:"div",ref:"eLabel",cls:"ag-dnd-ghost-label"}]}]},PE=class extends T{constructor(){super(),this.dragSource=null,this.eIcon=x,this.eLabel=x,this.eGhost=x,this.registerCSS(ME)}postConstruct(){const e=t=>Va(t,this.beans,null);this.dropIconMap={pinned:e("columnMovePin"),hide:e("columnMoveHide"),move:e("columnMoveMove"),left:e("columnMoveLeft"),right:e("columnMoveRight"),group:e("columnMoveGroup"),aggregate:e("columnMoveValue"),pivot:e("columnMovePivot"),notAllowed:e("dropNotAllowed")}}init(e){this.dragSource=e.dragSource,this.setTemplate(EE),this.beans.environment.applyThemeClasses(this.eGhost)}destroy(){this.dragSource=null,super.destroy()}setIcon(e,t){const{eGhost:a,eIcon:n,dragSource:r,dropIconMap:o,gos:i}=this;ee(n);let s=null;e||(e=r?.getDefaultIconName?r.getDefaultIconName():"notAllowed"),s=o[e],a.classList.toggle("ag-dnd-ghost-not-allowed",e==="notAllowed"),n.classList.toggle("ag-shake-left-to-right",t),!(s===o.hide&&i.get("suppressDragLeaveHidesColumns"))&&s&&n.appendChild(s)}setLabel(e){this.eLabel.textContent=e}};function AE(e,t){e.rowDragSvc?.rowDragFeature?.addRowDropZone(t)}function TE(e,t){const a=e.dragAndDrop?.findExternalZone(t.getContainer());a&&e.dragAndDrop?.removeDropTarget(a)}function DE(e,t){return e.rowDragSvc?.rowDragFeature?.getRowDropZone(t)}function IE(e){const t=e.rowDropHighlightSvc;return t?{row:t.row,dropIndicatorPosition:t.position}:{row:null,dropIndicatorPosition:"none"}}function LE(e,t){const a=e.rowDropHighlightSvc;if(!a)return;const n=t?.row;let r=t?.dropIndicatorPosition;r!=="above"&&r!=="below"&&r!=="inside"&&(r="none");const o=n?.rowIndex;o==null||r==="none"?a.clear():a.set(n,r)}var fC=(e,t)=>{if(t!=null&&e?.setPointerCapture)try{return e.setPointerCapture(t),e.hasPointerCapture(t)}catch{}return!1},zE=(e,t)=>{if(typeof PointerEvent>"u"||!(t instanceof PointerEvent))return null;const a=t.pointerId;if(!fC(e,a))return null;const n={eElement:e,pointerId:a,onLost(r){GE(n,r)}};return e.addEventListener("lostpointercapture",n.onLost),n},OE=e=>{if(!e)return;mC(e);const{eElement:t,pointerId:a}=e;if(t){try{t.releasePointerCapture(a)}catch{}e.eElement=null}},mC=e=>{const{eElement:t,onLost:a}=e;t&&a&&(t.removeEventListener("lostpointercapture",a),e.onLost=null)},GE=(e,t)=>{mC(e);const{eElement:a,pointerId:n}=e;a&&t.pointerId===n&&fC(a,n)},mo,vo,ug={passive:!0},zn={passive:!1},Ba=e=>{if(!vo)vo=new WeakSet;else if(vo.has(e))return!1;return vo.add(e),!0},vC=class extends _e{constructor(){super(...arguments),this.beanName="dragSvc",this.dragging=!1,this.drag=null,this.dragSources=[]}get startTarget(){return this.drag?.start.target??null}isPointer(){return!!mo?.has(Dt(this.beans))}hasPointerCapture(){const e=this.drag?.pointerCapture;return!!(e&&this.beans.eRootDiv.hasPointerCapture?.(e.pointerId))}destroy(){this.drag&&this.cancelDrag();const e=this.dragSources;for(const t of e)CC(t);e.length=0,super.destroy()}removeDragSource(e){const t=this.dragSources;for(let a=0,n=t.length;athis.onPointerDown(e,c),zn],[t,"mousedown",c=>this.onMouseDown(e,c)]);const l=this.gos.get("suppressTouch");a&&!l&&al(n,[t,"touchstart",d=>this.onTouchStart(e,d),zn])}cancelDrag(e){const t=this.drag;e??(e=t?.eElement),e&&this.eventSvc.dispatchEvent({type:"dragCancelled",target:e}),t?.params.onDragCancel?.(),this.destroyDrag()}shouldPreventMouseEvent(e){const t=e.type;return(t==="mousemove"||t==="pointermove")&&e.cancelable&&mi(this.beans,e)&&!Jr(hg(e))}initDrag(e,...t){this.drag=e;const a=this.beans,n=s=>this.onScroll(s),r=s=>this.onKeyDown(s),o=Dt(a),i=me(a);al(e.handlers,[o,"contextmenu",Sn],[o,"keydown",r],[i,"scroll",n,{capture:!0}],[i.defaultView||window,"scroll",n],...t)}destroyDrag(){this.dragging=!1;const e=this.drag;if(e){const t=e.rootEl;mo?.get(t)===e&&mo.delete(t),this.drag=null,OE(e.pointerCapture),jd(e.handlers)}}onPointerDown(e,t){if(this.isPointer())return;const a=this.beans;if(vo?.has(t))return;const n=t.pointerType;if(n==="touch"&&(a.gos.get("suppressTouch")||!e.includeTouch||(e.stopPropagationForTouch&&t.stopPropagation(),Jr(hg(t))))||!t.isPrimary||n==="mouse"&&t.button!==0)return;this.destroyDrag();const r=Dt(a),o=e.eElement,i=t.pointerId,s=new gg(r,e,t,i);mo??(mo=new WeakMap),mo.set(r,s);const l=g=>{g.pointerId===i&&this.onMouseOrPointerMove(g)},c=g=>{g.pointerId===i&&this.onMouseOrPointerUp(g)},d=g=>{g.pointerId===i&&Ba(g)&&this.cancelDrag()},u=g=>this.draggingPreventDefault(g);this.initDrag(s,[r,"pointerup",c],[r,"pointercancel",d],[r,"pointermove",l,zn],[r,"touchmove",u,zn],[o,"mousemove",u,zn]),e.dragStartPixels===0?this.onMouseOrPointerMove(t):Ba(t)}onTouchStart(e,t){if(this.gos.get("suppressTouch")||!e.includeTouch||!Ba(t)||Jr(hg(t)))return;if(e.stopPropagationForTouch&&t.stopPropagation(),this.isPointer()){this.dragging&&Sn(t);return}this.destroyDrag();const n=this.beans,r=Dt(n),o=new gg(r,e,t.touches[0]),i=g=>this.onTouchMove(g),s=g=>this.onTouchUp(g),l=g=>this.onTouchCancel(g),c=g=>this.draggingPreventDefault(g),d=Dt(n),u=t.target??e.eElement;this.initDrag(o,[u,"touchmove",i,ug],[u,"touchend",s,ug],[u,"touchcancel",l,ug],[d,"touchmove",c,zn],[d,"touchend",s,zn],[d,"touchcancel",l,zn]),e.dragStartPixels===0&&this.onMove(o.start)}draggingPreventDefault(e){this.dragging&&Sn(e)}onMouseDown(e,t){if(t.button!==0||vo?.has(t)||this.isPointer())return;const a=this.beans;this.destroyDrag();const n=new gg(Dt(a),e,t),r=s=>this.onMouseOrPointerMove(s),o=s=>this.onMouseOrPointerUp(s),i=Dt(a);this.initDrag(n,[i,"mousemove",r],[i,"mouseup",o]),e.dragStartPixels===0?this.onMouseOrPointerMove(t):Ba(t)}onScroll(e){if(!Ba(e))return;const t=this.drag,a=t?.lastDrag;a&&this.dragging&&t.params?.onDragging?.(a)}onMouseOrPointerMove(e){Ba(e)&&(ya()&&me(this.beans).getSelection()?.removeAllRanges(),this.shouldPreventMouseEvent(e)&&Sn(e),this.onMove(e))}onTouchCancel(e){const t=this.drag;!t||!Ba(e)||$r(t.start,e.changedTouches)&&this.cancelDrag()}onTouchMove(e){const t=this.drag;if(!t||!Ba(e))return;const a=$r(t.start,e.touches);a&&(this.onMove(a),this.draggingPreventDefault(e))}onMove(e){const t=this.drag;if(!t)return;t.lastDrag=e;const a=t.params;if(!this.dragging){const n=t.start,o=a.dragStartPixels??4;if(vm(e,n,o)||(this.dragging=!0,a.capturePointer&&(t.pointerCapture=zE(this.beans.eRootDiv,e)),this.eventSvc.dispatchEvent({type:"dragStarted",target:a.eElement}),a.onDragStart?.(n),this.drag!==t)||(a.onDragging?.(n),this.drag!==t))return}a.onDragging?.(e)}onTouchUp(e){const t=this.drag;t&&Ba(e)&&this.onUp($r(t.start,e.changedTouches))}onMouseOrPointerUp(e){Ba(e)&&this.onUp(e)}onUp(e){const t=this.drag;t&&(e||(e=t.lastDrag),e&&this.dragging&&(this.dragging=!1,t.params.onDragStop?.(e),this.eventSvc.dispatchEvent({type:"dragStopped",target:t.params.eElement})),this.destroyDrag())}onKeyDown(e){e.key===w.ESCAPE&&this.cancelDrag()}},CC=e=>{jd(e.handlers);const t=e.oldTouchAction;if(t!=null){const a=e.params.eElement.style;a&&(a.touchAction=t)}},gg=class{constructor(e,t,a,n=null){this.rootEl=e,this.params=t,this.start=a,this.pointerId=n,this.handlers=[],this.lastDrag=null,this.pointerCapture=null,this.eElement=t.eElement}},hg=e=>{const t=e.target;return t instanceof Element?t:null},VE=class extends vC{shouldPreventMouseEvent(e){return this.gos.get("enableCellTextSelection")&&super.shouldPreventMouseEvent(e)}},BE=class extends F{constructor(){super(...arguments),this.beanName="horizontalResizeSvc"}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),onDragCancel:this.onDragStop.bind(this,e),includeTouch:!0,stopPropagationForTouch:!0},{dragSvc:a}=this.beans;return a.addDragSource(t),()=>a.removeDragSource(t)}onDragStart(e,t){this.dragStartX=t.clientX,this.setResizeIcons();const a=t instanceof MouseEvent&&t.shiftKey===!0;e.onResizeStart(a)}setResizeIcons(){const e=this.beans.ctrlsSvc.get("gridCtrl");e.setResizeCursor(1),e.disableUserSelect(!0)}onDragStop(e){e.onResizeEnd(this.resizeAmount),this.resetIcons()}resetIcons(){const e=this.beans.ctrlsSvc.get("gridCtrl");e.setResizeCursor(!1),e.disableUserSelect(!1)}onDragging(e,t){this.resizeAmount=t.clientX-this.dragStartX,e.onResizing(this.resizeAmount)}},NE={tag:"div",cls:"ag-drag-handle ag-row-drag",attrs:{"aria-hidden":"true"}},Hl={skipAriaHidden:!0},HE=class extends T{constructor(e,t,a,n,r,o=!1){super(),this.cellValueFn=e,this.rowNode=t,this.column=a,this.customGui=n,this.dragStartPixels=r,this.alwaysVisible=o,this.dragSource=null,this.disabled=!1}isCustomGui(){return this.customGui!=null}postConstruct(){const{beans:e,customGui:t}=this;t?this.setDragElement(t,this.dragStartPixels):(this.setTemplate(NE),this.getGui().appendChild(q("rowDrag",e,null)),this.addDragSource()),this.alwaysVisible||this.initCellDrag()}initCellDrag(){const{beans:e,rowNode:t}=this,a=this.refreshVisibility.bind(this);this.addManagedListeners(e.eventSvc,{rowDragVisibilityChanged:a}),this.addManagedListeners(t,{dataChanged:a,cellChanged:a}),this.refreshVisibility()}setDragElement(e,t){this.setTemplateFromElement(e,void 0,void 0,!0),this.addDragSource(t)}refreshVisibility(){if(this.alwaysVisible)return;const{beans:e,column:t,rowNode:a}=this,{gos:n,dragAndDrop:r,rowDragSvc:o}=e,i=o?.visibility;let l=!(i==="suppress"||i==="hidden"&&!r?.hasExternalDropZones()),c=l;if(l&&!this.isCustomGui()&&t){const d=t.getColDef().rowDrag;if(d===!1)l=!1;else{const u=typeof d=="function";c=t.isRowDrag(a),l=u||c}}l&&c&&a.footer&&n.get("rowDragManaged")&&(c=!1,l=!0),c&&(c=l),l||this.setDisplayed(l,Hl),c||this.setVisible(c,Hl),this.setDisabled(!c||i==="disabled"&&!r?.hasExternalDropZones()),l&&this.setDisplayed(l,Hl),c&&this.setVisible(c,Hl)}setDisabled(e){e!==this.disabled&&(this.disabled=e,this.getGui()?.classList?.toggle("ag-drag-handle-disabled",e))}getSelectedNodes(){const e=this.rowNode;if(!this.gos.get("rowDragMultiRow"))return[e];const a=this.beans.selectionSvc?.getSelectedNodes()??[];return a.indexOf(e)!==-1?a:[e]}getDragItem(){const{column:e,rowNode:t}=this;return{rowNode:t,rowNodes:this.getSelectedNodes(),columns:e?[e]:void 0,defaultTextValue:this.cellValueFn()}}addDragSource(e=4){if(this.dragSource&&this.removeDragSource(),this.gos.get("rowDragManaged")&&this.rowNode.footer)return;const t=this.getGui();if(this.gos.get("enableCellTextSelection")){this.removeMouseDownListener();const n=$s("pointerdown")?{pointerdown:Sn}:{mousedown:Sn};this.mouseDownListener=this.addManagedElementListeners(t,n)[0]}const a=this.getLocaleTextFunc();this.dragSource={type:2,eElement:t,dragItemName:n=>this.getDragItemName(n,a),getDragItem:()=>this.getDragItem(),dragStartPixels:e,dragSourceDomDataKey:this.gos.getDomDataKey()},this.beans.dragAndDrop.addDragSource(this.dragSource,!0)}getDragItemName(e,t){const a=e?.dragItem||this.getDragItem(),n=(e?.dropTarget?.rows.length??a.rowNodes?.length)||1,r=this.column?.getColDef()?.rowDragText??this.gos.get("rowDragText");if(r)return r(a,n);if(n!==1)return`${n} ${t("rowDragRows","rows")}`;const o=this.cellValueFn();return o||`1 ${t("rowDragRow","rows")}`}destroy(){this.removeDragSource(),this.removeMouseDownListener(),super.destroy()}removeDragSource(){this.dragSource&&(this.beans.dragAndDrop.removeDragSource(this.dragSource),this.dragSource=null)}removeMouseDownListener(){this.mouseDownListener&&(this.mouseDownListener(),this.mouseDownListener=void 0)}},ql=class{constructor(e){this.tickingInterval=null,this.onScrollCallback=null,this.scrollContainer=e.scrollContainer,this.scrollHorizontally=e.scrollAxis.includes("x"),this.scrollVertically=e.scrollAxis.includes("y"),this.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)}get scrolling(){return this.tickingInterval!==null}check(e,t=!1){const a=!this.scrollVertically||t||this.shouldSkipVerticalScroll(),n=!this.scrollHorizontally||this.shouldSkipHorizontalScroll();if(a&&n)return;const r=this.scrollContainer.getBoundingClientRect(),o=this.scrollByTick;this.tickLeft=!n&&e.clientXr.right-o,this.tickUp=!a&&e.clientYr.bottom-o,this.tickLeft||this.tickRight||this.tickUp||this.tickDown?this.ensureTickingStarted():this.ensureCleared()}ensureTickingStarted(){this.tickingInterval===null&&(this.tickingInterval=window.setInterval(this.doTick.bind(this),100),this.tickCount=0)}doTick(){this.tickCount++;const e=this.tickCount>20?200:this.tickCount>10?80:40;if(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)}},Pr=class{constructor(){this.reordered=!1,this.removals=[],this.updates=new Set,this.adds=new Set}},On=e=>{let t=e.childrenAfterGroup;for(;t?.length;){const a=t[0];if(a.sourceRowIndex>=0)return a;t=a.childrenAfterGroup}},pg=(e,t,a,n)=>{if(!t.size||!e)return!1;let r=!1;const o=e.length??0;let i=-1;a&&(i=a.sourceRowIndex,a=i<0?On(a):null,a&&(i=a.sourceRowIndex)),i<0||i>=o?i=o:n||++i;let s=i,l=Math.min(i,o-1);for(const u of t){const g=u.sourceRowIndex;gl&&(l=g)}let c=s;for(let u=s;u=i;--u){const g=e[u];t.has(g)||(g.sourceRowIndex!==d&&(g.sourceRowIndex=d,e[d]=g,r=!0),--d)}for(const u of t)u.sourceRowIndex!==c&&(u.sourceRowIndex=c,e[c]=u,r=!0),++c;return r};function fg(e,t){return Ni(e,t.target)?.getFocusedCellPosition()??null}function Wi(e,t){const a=Ke(e.gos,"normal"),n=t;let r,o;n.clientX!=null||n.clientY!=null?(r=n.clientX,o=n.clientY):(r=n.x,o=n.y);const{pageFirstPixel:i}=e.pageBounds.getCurrentPagePixelRange();if(o+=i,a){const s=e.ctrlsSvc.getScrollFeature(),l=s.getVScrollPosition(),c=s.getHScrollPosition();r+=c.left,o+=l.top}return{x:r,y:o}}var qE=.25,WE=class extends F{constructor(e){super(),this.eContainer=e,this.lastDraggingEvent=null,this.autoScroll=null,this.autoScrollChanged=!1,this.autoScrollChanging=!1,this.autoScrollOldV=null}postConstruct(){const e=this.beans;e.ctrlsSvc.whenReady(this,t=>{const a=()=>t.gridBodyCtrl.scrollFeature.getVScrollPosition().top,n=new ql({scrollContainer:t.gridBodyCtrl.eBodyViewport,scrollAxis:"y",getVerticalPosition:a,setVerticalPosition:r=>t.gridBodyCtrl.scrollFeature.setVerticalScrollPosition(r),onScrollCallback:()=>{const r=a();if(this.autoScrollOldV!==r){this.autoScrollOldV=r,this.autoScrollChanging=!0;return}const o=this.autoScrollChanging;this.autoScrollChanged=o,this.autoScrollChanging=!1,o&&(e.dragAndDrop?.nudge(),this.autoScrollChanged=!1)}});this.autoScroll=n,this.clearAutoScroll()})}destroy(){super.destroy(),this.clearAutoScroll(),this.autoScroll=null,this.lastDraggingEvent=null,this.eContainer=null}getContainer(){return this.eContainer}isInterestedIn(e){return e===2}getIconName(e){return e?.dropTarget?.allowed===!1||this.beans.rowDragSvc.visibility!=="visible"?"notAllowed":"move"}getRowNodes(e){if(!this.isFromThisGrid(e))return e.dragItem.rowNodes||[];const t=e.dragItem.rowNode;if(this.gos.get("rowDragMultiRow")){const a=this.beans.selectionSvc?.getSelectedNodes();if(a&&a.indexOf(t)>=0)return a.slice().sort(UE)}return[t]}onDragEnter(e){this.dragging(e,!0)}onDragging(e){this.dragging(e,!1)}dragging(e,t){const{lastDraggingEvent:a,beans:n}=this;if(t){const s=this.getRowNodes(e);e.dragItem.rowNodes=s,wC(s,!0)}this.lastDraggingEvent=e;const r=e.fromNudge,o=this.makeRowsDrop(a,e,r,!1);n.rowDropHighlightSvc?.fromDrag(e),t&&this.dispatchGridEvent("rowDragEnter",e),this.dispatchGridEvent("rowDragMove",e);const i=this.autoScroll;o?.rowDragManaged&&o.moved&&o.allowed&&o.sameGrid&&!o.suppressMoveWhenRowDragging&&(!r&&!i?.scrolling||this.autoScrollChanged)&&this.dropRows(o),i?.check(e.event)}isFromThisGrid(e){return e.dragSource.dragSourceDomDataKey===this.gos.getDomDataKey()}makeRowsDrop(e,t,a,n){const{beans:r,gos:o}=this,i=this.newRowsDrop(t,n),s=r.rowModel;if(t.dropTarget=i,t.changed=!1,!i)return null;let{sameGrid:l,rootNode:c,source:d,target:u}=i;u??(u=s.getRow(s.getRowCount()-1)??null);const g=this.beans.groupEditSvc,h=!!g?.canSetParent(i);let p=null;if(u?.footer){const m=Ii(s,-1,u)??Ii(s,1,u);h&&(p=u.sibling??c),u=m??null}u?.detail&&(u=u.parent),i.moved&&(i.moved=d!==u);let f=.5;if(u&&(l&&i.moved&&(p||!h)?f=d.rowIndex>u.rowIndex?-.5:.5:f=(i.y-u.rowTop-u.rowHeight/2)/u.rowHeight||0),!h&&l&&u&&i.moved&&se(o)){const m=jE(s,i);m&&(f=d.rowIndex>m.rowIndex?-.5:.5,u=m,i.moved&&(i.moved=d!==u))}return i.target=u,i.newParent=p,i.pointerPos=_E(u,i.y),i.yDelta=f,g?.fixRowsDrop(i,h,a,f),this.validateRowsDrop(i,h,n),t.changed||(t.changed=bC(e?.dropTarget,i)),i}newRowsDrop(e,t){const{beans:a,gos:n}=this,r=a.rowModel.rootNode,o=se(n)?n.get("rowDragManaged"):!1,i=n.get("suppressMoveWhenRowDragging"),s=this.isFromThisGrid(e);let{rowNode:l,rowNodes:c}=e.dragItem;if(c||(c=l?[l]:[]),l||(l=c[0]),!l||!r)return null;const d=this.beans.dragAndDrop.isDropZoneWithinThisGrid(e);let u=!0;o&&(!c.length||a.rowDragSvc.visibility!=="visible"||(i||!s)&&!d)&&(u=!1);const g=Wi(a,e).y,h=this.getOverNode(g);return{api:a.gridApi,context:a.gridOptions.context,draggingEvent:e,rowDragManaged:o,suppressMoveWhenRowDragging:i,sameGrid:s,withinGrid:d,treeData:!1,rootNode:r,moved:l!==h,y:g,overNode:h,overIndex:h?.rowIndex??-1,pointerPos:"none",position:"none",source:l,target:h??null,newParent:null,rows:c,allowed:u,highlight:!t&&o&&i&&(d||!s),yDelta:0,inside:!1,droppedManaged:!1}}validateRowsDrop(e,t,a){const{source:n,target:r,yDelta:o,inside:i,moved:s,rowDragManaged:l,suppressMoveWhenRowDragging:c}=e;e.moved&&(e.moved=n!==r);const{position:d,fallbackPosition:u}=this.computeDropPosition(s,i,o);e.position=d,t||(e.newParent=null),this.enforceSuppressMoveWhenRowDragging(e,c,"initial");const g=(!l||e.allowed)&&this.gos.get("isRowValidDropPosition");g&&this.applyDropValidator(e,t,a,l,g),l&&(e.rows=this.filterRows(e)),this.beans.groupEditSvc?.clearNewSameParent(e,t),this.enforceSuppressMoveWhenRowDragging(e,c,"final"),e.position==="inside"&&(!e.allowed||!e.newParent)&&(e.position=u)}computeDropPosition(e,t,a){const n=a<0?"above":"below";return e?{position:t?"inside":n,fallbackPosition:n}:{position:"none",fallbackPosition:n}}enforceSuppressMoveWhenRowDragging(e,t,a){if(t){if(a==="initial"){e.moved||(e.allowed=!1);return}(!e.rows.length||e.position==="none")&&(e.allowed=!1)}}applyDropValidator(e,t,a,n,r){this.beans.groupEditSvc?.clearNewSameParent(e,t);const o=r(e);if(!o){e.allowed=!1;return}if(typeof o!="object")return;o.rows!==void 0&&(e.rows=o.rows??[]),t&&o.newParent!==void 0&&(e.newParent=o.newParent),o.target!==void 0&&(e.target=o.target),o.position&&(e.position=o.position),o.allowed!==void 0?e.allowed=o.allowed:n||(e.allowed=!0);const i=e.draggingEvent;o.changed&&i&&(i.changed=!0),!a&&o.highlight!==void 0&&(e.highlight=o.highlight)}addRowDropZone(e){if(!e.getContainer()){R(55);return}const t=this.beans.dragAndDrop;if(t.findExternalZone(e.getContainer())){R(56);return}const a=e.fromGrid?e:{getContainer:e.getContainer,onDragEnter:e.onDragEnter&&(r=>e.onDragEnter(this.rowDragEvent("rowDragEnter",r))),onDragLeave:e.onDragLeave&&(r=>e.onDragLeave(this.rowDragEvent("rowDragLeave",r))),onDragging:e.onDragging&&(r=>e.onDragging(this.rowDragEvent("rowDragMove",r))),onDragStop:e.onDragStop&&(r=>e.onDragStop(this.rowDragEvent("rowDragEnd",r))),onDragCancel:e.onDragCancel&&(r=>e.onDragCancel(this.rowDragEvent("rowDragCancel",r)))},n={isInterestedIn:r=>r===2,getIconName:()=>"move",external:!0,...a};t.addDropTarget(n),this.addDestroyFunc(()=>t.removeDropTarget(n))}getRowDropZone(e){return{getContainer:this.getContainer.bind(this),onDragEnter:a=>{this.onDragEnter(a),e?.onDragEnter?.(this.rowDragEvent("rowDragEnter",a))},onDragLeave:a=>{this.onDragLeave(a),e?.onDragLeave?.(this.rowDragEvent("rowDragLeave",a))},onDragging:a=>{this.onDragging(a),e?.onDragging?.(this.rowDragEvent("rowDragMove",a))},onDragStop:a=>{this.onDragStop(a),e?.onDragStop?.(this.rowDragEvent("rowDragEnd",a))},onDragCancel:a=>{this.onDragCancel(a),e?.onDragCancel?.(this.rowDragEvent("rowDragCancel",a))},fromGrid:!0}}getOverNode(e){const{pageBounds:t,rowModel:a}=this.beans,r=e>t.getCurrentPagePixelRange().pageLastPixel?-1:a.getRowIndexAtPixel(e);return r>=0?a.getRow(r):void 0}rowDragEvent(e,t){const a=this.beans,{dragItem:n,dropTarget:r,event:o,vDirection:i}=t,s=r?.rootNode===a.rowModel.rootNode,l=s?r.y:Wi(a,t).y,c=s?r.overNode:this.getOverNode(l),d=s?r.overIndex:c?.rowIndex??-1;return{api:a.gridApi,context:a.gridOptions.context,type:e,event:o,node:n.rowNode,nodes:n.rowNodes,overIndex:d,overNode:c,y:l,vDirection:i,rowsDrop:r}}dispatchGridEvent(e,t){const a=this.rowDragEvent(e,t);this.eventSvc.dispatchEvent(a)}onDragLeave(e){this.dispatchGridEvent("rowDragLeave",e),this.stopDragging(e,!1)}onDragStop(e){const t=this.lastDraggingEvent?.dropTarget??null,a=this.makeRowsDrop(this.lastDraggingEvent,e,!1,!0);this.dispatchGridEvent("rowDragEnd",e),a?.allowed&&a.rowDragManaged&&(!t?.droppedManaged||bC(t,a))&&this.dropRows(a),this.stopDragging(e,!0)}onDragCancel(e){this.dispatchGridEvent("rowDragCancel",e),this.stopDragging(e,!0)}stopDragging(e,t){this.clearAutoScroll(),this.beans.groupEditSvc?.stopDragging(t),this.beans.rowDropHighlightSvc?.fromDrag(null),wC(e.dragItem.rowNodes,!1),this.lastDraggingEvent=null}clearAutoScroll(){this.autoScroll?.ensureCleared(),this.autoScrollChanged=!1,this.autoScrollChanging=!1,this.autoScrollOldV=null}dropRows(e){return e.droppedManaged=!0,e.sameGrid?this.csrmMoveRows(e):this.csrmAddRows(e)}csrmAddRows({position:e,target:t,rows:a}){const n=Da(this.gos),r=this.beans.rowModel,o=a.filter(({data:s,rowPinned:l})=>!r.getRowNode(n?.({data:s,level:0,rowPinned:l})??s.id)).map(({data:s})=>s);if(o.length===0)return!1;let i;if(t){const s=t.sourceRowIndex>=0?t:On(t);s&&(i=s.sourceRowIndex+(e==="above"?0:1))}return r.updateRowData({add:o,addIndex:i}),!0}filterRows(e){const{groupEditSvc:t}=this.beans,{rows:a,sameGrid:n}=e;let r;for(let o=0,i=a.length;o=0)return e.destroyed?void 0:e;const t=this.beans.groupEditSvc;return t?t.csrmFirstLeaf(e):On(e)}},bC=(e,t)=>e!==t&&(!e||e.sameGrid!==t.sameGrid||e.allowed!==t.allowed||e.position!==t.position||e.target!==t.target||e.source!==t.source||e.newParent!==t.newParent||!we(e.rows,t.rows)),UE=({rowIndex:e},{rowIndex:t})=>e!==null&&t!==null?e-t:0,wC=(e,t)=>{for(let a=0,n=e?.length||0;a{let a=null,n=t.target;if(n&&t.rows.indexOf(n)<0)return null;const r=t.source;if(!n||!r)return null;let o=n.rowIndex-r.rowIndex;const i=o<0?-1:1;o=t.suppressMoveWhenRowDragging?Math.abs(o):1;const s=new Set(t.rows);do{const l=Ii(e,i,n);if(!l)break;s.has(l)||(a=l,--o),n=l}while(o>0);return a},_E=(e,t)=>{const a=e?.rowTop,n=e?.rowHeight??0;if(a==null||!n||n<=0)return"none";const r=t-a,o=n*qE;return r<=o?"above":r>=n-o?"below":"inside"},KE=class extends F{constructor(){super(...arguments),this.beanName="rowDragSvc",this.rowDragFeature=null,this.visibility="suppress"}setupRowDrag(e,t){const a=t.createManagedBean(new WE(e)),n=this.beans.dragAndDrop;n.addDropTarget(a),t.addDestroyFunc(()=>n.removeDropTarget(a)),this.rowDragFeature=a;const r=()=>this.refreshVisibility();this.addManagedPropertyListeners(["rowDragManaged","suppressRowDrag","refreshAfterGroupEdit"],r),this.addManagedEventListeners({newColumnsLoaded:r,columnRowGroupChanged:r,columnPivotModeChanged:r,sortChanged:r,filterChanged:r}),this.visibility=this.computeVisibility()}createRowDragComp(e,t,a,n,r,o){return new HE(e,t,a,n,r,o)}createRowDragCompForRow(e,t){if(mt(this.gos))return;const a=this.getLocaleTextFunc();return this.createRowDragComp(()=>`1 ${a("rowDragRow","row")}`,e,void 0,t,void 0,!0)}createRowDragCompForCell(e,t,a,n,r,o){const i=this.gos;return i.get("rowDragManaged")&&(!se(i)||i.get("pagination"))?void 0:this.createRowDragComp(a,e,t,n,r,o)}cancelRowDrag(){this.rowDragFeature?.lastDraggingEvent&&this.beans.dragSvc?.cancelDrag()}computeVisibility(){const e=this.beans,t=e.gos;if(t.get("suppressRowDrag"))return"suppress";if(!t.get("rowDragManaged"))return"visible";const n=e.colModel.isPivotMode();return(n||e.rowGroupColsSvc?.columns?.length)&&!t.get("refreshAfterGroupEdit")?"hidden":n||e.filterManager?.isAnyFilterPresent()||e.sortSvc?.isSortActive()?"disabled":"visible"}refreshVisibility(){const e=this.visibility,t=this.computeVisibility();e!==t&&(this.visibility=t,this.eventSvc?.dispatchEvent({type:"rowDragVisibilityChanged"}))}},YE=class extends F{constructor(){super(...arguments),this.beanName="rowDropHighlightSvc",this.uiLevel=0,this.dragging=!1,this.row=null,this.position="none"}postConstruct(){this.addManagedEventListeners({modelUpdated:this.onModelUpdated.bind(this)})}onModelUpdated(){const e=this.row,t=this.dragging;!e||e?.rowIndex===null||this.position==="none"?this.clear():this.set(e,this.position),this.dragging=t}destroy(){this.clear(),super.destroy()}clear(){const e=this.row;this.dragging=!1,e&&(this.uiLevel=0,this.position="none",this.row=null,e.dispatchRowEvent("rowHighlightChanged"))}set(e,t){const a=e!==this.row,n=e.uiLevel,r=t!==this.position,o=n!==this.uiLevel;this.dragging=!1,(a||r||o)&&(a&&this.clear(),this.uiLevel=n,this.position=t,this.row=e,e.dispatchRowEvent("rowHighlightChanged"))}fromDrag(e){const t=e?.dropTarget;if(t){const{highlight:a,target:n,position:r}=t;if(a&&n&&r!=="none"){this.set(n,r),this.dragging=!0;return}}this.dragging&&this.clear()}},Wl={moduleName:"Drag",version:N,beans:[VE]},yC={moduleName:"DragAndDrop",version:N,dynamicBeans:{dndSourceComp:FE},icons:{rowDrag:"grip"}},Gn={moduleName:"SharedDragAndDrop",version:N,beans:[BF],dependsOn:[Wl],userComponents:{agDragAndDropImage:PE},icons:{columnMovePin:"pin",columnMoveHide:"eye-slash",columnMoveMove:"arrows",columnMoveLeft:"left",columnMoveRight:"right",columnMoveGroup:"group",columnMoveValue:"aggregation",columnMovePivot:"pivot",dropNotAllowed:"not-allowed",rowDrag:"grip"}},SC={moduleName:"RowDrag",version:N,beans:[YE,KE],apiFunctions:{addRowDropZone:AE,removeRowDropZone:TE,getRowDropZoneParams:DE,getRowDropPositionIndicator:IE,setRowDropPositionIndicator:LE},dependsOn:[Gn]},mg={moduleName:"HorizontalResize",version:N,beans:[BE],dependsOn:[Wl]},QE=":where(.ag-ltr) :where(.ag-column-moving){.ag-cell,.ag-header-cell,.ag-spanned-cell-wrapper{transition:left .2s}.ag-header-group-cell{transition:left .2s,width .2s}}:where(.ag-rtl) :where(.ag-column-moving){.ag-cell,.ag-header-cell,.ag-spanned-cell-wrapper{transition:right .2s}.ag-header-group-cell{transition:right .2s,width .2s}}",ZE=class extends F{constructor(){super(...arguments),this.beanName="colAnimation",this.executeNextFuncs=[],this.executeLaterFuncs=[],this.active=!1,this.activeNext=!1,this.suppressAnimation=!1,this.animationThreadCount=0}postConstruct(){this.beans.ctrlsSvc.whenReady(this,e=>this.gridBodyCtrl=e.gridBodyCtrl)}isActive(){return this.active&&!this.suppressAnimation}setSuppressAnimation(e){this.suppressAnimation=e}start(){if(this.active)return;const{gos:e}=this;e.get("suppressColumnMoveAnimation")||e.get("enableRtl")||(this.ensureAnimationCssClassPresent(),this.active=!0,this.activeNext=!0)}finish(){this.active&&this.flush(()=>this.activeNext=!1,()=>this.active=!1)}executeNextVMTurn(e){this.activeNext?this.executeNextFuncs.push(e):e()}executeLaterVMTurn(e){this.active?this.executeLaterFuncs.push(e):e()}ensureAnimationCssClassPresent(){this.animationThreadCount++;const e=this.animationThreadCount,{gridBodyCtrl:t}=this;t.setColumnMovingCss(!0),this.executeLaterFuncs.push(()=>{this.animationThreadCount===e&&t.setColumnMovingCss(!1)})}flush(e,t){const{executeNextFuncs:a,executeLaterFuncs:n}=this;if(a.length===0&&n.length===0){e(),t();return}const r=o=>{for(;o.length;){const i=o.pop();i&&i()}};this.beans.frameworkOverrides.wrapIncoming(()=>{window.setTimeout(()=>{e(),r(a)},0),window.setTimeout(()=>{t(),r(n)},200)})}};function XE(e,t,a){e.colMoves?.moveColumnByIndex(t,a,"api")}function JE(e,t,a){e.colMoves?.moveColumns(t,a,"api")}var $E=class extends F{constructor(e){super(),this.pinned=e,this.columnsToAggregate=[],this.columnsToGroup=[],this.columnsToPivot=[]}onDragEnter(e){if(this.clearColumnsList(),this.gos.get("functionsReadOnly"))return;const t=e.dragItem.columns;if(t)for(const a of t)a.isPrimary()&&(a.isAnyFunctionActive()||(a.isAllowValue()?this.columnsToAggregate.push(a):a.isAllowRowGroup()?this.columnsToGroup.push(a):a.isAllowPivot()&&this.columnsToPivot.push(a)))}getIconName(){return this.columnsToAggregate.length+this.columnsToGroup.length+this.columnsToPivot.length>0?this.pinned?"pinned":"move":null}onDragLeave(e){this.clearColumnsList()}clearColumnsList(){this.columnsToAggregate.length=0,this.columnsToGroup.length=0,this.columnsToPivot.length=0}onDragging(e){}onDragStop(e){const{valueColsSvc:t,rowGroupColsSvc:a,pivotColsSvc:n}=this.beans;this.columnsToAggregate.length>0&&t?.addColumns(this.columnsToAggregate,"toolPanelDragAndDrop"),this.columnsToGroup.length>0&&a?.addColumns(this.columnsToGroup,"toolPanelDragAndDrop"),this.columnsToPivot.length>0&&n?.addColumns(this.columnsToPivot,"toolPanelDragAndDrop")}onDragCancel(){this.clearColumnsList()}};function e2(e,t){!t||t.length<=1||t.filter(n=>e.indexOf(n)<0).length>0||t.sort((n,r)=>{const o=e.indexOf(n),i=e.indexOf(r);return o-i})}function t2(e){const t=[...e];for(const a of e){let n=null,r=a.getParent();for(;r!=null&&r.getDisplayedLeafColumns().length===1;)n=r,r=r.getParent();if(n!=null){const i=!!n.getColGroupDef()?.marryChildren?n.getProvidedColumnGroup().getLeafColumns():n.getLeafColumns();for(const s of i)t.includes(s)||t.push(s)}}return t}function a2(e,t,a,n){const r=n.allCols;let o=null,i=null;for(let s=0;sr.includes(g));if(i===null)i=d;else if(!we(d,i))break;const u=r2(c);(o===null||u=p||a&&f<=p))return;const v=a2(h,g,c,d);if(!v)return;const C=v.move;if(!(C>l.getCols().length-g.length))return{columns:g,toIndex:C}}function kC(e){const{columns:t,toIndex:a}=xC(e)||{},{finished:n,colMoves:r}=e;return!t||a==null?null:(r.moveColumns(t,a,"uiColumnMoved",n),n?null:{columns:t,toIndex:a})}function n2(e,t){const a=t.getCols(),n=e.map(l=>a.indexOf(l)).sort((l,c)=>l-c),r=n[0];return W(n)-r!==n.length-1?null:r}function r2(e){function t(n){const r=[];let o=n.getOriginalParent();for(;o!=null;)r.push(o),o=o.getOriginalParent();return r}let a=0;for(let n=0;no.length?[r,o]:[o,r];for(const i of r)o.indexOf(i)===-1&&a++}return a}function o2(e,t){switch(t){case"left":return e.leftCols;case"right":return e.rightCols;default:return e.centerCols}}function i2(e){const{movingCols:t,draggingRight:a,xPosition:n,pinned:r,gos:o,colModel:i,visibleCols:s}=e;if(o.get("suppressMovableColumns")||t.some(b=>b.getColDef().suppressMovable))return[];const c=o2(s,r),d=i.getCols(),u=c.filter(b=>t.includes(b)),g=c.filter(b=>!t.includes(b)),h=d.filter(b=>!t.includes(b));let p=0,f=n;if(a){let b=0;for(const y of u)b+=y.getActualWidth();f-=b}if(f>0){for(let b=0;b0){const b=g[p-1];m=h.indexOf(b)+1}else m=h.indexOf(g[0]),m===-1&&(m=0);const v=[m],C=(b,y)=>b-y;if(a){let b=m+1;const y=d.length-1;for(;b<=y;)v.push(b),b++;v.sort(C)}else{let b=m;const y=d.length-1;let S=d[b];for(;b<=y&&c.indexOf(S)<0;)b++,v.push(b),S=d[b];b=m-1;const k=0;for(;b>=k;)v.push(b),b--;v.sort(C).reverse()}return v}function vg(e){const{pinned:t,fromKeyboard:a,gos:n,ctrlsSvc:r,useHeaderRow:o,skipScrollPadding:i}=e;let s=r.getHeaderRowContainerCtrl(t)?.eViewport,{x:l}=e;return s?(a&&(l-=s.getBoundingClientRect().left),n.get("enableRtl")&&(o&&(s=s.querySelector(".ag-header-row")),l=s.clientWidth-l),t==null&&!i&&(l+=r.get("center").getCenterViewportScrollLeft()),l):0}function Cg(e,t){for(const a of e)a.moving=t,a.dispatchColEvent("movingChanged","uiColumnMoved")}var RC=7,bg=100,Ul=bg/2,s2=5,l2=100,c2=class extends F{constructor(e){super(),this.pinned=e,this.needToMoveLeft=!1,this.needToMoveRight=!1,this.lastMovedInfo=null,this.isCenterContainer=!A(e)}postConstruct(){this.beans.ctrlsSvc.whenReady(this,e=>{this.gridBodyCon=e.gridBodyCtrl})}getIconName(){const{pinned:e,lastDraggingEvent:t}=this,{dragItem:a}=t||{},n=a?.columns??[];for(const r of n){const o=r.getPinned();if(r.getColDef().lockPinned){if(o==e)return"move";continue}const i=a?.containerType;if(i===e||!e)return"move";if(e&&(!o||i!==e))return"pinned"}return"notAllowed"}onDragEnter(e){const t=e.dragItem,a=t.columns;if(e.dragSource.type===0)this.setColumnsVisible(a,!0,"uiColumnDragged");else{const r=t.visibleState,o=(a||[]).filter(i=>r[i.getId()]&&!i.isVisible());this.setColumnsVisible(o,!0,"uiColumnDragged")}this.gos.get("suppressMoveWhenColumnDragging")||this.attemptToPinColumns(a,this.pinned),this.onDragging(e,!0,!0)}onDragging(e=this.lastDraggingEvent,t=!1,a=!1,n=!1){const{gos:r,ctrlsSvc:o}=this.beans,i=r.get("suppressMoveWhenColumnDragging");if(n&&!i){this.finishColumnMoving();return}if(this.lastDraggingEvent=e,!e||!n&&ie(e.hDirection))return;const s=vg({x:e.x,pinned:this.pinned,gos:r,ctrlsSvc:o});t||this.checkCenterForScrolling(s),i?this.handleColumnDragWhileSuppressingMovement(e,t,a,s,n):this.handleColumnDragWhileAllowingMovement(e,t,a,s,n)}onDragLeave(){this.ensureIntervalCleared(),this.clearHighlighted(),this.updateDragItemContainerType(),this.lastMovedInfo=null}onDragStop(){this.onDragging(this.lastDraggingEvent,!1,!0,!0),this.ensureIntervalCleared(),this.lastMovedInfo=null}onDragCancel(){this.clearHighlighted(),this.ensureIntervalCleared(),this.lastMovedInfo=null}setColumnsVisible(e,t,a){if(!e?.length)return;const n=e.filter(r=>!r.getColDef().lockVisible);n.length&&this.beans.colModel.setColsVisible(n,t,a)}finishColumnMoving(){this.clearHighlighted();const e=this.lastMovedInfo;if(!e)return;const{columns:t,toIndex:a}=e;this.beans.colMoves.moveColumns(t,a,"uiColumnMoved",!0)}updateDragItemContainerType(){const{lastDraggingEvent:e}=this;if(this.gos.get("suppressMoveWhenColumnDragging")||!e)return;const t=e.dragItem;t&&(t.containerType=this.pinned)}handleColumnDragWhileSuppressingMovement(e,t,a,n,r){const o=this.getAllMovingColumns(e,!0);if(r){const i=this.isAttemptingToPin(o);i&&this.attemptToPinColumns(o,void 0,!0);const{fromLeft:s,xPosition:l}=this.getNormalisedXPositionInfo(o,i)||{};if(s==null||l==null){this.finishColumnMoving();return}this.moveColumnsAfterHighlight({allMovingColumns:o,xPosition:l,fromEnter:t,fakeEvent:a,fromLeft:s})}else{if(!this.beans.dragAndDrop.isDropZoneWithinThisGrid(e))return;this.highlightHoveredColumn(o,n)}}handleColumnDragWhileAllowingMovement(e,t,a,n,r){const o=this.getAllMovingColumns(e),i=this.normaliseDirection(e.hDirection)==="right",s=e.dragSource.type===1,l=this.getMoveColumnParams({allMovingColumns:o,isFromHeader:s,xPosition:n,fromLeft:i,fromEnter:t,fakeEvent:a}),c=kC({...l,finished:r});c&&(this.lastMovedInfo=c)}getAllMovingColumns(e,t=!1){const a=e.dragSource.getDragItem();let n=null;t?(n=a.columnsInSplit,n||(n=a.columns)):n=a.columns;const r=o=>o.getColDef().lockPinned?o.getPinned()==this.pinned:!0;return n?n.filter(r):[]}getMoveColumnParams(e){const{allMovingColumns:t,isFromHeader:a,xPosition:n,fromLeft:r,fromEnter:o,fakeEvent:i}=e,{gos:s,colModel:l,colMoves:c,visibleCols:d}=this.beans;return{allMovingColumns:t,isFromHeader:a,fromLeft:r,xPosition:n,pinned:this.pinned,fromEnter:o,fakeEvent:i,gos:s,colModel:l,colMoves:c,visibleCols:d}}highlightHoveredColumn(e,t){const{gos:a,colModel:n}=this.beans,r=a.get("enableRtl"),o=n.getCols().filter(d=>d.isVisible()&&d.getPinned()===this.pinned);let i=null,s=null,l=null;for(const d of o){if(s=d.getActualWidth(),i=this.getNormalisedColumnLeft(d,0,r),i!=null){const u=i+s;if(i<=t&&u>=t){l=d;break}}i=null,s=null}if(l)e.indexOf(l)!==-1&&(l=null);else{for(let d=o.length-1;d>=0;d--){const u=o[d],g=o[d].getParent();if(!g){l=u;break}const h=g?.getDisplayedLeafColumns();if(h.length){l=W(h);break}}if(!l)return;i=this.getNormalisedColumnLeft(l,0,r),s=l.getActualWidth()}if(l==null||i==null||s==null){this.lastHighlightedColumn?.column!==l&&this.clearHighlighted();return}let c;if(t-iRC;return t&&a||e.some(n=>n.getPinned()!==this.pinned)}moveColumnsAfterHighlight(e){const{allMovingColumns:t,xPosition:a,fromEnter:n,fakeEvent:r,fromLeft:o}=e,i=this.getMoveColumnParams({allMovingColumns:t,isFromHeader:!0,xPosition:a,fromLeft:o,fromEnter:n,fakeEvent:r}),{columns:s,toIndex:l}=xC(i)||{};s&&l!=null&&(this.lastMovedInfo={columns:s,toIndex:l}),this.finishColumnMoving()}clearHighlighted(){const{lastHighlightedColumn:e}=this;e&&(FC(e.column,null),this.lastHighlightedColumn=null)}checkCenterForScrolling(e){if(!this.isCenterContainer)return;const t=this.beans.ctrlsSvc.get("center"),a=t.getCenterViewportScrollLeft(),n=a+t.getCenterWidth();let r,o;this.gos.get("enableRtl")?(r=en-Ul):(o=en-Ul),this.needToMoveRight=r,this.needToMoveLeft=o,o||r?this.ensureIntervalStarted():this.ensureIntervalCleared()}ensureIntervalStarted(){this.movingIntervalId||(this.intervalCount=0,this.failedMoveAttempts=0,this.movingIntervalId=window.setInterval(this.moveInterval.bind(this),l2),this.beans.dragAndDrop.setDragImageCompIcon(this.needToMoveLeft?"left":"right",!0))}ensureIntervalCleared(){this.movingIntervalId&&(window.clearInterval(this.movingIntervalId),this.movingIntervalId=null,this.failedMoveAttempts=0,this.beans.dragAndDrop.setDragImageCompIcon(this.getIconName()))}moveInterval(){let e;this.intervalCount++,e=10+this.intervalCount*s2,e>bg&&(e=bg);let t=null;const a=this.gridBodyCon.scrollFeature;if(this.needToMoveLeft?t=a.scrollHorizontally(-e):this.needToMoveRight&&(t=a.scrollHorizontally(e)),t!==0)this.onDragging(this.lastDraggingEvent),this.failedMoveAttempts=0;else{this.failedMoveAttempts++;const{pinnedCols:n,dragAndDrop:r,gos:o}=this.beans;if(this.failedMoveAttempts<=RC+1||!n)return;if(r.setDragImageCompIcon("pinned"),!o.get("suppressMoveWhenColumnDragging")){const i=this.lastDraggingEvent?.dragItem.columns;this.attemptToPinColumns(i,void 0,!0)}}}getPinDirection(){if(this.needToMoveLeft||this.pinned==="left")return"left";if(this.needToMoveRight||this.pinned==="right")return"right"}attemptToPinColumns(e,t,a=!1){const n=(e||[]).filter(i=>!i.getColDef().lockPinned);if(!n.length)return 0;a&&(t=this.getPinDirection());const{pinnedCols:r,dragAndDrop:o}=this.beans;return r?.setColsPinned(n,t,"uiColumnDragged"),a&&o.nudge(),n.length}destroy(){super.destroy(),this.lastDraggingEvent=null,this.clearHighlighted(),this.lastMovedInfo=null}};function FC(e,t){e.highlighted!==t&&(e.highlighted=t,e.dispatchColEvent("headerHighlightChanged","uiColumnMoved"))}function d2(e){const t=e.length;let a,n;for(let r=0;r{let r;const o=n.gridBodyCtrl.eBodyViewport;switch(a){case"left":r=[[o,n.left.eContainer],[n.bottomLeft.eContainer],[n.topLeft.eContainer]];break;case"right":r=[[o,n.right.eContainer],[n.bottomRight.eContainer],[n.topRight.eContainer]];break;default:r=[[o,n.center.eViewport],[n.bottomCenter.eViewport],[n.topCenter.eViewport]];break}this.eSecondaryContainers=r}),this.moveColumnFeature=this.createManagedBean(new c2(a)),this.bodyDropPivotTarget=this.createManagedBean(new $E(a)),t.addDropTarget(this),this.addDestroyFunc(()=>t.removeDropTarget(this))}isInterestedIn(e){return e===1||e===0&&this.gos.get("allowDragFromColumnsToolPanel")}getSecondaryContainers(){return this.eSecondaryContainers}getContainer(){return this.eContainer}getIconName(){return this.currentDropListener.getIconName()}isDropColumnInPivotMode(e){return this.beans.colModel.isPivotMode()&&e.dragSource.type===0}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)}onDragCancel(){this.currentDropListener.onDragCancel()}};function MC(e,t){const a=[],n=[],r=[];return e.forEach(i=>{const s=i.getColDef().lockPosition;s==="right"?r.push(i):s==="left"||s===!0?a.push(i):n.push(i)}),t.get("enableRtl")?[...r,...n,...a]:[...a,...n,...r]}function EC(e,t){let a=!0;return La(null,t,n=>{if(!ke(n))return;const r=n;if(!r.getColGroupDef()?.marryChildren)return;const s=[];for(const g of r.getLeafColumns()){const h=e.indexOf(g);s.push(h)}const l=Math.max.apply(Math,s),c=Math.min.apply(Math,s),d=l-c,u=r.getLeafColumns().length-1;d>u&&(a=!1)}),a}var g2=class extends F{constructor(){super(...arguments),this.beanName="colMoves"}moveColumnByIndex(e,t,a){const n=this.beans.colModel.getCols();if(!n)return;const r=n[e];this.moveColumns([r],t,a)}moveColumns(e,t,a,n=!0){const{colModel:r,colAnimation:o,visibleCols:i,eventSvc:s}=this.beans,l=r.getCols();if(!l)return;if(t>l.length-e.length){R(30,{toIndex:t});return}o?.start();const c=r.getColsForKeys(e);this.doesMovePassRules(c,t)&&(Jf(r.getCols(),c,t),i.refresh(a),s.dispatchEvent({type:"columnMoved",columns:c,column:c.length===1?c[0]:null,toIndex:t,finished:n,source:a})),o?.finish()}doesMovePassRules(e,t){const a=this.getProposedColumnOrder(e,t);return this.doesOrderPassRules(a)}doesOrderPassRules(e){const{colModel:t,gos:a}=this.beans;return!(!EC(e,t.getColTree())||!(r=>{const o=c=>c?c==="left"||c===!0?-1:1:0,i=a.get("enableRtl");let s=i?1:-1,l=!0;for(const c of r){const d=o(c.getColDef().lockPosition);i?d>s&&(l=!1):ds?"hide":"notAllowed",getDragItem:l?()=>f2(t,i.allCols):()=>p2(t),dragItemName:a,onDragStarted:()=>{s=!n.get("suppressDragLeaveHidesColumns"),Cg(c,!0)},onDragStopped:()=>Cg(c,!1),onDragCancelled:()=>Cg(c,!1),onGridEnter:g=>{if(s){const{columns:h=[],visibleState:p}=g??{},f=l?v=>!p||p[v.getColId()]:()=>!0,m=h.filter(v=>!v.getColDef().lockVisible&&f(v));r.setColsVisible(m,!0,"uiColumnMoved")}},onGridExit:g=>{if(s){const h=g?.columns?.filter(p=>!p.getColDef().lockVisible)||[];r.setColsVisible(h,!1,"uiColumnMoved")}}};return o.addDragSource(u,!0),u}};function h2(e,t){for(;e;){if(e.getGroupId()===t)return e;e=e.getParent()}}function p2(e){const t={};return t[e.getId()]=e.isVisible(),{columns:[e],visibleState:t,containerType:e.pinned}}function f2(e,t){const a=e.getProvidedColumnGroup().getLeafColumns(),n={};for(const s of a)n[s.getId()]=s.isVisible();const r=[];for(const s of t)a.indexOf(s)>=0&&(r.push(s),Ae(a,s));for(const s of a)r.push(s);const o=[],i=e.getLeafColumns();for(const s of r)i.indexOf(s)!==-1&&o.push(s);return{columns:r,columnsInSplit:o,visibleState:n,containerType:o[0]?.pinned}}var jl={moduleName:"ColumnMove",version:N,beans:[g2,ZE],apiFunctions:{moveColumnByIndex:XE,moveColumns:JE},dependsOn:[Gn],css:[QE]},m2=class extends F{constructor(){super(...arguments),this.beanName="autoWidthCalc"}postConstruct(){this.beans.ctrlsSvc.whenReady(this,e=>{this.centerRowContainerCtrl=e.center})}getPreferredWidthForColumn(e,t){const a=this.getHeaderCellForColumn(e);if(!a)return-1;const n=this.beans.rowRenderer.getAllCellsNotSpanningForColumn(e);return t||n.push(a),this.getPreferredWidthForElements(n)}getPreferredWidthForColumnGroup(e){const t=this.getHeaderCellForColumn(e);return t?this.getPreferredWidthForElements([t]):-1}getPreferredWidthForElements(e,t){const a=document.createElement("form");a.style.position="fixed";const n=this.centerRowContainerCtrl.eContainer;for(const o of e)this.cloneItemIntoDummy(o,a);n.appendChild(a);const r=Math.ceil(a.getBoundingClientRect().width);return a.remove(),t=t??this.gos.get("autoSizePadding"),r+t}getHeaderCellForColumn(e){let t=null;for(const a of this.beans.ctrlsSvc.getHeaderRowContainerCtrls()){const n=a.getHtmlElementForColumnHeader(e);n!=null&&(t=n)}return t}cloneItemIntoDummy(e,t){const a=e.cloneNode(!0);a.style.width="",a.style.position="static",a.style.left="";const n=document.createElement("div"),r=n.classList;["ag-header-cell","ag-header-group-cell"].some(s=>a.classList.contains(s))?(r.add("ag-header","ag-header-row"),n.style.position="static"):r.add("ag-row");let i=e.parentElement;for(;i;){if(["ag-header-row","ag-row"].some(l=>i.classList.contains(l))){for(let l=0;lo.getPinned());e.dispatchEvent({type:"columnPinned",pinned:r??null,columns:t,column:n,source:a})}function C2(e,t,a){if(!t.length)return;const n=t.length===1?t[0]:null,r=AC(t,o=>o.isVisible());e.dispatchEvent({type:"columnVisible",visible:r,columns:t,column:n,source:a})}function DC(e,t,a,n){e.dispatchEvent({type:t,columns:a,column:a&&a.length==1?a[0]:null,source:n})}function Co(e,t,a,n,r=null){t?.length&&e.dispatchEvent({type:"columnResized",columns:t,column:t.length===1?t[0]:null,flexColumns:r,finished:a,source:n})}var b2=class extends F{constructor(e,t,a,n){super(),this.comp=e,this.eResize=t,this.pinned=a,this.columnGroup=n}postConstruct(){if(!this.columnGroup.isResizable()){this.comp.setResizableDisplayed(!1);return}const{horizontalResizeSvc:e,gos:t,colAutosize:a}=this.beans,n=e.addResizeBar({eResizeBar:this.eResize,onResizeStart:this.onResizeStart.bind(this),onResizing:this.onResizing.bind(this,!1),onResizeEnd:this.onResizing.bind(this,!0)});this.addDestroyFunc(n),!t.get("suppressAutoSize")&&a&&this.addDestroyFunc(a.addColumnGroupResize(this.eResize,this.columnGroup,()=>this.resizeLeafColumnsToFit("uiColumnResized")))}onResizeStart(e){const{columnsToResize:t,resizeStartWidth:a,resizeRatios:n,groupAfterColumns:r,groupAfterStartWidth:o,groupAfterRatios:i}=this.getInitialValues(e);this.resizeCols=t,this.resizeStartWidth=a,this.resizeRatios=n,this.resizeTakeFromCols=r,this.resizeTakeFromStartWidth=o,this.resizeTakeFromRatios=i,this.toggleColumnResizing(!0)}onResizing(e,t,a="uiColumnResized"){const n=this.normaliseDragChange(t),r=this.resizeStartWidth+n;this.resizeColumnsFromLocalValues(r,a,e)}getInitialValues(e){const t=l=>l.reduce((c,d)=>c+d.getActualWidth(),0),a=(l,c)=>l.map(d=>d.getActualWidth()/c),n=this.getColumnsToResize(),r=t(n),o=a(n,r),i={columnsToResize:n,resizeStartWidth:r,resizeRatios:o};let s=null;if(e&&(s=this.beans.colGroupSvc?.getGroupAtDirection(this.columnGroup,"After")??null),s){const l=s.getDisplayedLeafColumns(),c=i.groupAfterColumns=l.filter(u=>u.isResizable()),d=i.groupAfterStartWidth=t(c);i.groupAfterRatios=a(c,d)}else i.groupAfterColumns=void 0,i.groupAfterStartWidth=void 0,i.groupAfterRatios=void 0;return i}resizeLeafColumnsToFit(e){const t=this.beans.autoWidthCalc.getPreferredWidthForColumnGroup(this.columnGroup),a=this.getInitialValues();t>a.resizeStartWidth&&this.resizeColumns(a,t,e,!0)}resizeColumnsFromLocalValues(e,t,a=!0){if(!this.resizeCols||!this.resizeRatios)return;const n={columnsToResize:this.resizeCols,resizeStartWidth:this.resizeStartWidth,resizeRatios:this.resizeRatios,groupAfterColumns:this.resizeTakeFromCols,groupAfterStartWidth:this.resizeTakeFromStartWidth,groupAfterRatios:this.resizeTakeFromRatios};this.resizeColumns(n,e,t,a)}resizeColumns(e,t,a,n=!0){const{columnsToResize:r,resizeStartWidth:o,resizeRatios:i,groupAfterColumns:s,groupAfterStartWidth:l,groupAfterRatios:c}=e,d=[];if(d.push({columns:r,ratios:i,width:t}),s){const u=t-o;d.push({columns:s,ratios:c,width:l-u})}this.beans.colResize?.resizeColumnSets({resizeSets:d,finished:n,source:a}),n&&this.toggleColumnResizing(!1)}toggleColumnResizing(e){this.comp.toggleCss("ag-column-resizing",e)}getColumnsToResize(){return this.columnGroup.getDisplayedLeafColumns().filter(t=>t.isResizable())}normaliseDragChange(e){let t=e;return this.gos.get("enableRtl")?this.pinned!=="left"&&(t*=-1):this.pinned==="right"&&(t*=-1),t}destroy(){super.destroy(),this.resizeCols=void 0,this.resizeRatios=void 0,this.resizeTakeFromCols=void 0,this.resizeTakeFromRatios=void 0}},w2=class extends F{constructor(e,t,a,n,r){super(),this.pinned=e,this.column=t,this.eResize=a,this.comp=n,this.ctrl=r}postConstruct(){const e=[];let t,a;const n=()=>{if(G(this.eResize,t),!t)return;const{horizontalResizeSvc:i,colAutosize:s}=this.beans,l=i.addResizeBar({eResizeBar:this.eResize,onResizeStart:this.onResizeStart.bind(this),onResizing:this.onResizing.bind(this,!1),onResizeEnd:this.onResizing.bind(this,!0)});e.push(l),a&&s&&e.push(s.addColumnAutosizeListeners(this.eResize,this.column))},r=()=>{for(const i of e)i();e.length=0},o=()=>{const i=this.column.isResizable(),s=!this.gos.get("suppressAutoSize")&&!this.column.getColDef().suppressAutoSize;(i!==t||s!==a)&&(t=i,a=s,r(),n())};o(),this.addDestroyFunc(r),this.ctrl.setRefreshFunction("resize",o)}onResizing(e,t){const{column:a,lastResizeAmount:n,resizeStartWidth:r,beans:o}=this,i=this.normaliseResizeAmount(t),s=r+i,l=[{key:a,newWidth:s}],{pinnedCols:c,ctrlsSvc:d,colResize:u}=o;if(this.column.getPinned()){const g=c?.leftWidth??0,h=c?.rightWidth??0,p=pr(d.getGridBodyCtrl().eBodyViewport)-50;if(g+h+(i-n)>p)return}this.lastResizeAmount=i,u?.setColumnWidths(l,this.resizeWithShiftKey,e,"uiColumnResized"),e&&this.toggleColumnResizing(!1)}onResizeStart(e){this.resizeStartWidth=this.column.getActualWidth(),this.lastResizeAmount=0,this.resizeWithShiftKey=e,this.toggleColumnResizing(!0)}toggleColumnResizing(e){this.column.resizing=e,this.comp.toggleCss("ag-column-resizing",e)}normaliseResizeAmount(e){let t=e;const a=this.pinned!=="left",n=this.pinned==="right";return this.gos.get("enableRtl")?a&&(t*=-1):n&&(t*=-1),t}},y2=class extends F{constructor(){super(...arguments),this.beanName="colResize"}setColumnWidths(e,t,a,n){const r=[],{colModel:o,gos:i,visibleCols:s}=this.beans;for(const l of e){const c=o.getColDefCol(l.key)||o.getCol(l.key);if(!c)continue;if(r.push({width:l.newWidth,ratios:[1],columns:[c]}),i.get("colResizeDefault")==="shift"&&(t=!t),t){const u=s.getColAfter(c);if(!u)continue;const g=c.getActualWidth()-l.newWidth,h=u.getActualWidth()+g;r.push({width:h,ratios:[1],columns:[u]})}}r.length!==0&&this.resizeColumnSets({resizeSets:r,finished:a,source:n})}resizeColumnSets(e){const{resizeSets:t,finished:a,source:n}=e;if(!(!t||t.every(d=>S2(d)))){if(a){const d=t&&t.length>0?t[0].columns:null;Co(this.eventSvc,d,a,n)}return}const o=[],i=[];for(const d of t){const{width:u,columns:g,ratios:h}=d,p={},f={};for(const C of g)i.push(C);let m=!0,v=0;for(;m;){if(v++,v>1e3){J(31);break}m=!1;const C=[];let b=0,y=u;g.forEach((k,M)=>{if(f[k.getId()])y-=p[k.getId()];else{C.push(k);const P=h[M];b+=P}});const S=1/b;C.forEach((k,M)=>{const E=M===C.length-1;let P;E?P=y:(P=Math.round(h[M]*u*S),y-=P);const D=k.getMinWidth(),I=k.getMaxWidth();P0&&P>I&&(P=I,f[k.getId()]=!0,m=!0),p[k.getId()]=P})}for(const C of g){const b=p[C.getId()];C.getActualWidth()!==b&&(C.setActualWidth(b,n),o.push(C))}}const s=o.length>0;let l=[];if(s){const{colFlex:d,visibleCols:u,colViewport:g}=this.beans;l=d?.refreshFlexedColumns({resizingCols:i,skipSetLeft:!0})??[],u.setLeftValues(n),u.updateBodyWidths(),g.checkViewportColumns()}const c=i.concat(l);(s||a)&&Co(this.eventSvc,c,a,n,l)}resizeHeader(e,t,a){if(!e.isResizable())return;const n=e.getActualWidth(),r=e.getMinWidth(),o=e.getMaxWidth(),i=Math.min(Math.max(n+t,r),o);this.setColumnWidths([{key:e,newWidth:i}],a,!0,"uiColumnResized")}createResizeFeature(e,t,a,n,r){return new w2(e,t,a,n,r)}createGroupResizeFeature(e,t,a,n){return new b2(e,t,a,n)}};function S2(e){const{columns:t,width:a}=e;let n=0,r=0,o=!0;for(const l of t){const c=l.getMinWidth();n+=c||0;const d=l.getMaxWidth();d>0?r+=d:o=!1}const i=a>=n,s=!o||a<=r;return i&&s}var x2={moduleName:"ColumnResize",version:N,beans:[y2],apiFunctions:{setColumnWidths:v2},dependsOn:[mg,PC]},k2=class extends F{constructor(e,t){super(),this.removeChildListenersFuncs=[],this.columnGroup=t,this.comp=e}postConstruct(){this.addListenersToChildrenColumns(),this.addManagedListeners(this.columnGroup,{displayedChildrenChanged:this.onDisplayedChildrenChanged.bind(this)}),this.onWidthChanged(),this.addDestroyFunc(this.removeListenersOnChildrenColumns.bind(this))}addListenersToChildrenColumns(){this.removeListenersOnChildrenColumns();const e=this.onWidthChanged.bind(this);for(const t of this.columnGroup.getLeafColumns())t.__addEventListener("widthChanged",e),t.__addEventListener("visibleChanged",e),this.removeChildListenersFuncs.push(()=>{t.__removeEventListener("widthChanged",e),t.__removeEventListener("visibleChanged",e)})}removeListenersOnChildrenColumns(){for(const e of this.removeChildListenersFuncs)e();this.removeChildListenersFuncs=[]}onDisplayedChildrenChanged(){this.addListenersToChildrenColumns(),this.onWidthChanged()}onWidthChanged(){const e=this.columnGroup.getActualWidth();this.comp.setWidth(`${e}px`),this.comp.toggleCss("ag-hidden",e===0)}},R2=class extends Qu{constructor(){super(...arguments),this.onSuppressColMoveChange=()=>{!this.isAlive()||this.isSuppressMoving()?this.removeDragSource():this.dragSource||this.setDragSource(this.eGui)}}wireComp(e,t,a,n,r){const{column:o,beans:i}=this,{context:s,colNames:l,colHover:c,rangeSvc:d,colResize:u}=i;this.comp=e,r=Vi(this,s,r),this.setGui(t,r),this.displayName=l.getDisplayNameForColumnGroup(o,"header"),this.refreshHeaderStyles(),this.addClasses(),this.setupMovingCss(r),this.setupExpandable(r),this.setupTooltip(),this.refreshAnnouncement(),this.setupAutoHeight({wrapperElement:n,compBean:r}),this.setupUserComp(),this.addHeaderMouseListeners(r,n),this.addManagedPropertyListener("groupHeaderHeight",this.refreshMaxHeaderHeight.bind(this)),this.refreshMaxHeaderHeight();const g=this.rowCtrl.pinned,h=o.getProvidedColumnGroup().getLeafColumns();c?.createHoverFeature(r,h,t),d?.createRangeHighlightFeature(r,o,e),r.createManagedBean(new Ku(o,t,i)),r.createManagedBean(new k2(e,o)),u?this.resizeFeature=r.createManagedBean(u.createGroupResizeFeature(e,a,g,o)):e.setResizableDisplayed(!1),r.createManagedBean(new In(t,{shouldStopEventPropagation:this.shouldStopEventPropagation.bind(this),onTabKeyDown:()=>{},handleKeyDown:this.handleKeyDown.bind(this),onFocusIn:this.onFocusIn.bind(this)})),this.addHighlightListeners(r,h),this.addManagedEventListeners({cellSelectionChanged:()=>this.refreshAnnouncement()}),r.addManagedPropertyListener("suppressMovableColumns",this.onSuppressColMoveChange),this.addResizeAndMoveKeyboardListeners(r),r.addDestroyFunc(()=>this.clearComponent())}getHeaderClassParams(){const{column:e,beans:t}=this,a=e.getDefinition();return B(t.gos,{colDef:a,columnGroup:e,floatingFilter:!1})}refreshMaxHeaderHeight(){const{gos:e,comp:t}=this,a=e.get("groupHeaderHeight");a!=null?a===0?t.setHeaderWrapperHidden(!0):t.setHeaderWrapperMaxHeight(a):(t.setHeaderWrapperHidden(!1),t.setHeaderWrapperMaxHeight(null))}addHighlightListeners(e,t){if(this.beans.gos.get("suppressMoveWhenColumnDragging"))for(const a of t)e.addManagedListeners(a,{headerHighlightChanged:this.onLeafColumnHighlightChanged.bind(this,a)})}onLeafColumnHighlightChanged(e){const t=this.column.getDisplayedLeafColumns(),a=t[0]===e,n=W(t)===e;if(!a&&!n)return;const r=e.getHighlighted(),o=!!this.rowCtrl.getHeaderCellCtrls().find(l=>l.column.isMoving());let i=!1,s=!1;if(o){const l=this.beans.gos.get("enableRtl"),c=r===1,d=r===0;a&&(l?s=c:i=d),n&&(l?i=d:s=c)}this.comp.toggleCss("ag-header-highlight-before",i),this.comp.toggleCss("ag-header-highlight-after",s)}resizeHeader(e,t){const{resizeFeature:a}=this;if(!a)return;const n=a.getInitialValues(t);a.resizeColumns(n,n.resizeStartWidth+e,"uiColumnResized",!0)}resizeLeafColumnsToFit(e){this.resizeFeature?.resizeLeafColumnsToFit(e)}setupUserComp(){const{colGroupSvc:e,userCompFactory:t,gos:a,enterpriseMenuFactory:n}=this.beans,r=this.column,o=r.getProvidedColumnGroup(),i=B(a,{displayName:this.displayName,columnGroup:r,setExpanded:l=>{e.setColumnGroupOpened(o,l,"gridInitializing")},setTooltip:(l,c)=>{a.assertModuleRegistered("Tooltip",3),this.setupTooltip(l,c)},showColumnMenu:(l,c)=>n?.showMenuAfterButtonClick(o,l,"columnMenu",c),showColumnMenuAfterMouseClick:(l,c)=>n?.showMenuAfterMouseEvent(o,l,"columnMenu",c),eGridHeader:this.eGui}),s=TF(t,i);s&&this.comp.setUserCompDetails(s)}addHeaderMouseListeners(e,t){const{column:a,comp:n,beans:{rangeSvc:r},gos:o}=this,i=d=>this.handleMouseOverChange(d.type==="mouseenter"),s=()=>this.dispatchColumnMouseEvent("columnHeaderClicked",a.getProvidedColumnGroup()),l=d=>this.handleContextMenuMouseEvent(d,void 0,a.getProvidedColumnGroup());e.addManagedListeners(this.eGui,{mouseenter:i,mouseleave:i,click:s,contextmenu:l}),n.toggleCss("ag-header-group-cell-selectable",Mn(o));const c=r?.createHeaderGroupCellMouseListenerFeature(this.column,t);c&&this.createManagedBean(c)}handleMouseOverChange(e){this.eventSvc.dispatchEvent({type:e?"columnHeaderMouseOver":"columnHeaderMouseLeave",column:this.column.getProvidedColumnGroup()})}setupTooltip(e,t){this.tooltipFeature=this.beans.tooltipSvc?.setupHeaderGroupTooltip(this.tooltipFeature,this,e,t)}setupExpandable(e){const t=this.column.getProvidedColumnGroup();this.refreshExpanded();const a=this.refreshExpanded.bind(this);e.addManagedListeners(t,{expandedChanged:a,expandableChanged:a})}refreshExpanded(){const{column:e}=this;this.expandable=e.isExpandable();const t=e.isExpanded();this.expandable?this.comp.setAriaExpanded(t?"true":"false"):this.comp.setAriaExpanded(void 0),this.refreshHeaderStyles()}addClasses(){const{column:e}=this,t=e.getColGroupDef(),a=Tl(t,this.gos,null,e);e.isPadding()?(a.push("ag-header-group-cell-no-group"),e.getLeafColumns().every(r=>r.isSpanHeaderHeight())&&a.push("ag-header-span-height")):(a.push("ag-header-group-cell-with-group"),t?.wrapHeaderText&&a.push("ag-header-cell-wrap-text"));for(const n of a)this.comp.toggleCss(n,!0)}setupMovingCss(e){const{column:t}=this,n=t.getProvidedColumnGroup().getLeafColumns(),r=()=>this.comp.toggleCss("ag-header-cell-moving",t.isMoving());for(const o of n)e.addManagedListeners(o,{movingChanged:r});r()}onFocusIn(e){this.eGui.contains(e.relatedTarget)||(this.focusThis(),this.announceAriaDescription())}handleKeyDown(e){if(super.handleKeyDown(e),!this.getWrapperHasFocus())return;const{column:a,expandable:n,gos:r,beans:o}=this,i=Mn(r);if(e.key==w.ENTER){if(i&&!e.altKey)o.rangeSvc?.handleColumnSelection(a,e);else if(n){const s=!a.isExpanded();o.colGroupSvc.setColumnGroupOpened(a.getProvidedColumnGroup(),s,"uiColumnExpanded")}}}refreshAnnouncement(){let e;const{gos:t}=this;Mn(t)&&(e=this.getLocaleTextFunc()("ariaColumnGroupCellSelection","Press Enter to toggle selection for all visible cells in this column group")),this.ariaAnnouncement=e}announceAriaDescription(){const{beans:e,eGui:t,ariaAnnouncement:a}=this;!a||!t.contains(ne(e))||e.ariaAnnounce?.announceValue(a,"columnHeader")}setDragSource(e){!this.isAlive()||this.isSuppressMoving()||(this.removeDragSource(),e&&(this.dragSource=this.beans.colMoves?.setDragSourceForHeader(e,this.column,this.displayName)??null))}isSuppressMoving(){return this.gos.get("suppressMovableColumns")||this.column.getLeafColumns().some(e=>e.getColDef().suppressMovable||e.getColDef().lockPosition)}destroy(){this.tooltipFeature=this.destroyBean(this.tooltipFeature),super.destroy()}};function F2(e,t,a){e.colGroupSvc?.setColumnGroupOpened(t,a,"api")}function M2(e,t,a){return e.colGroupSvc?.getColumnGroup(t,a)??null}function E2(e,t){return e.colGroupSvc?.getProvidedColGroup(t)??null}function P2(e,t,a){return e.colNames.getDisplayNameForColumnGroup(t,a)||""}function A2(e){return e.colGroupSvc?.getColumnGroupState()??[]}function T2(e,t){e.colGroupSvc?.setColumnGroupState(t,"api")}function D2(e){e.colGroupSvc?.resetColumnGroupState("api")}function I2(e){return e.visibleCols.treeLeft}function L2(e){return e.visibleCols.treeCenter}function z2(e){return e.visibleCols.treeRight}function O2(e){return e.visibleCols.getAllTrees()}var wg=class{constructor(){this.existingIds={}}getInstanceIdForKey(e){const t=this.existingIds[e];let a;return typeof t!="number"?a=0:a=t+1,this.existingIds[e]=a,a}};function G2(e,t){for(let a=0;a=0&&(e[n]=e[e.length-1],e.pop())}}var V2=class extends F{constructor(){super(...arguments),this.beanName="visibleCols",this.colsAndGroupsMap={},this.leftCols=[],this.rightCols=[],this.centerCols=[],this.allCols=[],this.headerGroupRowCount=0,this.bodyWidth=0,this.leftWidth=0,this.rightWidth=0,this.isBodyWidthDirty=!0}refresh(e,t=!1){const{colFlex:a,colModel:n,colGroupSvc:r,colViewport:o,selectionColSvc:i}=this.beans;t||this.buildTrees(n,r),r?.updateOpenClosedVisibility(),this.leftCols=yg(this.treeLeft),this.centerCols=yg(this.treeCenter),this.rightCols=yg(this.treeRight),i?.refreshVisibility(this.leftCols,this.centerCols,this.rightCols),this.joinColsAriaOrder(n),this.joinCols(),this.headerGroupRowCount=this.getHeaderRowCount(),this.setLeftValues(e),this.autoHeightCols=this.allCols.filter(s=>s.isAutoHeight()),a?.refreshFlexedColumns(),this.updateBodyWidths(),this.setFirstRightAndLastLeftPinned(n,this.leftCols,this.rightCols,e),o.checkViewportColumns(!1),this.eventSvc.dispatchEvent({type:"displayedColumnsChanged",source:e})}getHeaderRowCount(){if(!this.gos.get("hidePaddedHeaderRows"))return this.beans.colModel.cols.treeDepth;let e=0;for(const t of this.allCols){let a=t.getParent();for(;a;){if(!a.isPadding()){const n=a.getProvidedColumnGroup().getLevel()+1;n>e&&(e=n);break}a=a.getParent()}}return e}updateBodyWidths(){const e=rn(this.centerCols),t=rn(this.leftCols),a=rn(this.rightCols);this.isBodyWidthDirty=this.bodyWidth!==e,(this.bodyWidth!==e||this.leftWidth!==t||this.rightWidth!==a)&&(this.bodyWidth=e,this.leftWidth=t,this.rightWidth=a,this.eventSvc.dispatchEvent({type:"columnContainerWidthChanged"}),this.eventSvc.dispatchEvent({type:"displayedColumnsWidthChanged"}))}setLeftValues(e){this.setLeftValuesOfCols(e),this.setLeftValuesOfGroups()}setFirstRightAndLastLeftPinned(e,t,a,n){let r,o;this.gos.get("enableRtl")?(r=t?t[0]:null,o=a?W(a):null):(r=t?W(t):null,o=a?a[0]:null);for(const i of e.getCols())i.setLastLeftPinned(i===r,n),i.setFirstRightPinned(i===o,n)}buildTrees(e,t){const a=e.getColsToShow(),n=a.filter(l=>l.getPinned()=="left"),r=a.filter(l=>l.getPinned()=="right"),o=a.filter(l=>l.getPinned()!="left"&&l.getPinned()!="right"),i=new wg,s=l=>t?t.createColumnGroups(l):l.columns;this.treeLeft=s({columns:n,idCreator:i,pinned:"left",oldDisplayedGroups:this.treeLeft}),this.treeRight=s({columns:r,idCreator:i,pinned:"right",oldDisplayedGroups:this.treeRight}),this.treeCenter=s({columns:o,idCreator:i,pinned:null,oldDisplayedGroups:this.treeCenter}),this.updateColsAndGroupsMap()}clear(){this.leftCols=[],this.rightCols=[],this.centerCols=[],this.allCols=[],this.ariaOrderColumns=[]}joinColsAriaOrder(e){const t=e.getCols(),a=[],n=[],r=[];for(const o of t){const i=o.getPinned();i?i===!0||i==="left"?a.push(o):r.push(o):n.push(o)}this.ariaOrderColumns=a.concat(n).concat(r)}getAriaColIndex(e){let t;return Le(e)?t=e.getLeafColumns()[0]:t=e,this.ariaOrderColumns.indexOf(t)+1}setLeftValuesOfGroups(){for(const e of[this.treeLeft,this.treeRight,this.treeCenter])for(const t of e)Le(t)&&t.checkLeft()}setLeftValuesOfCols(e){const{colModel:t}=this.beans;if(!t.getColDefCols())return;const n=t.getCols().slice(0),r=this.gos.get("enableRtl");for(const o of[this.leftCols,this.rightCols,this.centerCols]){if(r){let i=rn(o);for(const s of o)i-=s.getActualWidth(),s.setLeft(i,e)}else{let i=0;for(const s of o)s.setLeft(i,e),i+=s.getActualWidth()}G2(n,o)}for(const o of n)o.setLeft(null,e)}joinCols(){this.gos.get("enableRtl")?this.allCols=this.rightCols.concat(this.centerCols).concat(this.leftCols):this.allCols=this.leftCols.concat(this.centerCols).concat(this.rightCols)}getAllTrees(){return this.treeLeft&&this.treeRight&&this.treeCenter?this.treeLeft.concat(this.treeCenter).concat(this.treeRight):null}isColDisplayed(e){return this.allCols.indexOf(e)>=0}getLeftColsForRow(e){const{leftCols:t,beans:{colModel:a}}=this;return a.colSpanActive?this.getColsForRow(e,t):t}getRightColsForRow(e){const{rightCols:t,beans:{colModel:a}}=this;return a.colSpanActive?this.getColsForRow(e,t):t}getColsForRow(e,t,a,n){const r=[];let o=null;for(let i=0;i1){const g=c-1;for(let h=1;h<=g;h++)d.push(t[i+h]);i+=g}let u;if(a){u=!1;for(const g of d)a(g)&&(u=!0)}else u=!0;u&&(r.length===0&&o&&(n&&n(s))&&r.push(o),r.push(s)),o=s}return r}getContainerWidth(e){switch(e){case"left":return this.leftWidth;case"right":return this.rightWidth;default:return this.bodyWidth}}getColBefore(e){const t=this.allCols,a=t.indexOf(e);return a>0?t[a-1]:null}isPinningLeft(){return this.leftCols.length>0}isPinningRight(){return this.rightCols.length>0}updateColsAndGroupsMap(){this.colsAndGroupsMap={};const e=t=>{this.colsAndGroupsMap[t.getUniqueId()]=t};Ar(this.treeCenter,!1,e),Ar(this.treeLeft,!1,e),Ar(this.treeRight,!1,e)}isVisible(e){return this.colsAndGroupsMap[e.getUniqueId()]===e}getFirstColumn(){const e=this.gos.get("enableRtl"),t=["leftCols","centerCols","rightCols"];e&&t.reverse();for(let a=0;a{wa(a)&&t.push(a)}),t}var B2=class extends F{constructor(){super(...arguments),this.beanName="colGroupSvc"}getColumnGroupState(){const e=[],t=this.beans.colModel.getColTree();return La(null,t,a=>{ke(a)&&e.push({groupId:a.getGroupId(),open:a.isExpanded()})}),e}resetColumnGroupState(e){const t=this.beans.colModel.getColDefColTree();if(!t)return;const a=[];La(null,t,n=>{if(ke(n)){const r=n.getColGroupDef(),o={groupId:n.getGroupId(),open:r?r.openByDefault:void 0};a.push(o)}}),this.setColumnGroupState(a,e)}setColumnGroupState(e,t){const{colModel:a,colAnimation:n,visibleCols:r,eventSvc:o}=this.beans;if(!a.getColTree().length)return;n?.start();const s=[];for(const l of e){const c=l.groupId,d=l.open,u=this.getProvidedColGroup(c);u&&u.isExpanded()!==d&&(u.setExpanded(d),s.push(u))}r.refresh(t,!0),s.length&&o.dispatchEvent({type:"columnGroupOpened",columnGroup:s.length===1?s[0]:void 0,columnGroups:s}),n?.finish()}setColumnGroupOpened(e,t,a){let n;ke(e)?n=e.getId():n=e||"",this.setColumnGroupState([{groupId:n,open:t}],a)}getProvidedColGroup(e){let t=null;return La(null,this.beans.colModel.getColTree(),a=>{ke(a)&&a.getId()===e&&(t=a)}),t}getGroupAtDirection(e,t){const a=e.getProvidedColumnGroup().getLevel()+e.getPaddingLevel(),n=e.getDisplayedLeafColumns(),r=t==="After"?W(n):n[0],o=`getCol${t}`;for(;;){const i=this.beans.visibleCols[o](r);if(!i)return null;const s=this.getColGroupAtLevel(i,a);if(s!==e)return s}}getColGroupAtLevel(e,t){let a=e.getParent(),n,r;for(;n=a.getProvidedColumnGroup().getLevel(),r=a.getPaddingLevel(),!(n+r<=t);)a=a.getParent();return a}updateOpenClosedVisibility(){const e=this.beans.visibleCols.getAllTrees();Ar(e,!1,t=>{Le(t)&&t.calculateDisplayedColumns()})}getColumnGroup(e,t){if(!e)return null;if(Le(e))return e;const a=this.beans.visibleCols.getAllTrees(),n=typeof t=="number";let r=null;return Ar(a,!1,o=>{if(Le(o)){const i=o;let s;n?s=e===i.getGroupId()&&t===i.getPartId():s=e===i.getGroupId(),s&&(r=i)}}),r}createColumnGroups(e){const{columns:t,idCreator:a,pinned:n,oldDisplayedGroups:r,isStandaloneStructure:o}=e,i=this.mapOldGroupsById(r),s=[];let l=t;for(;l.length;){const c=l;l=[];let d=0;const u=g=>{const h=d;d=g;const p=c[h],m=(Le(p)?p.getProvidedColumnGroup():p).getOriginalParent();if(m==null){for(let C=h;Cke(d))){l.setChildren([i]);continue}else{l.setChildren(e);break}r.push(i)}}return r}findDepth(e){let t=0,a=e;for(;a?.[0]&&ke(a[0]);)t++,a=a[0].getChildren();return t}findMaxDepth(e,t){let a=t;for(let n=0;n=0;o--){const i=new yr(null,`FAKE_PATH_${n.getId()}_${o}`,!0,o);this.createBean(i),i.setChildren([r]),r.originalParent=i,r=i}t===0&&(n.originalParent=null),a.push(r)}return a}findExistingGroup(e,t){if(e.groupId!=null)for(let n=0;n{for(const r of n)if(Le(r)){const o=r;t[r.getUniqueId()]=o,a(o.getChildren())}};return e&&a(e),t}setupParentsIntoCols(e,t){for(const a of e??[])if(a.parent!==t&&(this.beans.colViewport.colsWithinViewportHash=""),a.parent=t,Le(a)){const n=a;this.setupParentsIntoCols(n.getChildren(),n)}}},Sg={moduleName:"ColumnGroup",version:N,dynamicBeans:{headerGroupCellCtrl:R2},beans:[B2],apiFunctions:{getAllDisplayedColumnGroups:O2,getCenterDisplayedColumnGroups:L2,getColumnGroup:M2,getColumnGroupState:A2,getDisplayNameForColumnGroup:P2,getLeftDisplayedColumnGroups:I2,getProvidedColumnGroup:E2,getRightDisplayedColumnGroups:z2,resetColumnGroupState:D2,setColumnGroupOpened:F2,setColumnGroupState:T2}};function Ye(e,t,a){const{colModel:n,rowGroupColsSvc:r,pivotColsSvc:o,autoColSvc:i,selectionColSvc:s,colAnimation:l,visibleCols:c,pivotResultCols:d,environment:u,valueColsSvc:g,eventSvc:h,gos:p}=e,f=n.getColDefCols()??[],m=s?.getColumns();if(!f.length&&!m?.length)return!1;if(t?.state&&!t.state.forEach)return R(32),!1;const v=(S,k,M,E,P)=>{if(!S)return;const D=tF(k,t.defaultState),I=D("flex").value1,L=D("sort").value1,K=D("sortType").value1,U=nn(L)||vl(K),O=ra(K),Z=Ri(L),ae=U?{type:O,direction:Z}:void 0;if(av(e,S,D("hide").value1,ae,D("sortIndex").value1,D("pinned").value1,I,a),I==null){const be=D("width").value1;if(be!=null){const pe=S.getColDef().minWidth??u.getDefaultColumnMinWidth();pe!=null&&be>=pe&&S.setActualWidth(be,a)}}P||!S.isPrimary()||(g?.syncColumnWithState(S,a,D),r?.syncColumnWithState(S,a,D,M),o?.syncColumnWithState(S,a,D,E))},C=(S,k,M)=>{const E=IC(e,a),P=k.slice(),D={},I={},L=[],K=[],U=[];let O=0;const Z=r?.columns.slice()??[],ae=o?.columns.slice()??[];for(const he of S){const nt=he.colId;if(nt.startsWith(jt)){L.push(he),U.push(he);continue}if(za(nt)){K.push(he),U.push(he);continue}const qt=M(nt);qt?(v(qt,he,D,I,!1),Ae(P,qt)):(U.push(he),O+=1)}const be=he=>v(he,null,D,I,!1);P.forEach(be),r?.sortColumns(zC.bind(r,D,Z)),o?.sortColumns(zC.bind(o,I,ae)),n.refreshCols(!1,a);const pe=(he,nt,X=[])=>{for(const qt of nt){const Ea=he(qt.colId);Ae(X,Ea),v(Ea,qt,null,null,!0)}X.forEach(be)};return pe(he=>i?.getColumn(he)??null,L,i?.getColumns()?.slice()),pe(he=>s?.getColumn(he)??null,K,s?.getColumns()?.slice()),N2(t,n,p),c.refresh(a),h.dispatchEvent({type:"columnEverythingChanged",source:a}),E(),{unmatchedAndAutoStates:U,unmatchedCount:O}};l?.start();let{unmatchedAndAutoStates:b,unmatchedCount:y}=C(t.state||[],f,S=>n.getColDefCol(S));if(b.length>0||A(t.defaultState)){const S=d?.getPivotResultCols()?.list??[];y=C(b,S,k=>d?.getPivotResultCol(k)??null).unmatchedCount}return l?.finish(),y===0}function xg(e,t){const{colModel:a,autoColSvc:n,selectionColSvc:r,eventSvc:o,gos:i}=e,s=a.getColDefCols();if(!s?.length)return;const l=a.getColDefColTree(),c=bl(l),d=[];let u=1e3,g=1e3;const h=C=>{const b=LC(C);ie(b.rowGroupIndex)&&b.rowGroup&&(b.rowGroupIndex=u++),ie(b.pivotIndex)&&b.pivot&&(b.pivotIndex=g++),d.push(b)};n?.getColumns()?.forEach(h),r?.getColumns()?.forEach(h),c?.forEach(h),Ye(e,{state:d},t);const p=n?.getColumns()??[],v=[...r?.getColumns()??[],...p,...s].map(C=>({colId:C.colId}));Ye(e,{state:v,applyOrder:!0},t),o.dispatchEvent(B(i,{type:"columnsReset",source:t}))}function IC(e,t){const{rowGroupColsSvc:a,pivotColsSvc:n,valueColsSvc:r,colModel:o,sortSvc:i,eventSvc:s}=e,l={rowGroupColumns:a?.columns.slice()??[],pivotColumns:n?.columns.slice()??[],valueColumns:r?.columns.slice()??[]},c=Ui(e),d={};for(const u of c)d[u.colId]=u;return()=>{const u=(k,M,E,P)=>{const D=M.map(P),I=E.map(P);if(we(D,I))return;const K=new Set(M);for(const O of E)K.delete(O)||K.add(O);const U=[...K];s.dispatchEvent({type:k,columns:U,column:U.length===1?U[0]:null,source:t})},g=k=>{const M=[];return o.forAllCols(E=>{const P=d[E.getColId()];P&&k(P,E)&&M.push(E)}),M},h=k=>k.getColId();u("columnRowGroupChanged",l.rowGroupColumns,a?.columns??[],h),u("columnPivotChanged",l.pivotColumns,n?.columns??[],h);const f=g((k,M)=>{const E=k.aggFunc!=null,P=E!=M.isValueActive(),D=E&&k.aggFunc!=M.getAggFunc();return P||D});f.length>0&&DC(s,"columnValueChanged",f,t),Co(s,g((k,M)=>k.width!=M.getActualWidth()),!0,t),TC(s,g((k,M)=>k.pinned!=M.getPinned()),t),C2(s,g((k,M)=>k.hide==M.isVisible()),t);const y=g((k,M)=>!ki(M.getSortDef(),{type:ra(k.sortType),direction:Ri(k.sort)})||k.sortIndex!=M.getSortIndex());y.length>0&&i?.dispatchSortChangedEvents(t,y);const S=Ui(e);q2(c,S,t,o,s)}}function Ui(e){const{colModel:t,rowGroupColsSvc:a,pivotColsSvc:n}=e,r=t.getColDefCols();if(ie(r)||!t.isAlive())return[];const o=a?.columns,i=n?.columns,s=[],l=d=>{const u=d.isRowGroupActive()&&o?o.indexOf(d):null,g=d.isPivotActive()&&i?i.indexOf(d):null,h=d.isValueActive()?d.getAggFunc():null,p=d.getSortIndex()!=null?d.getSortIndex():null;s.push({colId:d.getColId(),width:d.getActualWidth(),hide:!d.isVisible(),pinned:d.getPinned(),sort:d.getSort(),sortType:d.getSortDef()?.type,sortIndex:p,aggFunc:h,rowGroup:d.isRowGroupActive(),rowGroupIndex:u,pivot:d.isPivotActive(),pivotIndex:g,flex:d.getFlex()??null})};t.forAllCols(d=>l(d));const c=new Map(t.getCols().map((d,u)=>[d.getColId(),u]));return s.sort((d,u)=>{const g=c.has(d.colId)?c.get(d.colId):-1,h=c.has(u.colId)?c.get(u.colId):-1;return g-h}),s}function LC(e){const t=(m,v)=>m??v??null,a=e.getColDef(),n=Ut(t(a.sort,a.initialSort)),r=n.direction,o=n.type,i=t(a.sortIndex,a.initialSortIndex),s=t(a.hide,a.initialHide),l=t(a.pinned,a.initialPinned),c=t(a.width,a.initialWidth),d=t(a.flex,a.initialFlex);let u=t(a.rowGroupIndex,a.initialRowGroupIndex),g=t(a.rowGroup,a.initialRowGroup);u==null&&!g&&(u=null,g=null);let h=t(a.pivotIndex,a.initialPivotIndex),p=t(a.pivot,a.initialPivot);h==null&&!p&&(h=null,p=null);const f=t(a.aggFunc,a.initialAggFunc);return{colId:e.getColId(),sort:r,sortType:o,sortIndex:i,hide:s,pinned:l,width:c,flex:d,rowGroup:g,rowGroupIndex:u,pivot:p,pivotIndex:h,aggFunc:f}}function N2(e,t,a){if(!e.applyOrder||!e.state)return;const n=[];for(const r of e.state)r.colId!=null&&n.push(r.colId);H2(t.cols,n,t,a)}function H2(e,t,a,n){if(e==null)return;let r=[];const o={};for(const s of t){if(o[s])continue;const l=e.map[s];l&&(r.push(l),o[s]=!0)}let i=0;for(const s of e.list){const l=s.getColId();if(o[l]!=null)continue;l.startsWith(jt)?r.splice(i++,0,s):r.push(s)}if(r=MC(r,n),!EC(r,a.getColTree())){R(39);return}e.list=r}function q2(e,t,a,n,r){const o={};for(const d of t)o[d.colId]=d;const i={};for(const d of e)o[d.colId]&&(i[d.colId]=!0);const s=e.filter(d=>i[d.colId]),l=t.filter(d=>i[d.colId]),c=[];l.forEach((d,u)=>{const g=s?.[u];if(g&&g.colId!==d.colId){const h=n.getCol(g.colId);h&&c.push(h)}}),c.length&&r.dispatchEvent({type:"columnMoved",columns:c,column:c.length===1?c[0]:null,finished:!0,source:a})}var zC=(e,t,a,n)=>{const r=e[a.getId()],o=e[n.getId()],i=r!=null,s=o!=null;if(i&&s)return r-o;if(i)return-1;if(s)return 1;const l=t.indexOf(a),c=t.indexOf(n),d=l>=0,u=c>=0;return d&&u?l-c:d?-1:1},W2=class extends F{constructor(){super(...arguments),this.beanName="colModel",this.pivotMode=!1,this.ready=!1,this.changeEventsDispatching=!1}postConstruct(){this.pivotMode=this.gos.get("pivotMode"),this.addManagedPropertyListeners(["groupDisplayType","treeData","treeDataDisplayType","groupHideOpenParents","groupHideColumnsUntilExpanded","rowNumbers","hidePaddedHeaderRows"],e=>this.refreshAll(Oa(e.source))),this.addManagedPropertyListeners(["defaultColDef","defaultColGroupDef","columnTypes","suppressFieldDotNotation"],this.recreateColumnDefs.bind(this)),this.addManagedPropertyListener("pivotMode",e=>this.setPivotMode(this.gos.get("pivotMode"),Oa(e.source)))}createColsFromColDefs(e){const{beans:t}=this,{valueCache:a,colAutosize:n,rowGroupColsSvc:r,pivotColsSvc:o,valueColsSvc:i,visibleCols:s,eventSvc:l,groupHierarchyColSvc:c}=t,d=this.colDefs?IC(t,e):void 0;a?.expire();const u=this.colDefCols?.list,g=this.colDefCols?.tree,h=du(t,this.colDefs,!0,g,e);oa(t,this.colDefCols?.tree,h.columnTree);const p=h.columnTree,f=h.treeDepth,m=bl(p),v={};for(const C of m)v[C.getId()]=C;this.colDefCols={tree:p,treeDepth:f,list:m,map:v},this.createColumnsForService([c],this.colDefCols,e),r?.extractCols(e,u),o?.extractCols(e,u),i?.extractCols(e,u),this.ready=!0,this.changeEventsDispatching=!0,this.refreshCols(!0,e),this.changeEventsDispatching=!1,s.refresh(e),l.dispatchEvent({type:"columnEverythingChanged",source:e}),d&&(this.changeEventsDispatching=!0,d(),this.changeEventsDispatching=!1),l.dispatchEvent({type:"newColumnsLoaded",source:e}),e==="gridInitializing"&&n?.applyAutosizeStrategy()}refreshCols(e,t){if(!this.colDefCols)return;const a=this.cols?.tree;this.saveColOrder();const{autoColSvc:n,selectionColSvc:r,rowNumbersSvc:o,quickFilter:i,pivotResultCols:s,showRowGroupCols:l,rowAutoHeight:c,visibleCols:d,colViewport:u,eventSvc:g,formula:h}=this.beans,p=this.selectCols(s,this.colDefCols);h?.setFormulasActive(p),this.createColumnsForService([n,r,o],p,t);const f=GR(this.gos,this.showingPivotResult);(!e||f)&&this.restoreColOrder(p),this.positionLockedCols(p),l?.refresh(),i?.refreshCols(),this.setColSpanActive(),c?.setAutoHeightActive(p),d.clear(),u.clear(),we(a,this.cols.tree)||g.dispatchEvent({type:"gridColumnsChanged"})}createColumnsForService(e,t,a){for(const n of e)n&&(n.createColumns(t,r=>{this.lastOrder=r(this.lastOrder),this.lastPivotOrder=r(this.lastPivotOrder)},a),n.addColumns(t))}selectCols(e,t){const a=e?.getPivotResultCols()??null;this.showingPivotResult=a!=null;const{map:n,list:r,tree:o,treeDepth:i}=a??t;return this.cols={list:r.slice(),map:{...n},tree:o.slice(),treeDepth:i},a&&(a.list.some(l=>this.cols?.map[l.getColId()]!==void 0)||(this.lastPivotOrder=null)),this.cols}getColsToShow(){if(!this.cols)return[];const{beans:e,showingPivotResult:t,cols:a}=this,{valueColsSvc:n,selectionColSvc:r,gos:o}=e,i=this.isPivotMode()&&!t,s=r?.isSelectionColumnEnabled(),l=an(e),c=n?.columns,d=au(o);return a.list.filter(g=>{const h=Sr(g);return i?c?.includes(g)||h&&(!d||g.isVisible())||s&&za(g)||l&&Re(g):h&&!d||g.isVisible()})}refreshAll(e){this.ready&&(this.refreshCols(!1,e),this.beans.visibleCols.refresh(e))}setColsVisible(e,t=!1,a){Ye(this.beans,{state:e.map(n=>({colId:typeof n=="string"?n:n.getColId(),hide:!t}))},a)}restoreColOrder(e){const t=this.showingPivotResult?this.lastPivotOrder:this.lastOrder;if(!t)return;const a=t.filter(u=>e.map[u.getId()]!=null);if(a.length===0)return;if(a.length===e.list.length){e.list=a;return}const n=u=>{const g=u.getOriginalParent();return g?g.getChildren().length>1?!0:n(g):!1};if(!a.some(u=>n(u))){const u=new Set(a);for(const g of e.list)u.has(g)||a.push(g);e.list=a;return}const r=new Map;for(let u=0;u!r.has(u));if(o.length===0){e.list=a;return}const i=(u,g)=>{const h=g?g.getOriginalParent():u.getOriginalParent();if(!h)return null;let p=null,f=null;for(const m of h.getChildren())if(!(m===g||m===u)){if(m instanceof na){const v=r.get(m);if(v==null)continue;(p==null||p{const C=r.get(v);C!=null&&(p==null||p=0;u--)c[d--]=s[u];for(let u=a.length-1;u>=0;u--){const g=a[u],h=l.get(g);if(h)if(Array.isArray(h))for(let p=h.length-1;p>=0;p--){const f=h[p];c[d--]=f}else c[d--]=h;c[d--]=g}e.list=c}positionLockedCols(e){e.list=MC(e.list,this.gos)}saveColOrder(){this.showingPivotResult?this.lastPivotOrder=this.cols?.list??null:this.lastOrder=this.cols?.list??null}getColumnDefs(e){return this.colDefCols&&this.beans.colDefFactory?.getColumnDefs(this.colDefCols.list,this.showingPivotResult,this.lastOrder,this.cols?.list??[],e)}setColSpanActive(){this.colSpanActive=!!this.cols?.list.some(e=>e.getColDef().colSpan!=null)}isPivotMode(){return this.pivotMode}setPivotMode(e,t){if(e===this.pivotMode||(this.pivotMode=e,!this.ready))return;this.refreshCols(!1,t);const{visibleCols:a,eventSvc:n}=this.beans;a.refresh(t),n.dispatchEvent({type:"columnPivotModeChanged"})}isPivotActive(){const e=this.beans.pivotColsSvc?.columns;return this.pivotMode&&!!e?.length}recreateColumnDefs(e){if(!this.cols)return;this.beans.autoColSvc?.updateColumns(e);const t=Oa(e.source);this.createColsFromColDefs(t)}setColumnDefs(e,t){this.colDefs=e,this.createColsFromColDefs(t)}destroy(){oa(this.beans,this.colDefCols?.tree),super.destroy()}getColTree(){return this.cols?.tree??[]}getColDefColTree(){return this.colDefCols?.tree??[]}getColDefCols(){return this.colDefCols?.list??null}getCols(){return this.cols?.list??[]}forAllCols(e){const{pivotResultCols:t,autoColSvc:a,selectionColSvc:n,groupHierarchyColSvc:r}=this.beans;ai(this.colDefCols?.list,e)||ai(a?.columns?.list,e)||ai(n?.columns?.list,e)||ai(r?.columns?.list,e)||ai(t?.getPivotResultCols()?.list,e)}getColsForKeys(e){return e?e.map(t=>this.getCol(t)).filter(t=>t!=null):[]}getColDefCol(e){return this.colDefCols?.list?this.getColFromCollection(e,this.colDefCols):null}getCol(e){return e==null?null:this.getColFromCollection(e,this.cols)}getColById(e){return this.cols?.map[e]??null}getColFromCollection(e,t){if(t==null)return null;const{map:a,list:n}=t;if(typeof e=="string"&&a[e])return a[e];for(let s=0;se(this.getValue())}),this}getWidth(){return this.getGui().clientWidth}setWidth(e){return ta(this.getGui(),e),this}getPreviousValue(){return this.previousValue}getValue(){return this.value}setValue(e,t){return this.value===e?this:(this.previousValue=this.value,this.value=e,t||this.dispatchLocalEvent({type:"fieldValueChanged"}),this)}};function j2(e){return{tag:"div",role:"presentation",children:[{tag:"div",ref:"eLabel",cls:"ag-input-field-label"},{tag:"div",ref:"eWrapper",cls:"ag-wrapper ag-input-wrapper",role:"presentation",children:[{tag:e,ref:"eInput",cls:"ag-input-field-input"}]}]}}var cn=class extends kg{constructor(e,t,a="text",n="input"){super(e,e?.template??j2(n),[],t),this.inputType=a,this.displayFieldTag=n,this.eLabel=x,this.eWrapper=x,this.eInput=x}postConstruct(){super.postConstruct(),this.setInputType(this.inputType);const{eLabel:e,eWrapper:t,eInput:a,className:n}=this;e.classList.add(`${n}-label`),t.classList.add(`${n}-input-wrapper`),a.classList.add(`${n}-input`),this.addCss("ag-input-field"),a.id=a.id||`ag-${this.getCompId()}-input`;const{inputName:r,inputWidth:o,inputPlaceholder:i,autoComplete:s,tabIndex:l}=this.config;r!=null&&this.setInputName(r),o!=null&&this.setInputWidth(o),i!=null&&this.setInputPlaceholder(i),s!=null&&this.setAutoComplete(s),this.addInputListeners(),this.activateTabIndex([a],l)}addInputListeners(){this.addManagedElementListeners(this.eInput,{input:e=>this.setValue(e.target.value)})}setInputType(e){this.displayFieldTag==="input"&&(this.inputType=e,it(this.eInput,"type",e))}getInputElement(){return this.eInput}getWrapperElement(){return this.eWrapper}setInputWidth(e){return Xs(this.eWrapper,e),this}setInputName(e){return this.getInputElement().setAttribute("name",e),this}getFocusableElement(){return this.eInput}setMaxLength(e){const t=this.eInput;return t.maxLength=e,this}setInputPlaceholder(e){return it(this.eInput,"placeholder",e),this}setInputAriaLabel(e){return de(this.eInput,e),this.refreshAriaLabelledBy(),this}setDisabled(e){return wn(this.eInput,e),super.setDisabled(e)}setAutoComplete(e){if(e===!0)it(this.eInput,"autocomplete",null);else{const t=typeof e=="string"?e:"off";it(this.eInput,"autocomplete",t)}return this}},Vn=class extends cn{constructor(e,t="ag-checkbox",a="checkbox"){super(e,t,a),this.labelAlignment="right",this.selected=!1,this.readOnly=!1,this.passive=!1}postConstruct(){super.postConstruct();const{readOnly:e,passive:t,name:a}=this.config;typeof e=="boolean"&&this.setReadOnly(e),typeof t=="boolean"&&this.setPassive(t),a!=null&&this.setName(a)}addInputListeners(){this.addManagedElementListeners(this.eInput,{click:this.onCheckboxClick.bind(this)}),this.addManagedElementListeners(this.eLabel,{click:this.toggle.bind(this)})}getNextValue(){return this.selected===void 0?!0:!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){const t=this.getInputElement();return t.name=e,this}isSelected(){return this.selected}setSelected(e,t){if(this.isSelected()===e)return;this.previousValue=this.isSelected(),e=this.selected=typeof e=="boolean"?e:void 0;const a=this.eInput;a.checked=e,a.indeterminate=e===void 0,t||this.dispatchChange(this.selected,this.previousValue)}dispatchChange(e,t,a){this.dispatchLocalEvent({type:"fieldValueChanged",selected:e,previousValue:t,event:a});const n=this.getInputElement();this.eventSvc.dispatchEvent({type:"checkboxChanged",id:n.id,name:n.name,selected:e,previousValue:t})}onCheckboxClick(e){if(this.passive||this.eInput.disabled)return;const t=this.isSelected(),a=this.selected=e.target.checked;this.refreshSelectedClass(a),this.dispatchChange(a,t,e)}refreshSelectedClass(e){const t=this.eWrapper.classList;t.toggle("ag-checked",e===!0),t.toggle("ag-indeterminate",e==null)}},da={selector:"AG-CHECKBOX",component:Vn},_2=".ag-checkbox-cell{height:100%}",K2={tag:"div",cls:"ag-cell-wrapper ag-checkbox-cell",role:"presentation",children:[{tag:"ag-checkbox",ref:"eCheckbox",role:"presentation"}]},Y2=class extends T{constructor(){super(K2,[da]),this.eCheckbox=x,this.registerCSS(_2)}init(e){this.refresh(e);const{eCheckbox:t,beans:a}=this,n=t.getInputElement();n.setAttribute("tabindex","-1"),am(n,"polite"),this.addManagedListeners(n,{click:r=>{if(Fe(r),t.isDisabled())return;const o=t.getValue();this.onCheckboxChanged(o)},dblclick:r=>{Fe(r)}}),this.addManagedElementListeners(e.eGridCell,{keydown:r=>{if(r.key===w.SPACE&&!t.isDisabled()){e.eGridCell===ne(a)&&t.toggle();const o=t.getValue();this.onCheckboxChanged(o),r.preventDefault()}}})}refresh(e){return this.params=e,this.updateCheckbox(e),!0}updateCheckbox(e){let t,a=!0;const{value:n,column:r,node:o}=e;if(o.group&&r)if(typeof n=="boolean")t=n;else{const u=r.getColId();u.startsWith(jt)?t=n==null||n===""?void 0:n==="true":o.aggData&&o.aggData[u]!==void 0||o.sourceRowIndex>=0?t=n??void 0:a=!1}else t=n??void 0;const{eCheckbox:i}=this;if(!a){i.setDisplayed(!1);return}i.setValue(t);const s=e.disabled??!r?.isCellEditable(o);i.setDisabled(s);const l=this.getLocaleTextFunc(),c=Ys(l,t),d=s?c:`${l("ariaToggleCellValue","Press SPACE to toggle cell value")} (${c})`;i.setInputAriaLabel(d)}onCheckboxChanged(e){const{params:t}=this,{column:a,node:n,value:r}=t,{editSvc:o}=this.beans;if(!a)return;const i={rowNode:n,column:a};o?.dispatchCellEvent(i,null,"cellEditingStarted",{value:r});const s=n.setDataValue(a,e,"ui");o?.dispatchCellEvent(i,null,"cellEditingStopped",{oldValue:r,newValue:e,valueChanged:s}),s||this.updateCheckbox(t)}},Q2={tag:"div",cls:"ag-skeleton-container"},Z2=class extends T{constructor(){super(Q2)}init(e){const t=`ag-cell-skeleton-renderer-${this.getCompId()}`;this.getGui().setAttribute("id",t),this.addDestroyFunc(()=>va(e.eParentOfValue)),va(e.eParentOfValue,t),e.deferRender?this.setupLoading(e):e.node.failedLoad?this.setupFailed():this.setupLoading(e)}setupFailed(){const e=this.getLocaleTextFunc();this.getGui().textContent=e("loadingError","ERR");const t=e("ariaSkeletonCellLoadingFailed","Row failed to load");de(this.getGui(),t)}setupLoading(e){const t=re({tag:"div",cls:"ag-skeleton-effect"}),a=e.node.rowIndex;if(a!=null){const o=75+25*(a%2===0?Math.sin(a):Math.cos(a));t.style.width=`${o}%`}this.getGui().appendChild(t);const n=this.getLocaleTextFunc(),r=e.deferRender?n("ariaDeferSkeletonCellLoading","Cell is loading"):n("ariaSkeletonCellLoading","Row data is loading");de(this.getGui(),r)}refresh(e){return!1}},X2={moduleName:"CheckboxCellRenderer",version:N,userComponents:{agCheckboxCellRenderer:Y2}},J2={moduleName:"SkeletonCellRenderer",version:N,userComponents:{agSkeletonCellRenderer:Z2}};function $2(e,t){const a=e.colModel.getColDefCol(t);return a?a.getColDef():null}function eP(e){return e.colModel.getColumnDefs(!0)}function tP(e,t,a){return e.colNames.getDisplayNameForColumn(t,a)||""}function aP(e,t){return e.colModel.getColDefCol(t)}function nP(e){return e.colModel.getColDefCols()}function rP(e,t){return Ye(e,t,"api")}function oP(e){return Ui(e)}function iP(e){xg(e,"api")}function sP(e){return e.visibleCols.isPinningLeft()||e.visibleCols.isPinningRight()}function lP(e){return e.visibleCols.isPinningLeft()}function cP(e){return e.visibleCols.isPinningRight()}function dP(e,t){return e.visibleCols.getColAfter(t)}function uP(e,t){return e.visibleCols.getColBefore(t)}function gP(e,t,a){e.colModel.setColsVisible(t,a,"api")}function hP(e,t,a){e.pinnedCols?.setColsPinned(t,a,"api")}function pP(e){return e.colModel.getCols()}function fP(e){return e.visibleCols.leftCols}function mP(e){return e.visibleCols.centerCols}function vP(e){return e.visibleCols.rightCols}function CP(e){return e.visibleCols.allCols}function bP(e){return e.colViewport.getViewportColumns()}function Rg(e,t){if(!e)return;const a=e,n={};for(const r of Object.keys(a)){if(t&&t.indexOf(r)>=0||ym.has(r))continue;const o=a[r];typeof o=="object"&&o!==null&&o.constructor===Object?n[r]=Rg(o):n[r]=o}return n}var wP=class extends F{constructor(){super(...arguments),this.beanName="colDefFactory"}wireBeans(e){this.rowGroupColsSvc=e.rowGroupColsSvc,this.pivotColsSvc=e.pivotColsSvc}getColumnDefs(e,t,a,n,r=!1){const o=e.slice();t?o.sort((l,c)=>a.indexOf(l)-a.indexOf(c)):(a||r)&&o.sort((l,c)=>n.indexOf(l)-n.indexOf(c));const i=this.rowGroupColsSvc?.columns,s=this.pivotColsSvc?.columns;return this.buildColumnDefs(o,i,s)}buildColumnDefs(e,t=[],a=[]){const n=[],r={};for(const o of e){const i=this.createDefFromColumn(o,t,a);let s=!0,l=i,c=o.getOriginalParent(),d=null;for(;c;){let u=null;if(c.isPadding()){c=c.getOriginalParent();continue}const g=r[c.getGroupId()];if(g){g.children.push(l),s=!1;break}if(u=this.createDefFromGroup(c),u&&(u.children=[l],r[u.groupId]=u,l=u,c=c.getOriginalParent()),c!=null&&d===c){s=!1;break}d=c}s&&n.push(l)}return n}createDefFromGroup(e){const t=Rg(e.getColGroupDef(),["children"]);return t&&(t.groupId=e.getGroupId()),t}createDefFromColumn(e,t,a){const n=Rg(e.getColDef());return n.colId=e.getColId(),n.width=e.getActualWidth(),n.rowGroup=e.isRowGroupActive(),n.rowGroupIndex=e.isRowGroupActive()?t.indexOf(e):null,n.pivot=e.isPivotActive(),n.pivotIndex=e.isPivotActive()?a.indexOf(e):null,n.aggFunc=e.isValueActive()?e.getAggFunc():null,n.hide=e.isVisible()?void 0:!0,n.pinned=e.isPinned()?e.getPinned():null,n.sort=e.getSortDef(),n.sortIndex=e.getSortIndex()!=null?e.getSortIndex():null,n}},yP=class extends F{constructor(){super(...arguments),this.beanName="colFlex",this.columnsHidden=!1}refreshFlexedColumns(e={}){const t=e.source??"flex";e.viewportWidth!=null&&(this.flexViewportWidth=e.viewportWidth);const a=this.flexViewportWidth,{visibleCols:n,colDelayRenderSvc:r}=this.beans,o=n.centerCols;let i=-1;if(e.resizingCols){const f=new Set(e.resizingCols);for(let m=o.length-1;m>=0;m--)if(f.has(o[m])){i=m;break}}let s=!1;const l=o.map((f,m)=>{const v=f.getFlex(),C=v!=null&&v>0&&m>i;return s||(s=C),{col:f,isFlex:C,flex:Math.max(0,v??0),initialSize:f.getActualWidth(),min:f.getMinWidth(),max:f.getMaxWidth(),targetSize:0}});if(s?(r?.hideColumns("colFlex"),this.columnsHidden=!0):this.columnsHidden&&this.revealColumns(r),!a||!s)return[];let c=l.length,d=l.reduce((f,m)=>f+m.flex,0),u=a;const g=(f,m)=>{f.frozenSize=m,f.col.setActualWidth(m,t),u-=m,d-=f.flex,c-=1},h=f=>f.frozenSize!=null;for(const f of l)f.isFlex||g(f,f.initialSize);for(;c>0;){const f=Math.round(d<1?u*d:u);let m,v=0,C=0;for(const S of l){if(h(S))continue;m=S,C+=f*(S.flex/d);const k=C-v,M=Math.round(k);S.targetSize=M,v+=M}m&&(m.targetSize+=f-v);let b=0;for(const S of l){if(h(S))continue;const k=S.targetSize,M=Math.min(Math.max(k,S.min),S.max);b+=M-k,S.violationType=M===k?void 0:M0?"min":"max";for(const S of l)h(S)||(y==="all"||S.violationType===y)&&g(S,S.targetSize)}e.skipSetLeft||n.setLeftValues(t),e.updateBodyWidths&&n.updateBodyWidths();const p=l.filter(f=>f.isFlex&&!f.violationType).map(f=>f.col);if(e.fireResizedEvent){const f=l.filter(v=>v.initialSize!==v.frozenSize).map(v=>v.col),m=l.filter(v=>v.flex).map(v=>v.col);Co(this.eventSvc,f,!0,t,m)}return this.revealColumns(r),p}revealColumns(e){this.columnsHidden&&(e?.revealColumns("colFlex"),this.columnsHidden=!1)}initCol(e){const{flex:t,initialFlex:a}=e.colDef;t!==void 0?e.flex=t:a!==void 0&&(e.flex=a)}setColFlex(e,t){e.flex=t??null,e.dispatchStateUpdatedEvent("flex")}},et=e=>{if(typeof e=="bigint")return e;let t;if(typeof e=="number")t=e;else if(typeof e=="string"&&(t=e.trim(),t===""||(t.endsWith("n")&&(t=t.slice(0,-1)),!/^[+-]?\d+$/.test(t))))return null;if(t==null)return null;try{return BigInt(t)}catch{return null}},Fg="T",SP=new RegExp(`[${Fg} ]`),xP=new RegExp(`^\\d{4}-\\d{2}-\\d{2}(${Fg}\\d{2}:\\d{2}:\\d{2}\\D?)?`);function Na(e,t){return e.toString().padStart(t,"0")}function tt(e,t=!0,a=Fg){if(!e)return null;let n=[e.getFullYear(),e.getMonth()+1,e.getDate()].map(r=>Na(r,2)).join("-");return t&&(n+=a+[e.getHours(),e.getMinutes(),e.getSeconds()].map(r=>Na(r,2)).join(":")),n}function Tr(e,t=!0){return e?t?[String(e.getFullYear()),String(e.getMonth()+1),Na(e.getDate(),2),Na(e.getHours(),2),`:${Na(e.getMinutes(),2)}`,`:${Na(e.getSeconds(),2)}`]:[e.getFullYear(),e.getMonth()+1,Na(e.getDate(),2)].map(String):null}var Mg=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"},ji=["January","February","March","April","May","June","July","August","September","October","November","December"],Eg=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function kP(e,t){if(t==null)return tt(e,!1);const a=Na(e.getFullYear(),4),n={YYYY:()=>a.slice(a.length-4,a.length),YY:()=>a.slice(a.length-2,a.length),Y:()=>`${e.getFullYear()}`,MMMM:()=>ji[e.getMonth()],MMM:()=>ji[e.getMonth()].slice(0,3),MM:()=>Na(e.getMonth()+1,2),Mo:()=>`${e.getMonth()+1}${Mg(e.getMonth()+1)}`,M:()=>`${e.getMonth()+1}`,Do:()=>`${e.getDate()}${Mg(e.getDate())}`,DD:()=>Na(e.getDate(),2),D:()=>`${e.getDate()}`,dddd:()=>Eg[e.getDay()],ddd:()=>Eg[e.getDay()].slice(0,3),dd:()=>Eg[e.getDay()].slice(0,2),do:()=>`${e.getDay()}${Mg(e.getDay())}`,d:()=>`${e.getDay()}`},r=new RegExp(Object.keys(n).join("|"),"g");return t.replace(r,o=>o in n?n[o]():o)}function Kl(e,t=!1){return!!qe(e,t)}function RP(e){return Kl(e,!0)}function qe(e,t=!1,a){if(!e||!a&&!xP.test(e))return null;const[n,r]=e.split(SP);if(!n)return null;const o=n.split("-").map(h=>Number.parseInt(h,10));if(o.filter(h=>!isNaN(h)).length!==3)return null;const[i,s,l]=o,c=new Date(i,s-1,l);if(c.getFullYear()!==i||c.getMonth()!==s-1||c.getDate()!==l||!r&&t)return null;if(!r||r==="00:00:00")return c;const[d,u,g]=r.split(":").map(h=>Number.parseInt(h,10));if(d>=0&&d<24)c.setHours(d);else if(t)return null;if(u>=0&&u<60)c.setMinutes(u);else if(t)return null;if(g>=0&&g<60)c.setSeconds(g);else if(t)return null;return c}function _i(e,t,a){if(!t||!e)return;if(!a)return e[t];const n=t.split(".");let r=e;for(let o=0;onull,suppressKeyboardEvent:({node:e,event:t,column:a})=>t.key===w.SPACE&&a.isCellEditable(e)}},date({formatValue:e}){return{cellEditor:"agDateCellEditor",keyCreator:e}},dateString({formatValue:e}){return{cellEditor:"agDateStringCellEditor",keyCreator:e}},dateTime(e){return this.date(e)},dateTimeString(e){return this.dateString(e)},object({formatValue:e,colModel:t,colId:a}){return{cellEditorParams:{useFormatter:!0},comparator:(n,r)=>{const o=t.getColDefCol(a),i=o?.getColDef();if(!o||!i)return 0;const s=n==null?"":e({column:o,node:null,value:n}),l=r==null?"":e({column:o,node:null,value:r});return s===l?0:s>l?1:-1},keyCreator:e}},text(){return{}}}}wireBeans(e){this.colModel=e.colModel}postConstruct(){this.processDataTypeDefinitions(),this.addManagedPropertyListener("dataTypeDefinitions",e=>{this.processDataTypeDefinitions(),this.colModel.recreateColumnDefs(e)})}processDataTypeDefinitions(){const e=this.getDefaultDataTypes(),t={},a={},n=d=>u=>{const{column:g,node:h,value:p}=u;let f=g.getColDef().valueFormatter;return f===d.groupSafeValueFormatter&&(f=d.valueFormatter),this.beans.valueSvc.formatValue(g,h,p,f)};for(const d of Object.keys(e)){const u=e[d],g={...u,groupSafeValueFormatter:VC(u,this.gos)};t[d]=g,a[d]=n(g)}const r=this.gos.get("dataTypeDefinitions")??{},o={};for(const d of Object.keys(r)){const u=r[d],g=this.processDataTypeDefinition(u,r,[d],e);g&&(t[d]=g,u.dataTypeMatcher&&(o[d]=u.dataTypeMatcher),a[d]=n(g))}const{valueParser:i,valueFormatter:s}=e.object,{valueParser:l,valueFormatter:c}=t.object;this.hasObjectValueParser=l!==i,this.hasObjectValueFormatter=c!==s,this.formatValueFuncs=a,this.dataTypeDefinitions=t,this.dataTypeMatchers=this.sortKeysInMatchers(o,e)}sortKeysInMatchers(e,t){const a={...e};for(const n of FP)delete a[n],a[n]=e[n]??t[n].dataTypeMatcher;return a}processDataTypeDefinition(e,t,a,n){let r;const o=e.extendsDataType;if(e.columnTypes&&(this.isColumnTypeOverrideInDataTypeDefinitions=!0),e.extendsDataType===e.baseDataType){let i=n[o];const s=t[o];if(i&&s&&(i=s),!GC(e,i,o))return;r=OC(i,e)}else{if(a.includes(o)){R(44);return}const i=t[o];if(!GC(e,i,o))return;const s=this.processDataTypeDefinition(i,t,[...a,o],n);if(!s)return;r=OC(s,e)}return{...r,groupSafeValueFormatter:VC(r,this.gos)}}updateColDefAndGetColumnType(e,t,a){let{cellDataType:n}=t;n===void 0&&(n=e.cellDataType);const{field:r}=t;if((n==null||n===!0)&&(n=this.canInferCellDataType(e,t)?this.inferCellDataType(r,a):!1),this.addFormulaCellEditorToColDef(e,t),!n){e.cellDataType=!1;return}const o=this.dataTypeDefinitions[n];if(!o){R(47,{cellDataType:n});return}return e.cellDataType=n,o.groupSafeValueFormatter&&(e.valueFormatter=o.groupSafeValueFormatter),o.valueParser&&(e.valueParser=o.valueParser),o.suppressDefaultProperties||this.setColDefPropertiesForBaseDataType(e,n,o,a),o.columnTypes}addFormulaCellEditorToColDef(e,t){!(t.allowFormula??e.allowFormula)||t.cellEditor||(e.cellEditor="agFormulaCellEditor")}addColumnListeners(e){if(!this.isPendingInference)return;const t=this.columnStateUpdatesPendingInference[e.getColId()];if(!t)return;const a=n=>{t.add(n.key)};e.__addEventListener("columnStateUpdated",a),this.columnStateUpdateListenerDestroyFuncs.push(()=>e.__removeEventListener("columnStateUpdated",a))}canInferCellDataType(e,t){const{gos:a}=this;if(!se(a))return!1;const n={cellRenderer:!0,valueGetter:!0,valueParser:!0,refData:!0};if(Pg(t,n))return!1;const r=t.type===null?e.type:t.type;if(r){const o=a.get("columnTypes")??{};if(wl(r).some(s=>{const l=o[s.trim()];return l&&Pg(l,n)}))return!1}return!Pg(e,n)}inferCellDataType(e,t){if(!e)return;let a;const n=this.getInitialData();if(n){const o=e.includes(".")&&!this.gos.get("suppressFieldDotNotation");a=_i(n,e,o)}else this.initWaitForRowData(t);return a==null?void 0:Object.keys(this.dataTypeMatchers).find(o=>this.dataTypeMatchers[o](a))??"object"}getInitialData(){const e=this.gos.get("rowData");if(e?.length)return e[0];if(this.initialData)return this.initialData;{const t=this.beans.rowModel.rootNode?._leafs;if(t?.length)return t[0].data}return null}initWaitForRowData(e){if(this.columnStateUpdatesPendingInference[e]=new Set,this.isPendingInference)return;this.isPendingInference=!0;const t=this.isColumnTypeOverrideInDataTypeDefinitions,{colAutosize:a,eventSvc:n}=this.beans;t&&a&&(a.shouldQueueResizeOperations=!0);const[r]=this.addManagedEventListeners({rowDataUpdateStarted:o=>{const{firstRowData:i}=o;i&&(r?.(),this.isPendingInference=!1,this.processColumnsPendingInference(i,t),this.columnStateUpdatesPendingInference={},t&&a?.processResizeOperations(),n.dispatchEvent({type:"dataTypesInferred"}))}})}processColumnsPendingInference(e,t){this.initialData=e;const a=[];this.destroyColumnStateUpdateListeners();const n={},r={};for(const o of Object.keys(this.columnStateUpdatesPendingInference)){const i=this.columnStateUpdatesPendingInference[o],s=this.colModel.getCol(o);if(!s)continue;const l=s.getColDef();if(!this.resetColDefIntoCol(s,"cellDataTypeInferred"))continue;const c=s.getColDef();if(t&&c.type&&c.type!==l.type){const d=IP(s,i);d.rowGroup&&d.rowGroupIndex==null&&(n[o]=d),d.pivot&&d.pivotIndex==null&&(r[o]=d),a.push(d)}}t&&a.push(...this.generateColumnStateForRowGroupAndPivotIndexes(n,r)),a.length&&Ye(this.beans,{state:a},"cellDataTypeInferred"),this.initialData=null}generateColumnStateForRowGroupAndPivotIndexes(e,t){const a={},{rowGroupColsSvc:n,pivotColsSvc:r}=this.beans;return n?.restoreColumnOrder(a,e),r?.restoreColumnOrder(a,t),Object.values(a)}resetColDefIntoCol(e,t){const a=e.getUserProvidedColDef();if(!a)return!1;const n=Pn(this.beans,a,e.getColId());return e.setColDef(n,a,t),!0}getDateStringTypeDefinition(e){const{dateString:t}=this.dataTypeDefinitions;return e?this.getDataTypeDefinition(e)??t:t}getDateParserFunction(e){return this.getDateStringTypeDefinition(e).dateParser}getDateFormatterFunction(e){return this.getDateStringTypeDefinition(e).dateFormatter}getDateIncludesTimeFlag(e){return e==="dateTime"||e==="dateTimeString"}getDataTypeDefinition(e){const t=e.getColDef();if(t.cellDataType)return this.dataTypeDefinitions[t.cellDataType]}getBaseDataType(e){return this.getDataTypeDefinition(e)?.baseDataType}checkType(e,t){if(t==null)return!0;const a=this.getDataTypeDefinition(e)?.dataTypeMatcher;return!a||e.getColDef().allowFormula&&this.beans.formula?.isFormula(t)?!0:a(t)}validateColDef(e,t,a,n){if(e.cellDataType==="object"){const r=l=>l?.cellDataType==null||l?.cellDataType===!0,o=r(t)&&r(a),i=l=>R(48,{property:l,inferred:o,colId:n}),{object:s}=this.dataTypeDefinitions;e.valueFormatter===s.groupSafeValueFormatter&&!this.hasObjectValueFormatter&&i("Formatter"),e.editable&&e.valueParser===s.valueParser&&!this.hasObjectValueParser&&i("Parser")}}postProcess(e){const t=e.cellDataType;if(!t||typeof t!="string")return;const{dataTypeDefinitions:a,beans:n,formatValueFuncs:r}=this,o=a[t];o&&n.colFilter?.setColDefPropsForDataType(e,o,r[t])}getFormatValue(e){return this.formatValueFuncs[e]}isColPendingInference(e){return this.isPendingInference&&!!this.columnStateUpdatesPendingInference[e]}setColDefPropertiesForBaseDataType(e,t,a,n){const r=this.formatValueFuncs[t],o=this.columnDefinitionPropsPerDataType[a.baseDataType]({colDef:e,cellDataType:t,colModel:this.colModel,dataTypeDefinition:a,colId:n,formatValue:r,filterModuleBean:this.beans.filterManager});e.cellEditor==="agFormulaCellEditor"&&o.cellEditor!==e.cellEditor&&(o.cellEditor=e.cellEditor),Object.assign(e,o)}getDateObjectTypeDef(e){const t=this.getLocaleTextFunc(),a=this.getDateIncludesTimeFlag(e);return{baseDataType:e,valueParser:n=>qe(n.newValue&&String(n.newValue)),valueFormatter:n=>n.value==null?"":!(n.value instanceof Date)||isNaN(n.value.getTime())?t("invalidDate","Invalid Date"):tt(n.value,a)??"",dataTypeMatcher:n=>n instanceof Date}}getDateStringTypeDef(e){const t=this.getDateIncludesTimeFlag(e);return{baseDataType:e,dateParser:a=>qe(a)??void 0,dateFormatter:a=>tt(a??null,t)??void 0,valueParser:a=>Kl(String(a.newValue))?a.newValue:null,valueFormatter:a=>Kl(String(a.value))?String(a.value):"",dataTypeMatcher:a=>typeof a=="string"&&Kl(a)}}getDefaultDataTypes(){const e=this.getLocaleTextFunc();return{number:{baseDataType:"number",valueParser:t=>t.newValue?.trim?.()===""?null:Number(t.newValue),valueFormatter:t=>t.value==null?"":typeof t.value!="number"||isNaN(t.value)?e("invalidNumber","Invalid Number"):String(t.value),dataTypeMatcher:t=>typeof t=="number"},bigint:{baseDataType:"bigint",valueParser:t=>{const{newValue:a}=t;return a==null||typeof a=="string"&&a.trim()===""?null:et(a)},valueFormatter:t=>t.value==null?"":typeof t.value!="bigint"?e("invalidBigInt","Invalid BigInt"):String(t.value),dataTypeMatcher:t=>typeof t=="bigint"},text:{baseDataType:"text",valueParser:t=>t.newValue===""?null:Ze(t.newValue),dataTypeMatcher:t=>typeof t=="string"},boolean:{baseDataType:"boolean",valueParser:t=>t.newValue==null?t.newValue:t.newValue?.trim?.()===""?null:String(t.newValue).toLowerCase()==="true",valueFormatter:t=>t.value==null?"":String(t.value),dataTypeMatcher:t=>typeof t=="boolean"},date:this.getDateObjectTypeDef("date"),dateString:this.getDateStringTypeDef("dateString"),dateTime:this.getDateObjectTypeDef("dateTime"),dateTimeString:{...this.getDateStringTypeDef("dateTimeString"),dataTypeMatcher:t=>typeof t=="string"&&RP(t)},object:{baseDataType:"object",valueParser:()=>null,valueFormatter:t=>Ze(t.value)??""}}}destroyColumnStateUpdateListeners(){for(const e of this.columnStateUpdateListenerDestroyFuncs)e();this.columnStateUpdateListenerDestroyFuncs=[]}destroy(){this.dataTypeDefinitions={},this.dataTypeMatchers={},this.formatValueFuncs={},this.columnStateUpdatesPendingInference={},this.destroyColumnStateUpdateListeners(),super.destroy()}};function OC(e,t){const a={...e,...t};return e.columnTypes&&t.columnTypes&&t.appendColumnTypes&&(a.columnTypes=[...wl(e.columnTypes),...wl(t.columnTypes)]),a}function GC(e,t,a){return t?t.baseDataType!==e.baseDataType?(R(46),!1):!0:(R(45,{parentCellDataType:a}),!1)}var EP=e=>typeof e=="bigint"||typeof e=="number",PP=e=>e==="number"||e==="bigint";function VC(e,t){if(e.valueFormatter)return a=>{const{node:n,colDef:r,column:o,value:i}=a;if(n?.group){const s=(r.pivotValueColumn??o).getAggFunc();if(s){if(s==="first"||s==="last")return e.valueFormatter(a);const{baseDataType:l}=e;if(PP(l)&&s!=="count"){if(EP(i))return e.valueFormatter(a);if(i==null)return;if(typeof i=="object"){if(typeof i.toNumber=="function")return e.valueFormatter({...a,value:i.toNumber()});if("value"in i)return e.valueFormatter({...a,value:i.value})}}return}}else if(t.get("groupHideOpenParents")&&a.column.isRowGroupActive()&&typeof a.value=="string"&&!e.dataTypeMatcher?.(a.value))return;return e.valueFormatter(a)}}function AP(e,t,a,n){if(!t[a])return!1;const r=e[a];return r===null?(t[a]=!1,!1):n===void 0?!!r:r===n}function TP(e,t){if(e==null)return t==null?0:-1;if(t==null)return 1;const a=et(e),n=et(t);return a!=null&&n!=null?a===n?0:a>n?1:-1:0}function DP(e,t){if(e==null)return t==null?0:-1;if(t==null)return 1;const a=BC(e),n=BC(t);return a!=null&&n!=null?a===n?0:a>n?1:-1:0}function BC(e){const t=et(e);return t==null?null:t<0n?-t:t}function Pg(e,t){return[["cellRenderer","agSparklineCellRenderer"],["valueGetter",void 0],["valueParser",void 0],["refData",void 0]].some(([a,n])=>AP(e,t,a,n))}function IP(e,t){const a=LC(e);for(const n of t)delete a[n],n==="rowGroup"?delete a.rowGroupIndex:n==="pivot"&&delete a.pivotIndex;return a}var LP={moduleName:"DataType",version:N,beans:[MP],dependsOn:[X2]},zP={moduleName:"ColumnFlex",version:N,beans:[yP]},Yl={moduleName:"ColumnApi",version:N,beans:[wP],apiFunctions:{getColumnDef:$2,getDisplayNameForColumn:tP,getColumn:aP,getColumns:nP,applyColumnState:rP,getColumnState:oP,resetColumnState:iP,isPinning:sP,isPinningLeft:lP,isPinningRight:cP,getDisplayedColAfter:dP,getDisplayedColBefore:uP,setColumnsVisible:gP,setColumnsPinned:hP,getAllGridColumns:pP,getDisplayedLeftColumns:fP,getDisplayedCenterColumns:mP,getDisplayedRightColumns:vP,getAllDisplayedColumns:CP,getAllDisplayedVirtualColumns:bP,getColumnDefs:eP}},OP=class extends F{constructor(){super(...arguments),this.beanName="colNames"}getDisplayNameForColumn(e,t,a=!1){if(!e)return null;const n=this.getHeaderName(e.getColDef(),e,null,null,t),{aggColNameSvc:r}=this.beans;return a&&r?r.getHeaderName(e,n):n}getDisplayNameForProvidedColumnGroup(e,t,a){const n=t?.getColGroupDef();return n?this.getHeaderName(n,null,e,t,a):null}getDisplayNameForColumnGroup(e,t){return this.getDisplayNameForProvidedColumnGroup(e,e.getProvidedColumnGroup(),t)}getHeaderName(e,t,a,n,r){const o=e.headerValueGetter;if(o){const i=B(this.gos,{colDef:e,column:t,columnGroup:a,providedColumnGroup:n,location:r});return typeof o=="function"?o(i):typeof o=="string"?this.beans.expressionSvc?.evaluate(o,i)??null:""}else{if(e.headerName!=null)return e.headerName;if(e.field)return $f(e.field)}return""}},GP=class extends F{constructor(){super(...arguments),this.beanName="colViewport",this.colsWithinViewport=[],this.headerColsWithinViewport=[],this.colsWithinViewportHash="",this.rowsOfHeadersToRenderLeft={},this.rowsOfHeadersToRenderRight={},this.rowsOfHeadersToRenderCenter={},this.columnsToRenderLeft=[],this.columnsToRenderRight=[],this.columnsToRenderCenter=[]}wireBeans(e){this.visibleCols=e.visibleCols,this.colModel=e.colModel}postConstruct(){this.suppressColumnVirtualisation=this.gos.get("suppressColumnVirtualisation")}getScrollPosition(){return this.scrollPosition}setScrollPosition(e,t,a=!1){const{visibleCols:n}=this,r=n.isBodyWidthDirty;if(!(e===this.scrollWidth&&t===this.scrollPosition&&!r)){if(this.scrollWidth=e,this.scrollPosition=t,n.isBodyWidthDirty=!0,this.gos.get("enableRtl")){const i=n.bodyWidth;this.viewportLeft=i-t-e,this.viewportRight=i-t}else this.viewportLeft=t,this.viewportRight=e+t;this.colModel.ready&&this.checkViewportColumns(a)}}getColumnHeadersToRender(e){switch(e){case"left":return this.columnsToRenderLeft;case"right":return this.columnsToRenderRight;default:return this.columnsToRenderCenter}}getHeadersToRender(e,t){let a;switch(e){case"left":a=this.rowsOfHeadersToRenderLeft[t];break;case"right":a=this.rowsOfHeadersToRenderRight[t];break;default:a=this.rowsOfHeadersToRenderCenter[t];break}return a??[]}extractViewportColumns(){const e=this.visibleCols.centerCols;this.isColumnVirtualisationSuppressed()?(this.colsWithinViewport=e,this.headerColsWithinViewport=e):(this.colsWithinViewport=e.filter(this.isColumnInRowViewport.bind(this)),this.headerColsWithinViewport=e.filter(this.isColumnInHeaderViewport.bind(this)))}isColumnVirtualisationSuppressed(){return this.suppressColumnVirtualisation||this.viewportRight===0}clear(){this.rowsOfHeadersToRenderLeft={},this.rowsOfHeadersToRenderRight={},this.rowsOfHeadersToRenderCenter={},this.colsWithinViewportHash=""}isColumnInHeaderViewport(e){return e.isAutoHeaderHeight()||VP(e)?!0:this.isColumnInRowViewport(e)}isColumnInRowViewport(e){if(e.isAutoHeight())return!0;const t=e.getLeft()||0,a=t+e.getActualWidth(),n=this.viewportLeft-200,r=this.viewportRight+200,o=tr&&a>r;return!o&&!i}getViewportColumns(){const{leftCols:e,rightCols:t}=this.visibleCols;return this.colsWithinViewport.concat(e).concat(t)}getColsWithinViewport(e){if(!this.colModel.colSpanActive)return this.colsWithinViewport;const t=o=>{const i=o.getLeft();return A(i)&&i>this.viewportLeft},a=this.isColumnVirtualisationSuppressed()?void 0:this.isColumnInRowViewport.bind(this),{visibleCols:n}=this,r=n.centerCols;return n.getColsForRow(e,r,a,t)}checkViewportColumns(e=!1){this.extractViewport()&&this.eventSvc.dispatchEvent({type:"virtualColumnsChanged",afterScroll:e})}calculateHeaderRows(){const{leftCols:e,rightCols:t}=this.visibleCols;this.columnsToRenderLeft=e,this.columnsToRenderRight=t,this.columnsToRenderCenter=this.colsWithinViewport;const a=n=>{const r=new Set,o={};for(const i of n){let s=i.getParent();const l=i.isSpanHeaderHeight();for(;s&&!r.has(s);){if(l&&s.isPadding()){s=s.getParent();continue}const d=s.getProvidedColumnGroup().getLevel();o[d]??(o[d]=[]),o[d].push(s),r.add(s),s=s.getParent()}}return o};this.rowsOfHeadersToRenderLeft=a(e),this.rowsOfHeadersToRenderRight=a(t),this.rowsOfHeadersToRenderCenter=a(this.headerColsWithinViewport)}extractViewport(){const e=n=>`${n.getId()}-${n.getPinned()||"normal"}`;this.extractViewportColumns();const t=this.getViewportColumns().map(e).join("#"),a=this.colsWithinViewportHash!==t;return a&&(this.colsWithinViewportHash=t,this.calculateHeaderRows()),a}};function VP(e){for(;e;){if(e.isAutoHeaderHeight())return!0;e=e.getParent()}return!1}var BP=class extends F{constructor(){super(...arguments),this.beanName="agCompUtils"}adaptFunction(e,t){if(!e.cellRenderer)return null;class a{refresh(){return!1}getGui(){return this.eGui}init(r){const o=t(r),i=typeof o;if(i==="string"||i==="number"||i==="boolean"){this.eGui=Zs(""+o+"");return}if(o==null){this.eGui=re({tag:"span"});return}this.eGui=o}}return a}},NP={moduleName:"CellRendererFunction",version:N,beans:[BP]},NC=class extends _e{constructor(){super(...arguments),this.beanName="registry"}registerDynamicBeans(e){if(e){this.dynamicBeans??(this.dynamicBeans={});for(const t of Object.keys(e))this.dynamicBeans[t]=e[t]}}createDynamicBean(e,t,...a){if(!this.dynamicBeans)throw new Error(this.getDynamicError(e,!0));const n=this.dynamicBeans[e];if(n==null){if(t)throw new Error(this.getDynamicError(e,!1));return}return new n(...a)}};function HP(e){return typeof e=="object"&&!!e.getComp}var qP=class extends NC{constructor(){super(...arguments),this.agGridDefaults={},this.agGridDefaultOverrides={},this.jsComps={},this.selectors={},this.icons={}}postConstruct(){const e=this.gos.get("components");if(e!=null)for(const t of Object.keys(e))this.jsComps[t]=e[t]}registerModule(e){const{icons:t,userComponents:a,dynamicBeans:n,selectors:r}=e;if(a){const o=(i,s,l,c)=>{this.agGridDefaults[i]=s,(l||c)&&(this.agGridDefaultOverrides[i]={params:l,processParams:c})};for(const i of Object.keys(a)){let s=a[i];if(HP(s)&&(s=s.getComp(this.beans)),typeof s=="object"){const{classImp:l,params:c,processParams:d}=s;o(i,l,c,d)}else o(i,s)}}this.registerDynamicBeans(n);for(const o of r??[])this.selectors[o.selector]=o;if(t)for(const o of Object.keys(t))this.icons[o]=t[o]}getUserComponent(e,t){const a=(s,l,c,d)=>({componentFromFramework:l,component:s,params:c,processParams:d}),{frameworkOverrides:n}=this.beans,r=n.frameworkComponent(t,this.gos.get("components"));if(r!=null)return a(r,!0);const o=this.jsComps[t];if(o){const s=n.isFrameworkComponent(o);return a(o,s)}const i=this.agGridDefaults[t];if(i){const s=this.agGridDefaultOverrides[t];return a(i,!1,s?.params,s?.processParams)}return this.beans.validation?.missingUserComponent(e,t,this.agGridDefaults,this.jsComps),null}getSelector(e){return this.selectors[e]}getIcon(e){return this.icons[e]}getDynamicError(e,t){return t?Rt(279,{name:e}):this.beans.validation?.missingDynamicBean(e)??Rt(256)}},WP=23,UP=class extends F{constructor(){super(...arguments),this.beanName="ctrlsSvc",this.params={},this.ready=!1,this.readyCallbacks=[]}postConstruct(){this.addEventListener("ready",()=>{if(this.updateReady(),this.ready){for(const e of this.readyCallbacks)e(this.params);this.readyCallbacks.length=0}},this.beans.frameworkOverrides.runWhenReadyAsync?.()??!1)}updateReady(){const e=Object.values(this.params);this.ready=e.length===WP&&e.every(t=>t?.isAlive()??!1)}whenReady(e,t){this.ready?t(this.params):this.readyCallbacks.push(t),e.addDestroyFunc(()=>{const a=this.readyCallbacks.indexOf(t);a>=0&&this.readyCallbacks.splice(a,1)})}register(e,t){this.params[e]=t,this.updateReady(),this.ready&&this.dispatchLocalEvent({type:"ready"}),t.addDestroyFunc(()=>{this.updateReady()})}get(e){return this.params[e]}getGridBodyCtrl(){return this.params.gridBodyCtrl}getHeaderRowContainerCtrls(){const{leftHeader:e,centerHeader:t,rightHeader:a}=this.params;return[e,a,t]}getHeaderRowContainerCtrl(e){const t=this.params;switch(e){case"left":return t.leftHeader;case"right":return t.rightHeader;default:return t.centerHeader}}getScrollFeature(){return this.getGridBodyCtrl().scrollFeature}},jP=':where([class^=ag-]),:where([class^=ag-]):after,:where([class^=ag-]):before{box-sizing:border-box}:where([class^=ag-]):where(button){color:inherit}:where([class^=ag-]):where(div,span,label):focus-visible{box-shadow:inset var(--ag-focus-shadow);outline:none;&:where(.invalid){box-shadow:inset var(--ag-focus-error-shadow)}}:where([class^=ag-]) ::-ms-clear{display:none}.ag-hidden{display:none!important}.ag-invisible{visibility:hidden!important}.ag-tab-guard{display:block;height:0;position:absolute;width:0}.ag-tab-guard-top{top:1px}.ag-tab-guard-bottom{bottom:1px}.ag-measurement-container{height:0;overflow:hidden;visibility:hidden;width:0}.ag-measurement-element-border{display:inline-block}.ag-measurement-element-border:before{border-left:var(--ag-internal-measurement-border);content:"";display:block}.ag-popup-child{top:0;z-index:5}.ag-popup-child:where(:not(.ag-tooltip-custom)){box-shadow:var(--ag-popup-shadow)}.ag-input-wrapper,.ag-picker-field-wrapper{align-items:center;display:flex;flex:1 1 auto;line-height:normal;position:relative}.ag-input-field{align-items:center;display:flex;flex-direction:row}.ag-input-field-input:where(:not([type=checkbox],[type=radio])){flex:1 1 auto;min-width:0;width:100%}.ag-chart,.ag-dnd-ghost,.ag-external,.ag-popup,.ag-root-wrapper{cursor:default;line-height:normal;white-space:normal;-webkit-font-smoothing:antialiased;background-color:var(--ag-background-color);color:var(--ag-text-color);color-scheme:var(--ag-browser-color-scheme);font-family:var(--ag-font-family);font-size:var(--ag-font-size);font-weight:var(--ag-font-weight);--ag-indentation-level:0}:where(.ag-icon):before{align-items:center;background-color:currentcolor;color:inherit;content:"";display:flex;font-family:inherit;font-size:var(--ag-icon-size);font-style:normal;font-variant:normal;height:var(--ag-icon-size);justify-content:center;line-height:var(--ag-icon-size);-webkit-mask-size:contain;mask-size:contain;text-transform:none;width:var(--ag-icon-size)}.ag-icon{background-position:50%;background-repeat:no-repeat;background-size:contain;color:var(--ag-icon-color);display:block;height:var(--ag-icon-size);position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:var(--ag-icon-size)}.ag-disabled .ag-icon,[disabled] .ag-icon{opacity:.5}.ag-icon-grip.ag-disabled,.ag-icon-grip[disabled]{opacity:.35}.ag-icon-loading{animation-duration:1s;animation-iteration-count:infinite;animation-name:spin;animation-timing-function:linear}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ag-resizer{pointer-events:none;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1}:where(.ag-resizer){&.ag-resizer-topLeft{cursor:nwse-resize;height:5px;left:0;top:0;width:5px}&.ag-resizer-top{cursor:ns-resize;height:5px;left:5px;right:5px;top:0}&.ag-resizer-topRight{cursor:nesw-resize;height:5px;right:0;top:0;width:5px}&.ag-resizer-right{bottom:5px;cursor:ew-resize;right:0;top:5px;width:5px}&.ag-resizer-bottomRight{bottom:0;cursor:nwse-resize;height:5px;right:0;width:5px}&.ag-resizer-bottom{bottom:0;cursor:ns-resize;height:5px;left:5px;right:5px}&.ag-resizer-bottomLeft{bottom:0;cursor:nesw-resize;height:5px;left:0;width:5px}&.ag-resizer-left{bottom:5px;cursor:ew-resize;left:0;top:5px;width:5px}}.ag-menu{background-color:var(--ag-menu-background-color);border:var(--ag-menu-border);border-radius:var(--ag-border-radius);box-shadow:var(--ag-menu-shadow);color:var(--ag-menu-text-color);max-height:100%;overflow-y:auto;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}',Ag=typeof window!="object"||!window?.document?.fonts?.forEach,Ql=!1,Dr=(e,t,a,n,r,o,i=!1)=>{if(Ag||Ql)return;let s=e;n&&(s=`@layer ${CSS.escape(n).replaceAll("\\.",".")} { ${e} }`);let l=Ha.map.get(t);if(l||(l=[],Ha.map.set(t,l)),l.some(g=>g.injectedCss===s))return;const c=document.createElement("style");o&&c.setAttribute("nonce",o),c.dataset.agCss=a,c.dataset.agCssVersion=N,c.textContent=s;const d={rawCss:e,injectedCss:s,el:c,priority:r,isParams:i};let u;for(const g of l){if(g.priority>r)break;u=g}if(u){u.el.after(c);const g=l.indexOf(u);l.splice(g+1,0,d)}else t.nodeName==="STYLE"?t.after(c):t.insertBefore(c,t.querySelector(":not(title, meta)")),l.push(d)},HC=(e,t,a,n)=>{Dr(jP,e,"shared",t,0,a),n?.forEach((r,o)=>r.forEach(i=>Dr(i,e,o,t,0,a)))},_P=(e,t,a,n,r,o)=>{if(Ag||Ql)return;const i=Ha.grids.get(e);i?i.paramsCss=t:Ha.grids.set(e,{styleContainer:n,paramsCss:t}),Tg(n),t&&a&&Dr(t,n,a,r,2,o,!0)},KP=e=>{const t=Ha.grids.get(e)?.styleContainer;if(!t)return;Ha.grids.delete(e),Array.from(Ha.grids.values()).some(n=>n.styleContainer===t)?Tg(t):(Tg(t,!0),Ha.map.delete(t))},Tg=(e,t=!1)=>{const a=new Set;for(const r of Ha.grids.values())r.styleContainer===e&&a.add(r.paramsCss);const n=Ha.map.get(e)??[];for(let r=n.length-1;r>=0;r--)(t||n[r].isParams&&!a.has(n[r].rawCss))&&(n[r].el.remove(),n.splice(r,1))},qC=()=>{const e=globalThis.agStyleInjectionVersions??(globalThis.agStyleInjectionVersions=new Map);let t=e.get(N);return t||(t={map:new WeakMap,grids:new Map,paramsId:0},e.set(N,t)),t},Ha=qC(),ge=e=>new WC(e),Bn="$default",YP=0,WC=class{constructor({feature:e,params:t,modeParams:a={},css:n,cssImports:r}){this.feature=e,this.css=n,this.cssImports=r,this.modeParams={[Bn]:{...a[Bn]??{},...t??{}},...a}}use(e,t,a){let n=this._inject;if(n==null){let{css:r}=this;if(r){const o=`ag-theme-${this.feature??"part"}-${++YP}`;typeof r=="function"&&(r=r()),r=`:where(.${o}) {
${r}
}
`;for(const i of this.cssImports??[])r=`@import url(${JSON.stringify(i)});
${r}`;n={css:r,class:o}}else n=!1;this._inject=n}return n&&e&&Dr(n.css,e,n.class,t,1,a),n?n.class:!1}},QP=e=>e.replace(/[A-Z]|\d+/g,t=>`-${t}`).toLowerCase(),Zl=e=>`--ag-${QP(e)}`,qa=e=>`var(${Zl(e)})`,ZP=(e,t,a)=>Math.max(t,Math.min(a,e)),XP=e=>{const t=new Map;return a=>{const n=a;return t.has(n)||t.set(n,e(a)),t.get(n)}},Zt=e=>({ref:"accentColor",mix:e}),Ve=e=>({ref:"foregroundColor",mix:e}),Me=e=>({ref:"foregroundColor",mix:e,onto:"backgroundColor"}),JP=e=>({ref:"foregroundColor",mix:e,onto:"headerBackgroundColor"}),Ee={ref:"backgroundColor"},Ot={ref:"foregroundColor"},Ie={ref:"accentColor"},Ir={backgroundColor:"#fff",foregroundColor:"#181d1f",borderColor:Ve(.15),chromeBackgroundColor:Me(.02),browserColorScheme:"light"},UC={...Ir,textColor:Ot,accentColor:"#2196f3",invalidColor:"#e02525",fontFamily:["-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue","sans-serif"],subtleTextColor:{ref:"textColor",mix:.5},borderWidth:1,borderRadius:4,spacing:8,fontSize:14,fontWeight:"inherit",focusShadow:{spread:3,color:Zt(.5)},focusErrorShadow:{spread:3,color:{ref:"invalidColor",onto:"backgroundColor",mix:.5}},popupShadow:"0 0 16px #00000026",cardShadow:"0 1px 4px 1px #00000018",dropdownShadow:{ref:"cardShadow"},listItemHeight:{calc:"max(iconSize, dataFontSize) + widgetVerticalSpacing"},dragAndDropImageBackgroundColor:Ee,dragAndDropImageBorder:!0,dragAndDropImageNotAllowedBorder:{color:{ref:"invalidColor",onto:"dragAndDropImageBackgroundColor",mix:.5}},dragAndDropImageShadow:{ref:"popupShadow"},iconSize:16,iconColor:"inherit",toggleButtonWidth:28,toggleButtonHeight:18,toggleButtonOnBackgroundColor:Ie,toggleButtonOffBackgroundColor:Me(.3),toggleButtonSwitchBackgroundColor:Ee,toggleButtonSwitchInset:2,tooltipBackgroundColor:{ref:"chromeBackgroundColor"},tooltipErrorBackgroundColor:{ref:"invalidColor",onto:"backgroundColor",mix:.1},tooltipTextColor:{ref:"textColor"},tooltipErrorTextColor:{ref:"invalidColor"},tooltipBorder:!0,tooltipErrorBorder:{color:{ref:"invalidColor",onto:"backgroundColor",mix:.25}},panelBackgroundColor:Ee,panelTitleBarHeight:{ref:"headerHeight"},panelTitleBarBackgroundColor:{ref:"headerBackgroundColor"},panelTitleBarIconColor:{ref:"headerTextColor"},panelTitleBarTextColor:{ref:"headerTextColor"},panelTitleBarFontFamily:{ref:"headerFontFamily"},panelTitleBarFontSize:{ref:"headerFontSize"},panelTitleBarFontWeight:{ref:"headerFontWeight"},panelTitleBarBorder:!0,dialogShadow:{ref:"popupShadow"},dialogBorder:{color:Ve(.2)},widgetContainerHorizontalPadding:{calc:"spacing * 1.5"},widgetContainerVerticalPadding:{calc:"spacing * 1.5"},widgetHorizontalSpacing:{calc:"spacing * 1.5"},widgetVerticalSpacing:{ref:"spacing"},dataFontSize:{ref:"fontSize"},headerBackgroundColor:{ref:"chromeBackgroundColor"},headerFontFamily:{ref:"fontFamily"},headerFontSize:{ref:"fontSize"},headerFontWeight:500,headerTextColor:{ref:"textColor"},headerHeight:{calc:"max(iconSize, dataFontSize) + spacing * 4 * headerVerticalPaddingScale"},headerVerticalPaddingScale:1,menuBorder:{color:Ve(.2)},menuBackgroundColor:Me(.03),menuTextColor:Me(.95),menuShadow:{ref:"popupShadow"},menuSeparatorColor:{ref:"borderColor"}},$P=["colorScheme","color","length","scale","borderStyle","border","shadow","image","fontFamily","fontWeight","duration"],jC=XP(e=>(e=e.toLowerCase(),$P.find(t=>e.endsWith(t.toLowerCase()))??"length")),Xl=e=>typeof e=="object"&&e?.ref?qa(e.ref):typeof e=="string"?e:typeof e=="number"?String(e):!1,Jl=e=>{if(typeof e=="string")return e;if(typeof e=="object"&&e&&"ref"in e){const t=qa(e.ref);return e.mix==null?t:`color-mix(in srgb, ${e.onto?qa(e.onto):"transparent"}, ${t} ${ZP(e.mix*100,0,100)}%)`}return!1},eA=Xl,bo=e=>typeof e=="string"?e:typeof e=="number"?`${e}px`:typeof e=="object"&&e&&"calc"in e?`calc(${e.calc.replace(/ ?[*/+] ?/g," $& ").replace(/-?\b[a-z][a-z0-9]*\b(?![-(])/gi,a=>a[0]==="-"?a:" "+qa(a)+" ")})`:typeof e=="object"&&e&&"ref"in e?qa(e.ref):!1,tA=Xl,Dg=(e,t)=>typeof e=="string"?e:e===!0?Dg({},t):e===!1?t==="columnBorder"?Dg({color:"transparent"},t):"none":typeof e=="object"&&e&&"ref"in e?qa(e.ref):KC(e.style??"solid")+" "+bo(e.width??{ref:"borderWidth"})+" "+Jl(e.color??{ref:"borderColor"}),_C=e=>[bo(e.offsetX??0),bo(e.offsetY??0),bo(e.radius??0),bo(e.spread??0),Jl(e.color??{ref:"foregroundColor"}),...e.inset?["inset"]:[]].join(" "),aA=e=>typeof e=="string"?e:e===!1?"none":typeof e=="object"&&e&&"ref"in e?qa(e.ref):Array.isArray(e)?e.map(_C).join(", "):_C(e),KC=Xl,Ig=e=>typeof e=="string"?e.includes(",")?e:YC(e):typeof e=="object"&&e&&"googleFont"in e?Ig(e.googleFont):typeof e=="object"&&e&&"ref"in e?qa(e.ref):Array.isArray(e)?e.map(t=>(typeof t=="object"&&"googleFont"in t&&(t=t.googleFont),YC(t))).join(", "):!1,YC=e=>/^[\w-]+$|\w\(/.test(e)?e:JSON.stringify(e),QC=Xl,Lg=e=>typeof e=="string"?e:typeof e=="object"&&e&&"url"in e?`url(${JSON.stringify(e.url)})`:typeof e=="object"&&e&&"svg"in e?Lg({url:`data:image/svg+xml,${encodeURIComponent(e.svg)}`}):typeof e=="object"&&e&&"ref"in e?qa(e.ref):!1,nA=(e,t,a)=>typeof e=="string"?e:typeof e=="number"?(e>=10&&a?.warn(104,{value:e,param:t}),`${e}s`):typeof e=="object"&&e&&"ref"in e?qa(e.ref):!1,rA={color:Jl,colorScheme:eA,length:bo,scale:tA,border:Dg,borderStyle:KC,shadow:aA,image:Lg,fontFamily:Ig,fontWeight:QC,duration:nA},ZC=(e,t,a)=>{const n=jC(e);return rA[n](t,e,a)},oA=e=>{if(!(e instanceof zg))throw new Error("theme is not an object created by createTheme");return e},XC=(e,t)=>new zg({themeLogger:e,overridePrefix:t}),zg=class Uk{constructor(t,a=[]){this.params=t,this.parts=a}withPart(t){return typeof t=="function"&&(t=t()),t instanceof WC?new Uk(this.params,[...this.parts,t]):(this.params.themeLogger.preInitErr(259,"Invalid part",{part:t}),this)}withoutPart(t){return this.withPart(ge({feature:t}))}withParams(t,a=Bn){return this.withPart(ge({modeParams:{[a]:t}}))}_startUse({styleContainer:t,cssLayer:a,nonce:n,loadThemeGoogleFonts:r,moduleCss:o}){if(Ag||Ql)return;sA(),HC(t,a,n,o);const i=iA(this);if(i.length>0)for(const s of i)r&&lA(s,n);for(const s of this.parts)s.use(t,a,n)}_getCssClass(){return Ql?"ag-theme-quartz":this._cssClassCache??(this._cssClassCache=JC(this.parts).map(t=>t.use(void 0,void 0,void 0)).filter(Boolean).concat(this._getParamsClassName()).join(" "))}_getParamsClassName(){return this._paramsClassName??(this._paramsClassName=`ag-theme-params-${++qC().paramsId}`)}_getModeParams(){let t=this._paramsCache;if(!t){const a={[Bn]:{...UC}};for(const n of JC(this.parts))for(const r of Object.keys(n.modeParams)){const o=n.modeParams[r];if(o){const i=a[r]??(a[r]={}),s=new Set;for(const l of Object.keys(o)){const c=o[l];c!==void 0&&(i[l]=c,s.add(l))}if(r===Bn)for(const l of Object.keys(a)){const c=a[l];if(l!==Bn)for(const d of s)delete c[d]}}}this._paramsCache=t=a}return t}_getParamsCss(){if(!this._paramsCssCache){let t="",a="";const n=this._getModeParams(),{overridePrefix:r,themeLogger:o}=this.params,i=r?`--ag-${r}-`:void 0;for(const c of Object.keys(n)){const d=n[c];if(c!==Bn){const g=`:where([data-ag-theme-mode="${typeof CSS=="object"?CSS.escape(c):c}"]) & {
`;t+=g,a+=g}for(const u of Object.keys(d).sort()){const g=d[u],h=ZC(u,g,o);if(h===!1)o.error(107,{key:u,value:g});else{const p=Zl(u),f=i?p.replace("--ag-",i):p,m=p.replace("--ag-","--ag-inherited-");t+=` ${p}: var(${m}, ${h});
`,a+=` ${m}: var(${f});
`}}c!==Bn&&(t+=`}
`,a+=`}
`)}const s=`:where(.${this._getParamsClassName()})`;let l=`${s} {
${t}}
`;l+=`:has(> ${s}):not(${s}) {
${a}}
`,this._paramsCssCache=l}return this._paramsCssCache}},JC=e=>{const t=new Map;for(const n of e)t.set(n.feature,n);const a=[];for(const n of e)(!n.feature||t.get(n.feature)===n)&&a.push(n);return a},iA=e=>{const t=new Set,a=o=>{if(Array.isArray(o))o.forEach(a);else{const i=o?.googleFont;typeof i=="string"&&t.add(i)}};return Object.values(e._getModeParams()).flatMap(o=>Object.values(o)).forEach(a),Array.from(t).sort()},$C=!1,sA=()=>{if(!$C){$C=!0;for(const e of Array.from(document.head.querySelectorAll('style[data-ag-scope="legacy"]')))e.remove()}},lA=async(e,t)=>{const a=`@import url('https://${cA}/css2?family=${encodeURIComponent(e)}:wght@100;200;300;400;500;600;700;800;900&display=swap');
`;Dr(a,document.head,`googleFont:${e}`,void 0,0,t)},cA="fonts.googleapis.com",eb={changeKey:"listItemHeight",type:"length",defaultValue:24},tb=class extends _e{constructor(){super(...arguments),this.beanName="environment",this.sizeEls=new Map,this.lastKnownValues=new Map,this.sizesMeasured=!1,this.globalCSS=[]}wireBeans(e){this.eRootDiv=e.eRootDiv}postConstruct(){const{gos:e,eRootDiv:t}=this;e.setInstanceDomData(t);const a=e.get("themeStyleContainer"),n=typeof ShadowRoot<"u",r=n&&t.getRootNode()instanceof ShadowRoot;this.eStyleContainer=(typeof a=="function"?a():a)??(r?t:document.head),!a&&!r&&n&&dA(t,this.shadowRootError.bind(this),this.addDestroyFunc.bind(this)),this.cssLayer=e.get("themeCssLayer"),this.styleNonce=e.get("styleNonce"),this.addManagedPropertyListener("theme",()=>this.handleThemeChange()),this.handleThemeChange(),this.getSizeEl(eb),this.initVariables(),this.addDestroyFunc(()=>KP(this)),this.mutationObserver=new MutationObserver(()=>{this.fireStylesChangedEvent("theme")}),this.addDestroyFunc(()=>this.mutationObserver.disconnect())}applyThemeClasses(e,t=[]){const{theme:a}=this,n=a?a._getCssClass():this.applyLegacyThemeClasses();for(const r of Array.from(e.classList))r.startsWith("ag-theme-")&&e.classList.remove(r);if(n){const r=e.className;e.className=`${r}${r?" ":""}${n}${t?.length?" "+t.join(" "):""}`}}applyLegacyThemeClasses(){let e="";this.mutationObserver.disconnect();let t=this.eRootDiv;for(;t;){let a=!1;for(const n of Array.from(t.classList))n.startsWith("ag-theme-")&&(a=!0,e=e?`${e} ${n}`:n);a&&this.mutationObserver.observe(t,{attributes:!0,attributeFilter:["class"]}),t=t.parentElement}return e}addGlobalCSS(e,t){this.theme?Dr(e,this.eStyleContainer,t,this.cssLayer,0,this.styleNonce):this.globalCSS.push([e,t])}getDefaultListItemHeight(){return this.getCSSVariablePixelValue(eb)}getCSSVariablePixelValue(e){const t=this.lastKnownValues.get(e);if(t!=null)return t;const a=this.measureSizeEl(e);return a==="detached"||a==="no-styles"?(e.cacheDefault&&this.lastKnownValues.set(e,e.defaultValue),e.defaultValue):(this.lastKnownValues.set(e,a),a)}measureSizeEl(e){const t=this.getSizeEl(e);if(t.offsetParent==null)return"detached";const a=t.offsetWidth;return a===Og?"no-styles":(this.sizesMeasured=!0,a)}getMeasurementContainer(){let e=this.eMeasurementContainer;return e||(e=this.eMeasurementContainer=je({tag:"div",cls:"ag-measurement-container"}),this.eRootDiv.appendChild(e)),e}getSizeEl(e){let t=this.sizeEls.get(e);if(t)return t;const a=this.getMeasurementContainer();t=je({tag:"div"});const n=this.setSizeElStyles(t,e);a.appendChild(t),this.sizeEls.set(e,t);const{type:r,noWarn:o}=e;if(r!=="length"&&r!=="border")return t;let i=this.measureSizeEl(e);i==="no-styles"&&!o&&this.varError(n,e.defaultValue);const s=Ca(this.beans,t,()=>{const l=this.measureSizeEl(e);l==="detached"||l==="no-styles"||(this.lastKnownValues.set(e,l),l!==i&&(i=l,this.fireStylesChangedEvent(e.changeKey)))});return this.addDestroyFunc(()=>s()),t}setSizeElStyles(e,t){const{changeKey:a,type:n}=t;let r=Zl(a);return n==="border"?(r.endsWith("-width")&&(r=r.slice(0,-6)),e.className="ag-measurement-element-border",e.style.setProperty("--ag-internal-measurement-border",`var(${r}, solid ${Og}px)`)):e.style.width=`var(${r}, ${Og}px)`,r}handleThemeChange(){const{gos:e,theme:t}=this,a=e.get("theme");let n;if(a==="legacy")n=void 0;else{const r=a??this.getDefaultTheme();r instanceof zg?n=r:this.themeError(r)}n!==t&&this.handleNewTheme(n),this.postProcessThemeChange(n,a)}handleNewTheme(e){const{gos:t,eRootDiv:a,globalCSS:n}=this,r=this.getAdditionalCss();if(e){HC(this.eStyleContainer,this.cssLayer,this.styleNonce,r);for(const[o,i]of n)Dr(o,this.eStyleContainer,i,this.cssLayer,0,this.styleNonce);n.length=0}this.theme=e,e?._startUse({loadThemeGoogleFonts:t.get("loadThemeGoogleFonts"),styleContainer:this.eStyleContainer,cssLayer:this.cssLayer,nonce:this.styleNonce,moduleCss:r}),_P(this,e?._getParamsCss()??null,e?._getParamsClassName()??null,this.eStyleContainer,this.cssLayer,this.styleNonce),this.applyThemeClasses(a),this.fireStylesChangedEvent("theme")}fireStylesChangedEvent(e){this.eventSvc.dispatchEvent({type:"stylesChanged",[`${e}Changed`]:!0})}},Og=15538,dA=(e,t,a)=>{let n=60;const r=setInterval(()=>{typeof ShadowRoot<"u"&&e.getRootNode()instanceof ShadowRoot&&(t(),clearInterval(r)),(e.isConnected||--n<0)&&clearInterval(r)},1e3);a(()=>clearInterval(r))},uA='.ag-aria-description-container{border:0;z-index:9999;clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.ag-unselectable{-webkit-user-select:none;-moz-user-select:none;user-select:none}.ag-selectable{-webkit-user-select:text;-moz-user-select:text;user-select:text}.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-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-bottom-viewport,.ag-sticky-top-viewport{flex:1 1 auto;height:100%;min-width:0;overflow:hidden;position:relative}.ag-viewport{position:relative}.ag-spanning-container{position:absolute;top:0;z-index:1}.ag-body-viewport,.ag-center-cols-viewport,.ag-floating-bottom-viewport,.ag-floating-top-viewport,.ag-header-viewport,.ag-sticky-bottom-viewport,.ag-sticky-top-viewport{overflow-x:auto;-ms-overflow-style:none!important;scrollbar-width:none!important}.ag-body-viewport::-webkit-scrollbar,.ag-center-cols-viewport::-webkit-scrollbar,.ag-floating-bottom-viewport::-webkit-scrollbar,.ag-floating-top-viewport::-webkit-scrollbar,.ag-header-viewport::-webkit-scrollbar,.ag-sticky-bottom-viewport::-webkit-scrollbar,.ag-sticky-top-viewport::-webkit-scrollbar{display:none!important}.ag-body-viewport{display:flex;overflow-x:hidden;&:where(.ag-layout-normal){overflow-y:auto;-webkit-overflow-scrolling:touch}}.ag-floating-bottom-container,.ag-floating-top-container,.ag-sticky-bottom-container,.ag-sticky-top-container{min-height:1px}.ag-center-cols-viewport{min-height:100%;width:100%}.ag-body-horizontal-scroll-viewport{overflow-x:scroll}.ag-body-vertical-scroll-viewport{overflow-y:scroll}.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-left-sticky-bottom,.ag-pinned-right-cols-container,.ag-pinned-right-sticky-bottom,.ag-sticky-bottom-container,.ag-sticky-top-container{position:relative}.ag-floating-bottom-container,.ag-floating-top-container,.ag-header-container,.ag-pinned-left-floating-bottom,.ag-pinned-left-floating-top,.ag-pinned-right-floating-bottom,.ag-pinned-right-floating-top,.ag-sticky-bottom-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-bottom-full-width-container,.ag-sticky-top-full-width-container{pointer-events:none;position:absolute;top:0}:where(.ag-ltr) .ag-floating-bottom-full-width-container,:where(.ag-ltr) .ag-floating-top-full-width-container,:where(.ag-ltr) .ag-full-width-container,:where(.ag-ltr) .ag-sticky-bottom-full-width-container,:where(.ag-ltr) .ag-sticky-top-full-width-container{left:0}:where(.ag-rtl) .ag-floating-bottom-full-width-container,:where(.ag-rtl) .ag-floating-top-full-width-container,:where(.ag-rtl) .ag-full-width-container,:where(.ag-rtl) .ag-sticky-bottom-full-width-container,:where(.ag-rtl) .ag-sticky-top-full-width-container{right:0}.ag-full-width-container{width:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container{display:inline-block;height:100%;overflow:hidden;width:100%}.ag-body{display:flex;flex:1 1 auto;flex-direction:row!important;min-height:0;position:relative}.ag-body-horizontal-scroll,.ag-body-vertical-scroll{display:flex;min-height:0;min-width:0;position:relative;&:where(.ag-scrollbar-invisible){bottom:0;position:absolute;&:where(.ag-apple-scrollbar){opacity:0;transition:opacity .4s;visibility:hidden;&:where(.ag-scrollbar-active),&:where(.ag-scrollbar-scrolling){opacity:1;visibility:visible}}}}.ag-body-horizontal-scroll{width:100%;&:where(.ag-scrollbar-invisible){left:0;right:0}}.ag-body-vertical-scroll{height:100%;&:where(.ag-scrollbar-invisible){top:0;z-index:10}}:where(.ag-ltr) .ag-body-vertical-scroll{&:where(.ag-scrollbar-invisible){right:0}}:where(.ag-rtl) .ag-body-vertical-scroll{&:where(.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;&:where(.ag-scroller-corner){overflow-x:hidden}}:where(.ag-row-animation) .ag-row{transition:transform .4s,top .4s,opacity .2s;&:where(.ag-after-created){transition:transform .4s,top .4s,height .4s,opacity .2s}}:where(.ag-row-animation.ag-prevent-animation) .ag-row{transition:none!important;&:where(.ag-row.ag-after-created){transition:none!important}}:where(.ag-row-no-animation) .ag-row{transition:none}.ag-row-loading{align-items:center;display:flex}.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{align-items:center;display:flex}.ag-cell{display:inline-block;height:100%;position:absolute;white-space:nowrap;&:focus-visible{box-shadow:none}}.ag-cell-value{flex:1 1 auto}.ag-cell-value:not(.ag-allow-overflow),.ag-group-value{overflow:hidden;text-overflow:ellipsis}.ag-cell-wrap-text{white-space:normal;word-break:break-word}:where(.ag-cell) .ag-icon{display:inline-block;vertical-align:middle}.ag-floating-top{display:flex;overflow:hidden;position:relative;white-space:nowrap;width:100%}:where(.ag-floating-top:not(.ag-invisible)){border-bottom:var(--ag-pinned-row-border)}.ag-floating-bottom{display:flex;overflow:hidden;position:relative;white-space:nowrap;width:100%}:where(.ag-floating-bottom:not(.ag-invisible)){border-top:var(--ag-pinned-row-border)}.ag-sticky-bottom,.ag-sticky-top{background-color:var(--ag-data-background-color);display:flex;height:0;overflow:hidden;position:absolute;width:100%;z-index:1}.ag-sticky-bottom{box-sizing:content-box!important;:where(.ag-pinned-left-sticky-bottom),:where(.ag-pinned-right-sticky-bottom),:where(.ag-sticky-bottom-container){border-top:var(--ag-row-border);box-sizing:border-box}}.ag-opacity-zero{opacity:0!important}.ag-cell-label-container{align-items:center;display:flex;flex-direction:row-reverse;height:100%;justify-content:space-between;width:100%}:where(.ag-right-aligned-header){.ag-cell-label-container{flex-direction:row}.ag-header-cell-text{text-align:end}}.ag-column-group-icons{display:block;:where(.ag-column-group-closed-icon),:where(.ag-column-group-opened-icon){cursor:pointer}}:where(.ag-ltr){direction:ltr;.ag-body,.ag-body-horizontal-scroll,.ag-body-viewport,.ag-floating-bottom,.ag-floating-top,.ag-header,.ag-sticky-bottom,.ag-sticky-top{flex-direction:row}}:where(.ag-rtl){direction:rtl;text-align:right;.ag-body,.ag-body-horizontal-scroll,.ag-body-viewport,.ag-floating-bottom,.ag-floating-top,.ag-header,.ag-sticky-bottom,.ag-sticky-top{flex-direction:row-reverse}.ag-icon-contracted,.ag-icon-expanded,.ag-icon-tree-closed{display:block}}:where(.ag-rtl){.ag-icon-contracted,.ag-icon-expanded,.ag-icon-tree-closed{transform:rotate(180deg)}}:where(.ag-rtl){.ag-icon-contracted,.ag-icon-expanded,.ag-icon-tree-closed{transform:rotate(-180deg)}}:where(.ag-ltr) .ag-row:not(.ag-row-level-0) .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}:where(.ag-rtl) .ag-row:not(.ag-row-level-0) .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}:where(.ag-ltr) .ag-row-group-leaf-indent{margin-left:calc(var(--ag-cell-widget-spacing) + var(--ag-icon-size))}:where(.ag-rtl) .ag-row-group-leaf-indent{margin-right:calc(var(--ag-cell-widget-spacing) + var(--ag-icon-size))}.ag-value-change-delta{padding:0 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,.ag-spanned-row{color:var(--ag-cell-text-color);font-family:var(--ag-cell-font-family);font-size:var(--ag-cell-font-size);font-weight:var(--ag-cell-font-weight);white-space:nowrap;--ag-internal-content-line-height:calc(min(var(--ag-row-height), var(--ag-line-height, 1000px)) - var(--ag-internal-row-border-width, 1px) - 2px)}.ag-row{background-color:var(--ag-data-background-color);border-bottom:var(--ag-row-border);height:var(--ag-row-height);width:100%;&.ag-row-editing-invalid{background-color:var(--ag-full-row-edit-invalid-background-color)}}:where(.ag-body-vertical-content-no-gap>div>div>div,.ag-body-vertical-content-no-gap>div>div>div>div)>.ag-row-last{border-bottom-color:transparent}.ag-group-contracted,.ag-group-expanded{cursor:pointer}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group{border:1px solid transparent;line-height:var(--ag-internal-content-line-height);-webkit-font-smoothing:subpixel-antialiased}:where(.ag-ltr) .ag-cell{border-right:var(--ag-column-border)}:where(.ag-rtl) .ag-cell{border-left:var(--ag-column-border)}.ag-spanned-cell-wrapper{background-color:var(--ag-data-background-color);position:absolute}.ag-spanned-cell-wrapper>.ag-spanned-cell{display:block;position:relative}:where(.ag-ltr) :where(.ag-body-horizontal-content-no-gap) .ag-column-last{border-right-color:transparent}:where(.ag-rtl) :where(.ag-body-horizontal-content-no-gap) .ag-column-last{border-left-color:transparent}.ag-cell-wrapper{align-items:center;display:flex;>:where(:not(.ag-cell-value,.ag-group-value)){align-items:center;display:flex;height:var(--ag-internal-content-line-height)}&:where(.ag-row-group){align-items:flex-start}:where(.ag-full-width-row) &:where(.ag-row-group){align-items:center;height:100%}}:where(.ag-ltr) .ag-cell-wrapper{padding-left:calc(var(--ag-indentation-level)*var(--ag-row-group-indent-size))}:where(.ag-rtl) .ag-cell-wrapper{padding-right:calc(var(--ag-indentation-level)*var(--ag-row-group-indent-size))}:where(.ag-cell-wrap-text:not(.ag-cell-auto-height)) .ag-cell-wrapper{align-items:normal;height:100%;:where(.ag-cell-value){height:100%}}:where(.ag-ltr) .ag-row>.ag-cell-wrapper.ag-row-group{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*var(--ag-indentation-level))}:where(.ag-rtl) .ag-row>.ag-cell-wrapper.ag-row-group{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*var(--ag-indentation-level))}.ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-cell-range-single-cell,.ag-cell-range-single-cell.ag-cell-range-handle,.ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-context-menu-open .ag-full-width-row.ag-row-focus .ag-cell-wrapper.ag-row-group,.ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group{border:1px solid;border-color:var(--ag-range-selection-border-color);border-style:var(--ag-range-selection-border-style);outline:initial}.ag-full-width-row.ag-row-focus:focus{box-shadow:none}:where(.ag-ltr) .ag-group-contracted,:where(.ag-ltr) .ag-group-expanded,:where(.ag-ltr) .ag-row-drag,:where(.ag-ltr) .ag-selection-checkbox{margin-right:var(--ag-cell-widget-spacing)}:where(.ag-rtl) .ag-group-contracted,:where(.ag-rtl) .ag-group-expanded,:where(.ag-rtl) .ag-row-drag,:where(.ag-rtl) .ag-selection-checkbox{margin-left:var(--ag-cell-widget-spacing)}.ag-drag-handle-disabled{opacity:.35;pointer-events:none}:where(.ag-ltr) .ag-group-child-count{margin-left:3px}:where(.ag-rtl) .ag-group-child-count{margin-right:3px}.ag-row-highlight-above:after,.ag-row-highlight-below:after,.ag-row-highlight-inside:after{background-color:var(--ag-row-drag-indicator-color);border-radius:calc(var(--ag-row-drag-indicator-width)/2);content:"";height:var(--ag-row-drag-indicator-width);pointer-events:none;position:absolute;width:calc(100% - 1px)}:where(.ag-ltr) .ag-row-highlight-above:after,:where(.ag-ltr) .ag-row-highlight-below:after,:where(.ag-ltr) .ag-row-highlight-inside:after{left:1px}:where(.ag-rtl) .ag-row-highlight-above:after,:where(.ag-rtl) .ag-row-highlight-below:after,:where(.ag-rtl) .ag-row-highlight-inside:after{right:1px}.ag-row-highlight-above:after{top:0}.ag-row-highlight-below:after{bottom:0}.ag-row-highlight-indent:after{display:block;width:auto}:where(.ag-ltr) .ag-row-highlight-indent:after{left:calc((var(--ag-cell-widget-spacing) + var(--ag-icon-size))*2 + var(--ag-cell-horizontal-padding) + var(--ag-row-highlight-level)*var(--ag-row-group-indent-size));right:1px}:where(.ag-rtl) .ag-row-highlight-indent:after{left:1px;right:calc((var(--ag-cell-widget-spacing) + var(--ag-icon-size))*2 + var(--ag-cell-horizontal-padding) + var(--ag-row-highlight-level)*var(--ag-row-group-indent-size))}.ag-row-highlight-inside:after{background-color:var(--ag-selected-row-background-color);border:1px solid var(--ag-range-selection-border-color);display:block;height:auto;inset:0;width:auto}.ag-body,.ag-floating-bottom,.ag-floating-top{background-color:var(--ag-data-background-color)}.ag-row-odd{background-color:var(--ag-odd-row-background-color)}.ag-row-selected:before{background-color:var(--ag-selected-row-background-color);content:"";display:block;inset:0;pointer-events:none;position:absolute}.ag-row-hover.ag-full-width-row.ag-row-group:before,.ag-row-hover:not(.ag-full-width-row):before{background-color:var(--ag-row-hover-color);content:"";display:block;inset:0;pointer-events:none;position:absolute}.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-row.ag-full-width-row.ag-row-group>*{position:relative}.ag-column-hover{background-color:var(--ag-column-hover-color)}.ag-header-range-highlight{background-color:var(--ag-range-header-highlight-color)}.ag-right-aligned-cell{font-variant-numeric:tabular-nums}:where(.ag-ltr) .ag-right-aligned-cell{text-align:right}:where(.ag-rtl) .ag-right-aligned-cell{text-align:left}.ag-right-aligned-cell .ag-cell-value,.ag-right-aligned-cell .ag-group-value{margin-left:auto}:where(.ag-ltr) .ag-cell:not(.ag-cell-inline-editing),:where(.ag-ltr) .ag-full-width-row .ag-cell-wrapper.ag-row-group{padding-left:calc(var(--ag-cell-horizontal-padding) - 1px + var(--ag-row-group-indent-size)*var(--ag-indentation-level));padding-right:calc(var(--ag-cell-horizontal-padding) - 1px)}:where(.ag-rtl) .ag-cell:not(.ag-cell-inline-editing),:where(.ag-rtl) .ag-full-width-row .ag-cell-wrapper.ag-row-group{padding-left:calc(var(--ag-cell-horizontal-padding) - 1px);padding-right:calc(var(--ag-cell-horizontal-padding) - 1px + var(--ag-row-group-indent-size)*var(--ag-indentation-level))}.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-details-row{background-color:var(--ag-data-background-color);padding:calc(var(--ag-spacing)*3.75)}.ag-layout-auto-height,.ag-layout-print{.ag-center-cols-container,.ag-center-cols-viewport{min-height:150px}}.ag-overlay-exporting-wrapper,.ag-overlay-loading-wrapper,.ag-overlay-modal-wrapper{background-color:var(--ag-modal-overlay-background-color)}.ag-skeleton-container{align-content:center;height:100%;width:100%}.ag-skeleton-effect{animation:ag-skeleton-loading 1.5s ease-in-out .5s infinite;background-color:var(--ag-row-loading-skeleton-effect-color);border-radius:.25rem;height:1em;width:100%}:where(.ag-ltr) .ag-right-aligned-cell .ag-skeleton-effect{margin-left:auto}:where(.ag-rtl) .ag-right-aligned-cell .ag-skeleton-effect{margin-right:auto}@keyframes ag-skeleton-loading{0%{background-color:var(--ag-row-loading-skeleton-effect-color)}50%{background-color:color-mix(in srgb,transparent,var(--ag-row-loading-skeleton-effect-color) 40%)}to{background-color:var(--ag-row-loading-skeleton-effect-color)}}.ag-loading{align-items:center;display:flex;height:100%}:where(.ag-ltr) .ag-loading{padding-left:var(--ag-cell-horizontal-padding)}:where(.ag-rtl) .ag-loading{padding-right:var(--ag-cell-horizontal-padding)}:where(.ag-ltr) .ag-loading-icon{padding-right:var(--ag-cell-widget-spacing)}:where(.ag-rtl) .ag-loading-icon{padding-left:var(--ag-cell-widget-spacing)}.ag-header{background-color:var(--ag-header-background-color);border-bottom:var(--ag-header-row-border);color:var(--ag-header-text-color);display:flex;font-family:var(--ag-header-font-family);font-size:var(--ag-header-font-size);font-weight:var(--ag-header-font-weight);overflow:hidden;white-space:nowrap;width:100%}.ag-header-row{height:var(--ag-header-height);position:absolute}.ag-floating-filter-button-button,.ag-header-cell-filter-button,.ag-header-cell-menu-button,.ag-header-expand-icon,.ag-panel-title-bar-button,:where(.ag-header-cell-sortable) .ag-header-cell-label,:where(.ag-header-group-cell-selectable) .ag-header-cell-comp-wrapper{cursor:pointer}:where(.ag-ltr) .ag-header-expand-icon{margin-left:4px}:where(.ag-rtl) .ag-header-expand-icon{margin-right:4px}.ag-header-row:where(:not(:first-child)){:where(.ag-header-cell:not(.ag-header-span-height.ag-header-span-total,.ag-header-parent-hidden)),:where(.ag-header-group-cell.ag-header-group-cell-with-group){border-top:var(--ag-header-row-border)}}.ag-header-row:where(:not(.ag-header-row-column-group)){overflow:hidden}:where(.ag-header.ag-header-allow-overflow) .ag-header-row{overflow:visible}.ag-header-cell{display:inline-flex;overflow:hidden}.ag-header-group-cell{contain:paint;display:flex}.ag-header-cell,.ag-header-group-cell{align-items:center;gap:var(--ag-cell-widget-spacing);height:100%;padding:0 var(--ag-cell-horizontal-padding);position:absolute}@property --ag-internal-moving-color{syntax:"";inherits:false;initial-value:transparent}@property --ag-internal-hover-color{syntax:"";inherits:false;initial-value:transparent}.ag-header-cell:where(:not(.ag-floating-filter)):before,.ag-header-group-cell:before{background-image:linear-gradient(var(--ag-internal-hover-color),var(--ag-internal-hover-color)),linear-gradient(var(--ag-internal-moving-color),var(--ag-internal-moving-color));content:"";inset:0;position:absolute;--ag-internal-moving-color:transparent;--ag-internal-hover-color:transparent;transition:--ag-internal-moving-color var(--ag-header-cell-background-transition-duration),--ag-internal-hover-color var(--ag-header-cell-background-transition-duration)}.ag-header-cell:where(:not(.ag-floating-filter)):where(:hover):before,.ag-header-group-cell:where(:hover):before{--ag-internal-hover-color:var(--ag-header-cell-hover-background-color)}.ag-header-cell:where(:not(.ag-floating-filter)):where(.ag-header-cell-moving):before,.ag-header-group-cell:where(.ag-header-cell-moving):before{--ag-internal-moving-color:var(--ag-header-cell-moving-background-color);--ag-internal-hover-color:var(--ag-header-cell-hover-background-color)}:where(.ag-header-cell:not(.ag-floating-filter)>*,.ag-header-group-cell>*){position:relative;z-index:1}.ag-header-cell-menu-button:where(:not(.ag-header-menu-always-show)){opacity:0;transition:opacity .2s}.ag-header-cell-filter-button,:where(.ag-header-cell.ag-header-active) .ag-header-cell-menu-button{opacity:1}.ag-header-cell-label,.ag-header-group-cell-label{align-items:center;align-self:stretch;display:flex;flex:1 1 auto;overflow:hidden;padding:5px 0}:where(.ag-ltr) .ag-sort-indicator-icon{padding-left:var(--ag-spacing)}:where(.ag-rtl) .ag-sort-indicator-icon{padding-right:var(--ag-spacing)}.ag-header-cell-label{text-overflow:ellipsis}.ag-header-group-cell-label.ag-sticky-label{flex:none;max-width:100%;overflow:visible;position:sticky}:where(.ag-ltr) .ag-header-group-cell-label.ag-sticky-label{left:var(--ag-cell-horizontal-padding)}:where(.ag-rtl) .ag-header-group-cell-label.ag-sticky-label{right:var(--ag-cell-horizontal-padding)}.ag-header-cell-text,.ag-header-group-text{overflow:hidden;text-overflow:ellipsis}.ag-header-cell-text{word-break:break-word}.ag-header-cell-comp-wrapper{width:100%}:where(.ag-header-group-cell) .ag-header-cell-comp-wrapper{display:flex}:where(.ag-header-cell:not(.ag-header-cell-auto-height)) .ag-header-cell-comp-wrapper{align-items:center;display:flex;height:100%}.ag-header-cell-wrap-text .ag-header-cell-comp-wrapper{white-space:normal}.ag-header-cell-comp-wrapper-limited-height>*{overflow:hidden}:where(.ag-right-aligned-header) .ag-header-cell-label{flex-direction:row-reverse}:where(.ag-header-cell:not(.ag-right-aligned-header)){.ag-header-col-ref{color:var(--ag-subtle-text-color)}}:where(.ag-ltr) :where(.ag-header-cell:not(.ag-right-aligned-header)){.ag-header-col-ref{margin-right:var(--ag-spacing)}.ag-header-label-icon,.ag-header-menu-icon{margin-left:var(--ag-spacing)}}:where(.ag-rtl) :where(.ag-header-cell:not(.ag-right-aligned-header)){.ag-header-col-ref{margin-left:var(--ag-spacing)}.ag-header-label-icon,.ag-header-menu-icon{margin-right:var(--ag-spacing)}}:where(.ag-header-cell.ag-right-aligned-header){.ag-header-col-ref{color:var(--ag-subtle-text-color)}}:where(.ag-ltr) :where(.ag-header-cell.ag-right-aligned-header){.ag-header-col-ref{margin-left:var(--ag-spacing)}.ag-header-label-icon,.ag-header-menu-icon{margin-right:var(--ag-spacing)}}:where(.ag-rtl) :where(.ag-header-cell.ag-right-aligned-header){.ag-header-col-ref{margin-right:var(--ag-spacing)}.ag-header-label-icon,.ag-header-menu-icon{margin-left:var(--ag-spacing)}}.ag-header-cell:after,.ag-header-group-cell:where(:not(.ag-header-span-height.ag-header-group-cell-no-group)):after{content:"";height:var(--ag-header-column-border-height);position:absolute;top:calc(50% - var(--ag-header-column-border-height)*.5);z-index:1}:where(.ag-ltr) .ag-header-cell:after,:where(.ag-ltr) .ag-header-group-cell:where(:not(.ag-header-span-height.ag-header-group-cell-no-group)):after{border-right:var(--ag-header-column-border);right:0}:where(.ag-rtl) .ag-header-cell:after,:where(.ag-rtl) .ag-header-group-cell:where(:not(.ag-header-span-height.ag-header-group-cell-no-group)):after{border-left:var(--ag-header-column-border);left:0}.ag-header-highlight-after:after,.ag-header-highlight-before:after{background-color:var(--ag-column-drag-indicator-color);border-radius:calc(var(--ag-column-drag-indicator-width)/2);content:"";height:100%;position:absolute;top:0;width:var(--ag-column-drag-indicator-width)}:where(.ag-ltr) .ag-header-highlight-before:after{left:0}:where(.ag-rtl) .ag-header-highlight-before:after{right:0}:where(.ag-ltr) .ag-header-highlight-after:after{right:0;:where(.ag-pinned-left-header) &{right:1px}}:where(.ag-rtl) .ag-header-highlight-after:after{left:0;:where(.ag-pinned-left-header) &{left:1px}}.ag-header-cell-resize{align-items:center;cursor:ew-resize;display:flex;height:100%;position:absolute;top:0;width:8px;z-index:2}:where(.ag-ltr) .ag-header-cell-resize{right:-3px}:where(.ag-rtl) .ag-header-cell-resize{left:-3px}.ag-header-cell-resize:after{background-color:var(--ag-header-column-resize-handle-color);content:"";height:var(--ag-header-column-resize-handle-height);position:absolute;top:calc(50% - var(--ag-header-column-resize-handle-height)*.5);width:var(--ag-header-column-resize-handle-width);z-index:1}:where(.ag-ltr) .ag-header-cell-resize:after{left:calc(50% - var(--ag-header-column-resize-handle-width))}:where(.ag-rtl) .ag-header-cell-resize:after{right:calc(50% - var(--ag-header-column-resize-handle-width))}:where(.ag-header-cell.ag-header-span-height) .ag-header-cell-resize:after{height:calc(100% - var(--ag-spacing)*4);top:calc(var(--ag-spacing)*2)}.ag-header-group-cell-no-group:where(.ag-header-span-height){display:none}.ag-sort-indicator-container{display:flex;gap:var(--ag-spacing)}.ag-layout-print{&.ag-body{display:block;height:unset}&.ag-root-wrapper{container-type:normal;display:inline-block}.ag-body-horizontal-scroll,.ag-body-vertical-scroll{display:none}&.ag-force-vertical-scroll{overflow-y:visible!important}}@media print{.ag-root-wrapper.ag-layout-print{container-type:normal;display:table;.ag-body-horizontal-scroll-viewport,.ag-body-viewport,.ag-center-cols-container,.ag-center-cols-viewport,.ag-root,.ag-root-wrapper-body,.ag-virtual-list-viewport{display:block!important;height:auto!important;overflow:hidden!important}.ag-cell,.ag-row{-moz-column-break-inside:avoid;break-inside:avoid}}}ag-grid,ag-grid-angular{display:block}.ag-root-wrapper{border:var(--ag-wrapper-border);border-radius:var(--ag-wrapper-border-radius);container-type:inline-size;display:flex;flex-direction:column;overflow:hidden;position:relative;&.ag-layout-normal{height:100%}}.ag-root-wrapper-body{display:flex;flex-direction:row;&.ag-layout-normal{flex:1 1 auto;height:0;min-height:0}}.ag-root{display:flex;flex-direction:column;position:relative;&.ag-layout-auto-height,&.ag-layout-normal{flex:1 1 auto;overflow:hidden;width:0}&.ag-layout-normal{height:100%}}.ag-drag-handle{color:var(--ag-drag-handle-color);cursor:grab;:where(.ag-icon){color:var(--ag-drag-handle-color)}}.ag-chart-menu-icon,.ag-chart-settings-next,.ag-chart-settings-prev,.ag-column-group-icons,.ag-column-select-header-icon,.ag-filter-toolpanel-expand,.ag-floating-filter-button-button,.ag-group-title-bar-icon,.ag-header-cell-filter-button,.ag-header-cell-menu-button,.ag-header-expand-icon,.ag-panel-title-bar-button,.ag-panel-title-bar-button-icon,.ag-set-filter-group-icons,:where(.ag-group-contracted) .ag-icon,:where(.ag-group-expanded) .ag-icon{background-color:var(--ag-icon-button-background-color);border-radius:var(--ag-icon-button-border-radius);box-shadow:0 0 0 var(--ag-icon-button-background-spread) var(--ag-icon-button-background-color);color:var(--ag-icon-button-color)}.ag-chart-menu-icon:hover,.ag-chart-settings-next:hover,.ag-chart-settings-prev:hover,.ag-column-group-icons:hover,.ag-column-select-header-icon:hover,.ag-filter-toolpanel-expand:hover,.ag-floating-filter-button-button:hover,.ag-group-title-bar-icon:hover,.ag-header-cell-filter-button:hover,.ag-header-cell-menu-button:hover,.ag-header-expand-icon:hover,.ag-panel-title-bar-button-icon:hover,.ag-panel-title-bar-button:hover,.ag-set-filter-group-icons:hover,:where(.ag-group-contracted) .ag-icon:hover,:where(.ag-group-expanded) .ag-icon:hover{background-color:var(--ag-icon-button-hover-background-color);box-shadow:0 0 0 var(--ag-icon-button-background-spread) var(--ag-icon-button-hover-background-color);color:var(--ag-icon-button-hover-color)}:where(.ag-filter-active),:where(.ag-filter-toolpanel-group-instance-header-icon),:where(.ag-filter-toolpanel-instance-header-icon){position:relative}:where(.ag-filter-active):after,:where(.ag-filter-toolpanel-group-instance-header-icon):after,:where(.ag-filter-toolpanel-instance-header-icon):after{background-color:var(--ag-icon-button-active-indicator-color);border-radius:50%;content:"";height:6px;position:absolute;top:-1px;width:6px}:where(.ag-ltr) :where(.ag-filter-active):after,:where(.ag-ltr) :where(.ag-filter-toolpanel-group-instance-header-icon):after,:where(.ag-ltr) :where(.ag-filter-toolpanel-instance-header-icon):after{right:-1px}:where(.ag-rtl) :where(.ag-filter-active):after,:where(.ag-rtl) :where(.ag-filter-toolpanel-group-instance-header-icon):after,:where(.ag-rtl) :where(.ag-filter-toolpanel-instance-header-icon):after{left:-1px}.ag-filter-active{background-image:linear-gradient(var(--ag-icon-button-active-background-color),var(--ag-icon-button-active-background-color));border-radius:1px;outline:solid var(--ag-icon-button-background-spread) var(--ag-icon-button-active-background-color);:where(.ag-icon-filter){clip-path:path("M8,0C8,4.415 11.585,8 16,8L16,16L0,16L0,0L8,0Z");color:var(--ag-icon-button-active-color)}}',ab={wrapperBorder:!0,rowBorder:!0,headerRowBorder:!0,footerRowBorder:{ref:"rowBorder"},columnBorder:{style:"solid",width:1,color:"transparent"},headerColumnBorder:!1,headerColumnBorderHeight:"100%",pinnedColumnBorder:!0,pinnedRowBorder:!0,sidePanelBorder:!0,sideBarPanelWidth:250,sideBarPanelAnimationDuration:0,sideBarBackgroundColor:{ref:"chromeBackgroundColor"},sideButtonBarBackgroundColor:{ref:"sideBarBackgroundColor"},sideButtonBarTopPadding:0,sideButtonSelectedUnderlineWidth:2,sideButtonSelectedUnderlineColor:"transparent",sideButtonSelectedUnderlineTransitionDuration:0,sideButtonBackgroundColor:"transparent",sideButtonTextColor:{ref:"textColor"},sideButtonHoverBackgroundColor:{ref:"sideButtonBackgroundColor"},sideButtonHoverTextColor:{ref:"sideButtonTextColor"},sideButtonSelectedBackgroundColor:Ee,sideButtonSelectedTextColor:{ref:"sideButtonTextColor"},sideButtonBorder:"solid 1px transparent",sideButtonSelectedBorder:!0,sideButtonLeftPadding:{ref:"spacing"},sideButtonRightPadding:{ref:"spacing"},sideButtonVerticalPadding:{calc:"spacing * 3"},cellFontFamily:{ref:"fontFamily"},cellFontSize:{ref:"dataFontSize"},cellFontWeight:{ref:"fontWeight"},headerCellHoverBackgroundColor:"transparent",headerCellMovingBackgroundColor:{ref:"headerCellHoverBackgroundColor"},headerCellBackgroundTransitionDuration:"0.2s",cellTextColor:{ref:"textColor"},rangeSelectionBorderStyle:"solid",rangeSelectionBorderColor:Ie,rangeSelectionBackgroundColor:Zt(.2),rangeSelectionChartBackgroundColor:"#0058FF1A",rangeSelectionChartCategoryBackgroundColor:"#00FF841A",rangeSelectionHighlightColor:Zt(.5),rangeHeaderHighlightColor:JP(.08),rowNumbersSelectedColor:Zt(.5),rowHoverColor:Zt(.08),columnHoverColor:Zt(.05),selectedRowBackgroundColor:Zt(.12),modalOverlayBackgroundColor:{ref:"backgroundColor",mix:.66},dataBackgroundColor:Ee,oddRowBackgroundColor:{ref:"dataBackgroundColor"},wrapperBorderRadius:8,cellHorizontalPadding:{calc:"spacing * 2 * cellHorizontalPaddingScale"},cellWidgetSpacing:{calc:"spacing * 1.5"},cellHorizontalPaddingScale:1,rowGroupIndentSize:{calc:"cellWidgetSpacing + iconSize"},valueChangeDeltaUpColor:"#43a047",valueChangeDeltaDownColor:"#e53935",valueChangeValueHighlightBackgroundColor:"#16a08580",rowHeight:{calc:"max(iconSize, cellFontSize) + spacing * 3.25 * rowVerticalPaddingScale"},rowVerticalPaddingScale:1,paginationPanelHeight:{ref:"rowHeight",calc:"max(rowHeight, 22px)"},dragHandleColor:Ve(.7),headerColumnResizeHandleHeight:"30%",headerColumnResizeHandleWidth:2,headerColumnResizeHandleColor:{ref:"borderColor"},iconButtonColor:{ref:"iconColor"},iconButtonBackgroundColor:"transparent",iconButtonBackgroundSpread:4,iconButtonBorderRadius:1,iconButtonHoverColor:{ref:"iconButtonColor"},iconButtonHoverBackgroundColor:Ve(.1),iconButtonActiveColor:Ie,iconButtonActiveBackgroundColor:Zt(.28),iconButtonActiveIndicatorColor:Ie,setFilterIndentSize:{ref:"iconSize"},chartMenuPanelWidth:260,chartMenuLabelColor:Ve(.8),cellEditingBorder:{color:Ie},cellEditingShadow:{ref:"cardShadow"},fullRowEditInvalidBackgroundColor:{ref:"invalidColor",onto:"backgroundColor",mix:.25},columnSelectIndentSize:{ref:"iconSize"},toolPanelSeparatorBorder:!0,columnDropCellBackgroundColor:Ve(.07),columnDropCellTextColor:{ref:"textColor"},columnDropCellDragHandleColor:{ref:"textColor"},columnDropCellBorder:{color:Ve(.13)},selectCellBackgroundColor:Ve(.07),selectCellBorder:{color:Ve(.13)},advancedFilterBuilderButtonBarBorder:!0,advancedFilterBuilderIndentSize:{calc:"spacing * 2 + iconSize"},advancedFilterBuilderJoinPillColor:"#f08e8d",advancedFilterBuilderColumnPillColor:"#a6e194",advancedFilterBuilderOptionPillColor:"#f3c08b",advancedFilterBuilderValuePillColor:"#85c0e4",filterPanelApplyButtonColor:Ee,filterPanelApplyButtonBackgroundColor:Ie,columnPanelApplyButtonColor:Ee,columnPanelApplyButtonBackgroundColor:Ie,filterPanelCardSubtleColor:{ref:"textColor",mix:.7},filterPanelCardSubtleHoverColor:{ref:"textColor"},findMatchColor:Ot,findMatchBackgroundColor:"#ffff00",findActiveMatchColor:Ot,findActiveMatchBackgroundColor:"#ffa500",filterToolPanelGroupIndent:{ref:"spacing"},rowLoadingSkeletonEffectColor:Ve(.15),statusBarLabelColor:Ot,statusBarLabelFontWeight:500,statusBarValueColor:Ot,statusBarValueFontWeight:500,pinnedSourceRowTextColor:{ref:"textColor"},pinnedSourceRowBackgroundColor:{ref:"dataBackgroundColor"},pinnedSourceRowFontWeight:600,pinnedRowFontWeight:600,pinnedRowBackgroundColor:{ref:"dataBackgroundColor"},pinnedRowTextColor:{ref:"textColor"},rowDragIndicatorColor:{ref:"rangeSelectionBorderColor"},rowDragIndicatorWidth:2,columnDragIndicatorColor:{ref:"accentColor"},columnDragIndicatorWidth:2},gA=".ag-cell-batch-edit{background-color:var(--ag-cell-batch-edit-background-color);color:var(--ag-cell-batch-edit-text-color);display:inherit}.ag-row-batch-edit{background-color:var(--ag-row-batch-edit-background-color);color:var(--ag-row-batch-edit-text-color)}",nb={cellBatchEditBackgroundColor:"rgba(220 181 139 / 16%)",cellBatchEditTextColor:"#422f00",rowBatchEditBackgroundColor:{ref:"cellBatchEditBackgroundColor"},rowBatchEditTextColor:{ref:"cellBatchEditTextColor"}},hA={...nb,cellBatchEditTextColor:"#f3d0b3"},pA=()=>ge({feature:"batchEditStyle",params:nb,css:gA}),fA=pA(),$l=":where(.ag-button){background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0;text-indent:inherit;text-shadow:inherit;text-transform:inherit;word-spacing:inherit;&:disabled{cursor:default}&:focus-visible{box-shadow:var(--ag-focus-shadow);outline:none}}.ag-standard-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--ag-button-background-color);border:var(--ag-button-border);border-radius:var(--ag-button-border-radius);color:var(--ag-button-text-color);cursor:pointer;font-weight:var(--ag-button-font-weight);padding:var(--ag-button-vertical-padding) var(--ag-button-horizontal-padding);&:active{background-color:var(--ag-button-active-background-color);border:var(--ag-button-active-border);color:var(--ag-button-active-text-color)}&:disabled{background-color:var(--ag-button-disabled-background-color);border:var(--ag-button-disabled-border);color:var(--ag-button-disabled-text-color)}}.ag-standard-button:hover{background-color:var(--ag-button-hover-background-color);border:var(--ag-button-hover-border);color:var(--ag-button-hover-text-color)}",ec={buttonTextColor:"inherit",buttonFontWeight:"normal",buttonBackgroundColor:"transparent",buttonBorder:!1,buttonBorderRadius:{ref:"borderRadius"},buttonHorizontalPadding:{calc:"spacing * 2"},buttonVerticalPadding:{ref:"spacing"},buttonHoverTextColor:{ref:"buttonTextColor"},buttonHoverBackgroundColor:{ref:"buttonBackgroundColor"},buttonHoverBorder:{ref:"buttonBorder"},buttonActiveTextColor:{ref:"buttonHoverTextColor"},buttonActiveBackgroundColor:{ref:"buttonHoverBackgroundColor"},buttonActiveBorder:{ref:"buttonHoverBorder"},buttonDisabledTextColor:{ref:"inputDisabledTextColor"},buttonDisabledBackgroundColor:{ref:"inputDisabledBackgroundColor"},buttonDisabledBorder:{ref:"inputDisabledBorder"}},mA=()=>ge({feature:"buttonStyle",params:ec,css:$l}),rb=mA(),vA=()=>ge({feature:"buttonStyle",params:{...ec,buttonBackgroundColor:Ee,buttonBorder:!0,buttonHoverBackgroundColor:{ref:"rowHoverColor"},buttonActiveBorder:{color:Ie}},css:$l}),ob=vA(),CA=()=>ge({feature:"buttonStyle",params:{...ec,buttonBackgroundColor:Ee,buttonBorder:{color:Ie},buttonFontWeight:600,buttonTextColor:Ie,buttonHoverBackgroundColor:{ref:"rowHoverColor"},buttonActiveBackgroundColor:Ie,buttonActiveTextColor:Ee},css:$l}),ib=CA(),bA=()=>ge({feature:"buttonStyle",params:{...ec,buttonBorder:{color:Ot,width:2,style:"outset"},buttonActiveBorder:{color:Ot,width:2,style:"inset"},buttonBackgroundColor:Me(.07),buttonHoverBackgroundColor:Ee,buttonVerticalPadding:{calc:"spacing * 0.5"}},css:$l}),sb=bA(),wA=".ag-column-drop-vertical-empty-message{align-items:center;border:dashed var(--ag-border-width);border-color:var(--ag-border-color);display:flex;inset:0;justify-content:center;margin:calc(var(--ag-spacing)*1.5) calc(var(--ag-spacing)*2);overflow:hidden;padding:calc(var(--ag-spacing)*2);position:absolute}",yA=".ag-column-drop-vertical-empty-message{color:var(--ag-subtle-text-color);font-size:calc(var(--ag-font-size) - 1px);font-weight:600;padding-top:var(--ag-spacing)}:where(.ag-ltr) .ag-column-drop-vertical-empty-message{padding-left:calc(var(--ag-icon-size) + var(--ag-spacing) + var(--ag-widget-horizontal-spacing));padding-right:var(--ag-spacing)}:where(.ag-rtl) .ag-column-drop-vertical-empty-message{padding-left:var(--ag-spacing);padding-right:calc(var(--ag-icon-size) + var(--ag-spacing) + var(--ag-widget-horizontal-spacing))}",SA=()=>ge({feature:"columnDropStyle",css:wA}),tc=SA(),xA=()=>ge({feature:"columnDropStyle",css:yA}),Gg=xA(),kA={formulaToken1Color:"#3269c6",formulaToken1BackgroundColor:{ref:"formulaToken1Color",mix:.08},formulaToken1Border:{color:{ref:"formulaToken1Color"}},formulaToken2Color:"#c0343f",formulaToken2BackgroundColor:{ref:"formulaToken2Color",mix:.06},formulaToken2Border:{color:{ref:"formulaToken2Color"}},formulaToken3Color:"#8156b8",formulaToken3BackgroundColor:{ref:"formulaToken3Color",mix:.08},formulaToken3Border:{color:{ref:"formulaToken3Color"}},formulaToken4Color:"#007c1f",formulaToken4BackgroundColor:{ref:"formulaToken4Color",mix:.06},formulaToken4Border:{color:{ref:"formulaToken4Color"}},formulaToken5Color:"#b03e85",formulaToken5BackgroundColor:{ref:"formulaToken5Color",mix:.08},formulaToken5Border:{color:{ref:"formulaToken5Color"}},formulaToken6Color:"#b74900",formulaToken6BackgroundColor:{ref:"formulaToken6Color",mix:.06},formulaToken6Border:{color:{ref:"formulaToken6Color"}},formulaToken7Color:"#247492",formulaToken7BackgroundColor:{ref:"formulaToken7Color",mix:.08},formulaToken7Border:{color:{ref:"formulaToken7Color"}}},RA=()=>ge({feature:"formulaStyle",params:kA}),FA=RA(),MA={warn:(...e)=>{R(e[0],e[1])},error:(...e)=>{J(e[0],e[1])},preInitErr:(...e)=>{bi(e[0],e[2],e[1])}},Ki=()=>XC(MA).withParams(ab).withPart(ob).withPart(tc).withPart(fA).withPart(FA),EA='.ag-checkbox-input-wrapper,.ag-radio-button-input-wrapper{background-color:var(--ag-checkbox-unchecked-background-color);border:solid var(--ag-checkbox-border-width) var(--ag-checkbox-unchecked-border-color);flex:none;height:var(--ag-icon-size);position:relative;width:var(--ag-icon-size);&:where(.ag-checked){background-color:var(--ag-checkbox-checked-background-color);border-color:var(--ag-checkbox-checked-border-color)}&:where(.ag-checked):after{background-color:var(--ag-checkbox-checked-shape-color)}&:where(.ag-disabled){filter:grayscale();opacity:.5}}.ag-checkbox-input,.ag-radio-button-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;display:block;height:var(--ag-icon-size);margin:0;opacity:0;width:var(--ag-icon-size)}.ag-checkbox-input-wrapper:after,.ag-radio-button-input-wrapper:after{content:"";display:block;inset:0;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;pointer-events:none;position:absolute}.ag-checkbox-input-wrapper:where(:focus-within,:active),.ag-radio-button-input-wrapper:where(:focus-within,:active){box-shadow:var(--ag-focus-shadow)}.ag-checkbox-input-wrapper{border-radius:var(--ag-checkbox-border-radius);&:where(.ag-checked):after{-webkit-mask-image:var(--ag-checkbox-checked-shape-image);mask-image:var(--ag-checkbox-checked-shape-image)}&:where(.ag-indeterminate){background-color:var(--ag-checkbox-indeterminate-background-color);border-color:var(--ag-checkbox-indeterminate-border-color)}&:where(.ag-indeterminate):after{background-color:var(--ag-checkbox-indeterminate-shape-color);-webkit-mask-image:var(--ag-checkbox-indeterminate-shape-image);mask-image:var(--ag-checkbox-indeterminate-shape-image)}}.ag-cell-editing-error .ag-checkbox-input-wrapper:focus-within{box-shadow:var(--ag-focus-error-shadow)}.ag-radio-button-input-wrapper{border-radius:100%;&:where(.ag-checked):after{-webkit-mask-image:var(--ag-radio-checked-shape-image);mask-image:var(--ag-radio-checked-shape-image)}}',PA=()=>ge({feature:"checkboxStyle",params:{checkboxBorderWidth:1,checkboxBorderRadius:{ref:"borderRadius"},checkboxUncheckedBackgroundColor:Ee,checkboxUncheckedBorderColor:Me(.3),checkboxCheckedBackgroundColor:Ie,checkboxCheckedBorderColor:{ref:"checkboxCheckedBackgroundColor"},checkboxCheckedShapeImage:{svg:''},checkboxCheckedShapeColor:Ee,checkboxIndeterminateBackgroundColor:Me(.3),checkboxIndeterminateBorderColor:{ref:"checkboxIndeterminateBackgroundColor"},checkboxIndeterminateShapeImage:{svg:''},checkboxIndeterminateShapeColor:Ee,radioCheckedShapeImage:{svg:''}},css:EA}),Yi=PA(),AA=()=>ge({feature:"colorScheme",params:Ir}),TA=AA(),DA=()=>ge({feature:"colorScheme",params:{...Ir,foregroundColor:"#000000de",borderColor:"#60300026",chromeBackgroundColor:"#60300005"}}),IA=DA(),LA=()=>ge({feature:"colorScheme",params:{...Ir,foregroundColor:"#000",chromeBackgroundColor:"#f3f8f8"}}),zA=LA(),Vg=()=>({...Ir,...hA,backgroundColor:"hsl(217, 0%, 17%)",foregroundColor:"#FFF",chromeBackgroundColor:Me(.05),rowHoverColor:Zt(.15),selectedRowBackgroundColor:Zt(.2),menuBackgroundColor:Me(.1),browserColorScheme:"dark",popupShadow:"0 0px 20px #000A",cardShadow:"0 1px 4px 1px #000A",advancedFilterBuilderJoinPillColor:"#7a3a37",advancedFilterBuilderColumnPillColor:"#355f2d",advancedFilterBuilderOptionPillColor:"#5a3168",advancedFilterBuilderValuePillColor:"#374c86",filterPanelApplyButtonColor:Ot,columnPanelApplyButtonColor:Ot,findMatchColor:Ee,findActiveMatchColor:Ee,checkboxUncheckedBorderColor:Me(.4),toggleButtonOffBackgroundColor:Me(.4),rowBatchEditBackgroundColor:Me(.1),formulaToken1Color:"#4da3e5",formulaToken2Color:"#f55864",formulaToken3Color:"#b688f2",formulaToken4Color:"#24bb4a",formulaToken5Color:"#e772ba",formulaToken6Color:"#f69b5f",formulaToken7Color:"#a3e6ff"}),OA=()=>ge({feature:"colorScheme",params:Vg()}),GA=OA(),VA=()=>ge({feature:"colorScheme",params:{backgroundColor:"hsl(29, 10%, 17%)",foregroundColor:"#FFF",browserColorScheme:"dark"}}),lb=()=>({...Vg(),backgroundColor:"#1f2836"}),BA=VA(),NA=()=>ge({feature:"colorScheme",params:lb()}),HA=NA(),qA=()=>ge({feature:"colorScheme",params:Ir,modeParams:{light:Ir,dark:Vg(),"dark-blue":lb()}}),Qi=qA(),WA=`.ag-icon-aggregation:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eaggregation%3C/title%3E%3Cpath d='M25.128 2.002c2.56.096 4.772 2.292 4.87 4.87a712 712 0 0 1 0 18.256c-.096 2.56-2.292 4.772-4.87 4.87a712 712 0 0 1-18.256 0c-2.558-.096-4.772-2.29-4.87-4.87a712 712 0 0 1 0-18.256c.096-2.56 2.292-4.772 4.87-4.87a712 712 0 0 1 18.256 0M7.006 4c-1.57.02-2.946 1.348-3.004 2.922-.078 6.078-.23 12.16.002 18.234.094 1.484 1.354 2.746 2.84 2.84 6.1.232 12.212.232 18.312 0 1.48-.094 2.746-1.35 2.84-2.84.232-6.1.232-12.212 0-18.312-.094-1.48-1.35-2.746-2.84-2.84C19.11 3.774 13.056 4 7.006 4M22 12h-2v-2h-8v.092c.056 1.352 3.426 2.598 4.472 4.404.682 1.174.438 2.754-.572 3.72C14.29 19.618 12 20.924 12 22h8v-2h2v4H10c0-1.586-.098-3.304 1.016-4.314 1.904-1.632 4.89-3.108 3.54-4.42-1.918-1.68-4.464-2.936-4.554-5.12L10 8h12z'/%3E%3C/svg%3E")}.ag-icon-arrows:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Earrows%3C/title%3E%3Cpath d='m6.414 17 2.294 2.292-1.416 1.416L2.586 16l4.706-4.708 1.416 1.416L6.414 15H15V6.414l-2.292 2.294-1.416-1.416L16 2.586l4.708 4.706-1.416 1.416L17 6.414V15h8.586l-2.294-2.292 1.416-1.416L29.414 16l-4.706 4.708-1.416-1.416L25.586 17H17v8.586l2.292-2.294 1.416 1.416L16 29.414l-4.708-4.706 1.416-1.416L15 25.586V17z'/%3E%3C/svg%3E")}.ag-icon-asc:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Easc%3C/title%3E%3Cpath d='m15 10.621-4.292 4.294-1.416-1.416L16 6.793l6.708 6.706-1.416 1.416L17 10.621v14.586h-2z'/%3E%3C/svg%3E")}.ag-icon-aasc:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M13.201 8.08q.65 0 1.135.222.487.222.759.618.27.396.279.919H14.19a.72.72 0 0 0-.293-.536q-.26-.191-.705-.192-.302.001-.51.086a.7.7 0 0 0-.32.23.56.56 0 0 0-.108.338.5.5 0 0 0 .065.273.7.7 0 0 0 .204.203q.127.083.295.146.168.06.36.102l.525.125q.382.086.701.229.32.143.554.35.234.21.362.49.131.284.134.648a1.6 1.6 0 0 1-.273.93q-.27.391-.777.608-.504.214-1.217.214-.708 0-1.232-.217a1.8 1.8 0 0 1-.816-.642q-.29-.428-.305-1.058h1.194q.02.294.17.49.15.195.402.294.253.097.573.097.313 0 .544-.09a.84.84 0 0 0 .362-.255.6.6 0 0 0 .129-.374q0-.195-.117-.33a.9.9 0 0 0-.337-.228 3.4 3.4 0 0 0-.54-.171l-.635-.16q-.738-.18-1.166-.562t-.426-1.03a1.53 1.53 0 0 1 .284-.927q.287-.396.79-.618a2.8 2.8 0 0 1 1.14-.223'/%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M5.813 14H4.489l-.432-1.332H1.948L1.515 14H.19l2.017-5.84h1.592zm-3.551-2.296h1.481l-.718-2.21H2.98zM8.452 8.16q.645 0 1.075.19.43.191.648.531a1.4 1.4 0 0 1 .217.775q0 .343-.137.602-.137.256-.376.422a1.6 1.6 0 0 1-.542.231v.057q.333.015.624.188.294.175.476.489.183.31.183.74 0 .466-.231.831a1.56 1.56 0 0 1-.676.573Q9.265 14 8.609 14H6.114V8.16zM7.35 12.99h1.006q.517 0 .753-.196a.66.66 0 0 0 .237-.531.8.8 0 0 0-.116-.428.8.8 0 0 0-.334-.29 1.15 1.15 0 0 0-.511-.106H7.349zm0-2.386h.916q.254 0 .45-.09a.75.75 0 0 0 .313-.256.67.67 0 0 0 .118-.396.64.64 0 0 0-.226-.511q-.223-.195-.633-.194H7.35z' clip-rule='evenodd'/%3E%3Cpath fill='%23000' d='M7.166.377a.75.75 0 0 1 .919.066l3.333 3a.75.75 0 0 1-1.003 1.115L7.609 2.033 5.113 4.53a.75.75 0 0 1-1.06-1.06l3-3z'/%3E%3C/svg%3E")}.ag-icon-cancel:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Ecancel%3C/title%3E%3Cpath d='M16 4C9.378 4 4 9.378 4 16s5.378 12 12 12 12-5.378 12-12S22.622 4 16 4m0 2c5.52 0 10 4.48 10 10s-4.48 10-10 10S6 21.52 6 16 10.48 6 16 6m0 8.586 5.292-5.294 1.416 1.416L17.414 16l5.294 5.292-1.416 1.416L16 17.414l-5.292 5.294-1.416-1.416L14.586 16l-5.294-5.292 1.416-1.416z'/%3E%3C/svg%3E")}.ag-icon-chart:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Echart%3C/title%3E%3Cpath d='M6.667 12.267h4v13.067h-4zm7.466-5.6h3.733v18.667h-3.733zM21.6 17.333h3.733v8H21.6z'/%3E%3C/svg%3E")}.ag-icon-color-picker:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Ecolor-picker%3C/title%3E%3Cpath d='M23.907 17.587 10.574 4.254l-1.88 1.88 3.173 3.173-8.28 8.28 10.16 10.16zm-16.547 0 6.387-6.387 6.387 6.387H7.361zm18.387 2s-2.667 2.893-2.667 4.667c0 1.467 1.2 2.667 2.667 2.667s2.667-1.2 2.667-2.667c0-1.773-2.667-4.667-2.667-4.667'/%3E%3C/svg%3E")}.ag-icon-columns:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Ecolumns%3C/title%3E%3Cpath d='M14 25h-2V7h2zm6 0h-2V7h2zm6 0h-2V7h2zM8 25H6V7h2z'/%3E%3C/svg%3E")}.ag-icon-contracted:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Econtracted%3C/title%3E%3Cpath d='m21.061 16-8.706 8.708-1.416-1.416L18.233 16l-7.294-7.292 1.416-1.416z'/%3E%3C/svg%3E")}.ag-icon-copy:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Ecopy%3C/title%3E%3Cpath d='M21.929 27.999h-7.828a5.09 5.09 0 0 1-5.086-5.086v-9.812a5.087 5.087 0 0 1 5.086-5.086h7.828a5.09 5.09 0 0 1 5.086 5.086v9.812a5.087 5.087 0 0 1-5.086 5.086m.16-17.984h-8.088a2.94 2.94 0 0 0-2.938 2.938v10.132a2.94 2.94 0 0 0 2.938 2.938h8.088a2.94 2.94 0 0 0 2.936-2.938V12.953a2.94 2.94 0 0 0-2.936-2.938M7.041 26.013h-2.05a4 4 0 0 1-.006-.228V9.065a5.07 5.07 0 0 1 5.064-5.064h12.812q.069 0 .134.002v2.012H9.915a2.876 2.876 0 0 0-2.874 2.874z'/%3E%3C/svg%3E")}.ag-icon-cross:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4 4 24 24'%3E%3Ctitle%3Ecross%3C/title%3E%3Cpath d='m16 14.586 5.292-5.294 1.416 1.416L17.414 16l5.294 5.292-1.416 1.416L16 17.414l-5.292 5.294-1.416-1.416L14.586 16l-5.294-5.292 1.416-1.416z'/%3E%3C/svg%3E")}.ag-icon-csv:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M384 131.9c-7.753-8.433-110.425-128.473-114.9-133L48-.1C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48zm-35.9 2.1H257V27.9zM30 479V27h200l1 105c0 13.3-1.3 29 12 29h111l1 318z' style='fill-rule:nonzero' transform='translate(3.934 -.054)scale(.06285)'/%3E%3Cpath d='M.688-.226a.2.2 0 0 1-.017.074.28.28 0 0 1-.145.14.412.412 0 0 1-.234.013.28.28 0 0 1-.202-.168.468.468 0 0 1-.04-.19q0-.086.025-.155a.319.319 0 0 1 .182-.191.4.4 0 0 1 .134-.025q.087 0 .155.035a.3.3 0 0 1 .104.085.17.17 0 0 1 .036.097.06.06 0 0 1-.018.044.06.06 0 0 1-.042.019.06.06 0 0 1-.042-.013.2.2 0 0 1-.031-.046.2.2 0 0 0-.066-.079.16.16 0 0 0-.095-.027.17.17 0 0 0-.142.068.3.3 0 0 0-.053.193.4.4 0 0 0 .023.139.2.2 0 0 0 .067.083.2.2 0 0 0 .1.027q.063 0 .106-.031a.2.2 0 0 0 .065-.091.2.2 0 0 1 .023-.046q.014-.018.044-.018a.06.06 0 0 1 .044.018.06.06 0 0 1 .019.045' style='fill-rule:nonzero' transform='matrix(8.39799 0 0 12.455 7.122 25.977)'/%3E%3Cpath d='M.622-.215a.2.2 0 0 1-.033.117.23.23 0 0 1-.098.081.4.4 0 0 1-.153.029.34.34 0 0 1-.175-.04.23.23 0 0 1-.079-.077.17.17 0 0 1-.031-.093q0-.027.019-.045a.06.06 0 0 1 .046-.019.06.06 0 0 1 .039.014.1.1 0 0 1 .027.044.3.3 0 0 0 .03.057q.015.023.044.038.03.015.076.015.065 0 .105-.03a.09.09 0 0 0 .04-.075.08.08 0 0 0-.022-.058.14.14 0 0 0-.056-.034 1 1 0 0 0-.092-.025.7.7 0 0 1-.129-.042.2.2 0 0 1-.083-.066.17.17 0 0 1-.03-.104q0-.058.032-.105a.2.2 0 0 1 .093-.07.4.4 0 0 1 .144-.025q.066 0 .114.016a.3.3 0 0 1 .08.044.2.2 0 0 1 .046.057q.015.03.015.058a.07.07 0 0 1-.018.046.06.06 0 0 1-.046.021q-.025 0-.038-.012a.2.2 0 0 1-.028-.041.2.2 0 0 0-.047-.063Q.387-.625.326-.625a.15.15 0 0 0-.09.025q-.035.024-.035.059 0 .021.012.037a.1.1 0 0 0 .032.027.4.4 0 0 0 .111.036q.06.015.11.031.048.018.083.042a.2.2 0 0 1 .054.062.2.2 0 0 1 .019.091' style='fill-rule:nonzero' transform='matrix(8.39799 0 0 12.455 13.339 25.977)'/%3E%3Cpath d='m.184-.633.162.48.163-.483q.013-.038.019-.053a.062.062 0 0 1 .061-.039q.018 0 .034.009a.1.1 0 0 1 .025.025q.009.015.009.031L.654-.64l-.007.025-.009.024-.173.468-.019.051a.2.2 0 0 1-.021.042.1.1 0 0 1-.033.03.1.1 0 0 1-.049.012.1.1 0 0 1-.05-.011A.1.1 0 0 1 .26-.03a.2.2 0 0 1-.021-.042L.22-.123.05-.587.041-.612.033-.638.03-.662q0-.025.02-.046a.07.07 0 0 1 .05-.02q.037 0 .053.023.015.023.031.072' style='fill-rule:nonzero' transform='matrix(8.39799 0 0 12.455 18.94 25.977)'/%3E%3C/svg%3E")}.ag-icon-cut:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M14.703 15.096 6.215 4.719a1 1 0 1 1 1.548-1.267l13.058 15.965A5.001 5.001 0 0 1 28 23.916a5 5 0 0 1-4.999 4.999 5 5 0 0 1-4.999-4.999 4.98 4.98 0 0 1 1.23-3.283l-3.238-3.958-3.272 4.001a4.98 4.98 0 0 1 1.265 3.323 5 5 0 0 1-4.999 4.999 5 5 0 0 1-4.999-4.999 5 5 0 0 1 7.13-4.522zM8.991 20.8a3.1 3.1 0 0 0-3.1 3.1c0 1.711 1.389 3.1 3.1 3.1s3.1-1.389 3.1-3.1-1.389-3.1-3.1-3.1M23 20.8a3.1 3.1 0 0 0-3.1 3.1c0 1.711 1.389 3.1 3.1 3.1s3.1-1.389 3.1-3.1-1.389-3.1-3.1-3.1m-5.723-8.852 1.292 1.579 7.205-8.808a1 1 0 0 0-1.548-1.267z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-desc:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Edesc%3C/title%3E%3Cpath d='m17 21.379 4.292-4.294 1.416 1.416L16 25.207l-6.708-6.706 1.416-1.416L15 21.379V6.793h2z'/%3E%3C/svg%3E")}.ag-icon-adesc:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M10.387 11.47a.75.75 0 0 1 1.06 1.06l-3 3-.113.093a.75.75 0 0 1-.919-.065l-3.333-3a.75.75 0 0 1 1.003-1.116l2.806 2.525zM13.201 3.08q.65 0 1.135.222.487.223.759.619.27.396.279.918H14.19a.72.72 0 0 0-.293-.536q-.26-.192-.705-.192-.302.001-.51.086a.7.7 0 0 0-.32.23.56.56 0 0 0-.108.338.5.5 0 0 0 .065.273.7.7 0 0 0 .204.203q.127.083.295.146.168.06.36.102l.525.125a3.7 3.7 0 0 1 .701.229q.32.143.554.35.234.21.362.492.131.282.134.647a1.6 1.6 0 0 1-.273.93 1.74 1.74 0 0 1-.777.607q-.504.214-1.217.214-.708 0-1.232-.217a1.8 1.8 0 0 1-.816-.641q-.29-.429-.305-1.059h1.194q.02.294.17.49.15.195.402.294.253.098.573.098.313 0 .544-.092a.84.84 0 0 0 .362-.254.6.6 0 0 0 .129-.373.5.5 0 0 0-.117-.33.9.9 0 0 0-.337-.23 3.4 3.4 0 0 0-.54-.17l-.635-.16q-.738-.18-1.166-.562t-.426-1.03a1.53 1.53 0 0 1 .284-.926q.287-.396.79-.62a2.8 2.8 0 0 1 1.14-.222'/%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M5.813 9H4.489l-.432-1.332H1.948L1.515 9H.19l2.017-5.84h1.592zM2.262 6.704h1.481l-.718-2.21H2.98zM8.452 3.16q.645 0 1.075.19.43.192.648.53a1.4 1.4 0 0 1 .217.776q0 .342-.137.602a1.2 1.2 0 0 1-.376.423 1.6 1.6 0 0 1-.542.23v.058q.333.014.624.187.294.175.476.489.183.31.183.74 0 .465-.231.83a1.56 1.56 0 0 1-.676.574Q9.265 9 8.609 9H6.114V3.16zM7.35 7.99h1.006q.517 0 .753-.196a.66.66 0 0 0 .237-.531.8.8 0 0 0-.116-.428.8.8 0 0 0-.334-.291 1.15 1.15 0 0 0-.511-.106H7.349zm0-2.386h.916q.254 0 .45-.09a.75.75 0 0 0 .313-.256.67.67 0 0 0 .118-.397.64.64 0 0 0-.226-.51q-.223-.194-.633-.194H7.35z' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-down:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Edesc%3C/title%3E%3Cpath d='m17 21.379 4.292-4.294 1.416 1.416L16 25.207l-6.708-6.706 1.416-1.416L15 21.379V6.793h2z'/%3E%3C/svg%3E")}.ag-icon-excel:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M384 131.9c-7.753-8.433-110.425-128.473-114.9-133L48-.1C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48zm-35.9 2.1H257V27.9zM30 479V27h200l1 105c0 13.3-1.3 29 12 29h111l1 318z' style='fill-rule:nonzero' transform='translate(3.934 -.054)scale(.06285)'/%3E%3Cpath d='m.052-.139.16-.234-.135-.208a.4.4 0 0 1-.028-.052.1.1 0 0 1-.01-.042.05.05 0 0 1 .018-.037.07.07 0 0 1 .045-.016q.03 0 .047.018a1 1 0 0 1 .047.066l.107.174.115-.174.024-.038.019-.026.021-.015a.1.1 0 0 1 .027-.005.06.06 0 0 1 .044.016.05.05 0 0 1 .018.039q0 .033-.038.089l-.141.211.152.234a.3.3 0 0 1 .03.051.1.1 0 0 1 .009.038.1.1 0 0 1-.008.031.1.1 0 0 1-.024.023.1.1 0 0 1-.034.008.1.1 0 0 1-.035-.008.1.1 0 0 1-.023-.022L.427-.067.301-.265l-.134.204-.022.034-.016.019a.1.1 0 0 1-.022.015.1.1 0 0 1-.03.005.06.06 0 0 1-.044-.016.06.06 0 0 1-.017-.047q0-.036.036-.088' style='fill-rule:nonzero' transform='matrix(17.82892 0 0 16.50777 10.371 25.928)'/%3E%3C/svg%3E")}.ag-icon-expanded:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eexpanded%3C/title%3E%3Cpath d='M21.061 8.708 13.767 16l7.294 7.292-1.416 1.416L10.939 16l8.706-8.708z'/%3E%3C/svg%3E")}.ag-icon-eye-slash:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eeye-slash%3C/title%3E%3Cpath d='M9.304 7.89a15.2 15.2 0 0 1 6.404-1.638c.294-.002.292-.002.584 0 5.956.174 11.328 4.088 13.62 9.748 0 0-1.318 3.178-3.224 5.174a13.6 13.6 0 0 1-2.226 1.874L26.414 25 25 26.414l-2.336-2.336C17.866 26.396 11.776 26.15 7.36 22.96a14.9 14.9 0 0 1-4.168-4.612c-.41-.71-.694-1.336-1.104-2.348 0 0 .898-2.218 2.002-3.718a14.6 14.6 0 0 1 3.442-3.334L5.586 7 7 5.586zm-.3 2.528c-2.038 1.344-3.708 3.246-4.724 5.508L4.248 16c2.46 5.762 9.622 9.064 15.63 7.15q.688-.219 1.342-.516l-.912-.912a6.96 6.96 0 0 1-4.19 1.394c-3.862 0-7-3.136-7-7 0-1.57.52-3.022 1.394-4.19zm14.032 11.204a13.25 13.25 0 0 0 4.684-5.548l.032-.074c-1.984-4.646-6.834-7.798-12.006-7.748-1.712.05-3.386.458-4.922 1.158l1.102 1.102a6.97 6.97 0 0 1 4.192-1.396 7.003 7.003 0 0 1 5.606 11.192zm-11.09-8.262a5.003 5.003 0 0 0 6.928 6.928zm8.342 5.514a5.002 5.002 0 0 0-6.928-6.928z'/%3E%3C/svg%3E")}.ag-icon-eye:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eeye%3C/title%3E%3Cpath d='M16.292 6.32c5.956.174 11.328 4.086 13.62 9.746 0 0-1.318 3.18-3.224 5.176-4.862 5.088-13.534 5.97-19.328 1.784a14.9 14.9 0 0 1-4.168-4.612c-.41-.71-.694-1.336-1.104-2.348 0 0 .898-2.216 2.002-3.716 2.678-3.64 7.03-5.896 11.618-6.03.294-.004.292-.004.584 0m-.546 2c-4.896.142-9.458 3.202-11.466 7.672l-.032.074c2.46 5.762 9.622 9.066 15.63 7.152 3.458-1.102 6.342-3.738 7.842-7.076l.032-.076C25.768 11.42 20.918 8.27 15.746 8.32m.254.946c3.754 0 6.8 3.048 6.8 6.8 0 3.754-3.046 6.8-6.8 6.8s-6.8-3.046-6.8-6.8c0-3.752 3.046-6.8 6.8-6.8m5 6.768V16c0-2.76-2.24-5-5-5s-5 2.24-5 5v.066c0 2.76 2.24 5 5 5s5-2.24 5-5z'/%3E%3C/svg%3E")}.ag-icon-filter:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Efilter%3C/title%3E%3Cpath d='M26 8.184c-.066 2.658-4.058 5.154-6.742 7.974a1.05 1.05 0 0 0-.258.682v3.66L13 25c0-2.74.066-5.482-.002-8.222a1.05 1.05 0 0 0-.256-.62C10.026 13.304 6.06 10.61 6 8.184V6h20zM8 8c0 .304.06.612.258.842 2.716 2.854 6.682 5.548 6.742 7.974V21l2-1.5v-2.684c.066-2.658 4.058-5.154 6.742-7.974.198-.23.258-.538.258-.842z'/%3E%3C/svg%3E")}.ag-icon-first:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Efirst%3C/title%3E%3Cpath d='M24.354 8.708 17.06 16l7.294 7.292-1.416 1.416L14.232 16l8.706-8.708zM9.646 8v16h-2V8z'/%3E%3C/svg%3E")}.ag-icon-group:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Egroup%3C/title%3E%3Cpath d='M25.128 2.002c2.56.096 4.772 2.292 4.87 4.87a712 712 0 0 1 0 18.256c-.096 2.56-2.292 4.772-4.87 4.87a712 712 0 0 1-18.256 0c-2.558-.096-4.772-2.29-4.87-4.87a712 712 0 0 1 0-18.256c.096-2.56 2.292-4.772 4.87-4.87a712 712 0 0 1 18.256 0M7.006 4c-1.57.02-2.946 1.348-3.004 2.922-.078 6.078-.23 12.16.002 18.234.094 1.484 1.354 2.746 2.84 2.84 6.1.232 12.212.232 18.312 0 1.48-.094 2.746-1.35 2.84-2.84.232-6.1.232-12.212 0-18.312-.094-1.48-1.35-2.746-2.84-2.84C19.11 3.774 13.056 4 7.006 4M14 21h-4v-2h4zm12 0H16v-2h10zm-12-4h-4v-2h4zm12 0H16v-2h10zm-16-4H6v-2h4zm16 0H12v-2h14z'/%3E%3C/svg%3E")}.ag-icon-last:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Elast%3C/title%3E%3Cpath d='m17.768 16-8.706 8.708-1.416-1.416L14.94 16 7.646 8.708l1.416-1.416zm6.586 8h-2V8h2z'/%3E%3C/svg%3E")}.ag-icon-left:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eleft%3C/title%3E%3Cpath d='m17.621 11-2 2h12.586v6H15.621l2 2-4.414 4.414L3.793 16l9.414-9.414zm-11 5 6.586 6.586L14.793 21l-4-4h15.414v-2H10.793l4-4-1.586-1.586z'/%3E%3C/svg%3E")}.ag-icon-linked:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Elinked%3C/title%3E%3Cpath d='M17.138 13.418a1.03 1.03 0 0 0-.298.658s.125.096.226.178c1.372 1.114 2.033 3.039 1.582 4.796a4.7 4.7 0 0 1-1.205 2.123c-1.145 1.151-2.296 2.294-3.445 3.441-1.241 1.232-3.185 1.691-4.864 1.105-1.546-.54-2.756-1.938-3.048-3.572-.267-1.496.246-3.108 1.319-4.186l.578-.578-.03-.092a10.5 10.5 0 0 1-.452-2.3v-.005c-.776.775-1.621 1.489-2.275 2.396-1.817 2.522-1.643 6.323.706 8.669 1.813 1.811 4.708 2.462 7.171 1.517a6.75 6.75 0 0 0 2.336-1.518l3.427-3.424c1.939-1.954 2.533-5.126 1.294-7.674a6.8 6.8 0 0 0-2.071-2.481l-.003-.002zM21.265 4a6.8 6.8 0 0 0-4.734 1.964l-3.427 3.424c-1.961 1.977-2.52 5.092-1.32 7.619a6.8 6.8 0 0 0 2.098 2.537l.003.002c.32-.32.643-.637.96-.96.167-.172.27-.401.286-.64l-.204-.167c-1.603-1.287-2.215-3.68-1.316-5.616a4.7 4.7 0 0 1 .918-1.32c1.145-1.151 2.296-2.294 3.445-3.441 1.239-1.23 3.178-1.694 4.864-1.105 1.83.639 3.16 2.498 3.12 4.493a4.8 4.8 0 0 1-1.391 3.265l-.578.578.03.092c.235.743.387 1.519.452 2.3v.005c.732-.731 1.521-1.406 2.162-2.244 1.192-1.559 1.643-3.651 1.204-5.575a6.8 6.8 0 0 0-3.98-4.703 6.8 6.8 0 0 0-2.529-.506h-.061z'/%3E%3C/svg%3E")}.ag-icon-loading:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eloading%3C/title%3E%3Cpath d='M17 29h-2v-8h2zm-3.586-9L7 26.414 5.586 25 12 18.586zm13 5L25 26.414 18.586 20 20 18.586zM29 17h-8v-2h8zm-18 0H3v-2h8zm2.414-5L12 13.414 5.586 7 7 5.586zm13-5L20 13.414 18.586 12 25 5.586zM17 11h-2V3h2z'/%3E%3C/svg%3E")}.ag-icon-maximize:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='3 3 26 26'%3E%3Ctitle%3Emaximize%3C/title%3E%3Cpath d='m7.54 17.4.1 6.98 6.96.1-2.24-2.24L16 18.6 13.4 16l-3.64 3.64zm16.92-2.8-.1-6.98-6.96-.1 2.24 2.24L16 13.4l2.6 2.6 3.64-3.64z'/%3E%3C/svg%3E")}.ag-icon-menu:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Emenu%3C/title%3E%3Cpath d='M26 23H6v-2h20zm0-6H6v-2h20zm0-6H6V9h20z'/%3E%3C/svg%3E")}.ag-icon-menu-alt:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none'%3E%3Cpath fill='%23000' d='M16 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4m0-7a2 2 0 1 0 0-4 2 2 0 0 0 0 4m0 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4'/%3E%3C/svg%3E")}.ag-icon-minimize:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='3 3 26 26'%3E%3Ctitle%3Eminimize%3C/title%3E%3Cpath d='m14.8 24.26-.1-6.96-6.96-.1 2.24 2.24-3.64 3.64 2.6 2.6 3.64-3.64zm2.4-16.52.1 6.96 6.96.1-2.24-2.24 3.64-3.64-2.6-2.6-3.64 3.64z'/%3E%3C/svg%3E")}.ag-icon-minus:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M7.515 7.515c-4.683 4.682-4.683 12.288 0 16.97 4.682 4.683 12.288 4.683 16.97 0 4.683-4.682 4.683-12.288 0-16.97-4.682-4.683-12.288-4.683-16.97 0m1.414 1.414c3.903-3.903 10.239-3.903 14.142 0s3.903 10.239 0 14.142-10.239 3.903-14.142 0-3.903-10.239 0-14.142m-1.414 6.07h16.97v2.002H7.515z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-next:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Enext%3C/title%3E%3Cpath d='m21.061 16-8.706 8.708-1.416-1.416L18.233 16l-7.294-7.292 1.416-1.416z'/%3E%3C/svg%3E")}.ag-icon-none:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Enone%3C/title%3E%3Cpath d='m10.044 21.258 4.478-4.198L16 18.444 9 25l-7-6.556 1.478-1.384 4.478 4.198V7h2.088zm14 3.742h-2.088V10.742l-4.478 4.198L16 13.556 23 7q3.5 3.28 7 6.556l-1.478 1.384-4.478-4.198z'/%3E%3C/svg%3E")}.ag-icon-not-allowed:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Enot-allowed%3C/title%3E%3Cpath d='M16.186 3.646c8.188.154 14.898 9.796 11.17 17.78-3.298 7.066-13.932 9.374-19.848 3.87-3.9-3.632-5.076-9.896-2.684-14.708 2.082-4.19 6.588-6.974 11.362-6.942m-.298 1.998c-6.922.132-12.578 8.308-9.33 15.052 3.342 6.934 15.246 7.646 18.932 0 3.076-6.386-1.988-15.1-9.602-15.052m7.596 6.422c2.864 5.33-1.744 13.186-8.306 12.536a8.6 8.6 0 0 1-3.232-.998l-1.266-.706L22.778 10.8q.351.633.706 1.266m-9.422 10.276c3.296 1.028 7.246-1.006 8.216-4.418a6.6 6.6 0 0 0-.056-3.742zm2.104-14.696a8.8 8.8 0 0 1 3.936 1.038l1.266.706L9.27 21.488c-3.018-5.41-.99-13.37 6.318-13.834q.289-.01.578-.008m-.31 2c-4.06.154-7.23 4.614-6.03 8.46l8.16-8.16a6.8 6.8 0 0 0-2.13-.3'/%3E%3C/svg%3E")}.ag-icon-paste:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Epaste%3C/title%3E%3Cpath d='M20 6.5c0-1-1-3-4-3s-4 2-4 3H8c-2.21 0-4 1.79-4 4v14c0 2.21 1.79 4 4 4h16c2.21 0 4-1.79 4-4v-14c0-2.21-1.79-4-4-4zm-4 .546c.734 0 1.334.572 1.334 1.272S16.734 9.59 16 9.59s-1.334-.572-1.334-1.272.6-1.272 1.334-1.272M24 26.5H8a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h2v4h12v-4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2'/%3E%3C/svg%3E")}.ag-icon-pin:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Epin%3C/title%3E%3Cpath d='m10.78 19.777-4.668-4.666s.032-1 .67-1.87c1.366-1.86 4.052-1.96 6.056-1.572l3.158-3.108c-.7-2.342 3.352-5.046 3.352-5.046l9.166 9.168q-.334.447-.67.894c-1.074 1.426-2.538 2.63-4.272 2.338l-3.32 3.218c.046.344.042.03.118 1.152.144 2.13-.64 4.324-2.632 5.34l-.746.364-4.798-4.798-7.292 7.294-1.416-1.416zm8.24-13.672c-.688.568-1.416 1.45-1.024 2.072l.49.722-4.986 4.988c-1.988-.506-4.346-.636-5.156.614l9.02 9.032q.14-.099.272-.21c1.226-1.08.764-3.04.498-4.9l4.79-4.79s1.47.938 2.936-.776l-6.79-6.79q-.026.019-.05.038'/%3E%3C/svg%3E")}.ag-icon-pivot:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Epivot%3C/title%3E%3Cpath d='M25.128 2.002c2.56.096 4.772 2.292 4.87 4.87a712 712 0 0 1 0 18.256c-.096 2.56-2.292 4.772-4.87 4.87a712 712 0 0 1-18.256 0c-2.558-.096-4.772-2.29-4.87-4.87a712 712 0 0 1 0-18.256c.096-2.56 2.292-4.772 4.87-4.87a712 712 0 0 1 18.256 0m2.966 7.954H9.892v18.136c5.086.13 10.18.098 15.264-.096 1.48-.094 2.746-1.35 2.84-2.84.192-5.064.226-10.134.098-15.2M3.968 24.1q.015.528.036 1.056c.094 1.484 1.354 2.746 2.84 2.84l1.012.036V24.1zM22 15.414l-.292.294-1.416-1.416L23 11.586l2.708 2.706-1.416 1.416-.292-.294v3.592c-.032 2.604-2.246 4.892-4.872 4.992L15.414 24l.294.292-1.416 1.416L11.586 23l2.706-2.708 1.416 1.416-.322.32c3.372.03 6.578-.164 6.614-3.034zM3.88 18.038c.002 1.346.012 2.694.038 4.04h3.938v-4.04zm.05-6.062a681 681 0 0 0-.044 4.042h3.97v-4.042zm5.962-7.99Q8.449 3.999 7.006 4c-1.57.02-2.946 1.348-3.004 2.922q-.02 1.517-.042 3.034h3.896v-2.02h2.036zm14.244-.016v3.966h3.898q-.017-.546-.038-1.092c-.094-1.48-1.35-2.746-2.84-2.84q-.51-.019-1.02-.034m-8.14-.054q-2.035.022-4.07.048v3.972h4.07zm6.106.008c-1.358-.022-2.714-.026-4.07-.022v4.034h4.07z'/%3E%3C/svg%3E")}.ag-icon-plus:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M7.515 7.515c-4.683 4.682-4.683 12.288 0 16.97 4.682 4.683 12.288 4.683 16.97 0 4.683-4.682 4.683-12.288 0-16.97-4.682-4.683-12.288-4.683-16.97 0m1.414 1.414c3.903-3.903 10.239-3.903 14.142 0s3.903 10.239 0 14.142-10.239 3.903-14.142 0-3.903-10.239 0-14.142M15 15l-.001-7.485h2.002L17 15l7.485-.001v2.002L17 17l.001 7.485h-2.002L15 17l-7.485.001v-2.002z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-previous:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eprevious%3C/title%3E%3Cpath d='M21.061 8.708 13.767 16l7.294 7.292-1.416 1.416L10.939 16l8.706-8.708z'/%3E%3C/svg%3E")}.ag-icon-right:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eright%3C/title%3E%3Cpath d='m28.207 16-9.414 9.414L14.379 21l2-2H3.793v-6h12.586l-2-2 4.414-4.414zm-11-5 4 4H5.793v2h15.414l-4 4 1.586 1.586L25.379 16l-6.586-6.586z'/%3E%3C/svg%3E")}.ag-icon-save:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Esave%3C/title%3E%3Cpath d='M25.333 16v9.333H6.666V16H3.999v9.333C3.999 26.8 5.199 28 6.666 28h18.667C26.8 28 28 26.8 28 25.333V16zm-8 .893 3.453-3.44 1.88 1.88L15.999 22l-6.667-6.667 1.88-1.88 3.453 3.44V4h2.667v12.893z'/%3E%3C/svg%3E")}.ag-icon-small-down:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Esmall-down%3C/title%3E%3Cpath d='M24.708 12.355 16 21.061l-8.708-8.706 1.416-1.416L16 18.233l7.292-7.294z'/%3E%3C/svg%3E")}.ag-icon-small-left:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Esmall-left%3C/title%3E%3Cpath d='M21.061 8.708 13.767 16l7.294 7.292-1.416 1.416L10.939 16l8.706-8.708z'/%3E%3C/svg%3E")}.ag-icon-small-right:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Esmall-right%3C/title%3E%3Cpath d='m21.061 16-8.706 8.708-1.416-1.416L18.233 16l-7.294-7.292 1.416-1.416z'/%3E%3C/svg%3E")}.ag-icon-small-up:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Esmall-up%3C/title%3E%3Cpath d='m24.708 19.645-1.416 1.416L16 13.767l-7.292 7.294-1.416-1.416L16 10.939z'/%3E%3C/svg%3E")}.ag-icon-tick:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Etick%3C/title%3E%3Cpath d='M24.708 10.855 13 22.561l-5.708-5.706 1.416-1.416L13 19.733 23.292 9.439z'/%3E%3C/svg%3E")}.ag-icon-tree-closed:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Etree-closed%3C/title%3E%3Cpath d='m21.061 16-8.706 8.708-1.416-1.416L18.233 16l-7.294-7.292 1.416-1.416z'/%3E%3C/svg%3E")}.ag-icon-tree-indeterminate:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Etree-indeterminate%3C/title%3E%3Cpath d='M6 15h20v2H6z'/%3E%3C/svg%3E")}.ag-icon-tree-open:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Etree-open%3C/title%3E%3Cpath d='M24.708 12.355 16 21.061l-8.708-8.706 1.416-1.416L16 18.233l7.292-7.294z'/%3E%3C/svg%3E")}.ag-icon-unlinked:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eunlinked%3C/title%3E%3Cpath d='M5.35 3.999a.2.2 0 0 0-.14.058c-.388.38-.768.768-1.152 1.152a.21.21 0 0 0-.002.288c7.459 7.506 14.965 14.965 22.447 22.447a.21.21 0 0 0 .288.002q.576-.574 1.151-1.151a.21.21 0 0 0 .002-.288C20.484 19.002 12.979 11.542 5.497 4.06a.2.2 0 0 0-.146-.061zm.611 12.548c-1.933 1.939-2.538 5.119-1.289 7.688a6.79 6.79 0 0 0 4.891 3.672 6.82 6.82 0 0 0 5.893-1.866l1.984-1.984-1.438-1.438-1.986 1.986c-1.486 1.476-3.993 1.81-5.834.629a4.73 4.73 0 0 1-2.024-2.853 4.76 4.76 0 0 1 1.241-4.393l1.986-1.986-1.438-1.438-1.984 1.984zM21.273 3.999a6.78 6.78 0 0 0-4.727 1.963l-1.984 1.984L16 9.384l1.985-1.985a4.74 4.74 0 0 1 2.776-1.338c1.974-.224 4.045.926 4.845 2.834.712 1.699.329 3.778-1.004 5.12L22.616 16l1.439 1.438q1-1 2-2c2.012-2.031 2.557-5.368 1.112-7.982-1.144-2.07-3.432-3.441-5.834-3.459h-.061z'/%3E%3C/svg%3E")}.ag-icon-up:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Easc%3C/title%3E%3Cpath d='m15 10.621-4.292 4.294-1.416-1.416L16 6.793l6.708 6.706-1.416 1.416L17 10.621v14.586h-2z'/%3E%3C/svg%3E")}.ag-icon-grip:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Egrip%3C/title%3E%3Cpath d='M8 24H6v-4h2zm6 0h-2v-4h2zm6 0h-2v-4h2zm6 0h-2v-4h2zM8 18H6v-4h2zm6 0h-2v-4h2zm6 0h-2v-4h2zm6 0h-2v-4h2zM8 12H6V8h2zm6 0h-2V8h2zm6 0h-2V8h2zm6 0h-2V8h2z'/%3E%3C/svg%3E")}.ag-icon-settings:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='%23000' d='M30 8h-4.1c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2v2h14.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30zm-9 4c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3M2 24h4.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30v-2H15.9c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2zm9-4c1.7 0 3 1.3 3 3s-1.3 3-3 3-3-1.3-3-3 1.3-3 3-3'/%3E%3C/svg%3E")}.ag-icon-column-arrow:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M11 4a1 1 0 0 1 1 1v22a1 1 0 1 1-2 0V5a1 1 0 0 1 1-1' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M2 13a1 1 0 0 1 1-1h23.5a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M2 4h18v24H2zm2 2v20h14V6zM26.793 13 23 9.207l1.414-1.414L29.621 13l-5.207 5.207L23 16.793z' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-un-pin:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='m6.112 15.111 3.272 3.271 1.436-1.402-2.476-2.479c.81-1.25 3.168-1.12 5.156-.614l4.986-4.988-.49-.722c-.392-.622.336-1.504 1.024-2.072l.008-.007.01-.006.032-.025 1.447 1.447 1.432-1.397-2.601-2.602s-4.052 2.704-3.352 5.046l-3.158 3.108c-2.004-.388-4.69-.288-6.056 1.572-.638.87-.67 1.87-.67 1.87m.581 11.582.014.014 5.502-5.501 4.783 4.783.746-.364c1.992-1.016 2.776-3.21 2.632-5.34-.055-.805-.068-.87-.088-.97-.008-.04-.017-.085-.03-.182l3.32-3.218c1.734.292 3.198-.912 4.272-2.338q.337-.447.67-.894l-.001-.001-.007-.007-.007-.007-.007-.007-3.87-3.87 1.585-1.584-1.414-1.414-14.381 14.38-1.237 1.209-5.69 5.687 1.417 1.416zM23.21 10.206l2.65 2.651c-1.465 1.714-2.935.776-2.935.776l-4.79 4.79q.041.291.087.583c.257 1.676.513 3.35-.585 4.317a4 4 0 0 1-.272.21l-3.739-3.744z' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-pinned-top:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='currentColor' d='m16.708 10.878 8.708 8.706L24 21l-6.292-6.294V27h-2V14.706L9.416 21 8 19.584q4.348-4.344 8.691-8.69zM25 6H8v2h17z'/%3E%3C/svg%3E")}.ag-icon-pinned-bottom:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='currentColor' d='M16.708 22.122 8 13.416 9.416 12l6.292 6.294V6h2v12.294L24 12l1.416 1.416-8.691 8.69zM7.416 28h17v-2h-17z'/%3E%3C/svg%3E")}.ag-icon-chevron-up:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M3.479 10.521a.75.75 0 0 1 0-1.06l4-4a.75.75 0 0 1 1.06 0l4 4a.75.75 0 0 1-1.06 1.06l-3.47-3.47-3.47 3.47a.75.75 0 0 1-1.06 0' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-chevron-down:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M12.521 5.461a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 0 1 1.06-1.06l3.47 3.47 3.47-3.47a.75.75 0 0 1 1.06 0' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-chevron-left:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M10.53 12.512a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 0 1 0-1.06l4-4a.75.75 0 0 1 1.06 1.06l-3.47 3.47 3.47 3.47a.75.75 0 0 1 0 1.06' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-chevron-right:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M5.47 3.47a.75.75 0 0 1 1.06 0l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06-1.06L8.94 8 5.47 4.53a.75.75 0 0 1 0-1.06' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-filter-add:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='currentColor' d='M19.834 8H8c0 .304.06.612.258.842 2.716 2.854 6.682 5.548 6.742 7.974V21l2-1.5v-2.684c.056-2.267 2.968-4.417 5.49-6.75v3.087c-1.081.974-2.245 1.968-3.232 3.005a1.05 1.05 0 0 0-.258.682v3.66L13 25c0-2.74.066-5.482-.002-8.222a1.05 1.05 0 0 0-.256-.62C10.026 13.304 6.06 10.61 6 8.184V6h13.834z'/%3E%3Cpath fill='currentColor' d='M26 6h2.946v2.002H26v3.313h-2.002V8.002h-2.946V6h2.946V3.04H26z'/%3E%3C/svg%3E")}.ag-icon-edit:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='currentColor' d='M23.182 5a3.82 3.82 0 0 1 2.83 6.383l-.131.137-2.09 2.088a1 1 0 0 1-.084.099 1 1 0 0 1-.098.084L12.533 24.869a3 3 0 0 1-1.245.746l-4.353 1.32-.003.002a1.5 1.5 0 0 1-1.87-1.867l.003-.004 1.32-4.352v-.003l.06-.174c.13-.344.321-.661.565-.936l.126-.135L18.209 8.39a1 1 0 0 1 .18-.181l2.092-2.09.137-.132A3.82 3.82 0 0 1 23.182 5M8.548 20.883a1 1 0 0 0-.25.415l-1.049 3.451 3.457-1.048.114-.042q.17-.076.301-.206l10.458-10.46-2.572-2.572zM23.182 7c-.482 0-.946.19-1.287.531v.001l-1.474 1.475 2.572 2.572 1.474-1.474.121-.133A1.82 1.82 0 0 0 23.182 7'/%3E%3C/svg%3E")}`,cb=ge({feature:"iconSet",css:WA}),UA=`.ag-icon-aggregation:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M24 6H8v2l8 8-8 8v2h16v-2H11l8-8-8-8h13z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-arrows:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M7.515 11.171 2.687 16l4.828 4.829-1.414 1.414L-.142 16l6.243-6.243zm16.97 0 1.414-1.414L32.142 16l-6.243 6.243-1.414-1.414L29.313 16zM16.028 13.2l2.829 2.828-2.829 2.829-2.828-2.829zm-4.857 11.285L16 29.313l4.829-4.828 1.414 1.414L16 32.142l-6.243-6.243zm0-16.97L9.757 6.101 16-.142l6.243 6.243-1.414 1.414L16 2.687z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-asc:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='m5.333 16 1.88 1.88 7.453-7.44v16.227h2.667V10.44l7.44 7.453L26.666 16 15.999 5.333 5.332 16z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-aasc:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M13.201 8.08q.65 0 1.135.222.487.222.759.618.27.396.279.919H14.19a.72.72 0 0 0-.293-.536q-.26-.191-.705-.192-.302.001-.51.086a.7.7 0 0 0-.32.23.56.56 0 0 0-.108.338.5.5 0 0 0 .065.273.7.7 0 0 0 .204.203q.127.083.295.146.168.06.36.102l.525.125q.382.086.701.229.32.143.554.35.234.21.362.49.131.284.134.648a1.6 1.6 0 0 1-.273.93q-.27.391-.777.608-.504.214-1.217.214-.708 0-1.232-.217a1.8 1.8 0 0 1-.816-.642q-.29-.428-.305-1.058h1.194q.02.294.17.49.15.195.402.294.253.097.573.097.313 0 .544-.09a.84.84 0 0 0 .362-.255.6.6 0 0 0 .129-.374q0-.195-.117-.33a.9.9 0 0 0-.337-.228 3.4 3.4 0 0 0-.54-.171l-.635-.16q-.738-.18-1.166-.562t-.426-1.03a1.53 1.53 0 0 1 .284-.927q.287-.396.79-.618a2.8 2.8 0 0 1 1.14-.223'/%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M5.813 14H4.489l-.432-1.332H1.948L1.515 14H.19l2.017-5.84h1.592zm-3.551-2.296h1.481l-.718-2.21H2.98zM8.452 8.16q.645 0 1.075.19.43.191.648.531a1.4 1.4 0 0 1 .217.775q0 .343-.137.602-.137.256-.376.422a1.6 1.6 0 0 1-.542.231v.057q.333.015.624.188.294.175.476.489.183.31.183.74 0 .466-.231.831a1.56 1.56 0 0 1-.676.573Q9.265 14 8.609 14H6.114V8.16zM7.35 12.99h1.006q.517 0 .753-.196a.66.66 0 0 0 .237-.531.8.8 0 0 0-.116-.428.8.8 0 0 0-.334-.29 1.15 1.15 0 0 0-.511-.106H7.349zm0-2.386h.916q.254 0 .45-.09a.75.75 0 0 0 .313-.256.67.67 0 0 0 .118-.396.64.64 0 0 0-.226-.511q-.223-.195-.633-.194H7.35z' clip-rule='evenodd'/%3E%3Cpath fill='%23000' d='M7.166.377a.75.75 0 0 1 .919.066l3.333 3a.75.75 0 0 1-1.003 1.115L7.609 2.033 5.113 4.53a.75.75 0 0 1-1.06-1.06l3-3z'/%3E%3C/svg%3E")}.ag-icon-cancel:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M16 2.667A13.32 13.32 0 0 0 2.667 16c0 7.373 5.96 13.333 13.333 13.333S29.333 23.373 29.333 16 23.373 2.667 16 2.667m6.667 18.12-1.88 1.88L16 17.88l-4.787 4.787-1.88-1.88L14.12 16l-4.787-4.787 1.88-1.88L16 14.12l4.787-4.787 1.88 1.88L17.88 16z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-chart:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Echart%3C/title%3E%3Cg fill='%23000' fill-rule='nonzero'%3E%3Cpath d='M14 7h4v18h-4zM8 17h4v8H8zM20 13h4v12h-4z'/%3E%3C/g%3E%3C/svg%3E")}.ag-icon-color-picker:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M23.907 17.587 10.574 4.254l-1.88 1.88 3.173 3.173-8.28 8.28 10.16 10.16zm-16.547 0 6.387-6.387 6.387 6.387zm18.387 2s-2.667 2.893-2.667 4.667c0 1.467 1.2 2.667 2.667 2.667s2.667-1.2 2.667-2.667c0-1.773-2.667-4.667-2.667-4.667' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-columns:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M26 25H6V7h20zM12 11H8v12h4zm6 0h-4v12h4zm6 12V11h-4v12z' style='fill-rule:nonzero' transform='translate(0 -1)'/%3E%3C/svg%3E")}.ag-icon-contracted:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='m12 6 10 10-10 10-2-2 8-8-8-8z'/%3E%3C/svg%3E")}.ag-icon-copy:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M22 1.333H6A2.675 2.675 0 0 0 3.333 4v18.667H6V4h16zm4 5.334H11.333a2.675 2.675 0 0 0-2.667 2.667v18.667c0 1.467 1.2 2.667 2.667 2.667H26c1.467 0 2.667-1.2 2.667-2.667V9.334c0-1.467-1.2-2.667-2.667-2.667M26 28H11.333V9.333H26z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-cross:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M15.984 13.894 27.05 2.828l2.122 2.122-11.066 11.066 11.066 11.066-2.122 2.12-11.066-11.066L4.918 29.202l-2.12-2.12 11.066-11.066L2.798 4.95l2.12-2.122z'/%3E%3C/svg%3E")}.ag-icon-csv:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M384 131.9c-7.753-8.433-110.425-128.473-114.9-133L48-.1C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48zm-35.9 2.1H257V27.9zM30 479V27h200l1 105c0 13.3-1.3 29 12 29h111l1 318z' style='fill-rule:nonzero' transform='translate(3.934 -.054)scale(.06285)'/%3E%3Cpath d='M.688-.226a.2.2 0 0 1-.017.074.28.28 0 0 1-.145.14.412.412 0 0 1-.234.013.28.28 0 0 1-.202-.168.468.468 0 0 1-.04-.19q0-.086.025-.155a.319.319 0 0 1 .182-.191.4.4 0 0 1 .134-.025q.087 0 .155.035a.3.3 0 0 1 .104.085.17.17 0 0 1 .036.097.06.06 0 0 1-.018.044.06.06 0 0 1-.042.019.06.06 0 0 1-.042-.013.2.2 0 0 1-.031-.046.2.2 0 0 0-.066-.079.16.16 0 0 0-.095-.027.17.17 0 0 0-.142.068.3.3 0 0 0-.053.193.4.4 0 0 0 .023.139.2.2 0 0 0 .067.083.2.2 0 0 0 .1.027q.063 0 .106-.031a.2.2 0 0 0 .065-.091.2.2 0 0 1 .023-.046q.014-.018.044-.018a.06.06 0 0 1 .044.018.06.06 0 0 1 .019.045' style='fill-rule:nonzero' transform='matrix(8.39799 0 0 12.455 7.122 25.977)'/%3E%3Cpath d='M.622-.215a.2.2 0 0 1-.033.117.23.23 0 0 1-.098.081.4.4 0 0 1-.153.029.34.34 0 0 1-.175-.04.23.23 0 0 1-.079-.077.17.17 0 0 1-.031-.093q0-.027.019-.045a.06.06 0 0 1 .046-.019.06.06 0 0 1 .039.014.1.1 0 0 1 .027.044.3.3 0 0 0 .03.057q.015.023.044.038.03.015.076.015.065 0 .105-.03a.09.09 0 0 0 .04-.075.08.08 0 0 0-.022-.058.14.14 0 0 0-.056-.034 1 1 0 0 0-.092-.025.7.7 0 0 1-.129-.042.2.2 0 0 1-.083-.066.17.17 0 0 1-.03-.104q0-.058.032-.105a.2.2 0 0 1 .093-.07.4.4 0 0 1 .144-.025q.066 0 .114.016a.3.3 0 0 1 .08.044.2.2 0 0 1 .046.057q.015.03.015.058a.07.07 0 0 1-.018.046.06.06 0 0 1-.046.021q-.025 0-.038-.012a.2.2 0 0 1-.028-.041.2.2 0 0 0-.047-.063Q.387-.625.326-.625a.15.15 0 0 0-.09.025q-.035.024-.035.059 0 .021.012.037a.1.1 0 0 0 .032.027.4.4 0 0 0 .111.036q.06.015.11.031.048.018.083.042a.2.2 0 0 1 .054.062.2.2 0 0 1 .019.091' style='fill-rule:nonzero' transform='matrix(8.39799 0 0 12.455 13.339 25.977)'/%3E%3Cpath d='m.184-.633.162.48.163-.483q.013-.038.019-.053a.062.062 0 0 1 .061-.039q.018 0 .034.009a.1.1 0 0 1 .025.025q.009.015.009.031L.654-.64l-.007.025-.009.024-.173.468-.019.051a.2.2 0 0 1-.021.042.1.1 0 0 1-.033.03.1.1 0 0 1-.049.012.1.1 0 0 1-.05-.011A.1.1 0 0 1 .26-.03a.2.2 0 0 1-.021-.042L.22-.123.05-.587.041-.612.033-.638.03-.662q0-.025.02-.046a.07.07 0 0 1 .05-.02q.037 0 .053.023.015.023.031.072' style='fill-rule:nonzero' transform='matrix(8.39799 0 0 12.455 18.94 25.977)'/%3E%3C/svg%3E")}.ag-icon-cut:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M13.775 15.198 3.835 2.945a1.501 1.501 0 0 1 2.33-1.89l14.997 18.488A6.003 6.003 0 0 1 29.657 25c0 3.311-2.688 6-6 6s-6-2.689-6-6c0-1.335.437-2.569 1.176-3.566l-3.127-3.855-3.001 3.7A5.97 5.97 0 0 1 14 25c0 3.311-2.689 6-6 6s-6-2.689-6-6a6.003 6.003 0 0 1 8.315-5.536zm9.882 6.702a3.1 3.1 0 0 0-3.1 3.1c0 1.711 1.389 3.1 3.1 3.1s3.1-1.389 3.1-3.1-1.389-3.1-3.1-3.1M8 21.95a3.05 3.05 0 1 0 .001 6.101A3.05 3.05 0 0 0 8 21.95m9.63-11.505 1.932 2.381 8.015-9.881a1.5 1.5 0 0 0-2.329-1.89z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-desc:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='m26.667 16-1.88-1.88-7.453 7.44V5.333h-2.667V21.56l-7.44-7.453L5.334 16l10.667 10.667z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-adesc:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M10.387 11.47a.75.75 0 0 1 1.06 1.06l-3 3-.113.093a.75.75 0 0 1-.919-.065l-3.333-3a.75.75 0 0 1 1.003-1.116l2.806 2.525zM13.201 3.08q.65 0 1.135.222.487.223.759.619.27.396.279.918H14.19a.72.72 0 0 0-.293-.536q-.26-.192-.705-.192-.302.001-.51.086a.7.7 0 0 0-.32.23.56.56 0 0 0-.108.338.5.5 0 0 0 .065.273.7.7 0 0 0 .204.203q.127.083.295.146.168.06.36.102l.525.125a3.7 3.7 0 0 1 .701.229q.32.143.554.35.234.21.362.492.131.282.134.647a1.6 1.6 0 0 1-.273.93 1.74 1.74 0 0 1-.777.607q-.504.214-1.217.214-.708 0-1.232-.217a1.8 1.8 0 0 1-.816-.641q-.29-.429-.305-1.059h1.194q.02.294.17.49.15.195.402.294.253.098.573.098.313 0 .544-.092a.84.84 0 0 0 .362-.254.6.6 0 0 0 .129-.373.5.5 0 0 0-.117-.33.9.9 0 0 0-.337-.23 3.4 3.4 0 0 0-.54-.17l-.635-.16q-.738-.18-1.166-.562t-.426-1.03a1.53 1.53 0 0 1 .284-.926q.287-.396.79-.62a2.8 2.8 0 0 1 1.14-.222'/%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M5.813 9H4.489l-.432-1.332H1.948L1.515 9H.19l2.017-5.84h1.592zM2.262 6.704h1.481l-.718-2.21H2.98zM8.452 3.16q.645 0 1.075.19.43.192.648.53a1.4 1.4 0 0 1 .217.776q0 .342-.137.602a1.2 1.2 0 0 1-.376.423 1.6 1.6 0 0 1-.542.23v.058q.333.014.624.187.294.175.476.489.183.31.183.74 0 .465-.231.83a1.56 1.56 0 0 1-.676.574Q9.265 9 8.609 9H6.114V3.16zM7.35 7.99h1.006q.517 0 .753-.196a.66.66 0 0 0 .237-.531.8.8 0 0 0-.116-.428.8.8 0 0 0-.334-.291 1.15 1.15 0 0 0-.511-.106H7.349zm0-2.386h.916q.254 0 .45-.09a.75.75 0 0 0 .313-.256.67.67 0 0 0 .118-.397.64.64 0 0 0-.226-.51q-.223-.194-.633-.194H7.35z' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-down:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='m26.667 16-1.88-1.88-7.453 7.44V5.333h-2.667V21.56l-7.44-7.453L5.334 16l10.667 10.667z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-excel:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M384 131.9c-7.753-8.433-110.425-128.473-114.9-133L48-.1C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48zm-35.9 2.1H257V27.9zM30 479V27h200l1 105c0 13.3-1.3 29 12 29h111l1 318z' style='fill-rule:nonzero' transform='translate(3.934 -.054)scale(.06285)'/%3E%3Cpath d='m.052-.139.16-.234-.135-.208a.4.4 0 0 1-.028-.052.1.1 0 0 1-.01-.042.05.05 0 0 1 .018-.037.07.07 0 0 1 .045-.016q.03 0 .047.018a1 1 0 0 1 .047.066l.107.174.115-.174.024-.038.019-.026.021-.015a.1.1 0 0 1 .027-.005.06.06 0 0 1 .044.016.05.05 0 0 1 .018.039q0 .033-.038.089l-.141.211.152.234a.3.3 0 0 1 .03.051.1.1 0 0 1 .009.038.1.1 0 0 1-.008.031.1.1 0 0 1-.024.023.1.1 0 0 1-.034.008.1.1 0 0 1-.035-.008.1.1 0 0 1-.023-.022L.427-.067.301-.265l-.134.204-.022.034-.016.019a.1.1 0 0 1-.022.015.1.1 0 0 1-.03.005.06.06 0 0 1-.044-.016.06.06 0 0 1-.017-.047q0-.036.036-.088' style='fill-rule:nonzero' transform='matrix(17.82892 0 0 16.50777 10.371 25.928)'/%3E%3C/svg%3E")}.ag-icon-expanded:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M20 26 10 16 20 6l2 2-8 8 8 8z'/%3E%3C/svg%3E")}.ag-icon-eye-slash:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eeye-slash%3C/title%3E%3Cpath fill='%23000' fill-rule='nonzero' d='M8.95 10.364 7 8.414 8.414 7l2.32 2.32A13.2 13.2 0 0 1 16.5 8c5.608 0 10.542 3.515 12.381 8.667L29 17l-.119.333a13 13 0 0 1-4.255 5.879l1.466 1.466-1.414 1.414-1.754-1.753A13.2 13.2 0 0 1 16.5 26c-5.608 0-10.542-3.515-12.381-8.667L4 17l.119-.333a13 13 0 0 1 4.83-6.303m1.445 1.445A11.02 11.02 0 0 0 6.148 17c1.646 4.177 5.728 7 10.352 7 1.76 0 3.441-.409 4.94-1.146l-1.878-1.878A5.06 5.06 0 0 1 16.5 22c-2.789 0-5.05-2.239-5.05-5 0-1.158.398-2.223 1.065-3.07zm1.855-.974 1.794 1.795A5.07 5.07 0 0 1 16.5 12c2.789 0 5.05 2.239 5.05 5 0 .9-.24 1.745-.661 2.474l2.305 2.306A11 11 0 0 0 26.852 17c-1.646-4.177-5.728-7-10.352-7-1.495 0-2.933.295-4.25.835'/%3E%3C/svg%3E")}.ag-icon-eye:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M16.5 23c4.624 0 8.706-2.823 10.352-7-1.646-4.177-5.728-7-10.352-7s-8.706 2.823-10.352 7c1.646 4.177 5.728 7 10.352 7M4.119 15.667C5.958 10.515 10.892 7 16.5 7s10.542 3.515 12.381 8.667L29 16l-.119.333C27.042 21.485 22.108 25 16.5 25S5.958 21.485 4.119 16.333L4 16zM16.5 21c2.789 0 5.049-2.239 5.049-5s-2.26-5-5.049-5-5.049 2.239-5.049 5 2.26 5 5.049 5' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-filter:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='m28 8-8 8v5l-6 6V16L6 8V6h22zM9 8l7 7v7l2-2v-5l7-7z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-first:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M24.273 22.12 18.153 16l6.12-6.12L22.393 8l-8 8 8 8zM7.727 8h2.667v16H7.727z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-group:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M14 7v1H9V7zm0-3v1H5.001V4zm-7 7H5v-1h2zm0-3H5V7h2zM3 5H1V4h2zm11 5v1H9v-1zm-7 4H5v-1h2zm7-1v1H9v-1z' style='fill-rule:nonzero' transform='matrix(2 0 0 2 0 -2)'/%3E%3C/svg%3E")}.ag-icon-last:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='m7.727 9.88 6.12 6.12-6.12 6.12L9.607 24l8-8-8-8zM21.607 8h2.667v16h-2.667z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-left:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M26.667 14.667H10.44l7.453-7.453L16 5.334 5.333 16.001 16 26.668l1.88-1.88-7.44-7.453h16.227z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-linked:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M5.2 16a4.136 4.136 0 0 1 4.133-4.133h5.333V9.334H9.333a6.67 6.67 0 0 0-6.667 6.667 6.67 6.67 0 0 0 6.667 6.667h5.333v-2.533H9.333A4.136 4.136 0 0 1 5.2 16.002zm5.467 1.333h10.667v-2.667H10.667zm12-8h-5.333v2.533h5.333a4.136 4.136 0 0 1 4.133 4.133 4.136 4.136 0 0 1-4.133 4.133h-5.333v2.533h5.333a6.67 6.67 0 0 0 6.667-6.667 6.67 6.67 0 0 0-6.667-6.667z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-loading:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M17 29h-2v-8h2zm-3.586-9L7 26.414 5.586 25 12 18.586zm13 5L25 26.414 18.586 20 20 18.586zM29 17h-8v-2h8zm-18 0H3v-2h8zm2.414-5L12 13.414 5.586 7 7 5.586zm13-5L20 13.414 18.586 12 25 5.586zM17 11h-2V3h2z' style='fill-rule:nonzero' transform='translate(-3.692 -3.692)scale(1.23077)'/%3E%3C/svg%3E")}.ag-icon-maximize:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M14 30H2V18h2.828v7.05l8.254-8.252 2.12 2.12-8.252 8.254H14zm4-28h12v12h-2.828V6.95l-8.254 8.252-2.12-2.12 8.252-8.254H18z'/%3E%3C/svg%3E")}.ag-icon-menu:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M20 13H0v-2h20zm0-6H0V5h20zm0-6H0v-2h20z' style='fill-rule:nonzero' transform='translate(6 9)'/%3E%3C/svg%3E")}.ag-icon-menu-alt:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='%23000' d='M16 19a3 3 0 1 0 0-6 3 3 0 0 0 0 6M16 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6M16 27a3 3 0 1 0 0-6 3 3 0 0 0 0 6'/%3E%3C/svg%3E")}.ag-icon-minimize:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M2 18h12v12h-2.828v-7.05l-8.254 8.252-2.12-2.12 8.252-8.254H2zm28-4H18V2h2.828v7.05L29.082.798l2.12 2.12-8.252 8.254H30z'/%3E%3C/svg%3E")}.ag-icon-minus:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M6.572 6.572a13.32 13.32 0 0 0 0 18.856 13.32 13.32 0 0 0 18.856 0 13.32 13.32 0 0 0 0-18.856 13.32 13.32 0 0 0-18.856 0m17.527 8.099v2.658H7.901v-2.658z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-next:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M10.94 6 9.06 7.88 17.167 16 9.06 24.12 10.94 26l10-10z' style='fill-rule:nonzero' transform='translate(1)'/%3E%3C/svg%3E")}.ag-icon-none:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Enone%3C/title%3E%3Cg fill='%23000' fill-rule='nonzero'%3E%3Cpath d='M23.708 14.645 16 6.939l-7.708 7.706 1.416 1.416L16 9.767l6.292 6.294zM23.708 20.355 16 28.061l-7.708-7.706 1.416-1.416L16 25.233l6.292-6.294z'/%3E%3C/g%3E%3C/svg%3E")}.ag-icon-not-allowed:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M16 2.667C8.64 2.667 2.667 8.64 2.667 16S8.64 29.333 16 29.333 29.333 23.36 29.333 16 23.36 2.667 16 2.667M5.333 16c0-5.893 4.773-10.667 10.667-10.667 2.467 0 4.733.84 6.533 2.253L7.586 22.533A10.54 10.54 0 0 1 5.333 16M16 26.667c-2.467 0-4.733-.84-6.533-2.253L24.414 9.467A10.54 10.54 0 0 1 26.667 16c0 5.893-4.773 10.667-10.667 10.667' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-paste:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M25.334 4H19.76C19.2 2.453 17.733 1.333 16 1.333S12.8 2.453 12.24 4H6.667A2.675 2.675 0 0 0 4 6.667V28c0 1.467 1.2 2.667 2.667 2.667h18.667c1.467 0 2.667-1.2 2.667-2.667V6.667C28.001 5.2 26.801 4 25.334 4M16 4c.733 0 1.333.6 1.333 1.333s-.6 1.333-1.333 1.333-1.333-.6-1.333-1.333S15.267 4 16 4m9.333 24H6.666V6.667h2.667v4h13.333v-4h2.667z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-pin:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='m10.78 19.777-4.668-4.666s.032-1 .67-1.87c1.366-1.86 4.052-1.96 6.056-1.572l3.158-3.108c-.7-2.342 3.352-5.046 3.352-5.046l9.166 9.168q-.334.447-.67.894c-1.074 1.426-2.538 2.63-4.272 2.338l-3.32 3.218c.046.344.042.03.118 1.152.144 2.13-.64 4.324-2.632 5.34l-.746.364-4.798-4.798-7.292 7.294-1.416-1.416zm8.24-13.672c-.688.568-1.416 1.45-1.024 2.072l.49.722-4.986 4.988c-1.988-.506-4.346-.636-5.156.614l9.02 9.032q.14-.099.272-.21c1.226-1.08.764-3.04.498-4.9l4.79-4.79s1.47.938 2.936-.776l-6.79-6.79q-.026.019-.05.038' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-pivot:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M25.128 2.002c2.56.096 4.772 2.292 4.87 4.87a712 712 0 0 1 0 18.256c-.096 2.56-2.292 4.772-4.87 4.87a712 712 0 0 1-18.256 0c-2.558-.096-4.772-2.29-4.87-4.87a712 712 0 0 1 0-18.256c.096-2.56 2.292-4.772 4.87-4.87a712 712 0 0 1 18.256 0m2.966 7.954H9.892v18.136c5.086.13 10.18.098 15.264-.096 1.48-.094 2.746-1.35 2.84-2.84.192-5.064.226-10.134.098-15.2M3.968 24.1q.015.528.036 1.056c.094 1.484 1.354 2.746 2.84 2.84l1.012.036V24.1zM22 15.414l-.292.294-1.416-1.416L23 11.586l2.708 2.706-1.416 1.416-.292-.294v3.592c-.032 2.604-2.246 4.892-4.872 4.992L15.414 24l.294.292-1.416 1.416L11.586 23l2.706-2.708 1.416 1.416-.322.32c3.372.03 6.578-.164 6.614-3.034zM3.88 18.038c.002 1.346.012 2.694.038 4.04h3.938v-4.04zm.05-6.062a681 681 0 0 0-.044 4.042h3.97v-4.042zm5.962-7.99Q8.449 3.999 7.006 4c-1.57.02-2.946 1.348-3.004 2.922q-.02 1.517-.042 3.034h3.896v-2.02h2.036zm14.244-.016v3.966h3.898q-.017-.546-.038-1.092c-.094-1.48-1.35-2.746-2.84-2.84q-.51-.019-1.02-.034m-8.14-.054q-2.035.022-4.07.048v3.972h4.07zm6.106.008a213 213 0 0 0-4.07-.022v4.034h4.07z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-plus:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M6.572 6.572a13.32 13.32 0 0 0 0 18.856 13.32 13.32 0 0 0 18.856 0 13.32 13.32 0 0 0 0-18.856 13.32 13.32 0 0 0-18.856 0m17.527 8.099v2.658h-6.77v6.77h-2.658v-6.77h-6.77v-2.658h6.77v-6.77h2.658v6.77z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-previous:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M21.94 7.88 20.06 6l-10 10 10 10 1.88-1.88L13.833 16z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-right:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='m16 5.333-1.88 1.88 7.44 7.453H5.333v2.667H21.56l-7.44 7.453 1.88 1.88 10.667-10.667L16 5.332z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-save:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M15.708 2.355 8 10.061.292 2.355 1.708.939 8 7.233 14.292.939z' style='fill-rule:nonzero' transform='translate(8 14)'/%3E%3Cpath d='M5 26h22v2H5zM15 4h2v18h-2z'/%3E%3C/svg%3E")}.ag-icon-small-down:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M7.334 10.667 16 21.334l8.667-10.667z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-small-left:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M21.333 7.334 10.666 16l10.667 8.667z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-small-right:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M10.667 24.666 21.334 16 10.667 7.333z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-small-up:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M7.334 21.333 16 10.666l8.667 10.667z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-tick:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M11.586 22.96 27.718 6.828 29.84 8.95 11.586 27.202 2.4 18.016l2.12-2.122z'/%3E%3C/svg%3E")}.ag-icon-tree-closed:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='m11.94 6-1.88 1.88L18.167 16l-8.107 8.12L11.94 26l10-10z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-tree-indeterminate:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M6 13.5h20v3H6z'/%3E%3C/svg%3E")}.ag-icon-tree-open:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M24.12 9.06 16 17.167 7.88 9.06 6 10.94l10 10 10-10z' style='fill-rule:nonzero' transform='translate(0 1)'/%3E%3C/svg%3E")}.ag-icon-unlinked:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M22.667 9.333h-5.333v2.533h5.333a4.136 4.136 0 0 1 4.133 4.133c0 1.907-1.307 3.507-3.08 3.973l1.947 1.947c2.173-1.107 3.667-3.32 3.667-5.92a6.67 6.67 0 0 0-6.667-6.667zm-1.334 5.334h-2.92l2.667 2.667h.253zM2.667 5.693 6.814 9.84A6.65 6.65 0 0 0 2.667 16a6.67 6.67 0 0 0 6.667 6.667h5.333v-2.533H9.334a4.136 4.136 0 0 1-4.133-4.133c0-2.12 1.613-3.867 3.68-4.093l2.76 2.76h-.973v2.667h3.64l3.027 3.027v2.307h2.307l5.347 5.333 1.68-1.68L4.362 4.002 2.669 5.695z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-up:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='m5.333 16 1.88 1.88 7.453-7.44v16.227h2.667V10.44l7.44 7.453L26.666 16 15.999 5.333 5.332 16z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-grip:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M8 24H6v-4h2zm6 0h-2v-4h2zm6 0h-2v-4h2zm6 0h-2v-4h2zM8 18H6v-4h2zm6 0h-2v-4h2zm6 0h-2v-4h2zm6 0h-2v-4h2zM8 12H6V8h2zm6 0h-2V8h2zm6 0h-2V8h2zm6 0h-2V8h2z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-settings:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='%23000' d='M30 8h-4.1c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2v2h14.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30zm-9 4c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3M2 24h4.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30v-2H15.9c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2zm9-4c1.7 0 3 1.3 3 3s-1.3 3-3 3-3-1.3-3-3 1.3-3 3-3'/%3E%3C/svg%3E")}.ag-icon-column-arrow:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M11 4a1 1 0 0 1 1 1v22a1 1 0 1 1-2 0V5a1 1 0 0 1 1-1' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M2 13a1 1 0 0 1 1-1h23.5a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M2 4h18v24H2zm2 2v20h14V6zM26.793 13 23 9.207l1.414-1.414L29.621 13l-5.207 5.207L23 16.793z' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-un-pin:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='m6.112 15.111 3.272 3.271 1.436-1.402-2.476-2.479c.81-1.25 3.168-1.12 5.156-.614l4.986-4.988-.49-.722c-.392-.622.336-1.504 1.024-2.072l.008-.007.01-.006.032-.025 1.447 1.447 1.432-1.397-2.601-2.602s-4.052 2.704-3.352 5.046l-3.158 3.108c-2.004-.388-4.69-.288-6.056 1.572-.638.87-.67 1.87-.67 1.87m.581 11.582.014.014 5.502-5.501 4.783 4.783.746-.364c1.992-1.016 2.776-3.21 2.632-5.34-.055-.805-.068-.87-.088-.97-.008-.04-.017-.085-.03-.182l3.32-3.218c1.734.292 3.198-.912 4.272-2.338q.337-.447.67-.894l-.001-.001-.007-.007-.007-.007-.007-.007-3.87-3.87 1.585-1.584-1.414-1.414-14.381 14.38-1.237 1.209-5.69 5.687 1.417 1.416zM23.21 10.206l2.65 2.651c-1.465 1.714-2.935.776-2.935.776l-4.79 4.79q.041.291.087.583c.257 1.676.513 3.35-.585 4.317a4 4 0 0 1-.272.21l-3.739-3.744z' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-pinned-top:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='currentColor' d='m16.708 10.878 8.708 8.706L24 21l-6.292-6.294V27h-2V14.706L9.416 21 8 19.584q4.348-4.344 8.691-8.69zM25 6H8v2h17z'/%3E%3C/svg%3E")}.ag-icon-pinned-bottom:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='currentColor' d='M16.708 22.122 8 13.416 9.416 12l6.292 6.294V6h2v12.294L24 12l1.416 1.416-8.691 8.69zM7.416 28h17v-2h-17z'/%3E%3C/svg%3E")}.ag-icon-chevron-up:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M3.479 10.521a.75.75 0 0 1 0-1.06l4-4a.75.75 0 0 1 1.06 0l4 4a.75.75 0 0 1-1.06 1.06l-3.47-3.47-3.47 3.47a.75.75 0 0 1-1.06 0' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-chevron-down:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M12.521 5.461a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 0 1 1.06-1.06l3.47 3.47 3.47-3.47a.75.75 0 0 1 1.06 0' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-chevron-left:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M10.53 12.512a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 0 1 0-1.06l4-4a.75.75 0 0 1 1.06 1.06l-3.47 3.47 3.47 3.47a.75.75 0 0 1 0 1.06' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-chevron-right:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M5.47 3.47a.75.75 0 0 1 1.06 0l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06-1.06L8.94 8 5.47 4.53a.75.75 0 0 1 0-1.06' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-filter-add:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='currentColor' d='M19.834 8H8c0 .304.06.612.258.842 2.716 2.854 6.682 5.548 6.742 7.974V21l2-1.5v-2.684c.056-2.267 2.968-4.417 5.49-6.75v3.087c-1.081.974-2.245 1.968-3.232 3.005a1.05 1.05 0 0 0-.258.682v3.66L13 25c0-2.74.066-5.482-.002-8.222a1.05 1.05 0 0 0-.256-.62C10.026 13.304 6.06 10.61 6 8.184V6h13.834z'/%3E%3Cpath fill='currentColor' d='M26 6h2.946v2.002H26v3.313h-2.002V8.002h-2.946V6h2.946V3.04H26z'/%3E%3C/svg%3E")}.ag-icon-edit:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='currentColor' d='M6.222 25.778h1.611l14.834-14.811-1.611-1.611-14.834 14.81zM4 28v-4.733L22.644 4.656a2.26 2.26 0 0 1 1.567-.634q.423 0 .833.167.412.166.734.478l1.589 1.6q.333.322.483.733t.15.822q0 .423-.161.839-.162.416-.472.728L8.733 28zm17.856-17.833-.8-.811 1.61 1.61z'/%3E%3C/svg%3E")}`,db=ge({feature:"iconSet",css:UA}),jA=`.ag-icon-aggregation:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eaggregation%3C/title%3E%3Cpath d='M24 5.333H8V8l8.667 8L8 24v2.667h16v-4h-9.333L21.334 16l-6.667-6.667H24z'/%3E%3C/svg%3E")}.ag-icon-arrows:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Earrows%3C/title%3E%3Cpath d='M13.333 11.556h5.333V8h3.556L16 1.778 9.778 8h3.556zm-1.777 1.777H8V9.777l-6.222 6.222L8 22.221v-3.556h3.556zM30.222 16 24 9.778v3.556h-3.556v5.333H24v3.556l6.222-6.222zm-11.555 4.444h-5.333V24H9.778L16 30.222 22.222 24h-3.556z'/%3E%3C/svg%3E")}.ag-icon-asc:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Easc%3C/title%3E%3Cpath d='m5.333 16 1.88 1.88 7.453-7.44v16.227h2.667V10.44l7.44 7.453L26.666 16 15.999 5.333z'/%3E%3C/svg%3E")}.ag-icon-aasc:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M13.201 8.08q.65 0 1.135.222.487.222.759.618.27.396.279.919H14.19a.72.72 0 0 0-.293-.536q-.26-.191-.705-.192-.302.001-.51.086a.7.7 0 0 0-.32.23.56.56 0 0 0-.108.338.5.5 0 0 0 .065.273.7.7 0 0 0 .204.203q.127.083.295.146.168.06.36.102l.525.125q.382.086.701.229.32.143.554.35.234.21.362.49.131.284.134.648a1.6 1.6 0 0 1-.273.93q-.27.391-.777.608-.504.214-1.217.214-.708 0-1.232-.217a1.8 1.8 0 0 1-.816-.642q-.29-.428-.305-1.058h1.194q.02.294.17.49.15.195.402.294.253.097.573.097.313 0 .544-.09a.84.84 0 0 0 .362-.255.6.6 0 0 0 .129-.374q0-.195-.117-.33a.9.9 0 0 0-.337-.228 3.4 3.4 0 0 0-.54-.171l-.635-.16q-.738-.18-1.166-.562t-.426-1.03a1.53 1.53 0 0 1 .284-.927q.287-.396.79-.618a2.8 2.8 0 0 1 1.14-.223'/%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M5.813 14H4.489l-.432-1.332H1.948L1.515 14H.19l2.017-5.84h1.592zm-3.551-2.296h1.481l-.718-2.21H2.98zM8.452 8.16q.645 0 1.075.19.43.191.648.531a1.4 1.4 0 0 1 .217.775q0 .343-.137.602-.137.256-.376.422a1.6 1.6 0 0 1-.542.231v.057q.333.015.624.188.294.175.476.489.183.31.183.74 0 .466-.231.831a1.56 1.56 0 0 1-.676.573Q9.265 14 8.609 14H6.114V8.16zM7.35 12.99h1.006q.517 0 .753-.196a.66.66 0 0 0 .237-.531.8.8 0 0 0-.116-.428.8.8 0 0 0-.334-.29 1.15 1.15 0 0 0-.511-.106H7.349zm0-2.386h.916q.254 0 .45-.09a.75.75 0 0 0 .313-.256.67.67 0 0 0 .118-.396.64.64 0 0 0-.226-.511q-.223-.195-.633-.194H7.35z' clip-rule='evenodd'/%3E%3Cpath fill='%23000' d='M7.166.377a.75.75 0 0 1 .919.066l3.333 3a.75.75 0 0 1-1.003 1.115L7.609 2.033 5.113 4.53a.75.75 0 0 1-1.06-1.06l3-3z'/%3E%3C/svg%3E")}.ag-icon-cancel:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Ecancel%3C/title%3E%3Cpath d='M16 2.667C8.627 2.667 2.667 8.627 2.667 16S8.627 29.333 16 29.333 29.333 23.373 29.333 16 23.373 2.667 16 2.667m6.667 18.12-1.88 1.88L16 17.88l-4.787 4.787-1.88-1.88L14.12 16l-4.787-4.787 1.88-1.88L16 14.12l4.787-4.787 1.88 1.88L17.88 16z'/%3E%3C/svg%3E")}.ag-icon-chart:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Echart%3C/title%3E%3Cpath d='M6.667 12.267h4v13.067h-4zm7.466-5.6h3.733v18.667h-3.733zM21.6 17.333h3.733v8H21.6z'/%3E%3C/svg%3E")}.ag-icon-color-picker:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Ecolor-picker%3C/title%3E%3Cpath d='M23.907 17.587 10.574 4.254l-1.88 1.88 3.173 3.173-8.28 8.28 10.16 10.16zm-16.547 0 6.387-6.387 6.387 6.387H7.361zm18.387 2s-2.667 2.893-2.667 4.667c0 1.467 1.2 2.667 2.667 2.667s2.667-1.2 2.667-2.667c0-1.773-2.667-4.667-2.667-4.667'/%3E%3C/svg%3E")}.ag-icon-columns:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Ecolumns%3C/title%3E%3Cpath d='M5.333 10.667h5.333V5.334H5.333zm8 16h5.333v-5.333h-5.333zm-8 0h5.333v-5.333H5.333zm0-8h5.333v-5.333H5.333zm8 0h5.333v-5.333h-5.333zm8-13.334v5.333h5.333V5.333zm-8 5.334h5.333V5.334h-5.333zm8 8h5.333v-5.333h-5.333zm0 8h5.333v-5.333h-5.333z'/%3E%3C/svg%3E")}.ag-icon-contracted:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Econtracted%3C/title%3E%3Cpath d='m12.94 8-1.88 1.88L17.167 16l-6.107 6.12L12.94 24l8-8z'/%3E%3C/svg%3E")}.ag-icon-copy:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Ecopy%3C/title%3E%3Cpath d='M22 1.333H6A2.675 2.675 0 0 0 3.333 4v18.667H6V4h16zm4 5.334H11.333a2.675 2.675 0 0 0-2.667 2.667v18.667c0 1.467 1.2 2.667 2.667 2.667H26c1.467 0 2.667-1.2 2.667-2.667V9.334c0-1.467-1.2-2.667-2.667-2.667M26 28H11.333V9.333H26z'/%3E%3C/svg%3E")}.ag-icon-cross:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Ecross%3C/title%3E%3Cpath d='m25.333 8.547-1.88-1.88L16 14.12 8.547 6.667l-1.88 1.88L14.12 16l-7.453 7.453 1.88 1.88L16 17.88l7.453 7.453 1.88-1.88L17.88 16z'/%3E%3C/svg%3E")}.ag-icon-csv:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M384 131.9c-7.753-8.433-110.425-128.473-114.9-133L48-.1C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48zm-35.9 2.1H257V27.9zM30 479V27h200l1 105c0 13.3-1.3 29 12 29h111l1 318z' style='fill-rule:nonzero' transform='translate(3.934 -.054)scale(.06285)'/%3E%3Cpath d='M.688-.226a.2.2 0 0 1-.017.074.28.28 0 0 1-.145.14.412.412 0 0 1-.234.013.28.28 0 0 1-.202-.168.468.468 0 0 1-.04-.19q0-.086.025-.155a.319.319 0 0 1 .182-.191.4.4 0 0 1 .134-.025q.087 0 .155.035a.3.3 0 0 1 .104.085.17.17 0 0 1 .036.097.06.06 0 0 1-.018.044.06.06 0 0 1-.042.019.06.06 0 0 1-.042-.013.2.2 0 0 1-.031-.046.2.2 0 0 0-.066-.079.16.16 0 0 0-.095-.027.17.17 0 0 0-.142.068.3.3 0 0 0-.053.193.4.4 0 0 0 .023.139.2.2 0 0 0 .067.083.2.2 0 0 0 .1.027q.063 0 .106-.031a.2.2 0 0 0 .065-.091.2.2 0 0 1 .023-.046q.014-.018.044-.018a.06.06 0 0 1 .044.018.06.06 0 0 1 .019.045' style='fill-rule:nonzero' transform='matrix(8.39799 0 0 12.455 7.122 25.977)'/%3E%3Cpath d='M.622-.215a.2.2 0 0 1-.033.117.23.23 0 0 1-.098.081.4.4 0 0 1-.153.029.34.34 0 0 1-.175-.04.23.23 0 0 1-.079-.077.17.17 0 0 1-.031-.093q0-.027.019-.045a.06.06 0 0 1 .046-.019.06.06 0 0 1 .039.014.1.1 0 0 1 .027.044.3.3 0 0 0 .03.057q.015.023.044.038.03.015.076.015.065 0 .105-.03a.09.09 0 0 0 .04-.075.08.08 0 0 0-.022-.058.14.14 0 0 0-.056-.034 1 1 0 0 0-.092-.025.7.7 0 0 1-.129-.042.2.2 0 0 1-.083-.066.17.17 0 0 1-.03-.104q0-.058.032-.105a.2.2 0 0 1 .093-.07.4.4 0 0 1 .144-.025q.066 0 .114.016a.3.3 0 0 1 .08.044.2.2 0 0 1 .046.057q.015.03.015.058a.07.07 0 0 1-.018.046.06.06 0 0 1-.046.021q-.025 0-.038-.012a.2.2 0 0 1-.028-.041.2.2 0 0 0-.047-.063Q.387-.625.326-.625a.15.15 0 0 0-.09.025q-.035.024-.035.059 0 .021.012.037a.1.1 0 0 0 .032.027.4.4 0 0 0 .111.036q.06.015.11.031.048.018.083.042a.2.2 0 0 1 .054.062.2.2 0 0 1 .019.091' style='fill-rule:nonzero' transform='matrix(8.39799 0 0 12.455 13.339 25.977)'/%3E%3Cpath d='m.184-.633.162.48.163-.483q.013-.038.019-.053a.062.062 0 0 1 .061-.039q.018 0 .034.009a.1.1 0 0 1 .025.025q.009.015.009.031L.654-.64l-.007.025-.009.024-.173.468-.019.051a.2.2 0 0 1-.021.042.1.1 0 0 1-.033.03.1.1 0 0 1-.049.012.1.1 0 0 1-.05-.011A.1.1 0 0 1 .26-.03a.2.2 0 0 1-.021-.042L.22-.123.05-.587.041-.612.033-.638.03-.662q0-.025.02-.046a.07.07 0 0 1 .05-.02q.037 0 .053.023.015.023.031.072' style='fill-rule:nonzero' transform='matrix(8.39799 0 0 12.455 18.94 25.977)'/%3E%3C/svg%3E")}.ag-icon-cut:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='m19 3-6 6 2 2 7-7V3m-10 9.5a.503.503 0 0 1-.5-.5c0-.274.226-.5.5-.5s.5.226.5.5-.226.5-.5.5M6 20c-1.097 0-2-.903-2-2a2 2 0 0 1 2-2c1.097 0 2 .903 2 2a2 2 0 0 1-2 2M6 8c-1.097 0-2-.903-2-2a2 2 0 0 1 2-2c1.097 0 2 .903 2 2a2 2 0 0 1-2 2m3.64-.36c.23-.5.36-1.05.36-1.64 0-2.194-1.806-4-4-4S2 3.806 2 6s1.806 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.194 0-4 1.806-4 4s1.806 4 4 4 4-1.806 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1z' style='fill-rule:nonzero' transform='translate(4 4)'/%3E%3C/svg%3E")}.ag-icon-desc:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Edesc%3C/title%3E%3Cpath d='m26.667 16-1.88-1.88-7.453 7.44V5.333h-2.667V21.56l-7.44-7.453L5.334 16l10.667 10.667L26.668 16z'/%3E%3C/svg%3E")}.ag-icon-adesc:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M10.387 11.47a.75.75 0 0 1 1.06 1.06l-3 3-.113.093a.75.75 0 0 1-.919-.065l-3.333-3a.75.75 0 0 1 1.003-1.116l2.806 2.525zM13.201 3.08q.65 0 1.135.222.487.223.759.619.27.396.279.918H14.19a.72.72 0 0 0-.293-.536q-.26-.192-.705-.192-.302.001-.51.086a.7.7 0 0 0-.32.23.56.56 0 0 0-.108.338.5.5 0 0 0 .065.273.7.7 0 0 0 .204.203q.127.083.295.146.168.06.36.102l.525.125a3.7 3.7 0 0 1 .701.229q.32.143.554.35.234.21.362.492.131.282.134.647a1.6 1.6 0 0 1-.273.93 1.74 1.74 0 0 1-.777.607q-.504.214-1.217.214-.708 0-1.232-.217a1.8 1.8 0 0 1-.816-.641q-.29-.429-.305-1.059h1.194q.02.294.17.49.15.195.402.294.253.098.573.098.313 0 .544-.092a.84.84 0 0 0 .362-.254.6.6 0 0 0 .129-.373.5.5 0 0 0-.117-.33.9.9 0 0 0-.337-.23 3.4 3.4 0 0 0-.54-.17l-.635-.16q-.738-.18-1.166-.562t-.426-1.03a1.53 1.53 0 0 1 .284-.926q.287-.396.79-.62a2.8 2.8 0 0 1 1.14-.222'/%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M5.813 9H4.489l-.432-1.332H1.948L1.515 9H.19l2.017-5.84h1.592zM2.262 6.704h1.481l-.718-2.21H2.98zM8.452 3.16q.645 0 1.075.19.43.192.648.53a1.4 1.4 0 0 1 .217.776q0 .342-.137.602a1.2 1.2 0 0 1-.376.423 1.6 1.6 0 0 1-.542.23v.058q.333.014.624.187.294.175.476.489.183.31.183.74 0 .465-.231.83a1.56 1.56 0 0 1-.676.574Q9.265 9 8.609 9H6.114V3.16zM7.35 7.99h1.006q.517 0 .753-.196a.66.66 0 0 0 .237-.531.8.8 0 0 0-.116-.428.8.8 0 0 0-.334-.291 1.15 1.15 0 0 0-.511-.106H7.349zm0-2.386h.916q.254 0 .45-.09a.75.75 0 0 0 .313-.256.67.67 0 0 0 .118-.397.64.64 0 0 0-.226-.51q-.223-.194-.633-.194H7.35z' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-down:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Edesc%3C/title%3E%3Cpath d='m26.667 16-1.88-1.88-7.453 7.44V5.333h-2.667V21.56l-7.44-7.453L5.334 16l10.667 10.667L26.668 16z'/%3E%3C/svg%3E")}.ag-icon-excel:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M384 131.9c-7.753-8.433-110.425-128.473-114.9-133L48-.1C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48zm-35.9 2.1H257V27.9zM30 479V27h200l1 105c0 13.3-1.3 29 12 29h111l1 318z' style='fill-rule:nonzero' transform='translate(3.934 -.054)scale(.06285)'/%3E%3Cpath d='m.052-.139.16-.234-.135-.208a.4.4 0 0 1-.028-.052.1.1 0 0 1-.01-.042.05.05 0 0 1 .018-.037.07.07 0 0 1 .045-.016q.03 0 .047.018a1 1 0 0 1 .047.066l.107.174.115-.174.024-.038.019-.026.021-.015a.1.1 0 0 1 .027-.005.06.06 0 0 1 .044.016.05.05 0 0 1 .018.039q0 .033-.038.089l-.141.211.152.234a.3.3 0 0 1 .03.051.1.1 0 0 1 .009.038.1.1 0 0 1-.008.031.1.1 0 0 1-.024.023.1.1 0 0 1-.034.008.1.1 0 0 1-.035-.008.1.1 0 0 1-.023-.022L.427-.067.301-.265l-.134.204-.022.034-.016.019a.1.1 0 0 1-.022.015.1.1 0 0 1-.03.005.06.06 0 0 1-.044-.016.06.06 0 0 1-.017-.047q0-.036.036-.088' style='fill-rule:nonzero' transform='matrix(17.82892 0 0 16.50777 10.371 25.928)'/%3E%3C/svg%3E")}.ag-icon-expanded:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eexpanded%3C/title%3E%3Cpath d='M20.94 9.88 19.06 8l-8 8 8 8 1.88-1.88L14.833 16z'/%3E%3C/svg%3E")}.ag-icon-eye-slash:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eeye-slash%3C/title%3E%3Cpath d='M21.106 15.088A5.19 5.19 0 0 0 16 10.814a5.17 5.17 0 0 0-3.668 1.522L9.866 9.868a12.2 12.2 0 0 1 6.133-1.646c5.186 0 9.614 3.225 11.408 7.778a12.34 12.34 0 0 1-5.276 6.133l-2.468-2.466a5.17 5.17 0 0 0 1.449-2.802h-2.123c-.148.508-.42.964-.782 1.33l-1.33-1.33h-2.514l2.196 2.196q-.272.049-.56.05a3.11 3.11 0 0 1-2.99-2.245h-2.123a5.19 5.19 0 0 0 7.3 3.836l2.247 2.247a12.2 12.2 0 0 1-4.434.828c-5.186 0-9.614-3.225-11.408-7.778a12.3 12.3 0 0 1 3.781-5.111l2.924 2.924a5.1 5.1 0 0 0-.404 1.275h4.206l-1.296-1.296a3.1 3.1 0 0 1 2.196-.903c1.404 0 2.587.924 2.976 2.199h2.13z'/%3E%3C/svg%3E")}.ag-icon-eye:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eeye%3C/title%3E%3Cpath d='M16 8.222c-5.186 0-9.614 3.225-11.408 7.778 1.794 4.553 6.222 7.778 11.408 7.778S25.614 20.553 27.408 16C25.614 11.447 21.186 8.222 16 8.222m0 12.964c-2.862 0-5.186-2.324-5.186-5.186s2.324-5.186 5.186-5.186 5.186 2.324 5.186 5.186-2.324 5.186-5.186 5.186m0-8.297c-1.721 0-3.111 1.39-3.111 3.111s1.39 3.111 3.111 3.111 3.111-1.39 3.111-3.111-1.39-3.111-3.111-3.111'/%3E%3C/svg%3E")}.ag-icon-filter:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Efilter%3C/title%3E%3Cpath d='M13.333 24h5.333v-2.667h-5.333zM4 8v2.667h24V8zm4 9.333h16v-2.667H8z'/%3E%3C/svg%3E")}.ag-icon-first:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Efirst%3C/title%3E%3Cpath d='M24.273 22.12 18.153 16l6.12-6.12L22.393 8l-8 8 8 8zM7.727 8h2.667v16H7.727z'/%3E%3C/svg%3E")}.ag-icon-group:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Egroup%3C/title%3E%3Cpath d='M18.667 21.333h8.889A3.555 3.555 0 0 1 24 24.889h-5.333zm8.888-7.111v3.556h-8.889v-3.556zM24 7.111a3.555 3.555 0 0 1 3.556 3.556h-16V7.111zm-8.889 17.778h-3.556v-3.556h3.556zm0-7.111h-3.556v-3.556h3.556zM8 10.667H4.444A3.555 3.555 0 0 1 8 7.111z'/%3E%3C/svg%3E")}.ag-icon-last:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Elast%3C/title%3E%3Cpath d='m7.727 9.88 6.12 6.12-6.12 6.12L9.607 24l8-8-8-8zM21.607 8h2.667v16h-2.667z'/%3E%3C/svg%3E")}.ag-icon-left:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eleft%3C/title%3E%3Cpath d='M26.667 14.667H10.44l7.453-7.453L16 5.334 5.333 16.001 16 26.668l1.88-1.88-7.44-7.453h16.227v-2.667z'/%3E%3C/svg%3E")}.ag-icon-linked:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Elinked%3C/title%3E%3Cpath d='M5.2 16a4.136 4.136 0 0 1 4.133-4.133h5.333V9.334H9.333c-3.68 0-6.667 2.987-6.667 6.667s2.987 6.667 6.667 6.667h5.333v-2.533H9.333A4.136 4.136 0 0 1 5.2 16.002zm5.467 1.333h10.667v-2.667H10.667zm12-8h-5.333v2.533h5.333c2.28 0 4.133 1.853 4.133 4.133s-1.853 4.133-4.133 4.133h-5.333v2.533h5.333c3.68 0 6.667-2.987 6.667-6.667s-2.987-6.667-6.667-6.667z'/%3E%3C/svg%3E")}.ag-icon-loading:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eloading%3C/title%3E%3Cpath d='m17.778 11.708 3.25-3.251 2.516 2.516-3.251 3.25h4.597v3.556h-4.597l3.251 3.25-2.516 2.516-3.25-3.251v4.597h-3.556v-4.597l-3.25 3.251-2.516-2.516 3.251-3.25H7.11v-3.556h4.597l-3.251-3.25 2.516-2.516 3.25 3.251V7.111h3.556zm-3.251 7.847h2.944l2.084-2.084v-2.944l-2.084-2.084h-2.944l-2.084 2.084v2.944z'/%3E%3C/svg%3E")}.ag-icon-maximize:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Emaximize%3C/title%3E%3Cpath d='M4 4h24v2.667H4z'/%3E%3C/svg%3E")}.ag-icon-menu:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Emenu%3C/title%3E%3Cpath d='M4 24h24v-2.667H4zm0-6.667h24v-2.667H4zM4 8v2.667h24V8z'/%3E%3C/svg%3E")}.ag-icon-menu-alt:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='%23000' d='M16 26.667a2.57 2.57 0 0 1-1.883-.784A2.57 2.57 0 0 1 13.333 24q0-1.1.784-1.883A2.57 2.57 0 0 1 16 21.333q1.1 0 1.883.784.784.783.784 1.883t-.784 1.883a2.57 2.57 0 0 1-1.883.784m0-8a2.57 2.57 0 0 1-1.883-.784A2.57 2.57 0 0 1 13.333 16q0-1.1.784-1.883A2.57 2.57 0 0 1 16 13.333q1.1 0 1.883.784.784.783.784 1.883t-.784 1.883a2.57 2.57 0 0 1-1.883.784m0-8a2.57 2.57 0 0 1-1.883-.784A2.57 2.57 0 0 1 13.333 8q0-1.1.784-1.883A2.57 2.57 0 0 1 16 5.333q1.1 0 1.883.784.784.783.784 1.883t-.784 1.883a2.57 2.57 0 0 1-1.883.784'/%3E%3C/svg%3E")}.ag-icon-minimize:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eminimize%3C/title%3E%3Cpath d='M8 25.333h16V28H8z'/%3E%3C/svg%3E")}.ag-icon-minus:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M6.572 6.572a13.32 13.32 0 0 0 0 18.856 13.32 13.32 0 0 0 18.856 0 13.32 13.32 0 0 0 0-18.856 13.32 13.32 0 0 0-18.856 0m17.527 8.099v2.658H7.901v-2.658z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-next:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Enext%3C/title%3E%3Cpath d='m12.94 8-1.88 1.88L17.167 16l-6.107 6.12L12.94 24l8-8z'/%3E%3C/svg%3E")}.ag-icon-none:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Enone%3C/title%3E%3Cpath d='M4 24h16v-2.667H4zM4 8v2.667h24V8zm0 9.333h24v-2.667H4z'/%3E%3C/svg%3E")}.ag-icon-not-allowed:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Enot-allowed%3C/title%3E%3Cpath d='M16 2.667C8.64 2.667 2.667 8.64 2.667 16S8.64 29.333 16 29.333 29.333 23.36 29.333 16 23.36 2.667 16 2.667M5.333 16c0-5.893 4.773-10.667 10.667-10.667 2.467 0 4.733.84 6.533 2.253L7.586 22.533A10.54 10.54 0 0 1 5.333 16M16 26.667c-2.467 0-4.733-.84-6.533-2.253L24.414 9.467A10.54 10.54 0 0 1 26.667 16c0 5.893-4.773 10.667-10.667 10.667'/%3E%3C/svg%3E")}.ag-icon-paste:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Epaste%3C/title%3E%3Cpath d='M25.333 4H19.76C19.2 2.453 17.733 1.333 16 1.333S12.8 2.453 12.24 4H6.667A2.675 2.675 0 0 0 4 6.667V28c0 1.467 1.2 2.667 2.667 2.667h18.667c1.467 0 2.667-1.2 2.667-2.667V6.667C28.001 5.2 26.801 4 25.334 4zM16 4c.733 0 1.333.6 1.333 1.333s-.6 1.333-1.333 1.333-1.333-.6-1.333-1.333S15.267 4 16 4m9.333 24H6.666V6.667h2.667v4h13.333v-4h2.667z'/%3E%3C/svg%3E")}.ag-icon-pin:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Epin%3C/title%3E%3Cpath d='m11.106 22.093-4.444 4.444-1.259-1.259 4.444-4.444zm5.872-16.63 9.618 9.62-.962.962-.962-.962-7.694 3.847 1.924 1.924-2.74 2.74-7.696-7.696 2.741-2.74 1.924 1.925 3.847-7.696-.962-.962z'/%3E%3C/svg%3E")}.ag-icon-pivot:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Epivot%3C/title%3E%3Cpath d='M26.667 30.223H5.334a3.556 3.556 0 0 1-3.556-3.556V5.334a3.556 3.556 0 0 1 3.556-3.556h21.333a3.556 3.556 0 0 1 3.556 3.556v21.333a3.556 3.556 0 0 1-3.556 3.556m-16-8.89H5.334v5.333h5.333zm16-7.11H12.444v12.444h14.223zm-9.15 6.85-2.039 2.037 2.039 2.039-1.257 1.257-3.295-3.296 3.295-3.295q.63.628 1.257 1.257zm-6.85-6.85H5.334v5.333h5.333zm15.74 3.816-1.257 1.256-2.039-2.037-2.037 2.037-1.257-1.256 3.295-3.296zM10.667 5.333H5.334v5.333h5.333zm8.889 0h-7.112v5.333h7.112zm7.111 0h-5.333v5.333h5.333z'/%3E%3C/svg%3E")}.ag-icon-plus:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2' viewBox='0 0 32 32'%3E%3Cpath d='M6.572 6.572a13.32 13.32 0 0 0 0 18.856 13.32 13.32 0 0 0 18.856 0 13.32 13.32 0 0 0 0-18.856 13.32 13.32 0 0 0-18.856 0m17.527 8.099v2.658h-6.77v6.77h-2.658v-6.77h-6.77v-2.658h6.77v-6.77h2.658v6.77z' style='fill-rule:nonzero'/%3E%3C/svg%3E")}.ag-icon-previous:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eprevious%3C/title%3E%3Cpath d='M20.94 9.88 19.06 8l-8 8 8 8 1.88-1.88L14.833 16z'/%3E%3C/svg%3E")}.ag-icon-right:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eright%3C/title%3E%3Cpath d='m16 5.333-1.88 1.88 7.44 7.453H5.333v2.667H21.56l-7.44 7.453 1.88 1.88 10.667-10.667L16 5.332z'/%3E%3C/svg%3E")}.ag-icon-save:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Esave%3C/title%3E%3Cpath d='M25.333 16v9.333H6.666V16H3.999v9.333C3.999 26.8 5.199 28 6.666 28h18.667C26.8 28 28 26.8 28 25.333V16zm-8 .893 3.453-3.44 1.88 1.88L15.999 22l-6.667-6.667 1.88-1.88 3.453 3.44V4h2.667v12.893z'/%3E%3C/svg%3E")}.ag-icon-small-down:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Esmall-down%3C/title%3E%3Cpath d='M9.333 12.667 16 19.334l6.667-6.667H9.334z'/%3E%3C/svg%3E")}.ag-icon-small-left:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Esmall-left%3C/title%3E%3Cpath d='M19.333 9.333 12.666 16l6.667 6.667V9.334z'/%3E%3C/svg%3E")}.ag-icon-small-right:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Esmall-right%3C/title%3E%3Cpath d='M12.667 22.667 19.334 16l-6.667-6.667v13.333z'/%3E%3C/svg%3E")}.ag-icon-small-up:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Esmall-up%3C/title%3E%3Cpath d='M9.333 19.333 16 12.666l6.667 6.667H9.334z'/%3E%3C/svg%3E")}.ag-icon-tick:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Etick%3C/title%3E%3Cpath d='m11.727 21.167-5.56-5.56-1.893 1.88 7.453 7.453 16-16-1.88-1.88z'/%3E%3C/svg%3E")}.ag-icon-tree-closed:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Etree-closed%3C/title%3E%3Cpath d='m12.94 8-1.88 1.88L17.167 16l-6.107 6.12L12.94 24l8-8z'/%3E%3C/svg%3E")}.ag-icon-tree-indeterminate:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Etree-indeterminate%3C/title%3E%3Cpath d='M6.667 14.667h18.667v2.667H6.667z'/%3E%3C/svg%3E")}.ag-icon-tree-open:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Etree-open%3C/title%3E%3Cpath d='M22.12 11.06 16 17.167 9.88 11.06 8 12.94l8 8 8-8z'/%3E%3C/svg%3E")}.ag-icon-unlinked:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Eunlinked%3C/title%3E%3Cpath d='M22.667 9.333h-5.333v2.533h5.333a4.136 4.136 0 0 1 4.133 4.133c0 1.907-1.307 3.507-3.08 3.973l1.947 1.947c2.173-1.107 3.667-3.32 3.667-5.92a6.67 6.67 0 0 0-6.667-6.667zm-1.334 5.334h-2.92l2.667 2.667h.253zM2.667 5.693 6.814 9.84A6.65 6.65 0 0 0 2.667 16a6.67 6.67 0 0 0 6.667 6.667h5.333v-2.533H9.334a4.136 4.136 0 0 1-4.133-4.133c0-2.12 1.613-3.867 3.68-4.093l2.76 2.76h-.973v2.667h3.64l3.027 3.027v2.307h2.307l5.347 5.333 1.68-1.68L4.362 4.002 2.669 5.695z'/%3E%3C/svg%3E")}.ag-icon-up:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Easc%3C/title%3E%3Cpath d='m5.333 16 1.88 1.88 7.453-7.44v16.227h2.667V10.44l7.44 7.453L26.666 16 15.999 5.333z'/%3E%3C/svg%3E")}.ag-icon-grip:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ctitle%3Egrip%3C/title%3E%3Cpath d='M26.667 12H5.334v2.667h21.333zM5.333 20h21.333v-2.667H5.333z'/%3E%3C/svg%3E")}.ag-icon-settings:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='%23000' d='M30 8h-4.1c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2v2h14.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30zm-9 4c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3M2 24h4.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30v-2H15.9c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2zm9-4c1.7 0 3 1.3 3 3s-1.3 3-3 3-3-1.3-3-3 1.3-3 3-3'/%3E%3C/svg%3E")}.ag-icon-column-arrow:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M11 4a1 1 0 0 1 1 1v22a1 1 0 1 1-2 0V5a1 1 0 0 1 1-1' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M2 13a1 1 0 0 1 1-1h23.5a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1' clip-rule='evenodd'/%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M2 4h18v24H2zm2 2v20h14V6zM26.793 13 23 9.207l1.414-1.414L29.621 13l-5.207 5.207L23 16.793z' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-un-pin:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' d='M8 11a.75.75 0 0 0-.75.75v3.333a.75.75 0 1 0 1.5 0V11.75A.75.75 0 0 0 8 11'/%3E%3Cpath fill='currentColor' d='M13.11 1.436a.75.75 0 0 0-1.22-.872l-10 14a.75.75 0 1 0 1.22.872L5.207 12.5h7.376a.75.75 0 0 0 .75-.75v-1.174a2.08 2.08 0 0 0-1.153-1.863l-1.185-.599-.005-.002a.58.58 0 0 1-.323-.522V5.165a2.083 2.083 0 0 0 1.854-2.904zm-3.943 5.52v.634a2.08 2.08 0 0 0 1.153 1.863l1.185.6.005.002a.58.58 0 0 1 .323.522V11H6.28zM9.277 1H5.25a2.084 2.084 0 0 0-.083 4.165v1.676l1.5-2.132v-.292a.75.75 0 0 0-.75-.75H5.25a.584.584 0 0 1 0-1.167h2.972z'/%3E%3C/svg%3E")}.ag-icon-pinned-top:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' d='M12.53 3.72A.75.75 0 0 1 12 5H4a.75.75 0 0 1 0-1.5h8a.75.75 0 0 1 .53.22M3.269 10.744a.75.75 0 0 1 .2-.524l4-4a.75.75 0 0 1 1.06 0l4 4a.75.75 0 1 1-1.06 1.06L8.75 8.56V14a.75.75 0 0 1-1.5 0V8.56l-2.72 2.72a.75.75 0 0 1-1.26-.536'/%3E%3C/svg%3E")}.ag-icon-pinned-bottom:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' d='M3.47 12.28A.75.75 0 0 1 4 11h8a.75.75 0 0 1 0 1.5H4a.75.75 0 0 1-.53-.22M12.731 5.256a.75.75 0 0 1-.2.524l-4 4a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 1 1 1.06-1.06l2.72 2.72V2a.75.75 0 0 1 1.5 0v5.44l2.72-2.72a.75.75 0 0 1 1.26.536'/%3E%3C/svg%3E")}.ag-icon-chevron-up:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M3.479 10.521a.75.75 0 0 1 0-1.06l4-4a.75.75 0 0 1 1.06 0l4 4a.75.75 0 0 1-1.06 1.06l-3.47-3.47-3.47 3.47a.75.75 0 0 1-1.06 0' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-chevron-down:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M12.521 5.461a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 0 1 1.06-1.06l3.47 3.47 3.47-3.47a.75.75 0 0 1 1.06 0' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-chevron-left:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M10.53 12.512a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 0 1 0-1.06l4-4a.75.75 0 0 1 1.06 1.06l-3.47 3.47 3.47 3.47a.75.75 0 0 1 0 1.06' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-chevron-right:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='currentColor' fill-rule='evenodd' d='M5.47 3.47a.75.75 0 0 1 1.06 0l4 4a.75.75 0 0 1 0 1.06l-4 4a.75.75 0 0 1-1.06-1.06L8.94 8 5.47 4.53a.75.75 0 0 1 0-1.06' clip-rule='evenodd'/%3E%3C/svg%3E")}.ag-icon-filter-add:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='currentColor' d='M18.666 24h-5.333v-2.667h5.333zM24 17.333H8v-2.667h16zm3.59-9.344h3.221v2.657h-3.22v3.22h-2.656v-3.22h-3.221V7.989h3.22V4.77h2.657zm-8.582 2.678H4V8h15.008z'/%3E%3C/svg%3E")}.ag-icon-edit:before{mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='currentColor' d='M6.222 25.778h1.611l14.834-14.811-1.611-1.611-14.834 14.81zM4 28v-4.733L22.644 4.656a2.26 2.26 0 0 1 1.567-.634q.423 0 .833.167.412.166.734.478l1.589 1.6q.333.322.483.733t.15.822q0 .423-.161.839-.162.416-.472.728L8.733 28zm17.856-17.833-.8-.811 1.61 1.61z'/%3E%3C/svg%3E")}`,ub=ge({feature:"iconSet",css:jA}),_A=e=>{const t=[];if(e.type==="image"){const{icons:a,mask:n}=e;for(const r of Object.keys(a)){const o=Lg(a[r]);n?t.push(`.ag-icon-${r}::before { mask-image: ${o}; }`):t.push(`.ag-icon-${r}::before { background-image: ${o}; ${gb} }`)}}if(e.type==="font"){const{family:a,weight:n,color:r,icons:o}=e;let i=gb;a&&(i+=` font-family: ${Ig(a)};`),n&&(i+=` font-weight: ${QC(n)};`),r&&(i+=` color: ${Jl(r)};`);for(const s of Object.keys(o))t.push(`.ag-icon-${s}::before { content: ${JSON.stringify(o[s])}; ${i} }`)}return ge({css:t.join(`;
`),cssImports:e.cssImports})},gb="background-color: unset; mask-image: unset; -webkit-mask-image: unset;",hb={aggregation:'',arrows:'',asc:'',cancel:'',chart:'',"color-picker":'',columns:'',contracted:'',copy:'',cross:'',csv:'',cut:'',desc:'',down:'',excel:'',expanded:'',eye:'',"eye-slash":'',filter:'',first:'',grip:'',group:'',last:'',left:'',linked:'',loading:'',maximize:'',menu:'',"menu-alt":'',minimize:'',minus:'',next:'',none:'',"not-allowed":'',paste:'',pin:'',pivot:'',plus:'',previous:'',right:'',save:'',settings:'',"small-left":'',"small-right":'',tick:'',"tree-closed":'',"tree-indeterminate":'',"tree-open":'',unlinked:'',up:''},pb={aasc:'',adesc:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"column-arrow":'',edit:'',"filter-add":'',"pinned-bottom":'',"pinned-top":'',"small-down":'',"small-up":'',"un-pin":''},KA=(e={})=>{let t="";for(const a of[...Object.keys(hb),...Object.keys(pb)]){const n=YA(a,e.strokeWidth);t+=`.ag-icon-${a}::before { mask-image: url('data:image/svg+xml,${encodeURIComponent(n)}'); }
`}return t},YA=(e,t=1.5)=>{const a=pb[e];if(a)return a;const n=hb[e];if(!n)throw new Error(`Missing icon data for ${e}`);return`"},ac=(e={})=>ge({feature:"iconSet",css:()=>KA(e)}),QA=ac({strokeWidth:1}),fb=ac(),ZA=ac({strokeWidth:2}),Bg=':where(.ag-input-field-input[type=number]:not(.ag-number-field-input-stepper)){-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;&::-webkit-inner-spin-button,&::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}}.ag-input-field-input:where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){background-color:var(--ag-input-background-color);border:var(--ag-input-border);border-radius:var(--ag-input-border-radius);color:var(--ag-input-text-color);font-family:inherit;font-size:inherit;line-height:inherit;margin:0;min-height:var(--ag-input-height);padding:0;&:where(:disabled){background-color:var(--ag-input-disabled-background-color);border:var(--ag-input-disabled-border);color:var(--ag-input-disabled-text-color)}&:where(:focus){background-color:var(--ag-input-focus-background-color);border:var(--ag-input-focus-border);box-shadow:var(--ag-input-focus-shadow);color:var(--ag-input-focus-text-color);outline:none}&:where(:invalid){background-color:var(--ag-input-invalid-background-color);border:var(--ag-input-invalid-border);color:var(--ag-input-invalid-text-color)}&:where(.invalid){background-color:var(--ag-input-invalid-background-color);border:var(--ag-input-invalid-border);color:var(--ag-input-invalid-text-color)}&::-moz-placeholder{color:var(--ag-input-placeholder-text-color)}&::placeholder{color:var(--ag-input-placeholder-text-color)}}:where(.ag-ltr) .ag-input-field-input:where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){padding-left:var(--ag-input-padding-start)}:where(.ag-rtl) .ag-input-field-input:where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){padding-right:var(--ag-input-padding-start)}&:where(.ag-ltr,.ag-rtl) .ag-input-field-input:where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){padding:0 var(--ag-input-padding-start)}:where(.ag-column-select-header-filter-wrapper),:where(.ag-filter-add-select),:where(.ag-filter-filter),:where(.ag-filter-toolpanel-search),:where(.ag-floating-filter-search-icon),:where(.ag-mini-filter){.ag-input-wrapper:before{background-color:currentcolor;color:var(--ag-input-icon-color);content:"";display:block;height:12px;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41Ij48cGF0aCBkPSJNNS4zIDlhMy43IDMuNyAwIDEgMCAwLTcuNSAzLjcgMy43IDAgMCAwIDAgNy41Wk0xMC41IDEwLjUgOC4zIDguMiIvPjwvc3ZnPg==");mask-image:url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41Ij48cGF0aCBkPSJNNS4zIDlhMy43IDMuNyAwIDEgMCAwLTcuNSAzLjcgMy43IDAgMCAwIDAgNy41Wk0xMC41IDEwLjUgOC4zIDguMiIvPjwvc3ZnPg==");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;opacity:.5;position:absolute;width:12px}}:where(.ag-ltr) :where(.ag-column-select-header-filter-wrapper),:where(.ag-ltr) :where(.ag-filter-add-select),:where(.ag-ltr) :where(.ag-filter-filter),:where(.ag-ltr) :where(.ag-filter-toolpanel-search),:where(.ag-ltr) :where(.ag-floating-filter-search-icon),:where(.ag-ltr) :where(.ag-mini-filter){.ag-input-wrapper:before{margin-left:var(--ag-spacing)}.ag-number-field-input,.ag-text-field-input{padding-left:calc(var(--ag-spacing)*1.5 + 12px)}}:where(.ag-rtl) :where(.ag-column-select-header-filter-wrapper),:where(.ag-rtl) :where(.ag-filter-add-select),:where(.ag-rtl) :where(.ag-filter-filter),:where(.ag-rtl) :where(.ag-filter-toolpanel-search),:where(.ag-rtl) :where(.ag-floating-filter-search-icon),:where(.ag-rtl) :where(.ag-mini-filter){.ag-input-wrapper:before{margin-right:var(--ag-spacing)}.ag-number-field-input,.ag-text-field-input{padding-right:calc(var(--ag-spacing)*1.5 + 12px)}}',XA=".ag-input-field-input:where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){&:focus{box-shadow:var(--ag-focus-shadow);&:where(.invalid),&:where(:invalid){box-shadow:var(--ag-focus-error-shadow)}}}",JA=".ag-input-field-input:where(input:not([type]),input[type=text],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],textarea){border-left:none;border-right:none;border-top:none}",Ng={inputBackgroundColor:"transparent",inputBorder:!1,inputBorderRadius:0,inputTextColor:{ref:"textColor"},inputPlaceholderTextColor:{ref:"inputTextColor",mix:.5},inputPaddingStart:0,inputHeight:{calc:"max(iconSize, fontSize) + spacing * 2"},inputFocusBackgroundColor:{ref:"inputBackgroundColor"},inputFocusBorder:{ref:"inputBorder"},inputFocusShadow:"none",inputFocusTextColor:{ref:"inputTextColor"},inputDisabledBackgroundColor:{ref:"inputBackgroundColor"},inputDisabledBorder:{ref:"inputBorder"},inputDisabledTextColor:{ref:"inputTextColor"},inputInvalidBackgroundColor:{ref:"inputBackgroundColor"},inputInvalidBorder:{ref:"inputBorder"},inputInvalidTextColor:{ref:"inputTextColor"},inputIconColor:{ref:"inputTextColor"},pickerButtonBorder:!1,pickerButtonFocusBorder:{ref:"inputFocusBorder"},pickerButtonBackgroundColor:{ref:"backgroundColor"},pickerButtonFocusBackgroundColor:{ref:"backgroundColor"},pickerListBorder:!1,pickerListBackgroundColor:{ref:"backgroundColor"},colorPickerThumbSize:18,colorPickerTrackSize:12,colorPickerThumbBorderWidth:3,colorPickerTrackBorderRadius:12,colorPickerColorBorderRadius:4},$A=()=>ge({feature:"inputStyle",params:Ng,css:Bg}),e3=$A(),t3=()=>ge({feature:"inputStyle",params:{...Ng,inputBackgroundColor:Ee,inputBorder:!0,inputBorderRadius:{ref:"borderRadius"},inputPaddingStart:{ref:"spacing"},inputFocusBorder:{color:Ie},inputFocusShadow:{ref:"focusShadow"},inputDisabledBackgroundColor:Me(.06),inputDisabledTextColor:{ref:"textColor",mix:.5},inputInvalidBorder:{color:{ref:"invalidColor"}},pickerButtonBorder:!0,pickerListBorder:!0},css:()=>Bg+XA}),nc=t3(),a3=()=>ge({feature:"inputStyle",params:{...Ng,inputBackgroundColor:"transparent",inputBorder:{width:2,color:Ve(.3)},inputPaddingStart:{ref:"spacing"},inputFocusBorder:"solid 2px var(--ag-accent-color)",inputDisabledTextColor:{ref:"textColor",mix:.5},inputDisabledBorder:"solid 1px var(--ag-border-color)",inputInvalidBorder:{width:2,color:{ref:"invalidColor",mix:.3}}},css:()=>Bg+JA}),mb=a3(),Zi='.ag-tabs-header{background-color:var(--ag-tab-bar-background-color);border-bottom:var(--ag-tab-bar-border);display:flex;flex:1;gap:var(--ag-tab-spacing);padding:var(--ag-tab-bar-top-padding) var(--ag-tab-bar-horizontal-padding) 0}.ag-tabs-header-wrapper{display:flex}.ag-tabs-close-button-wrapper{align-items:center;border:0;display:flex;padding:var(--ag-spacing)}:where(.ag-ltr) .ag-tabs-close-button-wrapper{border-right:solid var(--ag-border-width) var(--ag-border-color)}:where(.ag-rtl) .ag-tabs-close-button-wrapper{border-left:solid var(--ag-border-width) var(--ag-border-color)}.ag-tabs-close-button{background-color:unset;border:0;cursor:pointer;padding:0}.ag-tab{align-items:center;background-color:var(--ag-tab-background-color);border-left:var(--ag-tab-selected-border-width) solid transparent;border-right:var(--ag-tab-selected-border-width) solid transparent;color:var(--ag-tab-text-color);cursor:pointer;display:flex;flex:1;justify-content:center;padding:var(--ag-tab-top-padding) var(--ag-tab-horizontal-padding) var(--ag-tab-bottom-padding);position:relative}.ag-tab:hover{background-color:var(--ag-tab-hover-background-color);color:var(--ag-tab-hover-text-color)}.ag-tab.ag-tab-selected{background-color:var(--ag-tab-selected-background-color);color:var(--ag-tab-selected-text-color)}:where(.ag-ltr) .ag-tab.ag-tab-selected:where(:not(:first-of-type)){border-left-color:var(--ag-tab-selected-border-color)}:where(.ag-rtl) .ag-tab.ag-tab-selected:where(:not(:first-of-type)){border-right-color:var(--ag-tab-selected-border-color)}:where(.ag-ltr) .ag-tab.ag-tab-selected:where(:not(:last-of-type)){border-right-color:var(--ag-tab-selected-border-color)}:where(.ag-rtl) .ag-tab.ag-tab-selected:where(:not(:last-of-type)){border-left-color:var(--ag-tab-selected-border-color)}.ag-tab:after{background-color:var(--ag-tab-selected-underline-color);bottom:0;content:"";display:block;height:var(--ag-tab-selected-underline-width);left:0;opacity:0;position:absolute;right:0;transition:opacity var(--ag-tab-selected-underline-transition-duration)}.ag-tab.ag-tab-selected:after{opacity:1}',n3=".ag-tab{border-left:var(--ag-tab-selected-border-width) solid transparent;border-right:var(--ag-tab-selected-border-width) solid transparent;border-top:var(--ag-tab-selected-border-width) solid transparent;flex:none;&.ag-tab-selected{border-left-color:var(--ag-tab-selected-border-color);border-right-color:var(--ag-tab-selected-border-color);border-top-color:var(--ag-tab-selected-border-color);margin-bottom:-1px;padding-bottom:calc(var(--ag-tab-bottom-padding) + 1px)}}",Xi={tabBarBackgroundColor:"transparent",tabBarHorizontalPadding:0,tabBarTopPadding:0,tabBackgroundColor:"transparent",tabTextColor:{ref:"textColor"},tabHorizontalPadding:{ref:"spacing"},tabTopPadding:{ref:"spacing"},tabBottomPadding:{ref:"spacing"},tabSpacing:"0",tabHoverBackgroundColor:{ref:"tabBackgroundColor"},tabHoverTextColor:{ref:"tabTextColor"},tabSelectedBackgroundColor:{ref:"tabBackgroundColor"},tabSelectedTextColor:{ref:"tabTextColor"},tabSelectedBorderWidth:{ref:"borderWidth"},tabSelectedBorderColor:"transparent",tabSelectedUnderlineColor:"transparent",tabSelectedUnderlineWidth:0,tabSelectedUnderlineTransitionDuration:0,tabBarBorder:!1},r3=()=>ge({feature:"tabStyle",params:Xi,css:Zi}),o3=r3(),i3=()=>ge({feature:"tabStyle",params:{...Xi,tabBarBorder:!0,tabBarBackgroundColor:Ve(.05),tabTextColor:{ref:"textColor",mix:.7},tabSelectedTextColor:{ref:"textColor"},tabHoverTextColor:{ref:"textColor"},tabSelectedBorderColor:{ref:"borderColor"},tabSelectedBackgroundColor:Ee},css:Zi}),vb=i3(),s3=()=>ge({feature:"tabStyle",params:{...Xi,tabBarBackgroundColor:{ref:"chromeBackgroundColor"},tabSelectedUnderlineColor:{ref:"primaryColor"},tabSelectedUnderlineWidth:2,tabSelectedUnderlineTransitionDuration:0},css:Zi}),Cb=s3(),l3=()=>ge({feature:"tabStyle",params:{...Xi,tabBarBorder:!0,tabBarBackgroundColor:{ref:"chromeBackgroundColor"},tabHoverTextColor:Ie,tabSelectedTextColor:Ie,tabSelectedUnderlineColor:Ie,tabSelectedUnderlineWidth:2,tabSelectedUnderlineTransitionDuration:"0.3s"},css:Zi}),bb=l3(),c3=()=>ge({feature:"tabStyle",params:{...Xi,tabBarBackgroundColor:{ref:"chromeBackgroundColor"},tabBarHorizontalPadding:{ref:"spacing"},tabBarTopPadding:{ref:"spacing"},tabBarBorder:!0,tabHorizontalPadding:{calc:"spacing * 2"},tabTopPadding:{ref:"spacing"},tabBottomPadding:{ref:"spacing"},tabSpacing:{ref:"spacing"},tabSelectedBorderColor:{ref:"borderColor"},tabSelectedBackgroundColor:Ee},css:()=>Zi+n3}),wb=c3(),d3=".ag-dnd-ghost,.ag-filter-toolpanel-header,.ag-filter-toolpanel-search,.ag-multi-filter-group-title-bar,.ag-panel-title-bar-title,.ag-status-bar{color:var(--ag-header-text-color);font-size:calc(var(--ag-font-size) - 1px);font-weight:600}.ag-column-drop-horizontal{background-color:color-mix(in srgb,var(--ag-background-color),var(--ag-foreground-color) 8%)}.ag-cell.ag-cell-inline-editing{background-color:var(--ag-background-color);background-image:linear-gradient(0deg,var(--ag-input-background-color),var(--ag-input-background-color));border:var(--ag-input-border)!important;border-width:1px!important;height:calc(var(--ag-row-height) + var(--ag-spacing)*3);padding:var(--ag-spacing);:where(.ag-row-last:not(.ag-row-first)) &{bottom:0}:where(.ag-has-focus) &{border:var(--ag-input-focus-border)!important;border-width:1px!important}}.ag-advanced-filter-builder-button,.ag-standard-button{text-transform:uppercase}.ag-status-bar{border:solid var(--ag-border-width) var(--ag-border-color)}.ag-list-item-hovered:after{background-color:var(--ag-primary-color)}.ag-pill-button:hover{color:var(--ag-primary-color)}.ag-filter-add-button,.ag-filter-add-button:hover{border-bottom:2px solid var(--ag-primary-color)}",yb=()=>({fontFamily:[{googleFont:"IBM Plex Sans"},"-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Oxygen-Sans","Ubuntu"]}),u3=()=>Ki().withPart(Yi).withPart(Qi).withPart(fb).withPart(vb).withPart(nc).withPart(tc).withParams(yb()),Sb=u3(),xb=()=>({accentColor:"#2196f3",selectedRowBackgroundColor:Zt(.3),inputFocusBorder:{color:Zt(.4)},focusShadow:{radius:2,spread:1.6,color:Zt(.4)},iconButtonHoverBackgroundColor:"transparent",iconButtonActiveBackgroundColor:"transparent",checkboxUncheckedBorderColor:Me(.45),checkboxIndeterminateBackgroundColor:Me(.45),checkboxIndeterminateBorderColor:Me(.45),checkboxBorderWidth:2,checkboxBorderRadius:2,fontSize:13,dataFontSize:14,headerFontWeight:700,borderRadius:3,wrapperBorderRadius:3,tabSelectedUnderlineColor:Ie,tabSelectedBorderWidth:0,tabSelectedUnderlineTransitionDuration:.3,sideButtonSelectedUnderlineColor:Ie,sideButtonSelectedUnderlineWidth:2,sideButtonSelectedUnderlineTransitionDuration:.3,sideButtonBorder:!1,sideButtonSelectedBorder:!1,sideButtonBarTopPadding:{calc:"spacing * 3"},sideButtonSelectedBackgroundColor:"transparent",sideButtonHoverTextColor:Ie,iconButtonHoverColor:Ie,toggleButtonWidth:28,toggleButtonHeight:18,toggleButtonSwitchInset:1,toggleButtonOffBackgroundColor:Me(.45),colorPickerThumbSize:13,colorPickerTrackSize:11,colorPickerThumbBorderWidth:2,colorPickerTrackBorderRadius:2,colorPickerColorBorderRadius:2}),g3=()=>Ki().withPart(ib).withPart(Yi).withPart(Qi).withPart(db).withPart(bb).withPart(nc).withPart(tc).withParams(xb()),h3=g3(),kb=()=>({accentColor:"#0091ea",borderColor:Ve(.2),spacing:4,widgetVerticalSpacing:{calc:"max(8px, spacing)"},borderRadius:2,wrapperBorderRadius:2,headerColumnResizeHandleColor:"transparent",headerColumnBorder:!0,headerColumnBorderHeight:"50%",oddRowBackgroundColor:{ref:"chromeBackgroundColor",mix:.5},checkboxBorderRadius:2,checkboxBorderWidth:1,checkboxUncheckedBackgroundColor:Ee,checkboxUncheckedBorderColor:Me(.5),checkboxCheckedBackgroundColor:Ee,checkboxCheckedBorderColor:Ie,checkboxCheckedShapeColor:Ie,checkboxIndeterminateBackgroundColor:Ee,checkboxIndeterminateBorderColor:Me(.5),checkboxIndeterminateShapeColor:Me(.5),focusShadow:{radius:2,spread:1,color:Ie},headerTextColor:Ve(.6),iconButtonHoverBackgroundColor:"transparent",iconButtonActiveBackgroundColor:"transparent",fontSize:12,tabSelectedBackgroundColor:Ee,headerFontWeight:"bold",toggleButtonWidth:32,toggleButtonHeight:16,toggleButtonSwitchInset:1,toggleButtonOffBackgroundColor:Me(.5),sideButtonBorder:!0,sideButtonBarTopPadding:{calc:"spacing * 4"},popupShadow:"5px 5px 10px rgba(0, 0, 0, 0.3)",statusBarLabelColor:Ve(.54),statusBarLabelFontWeight:600,statusBarValueFontWeight:600,panelTitleBarIconColor:Ot,colorPickerThumbSize:13,colorPickerTrackSize:11,colorPickerThumbBorderWidth:2,colorPickerTrackBorderRadius:2,colorPickerColorBorderRadius:2}),p3=()=>Ki().withPart(sb).withPart(Yi).withPart(Qi).withPart(cb).withPart(wb).withPart(nc).withPart(Gg).withParams(kb()),f3=p3(),m3=()=>{const e={tabSelectedUnderlineColor:{ref:"primaryColor"},sideButtonSelectedUnderlineColor:{ref:"primaryColor"},buttonTextColor:{ref:"primaryColor"},rangeSelectionBackgroundColor:{ref:"primaryColor",mix:.2},rangeSelectionBorderColor:{ref:"primaryColor"},rangeSelectionHighlightColor:{ref:"primaryColor",mix:.5},rangeHeaderHighlightColor:{ref:"foregroundColor",mix:.08},rowNumbersSelectedColor:{ref:"primaryColor",mix:.5},inputFocusBorder:{width:2,color:{ref:"primaryColor"}},pickerButtonFocusBorder:{width:1,color:{ref:"primaryColor"}},cellEditingBorder:{color:{ref:"primaryColor"}},menuBackgroundColor:{ref:"backgroundColor"},sideButtonBarBackgroundColor:Ee,sideButtonSelectedBackgroundColor:"transparent",sideButtonBarTopPadding:{calc:"spacing * 4"},headerColumnResizeHandleColor:"none",headerBackgroundColor:{ref:"backgroundColor"},rowHoverColor:Ve(.08),columnHoverColor:Ve(.08),headerCellHoverBackgroundColor:Ve(.05),statusBarLabelColor:Ve(.63),statusBarLabelFontWeight:600,statusBarValueFontWeight:600,valueChangeValueHighlightBackgroundColor:"#00acc1",panelTitleBarIconColor:Ot,advancedFilterBuilderButtonBarBorder:!1,filterPanelApplyButtonColor:{ref:"buttonTextColor"},filterPanelApplyButtonBackgroundColor:{ref:"buttonBackgroundColor"},columnPanelApplyButtonColor:{ref:"buttonTextColor"},columnPanelApplyButtonBackgroundColor:{ref:"buttonBackgroundColor"},colorPickerThumbSize:13,colorPickerTrackSize:11,colorPickerThumbBorderWidth:2,colorPickerTrackBorderRadius:2,colorPickerColorBorderRadius:2,rowDragIndicatorColor:{ref:"primaryColor"},columnDragIndicatorColor:{ref:"primaryColor"}},t={...e,primaryColor:"#3f51b5",foregroundColor:"#000D",headerTextColor:"#0008",accentColor:"#ff4081",checkboxUncheckedBorderColor:Ot,checkboxIndeterminateBackgroundColor:Ot,toggleButtonOffBackgroundColor:Ot,selectedRowBackgroundColor:"rgba(33, 150, 243, 0.3)"},a={...e,primaryColor:"#3f51b5",foregroundColor:"#fffD",headerTextColor:"#fff8",accentColor:"#bb86fc",checkboxUncheckedBorderColor:Me(.5),checkboxIndeterminateBackgroundColor:Me(.5),toggleButtonOffBackgroundColor:Me(.5),selectedRowBackgroundColor:"#bb86fc33"};return ge({feature:"styleMaterial",css:d3,params:t,modeParams:{light:t,dark:a,"dark-blue":a}})},Rb=m3(),Fb=()=>({rowHeight:{calc:"max(iconSize, cellFontSize) + spacing * 3.75 * rowVerticalPaddingScale"},headerHeight:{calc:"max(iconSize, dataFontSize) + spacing * 4.75 * headerVerticalPaddingScale"},widgetVerticalSpacing:{calc:"spacing * 1.75"},cellHorizontalPadding:{calc:"spacing * 3"},buttonHorizontalPadding:{ref:"spacing"},widgetContainerHorizontalPadding:{calc:"spacing * 1.5"},widgetContainerVerticalPadding:{calc:"spacing * 2"},fontSize:13,iconSize:18,borderRadius:0,wrapperBorderRadius:0,wrapperBorder:!1,menuBorder:!1,dialogBorder:!1,panelTitleBarBorder:!1,tabSelectedBorderWidth:0,tabSelectedUnderlineTransitionDuration:.3,sidePanelBorder:!1,sideButtonSelectedBorder:!1,sideButtonSelectedUnderlineWidth:2,sideButtonSelectedUnderlineTransitionDuration:.3,sideButtonBorder:!1,buttonBorder:!1,buttonDisabledBorder:!1,focusShadow:{spread:4,color:Ve(.16)},fontFamily:[{googleFont:"Roboto"},"-apple-system","BlinkMacSystemFont","Segoe UI","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue","sans-serif"],inputHeight:{calc:"max(iconSize, fontSize) + spacing * 3"},pickerButtonBorder:{width:1,color:"transparent"},headerFontWeight:600,headerFontSize:{calc:"fontSize - 1px"},checkboxBorderWidth:2,checkboxBorderRadius:2,toggleButtonWidth:34,toggleButtonSwitchInset:1,cardShadow:"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)",popupShadow:"5px 5px 10px rgba(0, 0, 0, 0.3)"}),v3=()=>Ki().withPart(rb).withPart(Yi).withPart(Qi).withPart(ub).withPart(Cb).withPart(mb).withPart(Gg).withPart(Rb).withParams(Fb()),C3=v3(),Nn=(e,t,a,n,r)=>({changeKey:e,type:t,defaultValue:a,noWarn:n,cacheDefault:r}),b3=Nn("cellHorizontalPadding","length",16),w3=Nn("indentationLevel","length",0,!0,!0),y3=Nn("rowGroupIndentSize","length",0),Mb=Nn("rowHeight","length",42),Eb=Nn("headerHeight","length",48),Hg=Nn("rowBorderWidth","border",1),Pb=Nn("pinnedRowBorderWidth","border",1),S3=Nn("headerRowBorderWidth","border",1);function Ab(e,t){for(const a of t.sort((n,r)=>n.moduleName.localeCompare(r.moduleName))){const n=a.css;n&&e.set(`module-${a.moduleName}`,n)}}var x3=class extends tb{initVariables(){this.addManagedPropertyListener("rowHeight",()=>this.refreshRowHeightVariable()),this.getSizeEl(Mb),this.getSizeEl(Eb),this.getSizeEl(Hg),this.getSizeEl(Pb),this.refreshRowBorderWidthVariable()}getPinnedRowBorderWidth(){return this.getCSSVariablePixelValue(Pb)}getRowBorderWidth(){return this.getCSSVariablePixelValue(Hg)}getHeaderRowBorderWidth(){return this.getCSSVariablePixelValue(S3)}getDefaultRowHeight(){return this.getCSSVariablePixelValue(Mb)}getDefaultHeaderHeight(){return this.getCSSVariablePixelValue(Eb)}getDefaultCellHorizontalPadding(){return this.getCSSVariablePixelValue(b3)}getCellPaddingLeft(){const e=this.getDefaultCellHorizontalPadding(),t=this.getCSSVariablePixelValue(w3),a=this.getCSSVariablePixelValue(y3);return e-1+a*t}getCellPadding(){const e=this.getDefaultCellHorizontalPadding()-1;return this.getCellPaddingLeft()+e}getDefaultColumnMinWidth(){return Math.min(36,this.getDefaultRowHeight())}refreshRowHeightVariable(){const{eRootDiv:e}=this,t=e.style.getPropertyValue("--ag-line-height").trim(),a=this.gos.get("rowHeight");if(a==null||isNaN(a)||!isFinite(a))return t!==null&&e.style.setProperty("--ag-line-height",null),-1;const n=`${a}px`;return t!=n?(e.style.setProperty("--ag-line-height",n),a):t!=""?Number.parseFloat(t):-1}fireStylesChangedEvent(e){e==="rowBorderWidth"&&this.refreshRowBorderWidthVariable(),super.fireStylesChangedEvent(e)}refreshRowBorderWidthVariable(){const e=this.getCSSVariablePixelValue(Hg);this.eRootDiv.style.setProperty("--ag-internal-row-border-width",`${e}px`)}postProcessThemeChange(e,t){e&&getComputedStyle(this.getMeasurementContainer()).getPropertyValue("--ag-legacy-styles-loaded")&&J(t?106:239)}getAdditionalCss(){const e=new Map;return e.set("core",[uA]),Ab(e,Array.from(PR())),e}getDefaultTheme(){return Sb}varError(e,t){R(9,{variable:{cssName:e,defaultValue:t}})}themeError(e){J(240,{theme:e})}shadowRootError(){J(293)}},Tb=class extends _e{constructor(){super(...arguments),this.beanName="eventSvc",this.eventServiceType="global",this.globalSvc=new Ta}addListener(e,t,a){this.globalSvc.addEventListener(e,t,a)}removeListener(e,t,a){this.globalSvc.removeEventListener(e,t,a)}addGlobalListener(e,t=!1){this.globalSvc.addGlobalListener(e,t)}removeGlobalListener(e,t=!1){this.globalSvc.removeGlobalListener(e,t)}dispatchEvent(e){this.globalSvc.dispatchEvent(this.gos.addCommon(e))}dispatchEventOnce(e){this.globalSvc.dispatchEventOnce(this.gos.addCommon(e))}},k3=class extends Tb{postConstruct(){const{globalListener:e,globalSyncListener:t}=this.beans;e&&this.addGlobalListener(e,!0),t&&this.addGlobalListener(t,!1)}};function qg(e,t,a){const n=e.visibleCols.headerGroupRowCount;if(a>=n)return{column:t,headerRowIndex:a};let r=t.getParent();for(;r&&r.getProvidedColumnGroup().getLevel()>a;)r=r.getParent();const o=t.isSpanHeaderHeight();return!r||o&&r.isPadding()?{column:t,headerRowIndex:n}:{column:r,headerRowIndex:r.getProvidedColumnGroup().getLevel()}}var R3=class extends F{constructor(){super(...arguments),this.beanName="headerNavigation",this.currentHeaderRowWithoutSpan=-1}postConstruct(){const e=this.beans;e.ctrlsSvc.whenReady(this,a=>{this.gridBodyCon=a.gridBodyCtrl});const t=me(e);this.addManagedElementListeners(t,{mousedown:()=>{this.currentHeaderRowWithoutSpan=-1}})}getHeaderPositionForColumn(e,t){let a;const{colModel:n,colGroupSvc:r,ctrlsSvc:o}=this.beans;if(typeof e=="string"?(a=n.getCol(e),a||(a=r?.getColumnGroup(e)??null)):a=e,!a)return null;const s=o.getHeaderRowContainerCtrl()?.getAllCtrls(),l=W(s||[]).type==="filter",c=ca(this.beans)-1;let d=-1,u=a;for(;u;)d++,u=u.getParent();let g=d;return t&&l&&g===c-1&&g++,g===-1?null:{headerRowIndex:g,column:a}}navigateVertically(e,t){const{focusSvc:a,visibleCols:n}=this.beans,{focusedHeader:r}=a;if(!r)return!1;const{headerRowIndex:o}=r,i=r.column,s=ca(this.beans),l=this.getHeaderRowType(o),c=n.headerGroupRowCount;let{headerRowIndex:d,column:u,headerRowIndexWithoutSpan:g}=e==="UP"?F3(l,i,o):M3(i,o,c),h=!1;return d<0&&(d=0,u=i,h=!0),d>=s?(d=-1,this.currentHeaderRowWithoutSpan=-1):g!==void 0&&(this.currentHeaderRowWithoutSpan=g),!h&&!u?!1:a.focusHeaderPosition({headerPosition:{headerRowIndex:d,column:u},allowUserOverride:!0,event:t})}navigateHorizontally(e,t=!1,a){const{focusSvc:n,gos:r}=this.beans,o={...n.focusedHeader};let i,s;this.currentHeaderRowWithoutSpan!==-1?o.headerRowIndex=this.currentHeaderRowWithoutSpan:this.currentHeaderRowWithoutSpan=o.headerRowIndex,e==="LEFT"!==r.get("enableRtl")?(s="Before",i=this.findHeader(o,s)):(s="After",i=this.findHeader(o,s));const l=r.getCallback("tabToNextHeader");if(t&&l){const c=n.focusHeaderPositionFromUserFunc({userFunc:l,headerPosition:i,direction:s});if(c){const{headerRowIndex:d}=n.focusedHeader||{};d!=null&&d!=o.headerRowIndex&&(this.currentHeaderRowWithoutSpan=d)}return c}return i||!t?n.focusHeaderPosition({headerPosition:i,direction:s,fromTab:t,allowUserOverride:!0,event:a}):this.focusNextHeaderRow(o,s,a)}focusNextHeaderRow(e,t,a){const n=this.beans,r=e.headerRowIndex;let o=null,i;const s=ca(n),l=this.beans.visibleCols.allCols;if(t==="Before"){if(r<=0)return!1;o=W(l),i=r-1,this.currentHeaderRowWithoutSpan-=1}else o=l[0],i=r+1,this.currentHeaderRowWithoutSpan=s&&(d=-1),n.focusSvc.focusHeaderPosition({headerPosition:{column:c,headerRowIndex:d},direction:t,fromTab:!0,allowUserOverride:!0,event:a})}scrollToColumn(e,t="After"){if(e.getPinned())return;let a;if(Le(e)){const n=e.getDisplayedLeafColumns();a=t==="Before"?W(n):n[0]}else a=e;this.gridBodyCon.scrollFeature.ensureColumnVisible(a)}findHeader(e,t){const{colGroupSvc:a,visibleCols:n}=this.beans;let r=e.column;if(r instanceof so){const l=r.getDisplayedLeafColumns();r=t==="Before"?l[0]:l[l.length-1]}const o=t==="Before"?n.getColBefore(r):n.getColAfter(r);if(!o)return;const i=n.headerGroupRowCount;if(e.headerRowIndex>=i)return{headerRowIndex:e.headerRowIndex,column:o};const s=a?.getColGroupAtLevel(o,e.headerRowIndex);return s?s.isPadding()&&o.isSpanHeaderHeight()?{headerRowIndex:n.headerGroupRowCount,column:o}:{headerRowIndex:e.headerRowIndex,column:s??o}:{headerRowIndex:o instanceof na&&o.isSpanHeaderHeight()?n.headerGroupRowCount:e.headerRowIndex,column:o}}getHeaderRowType(e){const t=this.beans.ctrlsSvc.getHeaderRowContainerCtrl();if(t)return t.getRowType(e)}};function F3(e,t,a){const n=a-1;if(e!=="filter"){const r=t instanceof na&&t.isSpanHeaderHeight();let o=t.getParent();for(;o&&(o.getProvidedColumnGroup().getLevel()>n||r&&o.isPadding());)o=o.getParent();if(o)return r?{column:o,headerRowIndex:o.getProvidedColumnGroup().getLevel(),headerRowIndexWithoutSpan:n}:{column:o,headerRowIndex:n,headerRowIndexWithoutSpan:n}}return{column:t,headerRowIndex:n,headerRowIndexWithoutSpan:n}}function M3(e,t,a){const n=t+1,r={column:e,headerRowIndex:n,headerRowIndexWithoutSpan:n};if(e instanceof so){if(n>=a)return{column:e.getDisplayedLeafColumns()[0],headerRowIndex:a,headerRowIndexWithoutSpan:n};let i=e.getDisplayedChildren()[0];if(i instanceof so&&i.isPadding()){const l=i.getDisplayedLeafColumns()[0];l.isSpanHeaderHeight()&&(i=l)}r.column=i,i instanceof na&&i.isSpanHeaderHeight()&&(r.headerRowIndex=a,r.headerRowIndexWithoutSpan=n)}return r}var E3=class extends F{constructor(){super(...arguments),this.beanName="focusSvc",this.focusFallbackTimeout=null,this.needsFocusRestored=!1}wireBeans(e){this.colModel=e.colModel,this.visibleCols=e.visibleCols,this.rowRenderer=e.rowRenderer,this.navigation=e.navigation,this.filterManager=e.filterManager,this.overlays=e.overlays}postConstruct(){const e=this.clearFocusedCell.bind(this);this.addManagedEventListeners({columnPivotModeChanged:e,newColumnsLoaded:this.onColumnEverythingChanged.bind(this),columnGroupOpened:e,columnRowGroupChanged:e}),this.addDestroyFunc(jF(this.beans))}attemptToRecoverFocus(){this.needsFocusRestored=!0,this.focusFallbackTimeout!=null&&clearTimeout(this.focusFallbackTimeout),this.focusFallbackTimeout=window.setTimeout(this.setFocusRecovered.bind(this),100)}setFocusRecovered(){this.needsFocusRestored=!1,this.focusFallbackTimeout!=null&&(clearTimeout(this.focusFallbackTimeout),this.focusFallbackTimeout=null)}shouldTakeFocus(){return this.gos.get("suppressFocusAfterRefresh")?(this.setFocusRecovered(),!1):this.needsFocusRestored?(this.setFocusRecovered(),!0):this.doesRowOrCellHaveBrowserFocus()}onColumnEverythingChanged(){if(!this.focusedCell)return;const e=this.focusedCell.column,t=this.colModel.getCol(e.getId());e!==t&&this.clearFocusedCell()}getFocusCellToUseAfterRefresh(){const{gos:e,focusedCell:t}=this;return e.get("suppressFocusAfterRefresh")||e.get("suppressCellFocus")||!t||!this.doesRowOrCellHaveBrowserFocus()?null:t}getFocusHeaderToUseAfterRefresh(){return this.gos.get("suppressFocusAfterRefresh")||!this.focusedHeader||!this.isDomDataPresentInHierarchy(ne(this.beans),qv)?null:this.focusedHeader}doesRowOrCellHaveBrowserFocus(){const e=ne(this.beans);return this.isDomDataPresentInHierarchy(e,Il,!0)?!0:this.isDomDataPresentInHierarchy(e,Ll,!0)}isDomDataPresentInHierarchy(e,t,a){let n=e;for(;n;){const r=qm(this.gos,n,t);if(r)return r.destroyed&&a?(this.attemptToRecoverFocus(),!1):!0;n=n.parentNode}return!1}getFocusedCell(){return this.focusedCell}getFocusEventParams(e){const{rowIndex:t,rowPinned:a,column:n}=e,r={rowIndex:t,rowPinned:a,column:n,isFullWidthCell:!1},o=this.rowRenderer.getRowByPosition({rowIndex:t,rowPinned:a});return o&&(r.isFullWidthCell=o.isFullWidth()),r}clearFocusedCell(){if(this.focusedCell==null)return;const e=this.getFocusEventParams(this.focusedCell);this.focusedCell=null,this.eventSvc.dispatchEvent({type:"cellFocusCleared",...e})}setFocusedCell(e){this.setFocusRecovered();const{column:t,rowIndex:a,rowPinned:n,forceBrowserFocus:r=!1,preventScrollOnBrowserFocus:o=!1,sourceEvent:i}=e,s=this.colModel.getCol(t);if(!s){this.focusedCell=null;return}this.focusedCell={rowIndex:a,rowPinned:Te(n),column:s};const l=this.getFocusEventParams(this.focusedCell);this.eventSvc.dispatchEvent({type:"cellFocused",...l,...this.previousCellFocusParams&&{previousParams:this.previousCellFocusParams},forceBrowserFocus:r,preventScrollOnBrowserFocus:o,sourceEvent:i}),this.previousCellFocusParams=l}isCellFocused(e){return this.focusedCell==null?!1:go(e,this.focusedCell)}isHeaderWrapperFocused(e){if(this.focusedHeader==null)return!1;const{column:t,rowCtrl:{rowIndex:a,pinned:n}}=e,{column:r,headerRowIndex:o}=this.focusedHeader;return t===r&&a===o&&n==r.getPinned()}focusHeaderPosition(e){if(this.setFocusRecovered(),xa(this.beans))return!1;const{direction:t,fromTab:a,allowUserOverride:n,event:r,fromCell:o,rowWithoutSpanValue:i,scroll:s=!0}=e;let{headerPosition:l}=e;if(o&&this.filterManager?.isAdvFilterHeaderActive())return this.focusAdvancedFilter(l);if(n){const c=this.focusedHeader,d=ca(this.beans);if(a){const u=this.gos.getCallback("tabToNextHeader");u&&(l=this.getHeaderPositionFromUserFunc({userFunc:u,direction:t,currentPosition:c,headerPosition:l,headerRowCount:d}))}else{const u=this.gos.getCallback("navigateToNextHeader");if(u&&r){const g={key:r.key,previousHeaderPosition:c,nextHeaderPosition:l,headerRowCount:d,event:r},h=u(g);l=h===null?c:h}}}return l?this.focusProvidedHeaderPosition({headerPosition:l,direction:t,event:r,fromCell:o,rowWithoutSpanValue:i,scroll:s}):!1}focusHeaderPositionFromUserFunc(e){if(xa(this.beans))return!1;const{userFunc:t,headerPosition:a,direction:n,event:r}=e,o=this.focusedHeader,i=ca(this.beans),s=this.getHeaderPositionFromUserFunc({userFunc:t,direction:n,currentPosition:o,headerPosition:a,headerRowCount:i});return!!s&&this.focusProvidedHeaderPosition({headerPosition:s,direction:n,event:r})}getHeaderPositionFromUserFunc(e){const{userFunc:t,direction:a,currentPosition:n,headerPosition:r,headerRowCount:o}=e,s=t({backwards:a==="Before",previousHeaderPosition:n,nextHeaderPosition:r,headerRowCount:o});return s===!0?n:s===!1?null:s}focusProvidedHeaderPosition(e){const{headerPosition:t,direction:a,fromCell:n,rowWithoutSpanValue:r,event:o,scroll:i=!0}=e,{column:s,headerRowIndex:l}=t,{filterManager:c,ctrlsSvc:d,headerNavigation:u}=this.beans;if(this.focusedHeader&&vM(e.headerPosition,this.focusedHeader))return!1;if(l===-1)return c?.isAdvFilterHeaderActive()?this.focusAdvancedFilter(t):this.focusGridView({column:s,event:o});i&&u?.scrollToColumn(s,a);const h=d.getHeaderRowContainerCtrl(s.getPinned())?.focusHeader(t.headerRowIndex,s,o)||!1;return u&&h&&(r!=null||n)&&(u.currentHeaderRowWithoutSpan=r??-1),h}focusFirstHeader(){if(this.overlays?.exclusive&&this.focusOverlay())return!0;const e=this.visibleCols.allCols[0];if(!e)return!1;const t=qg(this.beans,e,0);return this.focusHeaderPosition({headerPosition:t,rowWithoutSpanValue:0})}focusLastHeader(e){if(this.overlays?.exclusive&&this.focusOverlay(!0))return!0;const t=ca(this.beans)-1,a=W(this.visibleCols.allCols);return this.focusHeaderPosition({headerPosition:{headerRowIndex:t,column:a},rowWithoutSpanValue:-1,event:e})}focusPreviousFromFirstCell(e){return this.filterManager?.isAdvFilterHeaderActive()?this.focusAdvancedFilter(null):this.focusLastHeader(e)}isAnyCellFocused(){return!!this.focusedCell}isRowFocused(e,t){return this.focusedCell==null?!1:this.focusedCell.rowIndex===e&&this.focusedCell.rowPinned===Te(t)}focusOverlay(e){const t=this.overlays?.isVisible()&&this.overlays.eWrapper?.getGui();return!!t&&ze(t,e)}getDefaultTabToNextGridContainerTarget(e){const{backwards:t,focusableContainers:a}=e,n=t?-1:1;let r;const o=()=>(r===void 0&&(r=this.getGridBodyTabTarget(t)),r);for(let i=e.nextIndex;i>=0&&i{e.executeLaterVMTurn(()=>this.updateScrollVisibleImpl())}):this.updateScrollVisibleImpl()}updateScrollVisibleImpl(){const e=this.ctrlsSvc.get("center");if(!e||this.colAnimation?.isActive())return;const t={horizontalScrollShowing:e.isHorizontalScrollShowing(),verticalScrollShowing:this.verticalScrollShowing};this.setScrollsVisible(t),this.updateScrollGap()}updateScrollGap(){const e=this.ctrlsSvc.get("center"),t=e.hasHorizontalScrollGap(),a=e.hasVerticalScrollGap();(this.horizontalScrollGap!==t||this.verticalScrollGap!==a)&&(this.horizontalScrollGap=t,this.verticalScrollGap=a,this.eventSvc.dispatchEvent({type:"scrollGapChanged"}))}setScrollsVisible(e){(this.horizontalScrollShowing!==e.horizontalScrollShowing||this.verticalScrollShowing!==e.verticalScrollShowing)&&(this.horizontalScrollShowing=e.horizontalScrollShowing,this.verticalScrollShowing=e.verticalScrollShowing,this.eventSvc.dispatchEvent({type:"scrollVisibilityChanged"}))}getScrollbarWidth(){if(this.scrollbarWidth==null){const e=this.gos.get("scrollbarWidth"),a=typeof e=="number"&&e>=0?e:Pu();a!=null&&(this.scrollbarWidth=a,this.eventSvc.dispatchEvent({type:"scrollbarWidthChanged"}))}return this.scrollbarWidth}},A3=class extends F{constructor(){super(...arguments),this.beanName="gridDestroySvc",this.destroyCalled=!1}destroy(){if(this.destroyCalled)return;const{stateSvc:e,ctrlsSvc:t,context:a}=this.beans;this.eventSvc.dispatchEvent({type:"gridPreDestroyed",state:e?.getState()??{}}),this.destroyCalled=!0,t.get("gridCtrl")?.destroyGridUi(),a.destroy(),super.destroy()}},Wg=["columnEverythingChanged","newColumnsLoaded","columnPivotModeChanged","pivotMaxColumnsExceeded","columnRowGroupChanged","expandOrCollapseAll","columnPivotChanged","gridColumnsChanged","columnValueChanged","columnMoved","columnVisible","columnPinned","columnGroupOpened","columnResized","displayedColumnsChanged","virtualColumnsChanged","columnHeaderMouseOver","columnHeaderMouseLeave","columnHeaderClicked","columnHeaderContextMenu","asyncTransactionsFlushed","rowGroupOpened","rowDataUpdated","pinnedRowDataChanged","pinnedRowsChanged","rangeSelectionChanged","cellSelectionChanged","chartCreated","chartRangeSelectionChanged","chartOptionsChanged","chartDestroyed","toolPanelVisibleChanged","toolPanelSizeChanged","modelUpdated","cutStart","cutEnd","pasteStart","pasteEnd","fillStart","fillEnd","cellSelectionDeleteStart","cellSelectionDeleteEnd","rangeDeleteStart","rangeDeleteEnd","undoStarted","undoEnded","redoStarted","redoEnded","cellClicked","cellDoubleClicked","cellMouseDown","cellContextMenu","cellValueChanged","cellEditRequest","rowValueChanged","headerFocused","cellFocused","rowSelected","selectionChanged","tooltipShow","tooltipHide","cellKeyDown","cellMouseOver","cellMouseOut","filterChanged","filterModified","filterUiChanged","filterOpened","floatingFilterUiChanged","advancedFilterBuilderVisibleChanged","sortChanged","virtualRowRemoved","rowClicked","rowDoubleClicked","gridReady","gridPreDestroyed","gridSizeChanged","viewportChanged","firstDataRendered","dragStarted","dragStopped","dragCancelled","rowEditingStarted","rowEditingStopped","cellEditingStarted","cellEditingStopped","bodyScroll","bodyScrollEnd","paginationChanged","componentStateChanged","storeRefreshed","stateUpdated","columnMenuVisibleChanged","contextMenuVisibleChanged","rowDragEnter","rowDragMove","rowDragLeave","rowDragEnd","rowDragCancel","findChanged","rowResizeStarted","rowResizeEnded","columnsReset","bulkEditingStarted","bulkEditingStopped","batchEditingStarted","batchEditingStopped"],T3=["scrollbarWidthChanged","keyShortcutChangedCellStart","keyShortcutChangedCellEnd","pinnedHeightChanged","cellFocusCleared","fullWidthRowFocused","checkboxChanged","heightScaleChanged","suppressMovableColumns","suppressMenuHide","suppressFieldDotNotation","columnPanelItemDragStart","columnPanelItemDragEnd","bodyHeightChanged","columnContainerWidthChanged","displayedColumnsWidthChanged","scrollVisibilityChanged","scrollGapChanged","columnHoverChanged","flashCells","rowDragVisibilityChanged","paginationPixelOffsetChanged","displayedRowsChanged","leftPinnedWidthChanged","rightPinnedWidthChanged","rowContainerHeightChanged","headerHeightChanged","columnGroupHeaderHeightChanged","columnHeaderHeightChanged","stylesChanged","storeUpdated","filterDestroyed","filterHandlerDestroyed","rowDataUpdateStarted","rowCountReady","advancedFilterEnabledChanged","dataTypesInferred","fieldValueChanged","fieldPickerValueSelected","richSelectListRowSelected","sideBarUpdated","alignedGridScroll","alignedGridColumn","gridOptionsChanged","chartTitleEdit","recalculateRowBounds","stickyTopOffsetChanged","overlayExclusiveChanged","rowNodeDataChanged","cellEditValuesChanged","filterSwitched","filterClosed","headerRowsChanged","rowExpansionStateChanged","showRowGroupColsSetChanged"],D3=()=>[...Wg,...T3],Ji=new Set(["gridPreDestroyed","fillStart","pasteStart"]),rc=Wg.reduce((e,t)=>(e[t]=Qm(t),e),{}),wo={agSetColumnFilter:"SetFilter",agSetColumnFloatingFilter:"SetFilter",agMultiColumnFilter:"MultiFilter",agMultiColumnFloatingFilter:"MultiFilter",agGroupColumnFilter:"GroupFilter",agGroupColumnFloatingFilter:"GroupFilter",agGroupCellRenderer:"GroupCellRenderer",agGroupRowRenderer:"GroupCellRenderer",agRichSelect:"RichSelect",agRichSelectCellEditor:"RichSelect",agDetailCellRenderer:"SharedMasterDetail",agSparklineCellRenderer:"Sparklines",agDragAndDropImage:"SharedDragAndDrop",agColumnHeader:"ColumnHeaderComp",agColumnGroupHeader:"ColumnGroupHeaderComp",agSortIndicator:"Sort",agAnimateShowChangeCellRenderer:"HighlightChanges",agAnimateSlideCellRenderer:"HighlightChanges",agLoadingCellRenderer:"LoadingCellRenderer",agSkeletonCellRenderer:"SkeletonCellRenderer",agCheckboxCellRenderer:"CheckboxCellRenderer",agLoadingOverlay:"Overlay",agExportingOverlay:"Overlay",agNoRowsOverlay:"Overlay",agNoMatchingRowsOverlay:"Overlay",agTooltipComponent:"Tooltip",agReadOnlyFloatingFilter:"CustomFilter",agTextColumnFilter:"TextFilter",agNumberColumnFilter:"NumberFilter",agBigIntColumnFilter:"BigIntFilter",agDateColumnFilter:"DateFilter",agDateInput:"DateFilter",agTextColumnFloatingFilter:"TextFilter",agNumberColumnFloatingFilter:"NumberFilter",agBigIntColumnFloatingFilter:"BigIntFilter",agDateColumnFloatingFilter:"DateFilter",agFormulaCellEditor:"Formula",agCellEditor:"TextEditor",agSelectCellEditor:"SelectEditor",agTextCellEditor:"TextEditor",agNumberCellEditor:"NumberEditor",agDateCellEditor:"DateEditor",agDateStringCellEditor:"DateEditor",agCheckboxCellEditor:"CheckboxEditor",agLargeTextCellEditor:"LargeTextEditor",agMenuItem:"MenuItem",agColumnsToolPanel:"ColumnsToolPanel",agFiltersToolPanel:"FiltersToolPanel",agNewFiltersToolPanel:"NewFiltersToolPanel",agAggregationComponent:"StatusBar",agSelectedRowCountComponent:"StatusBar",agTotalRowCountComponent:"StatusBar",agFilteredRowCountComponent:"StatusBar",agTotalAndFilteredRowCountComponent:"StatusBar",agFindCellRenderer:"Find"};function Db(e){return`"${e}"`}var I3=()=>({checkboxSelection:{version:"32.2",message:"Use `rowSelection.checkboxes` in `GridOptions` instead."},headerCheckboxSelection:{version:"32.2",message:"Use `rowSelection.headerCheckbox = true` in `GridOptions` instead."},headerCheckboxSelectionFilteredOnly:{version:"32.2",message:'Use `rowSelection.selectAll = "filtered"` in `GridOptions` instead.'},headerCheckboxSelectionCurrentPageOnly:{version:"32.2",message:'Use `rowSelection.selectAll = "currentPage"` in `GridOptions` instead.'},showDisabledCheckboxes:{version:"32.2",message:"Use `rowSelection.hideDisabledCheckboxes = true` in `GridOptions` instead."},rowGroupingHierarchy:{version:"34.3",message:"Use `colDef.groupHierarchy` instead."}}),L3={allowFormula:"Formula",aggFunc:"SharedAggregation",autoHeight:"RowAutoHeight",cellClass:"CellStyle",cellClassRules:"CellStyle",cellEditor:({cellEditor:e,editable:t,groupRowEditable:a})=>!!t||!!a?typeof e=="string"?wo[e]??"CustomEditor":"CustomEditor":null,cellRenderer:({cellRenderer:e})=>typeof e!="string"?null:wo[e],cellStyle:"CellStyle",columnChooserParams:"ColumnMenu",contextMenuItems:"ContextMenu",dndSource:"DragAndDrop",dndSourceOnRowDrag:"DragAndDrop",editable:({editable:e,cellEditor:t})=>e&&!t?"TextEditor":null,groupRowEditable:({groupRowEditable:e,cellEditor:t})=>e?t?"RowGroupingEdit":["RowGroupingEdit","TextEditor"]:null,groupRowValueSetter:({groupRowValueSetter:e})=>e?"RowGroupingEdit":null,enableCellChangeFlash:"HighlightChanges",enablePivot:"SharedPivot",enableRowGroup:"SharedRowGrouping",enableValue:"SharedAggregation",filter:({filter:e})=>e&&typeof e!="string"&&typeof e!="boolean"?"CustomFilter":typeof e=="string"?wo[e]??"ColumnFilter":"ColumnFilter",floatingFilter:"ColumnFilter",getQuickFilterText:"QuickFilter",headerTooltip:"Tooltip",headerTooltipValueGetter:"Tooltip",mainMenuItems:"ColumnMenu",menuTabs:e=>{const t=["columnsMenuTab","generalMenuTab"];return e.menuTabs?.some(a=>t.includes(a))?"ColumnMenu":null},pivot:"SharedPivot",pivotIndex:"SharedPivot",rowDrag:"RowDrag",rowGroup:"SharedRowGrouping",rowGroupIndex:"SharedRowGrouping",tooltipField:"Tooltip",tooltipValueGetter:"Tooltip",tooltipComponentSelector:"Tooltip",spanRows:"CellSpan",groupHierarchy:"SharedRowGrouping"},z3=()=>({autoHeight:{supportedRowModels:["clientSide","serverSide"],validate:(t,{paginationAutoPageSize:a})=>a?"colDef.autoHeight is not supported with paginationAutoPageSize.":null},allowFormula:{supportedRowModels:["clientSide"]},cellRendererParams:{validate:t=>(t.rowGroup!=null||t.rowGroupIndex!=null||t.cellRenderer==="agGroupCellRenderer")&&"checkbox"in t.cellRendererParams?'Since v33.0, `cellRendererParams.checkbox` has been deprecated. Use `rowSelection.checkboxLocation = "autoGroupColumn"` instead.':null},flex:{validate:(t,a)=>a.autoSizeStrategy?"colDef.flex is not supported with gridOptions.autoSizeStrategy":null},headerCheckboxSelection:{supportedRowModels:["clientSide","serverSide"],validate:(t,{rowSelection:a})=>a==="multiple"?null:"headerCheckboxSelection is only supported with rowSelection=multiple"},headerCheckboxSelectionCurrentPageOnly:{supportedRowModels:["clientSide"],validate:(t,{rowSelection:a})=>a==="multiple"?null:"headerCheckboxSelectionCurrentPageOnly is only supported with rowSelection=multiple"},headerCheckboxSelectionFilteredOnly:{supportedRowModels:["clientSide"],validate:(t,{rowSelection:a})=>a==="multiple"?null:"headerCheckboxSelectionFilteredOnly is only supported with rowSelection=multiple"},headerValueGetter:{validate:t=>{const a=t.headerValueGetter;return typeof a=="function"||typeof a=="string"?null:"headerValueGetter must be a function or a valid string expression"}},icons:{validate:({icons:t})=>{if(t){if(t.smallDown)return Rt(262);if(t.smallLeft)return Rt(263);if(t.smallRight)return Rt(264)}return null}},sort:{validate:t=>io(t.sort)||nn(t.sort)?null:`sort must be of type (SortDirection | SortDef), currently it is ${typeof t.sort=="object"?JSON.stringify(t.sort):ll(t.sort)}`},initialSort:{validate:t=>io(t.initialSort)||nn(t.initialSort)?null:`initialSort must be of non-null type (SortDirection | SortDef), currently it is ${typeof t.initialSort=="object"?JSON.stringify(t.initialSort):ll(t.initialSort)}`},sortingOrder:{validate:t=>{const a=t.sortingOrder;if(Array.isArray(a)&&a.length>0){const n=a.filter(r=>!(io(r)||nn(r)));if(n.length>0)return`sortingOrder must be an array of type non-null (SortDirection | SortDef)[], incorrect items are: [${n.map(r=>typeof r=="string"||r==null?ll(r):JSON.stringify(r)).join(", ")}]`}else if(!Array.isArray(a)||!a.length)return`sortingOrder must be an array with at least one element, currently it is [${a}]`;return null}},type:{validate:t=>{const a=t.type;return a instanceof Array?a.some(r=>typeof r!="string")?"if colDef.type is supplied an array it should be of type 'string[]'":null:typeof a=="string"?null:"colDef.type should be of type 'string' | 'string[]'"}},rowSpan:{validate:(t,{suppressRowTransform:a})=>a?null:"colDef.rowSpan requires suppressRowTransform to be enabled."},spanRows:{dependencies:{editable:{required:[!1,void 0]},groupRowEditable:{required:[!1,void 0]},rowDrag:{required:[!1,void 0]},colSpan:{required:[void 0]},rowSpan:{required:[void 0]}},validate:(t,{rowSelection:a,cellSelection:n,suppressRowTransform:r,enableCellSpan:o,rowDragEntireRow:i,enableCellTextSelection:s})=>typeof a=="object"&&a?.mode==="singleRow"&&a?.enableClickSelection?"colDef.spanRows is not supported with rowSelection.clickSelection":n?"colDef.spanRows is not supported with cellSelection.":r?"colDef.spanRows is not supported with suppressRowTransform.":o?i?"colDef.spanRows is not supported with rowDragEntireRow.":s?"colDef.spanRows is not supported with enableCellTextSelection.":null:"colDef.spanRows requires enableCellSpan to be enabled."},groupHierarchy:{validate(t,{groupHierarchyConfig:a={}},n){const r=new Set(["year","quarter","month","formattedMonth","day","hour","minute","second"]),o=[];for(const i of t.groupHierarchy??[]){if(typeof i=="object"){n.validation?.validateColDef(i);continue}!r.has(i)&&!(i in a)&&o.push(Db(i))}if(o.length>0){const i=`The following parts of colDef.groupHierarchy are not recognised: ${o.join(", ")}.`,s=`Choose one of ${[...r].map(Db).join(", ")}, or define your own parts in gridOptions.groupHierarchyConfig.`;return`${i}
${s}`}return null}}}),O3={headerName:void 0,columnGroupShow:void 0,headerStyle: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,headerTooltipValueGetter:void 0,cellClass:void 0,showRowGroup:void 0,filter:void 0,initialAggFunc:void 0,defaultAggFunc:void 0,aggFunc:void 0,groupRowEditable:void 0,groupRowValueSetter:void 0,pinned:void 0,initialPinned:void 0,chartDataType:void 0,cellAriaRole: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,columnChooserParams: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,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,suppressHeaderMenuButton: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,spanRows:void 0,getQuickFilterText:void 0,onCellValueChanged:void 0,onCellClicked:void 0,onCellDoubleClicked:void 0,onCellContextMenu:void 0,rowDragText:void 0,tooltipValueGetter:void 0,tooltipComponentSelector:void 0,cellRendererSelector:void 0,cellEditorSelector:void 0,suppressSpanHeaderHeight:void 0,useValueFormatterForExport:void 0,useValueParserForImport:void 0,mainMenuItems:void 0,contextMenuItems:void 0,suppressFloatingFilterButton:void 0,suppressHeaderFilterButton:void 0,suppressHeaderContextMenu:void 0,loadingCellRenderer:void 0,loadingCellRendererParams:void 0,loadingCellRendererSelector:void 0,context:void 0,dateComponent:void 0,dateComponentParams:void 0,getFindText:void 0,rowGroupingHierarchy:void 0,groupHierarchy:void 0,allowFormula:void 0},G3=()=>Object.keys(O3),V3=()=>({objectName:"colDef",allProperties:G3(),docsUrl:"column-properties/",deprecations:I3(),validations:z3()}),Ib=["overlayLoadingTemplate","overlayNoRowsTemplate","gridId","quickFilterText","rowModelType","editType","domLayout","clipboardDelimiter","rowGroupPanelShow","multiSortKey","pivotColumnGroupTotals","pivotRowTotals","pivotPanelShow","fillHandleDirection","groupDisplayType","treeDataDisplayType","treeDataChildrenField","treeDataParentIdField","colResizeDefault","tooltipTrigger","serverSidePivotResultFieldSeparator","columnMenu","tooltipShowMode","invalidEditValueMode","grandTotalRow","themeCssLayer","findSearchValue","styleNonce","renderingMode"],B3=["components","rowStyle","context","autoGroupColumnDef","localeText","icons","datasource","dragAndDropImageComponentParams","serverSideDatasource","viewportDatasource","groupRowRendererParams","aggFuncs","fullWidthCellRendererParams","defaultColGroupDef","defaultColDef","defaultCsvExportParams","defaultExcelExportParams","columnTypes","rowClassRules","detailCellRendererParams","loadingCellRendererParams","overlayComponentParams","loadingOverlayComponentParams","noRowsOverlayComponentParams","activeOverlayParams","popupParent","themeStyleContainer","statusBar","chartThemeOverrides","customChartThemes","chartToolPanelsDef","dataTypeDefinitions","advancedFilterParent","advancedFilterBuilderParams","advancedFilterParams","formulaDataSource","formulaFuncs","initialState","autoSizeStrategy","selectionColumnDef","findOptions","filterHandlers","groupHierarchyConfig"],N3=["sortingOrder","alignedGrids","rowData","columnDefs","excelStyles","pinnedTopRowData","pinnedBottomRowData","chartThemes","rowClass","paginationPageSizeSelector","suppressOverlays"],Ug=["rowHeight","detailRowHeight","rowBuffer","headerHeight","groupHeaderHeight","groupLockGroupColumns","floatingFiltersHeight","pivotHeaderHeight","pivotGroupHeaderHeight","groupDefaultExpanded","pivotDefaultExpanded","viewportRowModelPageSize","viewportRowModelBufferSize","autoSizePadding","maxBlocksInCache","maxConcurrentDatasourceRequests","tooltipShowDelay","tooltipSwitchShowDelay","tooltipHideDelay","cacheOverflowSize","paginationPageSize","cacheBlockSize","infiniteInitialRowCount","serverSideInitialRowCount","scrollbarWidth","asyncTransactionWaitMillis","blockLoadDebounceMillis","keepDetailRowsCount","undoRedoCellEditingLimit","cellFlashDuration","cellFadeDuration","tabIndex","pivotMaxGeneratedColumns","rowDragInsertDelay"],H3=["theme","rowSelection"],jg=["cellSelection","sideBar","rowNumbers","suppressGroupChangesColumnVisibility","groupAggFiltering","suppressStickyTotalRow","groupHideParentOfSingleChild","enableRowPinning"],_g=["loadThemeGoogleFonts","suppressMakeColumnVisibleAfterUnGroup","suppressRowClickSelection","suppressCellFocus","suppressHeaderFocus","suppressHorizontalScroll","groupSelectsChildren","alwaysShowHorizontalScroll","alwaysShowVerticalScroll","debug","enableBrowserTooltips","enableCellExpressions","groupSuppressBlankHeader","suppressMenuHide","suppressRowDeselection","unSortIcon","suppressMultiSort","alwaysMultiSort","singleClickEdit","suppressLoadingOverlay","suppressNoRowsOverlay","suppressAutoSize","skipHeaderOnAutoSize","suppressColumnMoveAnimation","suppressMoveWhenColumnDragging","suppressMovableColumns","suppressFieldDotNotation","enableRangeSelection","enableRangeHandle","enableFillHandle","suppressClearOnFillReduction","deltaSort","suppressTouch","allowContextMenuWithControlKey","suppressContextMenu","suppressDragLeaveHidesColumns","suppressRowGroupHidesColumns","suppressMiddleClickScrolls","suppressPreventDefaultOnMouseWheel","suppressCopyRowsToClipboard","copyHeadersToClipboard","copyGroupHeadersToClipboard","pivotMode","suppressAggFuncInHeader","suppressColumnVirtualisation","alwaysAggregateAtRootLevel","suppressFocusAfterRefresh","functionsReadOnly","animateRows","groupSelectsFiltered","groupRemoveSingleChildren","groupRemoveLowestSingleChildren","enableRtl","enableCellSpan","suppressClickEdit","rowDragEntireRow","rowDragManaged","refreshAfterGroupEdit","suppressRowDrag","suppressMoveWhenRowDragging","rowDragMultiRow","enableGroupEdit","embedFullWidthRows","suppressPaginationPanel","groupHideOpenParents","groupHideColumnsUntilExpanded","groupAllowUnbalanced","pagination","paginationAutoPageSize","suppressScrollOnNewData","suppressScrollWhenPopupsAreOpen","purgeClosedRowNodes","cacheQuickFilter","includeHiddenColumnsInQuickFilter","ensureDomOrder","accentedSort","suppressChangeDetection","valueCache","valueCacheNeverExpires","aggregateOnlyChangedColumns","suppressAnimationFrame","suppressExcelExport","suppressCsvExport","includeHiddenColumnsInAdvancedFilter","suppressMultiRangeSelection","enterNavigatesVerticallyAfterEdit","enterNavigatesVertically","suppressPropertyNamesCheck","rowMultiSelectWithClick","suppressRowHoverHighlight","suppressRowTransform","suppressClipboardPaste","suppressLastEmptyLineOnPaste","enableCharts","suppressMaintainUnsortedOrder","enableCellTextSelection","suppressBrowserResizeObserver","suppressMaxRenderedRowRestriction","excludeChildrenWhenTreeDataFiltering","tooltipMouseTrack","tooltipInteraction","keepDetailRows","paginateChildRows","preventDefaultOnContextMenu","undoRedoCellEditing","allowDragFromColumnsToolPanel","pivotSuppressAutoColumn","suppressExpandablePivotGroups","debounceVerticalScrollbar","detailRowAutoHeight","serverSideSortAllLevels","serverSideEnableClientSideSort","serverSideOnlyRefreshFilteredGroups","suppressAggFilteredOnly","showOpenedGroup","suppressClipboardApi","suppressModelUpdateAfterUpdateTransaction","stopEditingWhenCellsLoseFocus","groupMaintainOrder","columnHoverHighlight","readOnlyEdit","suppressRowVirtualisation","enableCellEditingOnBackspace","resetRowDataOnUpdate","removePivotHeaderRowWhenSingleValueColumn","suppressCopySingleCellRanges","suppressGroupRowsSticky","suppressCutToClipboard","rowGroupPanelSuppressSort","allowShowChangeAfterFilter","enableAdvancedFilter","masterDetail","treeData","reactiveCustomComponents","applyQuickFilterBeforePivotOrAgg","suppressServerSideFullWidthLoadingRow","suppressAdvancedFilterEval","loading","maintainColumnOrder","enableStrictPivotColumnOrder","suppressSetFilterByDefault","enableFilterHandlers","suppressStartEditOnTab","hidePaddedHeaderRows","ssrmExpandAllAffectsAllRows","animateColumnResizing"],Lb=["doesExternalFilterPass","processPivotResultColDef","processPivotResultColGroupDef","getBusinessKeyForNode","isRowSelectable","rowDragText","groupRowRenderer","dragAndDropImageComponent","fullWidthCellRenderer","loadingCellRenderer","overlayComponent","loadingOverlayComponent","noRowsOverlayComponent","overlayComponentSelector","activeOverlay","detailCellRenderer","quickFilterParser","quickFilterMatcher","getLocaleText","isExternalFilterPresent","getRowHeight","getRowClass","getRowStyle","getFullRowEditValidationErrors","getContextMenuItems","getMainMenuItems","processRowPostCreate","processCellForClipboard","getGroupRowAgg","isFullWidthRow","sendToClipboard","focusGridInnerElement","navigateToNextHeader","tabToNextHeader","navigateToNextCell","tabToNextCell","tabToNextGridContainer","processCellFromClipboard","getDocument","postProcessPopup","getChildCount","getDataPath","isRowMaster","postSortRows","processHeaderForClipboard","processUnpinnedColumns","processGroupHeaderForClipboard","paginationNumberFormatter","processDataFromClipboard","getServerSideGroupKey","isServerSideGroup","createChartContainer","getChartToolbarItems","fillOperation","isApplyServerSideTransaction","getServerSideGroupLevelParams","isServerSideGroupOpenByDefault","isGroupOpenByDefault","initialGroupOrderComparator","loadingCellRendererSelector","getRowId","chartMenuItems","groupTotalRow","alwaysPassFilter","isRowPinnable","isRowPinned","isRowValidDropPosition"],zb=()=>[...N3,...B3,...Ib,...Ug,...Lb,..._g,...jg,...H3],q3=()=>[...Ib,...Ug,...Lb,..._g,...jg],W3=()=>({suppressLoadingOverlay:{version:"32",message:"Use `loading`=false instead."},enableFillHandle:{version:"32.2",message:"Use `cellSelection.handle` instead."},enableRangeHandle:{version:"32.2",message:"Use `cellSelection.handle` instead."},enableRangeSelection:{version:"32.2",message:"Use `cellSelection = true` instead."},suppressMultiRangeSelection:{version:"32.2",message:"Use `cellSelection.suppressMultiRanges` instead."},suppressClearOnFillReduction:{version:"32.2",message:"Use `cellSelection.handle.suppressClearOnFillReduction` instead."},fillHandleDirection:{version:"32.2",message:"Use `cellSelection.handle.direction` instead."},fillOperation:{version:"32.2",message:"Use `cellSelection.handle.setFillValue` instead."},suppressRowClickSelection:{version:"32.2",message:"Use `rowSelection.enableClickSelection` instead."},suppressRowDeselection:{version:"32.2",message:"Use `rowSelection.enableClickSelection` instead."},rowMultiSelectWithClick:{version:"32.2",message:"Use `rowSelection.enableSelectionWithoutKeys` instead."},groupSelectsChildren:{version:"32.2",message:'Use `rowSelection.groupSelects = "descendants"` instead.'},groupSelectsFiltered:{version:"32.2",message:'Use `rowSelection.groupSelects = "filteredDescendants"` instead.'},isRowSelectable:{version:"32.2",message:"Use `selectionOptions.isRowSelectable` instead."},suppressCopySingleCellRanges:{version:"32.2",message:"Use `rowSelection.copySelectedRows` instead."},suppressCopyRowsToClipboard:{version:"32.2",message:"Use `rowSelection.copySelectedRows` instead."},onRangeSelectionChanged:{version:"32.2",message:"Use `onCellSelectionChanged` instead."},onRangeDeleteStart:{version:"32.2",message:"Use `onCellSelectionDeleteStart` instead."},onRangeDeleteEnd:{version:"32.2",message:"Use `onCellSelectionDeleteEnd` instead."},suppressBrowserResizeObserver:{version:"32.2",message:"The grid always uses the browser's ResizeObserver, this grid option has no effect."},onColumnEverythingChanged:{version:"32.2",message:"Either use `onDisplayedColumnsChanged` which is fired at the same time, or use one of the more specific column events."},groupRemoveSingleChildren:{version:"33",message:"Use `groupHideParentOfSingleChild` instead."},groupRemoveLowestSingleChildren:{version:"33",message:'Use `groupHideParentOfSingleChild: "leafGroupsOnly"` instead.'},suppressRowGroupHidesColumns:{version:"33",message:'Use `suppressGroupChangesColumnVisibility: "suppressHideOnGroup"` instead.'},suppressMakeColumnVisibleAfterUnGroup:{version:"33",message:'Use `suppressGroupChangesColumnVisibility: "suppressShowOnUngroup"` instead.'},unSortIcon:{version:"33",message:"Use `defaultColDef.unSortIcon` instead."},sortingOrder:{version:"33",message:"Use `defaultColDef.sortingOrder` instead."},suppressPropertyNamesCheck:{version:"33",message:"`gridOptions` and `columnDefs` both have a `context` property that should be used for arbitrary user data. This means that column definitions and gridOptions should only contain valid properties making this property redundant."},suppressAdvancedFilterEval:{version:"34",message:"Advanced filter no longer uses function evaluation, so this option has no effect."}});function Wa(e,t,a){return typeof t=="number"||t==null?t==null||t>=a?null:`${e}: value should be greater than or equal to ${a}`:`${e}: value should be a number`}var U3={alignedGrids:"AlignedGrids",allowContextMenuWithControlKey:"ContextMenu",autoSizeStrategy:"ColumnAutoSize",cellSelection:"CellSelection",columnHoverHighlight:"ColumnHover",datasource:"InfiniteRowModel",doesExternalFilterPass:"ExternalFilter",editType:"EditCore",invalidEditValueMode:"EditCore",enableAdvancedFilter:"AdvancedFilter",enableCellSpan:"CellSpan",enableCharts:"IntegratedCharts",enableRangeSelection:"CellSelection",enableRowPinning:"PinnedRow",findSearchValue:"Find",getFullRowEditValidationErrors:"EditCore",getContextMenuItems:"ContextMenu",getLocaleText:"Locale",getMainMenuItems:"ColumnMenu",getRowClass:"RowStyle",getRowStyle:"RowStyle",groupTotalRow:"SharedRowGrouping",grandTotalRow:"ClientSideRowModelHierarchy",initialState:"GridState",isExternalFilterPresent:"ExternalFilter",isRowPinnable:"PinnedRow",isRowPinned:"PinnedRow",localeText:"Locale",masterDetail:"SharedMasterDetail",pagination:"Pagination",pinnedBottomRowData:"PinnedRow",pinnedTopRowData:"PinnedRow",pivotMode:"SharedPivot",pivotPanelShow:"RowGroupingPanel",quickFilterText:"QuickFilter",rowClass:"RowStyle",rowClassRules:"RowStyle",rowData:"ClientSideRowModel",rowDragManaged:"RowDrag",refreshAfterGroupEdit:["RowGrouping","TreeData"],rowGroupPanelShow:"RowGroupingPanel",rowNumbers:"RowNumbers",rowSelection:"SharedRowSelection",rowStyle:"RowStyle",serverSideDatasource:"ServerSideRowModel",sideBar:"SideBar",statusBar:"StatusBar",treeData:"SharedTreeData",undoRedoCellEditing:"UndoRedoEdit",valueCache:"ValueCache",viewportDatasource:"ViewportRowModel"},j3=()=>{const e={autoSizePadding:{validate({autoSizePadding:a}){return Wa("autoSizePadding",a,0)}},cacheBlockSize:{supportedRowModels:["serverSide","infinite"],validate({cacheBlockSize:a}){return Wa("cacheBlockSize",a,1)}},cacheOverflowSize:{validate({cacheOverflowSize:a}){return Wa("cacheOverflowSize",a,1)}},datasource:{supportedRowModels:["infinite"]},domLayout:{validate:a=>{const n=a.domLayout,r=["autoHeight","normal","print"];return n&&!r.includes(n)?`domLayout must be one of [${r.join()}], currently it's ${n}`:null}},enableFillHandle:{dependencies:{enableRangeSelection:{required:[!0]}}},enableRangeHandle:{dependencies:{enableRangeSelection:{required:[!0]}}},enableCellSpan:{supportedRowModels:["clientSide","serverSide"]},enableRangeSelection:{dependencies:{rowDragEntireRow:{required:[!1,void 0]}}},enableRowPinning:{supportedRowModels:["clientSide"],validate({enableRowPinning:a,pinnedTopRowData:n,pinnedBottomRowData:r}){return a&&(n||r)?"Manual row pinning cannot be used together with pinned row data. Either set `enableRowPinning` to `false`, or remove `pinnedTopRowData` and `pinnedBottomRowData`.":null}},isRowPinnable:{supportedRowModels:["clientSide"],validate({enableRowPinning:a,isRowPinnable:n,pinnedTopRowData:r,pinnedBottomRowData:o}){return n&&(r||o)?"Manual row pinning cannot be used together with pinned row data. Either remove `isRowPinnable`, or remove `pinnedTopRowData` and `pinnedBottomRowData`.":!a&&n?"`isRowPinnable` requires `enableRowPinning` to be set.":null}},isRowPinned:{supportedRowModels:["clientSide"],validate({enableRowPinning:a,isRowPinned:n,pinnedTopRowData:r,pinnedBottomRowData:o}){return n&&(r||o)?"Manual row pinning cannot be used together with pinned row data. Either remove `isRowPinned`, or remove `pinnedTopRowData` and `pinnedBottomRowData`.":!a&&n?"`isRowPinned` requires `enableRowPinning` to be set.":null}},groupDefaultExpanded:{supportedRowModels:["clientSide"]},groupHideColumnsUntilExpanded:{supportedRowModels:["clientSide"],validate({groupHideColumnsUntilExpanded:a,groupHideOpenParents:n,groupDisplayType:r}){return a&&!n&&r!=="multipleColumns"?"`groupHideColumnsUntilExpanded = true` requires either `groupDisplayType = 'multipleColumns'` or `groupHideOpenParents = true`":null}},groupHideOpenParents:{supportedRowModels:["clientSide","serverSide"],dependencies:{groupTotalRow:{required:[void 0,"bottom"]},treeData:{required:[void 0,!1],reason:"Tree Data has values at the group level so it doesn't make sense to hide them."}}},groupHideParentOfSingleChild:{dependencies:{groupHideOpenParents:{required:[void 0,!1]}}},groupRemoveLowestSingleChildren:{dependencies:{groupHideOpenParents:{required:[void 0,!1]},groupRemoveSingleChildren:{required:[void 0,!1]}}},groupRemoveSingleChildren:{dependencies:{groupHideOpenParents:{required:[void 0,!1]},groupRemoveLowestSingleChildren:{required:[void 0,!1]}}},groupSelectsChildren:{dependencies:{rowSelection:{required:["multiple"]}}},groupHierarchyConfig:{validate({groupHierarchyConfig:a={}},n,r){for(const o of Object.keys(a))r.validation?.validateColDef(a[o]);return null}},icons:{validate:({icons:a})=>{if(a){if(a.smallDown)return Rt(262);if(a.smallLeft)return Rt(263);if(a.smallRight)return Rt(264)}return null}},infiniteInitialRowCount:{validate({infiniteInitialRowCount:a}){return Wa("infiniteInitialRowCount",a,1)}},initialGroupOrderComparator:{supportedRowModels:["clientSide"]},ssrmExpandAllAffectsAllRows:{validate:a=>{if(typeof a.ssrmExpandAllAffectsAllRows=="boolean"){if(a.rowModelType!=="serverSide")return"'ssrmExpandAllAffectsAllRows' is only supported with the Server Side Row Model.";if(a.ssrmExpandAllAffectsAllRows&&typeof a.getRowId!="function")return"'getRowId' callback must be provided for Server Side Row Model grouping to work correctly."}return null}},keepDetailRowsCount:{validate({keepDetailRowsCount:a}){return Wa("keepDetailRowsCount",a,1)}},paginationPageSize:{validate({paginationPageSize:a}){return Wa("paginationPageSize",a,1)}},paginationPageSizeSelector:{validate:a=>{const n=a.paginationPageSizeSelector;return typeof n=="boolean"||n==null||n.length?null:`'paginationPageSizeSelector' cannot be an empty array.
If you want to hide the page size selector, set paginationPageSizeSelector to false.`}},pivotMode:{dependencies:{treeData:{required:[!1,void 0],reason:"Pivot Mode is not supported with Tree Data."}}},quickFilterText:{supportedRowModels:["clientSide"]},rowBuffer:{validate({rowBuffer:a}){return Wa("rowBuffer",a,0)}},rowClass:{validate:a=>typeof a.rowClass=="function"?"rowClass should not be a function, please use getRowClass instead":null},rowData:{supportedRowModels:["clientSide"]},rowDragManaged:{supportedRowModels:["clientSide"],dependencies:{pagination:{required:[!1,void 0]}}},rowSelection:{validate({rowSelection:a}){return a&&typeof a=="string"?'As of version 32.2.1, using `rowSelection` with the values "single" or "multiple" has been deprecated. Use the object value instead.':a&&typeof a!="object"?"Expected `RowSelectionOptions` object for the `rowSelection` property.":a&&a.mode!=="multiRow"&&a.mode!=="singleRow"?`Selection mode "${a.mode}" is invalid. Use one of 'singleRow' or 'multiRow'.`:null}},rowStyle:{validate:a=>{const n=a.rowStyle;return n&&typeof n=="function"?"rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead":null}},serverSideDatasource:{supportedRowModels:["serverSide"]},serverSideInitialRowCount:{supportedRowModels:["serverSide"],validate({serverSideInitialRowCount:a}){return Wa("serverSideInitialRowCount",a,1)}},serverSideOnlyRefreshFilteredGroups:{supportedRowModels:["serverSide"]},serverSideSortAllLevels:{supportedRowModels:["serverSide"]},sortingOrder:{validate:a=>{const n=a.sortingOrder;if(Array.isArray(n)&&n.length>0){const r=n.filter(o=>!Ut(o));if(r.length>0)return`sortingOrder must be an array of type (SortDirection | SortDef)[], incorrect items are: ${r.map(o=>typeof o=="string"||o==null?ll(o):JSON.stringify(o))}]`}else if(!Array.isArray(n)||!n.length)return`sortingOrder must be an array with at least one element, currently it's ${n}`;return null}},tooltipHideDelay:{validate:a=>a.tooltipHideDelay&&a.tooltipHideDelay<0?"tooltipHideDelay should not be lower than 0":null},tooltipShowDelay:{validate:a=>a.tooltipShowDelay&&a.tooltipShowDelay<0?"tooltipShowDelay should not be lower than 0":null},tooltipSwitchShowDelay:{validate:a=>a.tooltipSwitchShowDelay&&a.tooltipSwitchShowDelay<0?"tooltipSwitchShowDelay should not be lower than 0":null},treeData:{supportedRowModels:["clientSide","serverSide"],validate:a=>{const n=a.rowModelType??"clientSide";switch(n){case"clientSide":{const{treeDataChildrenField:r,treeDataParentIdField:o,getDataPath:i,getRowId:s}=a;if(!r&&!o&&!i)return"treeData requires either 'treeDataChildrenField' or 'treeDataParentIdField' or 'getDataPath' in the clientSide row model.";if(r){if(i)return"Cannot use both 'treeDataChildrenField' and 'getDataPath' at the same time.";if(o)return"Cannot use both 'treeDataChildrenField' and 'treeDataParentIdField' at the same time."}if(o){if(!s)return"getRowId callback not provided, tree data with parent id cannot be built.";if(i)return"Cannot use both 'treeDataParentIdField' and 'getDataPath' at the same time."}return null}case"serverSide":{const r=`treeData requires 'isServerSideGroup' and 'getServerSideGroupKey' in the ${n} row model.`;return a.isServerSideGroup&&a.getServerSideGroupKey?null:r}}return null}},viewportDatasource:{supportedRowModels:["viewport"]},viewportRowModelBufferSize:{validate({viewportRowModelBufferSize:a}){return Wa("viewportRowModelBufferSize",a,0)}},viewportRowModelPageSize:{validate({viewportRowModelPageSize:a}){return Wa("viewportRowModelPageSize",a,1)}},rowDragEntireRow:{dependencies:{cellSelection:{required:[void 0]}}},autoGroupColumnDef:{validate({autoGroupColumnDef:a,showOpenedGroup:n}){return a?.field&&n?"autoGroupColumnDef.field and showOpenedGroup are not supported when used together.":a?.valueGetter&&n?"autoGroupColumnDef.valueGetter and showOpenedGroup are not supported when used together.":null}},renderingMode:{validate:a=>{const n=a.renderingMode,r=["default","legacy"];return n&&!r.includes(n)?`renderingMode must be one of [${r.join()}], currently it's ${n}`:null}},autoSizeStrategy:{validate:({autoSizeStrategy:a})=>{if(!a)return null;const n=["fitCellContents","fitGridWidth","fitProvidedWidth"],r=a.type;return r!=="fitCellContents"&&r!=="fitGridWidth"&&r!=="fitProvidedWidth"?`Invalid Auto-size strategy. \`autoSizeStrategy\` must be one of ${n.map(o=>'"'+o+'"').join(", ")}, currently it's ${r}`:r==="fitProvidedWidth"&&typeof a.width!="number"?`When using the 'fitProvidedWidth' auto-size strategy, must provide a numeric \`width\`. You provided ${a.width}`:null}}},t={};for(const a of _g)t[a]={expectedType:"boolean"};for(const a of Ug)t[a]={expectedType:"number"};return Oe(t,e),t},_3=()=>({objectName:"gridOptions",allProperties:[...zb(),...Object.values(rc)],propertyExceptions:["api"],docsUrl:"grid-options/",deprecations:W3(),validations:j3()}),K3=0,Y3=0,Ob="__ag_grid_instance",Q3=class extends F{constructor(){super(...arguments),this.beanName="gos",this.domDataKey="__AG_"+Math.random().toString(),this.instanceId=Y3++,this.gridReadyFired=!1,this.queueEvents=[],this.propEventSvc=new Ta,this.globalEventHandlerFactory=e=>(t,a)=>{if(!this.isAlive())return;const n=Ji.has(t);if(n&&!e||!n&&e||!Z3(t))return;const r=(o,i)=>{const s=rc[o],l=this.gridOptions[s];typeof l=="function"&&this.beans.frameworkOverrides.wrapOutgoing(()=>l(i))};if(this.gridReadyFired)r(t,a);else if(t==="gridReady"){r(t,a),this.gridReadyFired=!0;for(const o of this.queueEvents)r(o.eventName,o.event);this.queueEvents=[]}else this.queueEvents.push({eventName:t,event:a})}}wireBeans(e){this.gridOptions=e.gridOptions,this.validation=e.validation,this.api=e.gridApi,this.gridId=e.context.getId()}get gridOptionsContext(){return this.gridOptions.context}postConstruct(){this.validateGridOptions(this.gridOptions),this.eventSvc.addGlobalListener(this.globalEventHandlerFactory().bind(this),!0),this.eventSvc.addGlobalListener(this.globalEventHandlerFactory(!0).bind(this),!1),this.propEventSvc.setFrameworkOverrides(this.beans.frameworkOverrides),this.addManagedEventListeners({gridOptionsChanged:({options:e})=>{this.updateGridOptions({options:e,force:!0,source:"optionsUpdated"})}})}destroy(){super.destroy(),this.queueEvents=[]}get(e){return this.gridOptions[e]??xm[e]}getCallback(e){return this.mergeGridCommonParams(this.gridOptions[e])}exists(e){return A(this.gridOptions[e])}mergeGridCommonParams(e){return e&&(a=>e(this.addCommon(a)))}updateGridOptions({options:e,force:t,source:a="api"}){const n={id:K3++,properties:[]},r=[],{gridOptions:o,validation:i}=this;for(const s of Object.keys(e)){const l=Ci.applyGlobalGridOption(s,e[s]);i?.warnOnInitialPropertyUpdate(a,s);const c=t||typeof l=="object"&&a==="api",d=o[s];if(c||d!==l){o[s]=l;const u={type:s,currentValue:l,previousValue:d,changeSet:n,source:a};r.push(u)}}this.validateGridOptions(this.gridOptions),n.properties=r.map(s=>s.type);for(const s of r)xn(this,`Updated property ${s.type} from`,s.previousValue," to ",s.currentValue),this.propEventSvc.dispatchEvent(s)}addPropertyEventListener(e,t){this.propEventSvc.addEventListener(e,t)}removePropertyEventListener(e,t){this.propEventSvc.removeEventListener(e,t)}getDomDataKey(){return this.domDataKey}addCommon(e){return e.api=this.api,e.context=this.gridOptionsContext,e}validateOptions(e,t){for(const a of Object.keys(e)){const n=e[a];if(n==null||n===!1)continue;let r=t[a];typeof r=="function"&&(r=r(e,this.gridOptions,this.beans)),r&&this.assertModuleRegistered(r,a)}}validateGridOptions(e){this.validateOptions(e,U3),this.validation?.processGridOptions(e)}validateColDef(e,t,a){(a||!this.beans.dataTypeSvc?.isColPendingInference(t))&&(this.validateOptions(e,L3),this.validation?.validateColDef(e))}assertModuleRegistered(e,t){const a=Array.isArray(e)?e.some(n=>this.isModuleRegistered(n)):this.isModuleRegistered(e);return a||J(200,{...this.getModuleErrorParams(),moduleName:e,reasonOrId:t}),a}getModuleErrorParams(){return{gridId:this.gridId,gridScoped:Jd(),rowModelType:this.get("rowModelType"),isUmd:$d()}}isModuleRegistered(e){return Xd(e,this.gridId,this.get("rowModelType"))}setInstanceDomData(e){e[Ob]=this.instanceId}isElementInThisInstance(e){let t=e;for(;t;){const a=t[Ob];if(A(a))return a===this.instanceId;t=t.parentElement}return!1}};function Z3(e){return!!rc[e]}var X3=class extends F{constructor(e,t){super(),this.column=e,this.eGui=t,this.lastMovingChanged=0}postConstruct(){this.addManagedElementListeners(this.eGui,{click:e=>e&&this.onClick(e)}),this.addManagedListeners(this.column,{movingChanged:()=>{this.lastMovingChanged=Date.now()}})}onClick(e){const{sortSvc:t,rangeSvc:a,gos:n}=this.beans;if(!(Mn(n)?e.altKey:!0))a?.handleColumnSelection(this.column,e);else if(this.column.isSortable()){const o=this.column.isMoving(),s=Date.now()-this.lastMovingChanged<50;o||s||t?.progressSortFromEvent(this.column,e)}}};function J3(e,t){const a={"aria-hidden":"true"};return{tag:"div",cls:"ag-cell-label-container",role:"presentation",children:[{tag:"span",ref:"eMenu",cls:"ag-header-icon ag-header-cell-menu-button",attrs:a},{tag:"span",ref:"eFilterButton",cls:"ag-header-icon ag-header-cell-filter-button",attrs:a},{tag:"div",ref:"eLabel",cls:"ag-header-cell-label",role:"presentation",children:[e?{tag:"span",ref:"eColRef",cls:"ag-header-col-ref"}:null,{tag:"span",ref:"eText",cls:"ag-header-cell-text"},{tag:"span",ref:"eFilter",cls:"ag-header-icon ag-header-label-icon ag-filter-icon",attrs:a},t?{tag:"ag-sort-indicator",ref:"eSortIndicator"}:null]}]}}var Gb=class extends T{constructor(){super(...arguments),this.eFilter=x,this.eFilterButton=x,this.eSortIndicator=x,this.eMenu=x,this.eLabel=x,this.eText=x,this.eColRef=x,this.eSortOrder=x,this.eSortAsc=x,this.eSortDesc=x,this.eSortMixed=x,this.eSortNone=x,this.eSortAbsoluteAsc=x,this.eSortAbsoluteDesc=x,this.isLoadingInnerComponent=!1}refresh(e){const t=this.params;if(this.params=e,this.workOutTemplate(e,!!this.beans?.sortSvc)!=this.currentTemplate||this.workOutShowMenu()!=this.currentShowMenu||e.enableSorting!=this.currentSort||e.column.formulaRef!=this.currentRef||this.currentSuppressMenuHide!=null&&this.shouldSuppressMenuHide()!=this.currentSuppressMenuHide||t.enableFilterButton!=e.enableFilterButton||t.enableFilterIcon!=e.enableFilterIcon)return!1;if(this.innerHeaderComponent){const a={...e};Oe(a,e.innerHeaderComponentParams),this.innerHeaderComponent.refresh?.(a)}else this.setDisplayName(e);return!0}workOutTemplate(e,t){const{formula:a}=this.beans,n=e.template;return n?n?.trim?n.trim():n:J3(!!a?.active,t)}init(e){this.params=e;const{sortSvc:t,touchSvc:a,rowNumbersSvc:n,userCompFactory:r}=this.beans,o=t?.getSortIndicatorSelector();this.currentTemplate=this.workOutTemplate(e,!!o),this.setTemplate(this.currentTemplate,o?[o]:void 0),this.eLabel&&(this.mouseListener??(this.mouseListener=this.createManagedBean(new X3(e.column,this.eLabel)))),a?.setupForHeader(this),this.setMenu(),this.setupSort(),this.setupColumnRefIndicator(),n?.setupForHeader(this),this.setupFilterIcon(),this.setupFilterButton(),this.workOutInnerHeaderComponent(r,e),this.setDisplayName(e)}workOutInnerHeaderComponent(e,t){const a=AF(e,t,t);a&&(this.isLoadingInnerComponent=!0,a.newAgStackInstance().then(n=>{this.isLoadingInnerComponent=!1,n&&(this.isAlive()?(this.innerHeaderComponent=n,this.eText&&this.eText.appendChild(n.getGui())):this.destroyBean(n))}))}setDisplayName(e){const{displayName:t}=e,a=this.currentDisplayName;this.currentDisplayName=t,!(!this.eText||a===t||this.innerHeaderComponent||this.isLoadingInnerComponent)&&(this.eText.textContent=ea(t))}addInIcon(e,t,a){const n=q(e,this.beans,a);n&&t.appendChild(n)}workOutShowMenu(){return this.params.enableMenu&&!!this.beans.menuSvc?.isHeaderMenuButtonEnabled()}shouldSuppressMenuHide(){return!!this.beans.menuSvc?.isHeaderMenuButtonAlwaysShowEnabled()}setMenu(){if(!this.eMenu)return;if(this.currentShowMenu=this.workOutShowMenu(),!this.currentShowMenu){ue(this.eMenu),this.eMenu=void 0;return}const{gos:e,eMenu:t,params:a}=this,n=Ne(e);this.addInIcon(n?"menu":"menuAlt",t,a.column),t.classList.toggle("ag-header-menu-icon",!n);const r=this.shouldSuppressMenuHide();this.currentSuppressMenuHide=r,this.addManagedElementListeners(t,{click:()=>this.showColumnMenu(this.eMenu)}),this.toggleMenuAlwaysShow(r)}toggleMenuAlwaysShow(e){this.eMenu?.classList.toggle("ag-header-menu-always-show",e)}showColumnMenu(e){const{currentSuppressMenuHide:t,params:a}=this;t||this.toggleMenuAlwaysShow(!0),a.showColumnMenu(e,()=>{t||this.toggleMenuAlwaysShow(!1)})}onMenuKeyboardShortcut(e){const{params:t,gos:a,beans:n,eMenu:r,eFilterButton:o}=this,i=t.column,s=Ne(a);if(e&&!s){if(n.menuSvc?.isFilterMenuInHeaderEnabled(i))return t.showFilter(o??r??this.getGui()),!0}else if(t.enableMenu)return this.showColumnMenu(r??o??this.getGui()),!0;return!1}setupSort(){const{sortSvc:e}=this.beans;if(!e)return;const{enableSorting:t,column:a}=this.params;if(this.currentSort=t,!this.eSortIndicator){this.eSortIndicator=this.createBean(e.createSortIndicator(!0));const{eSortIndicator:n,eSortOrder:r,eSortAsc:o,eSortDesc:i,eSortMixed:s,eSortNone:l,eSortAbsoluteAsc:c,eSortAbsoluteDesc:d}=this;n.attachCustomElements(r,o,i,s,l,c,d)}this.eSortIndicator.setupSort(a),this.currentSort&&e.setupHeader(this,a)}setupColumnRefIndicator(){const{eColRef:e,beans:{editModelSvc:t},params:a}=this;e&&(this.currentRef=a.column.formulaRef,e.textContent=this.currentRef,G(e,!1),this.addManagedEventListeners({cellEditingStarted:()=>{const n=t?.getEditPositions(),r=!!this.currentRef&&!!n?.some(o=>o.column.isAllowFormula());G(e,r)},cellEditingStopped:()=>{G(e,!1)}}))}setupFilterIcon(){const{eFilter:e,params:t}=this;if(!e)return;const a=()=>{const n=t.column.isFilterActive();G(e,n,{skipAriaHidden:!0})};this.configureFilter(t.enableFilterIcon,e,a,"filterActive")}setupFilterButton(){const{eFilterButton:e,params:t}=this;if(!e)return;this.configureFilter(t.enableFilterButton,e,this.onFilterChangedButton.bind(this),"filter")?this.addManagedElementListeners(e,{click:()=>t.showFilter(e)}):this.eFilterButton=void 0}configureFilter(e,t,a,n){if(!e)return ue(t),!1;const r=this.params.column;return this.addInIcon(n,t,r),this.addManagedListeners(r,{filterChanged:a}),a(),!0}onFilterChangedButton(){const e=this.params.column.isFilterActive();this.eFilterButton.classList.toggle("ag-filter-active",e)}getAnchorElementForMenu(e){const{eFilterButton:t,eMenu:a}=this;return e?t??a??this.getGui():a??t??this.getGui()}destroy(){super.destroy(),this.innerHeaderComponent=this.destroyBean(this.innerHeaderComponent),this.mouseListener=this.destroyBean(this.mouseListener)}},$3=class extends F{constructor(e,t){super(),this.eLabel=e,this.columnGroup=t,this.isSticky=!1,this.left=null,this.right=null}postConstruct(){const{columnGroup:e,beans:t}=this,{ctrlsSvc:a}=t;a.whenReady(this,()=>{const n=this.refreshPosition.bind(this);e.getPinned()==null&&this.addManagedEventListeners({bodyScroll:r=>{r.direction==="horizontal"&&this.updateSticky(r.left)}}),this.addManagedListeners(e,{leftChanged:n,displayedChildrenChanged:n}),this.addManagedEventListeners({columnResized:n}),this.refreshPosition()})}refreshPosition(){const{columnGroup:e,beans:t}=this,a=e.getLeft(),n=e.getActualWidth();if(a==null||n===0){this.left=null,this.right=null,this.setSticky(!1);return}this.left=a,this.right=a+n;const r=t.colViewport.getScrollPosition();r!=null&&this.updateSticky(r)}updateSticky(e){const{beans:t,left:a,right:n}=this;if(a==null||n==null){this.setSticky(!1);return}const{gos:r,visibleCols:o}=t,s=r.get("enableRtl")?o.bodyWidth-e:e;this.setSticky(as)}setSticky(e){const{isSticky:t,eLabel:a}=this;t!==e&&(this.isSticky=e,a.classList.toggle("ag-sticky-label",e))}},eT={tag:"div",cls:"ag-header-group-cell-label",role:"presentation",children:[{tag:"span",ref:"agLabel",cls:"ag-header-group-text",role:"presentation"},{tag:"span",ref:"agOpened",cls:"ag-header-icon ag-header-expand-icon ag-header-expand-icon-expanded"},{tag:"span",ref:"agClosed",cls:"ag-header-icon ag-header-expand-icon ag-header-expand-icon-collapsed"}]},tT=class extends T{constructor(){super(eT),this.agOpened=x,this.agClosed=x,this.agLabel=x,this.isLoadingInnerComponent=!1}init(e){const{userCompFactory:t,touchSvc:a}=this.beans;this.params=e,this.checkWarnings(),this.workOutInnerHeaderGroupComponent(t,e),this.setupLabel(e),this.addGroupExpandIcon(e),this.setupExpandIcons(),a?.setupForHeaderGroup(this)}checkWarnings(){this.params.template&&R(89)}workOutInnerHeaderGroupComponent(e,t){const a=DF(e,t,t);a&&(this.isLoadingInnerComponent=!0,a.newAgStackInstance().then(n=>{this.isLoadingInnerComponent=!1,n&&(this.isAlive()?(this.innerHeaderGroupComponent=n,this.agLabel.appendChild(n.getGui())):this.destroyBean(n))}))}setupExpandIcons(){const{agOpened:e,agClosed:t,params:{columnGroup:a},beans:{colGroupSvc:n}}=this;this.addInIcon("columnGroupOpened",e),this.addInIcon("columnGroupClosed",t);const r=l=>{if(zt(l))return;const c=!a.isExpanded();n.setColumnGroupOpened(a.getProvidedColumnGroup(),c,"uiColumnExpanded")};this.addTouchAndClickListeners(t,r),this.addTouchAndClickListeners(e,r);const o=l=>{Fe(l)};this.addManagedElementListeners(t,{dblclick:o}),this.addManagedElementListeners(e,{dblclick:o}),this.addManagedElementListeners(this.getGui(),{dblclick:r}),this.updateIconVisibility();const i=a.getProvidedColumnGroup(),s=this.updateIconVisibility.bind(this);this.addManagedListeners(i,{expandedChanged:s,expandableChanged:s})}addTouchAndClickListeners(e,t){this.beans.touchSvc?.setupForHeaderGroupElement(this,e,t),this.addManagedElementListeners(e,{click:t})}updateIconVisibility(){const{agOpened:e,agClosed:t,params:{columnGroup:a}}=this;if(a.isExpandable()){const n=a.isExpanded();G(e,n),G(t,!n)}else G(e,!1),G(t,!1)}addInIcon(e,t){const a=q(e,this.beans,null);a&&t.appendChild(a)}addGroupExpandIcon(e){if(!e.columnGroup.isExpandable()){const{agOpened:t,agClosed:a}=this;G(t,!1),G(a,!1)}}setupLabel(e){const{displayName:t,columnGroup:a}=e,{innerHeaderGroupComponent:n,isLoadingInnerComponent:r}=this,o=n||r;A(t)&&!o&&(this.agLabel.textContent=ea(t)),a.getColGroupDef()?.suppressStickyLabel||this.createManagedBean(new $3(this.getGui(),a))}destroy(){super.destroy(),this.innerHeaderGroupComponent&&(this.destroyBean(this.innerHeaderGroupComponent),this.innerHeaderGroupComponent=void 0)}},aT={moduleName:"ColumnHeaderComp",version:N,userComponents:{agColumnHeader:Gb},icons:{menu:"menu",menuAlt:"menu-alt"}},nT={moduleName:"ColumnGroupHeaderComp",version:N,userComponents:{agColumnGroupHeader:tT},icons:{columnGroupOpened:"expanded",columnGroupClosed:"contracted"}},rT=class extends F{constructor(){super(...arguments),this.beanName="animationFrameSvc",this.p1={list:[],sorted:!1},this.p2={list:[],sorted:!1},this.f1={list:[],sorted:!1},this.destroyTasks=[],this.ticking=!1,this.scrollGoingDown=!0,this.lastScrollTop=0,this.taskCount=0}setScrollTop(e){this.scrollGoingDown=e>=this.lastScrollTop,e===0&&(this.scrollGoingDown=!0),this.lastScrollTop=e}postConstruct(){this.active=!this.gos.get("suppressAnimationFrame"),this.batchFrameworkComps=this.beans.frameworkOverrides.batchFrameworkComps}verify(){this.active===!1&&R(92)}createTask(e,t,a,n,r=!1){this.verify();let o=a;n&&this.batchFrameworkComps&&(o="f1");const i={task:e,index:t,createOrder:++this.taskCount,deferred:r};this.addTaskToList(this[o],i),this.schedule()}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((a,n)=>a.deferred!==n.deferred?a.deferred?-1:1:a.index!==n.index?t*(n.index-a.index):n.createOrder-a.createOrder),e.sorted=!0}addDestroyTask(e){this.verify(),this.destroyTasks.push(e),this.schedule()}executeFrame(e){const{p1:t,p2:a,f1:n,destroyTasks:r,beans:o}=this,{ctrlsSvc:i,frameworkOverrides:s}=o,l=t.list,c=a.list,d=n.list,u=Date.now();let g=0;const h=e<=0,p=i.getScrollFeature();for(;h||g{for(;(h||g{};else if(r.length)m=r.pop();else break;m()}g=Date.now()-u}l.length||c.length||d.length||r.length?this.requestFrame():this.ticking=!1}flushAllFrames(){this.active&&this.executeFrame(-1)}schedule(){this.active&&(this.ticking||(this.ticking=!0,this.requestFrame()))}requestFrame(){const e=this.executeFrame.bind(this,60);kt(this.beans,e)}isQueueEmpty(){return!this.ticking}},oT={moduleName:"AnimationFrame",version:N,beans:[rT]},iT=class extends F{constructor(){super(...arguments),this.beanName="iconSvc"}createIconNoSpan(e,t){return q(e,this.beans,t?.column)}},sT=(e,t,a)=>t||e&&a,lT=class extends F{constructor(){super(...arguments),this.beanName="touchSvc"}mockBodyContextMenu(e,t){this.mockContextMenu(e,e.eBodyViewport,t)}mockHeaderContextMenu(e,t){this.mockContextMenu(e,e.eGui,t)}mockRowContextMenu(e){if(!sn())return;const t=(a,n,r)=>{const{rowCtrl:o,cellCtrl:i}=e.getControlsForEventTarget(r?.target??null);i?.column&&i.dispatchCellContextMenuEvent(r??null),this.beans.contextMenuSvc?.handleContextMenuMouseEvent(void 0,r,o,i)};this.mockContextMenu(e,e.element,t)}handleCellDoubleClick(e,t){return(()=>{if(!sn()||$s("dblclick"))return!1;const n=Date.now(),r=n-e.lastIPadMouseClickEvent<200;return e.lastIPadMouseClickEvent=n,r})()?(e.onCellDoubleClicked(t),t.preventDefault(),!0):!1}setupForHeader(e){const{gos:t,sortSvc:a,menuSvc:n}=this.beans;if(t.get("suppressTouch"))return;const{params:r,eMenu:o,eFilterButton:i}=e,s=new sa(e.getGui(),!0);e.addDestroyFunc(()=>s.destroy());const l=e.shouldSuppressMenuHide(),c=l&&A(o)&&r.enableMenu,d=!!n?.isHeaderContextMenuEnabled(r.column),u=sT(r.enableMenu,d,Ne(t));let g=s;c&&(g=new sa(o,!0),e.addDestroyFunc(()=>g.destroy()));const h=p=>r.showColumnMenuAfterMouseClick(p.touchStart);if(c&&r.enableMenu&&e.addManagedListeners(g,{tap:h}),u&&e.addManagedListeners(s,{longTap:h}),r.enableSorting){const p=f=>{const m=f.touchStart.target;l&&(o?.contains(m)||i?.contains(m))||a?.progressSort(r.column,!1,"uiColumnSorted")};e.addManagedListeners(s,{tap:p})}if(r.enableFilterButton&&i){const p=new sa(i,!0);e.addManagedListeners(p,{tap:()=>r.showFilter(i)}),e.addDestroyFunc(()=>p.destroy())}}setupForHeaderGroup(e){const t=e.params;if(this.beans.menuSvc?.isHeaderContextMenuEnabled(t.columnGroup.getProvidedColumnGroup())){const a=new sa(t.eGridHeader,!0),n=r=>t.showColumnMenuAfterMouseClick(r.touchStart);e.addManagedListeners(a,{longTap:n}),e.addDestroyFunc(()=>a.destroy())}}setupForHeaderGroupElement(e,t,a){const n=new sa(t,!0);e.addManagedListeners(n,{tap:a}),e.addDestroyFunc(()=>n.destroy())}mockContextMenu(e,t,a){if(!sn())return;const n=new sa(t),r=o=>{mi(this.beans,o.touchEvent)&&a(void 0,o.touchStart,o.touchEvent)};e.addManagedListeners(n,{longTap:r}),e.addDestroyFunc(()=>n.destroy())}},cT={moduleName:"Touch",version:N,beans:[lT]},dT=class extends F{constructor(){super(...arguments),this.beanName="cellNavigation"}wireBeans(e){this.rowSpanSvc=e.rowSpanSvc}getNextCellToFocus(e,t,a=!1){return a?this.getNextCellToFocusWithCtrlPressed(e,t):this.getNextCellToFocusWithoutCtrlPressed(e,t)}getNextCellToFocusWithCtrlPressed(e,t){const a=e===w.UP,n=e===w.DOWN,r=e===w.LEFT;let o,i;const{pageBounds:s,gos:l,visibleCols:c,pinnedRowModel:d}=this.beans,{rowPinned:u}=t;if(a||n)u&&d?a?i=0:i=u==="top"?d.getPinnedTopRowCount()-1:d.getPinnedBottomRowCount()-1:i=a?s.getFirstRow():s.getLastRow(),o=t.column;else{const g=l.get("enableRtl");i=t.rowIndex,o=(r!==g?c.allCols:[...c.allCols].reverse()).find(p=>!Re(p)&&this.isCellGoodToFocusOn({rowIndex:i,rowPinned:null,column:p}))}return o?{rowIndex:i,rowPinned:u,column:o}:null}getNextCellToFocusWithoutCtrlPressed(e,t){let a=t,n=!1;for(;!n;){switch(e){case w.UP:a=this.getCellAbove(a);break;case w.DOWN:a=this.getCellBelow(a);break;case w.RIGHT:a=this.gos.get("enableRtl")?this.getCellToLeft(a):this.getCellToRight(a);break;case w.LEFT:a=this.gos.get("enableRtl")?this.getCellToRight(a):this.getCellToLeft(a);break;default:a=null,R(8,{key:e});break}a?n=this.isCellGoodToFocusOn(a):n=!0}return a}isCellGoodToFocusOn(e){const t=e.column;let a;const{pinnedRowModel:n,rowModel:r}=this.beans;switch(e.rowPinned){case"top":a=n?.getPinnedTopRow(e.rowIndex);break;case"bottom":a=n?.getPinnedBottomRow(e.rowIndex);break;default:a=r.getRow(e.rowIndex);break}return a?!this.isSuppressNavigable(t,a):!1}getCellToLeft(e){if(!e)return null;const t=this.beans.visibleCols.getColBefore(e.column);return t?{rowIndex:e.rowIndex,column:t,rowPinned:e.rowPinned}:null}getCellToRight(e){if(!e)return null;const t=this.beans.visibleCols.getColAfter(e.column);return t?{rowIndex:e.rowIndex,column:t,rowPinned:e.rowPinned}:null}getCellBelow(e){if(!e)return null;const t=this.rowSpanSvc?.getCellEnd(e)??e,a=$e(this.beans,t,!0);return a?{rowIndex:a.rowIndex,column:e.column,rowPinned:a.rowPinned}:null}getCellAbove(e){if(!e)return null;const t=this.rowSpanSvc?.getCellStart(e)??e,a=Qt(this.beans,{rowIndex:t.rowIndex,rowPinned:t.rowPinned},!0);return a?{rowIndex:a.rowIndex,column:e.column,rowPinned:a.rowPinned}:null}getNextTabbedCell(e,t){return t?this.getNextTabbedCellBackwards(e):this.getNextTabbedCellForwards(e)}getNextTabbedCellForwards(e){const{visibleCols:t,pagination:a}=this.beans,n=t.allCols;let r=e.rowIndex,o=e.rowPinned,i=t.getColAfter(e.column);if(!i){i=n[0];const s=$e(this.beans,e,!0);if(ie(s)||!s.rowPinned&&!(a?.isRowInPage(s.rowIndex)??!0))return null;r=s?s.rowIndex:null,o=s?s.rowPinned:null}return{rowIndex:r,column:i,rowPinned:o}}getNextTabbedCellBackwards(e){const{beans:t}=this,{visibleCols:a,pagination:n}=t,r=a.allCols;let o=e.rowIndex,i=e.rowPinned,s=a.getColBefore(e.column);if(!s){s=W(r);const l=Qt(t,{rowIndex:e.rowIndex,rowPinned:e.rowPinned},!0);if(ie(l)||!l.rowPinned&&!(n?.isRowInPage(l.rowIndex)??!0))return null;o=l?l.rowIndex:null,i=l?l.rowPinned:null}return{rowIndex:o,column:s,rowPinned:i}}isSuppressNavigable(e,t){const{suppressNavigable:a}=e.colDef;if(typeof a=="boolean")return a;if(typeof a=="function"){const n=e.createColumnFunctionCallbackParams(t);return a(n)}return!1}};function uT(e){return e.focusSvc.getFocusedCell()}function gT(e){return e.focusSvc.clearFocusedCell()}function hT(e,t,a,n){e.focusSvc.setFocusedCell({rowIndex:t,column:a,rowPinned:n,forceBrowserFocus:!0})}function pT(e,t){return e.navigation?.tabToNextCell(!1,t)??!1}function fT(e,t){return e.navigation?.tabToNextCell(!0,t)??!1}function mT(e,t,a=!1){const n=e.headerNavigation?.getHeaderPositionForColumn(t,a);n&&e.focusSvc.focusHeaderPosition({headerPosition:n})}function Ua(e){const t=e;return t?.getFrameworkComponentInstance!=null?t.getFrameworkComponentInstance():e}var vT=class extends F{constructor(){super(...arguments),this.beanName="editModelSvc",this.edits=new Map,this.cellValidations=new Vb,this.rowValidations=new Bb,this.suspendEdits=!1}suspend(e){this.suspendEdits=e}removeEdits({rowNode:e,column:t}){if(!this.hasEdits({rowNode:e})||!e)return;const a=this.getEditRow(e);t?a.delete(t):a.clear(),a.size===0&&this.edits.delete(e)}getEditRow(e,t={}){if(this.suspendEdits||this.edits.size===0)return;const a=e&&this.edits.get(e);if(a)return a;if(t.checkSiblings){const n=e.pinnedSibling;if(n)return this.getEditRow(n)}}getEditRowDataValue(e,{checkSiblings:t}={}){if(!e||this.edits.size===0)return;const a=this.getEditRow(e),n=e.pinnedSibling,r=t&&n&&this.getEditRow(n);if(!a&&!r)return;const o={...e.data},i=(s,l)=>s.forEach(({editorValue:c,pendingValue:d},u)=>{const g=c===void 0?d:c;g!==at&&(l[u.getColId()]=g)});return a&&i(a,o),r&&i(r,o),o}getEdit(e={},t){const{rowNode:a,column:n}=e,r=this.edits;if(this.suspendEdits||r.size===0||!a||!n)return;const o=r.get(a)?.get(n);if(o)return o;if(t?.checkSiblings){const i=a.pinnedSibling;if(i)return r.get(i)?.get(n)}}getEditMap(e=!0){if(this.suspendEdits||this.edits.size===0)return new Map;if(!e)return this.edits;const t=new Map;return this.edits.forEach((a,n)=>{const r=new Map;a.forEach(({editorState:o,...i},s)=>r.set(s,{...i})),t.set(n,r)}),t}setEditMap(e){this.edits.clear(),e.forEach((t,a)=>{const n=new Map;t.forEach((r,o)=>n.set(o,{...r})),this.edits.set(a,n)})}setEdit(e,t){const a=this.edits;(a.size===0||!a.has(e.rowNode))&&a.set(e.rowNode,new Map);const n=this.getEdit(e),r={editorState:{isCancelAfterEnd:void 0,isCancelBeforeStart:void 0},...n,...t};return this.getEditRow(e.rowNode).set(e.column,r),r}clearEditValue(e){const{rowNode:t,column:a}=e;if(!t)return;const n=o=>{o.editorValue=void 0,o.pendingValue=o.sourceValue,o.state="changed"};if(!a){this.getEditRow(t)?.forEach(n);return}const r=this.getEdit(e);r&&n(r)}getState(e){if(!this.suspendEdits)return this.getEdit(e)?.state}getEditPositions(e){if(this.suspendEdits||(e??this.edits).size===0)return[];const t=[];return(e??this.edits).forEach((a,n)=>{for(const r of a.keys()){const{editorState:o,...i}=a.get(r);t.push({rowNode:n,column:r,...i})}}),t}hasRowEdits(e,t){return this.suspendEdits||this.edits.size===0?!1:!!this.getEditRow(e,t)}hasEdits(e={},t={}){if(this.suspendEdits||this.edits.size===0)return!1;const{rowNode:a,column:n}=e,{withOpenEditor:r}=t;if(a){const o=this.getEditRow(a,t);return o?n?r?this.getEdit(e)?.state==="editing":o.has(n):o.size!==0?r?Array.from(o.values()).some(({state:i})=>i==="editing"):!0:!1:!1}return r?this.getEditPositions().some(({state:o})=>o==="editing"):this.edits.size>0}start(e){const t=this.getEditRow(e.rowNode)??new Map,{rowNode:a,column:n}=e;n&&!t.has(n)&&t.set(n,{editorValue:void 0,pendingValue:at,sourceValue:this.beans.valueSvc.getValue(n,a,"data"),state:"editing",editorState:{isCancelAfterEnd:void 0,isCancelBeforeStart:void 0}}),this.edits.set(a,t)}stop(e,t,a){if(this.hasEdits(e))if(t){const n=this.getEditRow(e.rowNode)?.get(e.column);n&&(n.pendingValue===at||n.pendingValue===n.sourceValue)?this.removeEdits(e):n&&a&&(n.editorValue=void 0)}else this.removeEdits(e)}clear(){for(const e of this.edits.values())e.clear();this.edits.clear()}getCellValidationModel(){return this.cellValidations}getRowValidationModel(){return this.rowValidations}setCellValidationModel(e){this.cellValidations=e}setRowValidationModel(e){this.rowValidations=e}destroy(){super.destroy(),this.clear()}},Vb=class{constructor(){this.cellValidations=new Map}getCellValidation(e){const{rowNode:t,column:a}=e||{};return this.cellValidations?.get(t)?.get(a)}hasCellValidation(e){return!e?.rowNode||!e.column?this.cellValidations.size>0:!!this.getCellValidation(e)}setCellValidation(e,t){const{rowNode:a,column:n}=e;this.cellValidations.has(a)||this.cellValidations.set(a,new Map),this.cellValidations.get(a).set(n,t)}clearCellValidation(e){const{rowNode:t,column:a}=e;this.cellValidations.get(t)?.delete(a)}setCellValidationMap(e){this.cellValidations=e}getCellValidationMap(){return this.cellValidations}clearCellValidationMap(){this.cellValidations.clear()}},Bb=class{constructor(){this.rowValidations=new Map}getRowValidation(e){const{rowNode:t}=e||{};return this.rowValidations.get(t)}hasRowValidation(e){return e?.rowNode?!!this.getRowValidation(e):this.rowValidations.size>0}setRowValidation({rowNode:e},t){this.rowValidations.set(e,t)}clearRowValidation({rowNode:e}){this.rowValidations.delete(e)}setRowValidationMap(e){this.rowValidations=e}getRowValidationMap(){return this.rowValidations}clearRowValidationMap(){this.rowValidations.clear()}};function oc(e,t={}){const{rowIndex:a,rowId:n,rowCtrl:r,rowPinned:o}=t;if(r)return r;const{rowModel:i,rowRenderer:s}=e;let{rowNode:l}=t;return l||(n?l=dM(e,n,o):a!=null&&(l=i.getRow(a))),l?s.getRowCtrlByNode(l):void 0}function ce(e,t={}){const{cellCtrl:a,colId:n,columnId:r,column:o}=t;if(a)return a;const i=e.colModel.getCol(n??r??Kg(o)),s=t.rowCtrl??oc(e,t),l=s?.getCellCtrl(i)??void 0;if(l)return l;const c=t.rowNode??s?.rowNode;if(c)return e.rowRenderer.getCellCtrls([c],[i])?.[0]}function Nb(e){const{editSvc:t}=e;t?.isBatchEditing()?(Hn(e,{persist:!0}),qn(e)):t?.stopEditing(void 0,{source:"api"})}function CT(e,t,a){const{gos:n,popupSvc:r}=t;if(!n.get("stopEditingWhenCellsLoseFocus"))return;const o=i=>{const s=i.relatedTarget;if(Eu(s)===null){Nb(t);return}let l=a.some(c=>c.contains(s))&&n.isElementInThisInstance(s);l||(l=!!r&&(r.getActivePopups().some(c=>c.contains(s))||r.isElementWithinCustomPopup(s))),l||Nb(t)};for(const i of a)e.addManagedElementListeners(i,{focusout:o})}function Kg(e){if(e)return typeof e=="string"?e:e.getColId()}var at=Symbol("unedited"),bT=(e,t={})=>{const a=e.rowRenderer.getCellCtrls(t.rowNodes,t.columns),n=new Array(a.length);let r=0;for(let o=0,i=a.length;o0&&t.set(a,r)}return t}function Lr(e,t,a){const{key:n,event:r,cellStartedEdit:o,silent:i}=a??{},{editModelSvc:s,gos:l,userCompFactory:c}=e,d=ce(e,t),u=d?.comp?.getCellEditor(),g=qb(e,t,n,o&&!i),h=s?.getEdit(t),p=g.value??h?.sourceValue;if(u){s?.setEdit(t,{editorValue:So(e,p,!0,t.column),state:"editing"}),u.refresh?.(g);return}const f=t.column.getColDef(),m=gv(c,f,g);if(!m)return;const{popupFromSelector:v,popupPositionFromSelector:C}=m,b=v??!!f.cellEditorPopup,y=C??f.cellEditorPopupPosition;if(Wb(m.params,r),!d)return;const{rangeFeature:S,rowCtrl:k,comp:M,onEditorAttachedFuncs:E}=d;s?.setEdit(t,{editorValue:So(e,p,!0,t.column),state:"editing",editorState:{cellStartedEditing:void 0,cellStoppedEditing:void 0}}),d.editCompDetails=m,E.push(()=>S?.unsetComp()),M?.setEditDetails(m,b,y,l.get("reactiveCustomComponents")),k?.refreshRow({suppressFlash:!0}),ST(e,t,r,p,i)}function ST(e,t,a,n,r){const{editSvc:o,editModelSvc:i}=e,s=i?.getEdit(t);!r&&s?.state==="editing"&&!s?.editorState?.cellStartedEditing&&(o?.dispatchCellEvent(t,a,"cellEditingStarted",{value:n}),i?.setEdit(t,{editorState:{cellStartedEditing:!0}}))}function Hb(e,t,a){const n={editorValueExists:!1};if(Yg(e)&&(t.getValidationErrors?.()?.length??0)>0||a?.isCancelling)return n;if(a?.isStopping){const o=t?.isCancelAfterEnd?.();if(o)return{...n,isCancelAfterEnd:o}}return{editorValue:t.getValue(),editorValueExists:!0}}function qb(e,t,a,n){const{valueSvc:r,gos:o,editSvc:i}=e,s=e.gos.get("enableGroupEdit"),l=ce(e,t),c=t.rowNode?.rowIndex??void 0,d=i?.isBatchEditing(),u=e.colModel.getCol(t.column.getId()),{rowNode:g,column:h}=t,p=l.comp?.getCellEditor(),f=i?.getCellDataValue(t),m=f===void 0?p?Hb(e,p)?.editorValue:void 0:f,v=m===at?r.getValueForDisplay({column:u,node:g,from:"edit"})?.value:m;let C=s?m:v;return h.isAllowFormula()&&e.formula?.isFormula(C)&&(C=e.formula?.normaliseFormula(C,!0)??C),B(o,{value:C,eventKey:a??null,column:h,colDef:h.getColDef(),rowIndex:c,node:g,data:g.data,cellStartedEdit:!!n,onKeyDown:l?.onKeyDown.bind(l),stopEditing:b=>{i.stopEditing(t,{source:d?"ui":"api",suppressNavigateAfterEdit:b}),es(e,t,{})},eGridCell:l?.eGui,parseValue:b=>r.parseValue(u,g,b,l?.value),formatValue:l?.formatValue.bind(l),validate:()=>{i?.validateEdit()}})}function $i(e,t){const{editModelSvc:a}=e;a?.getEditMap().forEach((n,r)=>{n.forEach((o,i)=>{!t&&(o.state==="editing"||o.pendingValue===at)||!Ra(o)&&(o.state!=="editing"||t)&&a?.removeEdits({rowNode:r,column:i})})})}function xT(e,t){const a=t.comp?.getCellEditor();if(!a?.refresh)return;const{eventKey:n,cellStartedEdit:r}=t.editCompDetails.params,{column:o}=t,i=qb(e,t,n,r),s=o.getColDef(),l=gv(e.userCompFactory,s,i);a.refresh(Wb(l.params,n))}function Wb(e,t){return t instanceof KeyboardEvent&&e.column.getColDef().cellEditor==="agNumberCellEditor"?e.suppressPreventDefault=["-","+",".","e"].includes(t?.key??"")||e.suppressPreventDefault:t?.preventDefault?.(),e}function Hn(e,t){for(const a of e.editModelSvc?.getEditPositions()??[]){const n=ce(e,a);if(!n)continue;const r=n.comp?.getCellEditor();if(!r)continue;const{editorValue:o,editorValueExists:i,isCancelAfterEnd:s}=Hb(e,r,t);if(s){const{cellStartedEditing:l,cellStoppedEditing:c}=e.editModelSvc?.getEdit(a)?.editorState||{};e.editModelSvc?.setEdit(a,{editorState:{isCancelAfterEnd:s,cellStartedEditing:l,cellStoppedEditing:c}})}yo(e,a,o,void 0,!i,t)}}function yo(e,t,a,n,r,o){const{editModelSvc:i,valueSvc:s}=e;if(!i)return;const{rowNode:l,column:c}=t;if(!(l&&c))return;let d=i.getEdit(t);if(d?.sourceValue===void 0){const u=d?So(e,d.editorValue,!1,c):at,g={sourceValue:s.getValue(c,l,"data"),pendingValue:u};o?.persist&&(g.state="changed"),d=i.setEdit(t,g)}i.setEdit(t,{editorValue:r?So(e,d.sourceValue,!0,c):a}),o?.persist&&kT(e,t)}function So(e,t,a,n){const{formula:r}=e;return n.isAllowFormula()&&r?.isFormula(t)?r?.normaliseFormula(t,a)??t:t}function kT(e,t){const{editModelSvc:a}=e,n=a?.getEdit(t),o={pendingValue:So(e,n?.editorValue,!1,t.column)};!n?.editorState?.cellStoppedEditing&&n?.state!=="editing"&&(o.state="changed"),a?.setEdit(t,o)}function qn(e,t,a={}){if(t||(t=e.editModelSvc?.getEditPositions()),t)for(const n of t)es(e,n,a)}function es(e,t,a,n=ce(e,t)){const r=e.editModelSvc,o=r?.getEdit(t);let i;if(o&&o.state!=="editing"&&o.editorState?.cellStoppedEditing?i=o.state:i="changed",!n){o&&r?.setEdit(t,{state:i});return}const s=n.comp,l=s?.getCellEditor();if(s&&!l){if(n?.refreshCell(),o){r?.setEdit(t,{state:i});const d=e.gos.get("enableGroupEdit")?Ub(o,a?.cancel):{valueChanged:!1,newValue:void 0,oldValue:o.sourceValue};jb(e,t,d,a)}return}if(Yg(e)){const d=o&&l?.getValidationErrors?.(),u=r?.getCellValidationModel();d?.length?u?.setCellValidation(t,{errorMessages:d}):u?.clearCellValidation(t)}o&&r?.setEdit(t,{state:i}),s?.setEditDetails(),s?.refreshEditStyles(!1,!1),n?.refreshCell({force:!0,suppressFlash:!0});const c=r?.getEdit(t);if(c&&c.state!=="editing"){const d=a?.cancel,u=e.gos.get("enableGroupEdit")?Ub(c,d):RT(c,o,d);jb(e,t,u,a)}}function Ub(e,t){const{sourceValue:a,pendingValue:n}=e;let r;return!t&&n!==at&&(r=n),{valueChanged:!t&&Ra(e),newValue:r,oldValue:a,value:a}}function RT(e,t,a){if(a||e.editorState.isCancelAfterEnd)return{valueChanged:!1,newValue:void 0,oldValue:e.sourceValue};let n=e.editorValue;return(n==null||n===at)&&(n=t?.pendingValue),n===at&&(n=void 0),{valueChanged:Ra(e),newValue:n,oldValue:e.sourceValue}}function jb(e,t,a,{silent:n,event:r}={}){const{editSvc:o,editModelSvc:i}=e,s=i?.getEdit(t),{editorState:l}=s||{},{isCancelBeforeStart:c,cellStartedEditing:d,cellStoppedEditing:u}=l||{};!n&&!c&&d&&!u&&(o?.dispatchCellEvent(t,r,"cellEditingStopped",a),i?.setEdit(t,{editorState:{cellStoppedEditing:!0}}))}function FT(e){if(!e)return!1;for(let t=0,a=e.length;t0,b=C?m.join(". "):"";Ws(v,C),C&&n.announceValue(`${c} ${m}`,"editorValidation"),v instanceof HTMLInputElement?v.setCustomValidity(b):v.classList.toggle("invalid",C)}m?.length>0&&a.setCellValidation({rowNode:p,column:f},{errorMessages:m}),d.add(u.rowCtrl)}if(Hn(e,{persist:!1}),o?.setCellValidationModel(a),s){const u=ET(e);o?.setRowValidationModel(u)}for(const u of d.values()){u.rowEditStyleFeature?.applyRowStyles();for(const g of u.getAllCellCtrls())g.tooltipFeature?.refreshTooltip(!0),g.editorTooltipFeature?.refreshTooltip(!0),g.editStyleFeature?.applyCellStyles?.()}}var ET=e=>{const t=new Bb,a=e.gos.get("getFullRowEditValidationErrors"),n=e.editModelSvc?.getEditMap();if(!n)return t;for(const r of n.keys()){const o=n.get(r);if(!o)continue;const i=[],{rowIndex:s,rowPinned:l}=r;for(const d of o.keys()){const u=o.get(d);if(!u)continue;const{editorValue:g,pendingValue:h,sourceValue:p}=u,f=g??(h===at?void 0:h)??p;i.push({column:d,colId:d.getColId(),rowIndex:s,rowPinned:l,oldValue:p,newValue:f})}const c=a?.({editorsState:i})??[];c.length>0&&t.setRowValidation({rowNode:r},{errorMessages:c})}return t};function PT(e){Wn(e,!0);const t=e.editModelSvc?.getCellValidationModel().getCellValidationMap();if(!t)return null;const a=[];return t.forEach((n,r)=>{n.forEach(({errorMessages:o},i)=>{a.push({column:i,rowIndex:r.rowIndex,rowPinned:r.rowPinned,messages:o??null})})}),a}function ic(e){return!!(e.rowPinned&&e.pinnedSibling)}function ua(e,t,a,n){const r=t==="top";if(!a)return ua(e,t,r?e.getPinnedTopRow(0):e.getPinnedBottomRow(0),n);if(!n){const l=r?e.getPinnedTopRowCount():e.getPinnedBottomRowCount();return ua(e,t,a,r?e.getPinnedTopRow(l-1):e.getPinnedBottomRow(l-1))}let o=!1,i=!1;const s=[];return e.forEachPinnedRow(t,l=>{if(l===a&&!o){o=!0,s.push(l);return}if(o&&l===n){i=!0,s.push(l);return}o&&!i&&s.push(l)}),s}function AT(e,t,a,{rowNode:n,column:r},o){return B(e.gos,{type:a,node:n,data:n.data,value:o,column:r,colDef:r.getColDef(),rowPinned:n.rowPinned,event:t,rowIndex:n.rowIndex})}function TT(e,t=!1){return e===w.DELETE?!0:!t&&e===w.BACKSPACE?mv():!1}var DT=class extends F{constructor(e,t,a,n){super(),this.cellCtrl=e,this.rowNode=a,this.rowCtrl=n,this.beans=t}init(){this.eGui=this.cellCtrl.eGui}onKeyDown(e){const t=e.key;if(!(t===w.ENTER&&Re(this.cellCtrl.column)&&this.beans.rowNumbersSvc?.handleKeyDownOnCell(this.cellCtrl.cellPosition,e)))switch(t){case w.ENTER:this.onEnterKeyDown(e);break;case w.F2:this.onF2KeyDown(e);break;case w.ESCAPE:this.onEscapeKeyDown(e);break;case w.TAB:this.onTabKeyDown(e);break;case w.BACKSPACE:case w.DELETE:this.onBackspaceOrDeleteKeyDown(t,e);break;case w.DOWN:case w.UP:case w.RIGHT:case w.LEFT:this.onNavigationKeyDown(e,t);break}}onNavigationKeyDown(e,t){const{cellCtrl:a,beans:n}=this;if(!n.editSvc?.isEditing(a,{withOpenEditor:!0})){if(e.shiftKey&&a.isRangeSelectionEnabled())this.onShiftRangeSelect(e);else{const r=a.getFocusedCellPosition();n.navigation?.navigateToNextCell(e,t,r,!0)}e.preventDefault()}}onShiftRangeSelect(e){const{rangeSvc:t,navigation:a}=this.beans;if(!t)return;const n=t.extendLatestRangeInDirection(e);n&&(e.key===w.LEFT||e.key===w.RIGHT?a?.ensureColumnVisible(n.column):a?.ensureRowVisible(n.rowIndex))}onTabKeyDown(e){this.beans.navigation?.onTabKeyDown(this.cellCtrl,e)}onBackspaceOrDeleteKeyDown(e,t){const{cellCtrl:a,beans:n,rowNode:r}=this,{gos:o,rangeSvc:i,eventSvc:s,editSvc:l}=n;if(s.dispatchEvent({type:"keyShortcutChangedCellStart"}),TT(e,o.get("enableCellEditingOnBackspace"))&&!l?.isEditing(a,{withOpenEditor:!0})){if(i&&mt(o))i.clearCellRangeCellValues({dispatchWrapperEvents:!0,wrapperEventSource:"deleteKey"});else if(a.isCellEditable()){const c=n.valueSvc.getDeleteValue(a.column,r);r.setDataValue(a.column,c,"cellClear")}}else l?.isEditing(a,{withOpenEditor:!0})||n.editSvc?.startEditing(a,{startedEdit:!0,event:t});s.dispatchEvent({type:"keyShortcutChangedCellEnd"})}onEnterKeyDown(e){const{cellCtrl:t,beans:a}=this,{editSvc:n,navigation:r}=a,o=n?.isEditing(t,{withOpenEditor:!0}),i=t.rowNode,s=n?.isRowEditing(i,{withOpenEditor:!0}),l=c=>{n?.startEditing(c,{startedEdit:!0,event:e,source:"edit"})&&e.preventDefault()};if(o||s){if(this.isCtrlEnter(e)){n?.applyBulkEdit(t,a?.rangeSvc?.getCellRanges()||[]);return}if(Wn(a),n?.checkNavWithValidation(void 0,e)==="block-stop")return;n?.isEditing(t,{withOpenEditor:!0})?n?.stopEditing(t,{event:e,source:"edit"}):s&&!t.isCellEditable()?n?.stopEditing({rowNode:i},{event:e,source:"edit"}):l(t)}else if(a.gos.get("enterNavigatesVertically")){const c=e.shiftKey?w.UP:w.DOWN;r?.navigateToNextCell(null,c,t.cellPosition,!1)}else{if(n?.hasValidationErrors())return;n?.hasValidationErrors(t)&&n.revertSingleCellEdit(t,!0),l(t)}}isCtrlEnter(e){return(e.ctrlKey||e.metaKey)&&e.key===w.ENTER}onF2KeyDown(e){const{cellCtrl:t,beans:{editSvc:a}}=this;a?.isEditing()&&(Wn(this.beans),a?.checkNavWithValidation(void 0,e)==="block-stop")||a?.startEditing(t,{startedEdit:!0,event:e})}onEscapeKeyDown(e){const{cellCtrl:t,beans:{editSvc:a}}=this;a?.checkNavWithValidation(t,e)==="block-stop"&&a.revertSingleCellEdit(t),setTimeout(()=>{a?.stopEditing(t,{event:e,cancel:!0})})}processCharacter(e){const a=e.target!==this.eGui,{beans:{editSvc:n},cellCtrl:r}=this;if(a||n?.isEditing(r,{withOpenEditor:!0}))return;if(e.key===w.SPACE)this.onSpaceKeyDown(e);else if(n?.isCellEditable(r,"ui")){if(n?.hasValidationErrors()&&!n?.hasValidationErrors(r))return;n?.startEditing(r,{startedEdit:!0,event:e,source:"api",editable:!0}),!r.editCompDetails?.params?.suppressPreventDefault&&e.preventDefault()}}onSpaceKeyDown(e){const{gos:t,editSvc:a}=this.beans,{rowNode:n}=this.cellCtrl;!a?.isEditing(this.cellCtrl,{withOpenEditor:!0})&&Lt(t)&&this.beans.selectionSvc?.handleSelectionEvent(e,n,"spaceKey"),e.preventDefault()}},IT=class extends F{constructor(e,t,a){super(),this.cellCtrl=e,this.column=a,this.beans=t}onMouseEvent(e,t){if(!zt(t))switch(e){case"click":this.onCellClicked(t);break;case"pointerdown":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);break}}onCellClicked(e){if(this.beans.touchSvc?.handleCellDoubleClick(this,e))return;const{eventSvc:t,rangeSvc:a,editSvc:n,editModelSvc:r,frameworkOverrides:o,gos:i}=this.beans,s=e.ctrlKey||e.metaKey,{cellCtrl:l}=this,{column:c,cellPosition:d,rowNode:u}=l,g=Bi(i,c,u,e);a&&s&&!g&&a.getCellRangeCount(d)>1&&a.intersectLastRange(!0);const h=l.createEvent(e,"cellClicked");h.isEventHandlingSuppressed=g,t.dispatchEvent(h);const p=c.getColDef();if(p.onCellClicked&&window.setTimeout(()=>{o.wrapOutgoing(()=>{p.onCellClicked(h)})},0),!g&&r?.getState(l)!=="editing"){const f=n?.isEditing(),m=n?.isRangeSelectionEnabledWhileEditing(),v=r?.getCellValidationModel().getCellValidationMap().size??0,C=r?.getRowValidationModel().getRowValidationMap().size??0;if(f&&(m||v>0||C>0))return;n?.shouldStartEditing(l,e)?n?.startEditing(l,{event:e}):n?.shouldStopEditing(l,e)&&(this.beans.gos.get("editType")==="fullRow"?n?.stopEditing(l,{event:e,source:"edit"}):n?.stopEditing(void 0,{event:e,source:"edit"}))}}onCellDoubleClicked(e){const{column:t,beans:a,cellCtrl:n}=this,{eventSvc:r,frameworkOverrides:o,editSvc:i,editModelSvc:s,gos:l}=a,c=Bi(l,n.column,n.rowNode,e),d=t.getColDef(),u=n.createEvent(e,"cellDoubleClicked");if(u.isEventHandlingSuppressed=c,r.dispatchEvent(u),typeof d.onCellDoubleClicked=="function"&&window.setTimeout(()=>{o.wrapOutgoing(()=>{d.onCellDoubleClicked(u)})},0),!c&&i?.shouldStartEditing(n,e)&&s?.getState(n)!=="editing"){const g=i?.isEditing(),h=i?.isRangeSelectionEnabledWhileEditing(),p=s?.getCellValidationModel().getCellValidationMap().size??0,f=s?.getRowValidationModel().getRowValidationMap().size??0;if(g&&(h||p>0||f>0))return;i?.startEditing(n,{event:e})}}onMouseDown(e){const{shiftKey:t}=e,a=e.target,{cellCtrl:n,beans:r}=this,{eventSvc:o,rangeSvc:i,rowNumbersSvc:s,focusSvc:l,gos:c,editSvc:d}=r,{column:u,rowNode:g,cellPosition:h}=n,p=Bi(c,u,g,e),f=()=>{const b=n.createEvent(e,"cellMouseDown");b.isEventHandlingSuppressed=p,o.dispatchEvent(b)};if(p){f();return}if(this.isRightClickInExistingRange(e))return;const m=i&&!i.isEmpty(),v=this.containsWidget(a),C=Re(u);if(!(s&&C&&!s.handleMouseDownOnCell(h,e))){if(!t||!m){const b=d?.isEditing(n),S=c.get("enableCellTextSelection")&&e.defaultPrevented,k=(ya()||S)&&!b&&!Jr(a)&&!v;n.focusCell(k,e)}if(t&&m&&!l.isCellFocused(h)){e.preventDefault();const b=l.getFocusedCell();if(b){const{column:y,rowIndex:S,rowPinned:k}=b,M=!!d?.isRangeSelectionEnabledWhileEditing?.();d?.isEditing(b)&&!M&&d?.stopEditing(b),M||l.setFocusedCell({column:y,rowIndex:S,rowPinned:k,forceBrowserFocus:!0,preventScrollOnBrowserFocus:!0,sourceEvent:e})}}v||(i?.handleCellMouseDown(e,h),f())}}isRightClickInExistingRange(e){const{rangeSvc:t}=this.beans;if(t){const a=t.isCellInAnyRange(this.cellCtrl.cellPosition),n=ml(this.beans,e);if(a&&n)return!0}return!1}containsWidget(e){return gr(e,"ag-selection-checkbox",3)||gr(e,"ag-drag-handle",3)}onMouseOut(e){if(this.mouseStayingInsideCell(e))return;const{eventSvc:t,colHover:a}=this.beans;t.dispatchEvent(this.cellCtrl.createEvent(e,"cellMouseOut")),a?.clearMouseOver()}onMouseOver(e){if(this.mouseStayingInsideCell(e))return;const{eventSvc:t,colHover:a}=this.beans;t.dispatchEvent(this.cellCtrl.createEvent(e,"cellMouseOver")),a?.setMouseOver([this.column])}mouseStayingInsideCell(e){if(!e.target||!e.relatedTarget)return!1;const t=this.cellCtrl.eGui,a=t.contains(e.target),n=t.contains(e.relatedTarget);return a&&n}},LT=class extends F{constructor(e,t){super(),this.cellCtrl=e,this.beans=t,this.column=e.column,this.rowNode=e.rowNode}setupRowSpan(){this.rowSpan=this.column.getRowSpan(this.rowNode),this.addManagedListeners(this.beans.eventSvc,{newColumnsLoaded:()=>this.onNewColumnsLoaded()})}init(){this.eSetLeft=this.cellCtrl.getRootElement(),this.eContent=this.cellCtrl.eGui;const e=this.cellCtrl.getCellSpan();if(e||(this.setupColSpan(),this.setupRowSpan()),this.onLeftChanged(),this.onWidthChanged(),e||this._legacyApplyRowSpan(),e){const t=this.refreshSpanHeight.bind(this,e);t(),this.addManagedListeners(this.beans.eventSvc,{paginationChanged:t,recalculateRowBounds:t,pinnedHeightChanged:t})}}refreshSpanHeight(e){const t=e.getCellHeight();t!=null&&(this.eContent.style.height=`${t}px`)}onNewColumnsLoaded(){const e=this.column.getRowSpan(this.rowNode);this.rowSpan!==e&&(this.rowSpan=e,this._legacyApplyRowSpan(!0))}onDisplayColumnsChanged(){const e=this.getColSpanningList();we(this.colsSpanning,e)||(this.colsSpanning=e,this.onWidthChanged(),this.onLeftChanged())}setupColSpan(){this.column.getColDef().colSpan!=null&&(this.colsSpanning=this.getColSpanningList(),this.addManagedListeners(this.beans.eventSvc,{displayedColumnsChanged:this.onDisplayColumnsChanged.bind(this),displayedColumnsWidthChanged:this.onWidthChanged.bind(this)}))}onWidthChanged(){if(!this.eContent)return;const e=this.getCellWidth();this.eContent.style.width=`${e}px`}getCellWidth(){return this.colsSpanning?this.colsSpanning.reduce((e,t)=>e+t.getActualWidth(),0):this.column.getActualWidth()}getColSpanningList(){const{column:e,rowNode:t}=this,a=e.getColSpan(t),n=[];if(a===1)n.push(e);else{let r=e;const o=e.getPinned();for(let i=0;r&&ithis.removeFeatures()),this.onSuppressCellFocusChanged(this.beans.gos.get("suppressCellFocus")),this.setupFocus(),this.applyStaticCssClasses(),this.setWrapText(),this.onFirstRightPinnedChanged(),this.onLastLeftPinnedChanged(),this.onColumnHover(),this.setupControlComps(),this.setupAutoHeight(n,i),this.refreshFirstAndLastStyles(),this.checkFormulaError(),this.refreshAriaRowIndex(),this.refreshAriaColIndex(),this.positionFeature?.init(),this.customStyleFeature?.setComp(e),this.editStyleFeature?.setComp(e),this.tooltipFeature?.refreshTooltip(),this.keyboardListener?.init(),this.rangeFeature?.setComp(e),this.rowResizeFeature?.refreshRowResizer();const s=o?this.isCellEditable():void 0,l=!s&&this.hasEdit&&this.editSvc?.isEditing(this,{withOpenEditor:!0});if(s||l?this.editSvc?.startEditing(this,{startedEdit:!1,source:"api",silent:!0,continueEditing:!0,editable:s}):this.showValue(!1,!0),this.onCompAttachedFuncs.length){for(const c of this.onCompAttachedFuncs)c();this.onCompAttachedFuncs=[]}}checkFormulaError(){const e=!!this.beans.formula?.getFormulaError(this.column,this.rowNode);this.eGui.classList.toggle("formula-error",e)}setupAutoHeight(e,t){this.isAutoHeight=this.beans.rowAutoHeight?.setupCellAutoHeight(this,e,t)??!1}getCellAriaRole(){return this.column.getColDef().cellAriaRole??"gridcell"}isCellRenderer(){const e=this.column.getColDef();return e.cellRenderer!=null||e.cellRendererSelector!=null}getValueToDisplay(){return this.valueFormatted??this.value}getDeferLoadingCellRenderer(){const{beans:e,column:t}=this,{userCompFactory:a,ctrlsSvc:n,eventSvc:r}=e,o=t.getColDef(),i=this.createCellRendererParams();i.deferRender=!0;const s=uv(a,o,i);if(n.getGridBodyCtrl()?.scrollFeature?.isScrolling()){let l;const c=new j(u=>{l=u}),[d]=this.addManagedListeners(r,{bodyScrollEnd:()=>{l(),d()}});return{loadingComp:s,onReady:c}}return{loadingComp:s,onReady:j.resolve()}}showValue(e,t){const{beans:a,column:n,rowNode:r,rangeFeature:o}=this,{userCompFactory:i}=a;let s=this.getValueToDisplay(),l;const c=r.stub&&r.groupData?.[n.getId()]==null,d=n.getColDef();if(c||this.isCellRenderer()){const u=this.createCellRendererParams();!c||Re(n)?l=kr(i,d,u):l=uv(i,d,u)}if(!l&&!c&&a.findSvc?.isMatch(r,n)){const u=this.createCellRendererParams();l=kr(i,{...n.getColDef(),cellRenderer:"agFindCellRenderer"},u)}if(this.hasEdit&&this.editSvc.isBatchEditing()&&this.editSvc.isRowEditing(r,{checkSiblings:!0})){const u=this.editSvc.prepDetailsDuringBatch(this,{compDetails:l,valueToDisplay:s});u&&(u.compDetails?l=u.compDetails:u.valueToDisplay&&(s=u.valueToDisplay))}this.comp.setRenderDetails(l,s,e),this.customRowDragComp?.refreshVisibility(),!t&&o&&kt(a,()=>o?.refreshRangeStyleAndHandle()),this.rowResizeFeature?.refreshRowResizer()}setupControlComps(){const e=this.column.getColDef();this.includeSelection=this.isIncludeControl(this.isCheckboxSelection(e),!0),this.includeRowDrag=this.isIncludeControl(e.rowDrag),this.includeDndSource=this.isIncludeControl(e.dndSource),this.comp.setIncludeSelection(this.includeSelection),this.comp.setIncludeDndSource(this.includeDndSource),this.comp.setIncludeRowDrag(this.includeRowDrag)}isForceWrapper(){return this.beans.gos.get("enableCellTextSelection")||this.column.isAutoHeight()}getCellValueClass(){const e="ag-cell-value",t=this.column.getColDef().cellRenderer==="agCheckboxCellRenderer";let a="";return t&&(a=" ag-allow-overflow"),`${e}${a}`}isIncludeControl(e,t=!1){return(this.rowNode.rowPinned==null||t&&ic(this.rowNode))&&!!e}isCheckboxSelection(e){const{rowSelection:t,groupDisplayType:a}=this.beans.gridOptions,n=oo(t),r=za(this.column);return a==="custom"&&n!=="selectionColumn"&&r?!1:e.checkboxSelection||r&&typeof t=="object"&&Fn(t)}refreshShouldDestroy(){const e=this.column.getColDef(),t=this.includeSelection!=this.isIncludeControl(this.isCheckboxSelection(e),!0),a=this.includeRowDrag!=this.isIncludeControl(e.rowDrag),n=this.includeDndSource!=this.isIncludeControl(e.dndSource),r=this.isAutoHeight!=this.column.isAutoHeight();return t||a||n||r}onPopupEditorClosed(e){const{editSvc:t}=this.beans;if(!t?.isEditing(this,{withOpenEditor:!0}))return;const a=e instanceof KeyboardEvent,n=e instanceof MouseEvent,r=a&&e.key===w.ESCAPE;t.stopEditing(this,{source:t.isBatchEditing()?"ui":"api",cancel:r,event:a||n?e:void 0}),r&&this.focusCell(!0,e)}stopEditing(e=!1){const{editSvc:t}=this.beans;return t?.stopEditing(this,{cancel:e,source:t?.isBatchEditing()?"ui":"api"})??!1}createCellRendererParams(){const{value:e,valueFormatted:t,column:a,rowNode:n,comp:r,eGui:o,beans:{valueSvc:i,gos:s,editSvc:l}}=this;return B(s,{value:e,valueFormatted:t,getValue:()=>i.getValueForDisplay({column:a,node:n,from:"edit"}).value,setValue:d=>l?.setDataValue({rowNode:n,column:a},d)||n.setDataValue(a,d),formatValue:this.formatValue.bind(this),data:n.data,node:n,pinned:a.getPinned(),colDef:a.getColDef(),column:a,refreshCell:this.refreshCell.bind(this),eGridCell:o,eParentOfValue:r.getParentOfValue(),registerRowDragger:(d,u,g,h)=>this.registerRowDragger(d,u,h),setTooltip:(d,u)=>{s.assertModuleRegistered("Tooltip",3),this.tooltipFeature&&this.disableTooltipFeature(),this.enableTooltipFeature(d,u),this.tooltipFeature?.refreshTooltip()}})}onCellChanged(e){e.column===this.column&&this.refreshCell()}refreshOrDestroyCell(e){if(this.refreshShouldDestroy()?this.rowCtrl?.recreateCell(this):this.refreshCell(e),this.hasEdit&&this.editCompDetails){const{editSvc:t,comp:a}=this;!a?.getCellEditor()&&t.isEditing(this,{withOpenEditor:!0})&&t.startEditing(this,{startedEdit:!1,source:"api",silent:!0})}}refreshCell(e){const{editStyleFeature:t,customStyleFeature:a,rowCtrl:{rowEditStyleFeature:n},beans:{cellFlashSvc:r,filterManager:o},column:i,comp:s,suppressRefreshCell:l,tooltipFeature:c}=this;if(l)return;const{field:d,valueGetter:u,showRowGroup:g,enableCellChangeFlash:h}=i.getColDef(),p=d==null&&u==null&&g==null,f=e?.newData??!1,m=p||e&&(e.force||f),v=!!s,C=this.updateAndFormatValue(v),b=m||C;if(v){if(b){this.showValue(!!f,!1);const y=o?.isSuppressFlashingCellsBecauseFiltering();!e?.suppressFlash&&!y&&h&&r?.flashCell(this),t?.applyCellStyles?.(),a?.applyUserStyles(),a?.applyClassesFromColDef(),n?.applyRowStyles(),this.checkFormulaError()}c?.refreshTooltip(),a?.applyCellClassRules()}}isCellEditable(){return this.column.isCellEditable(this.rowNode)}formatValue(e){return this.callValueFormatter(e)??e}callValueFormatter(e){return this.beans.valueSvc.formatValue(this.column,this.rowNode,e)}updateAndFormatValue(e){const t=this.value,a=this.valueFormatted,{value:n,valueFormatted:r}=this.beans.valueSvc.getValueForDisplay({column:this.column,node:this.rowNode,includeValueFormatted:!0,from:"edit"});return this.value=n,this.valueFormatted=r,e?!this.valuesAreEqual(t,this.value)||this.valueFormatted!=a:!0}valuesAreEqual(e,t){const a=this.column.getColDef();return a.equals?a.equals(e,t):e===t}addDomData(e){const t=this.eGui;vr(this.beans.gos,t,Il,this),e.addDestroyFunc(()=>vr(this.beans.gos,t,Il,null))}createEvent(e,t){const{rowNode:a,column:n,value:r,beans:o}=this;return AT(o,e,t,{rowNode:a,column:n},r)}processCharacter(e){this.keyboardListener?.processCharacter(e)}onKeyDown(e){this.keyboardListener?.onKeyDown(e)}onMouseEvent(e,t){this.mouseListener?.onMouseEvent(e,t)}getColSpanningList(){return this.positionFeature?.getColSpanningList()??[]}onLeftChanged(){this.comp&&this.positionFeature?.onLeftChanged()}onDisplayedColumnsChanged(){this.eGui&&(this.refreshAriaColIndex(),this.refreshFirstAndLastStyles())}refreshFirstAndLastStyles(){const{comp:e,column:t,beans:a}=this;Nv(e,t,a.visibleCols)}refreshAriaColIndex(){const e=this.beans.visibleCols.getAriaColIndex(this.column);js(this.eGui,e)}onWidthChanged(){return this.positionFeature?.onWidthChanged()}getRowPosition(){const{rowIndex:e,rowPinned:t}=this.cellPosition;return{rowIndex:e,rowPinned:t}}updateRangeBordersIfRangeCount(){this.comp&&this.rangeFeature?.updateRangeBordersIfRangeCount()}onCellSelectionChanged(){this.comp&&this.rangeFeature?.onCellSelectionChanged()}isRangeSelectionEnabled(){return this.rangeFeature!=null}focusCell(e=!1,t){const a=this.editSvc?.allowedFocusTargetOnValidation(this);a&&a!==this||this.beans.focusSvc.setFocusedCell({...this.getFocusedCellPosition(),forceBrowserFocus:e,sourceEvent:t})}restoreFocus(e=!1){const{beans:{editSvc:t,focusSvc:a},comp:n}=this;if(!n||t?.isEditing(this)||!this.isCellFocused()||!a.shouldTakeFocus())return;const r=()=>{if(!this.isAlive())return;const o=n.getFocusableElement();this.isCellFocused()&&o.focus({preventScroll:!0})};if(e){setTimeout(r,0);return}r()}onRowIndexChanged(){this.createCellPosition(),this.refreshAriaRowIndex(),this.onCellFocused(),this.restoreFocus(),this.rangeFeature?.onCellSelectionChanged(),this.rowResizeFeature?.refreshRowResizer()}onSuppressCellFocusChanged(e){const t=this.eGui;t&&it(t,"tabindex",e?void 0:-1)}onFirstRightPinnedChanged(){if(!this.comp)return;const e=this.column.isFirstRightPinned();this.comp.toggleCss(BT,e)}onLastLeftPinnedChanged(){if(!this.comp)return;const e=this.column.isLastLeftPinned();this.comp.toggleCss(NT,e)}checkCellFocused(){return this.beans.focusSvc.isCellFocused(this.cellPosition)}isCellFocused(){const e=this.checkCellFocused();return this.hasBeenFocused||(this.hasBeenFocused=e),e}setupFocus(){this.restoreFocus(!0),this.onCellFocused(this.focusEventWhileNotReady??void 0)}onCellFocused(e){const{beans:t}=this;if(Oi(t))return;if(!this.comp){e&&(this.focusEventWhileNotReady=e);return}const a=this.isCellFocused(),n=t.editSvc?.isEditing(this)??!1;if(this.comp.toggleCss(VT,a),a&&(e?.forceBrowserFocus||!this.hasBrowserFocus()&&this.beans.focusSvc.shouldTakeFocus())){let r=this.comp.getFocusableElement();if(n){const i=_t(r,null,!0);i.length&&(r=i[0])}const o=e?e.preventScrollOnBrowserFocus:!0;r.focus({preventScroll:o}),Js(t,r)}a&&this.focusEventWhileNotReady&&(this.focusEventWhileNotReady=null),a&&e&&this.rowCtrl.announceDescription()}createCellPosition(){const{rowIndex:e,rowPinned:t}=this.rowNode;this.cellPosition={rowIndex:e,rowPinned:Te(t),column:this.column}}applyStaticCssClasses(){const{comp:e}=this;e.toggleCss(zT,!0),e.toggleCss(HT,!0);const t=this.column.isAutoHeight()==!0;e.toggleCss(OT,t),e.toggleCss(GT,!t)}onColumnHover(){this.beans.colHover?.onCellColumnHover(this.column,this.comp)}onColDefChanged(){this.comp&&(this.column.isTooltipEnabled()?(this.disableTooltipFeature(),this.enableTooltipFeature()):this.disableTooltipFeature(),this.setWrapText(),this.editSvc?.isEditing(this)?this.editSvc?.handleColDefChanged(this):this.refreshOrDestroyCell({force:!0,suppressFlash:!0}))}setWrapText(){const e=this.column.getColDef().wrapText==!0;this.comp.toggleCss(qT,e)}dispatchCellContextMenuEvent(e){const t=this.column.getColDef(),a=this.createEvent(e,"cellContextMenu"),{beans:n}=this;n.eventSvc.dispatchEvent(a),t.onCellContextMenu&&window.setTimeout(()=>{n.frameworkOverrides.wrapOutgoing(()=>{t.onCellContextMenu(a)})},0)}getCellRenderer(){return this.comp?.getCellRenderer()??null}destroy(){this.onCompAttachedFuncs=[],this.onEditorAttachedFuncs=[],this.isCellFocused()&&this.hasBrowserFocus()&&this.beans.focusSvc.attemptToRecoverFocus(),super.destroy()}hasBrowserFocus(){return this.eGui?.contains(ne(this.beans))??!1}createSelectionCheckbox(){const e=this.beans.selectionSvc?.createCheckboxSelectionComponent();if(e)return this.beans.context.createBean(e),e.init({rowNode:this.rowNode,column:this.column}),e}createDndSource(){const e=this.beans.registry.createDynamicBean("dndSourceComp",!1,this.rowNode,this.column,this.eGui);return e&&this.beans.context.createBean(e),e}registerRowDragger(e,t,a){if(this.customRowDragComp){this.customRowDragComp.setDragElement(e,t);return}const n=this.createRowDragComp(e,t,a);n&&(this.customRowDragComp=n,this.addDestroyFunc(()=>{this.beans.context.destroyBean(n),this.customRowDragComp=null}),n.refreshVisibility())}createRowDragComp(e,t,a){const n=this.beans.rowDragSvc?.createRowDragCompForCell(this.rowNode,this.column,()=>this.value,e,t,a);if(n)return this.beans.context.createBean(n),n}cellEditorAttached(){for(const e of this.onEditorAttachedFuncs)e();this.onEditorAttachedFuncs=[]}setFocusedCellPosition(e){}getFocusedCellPosition(){return this.cellPosition}refreshAriaRowIndex(){if(!Re(this.column)||!this.eGui)return;const{ariaRowIndex:e}=this.rowCtrl;e!=null&&ur(this.eGui,e)}getRootElement(){return this.eGui}};function Qg(e,t,a,n,r,o){if(a==null&&t==null)return;const i={},s={},l=(c,d)=>{for(const u of c.split(" "))u.trim()!=""&&d(u)};if(a){const c=Object.keys(a);for(let d=0;d{h?i[p]=!0:s[p]=!0})}}if(t&&o)for(const c of Object.keys(t))l(c,d=>{i[d]||(s[d]=!0)});o&&Object.keys(s).forEach(o),Object.keys(i).forEach(r)}function _b(e){if(e.group)return e.level;const t=e.parent;return t?t.level+1:0}var UT=class extends F{constructor(){super(...arguments),this.beanName="rowStyleSvc"}processClassesFromGridOptions(e,t){const a=this.gos,n=i=>{if(typeof i=="string")e.push(i);else if(Array.isArray(i))for(const s of i)e.push(s)},r=a.get("rowClass");r&&n(r);const o=a.getCallback("getRowClass");if(o){const i={data:t.data,node:t,rowIndex:t.rowIndex},s=o(i);n(s)}}preProcessRowClassRules(e,t){this.processRowClassRules(t,a=>{e.push(a)},()=>{})}processRowClassRules(e,t,a){const{gos:n,expressionSvc:r}=this.beans,o=B(n,{data:e.data,node:e,rowIndex:e.rowIndex});Qg(r,void 0,n.get("rowClassRules"),o,t,a)}processStylesFromGridOptions(e){const t=this.gos,a=t.get("rowStyle"),n=t.getCallback("getRowStyle");let r;if(n){const o={data:e.data,node:e,rowIndex:e.rowIndex};r=n(o)}if(r||a)return Object.assign({},a,r)}},jT=0,sc=class extends F{constructor(e,t,a,n,r){super(),this.rowNode=e,this.useAnimationFrameForCreate=n,this.printLayout=r,this.focusEventWhileNotReady=null,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.rowDragComps=[],this.lastMouseDownOnDragger=!1,this.emptyStyle={},this.updateColumnListsPending=!1,this.rowId=null,this.ariaRowIndex=null,this.businessKey=null,this.beans=t,this.gos=t.gos,this.paginationPage=t.pagination?.getCurrentPage()??0,this.suppressRowTransform=this.gos.get("suppressRowTransform"),this.instanceId=e.id+"-"+jT++,this.rowId=pt(e.id),this.initRowBusinessKey(),this.rowFocused=t.focusSvc.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned),this.rowLevel=_b(this.rowNode),this.setRowType(),this.setAnimateFlags(a),this.rowStyles=this.processStylesFromGridOptions(),this.rowEditStyleFeature=t.editSvc?.createRowStyleFeature(this),this.addListeners()}initRowBusinessKey(){this.businessKeyForNodeFunc=this.gos.get("getBusinessKeyForNode"),this.updateRowBusinessKey()}updateRowBusinessKey(){if(typeof this.businessKeyForNodeFunc!="function")return;const e=this.businessKeyForNodeFunc(this.rowNode);this.businessKey=pt(e)}updateGui(e,t){e==="left"?this.leftGui=t:e==="right"?this.rightGui=t:e==="fullWidth"?this.fullWidthGui=t:this.centerGui=t}setComp(e,t,a,n){const{context:r,rowRenderer:o}=this.beans;n=Vi(this,r,n);const i={rowComp:e,element:t,containerType:a,compBean:n};this.allRowGuis.push(i),this.updateGui(a,i),this.initialiseRowComp(i);const s=this.rowNode,l=this.rowType==="FullWidthLoading"||s.stub,c=!s.data&&this.beans.rowModel.getType()==="infinite";!l&&!c&&!s.rowPinned&&o.dispatchFirstDataRenderedEvent(),this.setupFocus()}unsetComp(e){this.allRowGuis=this.allRowGuis.filter(t=>t.containerType!==e),this.updateGui(e,void 0)}isCacheable(){return this.rowType==="FullWidthDetail"&&this.gos.get("keepDetailRows")}setCached(e){const t=e?"none":"";for(const a of this.allRowGuis)a.element.style.display=t}initialiseRowComp(e){const t=this.gos;this.onSuppressCellFocusChanged(this.beans.gos.get("suppressCellFocus")),this.listenOnDomOrder(e),this.onRowHeightChanged(e),this.updateRowIndexes(e),this.setFocusedClasses(e),this.setStylesFromGridOptions(!1,e),Lt(t)&&this.rowNode.selectable&&this.onRowSelected(e),this.updateColumnLists(!this.useAnimationFrameForCreate);const a=e.rowComp,n=this.getInitialRowClasses(e.containerType);for(const r of n)a.toggleCss(r,!0);this.executeSlideAndFadeAnimations(e),this.rowNode.group&&ot(e.element,!!this.rowNode.expanded),this.setRowCompRowId(a),this.setRowCompRowBusinessKey(a),vr(t,e.element,Ll,this),e.compBean.addDestroyFunc(()=>vr(t,e.element,Ll,null)),this.useAnimationFrameForCreate?this.beans.animationFrameSvc.createTask(this.addHoverFunctionality.bind(this,e),this.rowNode.rowIndex,"p2",!1):this.addHoverFunctionality(e),this.isFullWidth()&&this.setupFullWidth(e),t.get("rowDragEntireRow")&&this.addRowDraggerToRow(e),this.useAnimationFrameForCreate&&this.beans.animationFrameSvc.addDestroyTask(()=>{this.isAlive()&&e.rowComp.toggleCss("ag-after-created",!0)}),this.executeProcessRowPostCreateFunc()}setRowCompRowBusinessKey(e){this.businessKey!=null&&e.setRowBusinessKey(this.businessKey)}setRowCompRowId(e){const t=pt(this.rowNode.id);this.rowId=t,t!=null&&e.setRowId(t)}executeSlideAndFadeAnimations(e){const{containerType:t}=e;this.slideInAnimation[t]&&(vi(()=>{this.onTopChanged()}),this.slideInAnimation[t]=!1),this.fadeInAnimation[t]&&(vi(()=>{e.rowComp.toggleCss("ag-opacity-zero",!1)}),this.fadeInAnimation[t]=!1)}addRowDraggerToRow(e){const t=this.beans.rowDragSvc?.createRowDragCompForRow(this.rowNode,e.element);if(!t)return;const a=this.createBean(t,this.beans.context);this.rowDragComps.push(a),e.compBean.addDestroyFunc(()=>{this.rowDragComps=this.rowDragComps.filter(n=>n!==a),this.rowEditStyleFeature=this.destroyBean(this.rowEditStyleFeature,this.beans.context),this.destroyBean(a,this.beans.context)})}setupFullWidth(e){const t=this.getPinnedForContainer(e.containerType),a=this.createFullWidthCompDetails(e.element,t);e.rowComp.showFullWidth(a)}getFullWidthCellRenderers(){return this.gos.get("embedFullWidthRows")?this.allRowGuis.map(e=>e?.rowComp?.getFullWidthCellRenderer()):[this.fullWidthGui?.rowComp?.getFullWidthCellRenderer()]}executeProcessRowPostCreateFunc(){const e=this.gos.getCallback("processRowPostCreate");if(!e||!this.areAllContainersReady())return;const t={eRow:this.centerGui.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)};e(t)}areAllContainersReady(){const{leftGui:e,centerGui:t,rightGui:a,beans:{visibleCols:n}}=this,r=!!e||!n.isPinningLeft(),o=!!t,i=!!a||!n.isPinningRight();return r&&o&&i}isNodeFullWidthCell(){if(this.rowNode.detail)return!0;const e=this.beans.gos.getCallback("isFullWidthRow");return e?e({rowNode:this.rowNode}):!1}setRowType(){const{rowNode:e,gos:t,beans:{colModel:a}}=this,n=e.stub&&!t.get("suppressServerSideFullWidthLoadingRow")&&!t.get("groupHideOpenParents"),r=this.isNodeFullWidthCell(),o=t.get("masterDetail")&&e.detail,i=a.isPivotMode(),s=gl(t,e,i);n?this.rowType="FullWidthLoading":o?this.rowType="FullWidthDetail":r?this.rowType="FullWidth":s?this.rowType="FullWidthGroup":this.rowType="Normal"}updateColumnLists(e=!1,t=!1){if(this.isFullWidth())return;const{animationFrameSvc:a}=this.beans;if(!a?.active||e||this.printLayout){this.updateColumnListsImpl(t);return}this.updateColumnListsPending||(a.createTask(()=>{this.active&&this.updateColumnListsImpl(!0)},this.rowNode.rowIndex,"p1",!1),this.updateColumnListsPending=!0)}getNewCellCtrl(e){if(!this.beans.rowSpanSvc?.isCellSpanning(e,this.rowNode))return new xo(e,this.rowNode,this.beans,this)}isCorrectCtrlForSpan(e){return!this.beans.rowSpanSvc?.isCellSpanning(e.column,this.rowNode)}createCellCtrls(e,t,a=null){const n={list:[],map:{}},r=(c,d,u)=>{u!=null?n.list.splice(u,0,d):n.list.push(d),n.map[c]=d},o=[];for(const c of t){const d=c.getInstanceId();let u=e.map[d];u&&!this.isCorrectCtrlForSpan(u)&&(u.destroy(),u=void 0),u||(u=this.getNewCellCtrl(c)),u&&r(d,u)}for(const c of e.list){const d=c.column.getInstanceId();if(n.map[d]!=null)continue;!this.isCellEligibleToBeRemoved(c,a)?o.push([d,c]):c.destroy()}if(o.length)for(const[c,d]of o){const u=n.list.findIndex(h=>h.column.getLeft()>d.column.getLeft()),g=u===-1?void 0:Math.max(u-1,0);r(c,d,g)}const{focusSvc:i,visibleCols:s}=this.beans,l=i.getFocusedCell();if(l&&l.column.getPinned()==a){const c=l.column.getInstanceId();if(!n.map[c]&&s.allCols.includes(l.column)){const u=this.createFocusedCellCtrl();if(u){const g=n.list.findIndex(p=>p.column.getLeft()>u.column.getLeft()),h=g===-1?void 0:Math.max(g-1,0);r(c,u,h)}}}return n}createFocusedCellCtrl(){const{focusSvc:e,rowSpanSvc:t}=this.beans,a=e.getFocusedCell();if(!a)return;const n=t?.getCellSpan(a.column,this.rowNode);if(n){if(n.firstNode!==this.rowNode||!n.doesSpanContain(a))return}else if(!e.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned))return;return this.getNewCellCtrl(a.column)}updateColumnListsImpl(e){this.updateColumnListsPending=!1,this.createAllCellCtrls(),this.setCellCtrls(e)}setCellCtrls(e){for(const t of this.allRowGuis){const a=this.getCellCtrlsForContainer(t.containerType);t.rowComp.setCellCtrls(a,e)}}getCellCtrlsForContainer(e){switch(e){case"left":return this.leftCellCtrls.list;case"right":return this.rightCellCtrls.list;case"fullWidth":return[];case"center":return this.centerCellCtrls.list}}createAllCellCtrls(){const e=this.beans.colViewport,t=this.beans.visibleCols;if(this.printLayout)this.centerCellCtrls=this.createCellCtrls(this.centerCellCtrls,t.allCols),this.leftCellCtrls={list:[],map:{}},this.rightCellCtrls={list:[],map:{}};else{const a=e.getColsWithinViewport(this.rowNode);this.centerCellCtrls=this.createCellCtrls(this.centerCellCtrls,a);const n=t.getLeftColsForRow(this.rowNode);this.leftCellCtrls=this.createCellCtrls(this.leftCellCtrls,n,"left");const r=t.getRightColsForRow(this.rowNode);this.rightCellCtrls=this.createCellCtrls(this.rightCellCtrls,r,"right")}}isCellEligibleToBeRemoved(e,t){const{column:r}=e;if(r.getPinned()!=t||!this.isCorrectCtrlForSpan(e))return!0;const{visibleCols:o,editSvc:i}=this.beans,s=i?.isEditing(e),l=e.isCellFocused();return s||l?!(o.allCols.indexOf(r)>=0):!0}getDomOrder(){return this.gos.get("ensureDomOrder")||Ke(this.gos,"print")}listenOnDomOrder(e){const t=()=>{e.rowComp.setDomOrder(this.getDomOrder())};e.compBean.addManagedPropertyListeners(["domLayout","ensureDomOrder"],t)}setAnimateFlags(e){if(this.rowNode.sticky||!e)return;const t=A(this.rowNode.oldRowTop),{visibleCols:a}=this.beans,n=a.isPinningLeft(),r=a.isPinningRight();if(t){const{slideInAnimation:o}=this;if(this.isFullWidth()&&!this.gos.get("embedFullWidthRows")){o.fullWidth=!0;return}o.center=!0,o.left=n,o.right=r}else{const{fadeInAnimation:o}=this;if(this.isFullWidth()&&!this.gos.get("embedFullWidthRows")){o.fullWidth=!0;return}o.center=!0,o.left=n,o.right=r}}isFullWidth(){return this.rowType!=="Normal"}refreshFullWidth(){const e=(i,s)=>i?i.rowComp.refreshFullWidth(()=>this.createFullWidthCompDetails(i.element,s).params):!0,t=e(this.fullWidthGui,null),a=e(this.centerGui,null),n=e(this.leftGui,"left"),r=e(this.rightGui,"right");return t&&a&&n&&r}addListeners(){const{beans:e,gos:t,rowNode:a}=this,{expansionSvc:n,eventSvc:r,context:o,rowSpanSvc:i}=e;this.addManagedListeners(this.rowNode,{heightChanged:()=>this.onRowHeightChanged(),rowSelected:()=>this.onRowSelected(),rowIndexChanged:this.onRowIndexChanged.bind(this),topChanged:this.onTopChanged.bind(this),...n?.getRowExpandedListeners(this)??{}}),a.detail&&this.addManagedListeners(a.parent,{dataChanged:this.onRowNodeDataChanged.bind(this)}),this.addManagedListeners(a,{dataChanged:this.onRowNodeDataChanged.bind(this),cellChanged:this.postProcessCss.bind(this),rowHighlightChanged:this.onRowNodeHighlightChanged.bind(this),draggingChanged:this.postProcessRowDragging.bind(this),uiLevelChanged:this.onUiLevelChanged.bind(this),rowPinned:this.onRowPinned.bind(this)}),this.addManagedListeners(r,{paginationPixelOffsetChanged:this.onPaginationPixelOffsetChanged.bind(this),heightScaleChanged:this.onTopChanged.bind(this),displayedColumnsChanged:this.onDisplayedColumnsChanged.bind(this),virtualColumnsChanged:this.onVirtualColumnsChanged.bind(this),cellFocused:this.onCellFocusChanged.bind(this),cellFocusCleared:this.onCellFocusChanged.bind(this),paginationChanged:this.onPaginationChanged.bind(this),modelUpdated:this.refreshFirstAndLastRowStyles.bind(this),columnMoved:()=>this.updateColumnLists()}),i&&this.addManagedListeners(i,{spannedCellsUpdated:({pinned:s})=>{s&&!a.rowPinned||this.updateColumnLists()}}),this.addDestroyFunc(()=>{this.rowDragComps=this.destroyBeans(this.rowDragComps,o),this.tooltipFeature=this.destroyBean(this.tooltipFeature,o),this.rowEditStyleFeature=this.destroyBean(this.rowEditStyleFeature,o)}),this.addManagedPropertyListeners(["rowStyle","getRowStyle","rowClass","getRowClass","rowClassRules"],this.postProcessCss.bind(this)),this.addManagedPropertyListener("rowDragEntireRow",()=>{if(t.get("rowDragEntireRow")){for(const l of this.allRowGuis)this.addRowDraggerToRow(l);return}this.rowDragComps=this.destroyBeans(this.rowDragComps,o)}),this.addListenersForCellComps()}addListenersForCellComps(){this.addManagedListeners(this.rowNode,{rowIndexChanged:()=>{for(const e of this.getAllCellCtrls())e.onRowIndexChanged()},cellChanged:e=>{for(const t of this.getAllCellCtrls())t.onCellChanged(e)}})}onRowPinned(){for(const e of this.allRowGuis)e.rowComp.toggleCss("ag-row-pinned-source",!!this.rowNode.pinnedSibling)}onRowNodeDataChanged(e){this.refreshRow({suppressFlash:!e.update,newData:!e.update})}refreshRow(e){if(this.isFullWidth()!==!!this.isNodeFullWidthCell()){this.beans.rowRenderer.redrawRow(this.rowNode);return}if(this.isFullWidth()){this.refreshFullWidth()||this.beans.rowRenderer.redrawRow(this.rowNode);return}for(const a of this.getAllCellCtrls())a.refreshCell(e);for(const a of this.allRowGuis)this.setRowCompRowId(a.rowComp),this.updateRowBusinessKey(),this.setRowCompRowBusinessKey(a.rowComp);this.onRowSelected(),this.postProcessCss()}postProcessCss(){this.setStylesFromGridOptions(!0),this.postProcessClassesFromGridOptions(),this.postProcessRowClassRules(),this.rowEditStyleFeature?.applyRowStyles(),this.postProcessRowDragging()}onRowNodeHighlightChanged(){const e=this.beans.rowDropHighlightSvc,t=e?.row===this.rowNode?e.position:"none",a=t==="above",n=t==="inside",r=t==="below",o=t!=="none",i=a||r,s=this.rowNode.uiLevel,l=i&&s>0,c=l?s.toString():"0";for(const d of this.allRowGuis){const u=d.rowComp;u.toggleCss("ag-row-highlight-above",a),u.toggleCss("ag-row-highlight-inside",n),u.toggleCss("ag-row-highlight-below",r),u.toggleCss("ag-row-highlight-indent",l),o?d.element.style.setProperty("--ag-row-highlight-level",c):d.element.style.removeProperty("--ag-row-highlight-level")}}postProcessRowDragging(){const e=this.rowNode.dragging;for(const t of this.allRowGuis)t.rowComp.toggleCss("ag-row-dragging",e)}onDisplayedColumnsChanged(){this.updateColumnLists(!0),this.beans.rowAutoHeight?.requestCheckAutoHeight()}onVirtualColumnsChanged(){this.updateColumnLists(!1,!0)}getRowPosition(){return{rowPinned:Te(this.rowNode.rowPinned),rowIndex:this.rowNode.rowIndex}}onKeyboardNavigate(e){const t=this.findFullWidthInfoForEvent(e);if(!t)return;const{rowGui:a,column:n}=t;if(!(a.element===e.target))return;const i=this.rowNode,{focusSvc:s,navigation:l}=this.beans,c=s.getFocusedCell(),d={rowIndex:i.rowIndex,rowPinned:i.rowPinned,column:c?.column??n};l?.navigateToNextCell(e,e.key,d,!0),e.preventDefault()}onTabKeyDown(e){if(e.defaultPrevented||zt(e))return;const t=this.allRowGuis.find(s=>s.element.contains(e.target)),a=t?t.element:null,n=a===e.target,r=ne(this.beans);let o=!1;a&&r&&(o=a.contains(r)&&r.classList.contains("ag-cell"));let i=null;!n&&!o&&(i=Je(this.beans,a,!1,e.shiftKey)),(this.isFullWidth()&&n||!i)&&this.beans.navigation?.onTabKeyDown(this,e)}getFullWidthElement(){return this.fullWidthGui?this.fullWidthGui.element:null}getRowYPosition(){const e=this.allRowGuis.find(t=>Be(t.element))?.element;return e?e.getBoundingClientRect().top:0}onSuppressCellFocusChanged(e){const t=this.isFullWidth()&&e?void 0:this.gos.get("tabIndex");for(const a of this.allRowGuis)it(a.element,"tabindex",t)}setupFocus(){this.isFullWidth()&&(this.restoreFullWidthFocus(!0),this.onFullWidthRowFocused(this.focusEventWhileNotReady??void 0))}restoreFullWidthFocus(e=!1){const{focusSvc:t,editSvc:a}=this.beans;if(a?.isEditing(this)||!t.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned)||!t.shouldTakeFocus())return;const n=this.getFullWidthRowGuiForFocus();if(!n)return;const r=()=>{this.isAlive()&&t.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned)&&n.element.focus({preventScroll:!0})};if(e){setTimeout(r,0);return}r()}getFullWidthRowGuiForFocus(e){if(this.fullWidthGui)return this.fullWidthGui;const t=this.beans.focusSvc.getFocusedCell(),a=this.beans.colModel.getCol(e?.column??t?.column);if(!a)return;const n=a?.pinned;return n==="right"?this.rightGui:n==="left"?this.leftGui:this.centerGui}setFullWidthRowFocusedClass(e,t){this.forEachGui(void 0,a=>{a.element.classList.toggle("ag-full-width-focus",t&&a===e)})}onFullWidthRowFocused(e){const{focusSvc:t}=this.beans;if(!(this.isFullWidth()&&t.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned))){this.setFullWidthRowFocusedClass(void 0,!1);return}const n=this.getFullWidthRowGuiForFocus(e);if(!n){e&&(this.focusEventWhileNotReady=e),this.setFullWidthRowFocusedClass(void 0,!1);return}this.setFullWidthRowFocusedClass(n,!0),this.focusEventWhileNotReady=null,e?.forceBrowserFocus&&n.element.focus({preventScroll:!0})}recreateCell(e){this.centerCellCtrls=this.removeCellCtrl(this.centerCellCtrls,e),this.leftCellCtrls=this.removeCellCtrl(this.leftCellCtrls,e),this.rightCellCtrls=this.removeCellCtrl(this.rightCellCtrls,e),e.destroy(),this.updateColumnLists()}removeCellCtrl(e,t){const a={list:[],map:{}};for(const n of e.list)n!==t&&(a.list.push(n),a.map[n.column.getInstanceId()]=n);return a}onMouseEvent(e,t){switch(e){case"dblclick":this.onRowDblClick(t);break;case"click":this.onRowClick(t);break;case"pointerdown":case"touchstart":case"mousedown":this.onRowMouseDown(t);break}}createRowEvent(e,t){const{rowNode:a}=this;return B(this.gos,{type:e,node:a,data:a.data,rowIndex:a.rowIndex,rowPinned:a.rowPinned,event:t})}createRowEventWithSource(e,t){const a=this.createRowEvent(e,t);return a.source=this,a}onRowDblClick(e){if(zt(e))return;const t=this.createRowEventWithSource("rowDoubleClicked",e);t.isEventHandlingSuppressed=this.isSuppressMouseEvent(e),this.beans.eventSvc.dispatchEvent(t)}findFullWidthInfoForEvent(e){if(!e)return;const t=this.findFullWidthRowGui(e.target),a=this.getColumnForFullWidth(t);if(!(!t||!a))return{rowGui:t,column:a}}findFullWidthRowGui(e){return this.allRowGuis.find(t=>t.element.contains(e))}getColumnForFullWidth(e){const{visibleCols:t}=this.beans;switch(e?.containerType){case"center":return t.centerCols[0];case"left":return t.leftCols[0];case"right":return t.rightCols[0];default:return t.allCols[0]}}onRowMouseDown(e){if(this.lastMouseDownOnDragger=gr(e.target,"ag-row-drag",3),!this.isFullWidth()||this.isSuppressMouseEvent(e))return;const{rangeSvc:t,focusSvc:a}=this.beans;t?.removeAllCellRanges();const n=this.findFullWidthInfoForEvent(e);if(!n)return;const{rowGui:r,column:o}=n,i=r.element,s=e.target,l=this.rowNode;let c=e.defaultPrevented||ya();i&&i.contains(s)&&Jr(s)&&(c=!1),a.setFocusedCell({rowIndex:l.rowIndex,column:o,rowPinned:l.rowPinned,forceBrowserFocus:c})}isSuppressMouseEvent(e){const{gos:t,rowNode:a}=this;if(this.isFullWidth()){const r=this.findFullWidthRowGui(e.target);return YM(t,r?.rowComp.getFullWidthCellRendererParams(),a,e)}const n=Ni(t,e.target);return n!=null&&Bi(t,n.column,a,e)}onRowClick(e){if(zt(e)||this.lastMouseDownOnDragger)return;const a=this.isSuppressMouseEvent(e),{eventSvc:n,selectionSvc:r}=this.beans,o=this.createRowEventWithSource("rowClicked",e);o.isEventHandlingSuppressed=a,n.dispatchEvent(o),!a&&r?.handleSelectionEvent(e,this.rowNode,"rowClicked")}setupDetailRowAutoHeight(e){this.rowType==="FullWidthDetail"&&this.beans.masterDetailSvc?.setupDetailRowAutoHeight(this,e)}createFullWidthCompDetails(e,t){const{gos:a,rowNode:n}=this,r=B(a,{fullWidth:!0,data:n.data,node:n,value:n.key,valueFormatted:n.key,eGridCell:e,eParentOfValue:e,pinned:t,addRenderedRowListener:this.addEventListener.bind(this),registerRowDragger:(i,s,l,c)=>this.addFullWidthRowDragging(i,s,l,c),setTooltip:(i,s)=>{a.assertModuleRegistered("Tooltip",3),this.setupFullWidthRowTooltip(i,s)}}),o=this.beans.userCompFactory;switch(this.rowType){case"FullWidthDetail":return OF(o,r);case"FullWidthGroup":{const{value:i,valueFormatted:s}=this.beans.valueSvc.getValueForDisplay({node:this.rowNode,includeValueFormatted:!0,from:"edit"});return r.value=i,r.valueFormatted=s,zF(o,r)}case"FullWidthLoading":return LF(o,r);default:return IF(o,r)}}setupFullWidthRowTooltip(e,t){this.fullWidthGui&&(this.tooltipFeature=this.beans.tooltipSvc?.setupFullWidthRowTooltip(this.tooltipFeature,this,e,t))}addFullWidthRowDragging(e,t,a="",n){const{rowDragSvc:r,context:o}=this.beans;if(!r||!this.isFullWidth())return;const i=r.createRowDragComp(()=>a,this.rowNode,void 0,e,t,n);this.createBean(i,o),this.addDestroyFunc(()=>{this.destroyBean(i,o)})}onUiLevelChanged(){const e=_b(this.rowNode);if(this.rowLevel!=e){const t="ag-row-level-"+e,a="ag-row-level-"+this.rowLevel;for(const n of this.allRowGuis)n.rowComp.toggleCss(t,!0),n.rowComp.toggleCss(a,!1)}this.rowLevel=e}isFirstRowOnPage(){return this.rowNode.rowIndex===this.beans.pageBounds.getFirstRow()}isLastRowOnPage(){return this.rowNode.rowIndex===this.beans.pageBounds.getLastRow()}refreshFirstAndLastRowStyles(){const e=this.isFirstRowOnPage(),t=this.isLastRowOnPage();if(this.firstRowOnPage!==e){this.firstRowOnPage=e;for(const a of this.allRowGuis)a.rowComp.toggleCss("ag-row-first",e)}if(this.lastRowOnPage!==t){this.lastRowOnPage=t;for(const a of this.allRowGuis)a.rowComp.toggleCss("ag-row-last",t)}}getAllCellCtrls(){return this.leftCellCtrls.list.length===0&&this.rightCellCtrls.list.length===0?this.centerCellCtrls.list:[...this.centerCellCtrls.list,...this.leftCellCtrls.list,...this.rightCellCtrls.list]}postProcessClassesFromGridOptions(){const e=[];if(this.beans.rowStyleSvc?.processClassesFromGridOptions(e,this.rowNode),!!e.length)for(const t of e)for(const a of this.allRowGuis)a.rowComp.toggleCss(t,!0)}postProcessRowClassRules(){this.beans.rowStyleSvc?.processRowClassRules(this.rowNode,e=>{for(const t of this.allRowGuis)t.rowComp.toggleCss(e,!0)},e=>{for(const t of this.allRowGuis)t.rowComp.toggleCss(e,!1)})}setStylesFromGridOptions(e,t){e&&(this.rowStyles=this.processStylesFromGridOptions()),this.forEachGui(t,a=>a.rowComp.setUserStyles(this.rowStyles))}getPinnedForContainer(e){return e==="left"||e==="right"?e:null}getInitialRowClasses(e){const t=this.getPinnedForContainer(e),a=this.isFullWidth(),{rowNode:n,beans:r}=this,o=[];o.push("ag-row"),o.push(this.rowFocused?"ag-row-focus":"ag-row-no-focus"),this.fadeInAnimation[e]&&o.push("ag-opacity-zero"),o.push(n.rowIndex%2===0?"ag-row-even":"ag-row-odd"),n.isRowPinned()&&(o.push("ag-row-pinned"),r.pinnedRowModel?.isManual()&&o.push("ag-row-pinned-manual")),!n.isRowPinned()&&n.pinnedSibling&&o.push("ag-row-pinned-source"),n.isSelected()&&o.push("ag-row-selected"),n.footer&&o.push("ag-row-footer"),o.push("ag-row-level-"+this.rowLevel),n.stub&&o.push("ag-row-loading"),a&&o.push("ag-full-width-row"),r.expansionSvc?.addExpandedCss(o,n),n.dragging&&o.push("ag-row-dragging");const{rowStyleSvc:i}=r;return i&&(i.processClassesFromGridOptions(o,n),i.preProcessRowClassRules(o,n)),o.push(this.printLayout?"ag-row-position-relative":"ag-row-position-absolute"),this.isFirstRowOnPage()&&o.push("ag-row-first"),this.isLastRowOnPage()&&o.push("ag-row-last"),a&&(t==="left"&&o.push("ag-cell-last-left-pinned"),t==="right"&&o.push("ag-cell-first-right-pinned")),o}processStylesFromGridOptions(){return this.beans.rowStyleSvc?.processStylesFromGridOptions(this.rowNode)??this.emptyStyle}onRowSelected(e){this.beans.selectionSvc?.onRowCtrlSelected(this,t=>{(t===this.centerGui||t===this.fullWidthGui)&&this.announceDescription()},e)}announceDescription(){this.beans.selectionSvc?.announceAriaRowSelection(this.rowNode)}addHoverFunctionality(e){if(!this.active)return;const{element:t,compBean:a}=e,{rowNode:n,beans:r,gos:o}=this;a.addManagedListeners(t,{pointerenter:i=>{i.pointerType==="mouse"&&n.dispatchRowEvent("mouseEnter")},pointerleave:i=>{i.pointerType==="mouse"&&n.dispatchRowEvent("mouseLeave")}}),a.addManagedListeners(n,{mouseEnter:()=>{!r.dragSvc?.dragging&&!o.get("suppressRowHoverHighlight")&&(t.classList.add("ag-row-hover"),n.setHovered(!0))},mouseLeave:()=>{this.resetHoveredStatus(t)}})}resetHoveredStatus(e){const t=e?[e]:this.allRowGuis.map(a=>a.element);for(const a of t)a.classList.remove("ag-row-hover");this.rowNode.setHovered(!1)}roundRowTopToBounds(e){const t=this.beans.ctrlsSvc.getScrollFeature().getApproximateVScollPosition(),a=this.applyPaginationOffset(t.top,!0)-100,n=this.applyPaginationOffset(t.bottom,!0)+100;return Math.min(Math.max(a,e),n)}forEachGui(e,t){if(e)t(e);else for(const a of this.allRowGuis)t(a)}isRowRendered(){return this.allRowGuis.length>0}onRowHeightChanged(e){if(this.rowNode.rowHeight==null)return;const t=this.rowNode.rowHeight,a=this.beans.environment.getDefaultRowHeight(),r=dl(this.gos)?Xe(this.beans,this.rowNode).height:void 0,o=r?`${Math.min(a,r)-2}px`:void 0;this.forEachGui(e,i=>{i.element.style.height=`${t}px`,o&&i.element.style.setProperty("--ag-line-height",o)})}destroyFirstPass(e=!1){this.active=!1;const{rowNode:t}=this;if(!e&&Cr(this.gos)&&!t.sticky)if(t.rowTop!=null){const r=this.roundRowTopToBounds(t.rowTop);this.setRowTop(r)}else for(const r of this.allRowGuis)r.rowComp.toggleCss("ag-opacity-zero",!0);this.fullWidthGui?.element.contains(ne(this.beans))&&this.beans.focusSvc.attemptToRecoverFocus(),t.setHovered(!1);const a=this.createRowEvent("virtualRowRemoved");this.dispatchLocalEvent(a),this.beans.eventSvc.dispatchEvent(a),super.destroy()}destroySecondPass(){this.allRowGuis.length=0;const e=t=>{for(const a of t.list)a.destroy();return{list:[],map:{}}};this.centerCellCtrls=e(this.centerCellCtrls),this.leftCellCtrls=e(this.leftCellCtrls),this.rightCellCtrls=e(this.rightCellCtrls)}setFocusedClasses(e){this.forEachGui(e,t=>{t.rowComp.toggleCss("ag-row-focus",this.rowFocused),t.rowComp.toggleCss("ag-row-no-focus",!this.rowFocused)})}onCellFocusChanged(){const{focusSvc:e}=this.beans,t=e.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned);t!==this.rowFocused&&(this.rowFocused=t,this.setFocusedClasses())}onPaginationChanged(){const e=this.beans.pagination?.getCurrentPage()??0;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;const a=this.beans.pageBounds.getPixelOffset();return e+a*(t?1:-1)}setRowTop(e){if(!this.printLayout&&A(e)){const t=this.applyPaginationOffset(e),r=`${this.rowNode.isRowPinned()||this.rowNode.sticky?t:this.beans.rowContainerHeight.getRealPixelPosition(t)}px`;this.setRowTopStyle(r)}}getInitialRowTop(e){return this.suppressRowTransform?this.getInitialRowTopShared(e):void 0}getInitialTransform(e){return this.suppressRowTransform?void 0:`translateY(${this.getInitialRowTopShared(e)})`}getInitialRowTopShared(e){if(this.printLayout)return"";const t=this.rowNode;let a;if(t.sticky)a=t.stickyRowTop;else{const n=this.slideInAnimation[e]?this.roundRowTopToBounds(t.oldRowTop):t.rowTop,r=this.applyPaginationOffset(n);a=t.isRowPinned()?r:this.beans.rowContainerHeight.getRealPixelPosition(r)}return a+"px"}setRowTopStyle(e){for(const t of this.allRowGuis)this.suppressRowTransform?t.rowComp.setTop(e):t.rowComp.setTransform(`translateY(${e})`)}getCellCtrl(e,t=!1){let a=null;for(const n of this.getAllCellCtrls())n.column==e&&(a=n);if(a!=null||t)return a;for(const n of this.getAllCellCtrls())n?.getColSpanningList().indexOf(e)>=0&&(a=n);return a}onRowIndexChanged(){this.rowNode.rowIndex!=null&&(this.onCellFocusChanged(),this.updateRowIndexes(),this.postProcessCss())}updateRowIndexes(e){const t=this.rowNode.getRowIndexString();if(t===null)return;const a=(this.beans.ctrlsSvc.getHeaderRowContainerCtrl()?.getRowCount()??0)+(this.beans.filterManager?.getHeaderRowCount()??0),n=this.rowNode.rowIndex%2===0,r=this.ariaRowIndex=a+this.rowNode.rowIndex+1;this.forEachGui(e,o=>{o.rowComp.setRowIndex(t),o.rowComp.toggleCss("ag-row-even",n),o.rowComp.toggleCss("ag-row-odd",!n),ur(o.element,r)})}},_T=class extends F{constructor(){super(),this.beanName="navigation",this.onPageDown=wm(this.onPageDown,100),this.onPageUp=wm(this.onPageUp,100)}postConstruct(){this.beans.ctrlsSvc.whenReady(this,e=>{this.gridBodyCon=e.gridBodyCtrl})}handlePageScrollingKey(e,t=!1){const a=e.key,n=e.altKey,r=e.ctrlKey||e.metaKey,o=!!this.beans.rangeSvc&&e.shiftKey,i=fg(this.gos,e);let s=!1;switch(a){case w.PAGE_HOME:case w.PAGE_END:!r&&!n&&(this.onHomeOrEndKey(a),s=!0);break;case w.LEFT:case w.RIGHT:case w.UP:case w.DOWN:if(!i)return!1;r&&!n&&!o&&(this.onCtrlUpDownLeftRight(a,i),s=!0);break;case w.PAGE_DOWN:case w.PAGE_UP:!r&&!n&&(s=this.handlePageUpDown(a,i,t));break}return s&&e.preventDefault(),s}handlePageUpDown(e,t,a){return a&&(t=this.beans.focusSvc.getFocusedCell()),t?(e===w.PAGE_UP?this.onPageUp(t):this.onPageDown(t),!0):!1}navigateTo({scrollIndex:e,scrollType:t,scrollColumn:a,focusIndex:n,focusColumn:r,isAsync:o,rowPinned:i}){const{scrollFeature:s}=this.gridBodyCon;A(a)&&!a.isPinned()&&s.ensureColumnVisible(a),A(e)&&s.ensureIndexVisible(e,t),o||s.ensureIndexVisible(n);const{focusSvc:l}=this.beans;l.setFocusedCell({rowIndex:n,column:r,rowPinned:i,forceBrowserFocus:!0}),this.setRangeToCellIfSupported({rowIndex:n,rowPinned:i,column:r})}onPageDown(e){const t=this.beans,a=Zg(t),n=this.getViewportHeight(),{pageBounds:r,rowModel:o,rowAutoHeight:i}=t,s=r.getPixelOffset(),l=a.top+n,c=o.getRowIndexAtPixel(l+s);i?.active?this.navigateToNextPageWithAutoHeight(e,c):this.navigateToNextPage(e,c)}onPageUp(e){const t=this.beans,a=Zg(t),{pageBounds:n,rowModel:r,rowAutoHeight:o}=t,i=n.getPixelOffset(),s=a.top,l=r.getRowIndexAtPixel(s+i);o?.active?this.navigateToNextPageWithAutoHeight(e,l,!0):this.navigateToNextPage(e,l,!0)}navigateToNextPage(e,t,a=!1){const{pageBounds:n,rowModel:r}=this.beans,o=this.getViewportHeight(),i=n.getFirstRow(),s=n.getLastRow(),l=n.getPixelOffset(),c=r.getRow(e.rowIndex),d=a?c?.rowHeight-o-l:o-l,u=c?.rowTop+d;let g=r.getRowIndexAtPixel(u+l);if(g===e.rowIndex){const p=a?-1:1;t=g=e.rowIndex+p}let h;a?(h="bottom",gs&&(g=s),t>s&&(t=s)),this.isRowTallerThanView(r.getRow(g))&&(t=g,h="top"),this.navigateTo({scrollIndex:t,scrollType:h,scrollColumn:null,focusIndex:g,focusColumn:e.column})}navigateToNextPageWithAutoHeight(e,t,a=!1){this.navigateTo({scrollIndex:t,scrollType:a?"bottom":"top",scrollColumn:null,focusIndex:t,focusColumn:e.column}),setTimeout(()=>{const n=this.getNextFocusIndexForAutoHeight(e,a);this.navigateTo({scrollIndex:t,scrollType:a?"bottom":"top",scrollColumn:null,focusIndex:n,focusColumn:e.column,isAsync:!0})},50)}getNextFocusIndexForAutoHeight(e,t=!1){const a=t?-1:1,n=this.getViewportHeight(),{pageBounds:r,rowModel:o}=this.beans,i=r.getLastRow();let s=0,l=e.rowIndex;for(;l>=0&&l<=i;){const c=o.getRow(l);if(c){const d=c.rowHeight??0;if(s+d>n)break;s+=d}l+=a}return Math.max(0,Math.min(l,i))}getViewportHeight(){const e=this.beans,t=Zg(e),a=this.beans.scrollVisibleSvc.getScrollbarWidth();let n=t.bottom-t.top;return e.ctrlsSvc.get("center").isHorizontalScrollShowing()&&(n-=a),n}isRowTallerThanView(e){if(!e)return!1;const t=e.rowHeight;return typeof t!="number"?!1:t>this.getViewportHeight()}onCtrlUpDownLeftRight(e,t){const a=this.beans.cellNavigation.getNextCellToFocus(e,t,!0);if(!a)return;const n=this.getNormalisedPosition(a),{rowIndex:r,rowPinned:o,column:i}=n??a,s=i;this.navigateTo({scrollIndex:r,scrollType:null,scrollColumn:s,focusIndex:r,focusColumn:s,rowPinned:o})}onHomeOrEndKey(e){const t=e===w.PAGE_HOME,{visibleCols:a,pageBounds:n,rowModel:r}=this.beans,o=a.allCols,i=t?n.getFirstRow():n.getLastRow(),s=r.getRow(i);if(!s)return;const l=(t?o:[...o].reverse()).find(c=>!c.isSuppressNavigable(s)&&!Re(c));l&&this.navigateTo({scrollIndex:i,scrollType:null,scrollColumn:l,focusIndex:i,focusColumn:l})}onTabKeyDown(e,t){const a=t.shiftKey,n=this.tabToNextCellCommon(e,a,t),r=this.beans,{ctrlsSvc:o,pageBounds:i,focusSvc:s,gos:l}=r;if(n!==!1){n?t.preventDefault():n===null&&o.get("gridCtrl").allowFocusForNextCoreContainer(a);return}if(a){const{rowIndex:c,rowPinned:d}=e.getRowPosition();(d?c===0:c===i.getFirstRow())&&(l.get("headerHeight")===0||xa(r)?Ga(r,!0,!0):(t.preventDefault(),s.focusPreviousFromFirstCell(t)))}else e instanceof xo&&e.focusCell(!0),(s.focusOverlay(!1)||Ga(r,a))&&t.preventDefault()}tabToNextCell(e,t){const a=this.beans,{focusSvc:n,rowRenderer:r}=a,o=n.getFocusedCell();if(!o)return!1;let i=la(a,o);return!i&&(i=r.getRowByPosition(o),!i?.isFullWidth())?!1:!!this.tabToNextCellCommon(i,e,t,"api")}tabToNextCellCommon(e,t,a,n="ui"){const{editSvc:r,focusSvc:o}=this.beans;let i;const s=e instanceof xo?e:e.getAllCellCtrls()?.[0];return r?.isEditing()?i=r?.moveToNextCell(s,t,a,n):i=this.moveToNextCellNotEditing(e,t,a),i===null?i:i||!!o.focusedHeader}moveToNextCellNotEditing(e,t,a){const n=this.beans.visibleCols.allCols;let r;if(e instanceof sc){if(r={...e.getRowPosition(),column:t?n[0]:W(n)},this.gos.get("embedFullWidthRows")&&a){const i=e.findFullWidthInfoForEvent(a);i&&(r.column=i.column)}}else r=e.getFocusedCellPosition();const o=this.findNextCellToFocusOn(r,{backwards:t,startEditing:!1});if(o===!1)return null;if(o instanceof xo)o.focusCell(!0);else if(o)return this.tryToFocusFullWidthRow(o,t);return A(o)}findNextCellToFocusOn(e,{backwards:t,startEditing:a,skipToNextEditableCell:n}){let r=e;const o=this.beans,{cellNavigation:i,gos:s,focusSvc:l,rowRenderer:c}=o;for(;;){e!==r&&(e=r),t||(r=this.getLastCellOfColSpan(r)),r=i.getNextTabbedCell(r,t);const d=s.getCallback("tabToNextCell");if(A(d)){const p=d({backwards:t,editing:a,previousCellPosition:e,nextCellPosition:r||null});if(p===!0)r=e;else{if(p===!1)return!1;r={rowIndex:p.rowIndex,column:p.column,rowPinned:p.rowPinned}}}if(!r)return null;if(r.rowIndex<0){const h=ca(o);return l.focusHeaderPosition({headerPosition:{headerRowIndex:h+r.rowIndex,column:r.column},fromCell:!0}),null}const u=s.get("editType")==="fullRow";if(a&&(!u||n)&&!this.isCellEditable(r))continue;this.ensureCellVisible(r);const g=la(o,r);if(!g){const h=c.getRowByPosition(r);if(!h||!h.isFullWidth()||a)continue;return{...h.getRowPosition(),column:r?.column}}if(!i.isSuppressNavigable(g.column,g.rowNode))return g.setFocusedCellPosition(r),this.setRangeToCellIfSupported(r),g}}isCellEditable(e){const t=this.lookupRowNodeForCell(e);return t?e.column.isCellEditable(t):!1}lookupRowNodeForCell({rowIndex:e,rowPinned:t}){const{pinnedRowModel:a,rowModel:n}=this.beans;return t==="top"?a?.getPinnedTopRow(e):t==="bottom"?a?.getPinnedBottomRow(e):n.getRow(e)}navigateToNextCell(e,t,a,n){let r=a,o=!1;const i=this.beans,{cellNavigation:s,focusSvc:l,gos:c}=i;for(;r&&(r===a||!this.isValidNavigateCell(r));)c.get("enableRtl")?t===w.LEFT&&(r=this.getLastCellOfColSpan(r)):t===w.RIGHT&&(r=this.getLastCellOfColSpan(r)),r=s.getNextCellToFocus(t,r),o=ie(r);if(o&&e&&e.key===w.UP&&(r={rowIndex:-1,rowPinned:null,column:a.column}),n){const u=c.getCallback("navigateToNextCell");if(A(u)){const h=u({key:t,previousCellPosition:a,nextCellPosition:r||null,event:e});A(h)?r={rowPinned:h.rowPinned,rowIndex:h.rowIndex,column:h.column}:r=null}}if(!r)return;if(r.rowIndex<0){const u=ca(i);l.focusHeaderPosition({headerPosition:{headerRowIndex:u+r.rowIndex,column:r.column??a.column},event:e||void 0,fromCell:!0});return}const d=this.getNormalisedPosition(r);d?this.focusPosition(d):this.tryToFocusFullWidthRow(r)}getNormalisedPosition(e){if(!!this.beans.spannedRowRenderer?.getCellByPosition(e))return e;this.ensureCellVisible(e);const a=la(this.beans,e);return a?(e=a.getFocusedCellPosition(),this.ensureCellVisible(e),e):null}tryToFocusFullWidthRow(e,t){const{visibleCols:a,rowRenderer:n,focusSvc:r,eventSvc:o}=this.beans,i=a.allCols;if(!n.getRowByPosition(e)?.isFullWidth())return!1;const l=r.getFocusedCell(),c={rowIndex:e.rowIndex,rowPinned:e.rowPinned,column:e.column||(t?W(i):i[0])};this.focusPosition(c);const d=t??(l!=null&&He(c,l));return o.dispatchEvent({type:"fullWidthRowFocused",rowIndex:c.rowIndex,rowPinned:c.rowPinned,column:c.column,isFullWidthCell:!0,fromBelow:d}),!0}focusPosition(e){const{focusSvc:t}=this.beans;t.setFocusedCell({rowIndex:e.rowIndex,column:e.column,rowPinned:e.rowPinned,forceBrowserFocus:!0}),this.setRangeToCellIfSupported(e)}setRangeToCellIfSupported(e){Re(e.column)||this.beans.rangeSvc?.setRangeToCell(e)}isValidNavigateCell(e){return!!Ge(this.beans,e)}getLastCellOfColSpan(e){const t=la(this.beans,e);if(!t)return e;const a=t.getColSpanningList();return a.length===1?e:{rowIndex:e.rowIndex,column:W(a),rowPinned:e.rowPinned}}ensureCellVisible(e){const t=wi(this.gos),a=this.beans.rowModel.getRow(e.rowIndex),n=t&&a?.sticky,{scrollFeature:r}=this.gridBodyCon;!n&&ie(e.rowPinned)&&r.ensureIndexVisible(e.rowIndex),e.column.isPinned()||r.ensureColumnVisible(e.column)}ensureColumnVisible(e){const t=this.gridBodyCon.scrollFeature;e.isPinned()||t.ensureColumnVisible(e)}ensureRowVisible(e){this.gridBodyCon.scrollFeature.ensureIndexVisible(e)}};function Zg(e){return e.ctrlsSvc.getScrollFeature().getVScrollPosition()}var ts={moduleName:"KeyboardNavigation",version:N,beans:[_T,dT,R3],apiFunctions:{getFocusedCell:uT,clearFocusedCell:gT,setFocusedCell:hT,setFocusedHeader:mT,tabToNextCell:pT,tabToPreviousCell:fT}},KT=class extends F{constructor(){super(...arguments),this.beanName="pageBoundsListener"}postConstruct(){this.addManagedEventListeners({modelUpdated:this.onModelUpdated.bind(this),recalculateRowBounds:this.calculatePages.bind(this)}),this.onModelUpdated()}onModelUpdated(e){this.calculatePages(),this.eventSvc.dispatchEvent({type:"paginationChanged",animate:e?.animate??!1,newData:e?.newData??!1,newPage:e?.newPage??!1,newPageSize:e?.newPageSize??!1,keepRenderedRows:e?.keepRenderedRows??!1})}calculatePages(){const{pageBounds:e,pagination:t,rowModel:a}=this.beans;t?t.calculatePages():e.calculateBounds(0,a.getRowCount()-1)}},YT=class extends F{constructor(){super(...arguments),this.beanName="pageBounds",this.pixelOffset=0}getFirstRow(){return this.topRowBounds?.rowIndex??-1}getLastRow(){return this.bottomRowBounds?.rowIndex??-1}getCurrentPageHeight(){const{topRowBounds:e,bottomRowBounds:t}=this;return!e||!t?0:Math.max(t.rowTop+t.rowHeight-e.rowTop,0)}getCurrentPagePixelRange(){const{topRowBounds:e,bottomRowBounds:t}=this,a=e?.rowTop??0,n=t?t.rowTop+t.rowHeight:0;return{pageFirstPixel:a,pageLastPixel:n}}calculateBounds(e,t){const{rowModel:a}=this.beans,n=a.getRowBounds(e);n&&(n.rowIndex=e),this.topRowBounds=n;const r=a.getRowBounds(t);r&&(r.rowIndex=t),this.bottomRowBounds=r,this.calculatePixelOffset()}getPixelOffset(){return this.pixelOffset}calculatePixelOffset(){const e=this.topRowBounds?.rowTop??0;this.pixelOffset!==e&&(this.pixelOffset=e,this.eventSvc.dispatchEvent({type:"paginationPixelOffsetChanged"}))}},QT=".ag-pinned-left-floating-bottom,.ag-pinned-left-floating-top,.ag-pinned-right-floating-bottom,.ag-pinned-right-floating-top{min-width:0;overflow:hidden;position:relative}.ag-pinned-left-sticky-top,.ag-pinned-right-sticky-top{height:100%;overflow:hidden;position:relative}.ag-sticky-bottom-full-width-container,.ag-sticky-top-full-width-container{height:100%;overflow:hidden;width:100%}.ag-pinned-left-header,.ag-pinned-right-header{display:inline-block;height:100%;overflow:hidden;position:relative}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible){.ag-horizontal-left-spacer:not(.ag-scroller-corner){border-right:var(--ag-pinned-column-border)}.ag-horizontal-right-spacer:not(.ag-scroller-corner){border-left:var(--ag-pinned-column-border)}}.ag-pinned-right-header{border-left:var(--ag-pinned-column-border)}.ag-pinned-left-header{border-right:var(--ag-pinned-column-border)}.ag-cell.ag-cell-first-right-pinned:not(.ag-cell-range-left,.ag-cell-range-single-cell,.ag-cell-focus:not(.ag-cell-range-selected):focus-within){border-left:var(--ag-pinned-column-border)}.ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right,.ag-cell-range-single-cell,.ag-cell-focus:not(.ag-cell-range-selected):focus-within){border-right:var(--ag-pinned-column-border)}.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-pinned-left-header .ag-header-cell-resize{right:-3px}.ag-pinned-right-header .ag-header-cell-resize{left:-3px}",ZT=class extends F{constructor(e,t){super(),this.isLeft=e,this.elements=t,this.getWidth=e?()=>this.beans.pinnedCols.leftWidth:()=>this.beans.pinnedCols.rightWidth}postConstruct(){this.addManagedEventListeners({[`${this.isLeft?"left":"right"}PinnedWidthChanged`]:this.onPinnedWidthChanged.bind(this)})}onPinnedWidthChanged(){const e=this.getWidth(),t=e>0;for(const a of this.elements)a&&(G(a,t),ta(a,e))}},XT=class extends F{constructor(){super(...arguments),this.beanName="pinnedCols"}postConstruct(){this.beans.ctrlsSvc.whenReady(this,t=>{this.gridBodyCtrl=t.gridBodyCtrl});const e=this.checkContainerWidths.bind(this);this.addManagedEventListeners({displayedColumnsChanged:e,displayedColumnsWidthChanged:e}),this.addManagedPropertyListener("domLayout",e)}checkContainerWidths(){const{gos:e,visibleCols:t,eventSvc:a}=this.beans,n=Ke(e,"print"),r=n?0:t.getColsLeftWidth(),o=n?0:t.getDisplayedColumnsRightWidth();r!=this.leftWidth&&(this.leftWidth=r,a.dispatchEvent({type:"leftPinnedWidthChanged"})),o!=this.rightWidth&&(this.rightWidth=o,a.dispatchEvent({type:"rightPinnedWidthChanged"}))}keepPinnedColumnsNarrowerThanViewport(){const e=this.gridBodyCtrl.eBodyViewport,t=pr(e);if(t<=50)return;const a=this.getPinnedColumnsOverflowingViewport(t-50),n=this.gos.getCallback("processUnpinnedColumns"),{columns:r,hasLockedPinned:o}=a;let i=r;!i.length&&!o||(n&&(i=n({columns:i,viewportWidth:t})),i?.length&&(i=i.filter(s=>!Re(s)),this.setColsPinned(i,null,"viewportSizeFeature")))}createPinnedWidthFeature(e,...t){return new ZT(e,t)}setColsPinned(e,t,a){const{colModel:n,colAnimation:r,visibleCols:o,gos:i}=this.beans;if(!n.cols||!e?.length)return;if(Ke(i,"print")){R(37);return}r?.start();let s;t===!0||t==="left"?s="left":t==="right"?s="right":s=null;const l=[];for(const c of e){if(!c)continue;const d=n.getCol(c);d&&d.getPinned()!==s&&(this.setColPinned(d,s),l.push(d))}l.length&&(o.refresh(a),TC(this.eventSvc,l,a)),r?.finish()}initCol(e){const{pinned:t,initialPinned:a}=e.colDef;t!==void 0?this.setColPinned(e,t):this.setColPinned(e,a)}setColPinned(e,t){t===!0||t==="left"?e.pinned="left":t==="right"?e.pinned="right":e.pinned=null,e.dispatchStateUpdatedEvent("pinned")}setupHeaderPinnedWidth(e){const{scrollVisibleSvc:t}=this.beans;if(e.pinned==null)return;const a=e.pinned==="left",n=e.pinned==="right";e.hidden=!0;const r=()=>{const o=a?this.leftWidth:this.rightWidth;if(o==null)return;const i=o==0,s=e.hidden!==i,l=this.gos.get("enableRtl"),c=t.getScrollbarWidth(),u=t.verticalScrollShowing&&(l&&a||!l&&n)?o+c:o;e.comp.setPinnedContainerWidth(`${u}px`),e.comp.setDisplayed(!i),s&&(e.hidden=i,e.refresh())};e.addManagedEventListeners({leftPinnedWidthChanged:r,rightPinnedWidthChanged:r,scrollVisibilityChanged:r,scrollbarWidthChanged:r})}getHeaderResizeDiff(e,t){if(t.getPinned()){const{leftWidth:n,rightWidth:r}=this,o=pr(this.beans.ctrlsSvc.getGridBodyCtrl().eBodyViewport)-50;if(n+r+e>o)if(o>n+r)e=o-n-r;else return 0}return e}getPinnedColumnsOverflowingViewport(e){const t=this.rightWidth??0,a=this.leftWidth??0,n=t+a;let r=!1;if(n0;){if(l0){const h=i[c++];if(h.colDef.lockPinned){r=!0;continue}g-=h.getActualWidth(),u.push(h)}}return{columns:u,hasLockedPinned:r}}},JT={moduleName:"PinnedColumn",version:N,beans:[XT],css:[QT]},$T=class extends _e{constructor(){super(),this.beanName="ariaAnnounce",this.descriptionContainer=null,this.pendingAnnouncements=new Map,this.lastAnnouncement="",this.updateAnnouncement=ve(this,this.updateAnnouncement.bind(this),200)}postConstruct(){const e=this.beans,t=me(e),a=this.descriptionContainer=t.createElement("div");a.classList.add("ag-aria-description-container"),am(a,"polite"),oR(a,"additions text"),rR(a,!0),e.eRootDiv.appendChild(a)}announceValue(e,t){this.pendingAnnouncements.set(t,e),this.updateAnnouncement()}updateAnnouncement(){if(!this.descriptionContainer)return;const e=Array.from(this.pendingAnnouncements.values()).join(". ");this.pendingAnnouncements.clear(),this.descriptionContainer.textContent="",setTimeout(()=>{this.handleAnnouncementUpdate(e)},50)}handleAnnouncementUpdate(e){if(!this.isAlive()||!this.descriptionContainer)return;let t=e;if(t==null||t.replace(/[ .]/g,"")==""){this.lastAnnouncement="";return}this.lastAnnouncement===t&&(t=`${t}\u200B`),this.lastAnnouncement=t,this.descriptionContainer.textContent=t}destroy(){super.destroy();const{descriptionContainer:e}=this;e&&(ee(e),e.remove()),this.descriptionContainer=null,this.pendingAnnouncements.clear()}},eD=class extends $T{},tD={moduleName:"Aria",version:N,beans:[eD]},aD=":where(.ag-delay-render){.ag-cell,.ag-header-cell,.ag-header-group-cell,.ag-row,.ag-spanned-cell-wrapper{visibility:hidden}}",Kb="ag-delay-render",nD=class extends F{constructor(){super(...arguments),this.beanName="colDelayRenderSvc",this.hideRequested=!1,this.alreadyRevealed=!1,this.timesRetried=0,this.requesters=new Set}hideColumns(e){this.alreadyRevealed||this.requesters.has(e)||(this.requesters.add(e),this.hideRequested||(this.beans.ctrlsSvc.whenReady(this,t=>{t.gridBodyCtrl.eGridBody.classList.add(Kb)}),this.hideRequested=!0))}revealColumns(e){if(this.alreadyRevealed||!this.isAlive()||(this.requesters.delete(e),this.requesters.size>0))return;const{renderStatus:t,ctrlsSvc:a}=this.beans;if(t){if(!t.areHeaderCellsRendered()&&this.timesRetried<5){this.timesRetried++,setTimeout(()=>this.revealColumns(e));return}this.timesRetried=0}a.getGridBodyCtrl().eGridBody.classList.remove(Kb),this.alreadyRevealed=!0}},rD={moduleName:"ColumnDelayRender",version:N,beans:[nD],css:[aD]},lc=class extends T{constructor(){super()}},oD={tag:"div",cls:"ag-overlay-exporting-center",children:[{tag:"span",ref:"eExportingIcon",cls:"ag-loading-icon"},{tag:"span",ref:"eExportingText",cls:"ag-exporting-text"}]},iD=class extends lc{constructor(){super(...arguments),this.eExportingIcon=x,this.eExportingText=x}init(e){const{beans:t}=this;this.setTemplate(oD);const a=q("overlayExporting",t,null);a&&this.eExportingIcon.appendChild(a);const n=e.exporting?.overlayText??this.getLocaleTextFunc()("exportingOoo","Exporting...");this.eExportingText.textContent=n,t.ariaAnnounce.announceValue(n,"overlay")}},sD={tag:"div",cls:"ag-overlay-loading-center",children:[{tag:"span",ref:"eLoadingIcon",cls:"ag-loading-icon"},{tag:"span",ref:"eLoadingText",cls:"ag-loading-text"}]},lD=class extends lc{constructor(){super(...arguments),this.eLoadingIcon=x,this.eLoadingText=x}init(e){const{beans:t,gos:a}=this,n=Te(a.get("overlayLoadingTemplate")?.trim());if(this.setTemplate(n??sD),!n){const r=q("overlayLoading",t,null);r&&this.eLoadingIcon.appendChild(r);const o=e.loading?.overlayText??this.getLocaleTextFunc()("loadingOoo","Loading...");this.eLoadingText.textContent=o,t.ariaAnnounce.announceValue(o,"overlay")}}},cD={tag:"span",cls:"ag-overlay-no-matching-rows-center"},dD=class extends lc{init(e){const{beans:t}=this;this.setTemplate(cD);const a=e.noMatchingRows?.overlayText??this.getLocaleTextFunc()("noMatchingRows","No Matching Rows");this.getGui().textContent=a,t.ariaAnnounce.announceValue(a,"overlay")}},uD={tag:"span",cls:"ag-overlay-no-rows-center"},gD=class extends lc{init(e){const{beans:t,gos:a}=this,n=Te(a.get("overlayNoRowsTemplate")?.trim());if(this.setTemplate(n??uD),!n){const r=e.noRows?.overlayText??this.getLocaleTextFunc()("noRowsToShow","No Rows To Show");this.getGui().textContent=r,t.ariaAnnounce.announceValue(r,"overlay")}}};function hD(e){e.overlays?.showLoadingOverlay()}function pD(e){e.overlays?.showNoRowsOverlay()}function fD(e){e.overlays?.hideOverlay()}var mD=".ag-overlay{inset:0;pointer-events:none;position:absolute;z-index:2}.ag-overlay-panel,.ag-overlay-wrapper{display:flex;height:100%;width:100%}.ag-overlay-wrapper{align-items:center;flex:none;justify-content:center;text-align:center}.ag-overlay-exporting-wrapper,.ag-overlay-loading-wrapper,.ag-overlay-modal-wrapper{pointer-events:all}.ag-overlay-exporting-center,.ag-overlay-loading-center{background:var(--ag-background-color);border:solid var(--ag-border-width) var(--ag-border-color);border-radius:var(--ag-border-radius);box-shadow:var(--ag-popup-shadow);display:flex;padding:var(--ag-spacing)}",vD={tag:"div",cls:"ag-overlay",role:"presentation",children:[{tag:"div",cls:"ag-overlay-panel",role:"presentation",children:[{tag:"div",ref:"eOverlayWrapper",cls:"ag-overlay-wrapper",role:"presentation"}]}]},Yb=class extends T{constructor(){super(vD),this.eOverlayWrapper=x,this.activeOverlay=null,this.activePromise=null,this.activeCssClass=null,this.elToFocusAfter=null,this.overlayExclusive=!1,this.oldWrapperPadding=null,this.registerCSS(mD)}handleKeyDown(e){if(e.key!==w.TAB||e.defaultPrevented||zt(e))return;const{beans:t,eOverlayWrapper:a}=this;if(a&&Je(t,a,!1,e.shiftKey))return;let r=!1;e.shiftKey?r=t.focusSvc.focusGridView({column:W(t.visibleCols.allCols),backwards:!0,canFocusOverlay:!1}):r=Ga(t,!1),r&&e.preventDefault()}updateLayoutClasses(e,t){const a=this.eOverlayWrapper;if(!a)return;const n=a.classList,{AUTO_HEIGHT:r,NORMAL:o,PRINT:i}=ka;n.toggle(r,t.autoHeight),n.toggle(o,t.normal),n.toggle(i,t.print)}postConstruct(){this.createManagedBean(new Ju(this)),this.setDisplayed(!1,{skipAriaHidden:!0}),this.beans.overlays.setWrapperComp(this,!1),this.addManagedElementListeners(this.getFocusableElement(),{keydown:this.handleKeyDown.bind(this)}),this.addManagedEventListeners({gridSizeChanged:this.refreshWrapperPadding.bind(this)})}setWrapperTypeClass(e){const t=this.eOverlayWrapper?.classList;if(!t){this.activeCssClass=null;return}this.activeCssClass&&t.toggle(this.activeCssClass,!1),this.activeCssClass=e,t.toggle(e,!0)}showOverlay(e,t,a){if(this.destroyActiveOverlay(),this.elToFocusAfter=null,this.activePromise=e,this.overlayExclusive=a,!e)return this.refreshWrapperPadding(),j.resolve();if(this.setWrapperTypeClass(t),this.setDisplayed(!0,{skipAriaHidden:!0}),this.refreshWrapperPadding(),a&&this.isGridFocused()){const n=ne(this.beans);n&&!ma(this.beans)&&(this.elToFocusAfter=n)}return e.then(n=>{const r=this.eOverlayWrapper;if(!r){this.destroyBean(n);return}if(this.activePromise!==e){this.activeOverlay!==n&&(this.destroyBean(n),n=null);return}this.activePromise=null,n&&(this.activeOverlay!==n&&(r.appendChild(n.getGui()),this.activeOverlay=n),a&&this.isGridFocused()&&ze(r))}),e}refreshWrapperPadding(){if(!this.eOverlayWrapper){this.oldWrapperPadding=null;return}const e=!!this.activeOverlay||!!this.activePromise;let t=0;e&&!this.overlayExclusive&&(t=this.beans.ctrlsSvc.get("gridHeaderCtrl")?.headerHeight||0),t!==this.oldWrapperPadding&&(this.oldWrapperPadding=t,this.eOverlayWrapper.style.setProperty("padding-top",`${t}px`))}destroyActiveOverlay(){this.activePromise=null;const e=this.activeOverlay;if(!e){this.overlayExclusive=!1,this.elToFocusAfter=null,this.refreshWrapperPadding();return}let t=this.elToFocusAfter;this.elToFocusAfter=null,this.activeOverlay=null,this.overlayExclusive=!1,t&&!this.isGridFocused()&&(t=null),this.destroyBean(e);const a=this.eOverlayWrapper;a&&ee(a),t?.focus?.({preventScroll:!0}),this.refreshWrapperPadding()}hideOverlay(){this.destroyActiveOverlay(),this.setDisplayed(!1,{skipAriaHidden:!0})}isGridFocused(){const e=ne(this.beans);return!!e&&this.beans.eGridDiv.contains(e)}destroy(){this.elToFocusAfter=null,this.destroyActiveOverlay(),this.beans.overlays.setWrapperComp(this,!0),super.destroy(),this.eOverlayWrapper=null}},CD={selector:"AG-OVERLAY-WRAPPER",component:Yb},bD=["refresh"],as=e=>({name:e,optionalMethods:bD}),zr={id:"agLoadingOverlay",overlayType:"loading",comp:as("loadingOverlayComponent"),wrapperCls:"ag-overlay-loading-wrapper",exclusive:!0,compKey:"loadingOverlayComponent",paramsKey:"loadingOverlayComponentParams",isSuppressed:e=>{const t=e.get("loading");return t===!1||e.get("suppressLoadingOverlay")===!0&&t!==!0}},ko={id:"agNoRowsOverlay",overlayType:"noRows",comp:as("noRowsOverlayComponent"),wrapperCls:"ag-overlay-no-rows-wrapper",compKey:"noRowsOverlayComponent",paramsKey:"noRowsOverlayComponentParams",isSuppressed:e=>e.get("suppressNoRowsOverlay")},Xg={id:"agNoMatchingRowsOverlay",overlayType:"noMatchingRows",comp:as("noMatchingRowsOverlayComponent"),wrapperCls:"ag-overlay-no-matching-rows-wrapper"},cc={id:"agExportingOverlay",overlayType:"exporting",comp:as("exportingOverlayComponent"),wrapperCls:"ag-overlay-exporting-wrapper",exclusive:!0},dc={id:"activeOverlay",comp:as("activeOverlay"),wrapperCls:"ag-overlay-modal-wrapper",exclusive:!0},wD=e=>e?{agLoadingOverlay:zr,agNoRowsOverlay:ko,agNoMatchingRowsOverlay:Xg,agExportingOverlay:cc}[e]??dc:null,yD=e=>e?{loading:zr,noRows:ko,noMatchingRows:Xg,exporting:cc}[e]:null,SD=class extends F{constructor(){super(...arguments),this.beanName="overlays",this.eWrapper=void 0,this.exclusive=!1,this.oldExclusive=!1,this.currentDef=null,this.showInitialOverlay=!0,this.userForcedNoRows=!1,this.exportsInProgress=0,this.newColumnsLoadedCleanup=null}postConstruct(){const e=this.gos;this.showInitialOverlay=se(e);const t=()=>{this.userForcedNoRows||this.updateOverlay(!1)},[a,n,r,o]=this.addManagedEventListeners({newColumnsLoaded:t,rowCountReady:()=>{this.disableInitialOverlay(),t(),n()},rowDataUpdated:t,modelUpdated:t});this.newColumnsLoadedCleanup=a,this.addManagedPropertyListeners(["loading","activeOverlay","activeOverlayParams","overlayComponentParams","loadingOverlayComponentParams","noRowsOverlayComponentParams"],i=>this.onPropChange(new Set(i.changeSet?.properties)))}destroy(){this.doHideOverlay(),super.destroy(),this.eWrapper=void 0}setWrapperComp(e,t){this.isAlive()&&(t?this.eWrapper===e&&(this.eWrapper=void 0):this.eWrapper=e,this.updateOverlay(!1))}isVisible(){return!!this.currentDef}showLoadingOverlay(){this.showInitialOverlay=!1;const e=this.gos;if(!this.eWrapper||e.get("activeOverlay")||this.isDisabled(zr))return;const t=e.get("loading");!t&&t!==void 0||this.doShowOverlay(zr)}showNoRowsOverlay(){this.showInitialOverlay=!1;const e=this.gos;!this.eWrapper||e.get("activeOverlay")||e.get("loading")||this.isDisabled(ko)||(this.userForcedNoRows=!0,this.doShowOverlay(ko))}async showExportOverlay(e){const{gos:t,beans:a}=this;if(!this.eWrapper||t.get("activeOverlay")||t.get("loading")||this.isDisabled(cc)||this.userForcedNoRows&&this.currentDef===ko){e();return}const n=this.getDesiredDefWithOverride(cc);if(!n){e();return}this.exportsInProgress++,this.focusedCell=a.focusSvc.getFocusedCell(),await this.doShowOverlay(n),await new Promise(o=>setTimeout(()=>o()));const r=Date.now();try{e()}finally{const o=Date.now()-r,i=Math.max(0,300-o),s=()=>{this.exportsInProgress--,this.exportsInProgress===0&&(this.updateOverlay(!1),qu(a,this.focusedCell),this.focusedCell=null)};i>0?setTimeout(()=>s(),i):s()}}hideOverlay(){const e=this.gos;this.showInitialOverlay=!1;const t=this.userForcedNoRows;if(this.userForcedNoRows=!1,e.get("loading")){R(99);return}if(e.get("activeOverlay")){R(296);return}if(this.currentDef===Xg){R(297);return}this.doHideOverlay(),t&&this.getOverlayDef()!==ko&&this.updateOverlay(!1)}getOverlayWrapperSelector(){return CD}getOverlayWrapperCompClass(){return Yb}onPropChange(e){const t=e.has("activeOverlay");if((t||e.has("loading"))&&this.updateOverlay(t))return;const a=this.currentDef,n=this.eWrapper?.activeOverlay;if(n&&a){const r=e.has("activeOverlayParams");if(a===dc)r&&n.refresh?.(this.makeCompParams(!0));else{const o=a.paramsKey;(e.has("overlayComponentParams")||o&&e.has(o))&&n.refresh?.(this.makeCompParams(!1,o,a.overlayType))}}}updateOverlay(e){const t=this.eWrapper;if(!t)return this.currentDef=null,!1;const a=this.getDesiredDefWithOverride(),n=this.currentDef,r=a===dc&&e;return a!==n?a?(this.doShowOverlay(a),!0):(this.disableInitialOverlay(),this.doHideOverlay()):r&&a?(t.hideOverlay(),this.doShowOverlay(a),!0):(a||this.disableInitialOverlay(),!1)}getDesiredDefWithOverride(e){const{gos:t}=this;let a=wD(t.get("activeOverlay"));return a||(a=e??this.getOverlayDef(),a&&this.isDisabled(a)&&(a=null)),a}getOverlayDef(){const{gos:e,beans:t}=this,{rowModel:a}=t,n=e.get("loading");if(n!==void 0){if(this.disableInitialOverlay(),n)return zr}else if(this.showInitialOverlay){if(!this.isDisabled(zr)&&(!e.get("columnDefs")||!e.get("rowData")))return zr;this.disableInitialOverlay()}else this.disableInitialOverlay();const o=a.getOverlayType();return yD(o)}disableInitialOverlay(){this.showInitialOverlay=!1,this.newColumnsLoadedCleanup?.(),this.newColumnsLoadedCleanup=null}doShowOverlay(e){const{gos:t,beans:a}=this,{userCompFactory:n}=a;this.currentDef=e;const r=e!==dc,o=!!e.exclusive;this.exclusive=o;let i;(e.paramsKey&&t.get(e.paramsKey)||e.compKey&&t.get(e.compKey))&&(i=e.paramsKey);let s;r&&(t.get("overlayComponent")||t.get("overlayComponentSelector"))&&(s=n.getCompDetailsFromGridOptions({name:"overlayComponent",optionalMethods:["refresh"]},void 0,this.makeCompParams(!1,e.paramsKey,e.overlayType))),s??(s=n.getCompDetailsFromGridOptions(e.comp,r?e.id:void 0,this.makeCompParams(!r,i,e.overlayType),!1));const l=s?.newAgStackInstance()??null,c=this.eWrapper?this.eWrapper.showOverlay(l,e.wrapperCls,o):j.resolve();return this.eWrapper?.refreshWrapperPadding(),this.setExclusive(o),c}makeCompParams(e,t,a){const{gos:n}=this,r=e?n.get("activeOverlayParams"):{...n.get("overlayComponentParams"),...t&&n.get(t)||null,overlayType:a};return B(n,r??{})}doHideOverlay(){let e=!1;this.currentDef&&(this.currentDef=null,e=!0),this.exclusive=!1;const t=this.eWrapper;return t&&(t.hideOverlay(),t.refreshWrapperPadding(),this.setExclusive(!1)),e}setExclusive(e){this.oldExclusive!==e&&(this.oldExclusive=e,this.eventSvc.dispatchEvent({type:"overlayExclusiveChanged"}))}isDisabled(e){const{gos:t}=this;return e.overlayType&&t.get("suppressOverlays")?.includes(e.overlayType)||e.isSuppressed?.(t)===!0}},xD={moduleName:"Overlay",version:N,userComponents:{agLoadingOverlay:lD,agNoRowsOverlay:gD,agNoMatchingRowsOverlay:dD,agExportingOverlay:iD},apiFunctions:{showLoadingOverlay:hD,showNoRowsOverlay:pD,hideOverlay:fD},icons:{overlayLoading:"loading",overlayExporting:"loading"},beans:[SD]},kD=class extends F{constructor(){super(...arguments),this.beanName="rowContainerHeight",this.scrollY=0,this.uiBodyHeight=0}postConstruct(){this.addManagedEventListeners({bodyHeightChanged:this.updateOffset.bind(this)}),this.maxDivHeight=qF(),xn(this.gos,"RowContainerHeightService - maxDivHeight = "+this.maxDivHeight)}updateOffset(){if(!this.stretching)return;const e=this.beans.ctrlsSvc.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;xn(this.gos,`RowContainerHeightService - Div Stretch Offset = ${t} (${this.pixelsToShave} * ${e})`),this.setDivStretchOffset(t)}setUiContainerHeight(e){e!==this.uiContainerHeight&&(this.uiContainerHeight=e,this.eventSvc.dispatchEvent({type:"rowContainerHeightChanged"}))}clearOffset(){this.setUiContainerHeight(this.modelHeight),this.pixelsToShave=0,this.setDivStretchOffset(0)}setDivStretchOffset(e){const t=typeof e=="number"?Math.floor(e):null;this.divStretchOffset!==t&&(this.divStretchOffset=t,this.eventSvc.dispatchEvent({type:"heightScaleChanged"}))}setModelHeight(e){this.modelHeight=e,this.stretching=e!=null&&this.maxDivHeight>0&&e>this.maxDivHeight,this.stretching?this.calculateOffset():this.clearOffset()}getRealPixelPosition(e){return e-this.divStretchOffset}getUiBodyHeight(){const e=this.beans.ctrlsSvc.getScrollFeature().getVScrollPosition();return e.bottom-e.top}getScrollPositionForPixel(e){if(this.pixelsToShave<=0)return e;const t=this.modelHeight-this.getUiBodyHeight(),a=e/t;return this.maxScrollY*a}},RD=400,FD=class extends F{constructor(){super(...arguments),this.beanName="rowRenderer",this.destroyFuncsForColumnListeners=[],this.rowCtrlsByRowIndex={},this.zombieRowCtrls={},this.allRowCtrls=[],this.topRowCtrls=[],this.bottomRowCtrls=[],this.refreshInProgress=!1,this.dataFirstRenderedFired=!1,this.setupRangeSelectionListeners=()=>{const e=()=>{for(const o of this.getAllCellCtrls())o.onCellSelectionChanged()},t=()=>{for(const o of this.getAllCellCtrls())o.updateRangeBordersIfRangeCount()},a=()=>{this.eventSvc.addListener("cellSelectionChanged",e),this.eventSvc.addListener("columnMoved",t),this.eventSvc.addListener("columnPinned",t),this.eventSvc.addListener("columnVisible",t)},n=()=>{this.eventSvc.removeListener("cellSelectionChanged",e),this.eventSvc.removeListener("columnMoved",t),this.eventSvc.removeListener("columnPinned",t),this.eventSvc.removeListener("columnVisible",t)};this.addDestroyFunc(()=>n()),this.addManagedPropertyListeners(["enableRangeSelection","cellSelection"],()=>{mt(this.gos)?a():n()}),mt(this.gos)&&a()}}wireBeans(e){this.pageBounds=e.pageBounds,this.colModel=e.colModel,this.pinnedRowModel=e.pinnedRowModel,this.rowModel=e.rowModel,this.focusSvc=e.focusSvc,this.rowContainerHeight=e.rowContainerHeight,this.ctrlsSvc=e.ctrlsSvc,this.editSvc=e.editSvc}postConstruct(){this.ctrlsSvc.whenReady(this,e=>{this.gridBodyCtrl=e.gridBodyCtrl,this.initialise()})}initialise(){this.addManagedEventListeners({paginationChanged:this.onPageLoaded.bind(this),pinnedRowDataChanged:this.onPinnedRowDataChanged.bind(this),pinnedRowsChanged:this.onPinnedRowsChanged.bind(this),displayedColumnsChanged:this.onDisplayedColumnsChanged.bind(this),bodyScroll:this.onBodyScroll.bind(this),bodyHeightChanged:this.redraw.bind(this,{})}),this.addManagedPropertyListeners(["domLayout","embedFullWidthRows"],()=>this.onDomLayoutChanged()),this.addManagedPropertyListeners(["suppressMaxRenderedRowRestriction","rowBuffer"],()=>this.redraw()),this.addManagedPropertyListener("suppressCellFocus",n=>this.onSuppressCellFocusChanged(n.currentValue)),this.addManagedPropertyListeners(["groupSuppressBlankHeader","getBusinessKeyForNode","fullWidthCellRenderer","fullWidthCellRendererParams","suppressStickyTotalRow","groupRowRenderer","groupRowRendererParams","loadingCellRenderer","loadingCellRendererParams","detailCellRenderer","detailCellRendererParams","enableRangeSelection","enableCellTextSelection"],()=>this.redrawRows()),this.addManagedPropertyListener("cellSelection",({currentValue:n,previousValue:r})=>{(!r&&n||r&&!n)&&this.redrawRows()});const{stickyRowSvc:e,gos:t,showRowGroupCols:a}=this.beans;if(a&&this.addManagedPropertyListener("showOpenedGroup",()=>{const n=a.columns;n.length&&this.refreshCells({columns:n,force:!0})}),e)this.stickyRowFeature=e.createStickyRowFeature(this,this.createRowCon.bind(this),this.destroyRowCtrls.bind(this));else{const n=this.gridBodyCtrl;n.setStickyTopHeight(0),n.setStickyBottomHeight(0)}this.registerCellEventListeners(),this.initialiseCache(),this.printLayout=Ke(t,"print"),this.embedFullWidthRows=this.printLayout||t.get("embedFullWidthRows"),this.redrawAfterModelUpdate()}initialiseCache(){if(this.gos.get("keepDetailRows")){const e=this.getKeepDetailRowsCount(),t=e??3;this.cachedRowCtrls=new MD(t)}}getKeepDetailRowsCount(){return this.gos.get("keepDetailRowsCount")}getStickyTopRowCtrls(){return this.stickyRowFeature?.stickyTopRowCtrls??[]}getStickyBottomRowCtrls(){return this.stickyRowFeature?.stickyBottomRowCtrls??[]}updateAllRowCtrls(){const e=Object.values(this.rowCtrlsByRowIndex),t=Object.values(this.zombieRowCtrls),a=this.cachedRowCtrls?.getEntries()??[];t.length>0||a.length>0?this.allRowCtrls=[...e,...t,...a]:this.allRowCtrls=e}isCellBeingRendered(e,t){const a=this.rowCtrlsByRowIndex[e];return!t||!a?!!a:a.isFullWidth()?!0:!!this.beans.spannedRowRenderer?.getCellByPosition({rowIndex:e,column:t,rowPinned:null})||!!a.getCellCtrl(t)||!a.isRowRendered()}updateCellFocus(e){for(const t of this.getAllCellCtrls())t.onCellFocused(e);for(const t of this.getFullWidthRowCtrls())t.onFullWidthRowFocused(e)}onCellFocusChanged(e){if(e?.rowIndex!=null&&!e.rowPinned){const t=this.beans.colModel.getCol(e.column)??void 0;this.isCellBeingRendered(e.rowIndex,t)||this.redraw()}this.updateCellFocus(e)}onSuppressCellFocusChanged(e){for(const t of this.getAllCellCtrls())t.onSuppressCellFocusChanged(e);for(const t of this.getFullWidthRowCtrls())t.onSuppressCellFocusChanged(e)}registerCellEventListeners(){this.addManagedEventListeners({cellFocused:e=>this.onCellFocusChanged(e),cellFocusCleared:()=>this.updateCellFocus(),flashCells:e=>{const{cellFlashSvc:t}=this.beans;if(t)for(const a of this.getAllCellCtrls())t.onFlashCells(a,e)},columnHoverChanged:()=>{for(const e of this.getAllCellCtrls())e.onColumnHover()},displayedColumnsChanged:()=>{for(const e of this.getAllCellCtrls())e.onDisplayedColumnsChanged()},displayedColumnsWidthChanged:()=>{if(this.printLayout)for(const e of this.getAllCellCtrls())e.onLeftChanged()}}),this.setupRangeSelectionListeners(),this.refreshListenersToColumnsForCellComps(),this.addManagedEventListeners({gridColumnsChanged:this.refreshListenersToColumnsForCellComps.bind(this)}),this.addDestroyFunc(this.removeGridColumnListeners.bind(this))}removeGridColumnListeners(){for(const e of this.destroyFuncsForColumnListeners)e();this.destroyFuncsForColumnListeners.length=0}refreshListenersToColumnsForCellComps(){this.removeGridColumnListeners();const e=this.colModel.getCols();for(const t of e){const a=l=>{for(const c of this.getAllCellCtrls())c.column===t&&l(c)},n=()=>{a(l=>l.onLeftChanged())},r=()=>{a(l=>l.onWidthChanged())},o=()=>{a(l=>l.onFirstRightPinnedChanged())},i=()=>{a(l=>l.onLastLeftPinnedChanged())},s=()=>{a(l=>l.onColDefChanged())};t.__addEventListener("leftChanged",n),t.__addEventListener("widthChanged",r),t.__addEventListener("firstRightPinnedChanged",o),t.__addEventListener("lastLeftPinnedChanged",i),t.__addEventListener("colDefChanged",s),this.destroyFuncsForColumnListeners.push(()=>{t.__removeEventListener("leftChanged",n),t.__removeEventListener("widthChanged",r),t.__removeEventListener("firstRightPinnedChanged",o),t.__removeEventListener("lastLeftPinnedChanged",i),t.__removeEventListener("colDefChanged",s)})}}onDomLayoutChanged(){const e=Ke(this.gos,"print"),t=e||this.gos.get("embedFullWidthRows"),a=t!==this.embedFullWidthRows||this.printLayout!==e;this.printLayout=e,this.embedFullWidthRows=t,a&&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)}getAllCellsNotSpanningForColumn(e){const t=[];for(const a of this.getAllRowCtrls()){const n=a.getCellCtrl(e,!0)?.eGui;n&&t.push(n)}return t}refreshFloatingRowComps(e=!0){this.refreshFloatingRows(this.topRowCtrls,"top",e),this.refreshFloatingRows(this.bottomRowCtrls,"bottom",e)}refreshFloatingRows(e,t,a){const{pinnedRowModel:n,beans:r,printLayout:o}=this,i=Object.fromEntries(e.map(l=>[l.rowNode.id,l]));n?.forEachPinnedRow(t,(l,c)=>{const d=e[c];d&&n.getPinnedRowById(d.rowNode.id,t)===void 0&&(d.destroyFirstPass(),d.destroySecondPass()),l.id in i&&a?(e[c]=i[l.id],delete i[l.id]):e[c]=new sc(l,r,!1,!1,o)});const s=(t==="top"?n?.getPinnedTopRowCount():n?.getPinnedBottomRowCount())??0;e.length=s}onPinnedRowDataChanged(){const e={recycleRows:!0};this.redrawAfterModelUpdate(e)}onPinnedRowsChanged(){this.redrawAfterModelUpdate({recycleRows:!0})}redrawRow(e,t=!1){if(e.sticky)this.stickyRowFeature?.refreshStickyNode(e);else if(this.cachedRowCtrls?.has(e)){this.cachedRowCtrls.removeRow(e);return}else{const a=n=>{const r=n[e.rowIndex];r&&r.rowNode===e&&(r.destroyFirstPass(),r.destroySecondPass(),n[e.rowIndex]=this.createRowCon(e,!1,!1))};switch(e.rowPinned){case"top":a(this.topRowCtrls);break;case"bottom":a(this.bottomRowCtrls);break;default:a(this.rowCtrlsByRowIndex),this.updateAllRowCtrls()}}t||this.dispatchDisplayedRowsChanged(!1)}redrawRows(e){const{editSvc:t}=this.beans;if(t?.isEditing()&&(t.isBatchEditing()?t.cleanupEditors():t.stopEditing(void 0,{source:"api"})),e!=null){for(const n of e??[])this.redrawRow(n,!0);this.dispatchDisplayedRowsChanged(!1);return}this.redrawAfterModelUpdate()}redrawAfterModelUpdate(e={}){this.getLockOnRefresh();const t=this.beans.focusSvc?.getFocusCellToUseAfterRefresh();this.updateContainerHeights(),this.scrollToTopIfNewData(e);const a=!e.domLayoutChanged&&!!e.recycleRows,n=e.animate&&Cr(this.gos),r=a?this.getRowsToRecycle():null;a||this.removeAllRowComps(),this.workOutFirstAndLastRowsToRender();const{stickyRowFeature:o,gos:i}=this;if(o){o.checkStickyRows();const s=o.extraTopHeight+o.extraBottomHeight;s&&this.updateContainerHeights(s)}this.recycleRows(r,n),this.gridBodyCtrl.updateRowCount(),e.onlyBody||this.refreshFloatingRowComps(i.get("enableRowPinning")?a:void 0),this.dispatchDisplayedRowsChanged(),t!=null&&this.restoreFocusedCell(t),this.releaseLockOnRefresh()}scrollToTopIfNewData(e){const t=e.newData||e.newPage,a=this.gos.get("suppressScrollOnNewData");t&&!a&&(this.gridBodyCtrl.scrollFeature.scrollToTop(),this.stickyRowFeature?.resetOffsets())}updateContainerHeights(e=0){const{rowContainerHeight:t}=this;if(this.printLayout){t.setModelHeight(null);return}let a=this.pageBounds.getCurrentPageHeight();a===0&&(a=1),t.setModelHeight(a+e)}getLockOnRefresh(){if(this.refreshInProgress)throw new Error(Rt(252));this.refreshInProgress=!0,this.beans.frameworkOverrides.getLockOnRefresh?.()}releaseLockOnRefresh(){this.refreshInProgress=!1,this.beans.frameworkOverrides.releaseLockOnRefresh?.()}isRefreshInProgress(){return this.refreshInProgress}restoreFocusedCell(e){if(!e)return;const t=this.beans.focusSvc,a=this.findPositionToFocus(e);if(!a){t.focusHeaderPosition({headerPosition:{headerRowIndex:ca(this.beans)-1,column:e.column}});return}if(e.rowIndex!==a.rowIndex||e.rowPinned!=a.rowPinned){t.setFocusedCell({...a,preventScrollOnBrowserFocus:!0,forceBrowserFocus:!0});return}t.doesRowOrCellHaveBrowserFocus()||this.updateCellFocus(B(this.gos,{...a,forceBrowserFocus:!0,preventScrollOnBrowserFocus:!0,type:"cellFocused"}))}findPositionToFocus(e){const{pagination:t,pageBounds:a}=this.beans;let n=e;for(n.rowPinned==null&&t&&a&&!t.isRowInPage(n.rowIndex)&&(n={rowPinned:null,rowIndex:a.getFirstRow()});n;){if(n.rowPinned==null&&a)if(n.rowIndexa.getLastRow()&&(n={rowPinned:null,rowIndex:a.getLastRow()});const r=this.getRowByPosition(n);if(r?.isAlive())return{...r.getRowPosition(),column:e.column};n=Qt(this.beans,n)}return null}getAllCellCtrls(){const e=[],t=this.getAllRowCtrls(),a=t.length;for(let n=0;n{const r=n.rowNode;return $g(r,t)})}getCellCtrls(e,t){let a;A(t)&&(a={},t.forEach(r=>{const o=this.colModel.getCol(r);A(o)&&(a[o.getId()]=!0)}));const n=[];for(const r of this.getRowCtrls(e))for(const o of r.getAllCellCtrls()){const i=o.column.getId();a&&!a[i]||n.push(o)}return n}destroy(){this.removeAllRowComps(!0),super.destroy()}removeAllRowComps(e=!1){const t=Object.keys(this.rowCtrlsByRowIndex);this.removeRowCtrls(t,e),this.stickyRowFeature?.destroyStickyCtrls()}getRowsToRecycle(){const e=[];for(const a of Object.keys(this.rowCtrlsByRowIndex))this.rowCtrlsByRowIndex[a].rowNode.id==null&&e.push(a);this.removeRowCtrls(e);const t={};for(const a of Object.values(this.rowCtrlsByRowIndex)){const n=a.rowNode;t[n.id]=a}return this.rowCtrlsByRowIndex={},t}removeRowCtrls(e,t=!1){for(const a of e){const n=this.rowCtrlsByRowIndex[a];n&&(n.destroyFirstPass(t),n.destroySecondPass()),delete this.rowCtrlsByRowIndex[a]}}onBodyScroll(e){e.direction==="vertical"&&this.redraw({afterScroll:!0})}redraw(e={}){const{focusSvc:t,animationFrameSvc:a}=this.beans,{afterScroll:n}=e;let r;const o=this.stickyRowFeature;o&&(r=t?.getFocusCellToUseAfterRefresh()||void 0);const i=this.firstRenderedRow,s=this.lastRenderedRow;this.workOutFirstAndLastRowsToRender();let l=!1;if(o){l=o.checkStickyRows();const d=o.extraTopHeight+o.extraBottomHeight;d&&this.updateContainerHeights(d)}const c=this.firstRenderedRow!==i||this.lastRenderedRow!==s;if(!(n&&!l&&!c)&&(this.getLockOnRefresh(),this.recycleRows(null,!1,n),this.releaseLockOnRefresh(),this.dispatchDisplayedRowsChanged(n&&!l),r!=null)){const d=t?.getFocusCellToUseAfterRefresh();r!=null&&d==null&&(a?.flushAllFrames(),this.restoreFocusedCell(r))}}removeRowCompsNotToDraw(e,t){const a={};for(const o of e)a[o]=!0;const r=Object.keys(this.rowCtrlsByRowIndex).filter(o=>!a[o]);this.removeRowCtrls(r,t)}calculateIndexesToDraw(e){const t=[];for(let i=this.firstRenderedRow;i<=this.lastRenderedRow;i++)t.push(i);const a=this.beans.pagination,n=this.beans.focusSvc?.getFocusedCell()?.rowIndex;n!=null&&(nthis.lastRenderedRow)&&(!a||a.isRowInPage(n))&&n{const s=i.rowNode.rowIndex;s==null||s===n||(sthis.lastRenderedRow)&&this.doNotUnVirtualiseRow(i)&&t.push(s)};for(const i of Object.values(this.rowCtrlsByRowIndex))r(i);if(e)for(const i of Object.values(e))r(i);t.sort((i,s)=>i-s);const o=[];for(let i=0;i{this.destroyRowCtrls(e,t),this.updateAllRowCtrls(),this.dispatchDisplayedRowsChanged()}):this.destroyRowCtrls(e,t)}this.updateAllRowCtrls()}dispatchDisplayedRowsChanged(e=!1){this.eventSvc.dispatchEvent({type:"displayedRowsChanged",afterScroll:e})}onDisplayedColumnsChanged(){const{visibleCols:e}=this.beans,t=e.isPinningLeft(),a=e.isPinningRight();(this.pinningLeft!==t||a!==this.pinningRight)&&(this.pinningLeft=t,this.pinningRight=a,this.embedFullWidthRows&&this.redrawFullWidthEmbeddedRows())}redrawFullWidthEmbeddedRows(){const e=[];for(const t of this.getFullWidthRowCtrls()){const a=t.rowNode.rowIndex;e.push(a.toString())}this.refreshFloatingRowComps(),this.removeRowCtrls(e),this.redraw({afterScroll:!0})}getFullWidthRowCtrls(e){const t=Jg(e);return this.getAllRowCtrls().filter(a=>{if(!a.isFullWidth())return!1;const n=a.rowNode;return!(t!=null&&!$g(n,t))})}createOrUpdateRowCtrl(e,t,a,n){let r,o=this.rowCtrlsByRowIndex[e];if(o||(r=this.rowModel.getRow(e),A(r)&&A(t)&&t[r.id]&&r.alreadyRendered&&(o=t[r.id],t[r.id]=null)),!o)if(r||(r=this.rowModel.getRow(e)),A(r))o=this.createRowCon(r,a,n);else return;r&&(r.alreadyRendered=!0),this.rowCtrlsByRowIndex[e]=o}destroyRowCtrls(e,t){const a=[];if(e){for(const n of Object.values(e))if(n){if(this.cachedRowCtrls&&n.isCacheable()){this.cachedRowCtrls.addRow(n);continue}if(n.destroyFirstPass(!t),t){const r=n.instanceId;this.zombieRowCtrls[r]=n,a.push(()=>{n.destroySecondPass(),delete this.zombieRowCtrls[r]})}else n.destroySecondPass()}}t&&(a.push(()=>{this.isAlive()&&(this.updateAllRowCtrls(),this.dispatchDisplayedRowsChanged())}),window.setTimeout(()=>{for(const n of a)n()},RD))}getRowBuffer(){return this.gos.get("rowBuffer")}getRowBufferInPixels(){const e=this.getRowBuffer(),t=Ft(this.beans);return e*t}workOutFirstAndLastRowsToRender(){const{rowContainerHeight:e,pageBounds:t,rowModel:a}=this;e.updateOffset();let n,r;if(!a.isRowsToRender())n=0,r=-1;else if(this.printLayout)this.beans.environment.refreshRowHeightVariable(),n=t.getFirstRow(),r=t.getLastRow();else{const d=this.getRowBufferInPixels(),u=this.ctrlsSvc.getScrollFeature(),g=this.gos.get("suppressRowVirtualisation");let h=!1,p,f;do{const y=t.getPixelOffset(),{pageFirstPixel:S,pageLastPixel:k}=t.getCurrentPagePixelRange(),M=e.divStretchOffset,E=u.getVScrollPosition(),P=E.top,D=E.bottom;g?(p=S+M,f=k+M):(p=Math.max(P+y-d,S)+M,f=Math.min(D+y+d,k)+M),this.firstVisibleVPixel=Math.max(P+y,S)+M,this.lastVisibleVPixel=Math.min(D+y,k)+M,h=this.ensureAllRowsInRangeHaveHeightsCalculated(p,f)}while(h);let m=a.getRowIndexAtPixel(p),v=a.getRowIndexAtPixel(f);const C=t.getFirstRow(),b=t.getLastRow();mb&&(v=b),n=m,r=v}const o=Ke(this.gos,"normal"),i=this.gos.get("suppressMaxRenderedRowRestriction"),s=Math.max(this.getRowBuffer(),500);o&&!i&&r-n>s&&(r=n+s);const l=n!==this.firstRenderedRow,c=r!==this.lastRenderedRow;(l||c)&&(this.firstRenderedRow=n,this.lastRenderedRow=r,this.eventSvc.dispatchEvent({type:"viewportChanged",firstRow:n,lastRow:r}))}dispatchFirstDataRenderedEvent(){this.dataFirstRenderedFired||(this.dataFirstRenderedFired=!0,kt(this.beans,()=>{this.beans.eventSvc.dispatchEvent({type:"firstDataRendered",firstRow:this.firstRenderedRow,lastRow:this.lastRenderedRow})}))}ensureAllRowsInRangeHaveHeightsCalculated(e,t){const a=this.pinnedRowModel?.ensureRowHeightsValid(),n=this.stickyRowFeature?.ensureRowHeightsValid(),{pageBounds:r,rowModel:o}=this,i=o.ensureRowHeightsValid(e,t,r.getFirstRow(),r.getLastRow());return(i||n)&&this.eventSvc.dispatchEvent({type:"recalculateRowBounds"}),n||i||a?(this.updateContainerHeights(),!0):!1}doNotUnVirtualiseRow(e){const n=e.rowNode,r=this.focusSvc.isRowFocused(n.rowIndex,n.rowPinned),o=this.editSvc?.isEditing(e),i=n.detail;return r||o||i?!!this.isRowPresent(n):!1}isRowPresent(e){return this.rowModel.isRowPresent(e)?this.beans.pagination?.isRowInPage(e.rowIndex)??!0:!1}createRowCon(e,t,a){const n=this.cachedRowCtrls?.getRow(e)??null;if(n)return n;const r=a&&!this.printLayout&&!!this.beans.animationFrameSvc?.active;return new sc(e,this.beans,t,r,this.printLayout)}getRenderedNodes(){const e=Object.values(this.rowCtrlsByRowIndex).map(n=>n.rowNode),t=this.getStickyTopRowCtrls().map(n=>n.rowNode),a=this.getStickyBottomRowCtrls().map(n=>n.rowNode);return[...t,...e,...a]}getRowByPosition(e){let t;const{rowIndex:a}=e;switch(e.rowPinned){case"top":t=this.topRowCtrls[a];break;case"bottom":t=this.bottomRowCtrls[a];break;default:t=this.rowCtrlsByRowIndex[a],t||(t=this.getStickyTopRowCtrls().find(n=>n.rowNode.rowIndex===a)||null,t||(t=this.getStickyBottomRowCtrls().find(n=>n.rowNode.rowIndex===a)||null));break}return t}isRangeInRenderedViewport(e,t){if(e==null||t==null)return!1;const n=e>this.lastRenderedRow;return!(tthis.maxCount){const t=this.entriesList[0];t.destroyFirstPass(),t.destroySecondPass(),this.removeFromCache(t)}}getRow(e){if(e?.id==null)return null;const t=this.entriesMap[e.id];return t?(this.removeFromCache(t),t.setCached(!1),t.rowNode!=e?null:t):null}has(e){return this.entriesMap[e.id]!=null}removeRow(e){const t=e.id,a=this.entriesMap[t];delete this.entriesMap[t],Ae(this.entriesList,a)}removeFromCache(e){const t=e.rowNode.id;delete this.entriesMap[t],Ae(this.entriesList,e)}getEntries(){return this.entriesList}};function Jg(e){if(!e)return;const t={top:{},bottom:{},normal:{}};for(const a of e){const n=a.id;switch(a.rowPinned){case"top":t.top[n]=a;break;case"bottom":t.bottom[n]=a;break;default:t.normal[n]=a;break}}return t}function $g(e,t){const a=e.id;switch(e.rowPinned){case"top":return t.top[a]!=null;case"bottom":return t.bottom[a]!=null;default:return t.normal[a]!=null}}var ED=class extends F{constructor(){super(...arguments),this.beanName="rowNodeSorter",this.accentedSort=!1,this.primaryColumnsSortGroups=!1,this.pivotActive=!1}postConstruct(){this.firstLeaf=se(this.gos)?On:PD,this.addManagedPropertyListeners(["accentedSort","autoGroupColumnDef","treeData"],this.updateOptions.bind(this));const e=this.updatePivotModeState.bind(this);this.addManagedEventListeners({columnPivotModeChanged:e,columnPivotChanged:e}),this.updateOptions(),e()}updateOptions(){this.accentedSort=!!this.gos.get("accentedSort"),this.primaryColumnsSortGroups=ba(this.gos)}updatePivotModeState(){this.pivotActive=this.beans.colModel.isPivotActive()}doFullSortInPlace(e,t){return e.sort((a,n)=>this.compareRowNodes(t,a,n))}compareRowNodes(e,t,a){if(t===a)return 0;const n=this.accentedSort;for(let r=0,o=e.length;r{if(e.data)return e;let t=e.childrenAfterGroup;for(;t?.length;){const a=t[0];if(a.data)return a;t=a.childrenAfterGroup}},Qb=e=>{if(!e)return e;if(typeof e=="bigint")return e<0n?-e:e;const t=Number(e);return isNaN(t)?e:Math.abs(t)};function AD(e){e.sortSvc?.onSortChanged("api")}var Or=(e,t)=>({tag:"span",ref:`eSort${e}`,cls:`ag-sort-indicator-icon ag-sort-${t} ag-hidden`,attrs:{"aria-hidden":"true"}}),TD={tag:"span",cls:"ag-sort-indicator-container",children:[Or("Order","order"),Or("Asc","ascending-icon"),Or("Desc","descending-icon"),Or("Mixed","mixed-icon"),Or("AbsoluteAsc","absolute-ascending-icon"),Or("AbsoluteDesc","absolute-descending-icon"),Or("None","none-icon")]},eh=class extends T{constructor(e){super(),this.eSortOrder=x,this.eSortAsc=x,this.eSortDesc=x,this.eSortMixed=x,this.eSortNone=x,this.eSortAbsoluteAsc=x,this.eSortAbsoluteDesc=x,e||this.setTemplate(TD)}attachCustomElements(e,t,a,n,r,o,i){this.eSortOrder=e,this.eSortAsc=t,this.eSortDesc=a,this.eSortMixed=n,this.eSortNone=r,this.eSortAbsoluteAsc=o,this.eSortAbsoluteDesc=i}setupSort(e,t=!1,a){if(this.column=e,this.suppressOrder=t,this.getSortDefOverride=a,this.setupMultiSortIndicator(),!e.isSortable()&&!e.getColDef().showRowGroup)return;this.addInIcon("sortAscending",this.eSortAsc,e),this.addInIcon("sortDescending",this.eSortDesc,e),this.addInIcon("sortUnSort",this.eSortNone,e),this.addInIcon("sortAbsoluteAscending",this.eSortAbsoluteAsc,e),this.addInIcon("sortAbsoluteDescending",this.eSortAbsoluteDesc,e);const n=this.updateIcons.bind(this),r=this.onSortChanged.bind(this);this.addManagedPropertyListener("unSortIcon",n),this.addManagedEventListeners({newColumnsLoaded:n,sortChanged:r,columnRowGroupChanged:r}),this.onSortChanged()}addInIcon(e,t,a){if(t==null)return;const n=q(e,this.beans,a);n&&t.appendChild(n)}onSortChanged(){this.updateIcons(),this.suppressOrder||this.updateSortOrder()}updateIcons(){const{eSortAsc:e,eSortDesc:t,eSortAbsoluteAsc:a,eSortAbsoluteDesc:n,eSortNone:r,column:o,gos:i,beans:s}=this,l=lu(o,s,this.getSortDefOverride),c=l.isDefaultSortAllowed,d=l.isAbsoluteSortAllowed,{isAbsoluteSort:u,isDefaultSort:g,isAscending:h,isDescending:p,direction:f}=l;if(e&&G(e,h&&g&&c,{skipAriaHidden:!0}),t&&G(t,p&&g&&c,{skipAriaHidden:!0}),r){const m=!o.getColDef().unSortIcon&&!i.get("unSortIcon");G(r,!m&&!f,{skipAriaHidden:!0})}a&&G(a,h&&u&&d,{skipAriaHidden:!0}),n&&G(n,p&&u&&d,{skipAriaHidden:!0})}setupMultiSortIndicator(){const{eSortMixed:e,column:t,gos:a}=this;this.addInIcon("sortUnSort",e,t);const n=t.getColDef().showRowGroup;ba(a)&&n&&(this.addManagedEventListeners({sortChanged:this.updateMultiSortIndicator.bind(this),columnRowGroupChanged:this.updateMultiSortIndicator.bind(this)}),this.updateMultiSortIndicator())}updateMultiSortIndicator(){const{eSortMixed:e,beans:t,column:a}=this;if(e){const n=t.sortSvc.getDisplaySortForColumn(a)?.direction==="mixed";G(e,n,{skipAriaHidden:!0})}}updateSortOrder(){const{eSortOrder:e,column:t,beans:{sortSvc:a}}=this;if(!e)return;const n=a.getColumnsWithSortingOrdered(),r=a.getDisplaySortIndexForColumn(t)??-1,o=n.some(s=>a.getDisplaySortIndexForColumn(s)??-1>=1),i=r>=0&&o;G(e,i,{skipAriaHidden:!0}),r>=0?e.textContent=(r+1).toString():ee(e)}refresh(){this.onSortChanged()}},DD={selector:"AG-SORT-INDICATOR",component:eh},ID=class extends F{constructor(){super(...arguments),this.beanName="sortSvc"}progressSort(e,t,a){const n=this.getNextSortDirection(e);this.setSortForColumn(e,n,t,a)}progressSortFromEvent(e,t){const n=this.gos.get("multiSortKey")==="ctrl"?t.ctrlKey||t.metaKey:t.shiftKey;this.progressSort(e,n,"uiColumnSorted")}setSortForColumn(e,t,a,n){const{gos:r,showRowGroupCols:o}=this.beans,i=ba(r);let s=[e];if(i&&e.getColDef().showRowGroup){const u=o?.getSourceColumnsForGroupColumn?.(e)?.filter(g=>g.isSortable());u&&(s=[e,...u])}for(const d of s)this.setColSort(d,t,n);const l=(a||r.get("alwaysMultiSort"))&&!r.get("suppressMultiSort"),c=[];if(!l){const d=this.clearSortBarTheseColumns(s,n);c.push(...d)}this.updateSortIndex(e),c.push(...s),this.dispatchSortChangedEvents(n,c)}updateSortIndex(e){const{gos:t,colModel:a,showRowGroupCols:n}=this.beans,r=ba(t),o=n?.getShowRowGroupCol(e.getId()),i=r&&o||e,s=this.getColumnsWithSortingOrdered();a.forAllCols(d=>this.setColSortIndex(d,null));const l=s.filter(d=>r&&d.getColDef().showRowGroup?!1:d!==i);(i.getSortDef()?[...l,i]:l).forEach((d,u)=>this.setColSortIndex(d,u))}onSortChanged(e,t){this.dispatchSortChangedEvents(e,t)}isSortActive(){let e=!1;return this.beans.colModel.forAllCols(t=>{if(t.getSortDef())return e=!0,!0}),e}dispatchSortChangedEvents(e,t){const a={type:"sortChanged",source:e};t&&(a.columns=t),this.eventSvc.dispatchEvent(a)}clearSortBarTheseColumns(e,t){const a=[];return this.beans.colModel.forAllCols(n=>{e.includes(n)||(n.getSortDef()&&a.push(n),this.setColSort(n,void 0,t))}),a}getNextSortDirection(e,t){const a=e.getSortingOrder(),n=t===void 0?e.getSortDef():Ut(t);let o=a.findIndex(i=>ki(i,n))+1;return o>=a.length&&(o=0),Ut(a[o])}getIndexedSortMap(){const{gos:e,colModel:t,showRowGroupCols:a,rowGroupColsSvc:n}=this.beans;let r=[];if(t.forAllCols(c=>{c.getSortDef()&&r.push(c)}),t.isPivotMode()){const c=ba(e);r=r.filter(d=>{const u=!!d.getAggFunc(),g=!d.isPrimary(),h=c?a?.getShowRowGroupCol(d.getId()):d.getColDef().showRowGroup;return u||g||h})}const o=n?.columns.filter(c=>!!c.getSortDef())??[],i={};r.forEach((c,d)=>i[c.getId()]=d),r.sort((c,d)=>{const u=c.getSortIndex(),g=d.getSortIndex();if(u!=null&&g!=null)return u-g;if(u==null&&g==null){const h=i[c.getId()],p=i[d.getId()];return h>p?1:-1}else return g==null?-1:1});const s=ba(e)&&!!o.length;s&&(r=[...new Set(r.map(c=>a?.getShowRowGroupCol(c.getId())??c))]);const l=new Map;if(r.forEach((c,d)=>l.set(c,d)),s)for(const c of o){const d=a.getShowRowGroupCol(c.getId());l.set(c,l.get(d))}return l}getColumnsWithSortingOrdered(){return[...this.getIndexedSortMap().entries()].sort(([,e],[,t])=>e-t).map(([e])=>e)}collectSortItems(e=!1){const t=[],a=this.getColumnsWithSortingOrdered();for(const n of a){const r=n.getSortDef()?.direction;if(!r)continue;const o=ra(n.getSortDef()?.type),i={sort:r,type:o};e?i.colId=n.getId():i.column=n,t.push(i)}return t}getSortModel(){return this.collectSortItems(!0)}getSortOptions(){return this.collectSortItems()}canColumnDisplayMixedSort(e){const t=ba(this.gos),a=!!e.getColDef().showRowGroup;return t&&a}getDisplaySortForColumn(e){const t=this.beans.showRowGroupCols?.getSourceColumnsForGroupColumn(e);if(!this.canColumnDisplayMixedSort(e)||!t?.length)return e.getSortDef();const n=e.getColDef().field!=null||!!e.getColDef().valueGetter?[e,...t]:t,r=n[0].getSortDef();return n.every(i=>ki(i.getSortDef(),r))?r:{type:ra(e.getSortDef()?.type),direction:"mixed"}}getDisplaySortIndexForColumn(e){return this.getIndexedSortMap().get(e)}setupHeader(e,t){const a=()=>{const{type:n,direction:r}=Ut(t.getSortDef());if(e.toggleCss("ag-header-cell-sorted-asc",r==="asc"),e.toggleCss("ag-header-cell-sorted-desc",r==="desc"),e.toggleCss("ag-header-cell-sorted-abs-asc",n==="absolute"&&r==="asc"),e.toggleCss("ag-header-cell-sorted-abs-desc",n==="absolute"&&r==="desc"),e.toggleCss("ag-header-cell-sorted-none",!r),t.getColDef().showRowGroup){const s=!this.beans.showRowGroupCols?.getSourceColumnsForGroupColumn(t)?.every(l=>r==l.getSortDef()?.direction);e.toggleCss("ag-header-cell-sorted-mixed",s)}};e.addManagedEventListeners({sortChanged:a,columnPinned:a,columnRowGroupChanged:a,displayedColumnsChanged:a})}initCol(e){const{sortIndex:t,initialSortIndex:a}=e.colDef,n=gu(e.colDef);n&&e.setSortDef(n,!0),t!==void 0?t!==null&&(e.sortIndex=t):a!==null&&(e.sortIndex=a)}updateColSort(e,t,a){t!==void 0&&this.setColSort(e,Ut(t),a)}setColSort(e,t,a){ki(e.getSortDef(),t)||(e.setSortDef(Ut(t),t===void 0),e.dispatchColEvent("sortChanged",a)),e.dispatchStateUpdatedEvent("sort")}setColSortIndex(e,t){e.sortIndex=t,e.dispatchStateUpdatedEvent("sortIndex")}createSortIndicator(e){return new eh(e)}getSortIndicatorSelector(){return DD}},uc={moduleName:"Sort",version:N,beans:[ID,ED],apiFunctions:{onSortChanged:AD},userComponents:{agSortIndicator:eh},icons:{sortAscending:"asc",sortDescending:"desc",sortUnSort:"none",sortAbsoluteAscending:"aasc",sortAbsoluteDescending:"adesc"}},LD=class extends F{constructor(){super(...arguments),this.beanName="syncSvc",this.waitingForColumns=!1}postConstruct(){this.addManagedPropertyListener("columnDefs",e=>this.setColumnDefs(e))}start(){this.beans.ctrlsSvc.whenReady(this,()=>{const e=this.gos.get("columnDefs");e?this.setColumnsAndData(e):this.waitingForColumns=!0,this.gridReady()})}setColumnsAndData(e){const{colModel:t,rowModel:a}=this.beans;t.setColumnDefs(e??[],"gridInitializing"),a.start()}gridReady(){const{eventSvc:e,gos:t}=this;e.dispatchEvent({type:"gridReady"}),xn(t,`initialised successfully, enterprise = ${t.isModuleRegistered("EnterpriseCore")}`)}setColumnDefs(e){const t=this.gos.get("columnDefs");if(t){if(this.waitingForColumns){this.waitingForColumns=!1,this.setColumnsAndData(t);return}this.beans.colModel.setColumnDefs(t,Oa(e.source))}}};function zD(e){e.valueCache?.expire()}function OD(e,t){const{colKey:a,rowNode:n,useFormatter:r,from:o="edit"}=t,i=e.colModel.getColDefCol(a)??e.colModel.getCol(a);if(!i)return null;const s=e.valueSvc.getValueForDisplay({column:i,node:n,includeValueFormatted:r,from:o});return r?s.valueFormatted??ea(s.value):s.value}var GD="paste",VD=class extends F{constructor(){super(...arguments),this.beanName="changeDetectionSvc",this.deferredDepth=0,this.batchedPath=null,this.batchedNodes=null}destroy(){super.destroy(),this.batchedPath=null,this.batchedNodes=null}postConstruct(){this.csrm=st(this.beans),this.addManagedEventListeners({cellValueChanged:this.onCellValueChanged.bind(this)})}beginDeferred(){this.deferredDepth++}endDeferred(){if(this.deferredDepth===0||--this.deferredDepth>0)return;const e=this.batchedPath,t=this.batchedNodes;this.batchedPath=null,this.batchedNodes=null,e&&this.csrm?.doAggregate(e);const{rowRenderer:a}=this.beans;if(t)for(const n of t)Zb(a,n);if(e){const n=e.getSortedRows();for(let r=0,o=n.length;r{const{sibling:a,pinnedSibling:n}=t;e.refreshRowByNode(t),e.refreshRowByNode(a),e.refreshRowByNode(n),e.refreshRowByNode(a?.pinnedSibling),e.refreshRowByNode(n?.sibling)},BD=class extends F{constructor(){super(...arguments),this.beanName="expressionSvc",this.cache={}}evaluate(e,t){if(typeof e=="string")return this.evaluateExpression(e,t);J(15,{expression:e})}evaluateExpression(e,t){try{return this.createExpressionFunction(e)(t.value,t.context,t.oldValue,t.newValue,t.value,t.node,t.data,t.colDef,t.rowIndex,t.api,t.getValue,t.column,t.columnGroup)}catch(a){return J(16,{expression:e,params:t,e:a}),null}}createExpressionFunction(e){const t=this.cache;if(t[e])return t[e];const a=this.createFunctionBody(e),n=new Function("x, ctx, oldValue, newValue, value, node, data, colDef, rowIndex, api, getValue, column, columnGroup",a);return t[e]=n,n}createFunctionBody(e){return e.includes("return")?e:"return "+e+";"}},ND=class extends F{constructor(){super(...arguments),this.beanName="valueCache",this.cacheVersion=0}postConstruct(){const e=this.gos;this.active=e.get("valueCache"),this.neverExpires=e.get("valueCacheNeverExpires")}onDataChanged(){this.neverExpires||this.expire()}expire(){this.cacheVersion++}setValue(e,t,a){if(this.active){const n=this.cacheVersion;e.__cacheVersion!==n&&(e.__cacheVersion=n,e.__cacheData={}),e.__cacheData[t]=a}}getValue(e,t){if(!(!this.active||e.__cacheVersion!==this.cacheVersion))return e.__cacheData[t]}},Xb={moduleName:"ValueCache",version:N,beans:[ND],apiFunctions:{expireValueCache:zD}},HD={moduleName:"Expression",version:N,beans:[BD]},qD={moduleName:"ChangeDetection",version:N,beans:[VD]},Jb={moduleName:"CellApi",version:N,apiFunctions:{getCellValue:OD}},WD=class extends F{constructor(){super(...arguments),this.beanName="valueSvc",this.initialised=!1,this.isSsrm=!1}wireBeans(e){this.expressionSvc=e.expressionSvc,this.colModel=e.colModel,this.valueCache=e.valueCache,this.dataTypeSvc=e.dataTypeSvc,this.editSvc=e.editSvc,this.formulaDataSvc=e.formulaDataSvc,this.rowGroupColsSvc=e.rowGroupColsSvc}postConstruct(){this.initialised||this.init()}init(){const{gos:e,valueCache:t}=this;this.executeValueGetter=t?this.executeValueGetterWithValueCache.bind(this):this.executeValueGetterWithoutValueCache.bind(this),this.isSsrm=ft(e),this.cellExpressions=e.get("enableCellExpressions"),this.isTreeData=e.get("treeData"),this.initialised=!0;const a=n=>this.callColumnCellValueChangedHandler(n);this.eventSvc.addListener("cellValueChanged",a,!0),this.addDestroyFunc(()=>this.eventSvc.removeListener("cellValueChanged",a,!0)),this.addManagedPropertyListener("treeData",n=>this.isTreeData=n.currentValue)}getValueForDisplay(e){const t=this.beans,a=e.column,n=e.node,r=t.showRowGroupColValueSvc,o=!a&&n.group,i=a?.colDef.showRowGroup,s=!this.isTreeData||n.footer;if(r&&s&&(o||i)){const g=r.getGroupValue(n,a,this.displayIgnoresAggData(n));return g==null?{value:null,valueFormatted:null}:{value:g.value,valueFormatted:e.includeValueFormatted?r.formatAndPrefixGroupColValue(g,a,e.exporting):null}}if(!a)return{value:n.key,valueFormatted:null};let l=this.getValue(a,n,e.from,this.displayIgnoresAggData(n)),c=l;const d=t.formula;a.isAllowFormula()&&d?.isFormula(l)&&(e.useRawFormula?(l=d.normaliseFormula(l,!0),c=d.resolveValue(a,n)):(l=d.resolveValue(a,n),c=l));const u=e.includeValueFormatted&&!(e.exporting&&a.colDef.useValueFormatterForExport===!1);return{value:l,valueFormatted:u?this.formatValue(a,n,c):null}}getValue(e,t,a,n=!1){if(this.initialised||this.init(),!t)return;const r=e.colDef,o=t.group;if(!o){const l=r.pivotValueColumn;l&&(e=l)}const i=this.editSvc?.getPendingEditValue(t,e,a);if(i!==void 0)return i;let s=this.resolveValue(e,t,n,o);if(s===void 0){if(o){const l=r.showRowGroup;if(typeof l=="string"){const c=this.rowGroupColsSvc?.getColumnIndex(l);if(c!=null&&c>t.level)return null}}return}if(this.cellExpressions&&cr(s)){const l=s.substring(1);s=this.executeValueGetter(l,t.data,e,t)}return s}displayIgnoresAggData(e){return!e.group||e.footer||e.level===-1||!e.sibling||this.gos.get("groupSuppressBlankHeader")||e.leafGroup&&this.colModel.isPivotMode()?!1:!!e.expanded}resolveValue(e,t,a,n){const r=e.colDef,o=e.colId,i=!n&&this.formulaDataSvc;if(i&&i.hasDataSource()&&r.allowFormula===!0){const C=i.getFormula({column:e,rowNode:t});if(cr(C))return C}const s=n&&!a?t.aggData:void 0,l=this.isTreeData;if(l&&s?.[o]!==void 0)return s[o];const c=t.data,d=r.field,u=r.valueGetter;if(l){if(u)return this.executeValueGetter(u,c,e,t);if(d&&c)return _i(c,d,e.isFieldContainsDots())}const g=t.groupData;if(g&&o in g)return g[o];if(s?.[o]!==void 0)return s[o];const h=r.showRowGroup,p=typeof h!="string"||!n,f=this.isSsrm,m=f&&a&&!!r.aggFunc;if(u&&!m)return p?this.executeValueGetter(u,c,e,t):void 0;if(f&&t.footer&&t.field&&(h===!0||h===t.field))return _i(c,t.field,e.isFieldContainsDots());if(d&&c&&!m)return p?_i(c,d,e.isFieldContainsDots()):void 0}parseValue(e,t,a,n){const r=e.getColDef();if(r.allowFormula&&this.beans.formula?.isFormula(a))return a;const o=r.valueParser;if(A(o)){const i=B(this.gos,{node:t,data:t?.data,oldValue:n,newValue:a,colDef:r,column:e});return typeof o=="function"?o(i):this.expressionSvc?.evaluate(o,i)}return a}getDeleteValue(e,t){return A(e.getColDef().valueParser)?this.parseValue(e,t,"",this.getValueForDisplay({column:e,node:t,from:"edit"}).value)??null:null}formatValue(e,t,a,n,r=!0){const{expressionSvc:o}=this.beans;let i=null,s;const l=e.getColDef();if(n?s=n:r&&(s=l.valueFormatter),s){const c=t?t.data:null,d=B(this.gos,{value:a,node:t,data:c,colDef:l,column:e});typeof s=="function"?i=s(d):i=o?o.evaluate(s,d):null}else if(l.refData)return l.refData[a]||"";return i==null&&Array.isArray(a)&&(i=a.join(", ")),i}setValue(e,t,a,n){const r=t.getColDef();if(!e.data&&this.canCreateRowNodeData(e,r)&&(e.data={}),!this.isSetValueSupported(t,e,a,r))return!1;const o=this.getValue(t,e,"data"),i=B(this.gos,{node:e,data:e.data,oldValue:o,newValue:a,colDef:r,column:t});let s=!1;if(e.data){const c=this.handleExternalFormulaChange({column:t,eventSource:n,newValue:a,setterParams:i,rowNode:e});if(c!==null)return c;s=this.computeValueChange({column:t,rowNode:e,newValue:a,params:i,rowData:e.data,valueSetter:r.valueSetter,field:r.field})??!0}const l=this.beans.changeDetectionSvc;l?.beginDeferred();try{if(e.group){const c=this.beans.rowGroupingEditValueSvc?.setGroupDataValue(e,t,a,o,n,s||a!==o);if(c!==void 0)return!s&&!c?!1:this.finishValueChange(e,t,i,n,a)}return s?this.finishValueChange(e,t,i,n):!1}finally{l?.endDeferred()}}canCreateRowNodeData(e,t){return e.group?!(t.groupRowValueSetter!=null||t.groupRowEditable!=null||t.pivotValueColumn):!0}finishValueChange(e,t,a,n,r){e.resetQuickFilterAggregateText(),this.valueCache?.onDataChanged();const o=r===void 0?this.getValue(t,e,"data"):r;return this.dispatchCellValueChangedEvent(e,a,o,n),e.pinnedSibling&&this.dispatchCellValueChangedEvent(e.pinnedSibling,a,o,n),!0}isSetValueSupported(e,t,a,n){const{field:r,valueSetter:o}=n,i=this.beans.formula,s=e.isAllowFormula()&&i?.isFormula(a),l=!!this.formulaDataSvc?.hasDataSource();return ie(r)&&ie(o)&&!(l&&s)?t.group&&(n.groupRowValueSetter||n.groupRowEditable)?!0:(R(17),!1):this.dataTypeSvc&&!this.dataTypeSvc.checkType(e,a)?(R(135),!1):!0}handleExternalFormulaChange(e){const{column:t,rowNode:a,newValue:n,eventSource:r,setterParams:o}=e,i=this.beans.formula,s=this.formulaDataSvc;if(!s?.hasDataSource()||!t.isAllowFormula())return null;const l=i?.isFormula(n),c=s.getFormula({column:t,rowNode:a});if(l){if(!(c!==n))return!1;s.setFormula({column:t,rowNode:a,formula:n});const u=i?.resolveValue(t,a),g=t.getColDef();if(A(g.valueSetter)||!ie(g.field)){const h={...o,newValue:u};this.computeValueChange({column:t,rowNode:a,newValue:u,params:h,rowData:a.data,valueSetter:g.valueSetter,field:g.field})}return this.finishValueChange(a,t,o,r)}return c!==void 0&&s.setFormula({column:t,rowNode:a,formula:void 0}),null}computeValueChange(e){const{valueSetter:t,params:a,rowData:n,field:r,column:o,newValue:i}=e;return A(t)?typeof t=="function"?t(a):this.expressionSvc?.evaluate(t,a):!!n&&this.setValueUsingField(n,r,i,o.isFieldContainsDots())}dispatchCellValueChangedEvent(e,t,a,n){this.eventSvc.dispatchEvent({type:"cellValueChanged",event:null,rowIndex:e.rowIndex,rowPinned:e.rowPinned,column:t.column,colDef:t.colDef,data:e.data,node:e,oldValue:t.oldValue,newValue:a,newRawValue:t.newValue,value:a,source:n})}callColumnCellValueChangedHandler(e){const t=e.colDef.onCellValueChanged;typeof t=="function"&&this.beans.frameworkOverrides.wrapOutgoing(()=>{t(e)})}setValueUsingField(e,t,a,n){if(!t)return!1;let r=!1;if(!n)r=e[t]===a,r||(e[t]=a);else{const o=t.split(".");let i=e;for(;o.length>0&&i;){const s=o.shift();o.length===0?(r=i[s]===a,r||(i[s]=a)):i=i[s]}}return!r}executeValueGetterWithValueCache(e,t,a,n){const r=a.getColId(),o=this.valueCache.getValue(n,r);if(o!==void 0)return o;const i=this.executeValueGetterWithoutValueCache(e,t,a,n);return this.valueCache.setValue(n,r,i),i}executeValueGetterWithoutValueCache(e,t,a,n){const r=B(this.gos,{data:t,node:n,column:a,colDef:a.getColDef(),getValue:i=>this.getValueCallback(n,i)});let o;return typeof e=="function"?o=e(r):o=this.expressionSvc?.evaluate(e,r),o}getValueCallback(e,t){const a=this.colModel.getColDefCol(t);return a?this.getValue(a,e,"data"):null}getKeyForNode(e,t){const a=this.getValue(e,t,"data"),n=e.getColDef().keyCreator;let r=a;if(n){const o=B(this.gos,{value:a,colDef:e.getColDef(),column:e,node:t,data:t.data});r=n(o)}return typeof r=="string"||r==null||(r=String(r),r==="[object Object]"&&R(121)),r}},UD={moduleName:"CommunityCore",version:N,beans:[A3,bE,qP,dF,kD,V2,k3,Q3,W2,YT,KT,FD,WD,E3,x3,P3,UP,LD,OP,GP,iT],icons:{selectOpen:"small-down",smallDown:"small-down",colorPicker:"color-picker",smallUp:"small-up",checkboxChecked:"small-up",checkboxIndeterminate:"checkbox-indeterminate",checkboxUnchecked:"checkbox-unchecked",radioButtonOn:"radio-button-on",radioButtonOff:"radio-button-off",smallLeft:"small-left",smallRight:"small-right"},apiFunctions:{getGridId:hC,destroy:wE,isDestroyed:yE,getGridOption:SE,setGridOption:xE,updateGridOptions:pC,isModuleRegistered:kE},dependsOn:[LP,jl,x2,uc,aT,Sg,nT,xD,qD,oT,ts,JT,tD,cT,NP,zP,HD,J2,rD]};function Ro(e){const{inputValue:t,allSuggestions:a,hideIrrelevant:n,filterByPercentageOfBestMatch:r}=e;let o=(a??[]).map((l,c)=>({value:l,relevance:jD(t,l),idx:c}));if(o.sort((l,c)=>l.relevance-c.relevance),n&&(o=o.filter(l=>l.relevance0&&r&&r>0){const c=o[0].relevance*r;o=o.filter(d=>c-d.relevance<0)}const i=[],s=[];for(const l of o)i.push(l.value),s.push(l.idx);return{values:i,indices:s}}function jD(e,t){const a=e.length,n=t.length;if(n===0)return a||0;let r=e.toLocaleLowerCase(),o=t.toLocaleLowerCase(),i;e.length1&&p>1){const v=e[u-2],C=r[u-2],b=t[p-2],y=o[p-2];C===y&&(c++,v===b&&c++)}u`No AG Grid modules are registered! It is recommended to start with all Community features via the AllCommunityModule:
import { ModuleRegistry, AllCommunityModule } from 'ag-grid-community';
ModuleRegistry.registerModules([ AllCommunityModule ]);
`,QD=e=>{const t=e.map(n=>`import { ${ns(n)} } from '${$b[n]?"ag-grid-enterprise":"ag-grid-community"}';`);return e.some(n=>n==="IntegratedCharts"||n==="Sparklines")&&t.push("import { AgChartsEnterpriseModule } from 'ag-charts-enterprise';"),`import { ModuleRegistry } from 'ag-grid-community';
${t.join(`
`)}
ModuleRegistry.registerModules([ ${e.map(n=>ns(n,!0)).join(", ")} ]);
For more info see: ${ro}/modules/`};function ns(e,t=!1){return t&&(e==="IntegratedCharts"||e==="Sparklines")?`${e}Module.with(AgChartsEnterpriseModule)`:`${e}Module`}function ZD(e,t){const a=t.filter(o=>o==="IntegratedCharts"||o==="Sparklines");let n="";return!globalThis?.agCharts&&a.length>0?n=`Unable to use ${e} as either the ag-charts-community or ag-charts-enterprise script needs to be included alongside ag-grid-enterprise.
`:t.some(o=>$b[o])&&(n=n+`Unable to use ${e} as that requires the ag-grid-enterprise script to be included.
`),n}function tw({moduleName:e,rowModelType:t}){return`To use the ${e}Module you must set the gridOption "rowModelType='${t}'"`}var aw=({reasonOrId:e,moduleName:t,gridScoped:a,gridId:n,rowModelType:r,additionalText:o,isUmd:i})=>{const s=YD(t,r),l=typeof e=="string"?e:eI[e];if(i)return ZD(l,s);const c=s.filter(g=>g==="IntegratedCharts"||g==="Sparklines"),d=c.length>0?`${c.map(g=>ns(g)).join()} must be initialised with an AG Charts module. One of 'AgChartsCommunityModule' / 'AgChartsEnterpriseModule'.`:"";return`${`Unable to use ${l} as ${s.length>1?"one of "+s.map(g=>ns(g)).join(", "):ns(s[0])} is not registered${a?" for gridId: "+n:""}. ${d} Check if you have registered the module:
`}
${QD(s)}`+(o?`
${o}`:"")},nw=e=>`${e} must be initialised with an AG Charts module. One of 'AgChartsCommunityModule' / 'AgChartsEnterpriseModule'.
import { AgChartsEnterpriseModule } from 'ag-charts-enterprise';
import { ModuleRegistry } from 'ag-grid-community';
import { ${e} } from 'ag-grid-enterprise';
ModuleRegistry.registerModules([${e}.with(AgChartsEnterpriseModule)]);
`,XD=e=>`AG Grid: Unable to use the Clipboard API (navigator.clipboard.${e}()). The reason why it could not be used has been logged in the previous line. For this reason the grid has defaulted to using a workaround which doesn't perform as well. Either fix why Clipboard API is blocked, OR stop this message from appearing by setting grid property suppressClipboardApi=true (which will default the grid to using the workaround rather than the API.`,JD={1:()=>"`rowData` must be an array",2:({nodeId:e})=>`Duplicate node id '${e}' detected from getRowId callback, this could cause issues in your grid.`,3:()=>"Calling gridApi.resetRowHeights() makes no sense when using Auto Row Height.",4:({id:e})=>`Could not find row id=${e}, data item was not found for this id`,5:({data:e})=>["Could not find data item as object was not found.",e," Consider using getRowId to help the Grid find matching row data"],6:()=>"'groupHideOpenParents' only works when specifying specific columns for 'colDef.showRowGroup'",7:()=>"Pivoting is not supported with aligned grids as it may produce different columns in each grid.",8:({key:e})=>`Unknown key for navigation ${e}`,9:({variable:e})=>`No value for ${e?.cssName}. This usually means that the grid has been initialised before styles have been loaded. The default value of ${e?.defaultValue} will be used and updated when styles load.`,10:({eventType:e})=>`As of v33, the '${e}' event is deprecated. Use the global 'modelUpdated' event to determine when row children have changed.`,11:()=>"No gridOptions provided to createGrid",12:({colKey:e})=>["column ",e," not found"],13:()=>"Could not find rowIndex, this means tasks are being executed on a rowNode that has been removed from the grid.",14:({groupPrefix:e})=>`Row IDs cannot start with ${e}, this is a reserved prefix for AG Grid's row grouping feature.`,15:({expression:e})=>["value should be either a string or a function",e],16:({expression:e,params:t,e:a})=>["Processing of the expression failed","Expression = ",e,"Params = ",t,"Exception = ",a],17:()=>"you need either field or valueSetter set on colDef for editing to work",18:()=>"alignedGrids contains an undefined option.",19:()=>"alignedGrids - No api found on the linked grid.",20:()=>`You may want to configure via a callback to avoid setup race conditions:
"alignedGrids: () => [linkedGrid]"`,21:()=>"pivoting is not supported with aligned grids. You can only use one of these features at a time in a grid.",22:({key:e})=>`${e} is an initial property and cannot be updated.`,23:()=>"The return of `getRowHeight` cannot be zero. If the intention is to hide rows, use a filter instead.",24:()=>"row height must be a number if not using standard row model",25:({id:e})=>["The getRowId callback must return a string. The ID ",e," is being cast to a string."],26:({fnName:e,preDestroyLink:t})=>`Grid API function ${e}() cannot be called as the grid has been destroyed.
Either clear local references to the grid api, when it is destroyed, or check gridApi.isDestroyed() to avoid calling methods against a destroyed grid.
To run logic when the grid is about to be destroyed use the gridPreDestroy event. See: ${t}`,27:({fnName:e,module:t})=>`API function '${e}' not registered to module '${t}'`,28:()=>"setRowCount cannot be used while using row grouping.",29:()=>"tried to call sizeColumnsToFit() but the grid is coming back with zero width, maybe the grid is not visible yet on the screen?",30:({toIndex:e})=>["tried to insert columns in invalid location, toIndex = ",e,"remember that you should not count the moving columns when calculating the new index"],31:()=>"infinite loop in resizeColumnSets",32:()=>"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.",33:()=>"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.",34:({key:e})=>`the column type '${e}' is a default column type and cannot be overridden.`,35:()=>"Column type definitions 'columnTypes' with a 'type' attribute are not supported because a column type cannot refer to another column type. Only column definitions 'columnDefs' can use the 'type' attribute to refer to a column type.",36:({t:e})=>"colDef.type '"+e+"' does not correspond to defined gridOptions.columnTypes",37:()=>"Changing the column pinning status is not allowed with domLayout='print'",38:({iconName:e})=>`provided icon '${e}' needs to be a string or a function`,39:()=>"Applying column order broke a group where columns should be married together. Applying new order has been discarded.",40:({e,method:t})=>`${e}
${XD(t)}`,41:()=>"Browser did not allow document.execCommand('copy'). Ensure 'api.copySelectedRowsToClipboard() is invoked via a user event, i.e. button click, otherwise the browser will prevent it for security reasons.",42:()=>"Browser does not support document.execCommand('copy') for clipboard operations",43:({iconName:e})=>`As of v33, icon '${e}' is deprecated. Use the icon CSS name instead.`,44:()=>'Data type definition hierarchies (via the "extendsDataType" property) cannot contain circular references.',45:({parentCellDataType:e})=>`The data type definition ${e} does not exist.`,46:()=>'The "baseDataType" property of a data type definition must match that of its parent.',47:({cellDataType:e})=>`Missing data type definition - "${e}"`,48:({property:e,inferred:t,colId:a})=>{const n=t?" (inferred)":"",r=a?` for column "${a}"`:"";return`Cell data type is "object"${n} but no Value ${e} has been provided${r}. Please either provide an object data type definition with a Value ${e}, or set:
- "colDef.value${e}"${t&&e==="Parser"?`
- "colDef.cellDataType = 'object'"`:""}`},49:({methodName:e})=>`Framework component is missing the method ${e}()`,50:({compName:e})=>`Could not find component ${e}, did you forget to configure this component?`,51:()=>"Export cancelled. Export is not allowed as per your configuration.",52:()=>"There is no `window` associated with the current `document`",53:()=>"unknown value type during csv conversion",54:()=>"Could not find document body, it is needed for drag and drop and context menu.",55:()=>"addRowDropZone - A container target needs to be provided",56:()=>"addRowDropZone - target already exists in the list of DropZones. Use `removeRowDropZone` before adding it again.",57:()=>"unable to show popup filter, filter instantiation failed",58:()=>"no values found for select cellEditor",59:()=>"cannot select pinned rows",60:()=>"cannot select node until it has finished loading",61:()=>"since version v32.2.0, rowNode.isFullWidthCell() has been deprecated. Instead check `rowNode.detail` followed by the user provided `isFullWidthRow` grid option.",62:({colId:e})=>`setFilterModel() - no column found for colId: ${e}`,63:({colId:e})=>`setFilterModel() - unable to fully apply model, filtering disabled for colId: ${e}`,64:({colId:e})=>`setFilterModel() - unable to fully apply model, unable to create filter for colId: ${e}`,65:()=>"filter missing setModel method, which is needed for setFilterModel",66:()=>"filter API missing getModel method, which is needed for getFilterModel",67:()=>"Filter is missing isFilterActive() method",68:()=>"Column Filter API methods have been disabled as Advanced Filters are enabled.",69:({guiFromFilter:e})=>`getGui method from filter returned ${e}; it should be a DOM element.`,70:({newFilter:e})=>`Grid option quickFilterText only supports string inputs, received: ${typeof e}`,71:()=>"debounceMs is ignored when apply button is present",72:({keys:e})=>["ignoring FilterOptionDef as it doesn't contain one of ",e],73:()=>"invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'",74:()=>"no filter options for filter",75:()=>"Unknown button type specified",76:({filterModelType:e})=>['Unexpected type of filter "',e,'", it looks like the filter was configured with incorrect Filter Options'],77:()=>"Filter model is missing 'conditions'",78:()=>'Filter Model contains more conditions than "filterParams.maxNumConditions". Additional conditions have been ignored.',79:()=>'"filterParams.maxNumConditions" must be greater than or equal to zero.',80:()=>'"filterParams.numAlwaysVisibleConditions" must be greater than or equal to zero.',81:()=>'"filterParams.numAlwaysVisibleConditions" cannot be greater than "filterParams.maxNumConditions".',82:({param:e})=>`DateFilter ${e} is not a number`,83:()=>"DateFilter minValidYear should be <= maxValidYear",84:()=>"DateFilter minValidDate should be <= maxValidDate",85:()=>"DateFilter should not have both minValidDate and minValidYear parameters set at the same time! minValidYear will be ignored.",86:()=>"DateFilter should not have both maxValidDate and maxValidYear parameters set at the same time! maxValidYear will be ignored.",87:()=>"DateFilter parameter minValidDate should always be lower than or equal to parameter maxValidDate.",88:({index:e})=>`Invalid row index for ensureIndexVisible: ${e}`,89:()=>"A template was provided for Header Group Comp - templates are only supported for Header Comps (not groups)",90:()=>"datasource is missing getRows method",91:()=>"Filter is missing method doesFilterPass",92:()=>"AnimationFrameService called but animation frames are off",93:()=>"cannot add multiple ranges when `cellSelection.suppressMultiRanges = true`",94:({paginationPageSizeOption:e,pageSizeSet:t,pageSizesSet:a,pageSizeOptions:n})=>`'paginationPageSize=${e}'${t?"":" (default value)"}, but ${e} is not included in${a?"":" the default"} paginationPageSizeSelector=[${n?.join(", ")}].`,95:({paginationPageSizeOption:e,paginationPageSizeSelector:t})=>`Either set '${t}' to an array that includes ${e} or to 'false' to disable the page size selector.`,96:({id:e,data:t})=>["Duplicate ID",e,"found for pinned row with data",t,"When `getRowId` is defined, it must return unique IDs for all pinned rows. Use the `rowPinned` parameter."],97:({colId:e})=>`cellEditor for column ${e} is missing getGui() method`,98:()=>"popup cellEditor does not work with fullRowEdit - you cannot use them both - either turn off fullRowEdit, or stop using popup editors.",99:()=>"Since v32, `api.hideOverlay()` does not hide the loading overlay when `loading=true`. Set `loading=false` instead.",101:({propertyName:e,componentName:t,agGridDefaults:a,jsComps:n})=>{const r=[],o=[...Object.keys(a??[]).filter(s=>!["agCellEditor","agGroupRowRenderer","agSortIndicator"].includes(s)),...Object.keys(n??[]).filter(s=>!!n[s])],i=Ro({inputValue:t,allSuggestions:o,hideIrrelevant:!0,filterByPercentageOfBestMatch:.8}).values;return r.push(`Could not find '${t}' component. It was configured as "${e}: '${t}'" but it wasn't found in the list of registered components.
`),i.length>0&&r.push(` Did you mean: [${i.slice(0,3)}]?
`),r.push("If using a custom component check it has been registered correctly."),r},102:()=>"selectAll: 'filtered' only works when gridOptions.rowModelType='clientSide'",103:()=>"Invalid selection state. When using client-side row model, the state must conform to `string[]`.",104:({value:e,param:t})=>`Numeric value ${e} passed to ${t} param will be interpreted as ${e} seconds. If this is intentional use "${e}s" to silence this warning.`,105:({e})=>["chart rendering failed",e],106:()=>`Theming API and Legacy Themes are both used in the same page. A Theming API theme has been provided to the 'theme' grid option, but the file (ag-grid.css) is also included and will cause styling issues. Remove ag-grid.css from the page. See the migration guide: ${ro}/theming-migration/`,107:({key:e,value:t})=>`Invalid value for theme param ${e} - ${t}`,108:({e})=>["chart update failed",e],109:({inputValue:e,allSuggestions:t})=>{const a=Ro({inputValue:e,allSuggestions:t,hideIrrelevant:!0,filterByPercentageOfBestMatch:.8}).values;return[`Could not find '${e}' aggregate function. It was configured as "aggFunc: '${e}'" but it wasn't found in the list of registered aggregations.`,a.length>0?` Did you mean: [${a.slice(0,3)}]?`:"","If using a custom aggregation function check it has been registered correctly."].join(`
`)},110:()=>"groupHideOpenParents only works when specifying specific columns for colDef.showRowGroup",111:()=>"Invalid selection state. When `groupSelects` is enabled, the state must conform to `IServerSideGroupSelectionState`.",113:()=>"Set Filter cannot initialise because you are using a row model that does not contain all rows in the browser. Either use a different filter type, or configure Set Filter such that you provide it with values",114:({component:e})=>`Could not find component with name of ${e}. Is it in Vue.components?`,116:()=>"Invalid selection state. The state must conform to `IServerSideSelectionState`.",117:()=>"selectAll must be of boolean type.",118:()=>"Infinite scrolling must be enabled in order to set the row count.",119:()=>"Unable to instantiate filter",120:()=>"MultiFloatingFilterComp expects MultiFilter as its parent",121:()=>"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 (see AG Grid docs) or b) to toString() on the object to return a key",122:()=>"could not find the document, document is empty",123:()=>"Advanced Filter is only supported with the Client-Side Row Model or Server-Side Row Model.",124:()=>"No active charts to update.",125:({chartId:e})=>`Unable to update chart. No active chart found with ID: ${e}.`,126:()=>"unable to restore chart as no chart model is provided",127:({allRange:e})=>`unable to create chart as ${e?"there are no columns in the grid":"no range is selected"}.`,128:({feature:e})=>`${e} is only available if using 'multiRow' selection mode.`,129:({feature:e,rowModel:t})=>`${e} is only available if using 'clientSide' or 'serverSide' rowModelType, you are using ${t}.`,130:()=>'cannot multi select unless selection mode is "multiRow"',132:()=>"Row selection features are not available unless `rowSelection` is enabled.",133:({iconName:e})=>`icon '${e}' function should return back a string or a dom object`,134:({iconName:e})=>`Did not find icon '${e}'`,135:()=>"Data type of the new value does not match the cell data type of the column",136:()=>"Unable to update chart as the 'type' is missing. It must be either 'rangeChartUpdate', 'pivotChartUpdate', or 'crossFilterChartUpdate'.",137:({type:e,currentChartType:t})=>`Unable to update chart as a '${e}' update type is not permitted on a ${t}.`,138:({chartType:e})=>`invalid chart type supplied: ${e}`,139:({customThemeName:e})=>`a custom chart theme with the name ${e} has been supplied but not added to the 'chartThemes' list`,140:({name:e})=>`no stock theme exists with the name '${e}' and no custom chart theme with that name was supplied to 'customChartThemes'`,141:()=>"cross filtering with row grouping is not supported.",142:()=>"cross filtering is only supported in the client side row model.",143:({panel:e})=>`'${e}' is not a valid Chart Tool Panel name`,144:({type:e})=>`Invalid charts data panel group name supplied: '${e}'`,145:({group:e})=>`As of v32, only one charts customize panel group can be expanded at a time. '${e}' will not be expanded.`,146:({comp:e})=>`Unable to instantiate component '${e}' as its module hasn't been loaded. Add 'ValidationModule' to see which module is required.`,147:({group:e})=>`Invalid charts customize panel group name supplied: '${e}'`,148:({group:e})=>`invalid chartGroupsDef config '${e}'`,149:({group:e,chartType:t})=>`invalid chartGroupsDef config '${e}.${t}'`,150:()=>"'seriesChartTypes' are required when the 'customCombo' chart type is specified.",151:({chartType:e})=>`invalid chartType '${e}' supplied in 'seriesChartTypes', converting to 'line' instead.`,152:({colId:e})=>`no 'seriesChartType' found for colId = '${e}', defaulting to 'line'.`,153:({chartDataType:e})=>`unexpected chartDataType value '${e}' supplied, instead use 'category', 'series' or 'excluded'`,154:({colId:e})=>`cross filtering requires a 'agSetColumnFilter' or 'agMultiColumnFilter' to be defined on the column with id: ${e}`,155:({option:e})=>`'${e}' is not a valid Chart Toolbar Option`,156:({panel:e})=>`Invalid panel in chartToolPanelsDef.panels: '${e}'`,157:({unrecognisedGroupIds:e})=>["unable to find group(s) for supplied groupIds:",e],158:()=>"can not expand a column item that does not represent a column group header",159:()=>"Invalid params supplied to createExcelFileForExcel() - `ExcelExportParams.data` is empty.",160:()=>"Export cancelled. Export is not allowed as per your configuration.",161:()=>"The Excel Exporter is currently on Multi Sheet mode. End that operation by calling 'api.getMultipleSheetAsExcel()' or 'api.exportMultipleSheetsAsExcel()'",162:({id:e,dataType:t})=>`Unrecognized data type for excel export [${e}.dataType=${t}]`,163:({featureName:e})=>`Excel table export does not work with ${e}. The exported Excel file will not contain any Excel tables.
Please turn off ${e} to enable Excel table exports.`,164:()=>"Unable to add data table to Excel sheet: A table already exists.",165:()=>"Unable to add data table to Excel sheet: Missing required parameters.",166:({unrecognisedGroupIds:e})=>["unable to find groups for these supplied groupIds:",e],167:({unrecognisedColIds:e})=>["unable to find columns for these supplied colIds:",e],168:()=>"detailCellRendererParams.template should be function or string",169:()=>'Reference to eDetailGrid was missing from the details template. Please add data-ref="eDetailGrid" to the template.',170:({providedStrategy:e})=>`invalid cellRendererParams.refreshStrategy = ${e} supplied, defaulting to refreshStrategy = 'rows'.`,171:()=>"could not find detail grid options for master detail, please set gridOptions.detailCellRendererParams.detailGridOptions",172:()=>"could not find getDetailRowData for master / detail, please set gridOptions.detailCellRendererParams.getDetailRowData",173:({group:e})=>`invalid chartGroupsDef config '${e}'`,174:({group:e,chartType:t})=>`invalid chartGroupsDef config '${e}.${t}'`,175:({menuTabName:e,itemsToConsider:t})=>[`Trying to render an invalid menu item '${e}'. Check that your 'menuTabs' contains one of `,t],176:({key:e})=>`unknown menu item type ${e}`,177:()=>"valid values for cellSelection.handle.direction are 'x', 'y' and 'xy'. Default to 'xy'.",178:({colId:e})=>`column ${e} is not visible`,179:()=>"totalValueGetter should be either a function or a string (expression)",180:()=>"agRichSelectCellEditor requires cellEditorParams.values to be set",181:()=>"agRichSelectCellEditor cannot have `multiSelect` and `allowTyping` set to `true`. AllowTyping has been turned off.",182:()=>'you cannot mix groupDisplayType = "multipleColumns" with treeData, only one column can be used to display groups when doing tree data',183:()=>"Group Column Filter only works on group columns. Please use a different filter.",184:({parentGroupData:e,childNodeData:t})=>["duplicate group keys for row data, keys should be unique",[e,t]],185:({data:e})=>["getDataPath() should not return an empty path",[e]],186:({rowId:e,rowData:t,duplicateRowsData:a})=>["duplicate group keys for row data, keys should be unique",e,t,...a??[]],187:({rowId:e,firstData:t,secondData:a})=>[`Duplicate node id ${e}. Row IDs are provided via the getRowId() callback. Please modify the getRowId() callback code to provide unique row id values.`,"first instance",t,"second instance",a],188:e=>`getRowId callback must be provided for Server Side Row Model ${e?.feature||"selection"} to work correctly.`,189:({startRow:e})=>`invalid value ${e} for startRow, the value should be >= 0`,190:({rowGroupId:e,data:t})=>["null and undefined values are not allowed for server side row model keys",e?`column = ${e}`:"","data is ",t],194:({method:e})=>`calling gridApi.${e}() is only possible when using rowModelType=\`clientSide\`.`,195:({justCurrentPage:e})=>`selecting just ${e?"current page":"filtered"} only works when gridOptions.rowModelType='clientSide'`,196:({key:e})=>`Provided ids must be of string type. Invalid id provided: ${e}`,197:()=>"`toggledNodes` must be an array of string ids.",199:()=>"getSelectedNodes and getSelectedRows functions cannot be used with select all functionality with the server-side row model. Use `api.getServerSideSelectionState()` instead.",200:aw,201:({rowModelType:e})=>`Could not find row model for rowModelType = ${e}`,202:()=>"`getSelectedNodes` and `getSelectedRows` functions cannot be used with `groupSelectsChildren` and the server-side row model. Use `api.getServerSideSelectionState()` instead.",203:()=>"Server Side Row Model does not support Dynamic Row Height and Cache Purging. Either a) remove getRowHeight() callback or b) remove maxBlocksInCache property. Purging has been disabled.",204:()=>"Server Side Row Model does not support Auto Row Height and Cache Purging. Either a) remove colDef.autoHeight or b) remove maxBlocksInCache property. Purging has been disabled.",205:({duplicateIdText:e})=>`Unable to display rows as duplicate row ids (${e}) were returned by the getRowId callback. Please modify the getRowId callback to provide unique ids.`,206:()=>"getRowId callback must be implemented for transactions to work. Transaction was ignored.",207:()=>'The Set Filter Parameter "defaultToNothingSelected" value was ignored because it does not work when "excelMode" is used.',208:()=>"Set Filter Value Formatter must return string values. Please ensure the Set Filter Value Formatter returns string values for complex objects.",209:()=>`Set Filter Key Creator is returning null for provided values and provided values are primitives. Please provide complex objects. See ${ro}/filter-set-filter-list/#filter-value-types`,210:()=>"Set Filter has a Key Creator, but provided values are primitives. Did you mean to provide complex objects?",211:()=>"property treeList=true for Set Filter params, but you did not provide a treeListPathGetter or values of type Date.",212:()=>"please review all your toolPanel components, it seems like at least one of them doesn't have an id",213:()=>"Advanced Filter does not work with Filters Tool Panel. Filters Tool Panel has been disabled.",214:({key:e})=>`unable to lookup Tool Panel as invalid key supplied: ${e}`,215:({key:e,defaultByKey:t})=>`the key ${e} is not a valid key for specifying a tool panel, valid keys are: ${Object.keys(t??{}).join(",")}`,216:({name:e})=>`Missing component for '${e}'`,217:({invalidColIds:e})=>["unable to find grid columns for the supplied colDef(s):",e],218:({property:e,defaultOffset:t})=>`${e} must be a number, the value you provided is not a valid number. Using the default of ${t}px.`,219:({property:e})=>`Property ${e} does not exist on the target object.`,220:({lineDash:e})=>`'${e}' is not a valid 'lineDash' option.`,221:()=>"agAggregationComponent should only be used with the client and server side row model.",222:()=>"agFilteredRowCountComponent should only be used with the client side row model.",223:()=>"agSelectedRowCountComponent should only be used with the client and server side row model.",224:()=>"agTotalAndFilteredRowCountComponent should only be used with the client side row model.",225:()=>"agTotalRowCountComponent should only be used with the client side row model.",226:()=>"viewport is missing init method.",227:()=>"menu item icon must be DOM node or string",228:({menuItemOrString:e})=>`unrecognised menu item ${e}`,230:()=>"detailCellRendererParams.template is not supported by AG Grid React. To change the template, provide a Custom Detail Cell Renderer. See https://www.ag-grid.com/react-data-grid/master-detail-custom-detail/",231:()=>"As of v32, using custom components with `reactiveCustomComponents = false` is deprecated.",232:()=>"Using both rowData and v-model. rowData will be ignored.",233:({methodName:e})=>`Framework component is missing the method ${e}()`,234:()=>'Group Column Filter does not work with the colDef property "field". This property will be ignored.',235:()=>'Group Column Filter does not work with the colDef property "filterValueGetter". This property will be ignored.',236:()=>'Group Column Filter does not work with the colDef property "filterParams". This property will be ignored.',237:()=>"Group Column Filter does not work with Tree Data enabled. Please disable Tree Data, or use a different filter.",238:()=>"setRowCount can only accept a positive row count.",239:()=>'Theming API and CSS File Themes are both used in the same page. In v33 we released the Theming API as the new default method of styling the grid. See the migration docs https://www.ag-grid.com/react-data-grid/theming-migration/. Because no value was provided to the `theme` grid option it defaulted to themeQuartz. But the file (ag-grid.css) is also included and will cause styling issues. Either pass the string "legacy" to the theme grid option to use v32 style themes, or remove ag-grid.css from the page to use Theming API.',240:({theme:e})=>`theme grid option must be a Theming API theme object or the string "legacy", received: ${e}`,243:()=>"Failed to deserialize state - each provided state object must be an object.",244:()=>"Failed to deserialize state - `selectAllChildren` must be a boolean value or undefined.",245:()=>"Failed to deserialize state - `toggledNodes` must be an array.",246:()=>"Failed to deserialize state - Every `toggledNode` requires an associated string id.",247:()=>`Row selection state could not be parsed due to invalid data. Ensure all child state has toggledNodes or does not conform with the parent rule.
Please rebuild the selection state and reapply it.`,248:()=>"SetFloatingFilter expects SetFilter as its parent",249:()=>"Must supply a Value Formatter in Set Filter params when using a Key Creator",250:()=>"Must supply a Key Creator in Set Filter params when `treeList = true` on a group column, and Tree Data or Row Grouping is enabled.",251:({chartType:e})=>`AG Grid: Unable to create chart as an invalid chartType = '${e}' was supplied.`,252:()=>`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.`,253:({version:e})=>["Illegal version string: ",e],254:()=>"Cannot create chart: no chart themes available.",255:({point:e})=>`Lone surrogate U+${e?.toString(16).toUpperCase()} is not a scalar value`,256:()=>"Unable to initialise. See validation error, or load ValidationModule if missing.",257:()=>nw("IntegratedChartsModule"),258:()=>nw("SparklinesModule"),259:({part:e})=>`the argument to theme.withPart must be a Theming API part object, received: ${e}`,260:({propName:e,compName:t,gridScoped:a,gridId:n,rowModelType:r})=>aw({reasonOrId:`AG Grid '${e}' component: ${t}`,moduleName:wo[t],gridId:n,gridScoped:a,rowModelType:r}),261:()=>"As of v33, `column.isHovered()` is deprecated. Use `api.isColumnHovered(column)` instead.",262:()=>'As of v33, icon key "smallDown" is deprecated. Use "advancedFilterBuilderSelect" for Advanced Filter Builder dropdown, "selectOpen" for Select cell editor and dropdowns (e.g. Integrated Charts menu), "richSelectOpen" for Rich Select cell editor.',263:()=>'As of v33, icon key "smallLeft" is deprecated. Use "panelDelimiterRtl" for Row Group Panel / Pivot Panel, "subMenuOpenRtl" for sub-menus.',264:()=>'As of v33, icon key "smallRight" is deprecated. Use "panelDelimiter" for Row Group Panel / Pivot Panel, "subMenuOpen" for sub-menus.',265:({colId:e})=>`Unable to infer chart data type for column '${e}' if first data entry is null. Please specify "chartDataType", or a "cellDataType" in the column definition. For more information, see ${ro}/integrated-charts-range-chart#coldefchartdatatype .`,266:()=>'As of v33.1, using "keyCreator" with the Rich Select Editor has been deprecated. It now requires the "formatValue" callback to convert complex data to strings.',267:()=>"Detail grids can not use a different theme to the master grid, the `theme` detail grid option will be ignored.",268:()=>"Transactions aren't supported with tree data when using treeDataChildrenField",269:()=>"When `masterSelects: 'detail'`, detail grids must be configured with multi-row selection",270:({id:e,parentId:t})=>`Cycle detected for row with id='${e}' and parent id='${t}'. Resetting the parent for row with id='${e}' and showing it as a root-level node.`,271:({id:e,parentId:t})=>`Parent row not found for row with id='${e}' and parent id='${t}'. Showing row with id='${e}' as a root-level node.`,272:()=>ew(),273:({providedId:e,usedId:t})=>`Provided column id '${e}' was already in use, ensure all column and group ids are unique. Using '${t}' instead.`,274:({prop:e})=>{let t=`Since v33, ${e} has been deprecated.`;switch(e){case"maxComponentCreationTimeMs":t+=" This property is no longer required and so will be removed in a future version.";break;case"setGridApi":t+=" This method is not called by AG Grid. To access the GridApi see: https://ag-grid.com/react-data-grid/grid-interface/#grid-api ";break;case"children":t+=" For multiple versions AgGridReact does not support children.";break}return t},275:tw,276:()=>"Row Numbers Row Resizer cannot be used when Grid Columns have `autoHeight` enabled.",277:({colId:e})=>`'enableFilterHandlers' is set to true, but column '${e}' does not have 'filter.doesFilterPass' or 'filter.handler' set.`,278:({colId:e})=>`Unable to create filter handler for column '${e}'`,279:e=>{},280:({colId:e})=>`'name' must be provided for custom filter components for column '${e}`,281:({colId:e})=>`Filter for column '${e}' does not have 'filterParams.buttons', but the new Filters Tool Panel has buttons configured. Either configure buttons for the filter, or disable buttons on the Filters Tool Panel.`,282:()=>"New filter tool panel requires `enableFilterHandlers: true`.",283:()=>"As of v34, use the same method on the filter handler (`api.getColumnFilterHandler(colKey)`) instead.",284:()=>"As of v34, filters are active when they have a model. Use `api.getColumnFilterModel()` instead.",285:()=>"As of v34, use (`api.getColumnFilterModel()`) instead.",286:()=>"As of v34, use (`api.setColumnFilterModel()`) instead.",287:()=>"`api.doFilterAction()` requires `enableFilterHandlers = true",288:()=>"`api.getColumnFilterModel(key, true)` requires `enableFilterHandlers = true",289:({rowModelType:e})=>`Row Model '${e}' is not supported with Batch Editing`,290:({rowIndex:e,rowPinned:t})=>`Row with index '${e}' and pinned state '${t}' not found`,291:()=>"License Key being set multiple times with different values. This can result in an incorrect license key being used,",292:({colId:e})=>`The Multi Filter for column '${e}' has buttons configured against the child filters. When 'enableFilterHandlers=true', buttons must instead be provided against the parent Multi Filter params. The child filter buttons will be ignored.`,293:()=>"The grid was initialised detached from the DOM and was then inserted into a Shadow Root. Theme styles are probably broken. Pass the themeStyleContainer grid option to let the grid know where in the document to insert theme CSS.",294:()=>"When using the `agRichSelectCellEditor` setting `filterListAsync = true` requires `allowTyping = true` and the `values()` callback must return a Promise of filtered values.",295:({blockedService:e})=>`colDef.allowFormula is not supported with ${e}. Formulas has been turned off.`,296:()=>"Since v35, `api.hideOverlay()` does not hide the overlay when `activeOverlay` is set. Set `activeOverlay=null` instead.",297:()=>'`api.hideOverlay()` does not hide the no matching rows overlay as it is only controlled by grid state. Set `suppressOverlays=["noMatchingRows"] to not show it.',298:()=>"Columns Tool Panel 'buttons' requires 'apply' to enable Deferred Updates."};function $D(e,t){const a=JD[e];if(!a)return[`Missing error text for error id ${e}!`];const n=a(t),o=`
See ${Vm(e,t)}`;return Array.isArray(n)?n.concat(o):[n,o]}var eI={1:"Charting Aggregation",2:"pivotResultFields",3:"setTooltip"},rw=class{constructor(e="javascript"){this.frameworkName=e,this.renderingEngine="vanilla",this.batchFrameworkComps=!1,this.wrapIncoming=t=>t(),this.wrapOutgoing=t=>t(),this.baseDocLink=`${km}/${this.frameworkName}-data-grid`,DR(this.baseDocLink)}frameworkComponent(e){return null}isFrameworkComponent(e){return!1}getDocLink(e){return this.baseDocLink+(e?"/"+e:"")}},ah=new WeakMap,nh=new WeakMap;function ow(e,t,a){if(!t)return J(11),{};const n=a;let r;if(!n?.setThemeOnGridDiv){const i=re({tag:"div"});i.style.height="100%",e.appendChild(i),e=i,r=()=>e.remove()}return new iw().create(e,t,i=>{const s=new vE(e);i.createBean(s)},void 0,a,r)}var tI=1,iw=class{create(e,t,a,n,r,o){const i=Ci.applyGlobalGridOptions(t),s=i.gridId??String(tI++),l=this.getRegisteredModules(r,s,i.rowModelType),c=this.createBeansList(i.rowModelType,l,s),d=this.createProvidedBeans(e,i,r);if(!c)return;const g={providedBeanInstances:d,beanClasses:c,id:s,beanInitComparator:lM,beanDestroyComparator:cM,derivedBeans:[iM],destroyCallback:()=>{nh.delete(p),ah.delete(e),MR(s),o?.()}},h=new Tv(g);this.registerModuleFeatures(h,l),a(h),h.getBean("syncSvc").start(),n?.(h);const p=h.getBean("gridApi");return ah.set(e,p),nh.set(p,e),p}getRegisteredModules(e,t,a){return no(UD,void 0,!0),e?.modules?.forEach(n=>no(n,t)),ER(t,sw(a))}registerModuleFeatures(e,t){const a=e.getBean("registry"),n=e.getBean("apiFunctionSvc");for(const r of t){a.registerModule(r);const o=r.apiFunctions;if(o){const i=Object.keys(o);for(const s of i)n?.addFunction(s,o[s])}}}createProvidedBeans(e,t,a){let n=a?a.frameworkOverrides:null;ie(n)&&(n=new rw);const r={gridOptions:t,eGridDiv:e,eRootDiv:e,globalListener:a?a.globalListener:null,globalSyncListener:a?a.globalSyncListener:null,frameworkOverrides:n,withinStudio:a?.withinStudio};return a?.providedBeanInstances&&Object.assign(r,a.providedBeanInstances),r}createBeansList(e,t,a){const n={clientSide:"ClientSideRowModel",infinite:"InfiniteRowModel",serverSide:"ServerSideRowModel",viewport:"ViewportRowModel"},r=sw(e),o=n[r];if(!o){bi(201,{rowModelType:r},`Unknown rowModelType ${r}.`);return}if(!AR()){bi(272,void 0,ew());return}if(!e){const s=Object.entries(n).filter(([l,c])=>Xd(c,a,l));if(s.length==1){const[l,c]=s[0];if(l!==r){const d={moduleName:c,rowModelType:l};bi(275,d,tw(d));return}}}if(!Xd(o,a,r)){const s=$d(),l=`rowModelType = '${r}'`,c=s?`Unable to use ${l} as that requires the ag-grid-enterprise script to be included.
`:`Missing module ${o}Module for rowModelType ${r}.`;bi(200,{reasonOrId:l,moduleName:o,gridScoped:Jd(),gridId:a,rowModelType:r,isUmd:s},c);return}const i=new Set;for(const s of t)for(const l of s.beans??[])i.add(l);return Array.from(i)}};function sw(e){return e??"clientSide"}function aI(e){if(typeof e=="string")try{e=document.querySelector(`[grid-id="${e}"]`)?.parentElement??document.querySelector(e)?.firstElementChild??document.getElementById(e)?.firstElementChild}catch{e=null}return e?ah.get(e):void 0}function nI(e){return nh.get(e)}function lw(e,t=!1){const a=[],n=[],r=[],o=[],i=[],s=[],l=[],c=[],d=[];let u=0;for(let g=0;gt!=null)}function cw(e){const t=[];for(const{groupId:a,open:n}of e)n&&t.push(a);return t.length?{openColumnGroupIds:t}:void 0}function rI(e){return{columnGroup:cw(e)}}var oI=class extends F{constructor(){super(...arguments),this.beanName="alignedGridsSvc",this.consuming=!1}getAlignedGridApis(){let e=this.gos.get("alignedGrids")??[];const t=typeof e=="function";return typeof e=="function"&&(e=e()),e.map(n=>{if(!n){J(18),t||J(20);return}if(this.isGridApi(n))return n;const r=n;return"current"in r?r.current?.api:(r.api||J(19),r.api)}).filter(n=>!!n&&!n.isDestroyed())}isGridApi(e){return!!e&&!!e.dispatchEvent}postConstruct(){const e=this.fireColumnEvent.bind(this);this.addManagedEventListeners({columnMoved:e,columnVisible:e,columnPinned:e,columnGroupOpened:e,columnResized:e,bodyScroll:this.fireScrollEvent.bind(this),alignedGridColumn:({event:t})=>this.onColumnEvent(t),alignedGridScroll:({event:t})=>this.onScrollEvent(t)})}fireEvent(e){if(!this.consuming)for(const t of this.getAlignedGridApis())t.isDestroyed()||t.dispatchEvent(e)}onEvent(e){this.consuming=!0,e(),this.consuming=!1}fireColumnEvent(e){this.fireEvent({type:"alignedGridColumn",event:e})}fireScrollEvent(e){e.direction==="horizontal"&&this.fireEvent({type:"alignedGridScroll",event:e})}onScrollEvent(e){this.onEvent(()=>{this.beans.ctrlsSvc.getScrollFeature().setHorizontalScrollPosition(e.left,!0)})}extractDataFromEvent(e,t){const a=[];return e.columns?e.columns.forEach(n=>{a.push(t(n))}):e.column&&a.push(t(e.column)),a}getMasterColumns(e){return this.extractDataFromEvent(e,t=>t)}getColumnIds(e){return this.extractDataFromEvent(e,t=>t.getColId())}onColumnEvent(e){this.onEvent(()=>{switch(e.type){case"columnMoved":case"columnVisible":case"columnPinned":case"columnResized":{this.processColumnEvent(e);break}case"columnGroupOpened":{this.processGroupOpenedEvent(e);break}case"columnPivotChanged":R(21);break}})}processGroupOpenedEvent(e){const{colGroupSvc:t}=this.beans;if(t)for(const a of e.columnGroups){let n=null;a&&(n=t.getProvidedColGroup(a.getGroupId())),!(a&&!n)&&t.setColumnGroupOpened(n,a.isExpanded(),"alignedGridChanged")}}processColumnEvent(e){const t=e.column;let a=null;const n=this.beans,{colResize:r,ctrlsSvc:o,colModel:i}=n;if(t&&(a=i.getColDefCol(t.getColId())),t&&!a)return;const s=this.getMasterColumns(e);switch(e.type){case"columnMoved":{const u=e.api.getColumnState().map(g=>({colId:g.colId}));Ye(n,{state:u,applyOrder:!0},"alignedGridChanged")}break;case"columnVisible":{const u=e.api.getColumnState().map(g=>({colId:g.colId,hide:g.hide}));Ye(n,{state:u},"alignedGridChanged")}break;case"columnPinned":{const u=e.api.getColumnState().map(g=>({colId:g.colId,pinned:g.pinned}));Ye(n,{state:u},"alignedGridChanged")}break;case"columnResized":{const d=e,u={};for(const g of s)u[g.getId()]={key:g.getColId(),newWidth:g.getActualWidth()};for(const g of d.flexColumns??[])u[g.getId()]&&delete u[g.getId()];r?.setColumnWidths(Object.values(u),!1,d.finished,"alignedGridChanged");break}}const c=o.getGridBodyCtrl().isVerticalScrollShowing();for(const d of this.getAlignedGridApis())d.setGridOption("alwaysShowVerticalScroll",c)}},dw={moduleName:"AlignedGrids",version:N,beans:[oI],dependsOn:[Yl]};function iI(e,t={}){const a=t?t.rowNodes:void 0;e.frameworkOverrides.wrapIncoming(()=>e.rowRenderer.redrawRows(a))}function uw(e,t,a,n,r){t&&(n&&t.parent&&t.parent.level!==-1&&uw(e,t.parent,a,n,r),t.setExpanded(a,void 0,r))}function sI(e,t){return e.rowModel.getRowNode(t)}function lI(e,t,a,n){e.rowRenderer.addRenderedRowListener(t,a,n)}function cI(e){return e.rowRenderer.getRenderedNodes()}function dI(e,t,a){e.rowModel.forEachNode(t,a)}function uI(e){return e.rowRenderer.firstRenderedRow}function gI(e){return e.rowRenderer.lastRenderedRow}function hI(e,t){return e.rowModel.getRow(t)}function pI(e){return e.rowModel.getRowCount()}function fI(e){return e.ctrlsSvc.getScrollFeature().getVScrollPosition()}function mI(e){return e.ctrlsSvc.getScrollFeature().getHScrollPosition()}function gw(e,t,a="auto"){e.frameworkOverrides.wrapIncoming(()=>e.ctrlsSvc.getScrollFeature().ensureColumnVisible(t,a),"ensureVisible")}function hw(e,t,a){e.frameworkOverrides.wrapIncoming(()=>e.ctrlsSvc.getScrollFeature().ensureIndexVisible(t,a),"ensureVisible")}function vI(e,t,a=null){e.frameworkOverrides.wrapIncoming(()=>e.ctrlsSvc.getScrollFeature().ensureNodeVisible(t,a),"ensureVisible")}var pw={moduleName:"RowApi",version:N,apiFunctions:{redrawRows:iI,setRowNodeExpanded:uw,getRowNode:sI,addRenderedRowListener:lI,getRenderedNodes:cI,forEachNode:dI,getFirstDisplayedRowIndex:uI,getLastDisplayedRowIndex:gI,getDisplayedRowAtIndex:hI,getDisplayedRowCount:pI}},fw={moduleName:"ScrollApi",version:N,apiFunctions:{getVerticalPixelRange:fI,getHorizontalPixelRange:mI,ensureColumnVisible:gw,ensureIndexVisible:hw,ensureNodeVisible:vI}};function CI(e){e.expansionSvc?.expandAll(!0)}function bI(e){e.expansionSvc?.expandAll(!1)}function gc(e){e.rowModel?.onRowHeightChanged()}function hc(e){if(e.rowAutoHeight?.active){R(3);return}e.rowModel?.resetRowHeights()}function wI(e){e.expansionSvc?.resetExpansion()}function yI(e,t,a){const n=uo(e);if(n){if(e.rowGroupColsSvc?.columns.length===0){if(t<0){J(238);return}n.setRowCount(t,a);return}J(28);return}Fl(e)?.setRowCount(t,a)}function SI(e){return ft(e.gos)?e.rowModel.getBlockStates():e.rowNodeBlockLoader?.getBlockState()??{}}function xI(e){return e.rowModel.isLastRowIndexKnown()}var oh={moduleName:"CsrmSsrmSharedApi",version:N,apiFunctions:{expandAll:CI,collapseAll:bI,resetRowGroupExpansion:wI}},ih={moduleName:"RowModelSharedApi",version:N,apiFunctions:{onRowHeightChanged:gc,resetRowHeights:hc}},sh={moduleName:"SsrmInfiniteSharedApi",version:N,apiFunctions:{setRowCount:yI,getCacheBlockState:SI,isLastRowIndexKnown:xI}},mw=(e,t)=>{for(let a=0,n=e.length;a{if(a!=null){const o=a.getSortedRows();for(let i=0,s=o.length;i{const c=s.level+1;for(let d=0,u=l.length;d{if(!u&&u!==void 0){const b=v.sourceRowIndex;u=b<=g,g=b}v.data!==C&&(v.updateData(C),i.has(v)||s.add(v),!v.selectable&&v.isSelected()&&c.push(v))},f=(v,C,b)=>{for(let y=0,S=C.length;y0;if(m){const v=a._leafs??(a._leafs=[]);u===void 0?PI(v,l,o):EI(v,l)&&(o.reordered=!0)}(m||h||s.size)&&(e.rowDataUpdated=!0,this.deselect(c))}deleteUnusedNodes(e,{removals:t},a,n){const r=this.rootNode._leafs;for(let o=0,i=r.length;o0}updateRowData(e,t,a){if(this.dispatchRowDataUpdateStarted(e.add),this.beans.groupStage?.getNestedDataGetter())return R(268),{remove:[],update:[],add:[]};const n=[],r=Da(this.gos),o=this.executeRemove(r,e,t,n,a),i=this.executeUpdate(r,e,t,n),s=this.executeAdd(e,t);return this.deselect(n),{remove:o,update:i,add:s}}executeRemove(e,{remove:t},{adds:a,updates:n,removals:r},o,i){const s=this.rootNode._leafs,l=s?.length,c=t?.length;if(!c||!l)return[];let d=0,u=l,g=0;const h=new Array(c);for(let p=0;pg&&(g=m),h[d++]=f,this.destroyNode(f,i)&&(f.isSelected()&&o.push(f),a.delete(f)||(n.delete(f),r.push(f)))}return h.length=d,d&&MI(s,u,g),h}executeUpdate(e,{update:t},{adds:a,updates:n},r){const o=t?.length;if(!o)return[];const i=new Array(o);let s=0;for(let l=0;l=l;--u){const h=n[u];h.sourceRowIndex=g,n[g--]=h}t.reordered=!0}n.length=s;const c=new Array(i),d=t.adds;for(let u=0;u=a||Number.isNaN(t))return a;t=Math.ceil(t);const n=this.gos;return t>0&&n.get("treeData")&&n.get("getDataPath")&&(t=RI(e,t)),t}},RI=(e,t)=>{for(let a=0,n=e.length;a{e.group=!0,e.level=-1,e._expanded=!0,e.id="ROOT_NODE_ID",e._leafs?.length!==0&&(e._leafs=[]);const t=[],a=[],n=[],r=[];e.childrenAfterGroup=t,e.childrenAfterSort=a,e.childrenAfterAggFilter=n,e.childrenAfterFilter=r;const o=e.sibling;return o&&(o.childrenAfterGroup=t,o.childrenAfterSort=a,o.childrenAfterAggFilter=n,o.childrenAfterFilter=r,o.childrenMapped=e.childrenMapped),e.updateHasChildren(),e},FI=(e,t)=>{if(e)for(let a=0,n=e.length;a{t=Math.max(0,t);for(let n=t,r=e.length;n{const a=t.size;e.length=a;let n=0,r=!1,o=!1;for(const i of t){const s=i.sourceRowIndex;s===n?o||(o=r):(s>=0?o=!0:r=!0,i.sourceRowIndex=n,e[n]=i),++n}return o},PI=(e,t,{adds:a})=>{const n=e.length,r=t.size;r>n&&(e.length=r);let o=0;for(let i=0;i{n.hasChildren()&&e&&!r?n.childrenAfterFilter=n.childrenAfterGroup.filter(o=>{const i=o.childrenAfterFilter&&o.childrenAfterFilter.length>0,s=o.data&&this.filterManager.doesRowPassFilter({rowNode:o});return i||s}):n.childrenAfterFilter=n.childrenAfterGroup,lh(n)};if(this.doingTreeDataFiltering()){const n=(r,o)=>{if(r.childrenAfterGroup)for(let i=0;ia(r,!1);Et(this.beans.rowModel.rootNode,this.beans.rowModel.hierarchical,t,n)}}softFilter(e,t){const a=r=>{if(r.childrenAfterFilter=r.childrenAfterGroup,r.hasChildren())for(const o of r.childrenAfterGroup)o.softFiltered=e&&!(o.data&&this.filterManager.doesRowPassFilter({rowNode:o}));lh(r)},n=this.beans.rowModel;Et(n.rootNode,n.hierarchical,t,a)}doingTreeDataFiltering(){const{gos:e}=this;return!!this.beans.groupStage?.treeData&&!e.get("excludeChildrenWhenTreeDataFiltering")}},TI=4,DI=(e,t,a,n,r)=>{const o=t.childrenAfterSort,i=t.childrenAfterAggFilter;if(!i)return o&&o.length>0?o:[];const s=i.length;if(s<=1)return o?.length===s&&(s===0||o[0]===i[0])?o:i.slice();if(!o||s<=TI)return e.doFullSortInPlace(i.slice(),r);const l=new Map,{updates:c,adds:d}=a,u=[];for(let h=0;he.compareRowNodes(r,h,p)||~l.get(h)-~l.get(p)),g===s?u:II(e,r,u,o,l,s))},II=(e,t,a,n,r,o)=>{const i=new Array(o);let s=0,l=a[s],c,d=-1,u=0,g=0;const h=a.length,p=n.length;for(;;){if(d<0){if(u>=p)break;if(c=n[u++],d=r.get(c)??-1,d<0)continue}if((e.compareRowNodes(t,l,c)||~r.get(l)-d)<0){if(i[g++]=l,++s>=h)break;l=a[s]}else i[g++]=c,d=-1}for(;s=0&&(i[g++]=f)}return i},LI=(e,t,a)=>{let n=0;a.length=t.size;for(let r=0,o=e.length;r{const t=e.childrenAfterSort,a=e.sibling;if(a&&(a.childrenAfterSort=t),!!t)for(let n=0,r=t.length-1;n<=r;n++){const o=t[n],i=n===0,s=n===r;o.firstChild!==i&&(o.firstChild=i,o.dispatchRowEvent("firstChildChanged")),o.lastChild!==s&&(o.lastChild=s,o.dispatchRowEvent("lastChildChanged")),o.childIndex!==n&&(o.childIndex=n,o.dispatchRowEvent("childIndexChanged"))}},zI=class extends F{constructor(){super(...arguments),this.beanName="sortStage",this.step="sort",this.refreshProps=["postSortRows","groupDisplayType","accentedSort"]}execute(e,t){const a=this.beans.sortSvc.getSortOptions(),n=a.length>0&&!!t&&this.gos.get("deltaSort"),{gos:r,colModel:o,rowGroupColsSvc:i,rowNodeSorter:s,rowRenderer:l,showRowGroupCols:c}=this.beans,d=r.get("groupMaintainOrder"),u=o.getCols().some(C=>C.isRowGroupActive()),g=i?.columns,h=o.isPivotMode(),p=r.getCallback("postSortRows");let f=!1,m;const v=C=>{const b=h&&C.leafGroup;let y=d&&u&&!C.leafGroup;y&&(m??(m=this.shouldSortContainsGroupCols(a)),y&&(y=!m));let S=null;if(y){let k=!1;if(g){const M=C.level+1;M{const t=e.childrenAfterSort,a=e.childrenAfterAggFilter,n=t?.length,r=a?.length;if(!n||!r)return null;const o=new Array(r),i=new Set;for(let l=0;l{this.beans.groupStage?.invalidateGroupCols(),this.refreshModel({step:"group",afterColumnsChanged:!0,keepRenderedRows:!0,animate:!this.gos.get("suppressAnimationFrame")})};this.addManagedEventListeners({newColumnsLoaded:a,columnRowGroupChanged:a,columnValueChanged:this.onValueChanged.bind(this),columnPivotChanged:()=>this.refreshModel({step:"pivot"}),columnPivotModeChanged:()=>this.refreshModel({step:"group"}),filterChanged:this.onFilterChanged.bind(this),sortChanged:this.onSortChanged.bind(this),stylesChanged:this.onGridStylesChanges.bind(this),gridReady:this.onGridReady.bind(this),rowExpansionStateChanged:this.onRowGroupOpened.bind(this)}),this.addPropertyListeners()}addPropertyListeners(){const{beans:e,stagesRefreshProps:t}=this,a=[e.groupStage,e.filterStage,e.pivotStage,e.aggStage,e.sortStage,e.filterAggStage,e.flattenStage].filter(n=>!!n);this.stages=a;for(let n=a.length-1;n>=0;--n){const r=a[n];for(const o of r.refreshProps)t.set(o,n)}this.addManagedPropertyListeners([...t.keys(),"rowData"],n=>{const r=n.changeSet?.properties;r&&this.onPropChange(r)}),this.addManagedPropertyListener("rowHeight",()=>this.resetRowHeights())}start(){this.started=!0,this.rowNodesCountReady?this.refreshModel({step:"group",rowDataUpdated:!0,newData:!0}):this.setInitialData()}setInitialData(){this.gos.get("rowData")&&this.onPropChange(["rowData"])}ensureRowHeightsValid(e,t,a,n){let r,o=!1;do{r=!1;const i=this.getRowIndexAtPixel(e),s=this.getRowIndexAtPixel(t),l=Math.max(i,a),c=Math.min(s,n);for(let d=l;d<=c;d++){const u=this.getRow(d);if(u.rowHeightEstimated){const g=Xe(this.beans,u);u.setRowHeight(g.height),r=!0,o=!0}}r&&this.setRowTopAndRowIndex()}while(r);return o}onPropChange(e){const{nodeManager:t,gos:a,beans:n}=this,r=n.groupStage;if(!t)return;const o=new Set(e),i=r?.onPropChange(o);let s;o.has("rowData")?s=a.get("rowData"):i&&(s=r?.extractData()),s&&!Array.isArray(s)&&(s=null,R(1));const l={step:"nothing",changedProps:o};if(s){const d=!i&&!this.isEmpty()&&s.length>0&&a.exists("getRowId")&&!a.get("resetRowDataOnUpdate");this.refreshingData=!0,d?(l.keepRenderedRows=!0,l.animate=!a.get("suppressAnimationFrame"),l.changedRowNodes=new Pr,t.setImmutableRowData(l,s)):(l.rowDataUpdated=!0,l.newData=!0,t.setNewRowData(s),this.rowNodesCountReady=!0)}const c=l.rowDataUpdated?"group":this.getRefreshedStage(e);c&&(l.step=c,this.refreshModel(l))}getRefreshedStage(e){const{stages:t,stagesRefreshProps:a}=this;if(!t)return null;const n=t.length;let r=n;for(let o=0,i=e.length;o{o?.id!=null&&!t.has(o.id)&&o.clearRowTopAndRowIndex()},n=o=>{a(o),a(o.detailNode),a(o.sibling);const i=o.childrenAfterGroup;if(!(!o.hasChildren()||!i)&&!(e&&o.level!==-1&&!o.expanded))for(let s=0,l=i.length;s{let c=o[l];if(this.gos.get("groupHideOpenParents"))for(;c.expanded&&c.childrenAfterSort&&c.childrenAfterSort.length>0;)c=c.childrenAfterSort[0];return c.rowIndex},s=t.footerSvc;return s?s?.getTopDisplayIndex(n,e,o,i):i(e)}getTopLevelIndexFromDisplayedIndex(e){const{rootNode:t,rowsToDisplay:a}=this;if(!t||!a.length||a[0]===t)return e;let r=this.getRow(e);r.footer&&(r=r.sibling);let o=r.parent;for(;o&&o!==t;)r=o,o=r.parent;const i=t.childrenAfterSort?.indexOf(r)??-1;return i>=0?i:e}getRowBounds(e){const t=this.rowsToDisplay[e];return t?{rowTop:t.rowTop,rowHeight:t.rowHeight}:null}onRowGroupOpened(){this.refreshModel({step:"map",keepRenderedRows:!0,animate:Cr(this.gos)})}onFilterChanged({afterDataChange:e,columns:t}){if(!e){const n=t.length===0||t.some(r=>r.isPrimary())?"filter":"filter_aggregates";this.refreshModel({step:n,keepRenderedRows:!0,animate:Cr(this.gos)})}}onSortChanged(){this.refreshModel({step:"sort",keepRenderedRows:!0,animate:Cr(this.gos)})}getType(){return"clientSide"}onValueChanged(){this.refreshModel({step:this.beans.colModel.isPivotActive()?"pivot":"aggregate"})}isSuppressModelUpdateAfterUpdateTransaction(e){if(!this.gos.get("suppressModelUpdateAfterUpdateTransaction"))return!1;const{changedRowNodes:t,newData:a,rowDataUpdated:n}=e;return!(!t||a||!n||t.removals.length||t.adds.size)}reMapRows(){if(this.refreshingModel||this.refreshingData){this.noKeepRenderedRows=!0,this.noKeepUndoRedoStack=!0,this.noAnimate=!0;return}this.refreshModel({step:"map",keepRenderedRows:!1,keepUndoRedoStack:!1,animate:!1})}refreshModel(e){const{nodeManager:t,eventSvc:a,started:n}=this;if(!t)return;const r=!!e.rowDataUpdated;if(n&&r&&a.dispatchEvent({type:"rowDataUpdated"}),this.deferRefresh(e)){this.setPendingRefreshFlags(e),this.rowDataUpdatedPending||(this.rowDataUpdatedPending=r);return}this.rowDataUpdatedPending&&(this.rowDataUpdatedPending=!1,e.step="group"),this.updateRefreshParams(e);let o=!1;this.refreshingModel=!0;try{this.executeRefresh(e,r),o=!0}finally{this.refreshingData=!1,this.refreshingModel=!1,o||this.setPendingRefreshFlags(e)}this.clearPendingRefreshFlags(),a.dispatchEvent({type:"modelUpdated",animate:e.animate,keepRenderedRows:e.keepRenderedRows,newData:e.newData,newPage:!1,keepUndoRedoStack:e.keepUndoRedoStack})}executeRefresh(e,t){const{beans:a,rootNode:n}=this;a.masterDetailSvc?.refreshModel(e),t&&e.step!=="group"&&a.colFilter?.refreshModel();let r=e.changedPath;switch(r?.addRow(n),e.step==="group"&&(this.doGrouping(n,e),r??(r=e.changedPath)),r??(r=a.changedPathFactory?.ensureRowsPath(e,n)),e.step){case"group":case"filter":this.doFilter(r);case"pivot":this.doPivot(r)&&(r=void 0,e.changedPath=void 0);case"aggregate":this.doAggregate(r);case"filter_aggregates":this.doFilterAggregates(r);case"sort":this.doSort(r,e.changedRowNodes);case"map":this.doRowsToDisplay()}const o=new Set;this.setRowTopAndRowIndex(o),this.clearRowTopAndRowIndex(r,o),this.updateRefreshParams(e)}deferRefresh(e){return this.refreshingModel||this.beans.colModel.changeEventsDispatching?!0:this.isSuppressModelUpdateAfterUpdateTransaction(e)?(this.started&&(this.refreshingData=!1),!0):!this.started}setPendingRefreshFlags(e){this.pendingNewData||(this.pendingNewData=!!e.newData),this.noKeepRenderedRows||(this.noKeepRenderedRows=!e.keepRenderedRows),this.noKeepUndoRedoStack||(this.noKeepUndoRedoStack=!e.keepUndoRedoStack),this.noAnimate||(this.noAnimate=!e.animate)}clearPendingRefreshFlags(){this.pendingNewData=!1,this.noKeepRenderedRows=!1,this.noKeepUndoRedoStack=!1,this.noAnimate=!1}updateRefreshParams(e){e.newData=this.pendingNewData||!!e.newData,e.keepRenderedRows=!this.noKeepRenderedRows&&!!e.keepRenderedRows,e.keepUndoRedoStack=!this.noKeepUndoRedoStack&&!!e.keepUndoRedoStack,e.animate=!this.noAnimate&&!!e.animate}isEmpty(){return!this.rootNode?._leafs?.length||!this.beans.colModel?.ready}isRowsToRender(){return this.rowsToDisplay.length>0}getOverlayType(){const{beans:e,gos:t}=this;if(this.rootNode?._leafs?.length){if(e.filterManager?.isAnyFilterPresent()&&this.getRowCount()===0)return"noMatchingRows"}else if(this.rowCountReady||(t.get("rowData")?.length??0)==0)return"noRows";return null}getNodesInRangeForSelection(e,t){let a=!1,n=!1;const r=[],o=En(this.gos);return this.forEachNodeAfterFilterAndSort(i=>{if(n)return;if(a&&(i===t||i===e)&&(n=!0,o&&i.group)){bw(r,i);return}if(!a){if(i!==t&&i!==e)return;a=!0,t===e&&(n=!0)}(!i.group||!o)&&r.push(i)}),r}getTopLevelNodes(){return this.rootNode?.childrenAfterGroup??null}getRow(e){return this.rowsToDisplay[e]}getFormulaRow(e){return this.formulaRows[e]}isRowPresent(e){return this.rowsToDisplay.indexOf(e)>=0}getRowIndexAtPixel(e){const t=this.rowsToDisplay,a=t.length;if(this.isEmpty()||a===0)return-1;let n=0,r=a-1;if(e<=0)return 0;if(t[r].rowTop<=e)return r;let i=-1,s=-1;for(;;){const l=Math.floor((n+r)/2),c=t[l];if(this.isRowInPixel(c,e)||(c.rowTope&&(r=l-1),i===n&&s===r))return l;i=n,s=r}}isRowInPixel(e,t){const a=e.rowTop,n=a+e.rowHeight;return a<=t&&n>t}forEachLeafNode(e){const t=this.rootNode?._leafs;if(t)for(let a=0,n=t.length;aa.childrenAfterAggFilter)}forEachNodeAfterFilterAndSort(e,t=!1){this.depthFirstSearchRowNodes(e,t,a=>a.childrenAfterSort)}forEachPivotNode(e,t,a){const{colModel:n,rowGroupColsSvc:r}=this.beans;if(!n.isPivotMode())return;if(!r?.columns.length){e(this.rootNode,0);return}const o=a?"childrenAfterSort":"childrenAfterGroup";this.depthFirstSearchRowNodes(e,t,i=>i.leafGroup?null:i[o])}depthFirstSearchRowNodes(e,t=!1,a=o=>o.childrenAfterGroup,n=this.rootNode,r=0){let o=r;if(!n)return o;const i=n===this.rootNode;if(i||e(n,o++),n.hasChildren()&&!n.footer){const s=i||this.hierarchical?a(n):null;if(s){const l=this.beans.footerSvc;o=l?.addTotalRows(o,n,e,t,i,"top")??o;for(const c of s)o=this.depthFirstSearchRowNodes(e,t,a,c,o);return l?.addTotalRows(o,n,e,t,i,"bottom")??o}}return o}doAggregate(e){this.rootNode&&this.beans.aggStage?.execute(e)}doFilterAggregates(e){const t=this.rootNode,a=this.beans.filterAggStage;if(a&&this.hierarchical){a.execute(e);return}t.childrenAfterAggFilter=t.childrenAfterFilter;const n=t.sibling;n&&(n.childrenAfterAggFilter=t.childrenAfterFilter)}doSort(e,t){const a=this.beans.sortStage;if(a){a.execute(e,t);return}Et(this.rootNode,this.hierarchical,e,n=>{n.childrenAfterSort=n.childrenAfterAggFilter.slice(0),Cw(n)})}doGrouping(e,t){const n=this.beans.groupStage?.execute(t);if(n===void 0){const r=e._leafs;e.childrenAfterGroup=r,e.updateHasChildren();const o=e.sibling;o&&(o.childrenAfterGroup=r)}(n||t.rowDataUpdated)&&this.beans.colFilter?.refreshModel(),!this.rowCountReady&&this.rowNodesCountReady&&(this.rowCountReady=!0,this.eventSvc.dispatchEventOnce({type:"rowCountReady"}))}doFilter(e){const t=this.beans.filterStage;if(t){t.execute(e);return}Et(this.rootNode,this.hierarchical,e,a=>{a.childrenAfterFilter=a.childrenAfterGroup,lh(a)})}doPivot(e){return this.beans.pivotStage?.execute(e)??!1}getRowNode(e){const t=this.nodeManager?.getRowNode(e);return typeof t=="object"?t:this.beans.groupStage?.getNonLeaf(e)}batchUpdateRowData(e,t){if(!this.asyncTransactionsTimer){this.asyncTransactions=[];const a=this.gos.get("asyncTransactionWaitMillis");this.asyncTransactionsTimer=setTimeout(()=>this.executeBatchUpdateRowData(),a)}this.asyncTransactions.push({rowDataTransaction:e,callback:t})}flushAsyncTransactions(){const e=this.asyncTransactionsTimer;e&&(clearTimeout(e),this.executeBatchUpdateRowData())}executeBatchUpdateRowData(){const{nodeManager:e,beans:t,eventSvc:a,asyncTransactions:n}=this;if(!e)return;t.valueCache?.onDataChanged();const r=[],o=[],i=new Pr,s=!this.gos.get("suppressAnimationFrame");for(const{rowDataTransaction:l,callback:c}of n??[]){this.rowNodesCountReady=!0,this.refreshingData=!0;const d=e.updateRowData(l,i,s);r.push(d),c&&o.push(c.bind(null,d))}this.commitTransactions(i,s),o.length>0&&setTimeout(()=>{for(let l=0,c=o.length;l0&&a.dispatchEvent({type:"asyncTransactionsFlushed",results:r}),this.asyncTransactionsTimer=0,this.asyncTransactions=null}updateRowData(e){const t=this.nodeManager;if(!t)return null;this.beans.valueCache?.onDataChanged(),this.rowNodesCountReady=!0;const a=new Pr,n=!this.gos.get("suppressAnimationFrame");this.refreshingData=!0;const r=t.updateRowData(e,a,n);return this.commitTransactions(a,n),r}commitTransactions(e,t){this.refreshModel({step:"group",rowDataUpdated:!0,keepRenderedRows:!0,animate:t,changedRowNodes:e})}doRowsToDisplay(){const{rootNode:e,beans:t}=this;if(t.formula?.active){const r=e?.childrenAfterSort??[];this.formulaRows=r,this.rowsToDisplay=r.filter(o=>!o.softFiltered);for(const o of this.rowsToDisplay)o.setUiLevel(0);return}const a=t.flattenStage;if(a){this.rowsToDisplay=a.execute();return}const n=this.rootNode.childrenAfterSort??[];for(const r of n)r.setUiLevel(0);this.rowsToDisplay=n}onRowHeightChanged(){this.refreshModel({step:"map",keepRenderedRows:!0,keepUndoRedoStack:!0})}resetRowHeights(){const e=this.rootNode;if(!e)return;const t=this.resetRowHeightsForAllRowNodes();e.setRowHeight(e.rowHeight,!0);const a=e.sibling;a?.setRowHeight(a.rowHeight,!0),t&&this.onRowHeightChanged()}resetRowHeightsForAllRowNodes(){let e=!1;return this.forEachNode(t=>{t.setRowHeight(t.rowHeight,!0);const a=t.detailNode;a?.setRowHeight(a.rowHeight,!0);const n=t.sibling;n?.setRowHeight(n.rowHeight,!0),e=!0}),e}onGridStylesChanges(e){e.rowHeightChanged&&!this.beans.rowAutoHeight?.active&&this.resetRowHeights()}onGridReady(){this.started||this.setInitialData()}destroy(){super.destroy(),this.nodeManager=this.destroyBean(this.nodeManager),this.started=!1,this.rootNode=null,this.rowsToDisplay=[],this.asyncTransactions=null,this.stages=null,this.stagesRefreshProps.clear(),clearTimeout(this.asyncTransactionsTimer)}onRowHeightChangedDebounced(){this.onRowHeightChanged_debounced()}},bw=(e,t)=>{const a=t.childrenAfterGroup;if(a)for(let n=0,r=a.length;nst(e)?.updateRowData(t))}function jI(e,t,a){e.frameworkOverrides.wrapIncoming(()=>st(e)?.batchUpdateRowData(t,a))}function _I(e){e.frameworkOverrides.wrapIncoming(()=>st(e)?.flushAsyncTransactions())}function KI(e){return e.selectionSvc?.getBestCostNodeSelection()}var ww={moduleName:"ClientSideRowModel",version:N,rowModels:["clientSide"],beans:[GI,zI],dependsOn:[uc]},yw={moduleName:"ClientSideRowModelApi",version:N,apiFunctions:{onGroupExpandedOrCollapsed:VI,refreshClientSideRowModel:BI,isRowDataEmpty:NI,forEachLeafNode:HI,forEachNodeAfterFilter:qI,forEachNodeAfterFilterAndSort:WI,applyTransaction:UI,applyTransactionAsync:jI,flushAsyncTransactions:_I,getBestCostNodeSelection:KI,resetRowHeights:hc,onRowHeightChanged:gc},dependsOn:[oh,ih]},YI=":where(.ag-ltr) :where(.ag-animate-autosize){.ag-cell,.ag-header-cell,.ag-header-group-cell{transition:width .2s ease-in-out,left .2s ease-in-out}}:where(.ag-rtl) :where(.ag-animate-autosize){.ag-cell,.ag-header-cell,.ag-header-group-cell{transition:width .2s ease-in-out,right .2s ease-in-out}}";function QI(e,t){typeof t=="number"?e.colAutosize?.sizeColumnsToFit(t,"api"):e.colAutosize?.sizeColumnsToFitGridBody(t)}function Sw({colAutosize:e,visibleCols:t},a,n){Array.isArray(a)?e?.autoSizeCols({colKeys:a,skipHeader:n,source:"api"}):e?.autoSizeCols({...a,colKeys:a.colIds??t.allCols,source:"api"})}function ZI(e,t){t&&typeof t=="object"?Sw(e,t):e.colAutosize?.autoSizeAllColumns({source:"api",skipHeader:t})}var XI=class extends F{constructor(){super(...arguments),this.beanName="colAutosize",this.timesDelayed=0,this.shouldQueueResizeOperations=!1,this.resizeOperationQueue=[]}postConstruct(){const{gos:e}=this,t=e.get("autoSizeStrategy");if(t){let a=!1;const n=t.type;if(n==="fitGridWidth"||n==="fitProvidedWidth")a=!0;else if(n==="fitCellContents"){this.addManagedEventListeners({firstDataRendered:()=>this.onFirstDataRendered(t)});const r=e.get("rowData");a=r!=null&&r.length>0&&se(e)}a&&this.beans.colDelayRenderSvc?.hideColumns(n)}}autoSizeCols(e){const{eventSvc:t,visibleCols:a,colModel:n}=this.beans;rs(this.beans,!0),this.innerAutoSizeCols(e).then(r=>{const o=d=>Co(t,Array.from(d),!0,"autosizeColumns");if(!e.scaleUpToFitGridWidth)return rs(this.beans,!1),o(r);const i=xw(this.beans),s=d=>a.leftCols.some(u=>on(u,d)),l=d=>a.rightCols.some(u=>on(u,d)),c=e.colKeys.filter(d=>!n.getCol(d)?.getColDef().suppressAutoSize&&!Re(d)&&!s(d)&&!l(d));this.sizeColumnsToFit(i,e.source,!0,{defaultMaxWidth:e.defaultMaxWidth,defaultMinWidth:e.defaultMinWidth,columnLimits:e.columnLimits?.map(d=>({...d,key:d.colId})),colKeys:c,onlyScaleUp:!0,animate:!1}),rs(this.beans,!1),o(r)})}innerAutoSizeCols(e){return new Promise((t,a)=>{if(this.shouldQueueResizeOperations)return this.pushResizeOperation(()=>this.innerAutoSizeCols(e).then(t,a));const{colKeys:n,skipHeader:r,skipHeaderGroups:o,stopAtGroup:i,defaultMaxWidth:s,defaultMinWidth:l,columnLimits:c=[],source:d="api"}=e,{animationFrameSvc:u,renderStatus:g,colModel:h,autoWidthCalc:p,visibleCols:f}=this.beans;if(u?.flushAllFrames(),this.timesDelayed<5&&g&&(!g.areHeaderCellsRendered()||!g.areCellsRendered())){this.timesDelayed++,setTimeout(()=>{this.isAlive()&&this.innerAutoSizeCols(e).then(t,a)});return}this.timesDelayed=0;const m=new Set;let v=-1;const C=Object.fromEntries(c.map(({colId:S,...k})=>[S,k])),b=r??this.gos.get("skipHeaderOnAutoSize"),y=o??b;for(;v!==0;){v=0;const S=[];for(const k of n){if(!k||xr(k))continue;const M=h.getCol(k);if(!M||m.has(M)||M.getColDef().suppressAutoSize)continue;const E=p.getPreferredWidthForColumn(M,b);if(E>0){const P=C[M.colId]??{};P.minWidth??(P.minWidth=l),P.maxWidth??(P.maxWidth=s);const D=JI(M,E,P);M.setActualWidth(D,d),m.add(M),v++}S.push(M)}S.length&&f.refresh(d)}y||this.autoSizeColumnGroupsByColumns(n,d,i),t(m)})}autoSizeColumn(e,t,a){this.autoSizeCols({colKeys:[e],skipHeader:a,skipHeaderGroups:!0,source:t})}autoSizeColumnGroupsByColumns(e,t,a){const{colModel:n,ctrlsSvc:r}=this.beans,o=new Set,i=n.getColsForKeys(e);for(const l of i){let c=l.getParent();for(;c&&c!=a;)c.isPadding()||o.add(c),c=c.getParent()}let s;for(const l of o){for(const c of r.getHeaderRowContainerCtrls())if(s=c.getHeaderCtrlForColumn(l),s)break;s?.resizeLeafColumnsToFit(t)}}autoSizeAllColumns(e){if(this.shouldQueueResizeOperations){this.pushResizeOperation(()=>this.autoSizeAllColumns(e));return}this.autoSizeCols({colKeys:this.beans.visibleCols.allCols,...e})}addColumnAutosizeListeners(e,t){const a=this.gos.get("skipHeaderOnAutoSize"),n=()=>{this.autoSizeColumn(t,"uiColumnResized",a)};e.addEventListener("dblclick",n);const r=new sa(e);return r.addEventListener("doubleTap",n),()=>{e.removeEventListener("dblclick",n),r.destroy()}}addColumnGroupResize(e,t,a){const n=this.gos.get("skipHeaderOnAutoSize"),r=()=>{const o=[],i=t.getDisplayedLeafColumns();for(const s of i)s.getColDef().suppressAutoSize||o.push(s.getColId());o.length>0&&this.autoSizeCols({colKeys:o,skipHeader:n,stopAtGroup:t,source:"uiColumnResized"}),a()};return e.addEventListener("dblclick",r),()=>e.removeEventListener("dblclick",r)}sizeColumnsToFitGridBody(e,t){if(!this.isAlive())return;const a=xw(this.beans);if(a>0){this.sizeColumnsToFit(a,"sizeColumnsToFit",!1,e);return}t===void 0?window.setTimeout(()=>{this.sizeColumnsToFitGridBody(e,100)},0):t===100?window.setTimeout(()=>{this.sizeColumnsToFitGridBody(e,500)},100):t===500?window.setTimeout(()=>{this.sizeColumnsToFitGridBody(e,-1)},500):R(29)}sizeColumnsToFit(e,t="sizeColumnsToFit",a,n){if(this.shouldQueueResizeOperations){this.pushResizeOperation(()=>this.sizeColumnsToFit(e,t,a,n));return}const{beans:r}=this,o=n?.animate??!0;o&&rs(r,!0);const i={};for(const{key:v,...C}of n?.columnLimits??[])i[typeof v=="string"?v:v.getColId()]=C;const s=r.visibleCols.allCols;if(e<=0||!s.length)return;const l=rn(s);if(n?.onlyScaleUp&&l>e||e===l&&s.every(C=>{if(C.colDef.suppressSizeToFit)return!0;const b=i?.[C.getId()],y=b?.minWidth??n?.defaultMinWidth,S=b?.maxWidth??n?.defaultMaxWidth,k=C.getActualWidth();return(y==null||k>=y)&&(S==null||k<=S)}))return;const d=[],u=[];for(const v of s){const C=n?.colKeys?.some(b=>on(v,b))??!0;v.getColDef().suppressSizeToFit||!C?u.push(v):d.push(v)}const g=d.slice(0);let h=!1;const p=v=>{Ae(d,v),u.push(v)},f={};for(const v of d){n?.onlyScaleUp&&(f[v.getColId()]=v.getActualWidth()),v.resetActualWidth(t);const C=i?.[v.getId()],b=C?.minWidth??n?.defaultMinWidth??-1/0,y=C?.maxWidth??n?.defaultMaxWidth??1/0,S=v.getActualWidth(),k=Math.max(Math.min(S,y),b);k!=S&&v.setActualWidth(k,t,!0)}for(;!h;){h=!0;const v=e-rn(u);if(v<=0)for(const C of d){const b=i?.[C.getId()]?.minWidth??n?.defaultMinWidth??C.minWidth;C.setActualWidth(b,t,!0)}else{const C=v/rn(d);let b=v;for(let y=d.length-1;y>=0;y--){const S=d[y],k=S.getColId(),M=f[k],E=i?.[k],P=E?.minWidth??n?.defaultMinWidth??M,D=E?.maxWidth??n?.defaultMaxWidth,I=Math.max(P??-1/0,S.getMinWidth()),L=Math.min(D??1/0,S.getMaxWidth());let K=Math.round(S.getActualWidth()*C);KL?(K=L,p(S),h=!1):y===0&&(K=b),S.setActualWidth(K,t,!0),b-=K}}}for(const v of g)v.fireColumnWidthChangedEvent(t);const m=r.visibleCols;m.setLeftValues(t),m.updateBodyWidths(),!a&&(Co(this.eventSvc,g,!0,t),o&&rs(r,!1))}applyAutosizeStrategy(){const{gos:e,colDelayRenderSvc:t}=this.beans,a=e.get("autoSizeStrategy");a?.type!=="fitGridWidth"&&a?.type!=="fitProvidedWidth"||setTimeout(()=>{if(!this.isAlive())return;const n=a.type;if(n==="fitGridWidth"){const{columnLimits:r,defaultMinWidth:o,defaultMaxWidth:i}=a,s=r?.map(({colId:l,minWidth:c,maxWidth:d})=>({key:l,minWidth:c,maxWidth:d}));this.sizeColumnsToFitGridBody({defaultMinWidth:o,defaultMaxWidth:i,columnLimits:s})}else n==="fitProvidedWidth"&&this.sizeColumnsToFit(a.width,"sizeColumnsToFit");t?.revealColumns(n)})}onFirstDataRendered({colIds:e,...t}){setTimeout(()=>{if(!this.isAlive())return;const a="autosizeColumns";e?this.autoSizeCols({...t,source:a,colKeys:e}):this.autoSizeAllColumns({...t,source:a}),this.beans.colDelayRenderSvc?.revealColumns(t.type)})}processResizeOperations(){this.shouldQueueResizeOperations=!1;for(const e of this.resizeOperationQueue)e();this.resizeOperationQueue=[]}pushResizeOperation(e){this.resizeOperationQueue.push(e)}destroy(){this.resizeOperationQueue.length=0,super.destroy()}};function JI(e,t,a={}){const n=a.minWidth??e.getMinWidth();tr&&(t=r),t}function xw({ctrlsSvc:e,scrollVisibleSvc:t}){const a=e.getGridBodyCtrl(),r=a.isVerticalScrollShowing()?t.getScrollbarWidth():0;return pr(a.eGridBody)-r}var kw="ag-animate-autosize";function rs({ctrlsSvc:e,gos:t},a){if(!t.get("animateColumnResizing")||t.get("enableRtl")||!e.isAlive())return;const n=e.getGridBodyCtrl().eGridBody.classList;a?n.add(kw):n.remove(kw)}var Rw={moduleName:"ColumnAutoSize",version:N,beans:[XI],apiFunctions:{sizeColumnsToFit:QI,autoSizeColumns:Sw,autoSizeAllColumns:ZI},dependsOn:[PC],css:[YI]};function $I(e,t){return!!e.colHover?.isHovered(t)}var eL=class extends F{constructor(e,t){super(),this.columns=e,this.element=t,this.destroyManagedListeners=[],this.enableFeature=a=>{const{beans:n,gos:r,element:o,columns:i}=this,s=n.colHover;if(a??!!r.get("columnHoverHighlight"))this.destroyManagedListeners=this.addManagedElementListeners(o,{mouseover:s.setMouseOver.bind(s,i),mouseout:s.clearMouseOver.bind(s)});else{for(const c of this.destroyManagedListeners)c();this.destroyManagedListeners=[]}}}postConstruct(){this.addManagedPropertyListener("columnHoverHighlight",({currentValue:e})=>{this.enableFeature(e)}),this.enableFeature()}destroy(){super.destroy(),this.destroyManagedListeners=null}},tL="ag-column-hover",aL=class extends F{constructor(){super(...arguments),this.beanName="colHover"}postConstruct(){this.addManagedPropertyListener("columnHoverHighlight",({currentValue:e})=>{e||this.clearMouseOver()})}setMouseOver(e){this.updateState(e)}clearMouseOver(){this.updateState(null)}isHovered(e){if(!this.gos.get("columnHoverHighlight"))return!1;const t=this.selectedColumns;return!!t&&t.indexOf(e)>=0}addHeaderColumnHoverListener(e,t,a){const n=()=>{const r=this.isHovered(a);t.toggleCss("ag-column-hover",r)};e.addManagedEventListeners({columnHoverChanged:n}),n()}onCellColumnHover(e,t){if(!t)return;const a=this.isHovered(e);t.toggleCss(tL,a)}addHeaderFilterColumnHoverListener(e,t,a,n){this.createHoverFeature(e,[a],n);const r=()=>{const o=this.isHovered(a);t.toggleCss("ag-column-hover",o)};e.addManagedEventListeners({columnHoverChanged:r}),r()}createHoverFeature(e,t,a){e.createManagedBean(new eL(t,a))}updateState(e){this.selectedColumns=e,this.eventSvc.dispatchEvent({type:"columnHoverChanged"})}},Fw={moduleName:"ColumnHover",version:N,beans:[aL],apiFunctions:{isColumnHovered:$I}},nL=class extends F{constructor(){super(...arguments),this.beanName="gridSerializer"}wireBeans(e){this.visibleCols=e.visibleCols,this.colModel=e.colModel,this.rowModel=e.rowModel,this.pinnedRowModel=e.pinnedRowModel}serialize(e,t={}){const{allColumns:a,columnKeys:n,skipRowGroups:r,exportRowNumbers:o}=t,i=this.getColumnsToExport({allColumns:a,skipRowGroups:r,columnKeys:n,exportRowNumbers:o});return[this.prepareSession(i),this.prependContent(t),this.exportColumnGroups(t,i),this.exportHeaders(t,i),this.processPinnedTopRows(t,i),this.processRows(t,i),this.processPinnedBottomRows(t,i),this.appendContent(t)].reduce((s,l)=>l(s),e).parse()}processRow(e,t,a,n){const r=t.shouldRowBeSkipped||(()=>!1),i=t.rowPositions!=null||!!t.onlySelected,s=this.gos.get("groupHideOpenParents")&&!i,l=this.colModel.isPivotMode()?n.leafGroup:!n.group,c=!!n.footer,d=n.allChildrenCount===1&&n.childrenAfterGroup?.length===1&&Wm(this.gos,n);if(!l&&!c&&(t.skipRowGroups||d||s)||t.onlySelected&&!n.isSelected()||t.skipPinnedTop&&n.rowPinned==="top"||t.skipPinnedBottom&&n.rowPinned==="bottom"||n.stub||n.level===-1&&!l&&!c||r(B(this.gos,{node:n})))return;const h=e.onNewBodyRow(n);if(a.forEach((p,f)=>{h.onColumn(p,f,n)}),t.getCustomContentBelowRow){const p=t.getCustomContentBelowRow(B(this.gos,{node:n}));p&&e.addCustomContent(p)}}appendContent(e){return t=>{const a=e.appendContent;return a&&t.addCustomContent(a),t}}prependContent(e){return t=>{const a=e.prependContent;return a&&t.addCustomContent(a),t}}prepareSession(e){return t=>(t.prepare(e),t)}exportColumnGroups(e,t){return a=>{if(!e.skipColumnGroupHeaders){const n=new wg,{colGroupSvc:r}=this.beans,o=r?r.createColumnGroups({columns:t,idCreator:n,pinned:null,isStandaloneStructure:!0}):t;this.recursivelyAddHeaderGroups(o,a,e.processGroupHeaderCallback)}return a}}exportHeaders(e,t){return a=>{if(!e.skipColumnHeaders){const n=a.onNewHeaderRow();t.forEach((r,o)=>{n.onColumn(r,o,void 0)})}return a}}processPinnedTopRows(e,t){return a=>{const n=this.processRow.bind(this,a,e,t);return e.rowPositions?e.rowPositions.filter(r=>r.rowPinned==="top").sort((r,o)=>r.rowIndex-o.rowIndex).map(r=>this.pinnedRowModel?.getPinnedTopRow(r.rowIndex)).forEach(n):this.pinnedRowModel?.isManual()||this.pinnedRowModel?.forEachPinnedRow("top",n),a}}processRows(e,t){return a=>{const n=this.rowModel,r=se(this.gos,n),o=ft(this.gos,n),i=!r&&e.onlySelected,s=this.processRow.bind(this,a,e,t),{exportedRows:l="filteredAndSorted"}=e;if(e.rowPositions)e.rowPositions.filter(c=>c.rowPinned==null).sort((c,d)=>c.rowIndex-d.rowIndex).map(c=>n.getRow(c.rowIndex)).forEach(s);else if(this.colModel.isPivotMode())r?n.forEachPivotNode(s,!0,l==="filteredAndSorted"):o?n.forEachNodeAfterFilterAndSort(s,!0):n.forEachNode(s);else if(e.onlySelectedAllPages||i){const c=this.beans.selectionSvc?.getSelectedNodes()??[];this.replicateSortedOrder(c),c.forEach(s)}else l==="all"?n.forEachNode(s):r||o?n.forEachNodeAfterFilterAndSort(s,!0):n.forEachNode(s);return a}}replicateSortedOrder(e){const{sortSvc:t,rowNodeSorter:a}=this.beans;if(!t||!a)return;const n=t.getSortOptions(),r=(o,i)=>o.rowIndex!=null&&i.rowIndex!=null?o.rowIndex-i.rowIndex:o.level===i.level?o.parent?.id===i.parent?.id?a.compareRowNodes(n,o,i)||(o.rowIndex??-1)-(i.rowIndex??-1):r(o.parent,i.parent):o.level>i.level?r(o.parent,i):r(o,i.parent);e.sort(r)}processPinnedBottomRows(e,t){return a=>{const n=this.processRow.bind(this,a,e,t);return e.rowPositions?e.rowPositions.filter(r=>r.rowPinned==="bottom").sort((r,o)=>r.rowIndex-o.rowIndex).map(r=>this.pinnedRowModel?.getPinnedBottomRow(r.rowIndex)).forEach(n):this.pinnedRowModel?.isManual()||this.pinnedRowModel?.forEachPinnedRow("bottom",n),a}}getColumnsToExport(e){const{allColumns:t=!1,skipRowGroups:a=!1,exportRowNumbers:n=!1,columnKeys:r}=e,{colModel:o,gos:i,visibleCols:s}=this,l=o.isPivotMode(),c=g=>za(g)?!1:!Re(g)||n;if(r?.length)return o.getColsForKeys(r).filter(c);const d=i.get("treeData");let u=[];return t&&!l?u=o.getCols():u=s.allCols,u=u.filter(g=>c(g)&&(a&&!d?!Sr(g):!0)),u}recursivelyAddHeaderGroups(e,t,a){const n=[];for(const r of e){const o=r;if(o.getChildren)for(const i of o.getChildren()??[])n.push(i)}e.length>0&&Le(e[0])&&this.doAddHeaderHeader(t,e,a),n&&n.length>0&&this.recursivelyAddHeaderGroups(n,t,a)}doAddHeaderHeader(e,t,a){const n=e.onNewHeaderGroupingRow();let r=0;for(const o of t){const i=o;let s;a?s=a(B(this.gos,{columnGroup:i})):s=this.beans.colNames.getDisplayNameForColumnGroup(i,"header");const c=(i.isExpandable()?i.getLeafColumns():[]).reduce((d,u,g,h)=>{let p=W(d);return u.getColumnGroupShow()==="open"?(!p||p[1]!=null)&&(p=[g],d.push(p)):p&&p[1]==null&&(p[1]=g-1),g===h.length-1&&p&&p[1]==null&&(p[1]=g),d},[]);n.onColumn(i,s||"",r++,i.getLeafColumns().length-1,c)}}},ch={moduleName:"SharedExport",version:N,beans:[nL]},dh=class extends F{getFileName(e){const t=this.getDefaultFileExtension();return e?.length||(e=this.getDefaultFileName()),e.includes(".")?e:`${e}.${t}`}getData(e){return this.beans.gridSerializer.serialize(this.createSerializingSession(e),e)}getDefaultFileName(){return`export.${this.getDefaultFileExtension()}`}};function os(e,t){const a=document.defaultView||window;if(!a){R(52);return}const n=document.createElement("a"),r=a.URL.createObjectURL(t);n.setAttribute("href",r),n.setAttribute("download",e),n.style.display="none",document.body.appendChild(n),n.dispatchEvent(new MouseEvent("click",{bubbles:!1,cancelable:!0,view:a})),n.remove(),a.setTimeout(()=>{a.URL.revokeObjectURL(r)},0)}var uh=class{constructor(e){this.valueFrom="data";const{colModel:t,rowGroupColsSvc:a,colNames:n,valueSvc:r,gos:o,processCellCallback:i,processHeaderCallback:s,processGroupHeaderCallback:l,processRowGroupCallback:c,valueFrom:d}=e;this.colModel=t,this.rowGroupColsSvc=a,this.colNames=n,this.valueSvc=r,this.gos=o,this.processCellCallback=i,this.processHeaderCallback=s,this.processGroupHeaderCallback=l,this.processRowGroupCallback=c,d&&(this.valueFrom=d)}prepare(e){}extractHeaderValue(e){return this.getHeaderName(this.processHeaderCallback,e)??""}extractRowCellValue(e){const{column:t,node:a,currentColumnIndex:n,accumulatedRowIndex:r,type:o,useRawFormula:i}=e,s=n===0&&gl(this.gos,a,this.colModel.isPivotMode());if(this.processRowGroupCallback&&(this.gos.get("treeData")||a.group)&&(t.isRowGroupDisplayed(a.rowGroupColumn?.getColId()??"")||s))return{value:this.processRowGroupCallback(B(this.gos,{column:t,node:a}))??""};if(this.processCellCallback)return{value:this.processCellCallback(B(this.gos,{accumulatedRowIndex:r,column:t,node:a,value:this.valueSvc.getValueForDisplay({column:t,node:a,from:this.valueFrom}).value,type:o,parseValue:p=>this.valueSvc.parseValue(t,a,p,this.valueSvc.getValue(t,a,this.valueFrom)),formatValue:p=>this.valueSvc.formatValue(t,a,p)??p}))??""};const l=this.gos.get("treeData"),c=this.valueSvc,d=a.level===-1&&a.footer,u=t.colDef.showRowGroup===!0&&(a.group||l);if(!d&&(s||u)){let p="",f=a;for(;f&&f.level!==-1;){const{value:m,valueFormatted:v}=c.getValueForDisplay({column:s?void 0:t,node:f,includeValueFormatted:!0,exporting:!0,from:this.valueFrom});p=` -> ${v??m??""}${p}`,f=f.parent}return{value:p,valueFormatted:p}}const{value:g,valueFormatted:h}=c.getValueForDisplay({column:t,node:a,includeValueFormatted:!0,exporting:!0,useRawFormula:i,from:this.valueFrom});return{value:g??"",valueFormatted:h}}getHeaderName(e,t){return e?e(B(this.gos,{column:t})):this.colNames.getDisplayNameForColumn(t,"csv",!0)}},Mw=`\r
`,rL=class extends uh{constructor(e){super(e),this.config=e,this.isFirstLine=!0,this.result="";const{suppressQuotes:t,columnSeparator:a}=e;this.suppressQuotes=t,this.columnSeparator=a}addCustomContent(e){e&&(typeof e=="string"?(/^\s*\n/.test(e)||this.beginNewLine(),e=e.replace(/\r?\n/g,Mw),this.result+=e):e.forEach(t=>{this.beginNewLine(),t.forEach((a,n)=>{n!==0&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(a.data.value||""),a.mergeAcross&&this.appendEmptyCells(a.mergeAcross)})}))}onNewHeaderGroupingRow(){return this.beginNewLine(),{onColumn:this.onNewHeaderGroupingRowColumn.bind(this)}}onNewHeaderGroupingRowColumn(e,t,a,n){a!=0&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(t),this.appendEmptyCells(n)}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){t!=0&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(this.extractHeaderValue(e))}onNewBodyRow(){return this.beginNewLine(),{onColumn:this.onNewBodyRowColumn.bind(this)}}onNewBodyRowColumn(e,t,a){t!=0&&(this.result+=this.columnSeparator);const n=this.extractRowCellValue({column:e,node:a,currentColumnIndex:t,accumulatedRowIndex:t,type:"csv",useRawFormula:!1});this.result+=this.putInQuotes(n.valueFormatted??n.value)}putInQuotes(e){if(this.suppressQuotes)return e;if(e==null)return'""';let t;return typeof e=="string"?t=e:typeof e.toString=="function"?t=e.toString():(R(53),t=""),'"'+t.replace(/"/g,'""')+'"'}parse(){return this.result}beginNewLine(){this.isFirstLine||(this.result+=Mw),this.isFirstLine=!1}},oL=class extends dh{constructor(){super(...arguments),this.beanName="csvCreator"}getMergedParams(e){const t=this.gos.get("defaultCsvExportParams");return Object.assign({},t,e)}export(e){if(this.isExportSuppressed()){R(51);return}const t=()=>{const n=this.getMergedParams(e),r=this.getData(n),o=new Blob(["\uFEFF",r],{type:"text/plain"}),i=n.fileName,s=typeof i=="function"?i(B(this.gos,{})):i;os(this.getFileName(s),o)},{overlays:a}=this.beans;a?a.showExportOverlay(t):t()}exportDataAsCsv(e){this.export(e)}getDataAsCsv(e,t=!1){const a=t?Object.assign({},e):this.getMergedParams(e);return this.getData(a)}getDefaultFileExtension(){return"csv"}createSerializingSession(e){const{colModel:t,colNames:a,rowGroupColsSvc:n,valueSvc:r,gos:o}=this.beans,{processCellCallback:i,processHeaderCallback:s,processGroupHeaderCallback:l,processRowGroupCallback:c,suppressQuotes:d,columnSeparator:u,valueFrom:g}=e;return new rL({colModel:t,colNames:a,valueSvc:r,gos:o,processCellCallback:i||void 0,processHeaderCallback:s||void 0,processGroupHeaderCallback:l||void 0,processRowGroupCallback:c||void 0,suppressQuotes:d||!1,columnSeparator:u||",",rowGroupColsSvc:n,valueFrom:g})}isExportSuppressed(){return this.gos.get("suppressCsvExport")}};function iL(e,t){return e.csvCreator?.getDataAsCsv(t)}function sL(e,t){e.csvCreator?.exportDataAsCsv(t)}var gh={moduleName:"CsvExport",version:N,beans:[oL],apiFunctions:{getDataAsCsv:iL,exportDataAsCsv:sL},dependsOn:[ch]},hh=class extends _e{constructor(e,t){super(),this.ctrl=e,t&&(this.beans=t)}postConstruct(){this.refreshTooltip()}setBrowserTooltip(e,t){const a="title",n=this.ctrl.getGui();n&&(e!=null&&(e!=""||t)?n.setAttribute(a,e):n.removeAttribute(a))}updateTooltipText(){const{getTooltipValue:e}=this.ctrl;e&&(this.tooltip=e())}createTooltipFeatureIfNeeded(){if(this.tooltipManager==null){const e=this.beans.registry.createDynamicBean("tooltipStateManager",!0,this.ctrl,()=>this.tooltip);e&&(this.tooltipManager=this.createBean(e,this.beans.context))}}attemptToShowTooltip(){this.tooltipManager?.prepareToShowTooltip()}attemptToHideTooltip(){this.tooltipManager?.hideTooltip()}setTooltipAndRefresh(e){this.tooltip=e,this.refreshTooltip()}refreshTooltip(e){this.browserTooltips=this.beans.gos.get("enableBrowserTooltips"),this.updateTooltipText(),this.browserTooltips?(this.setBrowserTooltip(this.tooltip),this.tooltipManager=this.destroyBean(this.tooltipManager,this.beans.context)):(this.setBrowserTooltip(e?"":null,e),this.createTooltipFeatureIfNeeded())}destroy(){this.tooltipManager=this.destroyBean(this.tooltipManager,this.beans.context),super.destroy()}},lL=1e3,cL=1e3,Ew=100,Pw,pc=!1,Aw=class extends _e{constructor(e,t){super(),this.tooltipCtrl=e,this.getTooltipValue=t,this.interactionEnabled=!1,this.isInteractingWithTooltip=!1,this.state=0,this.tooltipInstanceCount=0,this.tooltipMouseTrack=!1}wireBeans(e){this.popupSvc=e.popupSvc}postConstruct(){this.gos.get("tooltipInteraction")&&(this.interactionEnabled=!0),this.tooltipTrigger=this.getTooltipTrigger(),this.tooltipMouseTrack=this.gos.get("tooltipMouseTrack");const e=this.tooltipCtrl.getGui();this.tooltipTrigger===0&&this.addManagedListeners(e,{mouseenter:this.onMouseEnter.bind(this),mouseleave:this.onMouseLeave.bind(this)}),this.tooltipTrigger===1&&this.addManagedListeners(e,{focusin:this.onFocusIn.bind(this),focusout:this.onFocusOut.bind(this)}),this.addManagedListeners(e,{mousemove:this.onMouseMove.bind(this)}),this.interactionEnabled||this.addManagedListeners(e,{mousedown:this.onMouseDown.bind(this),keydown:this.onKeyDown.bind(this)})}getGridOptionsTooltipDelay(e){const t=this.gos.get(e);return Math.max(200,t)}getTooltipDelay(e){return this.tooltipCtrl[`getTooltip${e}DelayOverride`]?.()??this.getGridOptionsTooltipDelay(`tooltip${e}Delay`)}destroy(){this.setToDoNothing(),super.destroy()}getTooltipTrigger(){const e=this.gos.get("tooltipTrigger");return!e||e==="hover"?0:1}onMouseEnter(e){this.interactionEnabled&&this.interactiveTooltipTimeoutId&&(this.unlockService(),this.startHideTimeout()),!sn()&&(pc?this.showTooltipTimeoutId=window.setTimeout(()=>{this.prepareToShowTooltip(e)},Ew):this.prepareToShowTooltip(e))}onMouseMove(e){this.lastMouseEvent&&(this.lastMouseEvent=e),this.tooltipMouseTrack&&this.state===2&&this.tooltipComp&&this.positionTooltip()}onMouseDown(){this.setToDoNothing()}onMouseLeave(){this.interactionEnabled?this.lockService():this.setToDoNothing()}onFocusIn(){this.prepareToShowTooltip()}onFocusOut(e){const t=e.relatedTarget,a=this.tooltipCtrl.getGui(),n=this.tooltipComp?.getGui();this.isInteractingWithTooltip||a.contains(t)||this.interactionEnabled&&n?.contains(t)||this.setToDoNothing()}onKeyDown(){this.isInteractingWithTooltip&&(this.isInteractingWithTooltip=!1),this.setToDoNothing()}prepareToShowTooltip(e){if(this.state!=0||pc)return;let t=0;e&&(t=this.isLastTooltipHiddenRecently()?this.getTooltipDelay("SwitchShow"):this.getTooltipDelay("Show")),this.lastMouseEvent=e||null,this.showTooltipTimeoutId=window.setTimeout(this.showTooltip.bind(this),t),this.state=1}isLastTooltipHiddenRecently(){return Date.now()-Pwthis.hideTooltip(!0),...t.getAdditionalParams?.()});this.state=2,this.tooltipInstanceCount++;const n=this.newTooltipComponentCallback.bind(this,this.tooltipInstanceCount);this.createTooltipComp(a,n)}hideTooltip(e){!e&&this.isInteractingWithTooltip||(this.tooltipComp&&(this.destroyTooltipComp(),Pw=Date.now()),this.eventSvc.dispatchEvent({type:"tooltipHide",parentGui:this.tooltipCtrl.getGui()}),e&&(this.isInteractingWithTooltip=!1),this.setToDoNothing(!0))}newTooltipComponentCallback(e,t){if(this.state!==2||this.tooltipInstanceCount!==e){this.destroyBean(t);return}const n=t.getGui();this.tooltipComp=t,n.classList.contains("ag-tooltip")||n.classList.add("ag-tooltip-custom"),this.tooltipTrigger===0&&n.classList.add("ag-tooltip-animate"),this.interactionEnabled&&n.classList.add("ag-tooltip-interactive");const r=this.getLocaleTextFunc(),o=this.popupSvc?.addPopup({eChild:n,ariaLabel:r("ariaLabelTooltip","Tooltip")});if(o&&(this.tooltipPopupDestroyFunc=o.hideFunc),this.positionTooltip(),this.tooltipTrigger===1){const i=()=>this.setToDoNothing();[this.onBodyScrollEventCallback]=this.addManagedEventListeners({bodyScroll:i}),this.setEventHandlers(i)}this.interactionEnabled&&([this.tooltipMouseEnterListener,this.tooltipMouseLeaveListener]=this.addManagedElementListeners(n,{mouseenter:this.onTooltipMouseEnter.bind(this),mouseleave:this.onTooltipMouseLeave.bind(this)}),[this.onDocumentKeyDownCallback]=this.addManagedElementListeners(me(this.beans),{keydown:i=>{n.contains(i?.target)||this.onKeyDown()}}),this.tooltipTrigger===1&&([this.tooltipFocusInListener,this.tooltipFocusOutListener]=this.addManagedElementListeners(n,{focusin:this.onTooltipFocusIn.bind(this),focusout:this.onTooltipFocusOut.bind(this)}))),this.eventSvc.dispatchEvent({type:"tooltipShow",tooltipGui:n,parentGui:this.tooltipCtrl.getGui()}),this.startHideTimeout()}onTooltipMouseEnter(){this.isInteractingWithTooltip=!0,this.unlockService()}onTooltipMouseLeave(){this.isTooltipFocused()||(this.isInteractingWithTooltip=!1,this.lockService())}onTooltipFocusIn(){this.isInteractingWithTooltip=!0}isTooltipFocused(){const e=this.tooltipComp?.getGui(),t=ne(this.beans);return!!e&&e.contains(t)}onTooltipFocusOut(e){const t=this.tooltipCtrl.getGui();this.isTooltipFocused()||(this.isInteractingWithTooltip=!1,t.contains(e.relatedTarget)?this.startHideTimeout():this.hideTooltip())}positionTooltip(){const e={type:"tooltip",ePopup:this.tooltipComp.getGui(),nudgeY:18,skipObserver:this.tooltipMouseTrack};this.lastMouseEvent?this.popupSvc?.positionPopupUnderMouseEvent({...e,mouseEvent:this.lastMouseEvent}):this.popupSvc?.positionPopupByComponent({...e,eventSource:this.tooltipCtrl.getGui(),position:"under",keepWithinBounds:!0,nudgeY:5})}destroyTooltipComp(){this.tooltipComp.getGui().classList.add("ag-tooltip-hiding");const e=this.tooltipPopupDestroyFunc,t=this.tooltipComp,a=this.tooltipTrigger===0?cL:0;window.setTimeout(()=>{e(),this.destroyBean(t)},a),this.clearTooltipListeners(),this.tooltipPopupDestroyFunc=void 0,this.tooltipComp=void 0}clearTooltipListeners(){for(const e of[this.tooltipMouseEnterListener,this.tooltipMouseLeaveListener,this.tooltipFocusInListener,this.tooltipFocusOutListener])e&&e();this.tooltipMouseEnterListener=this.tooltipMouseLeaveListener=this.tooltipFocusInListener=this.tooltipFocusOutListener=null}lockService(){pc=!0,this.interactiveTooltipTimeoutId=window.setTimeout(()=>{this.unlockService(),this.setToDoNothing()},Ew)}unlockService(){pc=!1,this.clearInteractiveTimeout()}startHideTimeout(){this.clearHideTimeout(),this.hideTooltipTimeoutId=window.setTimeout(this.hideTooltip.bind(this),this.getTooltipDelay("Hide"))}clearShowTimeout(){this.showTooltipTimeoutId&&(window.clearTimeout(this.showTooltipTimeoutId),this.showTooltipTimeoutId=void 0)}clearHideTimeout(){this.hideTooltipTimeoutId&&(window.clearTimeout(this.hideTooltipTimeoutId),this.hideTooltipTimeoutId=void 0)}clearInteractiveTimeout(){this.interactiveTooltipTimeoutId&&(window.clearTimeout(this.interactiveTooltipTimeoutId),this.interactiveTooltipTimeoutId=void 0)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout(),this.clearInteractiveTimeout()}},dL=class extends hh{constructor(e,t,a){super(e,a),this.highlightTracker=t,this.onHighlight=this.onHighlight.bind(this)}postConstruct(){super.postConstruct(),this.wireHighlightListeners()}wireHighlightListeners(){this.addManagedPropertyListener("tooltipTrigger",({currentValue:e})=>{this.setTooltipMode(e)}),this.setTooltipMode(this.gos.get("tooltipTrigger")),this.highlightTracker.addEventListener("itemHighlighted",this.onHighlight)}onHighlight(e){this.tooltipMode===1&&(e.highlighted?this.attemptToShowTooltip():this.attemptToHideTooltip())}setTooltipMode(e="focus"){this.tooltipMode=e==="focus"?1:0}destroy(){this.highlightTracker.removeEventListener("itemHighlighted",this.onHighlight),super.destroy()}},Tw=class extends Di{constructor(){super({tag:"div",cls:"ag-tooltip"})}init(e){const{value:t}=e,a=this.getGui();a.textContent=ea(t);const n=e.location.replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase();a.classList.add(`ag-${n}-tooltip`)}},uL=".ag-tooltip{background-color:var(--ag-tooltip-background-color);border:var(--ag-tooltip-border);border-radius:var(--ag-border-radius);color:var(--ag-tooltip-text-color);padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);position:absolute;white-space:normal;z-index:99999;&:where(.ag-cell-editor-tooltip),&:where(.ag-cell-formula-tooltip){background-color:var(--ag-tooltip-error-background-color);border:var(--ag-tooltip-error-border);color:var(--ag-tooltip-error-text-color);font-weight:500}}.ag-tooltip-custom{position:absolute;z-index:99999}.ag-tooltip-custom:where(:not(.ag-tooltip-interactive)),.ag-tooltip:where(:not(.ag-tooltip-interactive)){pointer-events:none}.ag-tooltip-animate{transition:opacity 1s;&:where(.ag-tooltip-hiding){opacity:0}}",fc=0,gL=200,Dw=class extends _e{constructor(){super(...arguments),this.beanName="popupSvc",this.popupList=[]}postConstruct(){this.addManagedEventListeners({stylesChanged:this.handleThemeChange.bind(this)})}getPopupParent(){const e=this.gos.get("popupParent");return e||this.getDefaultPopupParent()}positionPopupUnderMouseEvent(e){const{ePopup:t,nudgeX:a,nudgeY:n,skipObserver:r}=e;this.positionPopup({ePopup:t,nudgeX:a,nudgeY:n,keepWithinBounds:!0,skipObserver:r,updatePosition:()=>this.calculatePointerAlign(e.mouseEvent),postProcessCallback:()=>this.callPostProcessPopup(e.additionalParams,e.type,e.ePopup,null,e.mouseEvent)})}calculatePointerAlign(e){const t=this.getParentRect();return{x:e.clientX-t.left,y:e.clientY-t.top}}positionPopupByComponent(e){const{ePopup:t,nudgeX:a,nudgeY:n,keepWithinBounds:r,eventSource:o,alignSide:i="left",position:s="over",type:l}=e,c=o.getBoundingClientRect(),d=this.getParentRect();this.setAlignedTo(o,t);const u=()=>{let g=c.left-d.left;i==="right"&&(g-=t.offsetWidth-c.width);let h;return s==="over"?(h=c.top-d.top,this.setAlignedStyles(t,"over")):(this.setAlignedStyles(t,"under"),this.shouldRenderUnderOrAbove(t,c,d,e.nudgeY||0)==="under"?h=c.top-d.top+c.height:h=c.top-t.offsetHeight-(n||0)*2-d.top),{x:g,y:h}};this.positionPopup({ePopup:t,nudgeX:a,nudgeY:n,keepWithinBounds:r,updatePosition:u,postProcessCallback:()=>this.callPostProcessPopup(e.additionalParams,l,t,o,null)})}positionPopupForMenu(e){const{eventSource:t,ePopup:a,event:n}=e,r=t.getBoundingClientRect(),o=this.getParentRect();this.setAlignedTo(t,a);let i=!1;const s=()=>{const l=this.keepXYWithinBounds(a,r.top-o.top,0),c=a.clientWidth>0?a.clientWidth:200;i||(a.style.minWidth=`${c}px`,i=!0);const u=o.right-o.left-c;let g;return this.gos.get("enableRtl")?(g=p(),g<0&&(g=h(),this.setAlignedStyles(a,"left")),g>u&&(g=0,this.setAlignedStyles(a,"right"))):(g=h(),g>u&&(g=p(),this.setAlignedStyles(a,"right")),g<0&&(g=0,this.setAlignedStyles(a,"left"))),{x:g,y:l};function h(){return r.right-o.left-2}function p(){return r.left-o.left-c}};this.positionPopup({ePopup:a,keepWithinBounds:!0,updatePosition:s,postProcessCallback:()=>this.callPostProcessPopup(e.additionalParams,"subMenu",a,t,n instanceof MouseEvent?n:void 0)})}shouldRenderUnderOrAbove(e,t,a,n){const r=a.bottom-t.bottom,o=t.top-a.top,i=e.offsetHeight+n;return r>i?"under":o>i||o>r?"above":"under"}setAlignedStyles(e,t){const a=this.getPopupIndex(e);if(a===-1)return;const n=this.popupList[a],{alignedToElement:r}=n;if(!r)return;const o=["right","left","over","above","under"];for(const i of o)r.classList.remove(`ag-has-popup-positioned-${i}`),e.classList.remove(`ag-popup-positioned-${i}`);t&&(r.classList.add(`ag-has-popup-positioned-${t}`),e.classList.add(`ag-popup-positioned-${t}`))}setAlignedTo(e,t){const a=this.getPopupIndex(t);if(a!==-1){const n=this.popupList[a];n.alignedToElement=e}}positionPopup(e){const{ePopup:t,keepWithinBounds:a,nudgeX:n,nudgeY:r,skipObserver:o,updatePosition:i}=e,s={width:0,height:0},l=(c=!1)=>{let{x:d,y:u}=i();c&&t.clientWidth===s.width&&t.clientHeight===s.height||(s.width=t.clientWidth,s.height=t.clientHeight,n&&(d+=n),r&&(u+=r),a&&(d=this.keepXYWithinBounds(t,d,1),u=this.keepXYWithinBounds(t,u,0)),t.style.left=`${d}px`,t.style.top=`${u}px`,e.postProcessCallback&&e.postProcessCallback())};if(l(),!o){const c=Ca(this.beans,t,()=>l(!0));setTimeout(()=>c(),gL)}}getParentRect(){const e=me(this.beans);let t=this.getPopupParent();return t===e.body?t=e.documentElement:getComputedStyle(t).position==="static"&&(t=t.offsetParent),dm(t)}keepXYWithinBounds(e,t,a){const n=a===0,r=n?"clientHeight":"clientWidth",o=n?"top":"left",i=n?"height":"width",s=n?"scrollTop":"scrollLeft",l=me(this.beans),c=l.documentElement,d=this.getPopupParent(),u=e.getBoundingClientRect(),g=d.getBoundingClientRect(),h=l.documentElement.getBoundingClientRect(),p=d===l.body,f=Math.ceil(u[i]);let v=p?(n?gi:yn)(c)+c[s]:d[r];p&&(v-=Math.abs(h[o]-g[o]));const C=v-f;return Math.min(Math.max(t,0),Math.max(C,0))}addPopup(e){const{eChild:t,ariaLabel:a,ariaOwns:n,alwaysOnTop:r,positionCallback:o,anchorToElement:i}=e,s=this.getPopupIndex(t);if(s!==-1)return{hideFunc:this.popupList[s].hideFunc};this.initialisePopupPosition(t);const l=this.createPopupWrapper(t,!!r,a,n),c=this.addEventListenersToPopup({...e,wrapperEl:l});return o&&o(),this.addPopupToPopupList(t,l,c,i),{hideFunc:c}}initialisePopupPosition(e){const a=this.getPopupParent().getBoundingClientRect();A(e.style.top)||(e.style.top=`${a.top*-1}px`),A(e.style.left)||(e.style.left=`${a.left*-1}px`)}createPopupWrapper(e,t,a,n){const r=this.getPopupParent(),{environment:o,gos:i}=this.beans,s=je({tag:"div"});return o.applyThemeClasses(s),s.classList.add("ag-popup"),e.classList.add(i.get("enableRtl")?"ag-rtl":"ag-ltr","ag-popup-child"),e.hasAttribute("role")||De(e,"dialog"),a?de(e,a):n&&(e.id||(e.id=`popup-component-${fc}`),sm(n,e.id)),s.appendChild(e),r.appendChild(s),t?this.setAlwaysOnTop(e,!0):this.bringPopupToFront(e),s}addEventListenersToPopup(e){const t=this.beans,a=me(t),{wrapperEl:n,eChild:r,closedCallback:o,afterGuiAttached:i,closeOnEsc:s,modal:l,ariaOwns:c}=e;let d=!1;const u=f=>{if(!n.contains(ne(t)))return;f.key===w.ESCAPE&&!this.isStopPropagation(f)&&p({keyboardEvent:f})},g=f=>p({mouseEvent:f}),h=f=>p({touchEvent:f}),p=(f={})=>{const{mouseEvent:m,touchEvent:v,keyboardEvent:C,forceHide:b}=f;!b&&(this.isEventFromCurrentPopup({mouseEvent:m,touchEvent:v},r)||d)||(d=!0,n.remove(),a.removeEventListener("keydown",u),a.removeEventListener("mousedown",g),a.removeEventListener("touchstart",h),a.removeEventListener("contextmenu",g),this.eventSvc.removeListener("dragStarted",g),o&&o(m||v||C),this.removePopupFromPopupList(r,c))};return i&&i({hidePopup:p}),window.setTimeout(()=>{s&&a.addEventListener("keydown",u),l&&(a.addEventListener("mousedown",g),this.eventSvc.addListener("dragStarted",g),a.addEventListener("touchstart",h),a.addEventListener("contextmenu",g))},0),p}addPopupToPopupList(e,t,a,n){this.popupList.push({element:e,wrapper:t,hideFunc:a,instanceId:fc,isAnchored:!!n}),n&&this.setPopupPositionRelatedToElement(e,n),fc=fc+1}getPopupIndex(e){return this.popupList.findIndex(t=>t.element===e)}setPopupPositionRelatedToElement(e,t){const a=this.getPopupIndex(e);if(a===-1)return;const n=this.popupList[a];if(n.stopAnchoringPromise&&n.stopAnchoringPromise.then(o=>o&&o()),n.stopAnchoringPromise=void 0,n.isAnchored=!1,!t)return;const r=this.keepPopupPositionedRelativeTo({element:t,ePopup:e,hidePopup:n.hideFunc});return n.stopAnchoringPromise=r,n.isAnchored=!0,r}removePopupFromPopupList(e,t){this.setAlignedStyles(e,null),this.setPopupPositionRelatedToElement(e,null),t&&sm(t,null),this.popupList=this.popupList.filter(a=>a.element!==e)}keepPopupPositionedRelativeTo(e){const t=this.getPopupParent(),a=t.getBoundingClientRect(),{element:n,ePopup:r}=e,o=n.getBoundingClientRect(),i=u=>Number.parseInt(u.substring(0,u.length-1),10),s=(u,g)=>{const h=a[u]-o[u],p=i(r.style[u]);return{initialDiff:h,lastDiff:h,initial:p,last:p,direction:g}},l=s("top",0),c=s("left",1),d=this.beans.frameworkOverrides;return new j(u=>{d.wrapIncoming(()=>{lF(()=>{const g=t.getBoundingClientRect(),h=n.getBoundingClientRect();if(h.top==0&&h.left==0&&h.height==0&&h.width==0){e.hidePopup();return}const f=(m,v)=>{const C=i(r.style[v]);m.last!==C&&(m.initial=C,m.last=C);const b=g[v]-h[v];if(b!=m.lastDiff){const y=this.keepXYWithinBounds(r,m.initial+m.initialDiff-b,m.direction);r.style[v]=`${y}px`,m.last=y}m.lastDiff=b};f(l,"top"),f(c,"left")},200).then(g=>{u(()=>{g!=null&&window.clearInterval(g)})})},"popupPositioning")})}isEventFromCurrentPopup(e,t){const{mouseEvent:a,touchEvent:n}=e,r=a||n;if(!r)return!1;const o=this.getPopupIndex(t);if(o===-1)return!1;for(let i=o;ie.element)}hasAnchoredPopup(){return this.popupList.some(e=>e.isAnchored)}isStopPropagation(e){return zt(e)}},ja={moduleName:"Popup",version:N,beans:[hL]};function Fo(e){return e.get("tooltipShowMode")==="whenTruncated"}function is(e,t){return Fo(e)?tn(t):void 0}var pL=(e,t)=>{const a=e;return typeof a.getTranslatedMessage=="function"?a.getTranslatedMessage(t):e.message},ph=(e,t,a)=>{const{editModelSvc:n}=e,r=n?.getCellValidationModel()?.getCellValidation(t)?.errorMessages,o=n?.getRowValidationModel().getRowValidation(t)?.errorMessages,i=r||o;return i?.length?i.join(a("tooltipValidationErrorSeparator",". ")):void 0},fL=(e,t)=>{if(Fo(e.gos)){if(t.isCellRenderer()){const n=t.column.getColDef();return!!n.showRowGroup||n.cellRenderer==="agGroupCellRenderer"?tn(()=>{const o=t.eGui;return o.querySelector(".ag-group-value")||o.querySelector(".ag-cell-value")||o}):void 0}return tn(()=>{const n=t.eGui;return n.children.length===0?n:n.querySelector(".ag-cell-value")})}},mL=(e,t,a)=>{const{editSvc:n}=e,{column:r}=t,o=fL(e,t),i=()=>n?.isEditing(t)?!1:o?r.isTooltipEnabled()?o():!1:!0;return{shouldDisplayDefault:i,shouldDisplayColumnTooltip:i,shouldDisplayCustomTooltip:a??i}},vL=({beans:e,ctrl:t,value:a,displayFunctions:n,translate:r})=>{const{editSvc:o,formula:i,gos:s}=e,{column:l,rowNode:c}=t;if(i?.active&&l.isAllowFormula()){const m=i.getFormulaError(l,c);if(m)return{value:pL(m,r),location:"cellFormula",shouldDisplay:()=>!!i?.getFormulaError(l,c)}}if(!!!o?.isEditing(t)){const m=ph(e,t,r);if(m)return{value:m,location:"cellEditor",shouldDisplay:()=>!o?.isEditing(t)&&!!ph(e,t,r)}}const{shouldDisplayCustomTooltip:u,shouldDisplayColumnTooltip:g}=n;if(a!=null)return{value:a,location:"cell",shouldDisplay:u};const h=l.getColDef(),p=c.data;if(h.tooltipField&&A(p))return{value:_i(p,h.tooltipField,l.isTooltipFieldContainsDots()),location:"cell",shouldDisplay:g};const f=h.tooltipValueGetter;return f?{value:f(B(s,{location:"cell",colDef:l.getColDef(),column:l,rowIndex:t.cellPosition.rowIndex,node:c,data:c.data,value:t.value,valueFormatted:t.valueFormatted})),location:"cell",shouldDisplay:g}:null},CL=class extends F{constructor(){super(...arguments),this.beanName="tooltipSvc"}setupHeaderTooltip(e,t,a,n){e&&t.destroyBean(e);const r=this.gos,o=Fo(r),{column:i,eGui:s}=t,l=i.getColDef();!n&&o&&!l.headerComponent&&(n=tn(()=>s.querySelector(".ag-header-cell-text")));const c="header",u=this.beans.colNames.getDisplayNameForColumn(i,"header",!0),g=a??u,h={getGui:()=>s,getLocation:()=>c,getTooltipValue:()=>a??l?.headerTooltipValueGetter?.(B(r,{location:c,colDef:l,column:i,value:g,valueFormatted:u}))??l?.headerTooltip,shouldDisplayTooltip:n,getAdditionalParams:()=>({column:i,colDef:i.getColDef()})};let p=this.createTooltipFeature(h);return p&&(p=t.createBean(p),t.setRefreshFunction("tooltip",()=>p.refreshTooltip())),p}setupHeaderGroupTooltip(e,t,a,n){e&&t.destroyBean(e);const r=this.gos,o=Fo(r),{column:i,eGui:s}=t,l=i.getColGroupDef();!n&&o&&!l?.headerGroupComponent&&(n=tn(()=>s.querySelector(".ag-header-group-text")));const c="headerGroup",u=this.beans.colNames.getDisplayNameForColumnGroup(i,"header"),g=a??u,h={getGui:()=>s,getLocation:()=>c,getTooltipValue:()=>a??l?.headerTooltipValueGetter?.(B(r,{location:c,colDef:l,column:i,value:g,valueFormatted:u}))??l?.headerTooltip,shouldDisplayTooltip:n,getAdditionalParams:()=>{const f={column:i};return l&&(f.colDef=l),f}},p=this.createTooltipFeature(h);return p&&t.createBean(p)}enableCellTooltipFeature(e,t,a){const{beans:n}=this,{column:r,rowNode:o}=e,i=mL(n,e,a),s=this.getLocaleTextFunc();let l=null;const c=()=>(l=vL({beans:n,ctrl:e,value:t,displayFunctions:i,translate:s}),l),u={getGui:()=>e.eGui,getLocation:()=>l?.location??"cell",getTooltipValue:()=>c()?.value,shouldDisplayTooltip:()=>{const g=l??c();return g?g.shouldDisplay?g.shouldDisplay():!0:!1},getAdditionalParams:()=>({column:r,colDef:r.getColDef(),rowIndex:e.cellPosition.rowIndex,node:o,data:o.data,valueFormatted:e.valueFormatted})};return this.createTooltipFeature(u,n)}setupFullWidthRowTooltip(e,t,a,n){const r={getGui:()=>t.getFullWidthElement(),getTooltipValue:()=>a,getLocation:()=>"fullWidthRow",shouldDisplayTooltip:n},o=this.beans,i=o.context;e&&t.destroyBean(e,i);const s=this.createTooltipFeature(r,o);if(s)return t.createBean(s,i)}setupCellEditorTooltip(e,t){const{beans:a}=this,{context:n}=a,r=t.getValidationElement?.(!0)||!t.isPopup?.()&&e.eGui;if(!r)return;const o={getGui:()=>r,getTooltipValue:()=>ph(a,e,this.getLocaleTextFunc()),getLocation:()=>"cellEditor",shouldDisplayTooltip:()=>{const{editModelSvc:s}=a,l=s?.getRowValidationModel()?.getRowValidationMap(),c=s?.getCellValidationModel()?.getCellValidationMap(),d=!!l&&l.size>0,u=!!c&&c.size>0;return d||u}},i=this.createTooltipFeature(o,a);if(i)return e.createBean(i,n)}initCol(e){const{colDef:t}=e;e.tooltipEnabled=A(t.tooltipField)||A(t.tooltipValueGetter)||A(t.tooltipComponent)}createTooltipFeature(e,t){return this.beans.registry.createDynamicBean("tooltipFeature",!1,e,t)}},bL=class extends Aw{createTooltipComp(e,t){VF(this.beans.userCompFactory,e)?.newAgStackInstance().then(t)}setEventHandlers(e){[this.onColumnMovedEventCallback]=this.addManagedEventListeners({columnMoved:e})}clearEventHandlers(){this.onColumnMovedEventCallback?.(),this.onColumnMovedEventCallback=void 0}},mc={moduleName:"Tooltip",version:N,beans:[CL],dynamicBeans:{tooltipFeature:hh,highlightTooltipFeature:dL,tooltipStateManager:bL},userComponents:{agTooltipComponent:Tw},dependsOn:[ja],css:[uL]},Mo=class{constructor(e){this.cellValueChanges=e}},fh=class extends Mo{constructor(e,t,a,n){super(e),this.initialRange=t,this.finalRange=a,this.ranges=n}},wL=10,Iw=class{constructor(e){this.actionStack=[],this.maxStackSize=e||wL,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}},yL=class extends F{constructor(){super(...arguments),this.beanName="undoRedo",this.cellValueChanges=[],this.activeCellEdit=null,this.activeRowEdit=null,this.isPasting=!1,this.isRangeInAction=!1,this.batchEditing=!1,this.bulkEditing=!1,this.onCellValueChanged=e=>{const t={column:e.column,rowIndex:e.rowIndex,rowPinned:e.rowPinned},a=this.activeCellEdit!==null&&go(this.activeCellEdit,t),n=this.activeRowEdit!==null&&Ce(this.activeRowEdit,t);if(!(a||n||this.isPasting||this.isRangeInAction))return;const{rowPinned:o,rowIndex:i,column:s,oldValue:l,value:c}=e,d={rowPinned:o,rowIndex:i,columnId:s.getColId(),newValue:c,oldValue:l};this.cellValueChanges.push(d)},this.clearStacks=()=>{this.undoStack.clear(),this.redoStack.clear()}}postConstruct(){const{gos:e,ctrlsSvc:t}=this.beans;if(!e.get("undoRedoCellEditing"))return;const a=e.get("undoRedoCellEditingLimit");if(a<=0)return;this.undoStack=new Iw(a),this.redoStack=new Iw(a),this.addListeners();const n=this.clearStacks.bind(this);this.addManagedEventListeners({cellValueChanged:this.onCellValueChanged.bind(this),modelUpdated:r=>{r.keepUndoRedoStack||this.clearStacks()},columnPivotModeChanged:n,newColumnsLoaded:n,columnGroupOpened:n,columnRowGroupChanged:n,columnMoved:n,columnPinned:n,columnVisible:n,rowDragEnd:n}),t.whenReady(this,r=>{this.gridBodyCtrl=r.gridBodyCtrl})}getCurrentUndoStackSize(){return this.undoStack?.getCurrentStackSize()??0}getCurrentRedoStackSize(){return this.redoStack?.getCurrentStackSize()??0}undo(e){const{eventSvc:t,undoStack:a,redoStack:n}=this;t.dispatchEvent({type:"undoStarted",source:e});const r=this.undoRedo(a,n,"initialRange","oldValue","undo");t.dispatchEvent({type:"undoEnded",source:e,operationPerformed:r})}redo(e){const{eventSvc:t,undoStack:a,redoStack:n}=this;t.dispatchEvent({type:"redoStarted",source:e});const r=this.undoRedo(n,a,"finalRange","newValue","redo");t.dispatchEvent({type:"redoEnded",source:e,operationPerformed:r})}undoRedo(e,t,a,n,r){if(!e)return!1;const o=e.pop();return o?.cellValueChanges?(this.processAction(o,i=>i[n],r),o instanceof fh?this.processRange(o.ranges||[o[a]]):this.processCell(o.cellValueChanges),t.push(o),!0):!1}processAction(e,t,a){const{changeDetectionSvc:n}=this.beans;n?.beginDeferred();try{for(const r of e.cellValueChanges){const{rowIndex:o,rowPinned:i,columnId:s}=r,l={rowIndex:o,rowPinned:i},c=Ge(this.beans,l);c?.displayed&&c.setDataValue(s,t(r),a)}}finally{n?.endDeferred()}}processRange(e){let t;const a=this.beans.rangeSvc;a.removeAllCellRanges(!0),e.forEach((n,r)=>{if(!n)return;const o=n.startRow,i=n.endRow;r===e.length-1&&(t={rowPinned:o.rowPinned,rowIndex:o.rowIndex,columnId:n.startColumn.getColId()},this.setLastFocusedCell(t));const s={rowStartIndex:o.rowIndex,rowStartPinned:o.rowPinned,rowEndIndex:i.rowIndex,rowEndPinned:i.rowPinned,columnStart:n.startColumn,columns:n.columns};a.addCellRange(s)})}processCell(e){const t=e[0],{rowIndex:a,rowPinned:n}=t,r={rowIndex:a,rowPinned:n},o=Ge(this.beans,r),i={rowPinned:t.rowPinned,rowIndex:o.rowIndex,columnId:t.columnId};this.setLastFocusedCell(i)}setLastFocusedCell(e){const{rowIndex:t,columnId:a,rowPinned:n}=e,{colModel:r,focusSvc:o,rangeSvc:i}=this.beans,s=r.getCol(a);if(!s)return;const{scrollFeature:l}=this.gridBodyCtrl;l.ensureIndexVisible(t),l.ensureColumnVisible(s);const c={rowIndex:t,column:s,rowPinned:n};o.setFocusedCell({...c,forceBrowserFocus:!0}),i?.setRangeToCell(c)}addListeners(){this.addManagedEventListeners({rowEditingStarted:e=>{this.activeRowEdit={rowIndex:e.rowIndex,rowPinned:e.rowPinned}},rowEditingStopped:()=>{const e=new Mo(this.cellValueChanges);this.pushActionsToUndoStack(e),this.activeRowEdit=null},cellEditingStarted:e=>{this.activeCellEdit={column:e.column,rowIndex:e.rowIndex,rowPinned:e.rowPinned}},cellEditingStopped:e=>{if(this.activeCellEdit=null,e.valueChanged&&!this.activeRowEdit&&!this.isPasting&&!this.isRangeInAction){const a=new Mo(this.cellValueChanges);this.pushActionsToUndoStack(a)}},pasteStart:()=>{this.isPasting=!0},pasteEnd:()=>{const e=new Mo(this.cellValueChanges);this.pushActionsToUndoStack(e),this.isPasting=!1},fillStart:()=>{this.isRangeInAction=!0},fillEnd:e=>{const t=new fh(this.cellValueChanges,e.initialRange,e.finalRange);this.pushActionsToUndoStack(t),this.isRangeInAction=!1},keyShortcutChangedCellStart:()=>{this.isRangeInAction=!0},keyShortcutChangedCellEnd:()=>{let e;const{rangeSvc:t,gos:a}=this.beans;t&&mt(a)?e=new fh(this.cellValueChanges,void 0,void 0,[...t.getCellRanges()]):e=new Mo(this.cellValueChanges),this.pushActionsToUndoStack(e),this.isRangeInAction=!1},batchEditingStarted:()=>this.startBigChange("batchEditing"),batchEditingStopped:({changes:e})=>this.stopBigChange("batchEditing",e),bulkEditingStarted:()=>this.startBigChange("bulkEditing"),bulkEditingStopped:({changes:e})=>this.stopBigChange("bulkEditing",e)})}startBigChange(e){this.updateBigChange(e,!0)}updateBigChange(e,t){e==="bulkEditing"?this.bulkEditing=t:this.batchEditing=t}stopBigChange(e,t){if(e==="bulkEditing"&&!this.bulkEditing||e==="batchEditing"&&!this.batchEditing||(this.updateBigChange(e,!1),t?.length===0))return;const a=new Mo(t??[]);this.pushActionsToUndoStack(a),this.cellValueChanges=[]}pushActionsToUndoStack(e){this.undoStack.push(e),this.cellValueChanges=[],this.redoStack.clear()}},SL=".ag-cell-inline-editing{border:var(--ag-cell-editing-border)!important;border-radius:var(--ag-border-radius);box-shadow:var(--ag-cell-editing-shadow);padding:0;z-index:1;.ag-cell-edit-wrapper,.ag-cell-editor,.ag-cell-wrapper,:where(.ag-cell-editor) .ag-input-field-input,:where(.ag-cell-editor) .ag-wrapper{height:100%;line-height:normal;min-height:100%;width:100%}&.ag-cell-editing-error{border-color:var(--ag-invalid-color)!important}}:where(.ag-popup-editor) .ag-large-text{background-color:var(--ag-background-color);border-radius:var(--ag-border-radius);box-shadow:var(--ag-dropdown-shadow);padding:0}.ag-large-text-input{display:block;height:auto;padding:var(--ag-cell-horizontal-padding)}:where(.ag-rtl .ag-large-text-input) .ag-text-area-input{resize:none}:where(.ag-ltr) .ag-checkbox-edit{padding-left:var(--ag-cell-horizontal-padding)}:where(.ag-rtl) .ag-checkbox-edit{padding-right:var(--ag-cell-horizontal-padding)}:where(.ag-row.ag-row-editing-invalid .ag-cell-inline-editing){opacity:.8}.ag-popup-editor{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}",xL={tag:"div",cls:"ag-cell-wrapper ag-cell-edit-wrapper ag-checkbox-edit",children:[{tag:"ag-checkbox",ref:"eEditor",role:"presentation"}]},kL=class extends Rr{constructor(){super(xL,[da]),this.eEditor=x}initialiseEditor(e){this.agSetEditValue(e.value),this.eEditor.getInputElement().setAttribute("tabindex","-1"),this.addManagedListeners(this.eEditor,{fieldValueChanged:a=>this.setAriaLabel(a.selected)})}agSetEditValue(e){this.params.value=e;const t=e??void 0;this.eEditor.setValue(t,!0),this.setAriaLabel(t)}getValue(){return this.eEditor.getValue()}focusIn(){this.eEditor.getFocusableElement().focus()}afterGuiAttached(){this.params.cellStartedEdit&&this.focusIn()}isPopup(){return!1}setAriaLabel(e){const t=this.getLocaleTextFunc(),a=Ys(t,e),n=t("ariaToggleCellValue","Press SPACE to toggle cell value");this.eEditor.setInputAriaLabel(`${n} (${a})`)}getValidationElement(e){return e?this.params.eGridCell:this.eEditor.getInputElement()}getValidationErrors(){const{params:e}=this,{getValidationErrors:t}=e,a=this.getValue();return t?t({value:a,internalErrors:null,cellEditorParams:e}):null}},ct=class extends cn{constructor(e,t="ag-text-field",a="text"){super(e,t,a)}postConstruct(){super.postConstruct(),this.config.allowedCharPattern&&this.preventDisallowedCharacters()}setValue(e,t){const a=this.eInput;return a.value!==e&&(a.value=A(e)?e:""),super.setValue(e,t)}setStartValue(e){this.setValue(e,!0)}setCustomValidity(e){const t=this.eInput,a=e.length>0;t.setCustomValidity(e),a&&t.reportValidity(),Ws(t,a)}preventDisallowedCharacters(){const e=new RegExp(`[${this.config.allowedCharPattern}]`),t=a=>{Dl(a)&&a.key&&!e.test(a.key)&&a.preventDefault()};this.addManagedListeners(this.eInput,{keydown:t,paste:a=>{a.clipboardData?.getData("text")?.split("").some(r=>!e.test(r))&&a.preventDefault()}})}},Gt={selector:"AG-INPUT-TEXT-FIELD",component:ct},Eo=class extends ct{constructor(e){super(e,"ag-date-field","date")}postConstruct(){super.postConstruct();const e=ya();this.addManagedListeners(this.eInput,{wheel:this.onWheel.bind(this),mousedown:()=>{this.isDisabled()||e||this.eInput.focus()}}),this.eInput.step="any"}onWheel(e){ne(this.beans)===this.eInput&&e.preventDefault()}setMin(e){const t=e instanceof Date?tt(e??null,!!this.includeTime)??void 0:e;return this.min===t?this:(this.min=t,it(this.eInput,"min",t),this)}setMax(e){const t=e instanceof Date?tt(e??null,!!this.includeTime)??void 0:e;return this.max===t?this:(this.max=t,it(this.eInput,"max",t),this)}setStep(e){return this.step===e?this:(this.step=e,it(this.eInput,"step",e),this)}setIncludeTime(e){return this.includeTime===e?this:(this.includeTime=e,super.setInputType(e?"datetime-local":"date"),e&&this.setStep(1),this)}getDate(){if(this.eInput.validity.valid)return qe(this.getValue())??void 0}setDate(e,t){this.setValue(tt(e??null,this.includeTime),t)}},Lw={selector:"AG-INPUT-DATE-FIELD",component:Eo},vc=class extends Rr{constructor(e){super(),this.cellEditorInput=e,this.eEditor=x}initialiseEditor(e){const{cellEditorInput:t}=this;this.setTemplate({tag:"div",cls:"ag-cell-edit-wrapper",children:[t.getTemplate()]},t.getAgComponents());const{eEditor:a}=this,{cellStartedEdit:n,eventKey:r,suppressPreventDefault:o}=e;a.getInputElement().setAttribute("title",""),t.init(a,e);let i,s=!0;n?(this.focusAfterAttached=!0,r===w.BACKSPACE||r===w.DELETE?i="":r&&r.length===1?o?s=!1:i=r:(i=t.getStartValue(),r!==w.F2&&(this.highlightAllOnFocus=!0))):(this.focusAfterAttached=!1,i=t.getStartValue()),s&&i!=null&&a.setStartValue(i),this.addGuiEventListener("keydown",l=>{const{key:c}=l;(c===w.PAGE_UP||c===w.PAGE_DOWN)&&l.preventDefault()})}afterGuiAttached(){const e=this.getLocaleTextFunc(),t=this.eEditor;if(t.setInputAriaLabel(e("ariaInputEditor","Input Editor")),!this.focusAfterAttached)return;ya()||t.getFocusableElement().focus();const a=t.getInputElement();this.highlightAllOnFocus?a.select():this.cellEditorInput.setCaret?.()}focusIn(){const{eEditor:e}=this,t=e.getFocusableElement(),a=e.getInputElement();t.focus(),a.select()}getValue(){return this.cellEditorInput.getValue()}agSetEditValue(e){this.params.value=e;const t=this.cellEditorInput.getStartValue();this.eEditor.setStartValue(t??null)}isPopup(){return!1}getValidationElement(){return this.eEditor.getInputElement()}getValidationErrors(){return this.cellEditorInput.getValidationErrors()}},RL={tag:"ag-input-date-field",ref:"eEditor",cls:"ag-cell-editor"},FL=class{constructor(e,t){this.getDataTypeService=e,this.getLocaleTextFunc=t}getTemplate(){return RL}getAgComponents(){return[Lw]}init(e,t){this.eEditor=e,this.params=t;const{min:a,max:n,step:r,colDef:o}=t;a!=null&&e.setMin(a),n!=null&&e.setMax(n),r!=null&&e.setStep(r),this.includeTime=t.includeTime??this.getDataTypeService()?.getDateIncludesTimeFlag?.(o.cellDataType),this.includeTime!=null&&e.setIncludeTime(this.includeTime)}getValidationErrors(){const t=this.eEditor.getInputElement().valueAsDate,{params:a}=this,{min:n,max:r,getValidationErrors:o}=a;let i=[];const s=this.getLocaleTextFunc();if(t instanceof Date&&!isNaN(t.getTime())){if(n){const l=n instanceof Date?n:new Date(n);if(tl){const c=l.toLocaleDateString();i.push(s("maxDateValidation",`Date must be before ${c}`,[c]))}}}return i.length||(i=null),o?o({value:t,cellEditorParams:a,internalErrors:i}):i}getValue(){const{eEditor:e,params:t}=this,a=e.getDate();return!A(a)&&!A(t.value)?t.value:a??null}getStartValue(){const{value:e}=this.params;if(e instanceof Date)return tt(e,this.includeTime??!1)}},ML=class extends vc{constructor(){super(new FL(()=>this.beans.dataTypeSvc,()=>this.getLocaleTextFunc()))}},EL={tag:"ag-input-date-field",ref:"eEditor",cls:"ag-cell-editor"},PL=class{constructor(e,t){this.getDataTypeService=e,this.getLocaleTextFunc=t}getTemplate(){return EL}getAgComponents(){return[Lw]}init(e,t){this.eEditor=e,this.params=t;const{min:a,max:n,step:r,colDef:o}=t;a!=null&&e.setMin(a),n!=null&&e.setMax(n),r!=null&&e.setStep(r),this.includeTime=t.includeTime??this.getDataTypeService()?.getDateIncludesTimeFlag?.(o.cellDataType),this.includeTime!=null&&e.setIncludeTime(this.includeTime)}getValidationErrors(){const{eEditor:e,params:t}=this,a=e.getInputElement().value,n=this.formatDate(this.parseDate(a??void 0)),{min:r,max:o,getValidationErrors:i}=t;let s=[];if(n){const l=new Date(n),c=this.getLocaleTextFunc();if(r){const d=new Date(r);if(ld){const u=d.toLocaleDateString();s.push(c("maxDateValidation",`Date must be before ${u}`,[u]))}}}return s.length||(s=null),i?i({value:this.getValue(),cellEditorParams:t,internalErrors:s}):s}getValue(){const{params:e,eEditor:t}=this,a=this.formatDate(t.getDate());return!A(a)&&!A(e.value)?e.value:e.parseValue(a??"")}getStartValue(){return tt(this.parseDate(this.params.value??void 0)??null,this.includeTime??!1)}parseDate(e){const t=this.getDataTypeService();return t?t.getDateParserFunction(this.params.column)(e):qe(e)??void 0}formatDate(e){const t=this.getDataTypeService();return t?t.getDateFormatterFunction(this.params.column)(e):tt(e??null,this.includeTime??!1)??void 0}},AL=class extends vc{constructor(){super(new PL(()=>this.beans.dataTypeSvc,()=>this.getLocaleTextFunc()))}},zw=class extends cn{constructor(e){super(e,"ag-text-area",null,"textarea")}setValue(e,t){const a=super.setValue(e,t);return this.eInput.value=e,a}setCols(e){return this.eInput.cols=e,this}setRows(e){return this.eInput.rows=e,this}},TL={selector:"AG-INPUT-TEXT-AREA",component:zw},DL={tag:"div",cls:"ag-large-text",children:[{tag:"ag-input-text-area",ref:"eEditor",cls:"ag-large-text-input"}]},IL=class extends Rr{constructor(){super(DL,[TL]),this.eEditor=x}initialiseEditor(e){const{eEditor:t}=this,{cellStartedEdit:a,eventKey:n,maxLength:r,cols:o,rows:i}=e;this.focusAfterAttached=a,t.getInputElement().setAttribute("title",""),t.setMaxLength(r||200).setCols(o||60).setRows(i||10);let s;a?(this.focusAfterAttached=!0,n===w.BACKSPACE||n===w.DELETE?s="":n&&n.length===1?s=n:(s=this.getStartValue(e),n!==w.F2&&(this.highlightAllOnFocus=!0))):(this.focusAfterAttached=!1,s=this.getStartValue(e)),s!=null&&t.setValue(s,!0),this.addGuiEventListener("keydown",this.onKeyDown.bind(this)),this.activateTabIndex()}getStartValue(e){const{value:t}=e;return t?.toString()??t}agSetEditValue(e){this.params.value=e;const t=this.getStartValue(this.params);this.eEditor.setValue(t??"",!0)}onKeyDown(e){const t=e.key;(t===w.LEFT||t===w.UP||t===w.RIGHT||t===w.DOWN||e.shiftKey&&t===w.ENTER)&&e.stopPropagation()}afterGuiAttached(){const{eEditor:e,focusAfterAttached:t,highlightAllOnFocus:a}=this,n=this.getLocaleTextFunc();e.setInputAriaLabel(n("ariaInputEditor","Input Editor")),t&&(e.getFocusableElement().focus(),a&&e.getInputElement().select())}getValue(){const{eEditor:e,params:t}=this,{value:a}=t,n=e.getValue();return!A(n)&&!A(a)?a:t.parseValue(n)}getValidationElement(){return this.eEditor.getInputElement()}getValidationErrors(){const{params:e}=this,{maxLength:t,getValidationErrors:a}=e,n=this.getLocaleTextFunc(),r=this.getValue();let o=[];return typeof r=="string"&&t!=null&&r.length>t&&o.push(n("maxLengthValidation",`Must be ${t} characters or fewer.`,[String(t)])),o.length||(o=null),a?a({value:r,internalErrors:o,cellEditorParams:e}):o}},ss=class extends ct{constructor(e){super(e,"ag-number-field","number")}postConstruct(){super.postConstruct();const e=this.eInput;this.addManagedListeners(e,{blur:()=>{const o=Number.parseFloat(e.value),i=isNaN(o)?"":this.normalizeValue(o.toString());this.value!==i&&this.setValue(i)},wheel:this.onWheel.bind(this)}),e.step="any";const{precision:t,min:a,max:n,step:r}=this.config;typeof t=="number"&&this.setPrecision(t),typeof a=="number"&&this.setMin(a),typeof n=="number"&&this.setMax(n),typeof r=="number"&&this.setStep(r)}onWheel(e){ne(this.beans)===this.eInput&&e.preventDefault()}normalizeValue(e){return e===""?"":(this.precision!=null&&(e=this.adjustPrecision(e)),e)}adjustPrecision(e,t){const a=this.precision;if(a==null)return e;if(t){const r=Number.parseFloat(e).toFixed(a);return Number.parseFloat(r).toString()}const n=String(e).split(".");if(n.length>1){if(n[1].length<=a)return e;if(a>0)return`${n[0]}.${n[1].slice(0,a)}`}return n[0]}setMin(e){return this.min===e?this:(this.min=e,it(this.eInput,"min",e),this)}setMax(e){return this.max===e?this:(this.max=e,it(this.eInput,"max",e),this)}setPrecision(e){return this.precision=e,this}setStep(e){return this.step===e?this:(this.step=e,it(this.eInput,"step",e),this)}setValue(e,t){return this.setValueOrInputValue(a=>super.setValue(a,t),()=>this,e)}setStartValue(e){return this.setValueOrInputValue(t=>super.setValue(t,!0),t=>{this.eInput.value=t},e)}setValueOrInputValue(e,t,a){if(A(a)){let n=this.isScientificNotation(a);if(n&&this.eInput.validity.valid)return e(a);if(!n){a=this.adjustPrecision(a);const r=this.normalizeValue(a);n=a!=r}if(n)return t(a)}return e(a)}getValue(e=!1){const t=this.eInput;if(!t.validity.valid&&!e)return;const a=t.value;return this.isScientificNotation(a)?this.adjustPrecision(a,!0):super.getValue()}isScientificNotation(e){return typeof e=="string"&&e.includes("e")}},ls={selector:"AG-INPUT-NUMBER-FIELD",component:ss},LL={tag:"ag-input-number-field",ref:"eEditor",cls:"ag-cell-editor"},zL=class{constructor(e){this.getLocaleTextFunc=e}getTemplate(){return LL}getAgComponents(){return[ls]}init(e,t){this.eEditor=e,this.params=t;const{max:a,min:n,precision:r,step:o}=t;a!=null&&e.setMax(a),n!=null&&e.setMin(n),r!=null&&e.setPrecision(r),o!=null&&e.setStep(o);const i=e.getInputElement();t.preventStepping?e.addManagedElementListeners(i,{keydown:this.preventStepping}):t.showStepperButtons&&i.classList.add("ag-number-field-input-stepper")}getValidationErrors(){const{params:e}=this,{min:t,max:a,getValidationErrors:n}=e,o=this.eEditor.getInputElement().valueAsNumber,i=this.getLocaleTextFunc();let s=[];return typeof o=="number"&&(t!=null&&oa&&s.push(i("maxValueValidation",`Must be less than or equal to ${a}.`,[String(a)]))),s.length||(s=null),n?n({value:o,cellEditorParams:e,internalErrors:s}):s}preventStepping(e){(e.key===w.UP||e.key===w.DOWN)&&e.preventDefault()}getValue(){const{eEditor:e,params:t}=this,a=e.getValue();if(!A(a)&&!A(t.value))return t.value;let n=t.parseValue(a);if(n==null)return n;if(typeof n=="string"){if(n==="")return null;n=Number(n)}return isNaN(n)?null:n}getStartValue(){return this.params.value}setCaret(){ya()&&this.eEditor.getInputElement().focus({preventScroll:!0})}},OL=class extends vc{constructor(){super(new zL(()=>this.getLocaleTextFunc()))}},GL=".ag-list-item{align-items:center;display:flex;height:var(--ag-list-item-height);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;&.ag-active-item{background-color:var(--ag-row-hover-color)}}",VL="ag-active-item",BL=(e,t)=>({tag:"div",cls:`ag-list-item ag-${e}-list-item`,attrs:{role:"option"},children:[{tag:"span",cls:`ag-list-item-text ag-${e}-list-item-text`,ref:"eText",children:t}]}),NL=class extends Mt{constructor(e,t,a){super(BL(e,t)),this.label=t,this.value=a,this.eText=x}postConstruct(){this.createTooltip(),this.addEventListeners()}setHighlighted(e){const t=this.getGui();t.classList.toggle(VL,e),ci(t,e),this.dispatchLocalEvent({type:"itemHighlighted",highlighted:e})}getHeight(){return this.getGui().clientHeight}setIndex(e,t){const a=this.getGui();li(a,e),si(a,t)}createTooltip(){const e={getTooltipValue:()=>this.label,getGui:()=>this.getGui(),getLocation:()=>"UNKNOWN",shouldDisplayTooltip:()=>pm(this.eText)},t=this.createOptionalManagedBean(this.beans.registry.createDynamicBean("highlightTooltipFeature",!1,e,this));t&&(this.tooltipFeature=t)}addEventListeners(){const e=this.getParentComponent();e&&(this.addGuiEventListener("mouseover",()=>{e.highlightItem(this)}),this.addGuiEventListener("mousedown",t=>{t.preventDefault(),t.stopPropagation(),e.setValue(this.value)}))}},HL=class extends Mt{constructor(e="default"){super({tag:"div",cls:`ag-list ag-${e}-list`}),this.cssIdentifier=e,this.options=[],this.listItems=[],this.highlightedItem=null,this.registerCSS(GL)}postConstruct(){const e=this.getGui();this.addManagedElementListeners(e,{mouseleave:()=>this.clearHighlighted()})}handleKeyDown(e){const t=e.key;switch(t){case w.ENTER:if(!this.highlightedItem)this.setValue(this.getValue());else{const a=this.listItems.indexOf(this.highlightedItem);this.setValueByIndex(a)}break;case w.DOWN:case w.UP:e.preventDefault(),this.navigate(t);break;case w.PAGE_DOWN:case w.PAGE_UP:case w.PAGE_HOME:case w.PAGE_END:e.preventDefault(),this.navigateToPage(t);break}}addOptions(e){for(const t of e)this.addOption(t);return this}addOption(e){const{value:t,text:a}=e,n=a??t;return this.options.push({value:t,text:n}),this.renderOption(t,n),this.updateIndices(),this}clearOptions(){this.options=[],this.reset(!0);for(const e of this.listItems)e.destroy();ee(this.getGui()),this.listItems=[],this.refreshAriaRole()}updateOptions(e){const t=this.options!==e;return t&&(this.clearOptions(),this.addOptions(e)),t}setValue(e,t){if(this.value===e)return this.fireItemSelected(),this;if(e==null)return this.reset(t),this;const a=this.options.findIndex(n=>n.value===e);if(a!==-1){const n=this.options[a];this.value=n.value,this.displayValue=n.text,this.highlightItem(this.listItems[a]),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(t=>t.value===this.value);e!==-1&&this.highlightItem(this.listItems[e])}highlightItem(e){const t=e.getGui();if(!Be(t))return;this.clearHighlighted(),e.setHighlighted(!0),this.highlightedItem=e;const a=this.getGui(),{scrollTop:n,clientHeight:r}=a,{offsetTop:o,offsetHeight:i}=t;(o+i>n+r||o{a.setIndex(n+1,t)})}fireChangeEvent(){this.dispatchLocalEvent({type:"fieldValueChanged"}),this.fireItemSelected()}fireItemSelected(){this.dispatchLocalEvent({type:"selectedItem"})}},qL=".ag-picker-field-display{flex:1 1 auto}.ag-picker-field{align-items:center;display:flex}.ag-picker-field-icon{border:0;cursor:pointer;display:flex;margin:0;padding:0}.ag-picker-field-wrapper{background-color:var(--ag-picker-button-background-color);border:var(--ag-picker-button-border);border-radius:5px;min-height:max(var(--ag-list-item-height),calc(var(--ag-spacing)*4));overflow:hidden;&:where(.invalid){background-color:var(--ag-input-invalid-background-color);border:var(--ag-input-invalid-border);color:var(--ag-input-invalid-text-color)}}.ag-picker-field-wrapper:where(.ag-picker-has-focus),.ag-picker-field-wrapper:where(:focus-within){background-color:var(--ag-picker-button-focus-background-color);border:var(--ag-picker-button-focus-border);box-shadow:var(--ag-focus-shadow);&:where(.invalid){box-shadow:var(--ag-focus-error-shadow)}}.ag-picker-field-wrapper:disabled{opacity:.5}",WL={tag:"div",cls:"ag-picker-field",role:"presentation",children:[{tag:"div",ref:"eLabel"},{tag:"div",ref:"eWrapper",cls:"ag-wrapper ag-picker-field-wrapper ag-picker-collapsed",children:[{tag:"div",ref:"eDisplayField",cls:"ag-picker-field-display"},{tag:"div",ref:"eIcon",cls:"ag-picker-field-icon",attrs:{"aria-hidden":"true"}}]}]},Cc=class extends kg{constructor(e){if(super(e,e?.template||WL,e?.agComponents||[],e?.className),this.isPickerDisplayed=!1,this.skipClick=!1,this.pickerGap=4,this.hideCurrentPicker=null,this.eLabel=x,this.eWrapper=x,this.eDisplayField=x,this.eIcon=x,this.registerCSS(qL),this.ariaRole=e?.ariaRole,this.onPickerFocusIn=this.onPickerFocusIn.bind(this),this.onPickerFocusOut=this.onPickerFocusOut.bind(this),!e)return;const{pickerGap:t,maxPickerHeight:a,variableWidth:n,minPickerWidth:r,maxPickerWidth:o}=e;t!=null&&(this.pickerGap=t),this.variableWidth=!!n,a!=null&&this.setPickerMaxHeight(a),r!=null&&this.setPickerMinWidth(r),o!=null&&this.setPickerMaxWidth(o)}postConstruct(){super.postConstruct(),this.setupAria();const e=`ag-${this.getCompId()}-display`;this.eDisplayField.setAttribute("id",e);const t=this.getAriaElement();this.addManagedElementListeners(t,{keydown:this.onKeyDown.bind(this)}),this.addManagedElementListeners(this.eLabel,{mousedown:this.onLabelOrWrapperMouseDown.bind(this)}),this.addManagedElementListeners(this.eWrapper,{mousedown:this.onLabelOrWrapperMouseDown.bind(this)});const{pickerIcon:a,inputWidth:n}=this.config;if(a){const r=this.beans.iconSvc.createIconNoSpan(a);r&&this.eIcon.appendChild(r)}n!=null&&this.setInputWidth(n)}setupAria(){const e=this.getAriaElement();e.setAttribute("tabindex",this.gos.get("tabIndex").toString()),ot(e,!1),this.ariaRole&&De(e,this.ariaRole)}onLabelOrWrapperMouseDown(e){if(e){const t=this.getFocusableElement();if(t!==this.eWrapper&&e?.target===t)return;e.preventDefault(),this.getFocusableElement().focus()}if(this.skipClick){this.skipClick=!1;return}this.isDisabled()||(this.isPickerDisplayed?this.hidePicker():this.showPicker())}onKeyDown(e){switch(e.key){case w.UP:case w.DOWN:case w.ENTER:case w.SPACE:e.preventDefault(),this.onLabelOrWrapperMouseDown();break;case w.ESCAPE:this.isPickerDisplayed&&(e.preventDefault(),e.stopPropagation(),this.hideCurrentPicker&&this.hideCurrentPicker());break}}showPicker(){this.isPickerDisplayed=!0,this.pickerComponent||(this.pickerComponent=this.createPickerComponent());const e=this.pickerComponent.getGui();e.addEventListener("focusin",this.onPickerFocusIn),e.addEventListener("focusout",this.onPickerFocusOut),this.hideCurrentPicker=this.renderAndPositionPicker(),this.toggleExpandedStyles(!0)}renderAndPositionPicker(){const e=this.pickerComponent.getGui();this.gos.get("suppressScrollWhenPopupsAreOpen")||([this.destroyMouseWheelFunc]=this.addManagedEventListeners({bodyScroll:()=>{this.hidePicker()}}));const t=this.getLocaleTextFunc(),{config:{pickerAriaLabelKey:a,pickerAriaLabelValue:n,modalPicker:r=!0},maxPickerHeight:o,minPickerWidth:i,maxPickerWidth:s,variableWidth:l,beans:c,eWrapper:d}=this,u={modal:r,eChild:e,closeOnEsc:!0,closedCallback:()=>{const f=ma(c);this.beforeHidePicker(),f&&this.isAlive()&&this.getFocusableElement().focus()},ariaLabel:t(a,n),anchorToElement:d};e.style.position="absolute";const g=c.popupSvc,h=g.addPopup(u);l?(i&&(e.style.minWidth=i),e.style.width=qd(yn(d)),s&&(e.style.maxWidth=s)):Xs(e,s??yn(d));const p=o??`${ui(g.getPopupParent())}px`;return e.style.setProperty("max-height",p),this.alignPickerToComponent(),h.hideFunc}alignPickerToComponent(){if(!this.pickerComponent)return;const{pickerGap:e,config:{pickerType:t},beans:{popupSvc:a,gos:n},eWrapper:r,pickerComponent:o}=this,i=n.get("enableRtl")?"right":"left";a.positionPopupByComponent({type:t,eventSource:r,ePopup:o.getGui(),position:"under",alignSide:i,keepWithinBounds:!0,nudgeY:e})}beforeHidePicker(){this.destroyMouseWheelFunc&&(this.destroyMouseWheelFunc(),this.destroyMouseWheelFunc=void 0),this.toggleExpandedStyles(!1);const e=this.pickerComponent.getGui();e.removeEventListener("focusin",this.onPickerFocusIn),e.removeEventListener("focusout",this.onPickerFocusOut),this.isPickerDisplayed=!1,this.pickerComponent=void 0,this.hideCurrentPicker=null}toggleExpandedStyles(e){if(!this.isAlive())return;const t=this.getAriaElement();ot(t,e);const a=this.eWrapper.classList;a.toggle("ag-picker-expanded",e),a.toggle("ag-picker-collapsed",!e)}onPickerFocusIn(){this.togglePickerHasFocus(!0)}onPickerFocusOut(e){this.pickerComponent?.getGui().contains(e.relatedTarget)||this.togglePickerHasFocus(!1)}togglePickerHasFocus(e){this.pickerComponent&&this.eWrapper.classList.toggle("ag-picker-has-focus",e)}hidePicker(){this.hideCurrentPicker&&(this.hideCurrentPicker(),this.dispatchLocalEvent({type:"pickerHidden"}))}setInputWidth(e){return Xs(this.eWrapper,e),this}getFocusableElement(){return this.eWrapper}setPickerGap(e){return this.pickerGap=e,this}setPickerMinWidth(e){return typeof e=="number"&&(e=`${e}px`),this.minPickerWidth=e??void 0,this}setPickerMaxWidth(e){return typeof e=="number"&&(e=`${e}px`),this.maxPickerWidth=e??void 0,this}setPickerMaxHeight(e){return typeof e=="number"&&(e=`${e}px`),this.maxPickerHeight=e??void 0,this}destroy(){this.hidePicker(),super.destroy()}},UL=".ag-select{align-items:center;display:flex;&.ag-disabled{opacity:.5}}.ag-select:where(:not(.ag-cell-editor,.ag-label-align-top)){min-height:var(--ag-list-item-height)}:where(.ag-select){.ag-picker-field-wrapper{cursor:default;padding-left:var(--ag-spacing);padding-right:var(--ag-spacing)}&.ag-disabled .ag-picker-field-wrapper:focus{box-shadow:none}.ag-picker-field-display{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-picker-field-icon{align-items:center;display:flex}}.ag-select-list{background-color:var(--ag-picker-list-background-color);border:var(--ag-picker-list-border);border-radius:var(--ag-border-radius);box-shadow:var(--ag-dropdown-shadow);overflow:hidden auto}.ag-select-list-item{cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}:where(.ag-ltr) .ag-select-list-item{padding-left:var(--ag-spacing)}:where(.ag-rtl) .ag-select-list-item{padding-right:var(--ag-spacing)}.ag-select-list-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}",vt=class extends Cc{constructor(e){super({pickerAriaLabelKey:"ariaLabelSelectField",pickerAriaLabelValue:"Select Field",pickerType:"ag-list",className:"ag-select",pickerIcon:"selectOpen",ariaRole:"combobox",...e}),this.registerCSS(UL)}postConstruct(){this.tooltipFeature=this.createOptionalManagedBean(this.beans.registry.createDynamicBean("tooltipFeature",!1,{shouldDisplayTooltip:tn(()=>this.eDisplayField),getGui:()=>this.getGui()})),super.postConstruct(),this.createListComponent(),this.eWrapper.tabIndex=this.gos.get("tabIndex");const{options:e,value:t,placeholder:a}=this.config;e!=null&&this.addOptions(e),t!=null&&this.setValue(t,!0),a&&t==null&&(this.eDisplayField.textContent=a),this.addManagedElementListeners(this.eWrapper,{focusout:this.onWrapperFocusOut.bind(this)})}onWrapperFocusOut(e){this.eWrapper.contains(e.relatedTarget)||this.hidePicker()}createListComponent(){const e=this.createBean(new HL("select"));this.listComponent=e,e.setParentComponent(this);const t=e.getAriaElement(),a=`ag-select-list-${e.getCompId()}`;t.setAttribute("id",a),Ks(this.getAriaElement(),t),e.addManagedElementListeners(e.getGui(),{mousedown:n=>{n?.preventDefault()}}),e.addManagedListeners(e,{selectedItem:()=>{this.hidePicker(),this.dispatchLocalEvent({type:"selectedItem"})},fieldValueChanged:()=>{this.listComponent&&(this.setValue(this.listComponent.getValue(),!1,!0),this.hidePicker())}})}createPickerComponent(){return this.listComponent}beforeHidePicker(){this.listComponent?.hideItemTooltip(),super.beforeHidePicker()}onKeyDown(e){const{key:t}=e;switch(t===w.TAB&&this.hidePicker(),t){case w.ENTER:case w.UP:case w.DOWN:case w.PAGE_UP:case w.PAGE_DOWN:case w.PAGE_HOME:case w.PAGE_END:e.preventDefault(),this.isPickerDisplayed?this.listComponent?.handleKeyDown(e):super.onKeyDown(e);break;case w.ESCAPE:super.onKeyDown(e);break;case w.SPACE:this.isPickerDisplayed?e.preventDefault():super.onKeyDown(e);break}}showPicker(){const e=this.listComponent;e&&(super.showPicker(),e.refreshHighlighted())}addOptions(e){for(const t of e)this.addOption(t);return this}addOption(e){return this.listComponent.addOption(e),this}clearOptions(){return this.listComponent?.clearOptions(),this.setValue(void 0,!0),this}updateOptions(e){return this.listComponent?.updateOptions(e)&&this.setValue(void 0,!0),this}setValue(e,t,a){const{listComponent:n,config:{placeholder:r},eDisplayField:o,tooltipFeature:i}=this;if(this.value===e||!n)return this;if(a||n.setValue(e,!0),n.getValue()===this.getValue())return this;let l=n.getDisplayValue();return l==null&&r&&(l=r),o.textContent=l,i?.setTooltipAndRefresh(l??null),super.setValue(e,t)}destroy(){this.listComponent=this.destroyBean(this.listComponent),super.destroy()}},Un={selector:"AG-SELECT",component:vt},jL={tag:"div",cls:"ag-cell-edit-wrapper",children:[{tag:"ag-select",ref:"eEditor",cls:"ag-cell-editor"}]},_L=class extends Rr{constructor(){super(jL,[Un]),this.eEditor=x,this.startedByEnter=!1}wireBeans(e){this.valueSvc=e.valueSvc}initialiseEditor(e){this.focusAfterAttached=e.cellStartedEdit;const{eEditor:t,valueSvc:a,gos:n}=this,{values:r,value:o,eventKey:i}=e;if(ie(r)){R(58);return}this.startedByEnter=i!=null?i===w.ENTER:!1;let s=!1;r.forEach(u=>{const g={value:u},h=a.formatValue(e.column,null,u),p=h!=null;g.text=p?h:u,t.addOption(g),s=s||o===u}),s?t.setValue(e.value??void 0,!0):e.values.length&&t.setValue(e.values[0],!0);const{valueListGap:l,valueListMaxWidth:c,valueListMaxHeight:d}=e;l!=null&&t.setPickerGap(l),d!=null&&t.setPickerMaxHeight(d),c!=null&&t.setPickerMaxWidth(c),n.get("editType")!=="fullRow"&&this.addManagedListeners(this.eEditor,{selectedItem:()=>e.stopEditing()})}afterGuiAttached(){this.focusAfterAttached&&this.eEditor.getFocusableElement().focus(),this.startedByEnter&&setTimeout(()=>{this.isAlive()&&this.eEditor.showPicker()})}focusIn(){this.eEditor.getFocusableElement().focus()}agSetEditValue(e){this.params.value=e,this.eEditor.setValue(e??void 0,!0)}getValue(){return this.eEditor.getValue()}isPopup(){return!1}getValidationElement(){return this.eEditor.getAriaElement()}getValidationErrors(){const{params:e}=this,{values:t,getValidationErrors:a}=e,n=this.getValue();let r=[];if(t&&n!=null&&!t.includes(n)){const o=this.getLocaleTextFunc();r.push(o("invalidSelectionValidation","Invalid selection."))}else r=null;return a?a({value:n,internalErrors:r,cellEditorParams:e}):r}},KL={tag:"ag-input-text-field",ref:"eEditor",cls:"ag-cell-editor"},YL=class{constructor(e){this.getLocaleTextFunc=e}getTemplate(){return KL}getAgComponents(){return[Gt]}init(e,t){this.eEditor=e,this.params=t;const a=t.maxLength;a!=null&&e.setMaxLength(a)}getValidationErrors(){const{params:e}=this,{maxLength:t,getValidationErrors:a}=e,n=this.getValue(),r=this.getLocaleTextFunc();let o=[];return t!=null&&typeof n=="string"&&n.length>t&&o.push(r("maxLengthValidation",`Must be ${t} characters or fewer.`,[String(t)])),o.length||(o=null),a?a({value:n,cellEditorParams:e,internalErrors:o}):o}getValue(){const{eEditor:e,params:t}=this,a=e.getValue();return!A(a)&&!A(t.value)?t.value:t.parseValue(a)}getStartValue(){const e=this.params;return e.useFormatter||e.column.getColDef().refData?e.formatValue(e.value):e.value}setCaret(){ya()&&this.eEditor.getInputElement().focus({preventScroll:!0});const e=this.eEditor,t=e.getValue(),a=A(t)&&t.length||0;a&&e.getInputElement().setSelectionRange(a,a)}},Ow=class extends vc{constructor(){super(new YL(()=>this.getLocaleTextFunc()))}};function QL(e){e.undoRedo?.undo("api")}function ZL(e){e.undoRedo?.redo("api")}function XL(e,t){return e.editModelSvc?.getEditRowDataValue(t,{checkSiblings:!0})}function JL(e){const t=e.editModelSvc?.getEditMap(),a=[];return t?.forEach((n,r)=>{const{rowIndex:o,rowPinned:i}=r;n.forEach((s,l)=>{const{editorValue:c,pendingValue:d,sourceValue:u,state:g}=s,h=Ra(s);let p=c??d;p===at&&(p=void 0);const f={newValue:p,oldValue:u,state:g,column:l,colId:l.getColId(),colKey:l.getColId(),rowIndex:o,rowPinned:i},m=g==="editing";(m||!m&&h)&&a.push(f)})}),a}function $L(e,t=!1){const{editSvc:a}=e;if(a?.isBatchEditing()){if(t)for(const n of e.editModelSvc?.getEditPositions()??[])n.state==="editing"&&a.revertSingleCellEdit(n);else Hn(e,{persist:!0});qn(e,void 0,{cancel:t})}else a?.stopEditing(void 0,{cancel:t,source:"edit",forceStop:!t,forceCancel:t})}function e4(e,t){const a=ce(e,t);return!!e.editSvc?.isEditing(a)}function t4(e,t){const{key:a,colKey:n,rowIndex:r,rowPinned:o}=t,{editSvc:i,colModel:s}=e,l=s.getCol(n);if(!l){R(12,{colKey:n});return}const d=Ge(e,{rowIndex:r,rowPinned:o||null,column:l});if(!d){R(290,{rowIndex:r,rowPinned:o});return}if(!i?.isCellEditable({rowNode:d,column:l},"api"))return;o==null&&hw(e,r),gw(e,n),i?.startEditing({rowNode:d,column:l},{event:a?new KeyboardEvent("keydown",{key:a}):void 0,source:"api",editable:!0})}function a4(e){return e.editSvc?.validateEdit()||null}function n4(e){return e.undoRedo?.getCurrentUndoStackSize()??0}function r4(e){return e.undoRedo?.getCurrentRedoStackSize()??0}var o4={tag:"div",cls:"ag-popup-editor",attrs:{tabindex:"-1"}},i4=class extends Di{constructor(e){super(o4),this.params=e}postConstruct(){vr(this.gos,this.getGui(),"popupEditorWrapper",!0),this.addKeyDownListener()}addKeyDownListener(){const e=this.getGui(),t=this.params,a=n=>{ng(this.gos,n,t.node,t.column,!0)||t.onKeyDown(n)};this.addManagedElementListeners(e,{keydown:a})}};function s4(e,{column:t},a,n,r="ui"){if(a instanceof KeyboardEvent&&(a.key===w.TAB||a.key===w.ENTER||a.key===w.F2||a.key===w.BACKSPACE&&n))return!0;if(a?.shiftKey&&e.rangeSvc?.getCellRanges().length!=0)return!1;const i=t?.getColDef(),s=l4(e.gos,i),l=a?.type;return l==="click"&&a?.detail===1&&s===1||l==="dblclick"&&a?.detail===2&&s===2?!0:r==="api"?!!n:!1}function l4(e,t){return e.get("suppressClickEdit")===!0?0:e.get("singleClickEdit")===!0||t?.singleClickEdit?1:2}function mh(e,t){return e.editModelSvc?.hasEdits(t,{withOpenEditor:!0})??!1}function vh(e,t){const a=t.column,n=t.rowNode,r=a.getColDef();if(!n)return mh(e,t);const o=r.editable;return n.group&&r.groupRowEditable!=null?e.rowGroupingEditValueSvc?.isGroupCellEditable(n,a)?!0:mh(e,t):a.isColumnFunc(n,o)?!0:mh(e,t)}function c4(e,t,a="ui"){const n=vh(e,t);if(n||a==="ui")return n;const{rowNode:r,column:o}=t;for(const i of e.colModel.getCols())if(i!==o&&vh(e,{rowNode:r,column:i}))return!0;return!1}var bc=(e,t=!1)=>{if(e!==void 0)return Ra(e)||t&&e.state==="editing"};function Gw(e,t,a=!1){return bc(e.editModelSvc?.getEdit(t),a)}var Vw=(e,t,a)=>{if(e)for(let n=0,r=e.length;n{const l={rowNode:n,column:s};return Gw(a,l,!0)||Bw(a,l)||Nw(a,l)});this.applyStyle(o,i);return}this.applyStyle(o)}applyStyle(e=!1,t=!1){const a=!!this.editSvc?.isBatchEditing(),n=this.gos.get("editType")==="fullRow";this.rowCtrl?.forEachGui(void 0,({rowComp:r})=>{r.toggleCss("ag-row-editing",n&&t),r.toggleCss("ag-row-batch-edit",n&&t&&a),r.toggleCss("ag-row-inline-editing",t),r.toggleCss("ag-row-not-inline-editing",!t),r.toggleCss("ag-row-editing-invalid",n&&t&&e)})}},g4=({rowModel:e,pinnedRowModel:t,editModelSvc:a},n)=>{const r=new Set;e.forEachNode(o=>n.has(o)&&r.add(o)),t?.forEachPinnedRow("top",o=>n.has(o)&&r.add(o)),t?.forEachPinnedRow("bottom",o=>n.has(o)&&r.add(o));for(const o of n)r.has(o)||a.removeEdits({rowNode:o});return r},h4=({editModelSvc:e},t,a)=>{for(const n of t)e?.getEditRow(n)?.forEach((r,o)=>!a.has(o)&&e.removeEdits({rowNode:n,column:o}))},p4=e=>()=>{const t=new Set(e.colModel.getCols()),a=e.editModelSvc.getEditMap(!0),n=new Set(a.keys());h4(e,g4(e,n),t)},f4=new Set(["undo","redo","paste","bulk","rangeSvc"]),m4=new Set(["ui","api"]),Hw={paste:"api",rangeSvc:"api",fillHandle:"api",cellClear:"api",bulk:"api"},v4=new Set(Object.keys(Hw)),C4=new Set(["paste","rangeSvc","cellClear","redo","undo"]),Ch={cancel:!0,source:"api"},b4={cancel:!1,source:"api"},Gr={checkSiblings:!0},jn={force:!0,suppressFlash:!0},w4={force:!0},y4=class extends F{constructor(){super(...arguments),this.beanName="editSvc",this.committing=!1,this.batch=!1,this.batchStartDispatched=!1,this.stopping=!1,this.rangeSelectionWhileEditing=0}postConstruct(){const{beans:e}=this;this.model=e.editModelSvc,this.valueSvc=e.valueSvc,this.rangeSvc=e.rangeSvc,this.addManagedPropertyListener("editType",({currentValue:n})=>{this.stopEditing(void 0,Ch),this.createStrategy(n)});const t=p4(e),a=()=>{const n=this.model.getCellValidationModel().getCellValidationMap().size>0,r=this.model.getRowValidationModel().getRowValidationMap().size>0;return n||r?this.stopEditing(void 0,Ch):this.isEditing()&&(this.batch?qn(e,this.model.getEditPositions()):this.stopEditing(void 0,b4)),!1};this.addManagedEventListeners({columnPinned:t,columnVisible:t,columnRowGroupChanged:t,rowExpansionStateChanged:t,pinnedRowsChanged:t,displayedRowsChanged:t,sortChanged:a,filterChanged:a,cellFocused:this.onCellFocused.bind(this)})}isBatchEditing(){return this.batch}startBatchEditing(){this.batch||(this.batch=!0,this.batchStartDispatched=!1,this.stopEditing(void 0,Ch))}stopBatchEditing(e){this.batch&&(e&&this.stopEditing(void 0,e),this.batchStartDispatched&&this.dispatchBatchStopped(new Map,!1),this.batch=!1,this.batchStartDispatched=!1)}ensureBatchStarted(){!this.batch||this.batchStartDispatched||(this.batchStartDispatched=!0,this.dispatchBatchEvent("batchEditingStarted",new Map))}createStrategy(e){const{beans:t,gos:a,strategy:n}=this,r=qw(a,e);if(n){if(n.beanName===r)return n;this.destroyStrategy()}return this.strategy=this.createOptionalManagedBean(t.registry.createDynamicBean(r,!0))}destroyStrategy(){this.strategy&&(this.strategy.destroy(),this.strategy=this.destroyBean(this.strategy))}shouldStartEditing(e,t,a,n="ui"){const r=s4(this.beans,e,t,a,n);return r&&(this.strategy??(this.strategy=this.createStrategy())),r}shouldStopEditing(e,t,a="ui"){return this.strategy?.shouldStop(e,t,a)??null}shouldCancelEditing(e,t,a="ui"){return this.strategy?.shouldCancel(e,t,a)??null}validateEdit(){return PT(this.beans)}isEditing(e,t){return this.model.hasEdits(e??void 0,t??Gr)}isRowEditing(e,t){return!!e&&this.model.hasRowEdits(e,t)}enableRangeSelectionWhileEditing(){this.beans.rangeSvc&&this.gos.get("cellSelection")&&this.rangeSelectionWhileEditing++}disableRangeSelectionWhileEditing(){this.rangeSelectionWhileEditing=Math.max(0,this.rangeSelectionWhileEditing-1)}isRangeSelectionEnabledWhileEditing(){return this.rangeSelectionWhileEditing>0}startEditing(e,t){const{startedEdit:a=!0,event:n=null,source:r="ui",ignoreEventKey:o=!1,silent:i}=t;if(this.strategy??(this.strategy=this.createStrategy()),!(t.editable??this.isCellEditable(e,"api")))return;const l=ce(this.beans,e);if(l&&!l.comp){t.editable=void 0,l.onCompAttachedFuncs.push(()=>this.startEditing(e,t));return}const c=this.shouldStartEditing(e,n,a,r);if(c===!1&&r!=="api"){this.isEditing(e)&&this.stopEditing();return}!this.batch&&this.shouldStopEditing(e,void 0,r)&&!t.continueEditing&&this.stopEditing(void 0,{source:r}),c&&this.ensureBatchStarted(),this.strategy.start({position:e,event:n,source:r,ignoreEventKey:o,startedEdit:a,silent:i})}stopEditing(e,t){const a=this.prepareStopContext(e,t);if(!a)return!1;this.stopping=!0;let n=!1,{edits:r}=a;try{const o=this.processStopRequest(a);return n||(n=o.res),r=o.edits,this.finishStopEditing({...a,edits:r,params:t,position:e,res:n}),n}finally{this.rangeSelectionWhileEditing=0,this.stopping=!1}}prepareStopContext(e,t){const{event:a=null,cancel:n=!1,source:r="ui",forceCancel:o=!1,forceStop:i=!1,commit:s=!1}=t||{};if(v4.has(r)&&this.batch)return e?.rowNode&&e?.column&&this.bulkRefreshCell(e),null;const l=this.committing?Hw[r]:r;if(!(this.committing||this.isEditing(e)||this.batch&&this.model.hasEdits(e,Gr))||!this.strategy||this.stopping)return null;const d=ce(this.beans,e);d&&(d.onEditorAttachedFuncs=[]);const u=!n&&(!!this.shouldStopEditing(e,a,l)||(this.committing||r==="paste")&&!this.batch)||i,g=n&&!!this.shouldCancelEditing(e,a,l)||o;return{cancel:n,cellCtrl:d,edits:this.model.getEditMap(!0),event:a??null,forceCancel:o,forceStop:i,commit:s,position:e,source:r,treatAsSource:l,willCancel:g,willStop:u}}processStopRequest(e){const{event:t,position:a,willCancel:n,willStop:r}=e;return r||n?this.handleStopOrCancel(e):this.shouldHandleMidBatchKey(t,a)?{res:!1,edits:this.handleMidBatchKey(t,a,e)}:(Hn(this.beans,{persist:!0}),this.batch&&this.strategy?.cleanupEditors(a),{res:!1,edits:this.model.getEditMap()})}handleStopOrCancel(e){const{beans:t,model:a}=this,{cancel:n,commit:r,edits:o,event:i,source:s,willCancel:l,willStop:c}=e,d=!this.batch||!l;Hn(t,{persist:d,isCancelling:l||n,isStopping:c});const u=a.getEditMap(),h=!l&&(!this.batch||r)?this.processEdits(u,s):[];n?this.strategy?.stopCancelled(e.forceCancel):this.strategy?.stopCommitted(i,r),this.clearValidationIfNoOpenEditors();for(const p of h)a.clearEditValue(p);this.bulkRefreshMap(o);for(const p of a.getEditPositions(u)){const f=ce(t,p),m=Ra(p);f?.refreshCell({force:!0,suppressFlash:!m})}return{res:c,edits:u}}shouldHandleMidBatchKey(e,t){return e instanceof KeyboardEvent&&this.batch&&!!this.strategy?.midBatchInputsAllowed(t)&&this.isEditing(t,{withOpenEditor:!0})}handleMidBatchKey(e,t,a){const{beans:n,model:r}=this,{cellCtrl:o,edits:i}=a,{key:s}=e,l=s===w.ENTER,c=s===w.ESCAPE,d=s===w.TAB;if(l||d||c){if(l||d)Hn(n,{persist:!0});else if(c&&o){const{rowNode:u,column:g}=o;if(this.batch&&u&&g){const h={rowNode:u,column:g};qn(n,[h],{silent:!0}),this.model.stop(h,!0,!0),ce(n,h)?.refreshCell(jn)}else this.revertSingleCellEdit(o)}return this.batch?this.strategy?.cleanupEditors():qn(n,r.getEditPositions(),{event:e,cancel:c}),e.preventDefault(),this.bulkRefreshMap(i,{suppressFlash:!0}),r.getEditMap()}return i}finishStopEditing({cellCtrl:e,edits:t,params:a,position:n,res:r,commit:o,forceCancel:i,willCancel:s,willStop:l}){const c=this.beans;r&&n&&(!this.batch||o)&&this.model.removeEdits(n),this.navigateAfterEdit(a,e?.cellPosition),$i(c),this.clearValidationIfNoOpenEditors();const{rowRenderer:d,formula:u}=c;if(s&&d.refreshRows({rowNodes:Array.from(t.keys())}),this.batch){u?u.refreshFormulas(!0):d.refreshRows({suppressFlash:!0,force:!0});const g=l&&o;(g||s&&i)&&this.dispatchBatchStopped(t,g)}}dispatchBatchStopped(e,t){let a;t&&(a=yT(e),a.size>0&&this.ensureBatchStarted()),this.batchStartDispatched&&(this.batchStartDispatched=!1,this.dispatchBatchEvent("batchEditingStopped",a??new Map))}clearValidationIfNoOpenEditors(){this.model.hasEdits(void 0,{withOpenEditor:!0})||(this.model.getCellValidationModel().clearCellValidationMap(),this.model.getRowValidationModel().clearRowValidationMap())}navigateAfterEdit(e,t){if(!e||!t)return;const{event:a,suppressNavigateAfterEdit:n}=e;if(!(a instanceof KeyboardEvent)||n)return;const{key:o,shiftKey:i}=a,s=this.gos.get("enterNavigatesVerticallyAfterEdit");if(o!==w.ENTER||!s)return;const l=i?w.UP:w.DOWN;this.beans.navigation?.navigateToNextCell(null,l,t,!1)}processEdits(e,t){const a=Array.from(e.keys()),n=this.model.getCellValidationModel().getCellValidationMap().size>0||this.model.getRowValidationModel().getRowValidationMap().size>0,r=[],{changeDetectionSvc:o}=this.beans;o?.beginDeferred();try{for(const i of a){const s=e.get(i);for(const l of s.keys()){const c=s.get(l),d={rowNode:i,column:l};if(Ra(c)&&!n){const u=ce(this.beans,d);this.setNodeDataValue(i,l,c.pendingValue,u,t)||r.push(d)}}}}finally{o?.endDeferred()}return r}setNodeDataValue(e,t,a,n,r="edit"){const o=m4.has(r)?"edit":r;n&&(n.suppressRefreshCell=!0),this.committing=!0;try{return e.setDataValue(t,a,o)}finally{this.committing=!1,n&&(n.suppressRefreshCell=!1)}}syncEditAfterCommit(e,t){const a=this.model.getEdit(e);a&&a.state!=="editing"&&(t?this.beans.editModelSvc?.setEdit(e,{sourceValue:a.pendingValue}):this.model.clearEditValue(e))}setEditMap(e,t){this.strategy??(this.strategy=this.createStrategy()),this.strategy?.setEditMap(e,t),this.bulkRefreshMap(e);let a=jn;t?.forceRefreshOfEditCellsOnly&&(a={...S4(e),...jn}),this.beans.rowRenderer.refreshCells(a)}dispatchEditValuesChanged({rowNode:e,column:t},a={}){if(!e||!t||!a)return;const{pendingValue:n,sourceValue:r}=a,{rowIndex:o,rowPinned:i,data:s}=e;this.beans.eventSvc.dispatchEvent({type:"cellEditValuesChanged",node:e,rowIndex:o,rowPinned:i,column:t,source:"api",data:s,newValue:n,oldValue:r,value:n,colDef:t.getColDef()})}bulkRefreshCell(e,t){se(this.gos,this.beans.rowModel)&&this.refCell(e,this.model.getEdit(e),t)}bulkRefreshMap(e,t){se(this.gos,this.beans.rowModel)&&e.forEach((a,n)=>{for(const r of a.keys())this.refCell({rowNode:n,column:r},a.get(r),t)})}refCell({rowNode:e,column:t},a,n={}){const{beans:r,gos:o}=this,i=new Set([e]),s=new Set,l=e.pinnedSibling;l&&i.add(l);const c=e.sibling;c&&s.add(c);let d=e.parent;for(;d;)d.sibling?.footer&&o.get("groupTotalRow")||!d.parent&&d.sibling&&o.get("grandTotalRow")?s.add(d.sibling):s.add(d),d=d.parent;for(const u of i)this.dispatchEditValuesChanged({rowNode:u,column:t},a);for(const u of i)ce(r,{rowNode:u,column:t})?.refreshCell(n);for(const u of s){const g=ce(r,{rowNode:u,column:t});g&&(g.refreshCell(n),!n.force&&this.batch&&g.editStyleFeature?.applyCellStyles?.())}}stopAllEditing(e=!1,t="ui"){this.isEditing()&&this.stopEditing(void 0,{cancel:e,source:t})}isCellEditable(e,t="ui"){const{gos:a,beans:n}=this,r=e.rowNode;if(r.group&&e.column.getColDef().groupRowEditable==null){if(a.get("treeData")){if(!r.data&&!a.get("enableGroupEdit"))return!1}else if(!a.get("enableGroupEdit"))return!1}const o=qw(a)==="fullRow"?c4(n,e,t):vh(n,e);return o&&(this.strategy??(this.strategy=this.createStrategy())),o}cellEditingInvalidCommitBlocks(){return this.gos.get("invalidEditValueMode")==="block"}checkNavWithValidation(e,t,a=!0){if(this.hasValidationErrors(e)){const n=ce(this.beans,e);return this.cellEditingInvalidCommitBlocks()?(t?.preventDefault?.(),a&&(n&&!n.hasBrowserFocus()&&n.focusCell(),n?.comp?.getCellEditor()?.focusIn?.()),"block-stop"):(n&&this.revertSingleCellEdit(n),"revert-continue")}return"continue"}revertSingleCellEdit(e,t=!1){const a=ce(this.beans,e);a?.comp?.getCellEditor()&&(qn(this.beans,[e],{silent:!0}),this.model.clearEditValue(e),Lr(this.beans,e,{silent:!0}),Wn(this.beans),a?.refreshCell(jn),t&&(a?.focusCell(),a?.comp?.getCellEditor()?.focusIn?.()))}hasValidationErrors(e){Wn(this.beans);const t=ce(this.beans,e);t&&(t.refreshCell(jn),t.rowCtrl.rowEditStyleFeature?.applyRowStyles());let a=!1;return e?.rowNode?(a||(a=this.model.getRowValidationModel().hasRowValidation({rowNode:e.rowNode})),e.column&&(a||(a=this.model.getCellValidationModel().hasCellValidation({rowNode:e.rowNode,column:e.column})))):(a||(a=this.model.getCellValidationModel().getCellValidationMap().size>0),a||(a=this.model.getRowValidationModel().getRowValidationMap().size>0)),a}moveToNextCell(e,t,a,n="ui"){let r;const o=this.isEditing(),i=o&&this.checkNavWithValidation(void 0,a)==="block-stop";return e instanceof xo&&o&&(r=this.strategy?.moveToNextEditingCell(e,t,a,n,i)),r===null||(r=r||!!this.beans.focusSvc.focusedHeader,r===!1&&!i&&this.stopEditing()),r}getPendingEditValue(e,t,a){if(a==="data"||a==="batch"&&!this.batch)return;const n=this.model.getEdit({rowNode:e,column:t},Gr);if(!n||this.stopping&&!this.batch&&!n.editorState?.cellStartedEditing)return;if(a==="edit"){const o=n.editorValue;if(o!=null&&o!==at)return o}const r=n.pendingValue;if(r!==at)return r}getCellDataValue(e){const t=this.model.getEdit(e,Gr);if(t){const a=t.pendingValue;if(a!==at)return a;const n=t.sourceValue;if(n!=null)return n}return this.valueSvc.getValue(e.column,e.rowNode,"data")}addStopEditingWhenGridLosesFocus(e){CT(this,this.beans,e)}createPopupEditorWrapper(e){return new i4(e)}batchResetToSourceValue(e){if(!this.batch)return!1;const t=this.model.getEdit(e);if(!t)return!1;const{pendingValue:a,sourceValue:n,state:r}=t;return a===n||r==="editing"?!1:(this.dispatchEditValuesChanged(e,{...t,pendingValue:n}),this.beans.editModelSvc?.removeEdits(e),ce(this.beans,e)?.refreshCell(jn),!0)}setDataValue(e,t,a){try{const n=this.batch,r=this.isEditing(n?void 0:e);if((!r||this.committing)&&!n&&!C4.has(a)||!r&&!n&&a==="paste"||a==="batch"&&!n)return;if(a==="edit"){if(r&&this.applyEditorValue(e,t))return!0;if(!n)return}if(this.strategy??(this.strategy=this.createStrategy()),a==="batch"||a==="edit")return this.applyDirectValue(e,t,a);const o=this.beans;let i;if(n?i="ui":this.committing?i=a??"api":i="api",!a||f4.has(a))return this.applyDirectValue(e,t,a);const s=this.applyExistingEdit(e,t,a,i);return s!==void 0?s:(yo(o,e,t,a,void 0,{persist:!0}),this.ensureBatchStarted(),this.stopEditing(e,{source:i,suppressNavigateAfterEdit:!0}),!0)}finally{this.committing=!1}}applyExistingEdit(e,t,a,n){const r=this.model.getEdit(e);if(r)return r.pendingValue===t?!1:r.sourceValue!==t?(yo(this.beans,e,t,a,void 0,{persist:!0}),this.ensureBatchStarted(),this.stopEditing(e,{source:n,suppressNavigateAfterEdit:!0}),!0):(this.beans.editModelSvc?.removeEdits(e),this.ensureBatchStarted(),this.dispatchEditValuesChanged(e,{...r,pendingValue:t}),!0)}applyEditorValue(e,t){const a=this.beans,n=ce(a,e),r=n?.comp?.getCellEditor();return!n||!r?!1:(yo(a,e,t,"edit",void 0,{persist:!0}),n.editStyleFeature?.applyCellStyles?.(),"agSetEditValue"in r?(r.agSetEditValue(t),!0):r.refresh&&n.editCompDetails?(r.refresh({...n.editCompDetails.params,value:t}),!0):(n.hasBrowserFocus()&&n.onEditorAttachedFuncs.push(()=>{const i=ce(this.beans,e);i?.focusCell(!0),i?.comp?.getCellEditor()?.focusIn?.()}),qn(a,[e],{silent:!0,cancel:!0}),Lr(a,e,{silent:!0}),Wn(a),ce(a,e)?.refreshCell(jn),!0))}applyDirectValue(e,t,a){const n=this.beans;if(this.batch){if(a==="batch"&&ce(n,e)?.comp?.getCellEditor()){const{editModelSvc:i,valueSvc:s}=n,{rowNode:l,column:c}=e;i?.getEdit(e)?.sourceValue===void 0&&i?.setEdit(e,{sourceValue:s.getValue(c,l,"data")}),i?.setEdit(e,{pendingValue:t})}else yo(n,e,t,a,void 0,{persist:!0}),a!=="batch"&&this.cleanupEditors();return $i(n),this.ensureBatchStarted(),this.bulkRefreshCell(e),!0}yo(n,e,t,a,void 0,{persist:!0});const r=ce(n,e),o=this.setNodeDataValue(e.rowNode,e.column,t,r,a);return this.syncEditAfterCommit(e,o),$i(n),ce(n,e)?.refreshCell(o?w4:jn),o}handleColDefChanged(e){xT(this.beans,e)}destroy(){this.model.clear(),this.destroyStrategy(),super.destroy()}prepDetailsDuringBatch(e,t){const{model:a}=this;if(!this.batch||!a.hasRowEdits(e.rowNode,Gr))return;const{rowNode:r}=e,{compDetails:o,valueToDisplay:i}=t;if(o){const{params:s}=o;return s.data=a.getEditRowDataValue(r,Gr),{compDetails:o}}return{valueToDisplay:i}}cleanupEditors(){this.strategy?.cleanupEditors()}dispatchCellEvent(e,t,a,n){this.strategy?.dispatchCellEvent(e,t,a,n)}dispatchBatchEvent(e,t){this.eventSvc.dispatchEvent(this.createBatchEditEvent(e,t))}createBatchEditEvent(e,t){return B(this.gos,{type:e,...e==="batchEditingStopped"?{changes:this.toEventChangeList(t)}:{}})}toEventChangeList(e){return this.model.getEditPositions(e).map(t=>({rowIndex:t.rowNode.rowIndex,rowPinned:t.rowNode.rowPinned,columnId:t.column.getColId(),newValue:t.pendingValue,oldValue:t.sourceValue}))}applyBulkEdit({rowNode:e,column:t},a){if(!a||a.length===0)return;const{beans:n,rangeSvc:r,valueSvc:o}=this,{formula:i}=n;Hn(n,{persist:!0});const s=this.model.getEditMap(!0);let l=s.get(e)?.get(t)?.pendingValue,c=!1;this.batch||(this.eventSvc.dispatchEvent({type:"bulkEditingStarted"}),c=!0);const d=i?.isFormula(l)??!1;a.forEach(g=>{const h=g.columns.some(p=>p?.isAllowFormula());if(r?.forEachRowInRange(g,p=>{const f=Ge(n,p);if(f===void 0)return;const m=s.get(f)??new Map;let v=l;for(const C of g.columns){if(!C)continue;const b=!!d&&C.isAllowFormula();if(this.isCellEditable({rowNode:f,column:C},"api")){const y=o.getValue(C,f,"data",!0);let S=o.parseValue(C,f??null,v,y);Number.isNaN(S)&&(S=null),m.set(C,{editorValue:void 0,pendingValue:S,sourceValue:y,state:"changed",editorState:{isCancelAfterEnd:void 0,isCancelBeforeStart:void 0}})}b&&(v=i?.updateFormulaByOffset({value:v,columnDelta:1}))}m.size>0&&s.set(f,m),d&&h&&(l=i?.updateFormulaByOffset({value:l,rowDelta:1}))}),this.setEditMap(s),this.batch){this.cleanupEditors(),$i(n),this.ensureBatchStarted();return}this.committing=!0;try{this.stopEditing(void 0,{source:"bulk"})}finally{this.committing=!1,c&&this.eventSvc.dispatchEvent({type:"bulkEditingStopped",changes:this.toEventChangeList(s)})}});const u=ce(n,{rowNode:e,column:t});u&&u.focusCell(!0)}createCellStyleFeature(e){return new d4(e,this.beans)}createRowStyleFeature(e){return new u4(e,this.beans)}setEditingCells(e,t){const{beans:a}=this,{colModel:n,valueSvc:r}=a,o=new Map;for(let{colId:i,column:s,colKey:l,rowIndex:c,rowPinned:d,newValue:u,state:g}of e){const h=i?n.getCol(i):l?n.getCol(l):s;if(!h)continue;const p=Ge(a,{rowIndex:c,rowPinned:d});if(!p)continue;const f=r.getValue(h,p,"data",!0);if(!t?.forceRefreshOfEditCellsOnly&&!Ra({pendingValue:u,sourceValue:f})&&g!=="editing")continue;let m=o.get(p);m||(m=new Map,o.set(p,m)),u===void 0&&(u=at),m.set(h,{editorValue:void 0,pendingValue:u,sourceValue:f,state:g??"changed",editorState:{isCancelAfterEnd:void 0,isCancelBeforeStart:void 0}})}this.setEditMap(o,t)}onCellFocused(e){const t=ce(this.beans,e);if(!t||!this.isEditing(t,Gr))return;const a=this.model.getEdit(t);if(!a||!Ra(a))return;const r=this.getLocaleTextFunc()("ariaPendingChange","Pending Change");this.beans.ariaAnnounce?.announceValue(r,"pendingChange")}allowedFocusTargetOnValidation(e){return ce(this.beans,e)}};function S4(e){return{rowNodes:e?Array.from(e.keys()):void 0,columns:e?[...new Set(Array.from(e.values()).flatMap(t=>Array.from(t.keys())))]:void 0}}function qw(e,t){return t??e.get("editType")??"singleCell"}var Ww=class extends F{postConstruct(){this.model=this.beans.editModelSvc,this.editSvc=this.beans.editSvc,this.addManagedEventListeners({cellFocused:this.onCellFocusChanged?.bind(this),cellFocusCleared:this.onCellFocusChanged?.bind(this)})}clearEdits(e){this.model.clearEditValue(e)}onCellFocusChanged(e){let t;const a=e.previousParams,{editSvc:n,beans:r}=this,o=e.type==="cellFocused"?e.sourceEvent:null;a&&(t=ce(r,a));const{gos:i,editModelSvc:s}=r,l=e.type==="cellFocusCleared";if(n.isEditing(void 0,{withOpenEditor:!0})){const{column:c,rowIndex:d,rowPinned:u}=e,g={column:c,rowNode:Ge(r,{rowIndex:d,rowPinned:u})},h=i.get("invalidEditValueMode")==="block";if(h)return;const p=!h,f=!!s?.getCellValidationModel().hasCellValidation(g),m=p&&f;(a||l?n.stopEditing(void 0,{cancel:m,source:l&&p?"api":void 0,event:o}):!0)||(n.isBatchEditing()?n.cleanupEditors():n.stopEditing(void 0,{source:"api"}))}t?.refreshCell({suppressFlash:!0,force:!0})}stopCancelled(e){const t=this.editSvc.isBatchEditing()&&!e;for(const a of this.model.getEditPositions())es(this.beans,a,{cancel:!0},ce(this.beans,a)),this.model.stop(a,t,!0);return!0}stopCommitted(e,t){const a=this.model.getEditPositions(),n={all:[],pass:[],fail:[]};for(const i of a)n.all.push(i),(this.model.getCellValidationModel().getCellValidation(i)?.errorMessages?.length??0)>0?n.fail.push(i):n.pass.push(i);const r=this.processValidationResults(n),o=this.editSvc.isBatchEditing()&&!t;for(const i of r.destroy)es(this.beans,i,{event:e},ce(this.beans,i)),this.model.stop(i,o,!1);for(const i of r.keep){const s=ce(this.beans,i);!this.editSvc.cellEditingInvalidCommitBlocks()&&s&&this.editSvc.revertSingleCellEdit(s)}return!0}cleanupEditors({rowNode:e}={},t){Hn(this.beans,{persist:!1});const a=this.model.getEditPositions(),n=[];if(e)for(const r of a)r.rowNode!==e&&n.push(r);else for(const r of a)n.push(r);qn(this.beans,n),$i(this.beans,t)}setFocusOutOnEditor(e){e.comp?.getCellEditor()?.focusOut?.()}setFocusInOnEditor(e){const t=e.comp,a=t?.getCellEditor();if(a?.focusIn)a.focusIn();else{const n=this.beans.gos.get("editType")==="fullRow";e.focusCell(n),e.onEditorAttachedFuncs.push(()=>t?.getCellEditor()?.focusIn?.())}}setupEditors(e){const{event:t,ignoreEventKey:a=!1,startedEdit:n,position:r,cells:o=this.model.getEditPositions()}=e,i=t instanceof KeyboardEvent&&!a&&t.key||void 0;wT(this.beans,o,r,i,t,n)}dispatchCellEvent(e,t,a,n){const r=ce(this.beans,e);r&&this.eventSvc.dispatchEvent({...r.createEvent(t??null,a),...n})}dispatchRowEvent(e,t,a){if(a)return;const n=oc(this.beans,e);n&&this.eventSvc.dispatchEvent(n.createRowEvent(t))}shouldStop(e,t,a="ui"){const n=this.editSvc.isBatchEditing();return n&&a==="api"?!0:n&&(a==="ui"||a==="edit")?!1:a==="api"?!0:t instanceof KeyboardEvent&&!n?t.key===w.ENTER:null}shouldCancel(e,t,a="ui"){const n=this.editSvc.isBatchEditing();return!!(t instanceof KeyboardEvent&&!n&&t.key===w.ESCAPE||n&&a==="api"||a==="api")}setEditMap(e,t){t?.update||this.editSvc.stopEditing(void 0,{cancel:!0,source:"api"});const a=[];if(e.forEach((n,r)=>{n.forEach((o,i)=>{o.state==="editing"&&a.push({...o,rowNode:r,column:i})})}),t?.update&&(e=new Map([...this.model.getEditMap(),...e])),this.model?.setEditMap(e),a.length>0){const n=a.at(-1),r=n.pendingValue===at?void 0:n.pendingValue;this.start({position:n,event:new KeyboardEvent("keydown",{key:r}),source:"api"});const o=ce(this.beans,n);o&&this.setFocusInOnEditor(o)}}destroy(){this.cleanupEditors(),super.destroy()}},x4=class extends Ww{constructor(){super(...arguments),this.beanName="fullRow",this.startedRows=new Set}shouldStop(e,t,a="ui"){const{rowNode:n,beans:r}=this,{rowNode:o}=e||{};if(!oc(r,{rowNode:n}))return!0;const s=super.shouldStop({rowNode:n},t,a);return s!==null?s:n?o!==n:!1}midBatchInputsAllowed({rowNode:e}){return e?this.model.hasEdits({rowNode:e}):!1}clearEdits(e){this.model.clearEditValue(e)}start(e){const{position:t,silent:a,startedEdit:n,event:r,ignoreEventKey:o}=e,{rowNode:i}=t,{beans:s,model:l,startedRows:c}=this;this.rowNode!==i&&super.cleanupEditors(t);const d=s.visibleCols.allCols,u=[],g=[];for(const h of d)h.isCellEditable(i)&&g.push(h);if(g.length!=0){c.has(i)||(this.dispatchRowEvent({rowNode:i},"rowEditingStarted",a),c.add(i));for(const h of g){const p={rowNode:i,column:h};u.push(p),l.start(p)}this.rowNode=i,this.setupEditors({cells:u,position:t,startedEdit:n,event:r,ignoreEventKey:o})}}processValidationResults(e){return e.fail.length>0&&this.editSvc.cellEditingInvalidCommitBlocks()?{destroy:[],keep:e.all}:{destroy:e.all,keep:[]}}stopCancelled(e){const{rowNode:t,model:a}=this;return t&&!a.hasRowEdits(t)?!1:(super.stopCancelled(e),this.cleanupEditors({rowNode:t},!0),this.rowNode=void 0,!0)}stopCommitted(e,t){const{rowNode:a,beans:n,model:r,editSvc:o}=this;if(a&&!r.hasRowEdits(a))return!1;const i=[];if(r.getEditMap().forEach((s,l)=>{if(!(!s||s.size===0)){for(const c of s.values())if(Ra(c)){i.push(l);break}}}),Wn(n),o.checkNavWithValidation({rowNode:a})==="block-stop")return!1;if(super.stopCommitted(e,t),t||!o.isBatchEditing())for(const s of i)this.dispatchRowEvent({rowNode:s},"rowValueChanged");return this.cleanupEditors({rowNode:a},!0),this.rowNode=void 0,!0}onCellFocusChanged(e){const{rowIndex:t}=e,a=e.previousParams;if(a?.rowIndex===t||e.sourceEvent instanceof KeyboardEvent)return;const{beans:n,gos:r,model:o}=this;if(n.editSvc?.isRangeSelectionEnabledWhileEditing())return;const i=ce(n,a);r.get("invalidEditValueMode")==="block"&&i&&(o.getCellValidationModel().getCellValidation(i)||o.getRowValidationModel().getRowValidation(i))||super.onCellFocusChanged(e)}cleanupEditors(e={},t){super.cleanupEditors(e,t);const{startedRows:a}=this;for(const n of a)this.dispatchRowEvent({rowNode:n},"rowEditingStopped"),this.destroyEditorsForRow(n);a.clear()}destroyEditorsForRow(e){const t=oc(this.beans,{rowNode:e});if(!t)return;const a={};for(const n of t.getAllCellCtrls())n.comp?.getCellEditor()&&es(this.beans,n,a,n)}moveToNextEditingCell(e,t,a,n="ui",r=!1){const{beans:o,model:i,gos:s,editSvc:l}=this,c=e.cellPosition;let d;i.suspend(!0);try{d=o.navigation?.findNextCellToFocusOn(c,{backwards:t,startEditing:!0,skipToNextEditableCell:!1})}finally{i.suspend(!1)}if(d===!1)return null;if(d==null)return!1;const u=d.cellPosition,g=e.isCellEditable(),h=d.isCellEditable(),p=u&&c.rowIndex===u.rowIndex&&c.rowPinned===u.rowPinned;g&&this.setFocusOutOnEditor(e),this.restoreEditors();const f=s.get("suppressStartEditOnTab");return h&&!r?f?d.focusCell(!0,a):(d.comp?.getCellEditor()||Lr(o,d,{event:a,cellStartedEdit:!0}),this.setFocusInOnEditor(d),d.focusCell(!1,a)):(h&&r&&this.setFocusInOnEditor(d),d.focusCell(!0,a)),!p&&!r&&(l?.stopEditing({rowNode:e.rowNode},{event:a,forceStop:!0}),l?.isRowEditing(e.rowNode,{withOpenEditor:!0})&&this.cleanupEditors(d,!0),f?d.focusCell(!0,a):l.startEditing(d,{startedEdit:!0,event:a,source:n,ignoreEventKey:!0,editable:h||void 0})),e.rowCtrl?.refreshRow({suppressFlash:!0,force:!0}),!0}restoreEditors(){const{beans:e,model:t}=this;t.getEditMap().forEach((a,n)=>a.forEach(({state:r},o)=>{if(r!=="editing")return;const i=ce(e,{rowNode:n,column:o});i&&!i.comp?.getCellEditor()&&Lr(e,i,{silent:!0})}))}destroy(){super.destroy(),this.rowNode=void 0,this.startedRows.clear()}},k4=class extends Ww{constructor(){super(...arguments),this.beanName="singleCell"}shouldStop(e,t,a="ui"){const n=super.shouldStop(e,t,a);if(n!==null)return n;const r=e?.rowNode,o=e?.column,i=this.rowNode,s=this.column;return(!i||!s)&&r&&o?null:i!==r||s!==o?!0:!i&&!s?this.model.hasEdits(void 0,{withOpenEditor:!0}):!1}midBatchInputsAllowed(e){return this.model.hasEdits(e)}start(e){const{position:t,startedEdit:a,event:n,ignoreEventKey:r}=e;(this.rowNode!==t.rowNode||this.column!==t.column)&&super.cleanupEditors(),this.rowNode=t.rowNode,this.column=t.column,this.model.start(t),this.setupEditors({cells:[t],position:t,startedEdit:a,event:n,ignoreEventKey:r})}dispatchRowEvent(e,t,a){}processValidationResults(e){return e.fail.length>0&&this.editSvc.cellEditingInvalidCommitBlocks()?{destroy:[],keep:e.all}:{destroy:e.all,keep:[]}}stopCancelled(e){return super.stopCancelled(e),this.clearPosition()}stopCommitted(e,t){return super.stopCommitted(e,t),this.clearPosition()}clearPosition(){return this.rowNode=void 0,this.column=void 0,!0}onCellFocusChanged(e){const{colModel:t,editSvc:a}=this.beans,{rowIndex:n,column:r,rowPinned:o}=e,i=Ge(this.beans,{rowIndex:n,rowPinned:o}),s=Kg(r),l=t.getCol(s),c=e.previousParams;if(c){const d=Kg(c.column);if(c?.rowIndex===n&&d===s&&c?.rowPinned===o)return}e.type=="cellFocused"&&(a?.isRangeSelectionEnabledWhileEditing()||a?.isEditing({rowNode:i,column:l},{withOpenEditor:!0}))||super.onCellFocusChanged(e)}moveToNextEditingCell(e,t,a,n="ui",r=!1){const o=this.beans.focusSvc.getFocusedCell();o&&(e=la(this.beans,o)??e);const i=e.cellPosition;let s;const l=this.beans.gos.get("editType")==="fullRow";l&&this.model.suspend(!0),r||(e.eGui.focus(),this.editSvc?.stopEditing(e,{source:this.editSvc?.isBatchEditing()?"ui":"api",event:a}));try{s=this.beans.navigation?.findNextCellToFocusOn(i,{backwards:t,startEditing:!0})}finally{l&&this.model.suspend(!1)}if(s===!1)return null;if(s==null)return!1;const c=s.cellPosition,d=e.isCellEditable(),u=s.isCellEditable(),g=c&&i.rowIndex===c.rowIndex&&i.rowPinned===c.rowPinned;d&&!r&&this.setFocusOutOnEditor(e);const h=this.gos.get("suppressStartEditOnTab");let p=!1;if(!g&&!r&&(super.cleanupEditors(s,!0),h?s.focusCell(!0,a):(p=!0,this.editSvc.startEditing(s,{startedEdit:!0,event:a,source:n,ignoreEventKey:!0,editable:u}))),u&&!r){if(s.focusCell(!1,a),h)s.focusCell(!0,a);else if(!s.comp?.getCellEditor()){if(!p){const f=this.editSvc?.isEditing(s,{withOpenEditor:!0});Lr(this.beans,s,{event:a,cellStartedEdit:!0,silent:f})}this.setFocusInOnEditor(s),this.cleanupEditors(s)}}else u&&r&&this.setFocusInOnEditor(s),s.focusCell(!0,a);return e.rowCtrl?.refreshRow({suppressFlash:!0,force:!0}),!0}destroy(){super.destroy(),this.rowNode=void 0,this.column=void 0}},Fa={moduleName:"EditCore",version:N,beans:[vT,y4],apiFunctions:{getEditingCells:JL,getEditRowValues:XL,getCellEditorInstances:bT,startEditingCell:t4,stopEditing:$L,isEditing:e4,validateEdit:a4},dynamicBeans:{singleCell:k4,fullRow:x4},dependsOn:[ja,mc],css:[SL]},Uw={moduleName:"UndoRedoEdit",version:N,beans:[yL],apiFunctions:{undoCellEditing:QL,redoCellEditing:ZL,getCurrentUndoSize:n4,getCurrentRedoSize:r4},dependsOn:[Fa]},jw={moduleName:"TextEditor",version:N,userComponents:{agCellEditor:Ow,agTextCellEditor:Ow},dependsOn:[Fa]},_w={moduleName:"NumberEditor",version:N,userComponents:{agNumberCellEditor:{classImp:OL}},dependsOn:[Fa]},Kw={moduleName:"DateEditor",version:N,userComponents:{agDateCellEditor:ML,agDateStringCellEditor:AL},dependsOn:[Fa]},Yw={moduleName:"CheckboxEditor",version:N,userComponents:{agCheckboxCellEditor:kL},dependsOn:[Fa]},Qw={moduleName:"SelectEditor",version:N,userComponents:{agSelectCellEditor:_L},dependsOn:[Fa]},Zw={moduleName:"LargeTextEditor",version:N,userComponents:{agLargeTextCellEditor:IL},dependsOn:[Fa]},Xw={moduleName:"CustomEditor",version:N,dependsOn:[Fa]},Jw={agSetColumnFilter:"agSetColumnFilterHandler",agMultiColumnFilter:"agMultiColumnFilterHandler",agGroupColumnFilter:"agGroupColumnFilterHandler",agNumberColumnFilter:"agNumberColumnFilterHandler",agBigIntColumnFilter:"agBigIntColumnFilterHandler",agDateColumnFilter:"agDateColumnFilterHandler",agTextColumnFilter:"agTextColumnFilterHandler"},R4=new Set(Object.values(Jw));function _n(e,t){const a=e.filterUi;if(!a)return null;if(a.created)return a.promise;if(t)return null;const n=a.create(a.refreshed),r=a;return r.created=!0,r.promise=n,n}function wc(e,t,a,n,r,o,i){return t.refresh?.({...a,model:n,source:o,additionalEventAttributes:i}),e().then(s=>{if(s){const{filter:l,filterParams:c}=s;cs(l,c,n,r,o,i)}})}function cs(e,t,a,n,r,o){e?.refresh?.({...t,model:a,state:n,source:r,additionalEventAttributes:o})}function $w(e,t,a,n){const r=e();r?.created&&r.promise.then(o=>{const i=t();cs(o,r.filterParams,i,a()??{model:i},"ui",n)})}function yc(e){let t,a=!1,n;const{action:r,filterParams:o,getFilterUi:i,getModel:s,getState:l,updateState:c,updateModel:d,processModelToApply:u}=e;switch(r){case"apply":{const g=l();n=g?.model??null,u&&(n=u(n)),t={state:g?.state,model:n},a=!0;break}case"clear":{t={model:null},o?.buttons?.includes("apply")||(a=!0,n=null);break}case"reset":{t={model:null},a=!0,n=null;break}case"cancel":{t={model:s()};break}}c(t),a?d(n):$w(i,s,l,{fromAction:r})}function We(e,t){return e[t]??null}var F4=class extends Qu{constructor(){super(...arguments),this.iconCreated=!1}wireComp(e,t,a,n,r){this.comp=e;const o=Vi(this,this.beans.context,r);this.eButtonShowMainFilter=a,this.eFloatingFilterBody=n,this.setGui(t,o),this.setupActive(),this.refreshHeaderStyles(),this.setupWidth(o),this.setupLeft(o),this.setupHover(o),this.setupFocus(o),this.setupAria(),this.setupFilterButton(),this.setupUserComp(),this.setupSyncWithFilter(o),this.setupUi(),o.addManagedElementListeners(this.eButtonShowMainFilter,{click:this.showParentFilter.bind(this)}),this.setupFilterChangedListener(o);const i=()=>this.onColDefChanged(o);o.addManagedListeners(this.column,{colDefChanged:i}),o.addManagedEventListeners({filterSwitched:({column:s})=>{s===this.column&&i()}}),o.addDestroyFunc(()=>{this.eButtonShowMainFilter=null,this.eFloatingFilterBody=null,this.userCompDetails=null,this.clearComponent()})}resizeHeader(){}moveHeader(){}getHeaderClassParams(){const{column:e,beans:t}=this,a=e.colDef;return B(t.gos,{colDef:a,column:e,floatingFilter:!0})}setupActive(){const e=this.column.getColDef(),t=!!e.filter,a=!!e.floatingFilter;this.active=t&&a}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=q("filter",this.beans,this.column);e&&(this.iconCreated=!0,this.eButtonShowMainFilter.appendChild(e))}setupFocus(e){e.createManagedBean(new In(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.getLocaleTextFunc();de(this.eButtonShowMainFilter,e("ariaFilterMenuOpen","Open Filter Menu"))}onTabKeyDown(e){const{beans:t}=this;if(ne(t)===this.eGui)return;const r=Je(t,this.eGui,null,e.shiftKey);if(r){t.headerNavigation?.scrollToColumn(this.column),e.preventDefault(),r.focus();return}const o=this.findNextColumnWithFloatingFilter(e.shiftKey);o&&t.focusSvc.focusHeaderPosition({headerPosition:{headerRowIndex:this.rowCtrl.rowIndex,column:o},event:e})&&e.preventDefault()}findNextColumnWithFloatingFilter(e){const t=this.beans.visibleCols;let a=this.column;do if(a=e?t.getColBefore(a):t.getColAfter(a),!a)break;while(!a.getColDef().filter||!a.getColDef().floatingFilter);return a}handleKeyDown(e){super.handleKeyDown(e);const t=this.getWrapperHasFocus();switch(e.key){case w.UP:case w.DOWN:case w.LEFT:case w.RIGHT:if(t)return;Fe(e);case w.ENTER:t&&ze(this.eGui)&&e.preventDefault();break;case w.ESCAPE:t||this.eGui.focus()}}onFocusIn(e){if(this.eGui.contains(e.relatedTarget))return;const a=!!e.relatedTarget&&!e.relatedTarget.classList.contains("ag-floating-filter"),n=!!e.relatedTarget&&gr(e.relatedTarget,"ag-floating-filter");if(a&&n&&e.target===this.eGui){const r=this.lastFocusEvent,o=!!(r&&r.key===w.TAB);if(r&&o){const i=r.shiftKey;ze(this.eGui,i)}}this.focusThis()}setupHover(e){this.beans.colHover?.addHeaderFilterColumnHoverListener(e,this.comp,this.column,this.eGui)}setupLeft(e){const t=new Ku(this.column,this.eGui,this.beans);e.createManagedBean(t)}setupFilterButton(){this.suppressFilterButton=!this.beans.menuSvc?.isFloatingFilterButtonEnabled(this.column),this.highlightFilterButtonWhenActive=!Ne(this.gos)}setupUserComp(){if(!this.active)return;const e=this.beans.colFilter?.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.beans.menuSvc?.showFilterMenu({column:this.column,buttonElement:e,containerType:"floatingFilter",positionBy:"button"})}setupSyncWithFilter(e){if(!this.active)return;const{beans:{colFilter:t},column:a,gos:n}=this,r=o=>{if(o?.source==="filterDestroyed"&&(!this.isAlive()||!t?.isAlive()))return;const i=this.comp.getFloatingFilterComp();i&&i.then(s=>{if(s){if(n.get("enableFilterHandlers")){const d=o;let u="filter";d?.afterFloatingFilter?u="ui":d?.afterDataChange?u="dataChanged":o?.source==="api"&&(u="api"),this.updateFloatingFilterParams(this.userCompDetails,u);return}const l=t?.getCurrentFloatingFilterParentModel(a),c=o?{...o,columns:o.columns??[],source:o.source==="api"?"api":"columnFilter"}:null;s.onParentModelChanged(l,c)}})};[this.destroySyncListener]=e.addManagedListeners(a,{filterChanged:r}),t?.isFilterActive(a)&&r(null)}setupWidth(e){const t=()=>{const a=`${this.column.getActualWidth()}px`;this.comp.setWidth(a)};e.addManagedListeners(this.column,{widthChanged:t}),t()}setupFilterChangedListener(e){this.active&&([this.destroyFilterChangedListener]=e.addManagedListeners(this.column,{filterChanged:this.updateFilterButton.bind(this)}),this.updateFilterButton())}updateFilterButton(){if(!this.suppressFilterButton&&this.comp){const e=!!this.beans.filterManager?.isFilterAllowed(this.column);this.comp.setButtonWrapperDisplayed(e),this.highlightFilterButtonWhenActive&&e&&this.eButtonShowMainFilter.classList.toggle("ag-filter-active",this.column.isFilterActive())}}onColDefChanged(e){const t=this.active;this.setupActive();const a=!t&&this.active;t&&!this.active&&(this.destroySyncListener(),this.destroyFilterChangedListener());const n=this.beans.colFilter,r=this.active?n?.getFloatingFilterCompDetails(this.column,()=>this.showParentFilter()):null,o=this.comp.getFloatingFilterComp();!o||!r?this.updateCompDetails(e,r,a):o.then(i=>{!i||n?.areFilterCompsDifferent(this.userCompDetails??null,r)?this.updateCompDetails(e,r,a):this.updateFloatingFilterParams(r,"colDef")})}updateCompDetails(e,t,a){this.isAlive()&&(this.setCompDetails(t),this.setupFilterButton(),this.setupUi(),a&&(this.setupSyncWithFilter(e),this.setupFilterChangedListener(e)))}updateFloatingFilterParams(e,t){if(!e)return;let a=e.params;this.comp.getFloatingFilterComp()?.then(n=>{typeof n?.refresh=="function"&&(this.gos.get("enableFilterHandlers")&&(a={...a,model:We(this.beans.colFilter?.model??{},this.column.getColId()),source:t}),n.refresh(a))})}addResizeAndMoveKeyboardListeners(){}destroy(){super.destroy(),this.destroySyncListener=null,this.destroyFilterChangedListener=null}};function M4(e,t){const a=e.colModel.getCol(t);if(!a){J(12,{colKey:t});return}e.menuSvc?.showColumnMenu({column:a,positionBy:"auto"})}function E4(e){e.menuSvc?.hidePopupMenu()}var P4=class extends F{constructor(){super(...arguments),this.beanName="menuSvc"}postConstruct(){const{enterpriseMenuFactory:e,filterMenuFactory:t}=this.beans;this.activeMenuFactory=e??t}showColumnMenu(e){this.showColumnMenuCommon(this.activeMenuFactory,e,"columnMenu")}showFilterMenu(e){this.showColumnMenuCommon(ey(this.beans),e,e.containerType,!0)}showHeaderContextMenu(e,t,a){this.activeMenuFactory?.showMenuAfterContextMenuEvent(e,t,a)}hidePopupMenu(){this.beans.contextMenuSvc?.hideActiveMenu(),this.activeMenuFactory?.hideActiveMenu()}hideFilterMenu(){ey(this.beans)?.hideActiveMenu()}isColumnMenuInHeaderEnabled(e){const{suppressHeaderMenuButton:t}=e.getColDef();return!t&&!!this.activeMenuFactory?.isMenuEnabled(e)&&(Ne(this.gos)||!!this.beans.enterpriseMenuFactory)}isFilterMenuInHeaderEnabled(e){return!e.getColDef().suppressHeaderFilterButton&&!!this.beans.filterManager?.isFilterAllowed(e)}isHeaderContextMenuEnabled(e){return!(e&&wa(e)?e.getColDef():e?.getColGroupDef())?.suppressHeaderContextMenu&&this.gos.get("columnMenu")==="new"}isHeaderMenuButtonAlwaysShowEnabled(){return this.isSuppressMenuHide()}isHeaderMenuButtonEnabled(){const e=!this.isSuppressMenuHide();return!(sn()&&e)}isHeaderFilterButtonEnabled(e){return this.isFilterMenuInHeaderEnabled(e)&&!Ne(this.gos)&&!this.isFloatingFilterButtonDisplayed(e)}isFilterMenuItemEnabled(e){return!!this.beans.filterManager?.isFilterAllowed(e)&&!Ne(this.gos)&&!this.isFilterMenuInHeaderEnabled(e)&&!this.isFloatingFilterButtonDisplayed(e)}isFloatingFilterButtonEnabled(e){return!e.getColDef().suppressFloatingFilterButton}isFloatingFilterButtonDisplayed(e){return!!e.getColDef().floatingFilter&&this.isFloatingFilterButtonEnabled(e)}isSuppressMenuHide(){const e=this.gos,t=e.get("suppressMenuHide");return Ne(e)?e.exists("suppressMenuHide")?t:!1:t}showColumnMenuCommon(e,t,a,n){const{positionBy:r,onClosedCallback:o}=t,i=t.column;if(r==="button"){const{buttonElement:s}=t;e?.showMenuAfterButtonClick(i,s,a,o,n)}else if(r==="mouse"){const{mouseEvent:s}=t;e?.showMenuAfterMouseEvent(i,s,a,o,n)}else if(i){const s=this.beans,l=s.ctrlsSvc;l.getScrollFeature().ensureColumnVisible(i,"auto"),kt(s,()=>{const c=l.getHeaderRowContainerCtrl(i.getPinned())?.getHeaderCtrlForColumn(i);c&&e?.showMenuAfterButtonClick(i,c.getAnchorElementForMenu(n),a,o,n)})}}};function ds(e,t,a){e.menuVisible!==t&&(e.menuVisible=t,e.dispatchColEvent("menuVisibleChanged",a))}function ey(e){const{enterpriseMenuFactory:t,filterMenuFactory:a,gos:n}=e;return t&&Ne(n)?t:a}var bh={moduleName:"SharedMenu",version:N,beans:[P4],apiFunctions:{showColumnMenu:M4,hidePopupMenu:E4}},A4=".ag-set-filter{--ag-indentation-level:0}.ag-set-filter-item{align-items:center;display:flex;height:100%}:where(.ag-ltr) .ag-set-filter-item{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-indentation-level)*var(--ag-set-filter-indent-size))}:where(.ag-rtl) .ag-set-filter-item{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-indentation-level)*var(--ag-set-filter-indent-size))}.ag-set-filter-item-checkbox{display:flex;height:100%;width:100%}.ag-set-filter-group-icons{display:block;:where(.ag-set-filter-group-closed-icon),:where(.ag-set-filter-group-indeterminate-icon),:where(.ag-set-filter-group-opened-icon){cursor:pointer}}:where(.ag-ltr) .ag-set-filter-group-icons{margin-right:var(--ag-widget-container-horizontal-padding)}:where(.ag-rtl) .ag-set-filter-group-icons{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-filter-body-wrapper{display:flex;flex-direction:column}:where(.ag-menu:not(.ag-tabs) .ag-filter) .ag-filter-body-wrapper{min-width:180px}.ag-filter-filter{flex:1 1 0px}.ag-filter-condition{display:flex;justify-content:center}.ag-floating-filter-body{display:flex;flex:1 1 auto;height:100%;position:relative}.ag-floating-filter-full-body{align-items:center;display:flex;flex:1 1 auto;height:100%;overflow:hidden;width:100%}.ag-floating-filter-input{align-items:center;display:flex;width:100%;>:where(.ag-date-floating-filter-wrapper),>:where(.ag-floating-filter-input),>:where(.ag-input-field){flex:1 1 auto}:where(.ag-input-field-input[type=date]),:where(.ag-input-field-input[type=datetime-local]){width:1px}}.ag-floating-filter-button{display:flex;flex:none}.ag-date-floating-filter-wrapper{display:flex}.ag-set-floating-filter-input :where(.ag-input-field-input)[disabled]{pointer-events:none}.ag-floating-filter-button-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;height:var(--ag-icon-size);width:var(--ag-icon-size)}.ag-filter-loading{align-items:unset;background-color:var(--ag-chrome-background-color);height:100%;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);position:absolute;width:100%;z-index:1;:where(.ag-menu) &{background-color:var(--ag-menu-background-color)}}.ag-filter-separator{border-top:solid var(--ag-border-width) var(--menu-separator-color)}:where(.ag-filter-select) .ag-picker-field-wrapper{width:0}.ag-filter-condition-operator{height:17px}:where(.ag-ltr) .ag-filter-condition-operator-or{margin-left:calc(var(--ag-spacing)*2)}:where(.ag-rtl) .ag-filter-condition-operator-or{margin-right:calc(var(--ag-spacing)*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-filter-no-matches{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-set-filter-tree-list{height:calc(var(--ag-list-item-height)*10)}.ag-set-filter-filter{margin-left:var(--ag-widget-container-horizontal-padding);margin-right:var(--ag-widget-container-horizontal-padding);margin-top:var(--ag-widget-container-vertical-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)}:where(.ag-ltr) .ag-set-filter-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-widget-container-horizontal-padding))}:where(.ag-rtl) .ag-set-filter-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-widget-container-horizontal-padding))}:where(.ag-filter-menu) .ag-set-filter-list{min-width:200px}.ag-filter-virtual-list-item:focus-visible{box-shadow:inset var(--ag-focus-shadow)}.ag-filter-apply-panel{display:flex;justify-content:flex-end;overflow:hidden;padding:var(--ag-widget-vertical-spacing) var(--ag-widget-container-horizontal-padding) var(--ag-widget-container-vertical-padding)}.ag-filter-apply-panel-button{line-height:1.5}:where(.ag-ltr) .ag-filter-apply-panel-button{margin-left:calc(var(--ag-spacing)*2)}:where(.ag-rtl) .ag-filter-apply-panel-button{margin-right:calc(var(--ag-spacing)*2)}.ag-simple-filter-body-wrapper{display:flex;flex-direction:column;gap:var(--ag-widget-vertical-spacing);min-height:calc(var(--ag-list-item-height) + var(--ag-widget-container-vertical-padding) + var(--ag-widget-vertical-spacing));overflow-y:auto;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:var(--ag-widget-container-vertical-padding);:where(.ag-resizer-wrapper){margin:0}}.ag-multi-filter-menu-item{margin:var(--ag-spacing) 0}.ag-multi-filter-group-title-bar{background-color:transparent;color:var(--ag-header-text-color);font-weight:500;padding:calc(var(--ag-spacing)*1.5) var(--ag-spacing)}.ag-group-filter-field-select-wrapper{display:flex;flex-direction:column;gap:var(--ag-widget-vertical-spacing);padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}";function T4(e){const t=e.filterManager;return!!t?.isColumnFilterPresent()||!!t?.isAggregateFilterPresent()}function D4(e,t){return e.filterManager?.getColumnFilterInstance(t)??Promise.resolve(void 0)}function I4(e,t){const a=e.colModel.getColDefCol(t);if(a)return e.colFilter?.destroyFilter(a,"api")}function L4(e,t){e.frameworkOverrides.wrapIncoming(()=>e.filterManager?.setFilterModel(t))}function z4(e){return e.filterManager?.getFilterModel()??{}}function O4(e,t,a){const{gos:n,colModel:r,colFilter:o}=e;a&&!n.get("enableFilterHandlers")&&(R(288),a=!1);const i=r.getColDefCol(t);return i?o?.getModelForColumn(i,a)??null:null}function G4(e,t,a){return e.filterManager?.setColumnFilterModel(t,a)??Promise.resolve()}function V4(e,t){const a=e.colModel.getCol(t);if(!a){J(12,{colKey:t});return}e.menuSvc?.showFilterMenu({column:a,containerType:"columnFilter",positionBy:"auto"})}function B4(e){e.menuSvc?.hideFilterMenu()}function N4(e,t){const a=e.colModel.getCol(t);if(!a){J(12,{colKey:t});return}return e.colFilter?.getHandler(a,!0)}function H4(e,t){const{colModel:a,colFilter:n,gos:r}=e;if(!r.get("enableFilterHandlers")){R(287);return}const{colId:o,action:i}=t;if(o){const s=a.getColById(o);s&&n?.updateModel(s,i)}else n?.updateAllModels(i)}var ty={january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December"},ay=["january","february","march","april","may","june","july","august","september","october","november","december"];function q4(e,t){return e==null?-1:t==null?1:Number.parseFloat(e)-Number.parseFloat(t)}function W4(e,t){if(e==null)return-1;if(t==null)return 1;const a=et(e),n=et(t);return a!=null&&n!=null?a===n?0:a>n?1:-1:String(e).localeCompare(String(t))}function ny(e){return e instanceof Date&&!isNaN(e.getTime())}var wh={number:()=>{},bigint:()=>{},boolean:()=>({maxNumConditions:1,debounceMs:0,filterOptions:["empty",{displayKey:"true",displayName:"True",predicate:(e,t)=>t,numberOfInputs:0},{displayKey:"false",displayName:"False",predicate:(e,t)=>t===!1,numberOfInputs:0}]}),date:()=>({isValidDate:ny}),dateString:({dataTypeDefinition:e})=>({comparator:(t,a)=>{const n=e.dateParser(a);return a==null||nt?1:0},isValidDate:t=>typeof t=="string"&&ny(e.dateParser(t))}),dateTime:e=>wh.date(e),dateTimeString:e=>wh.dateString(e),object:()=>{},text:()=>{}},yh={number:()=>({comparator:q4}),bigint:()=>({comparator:W4}),boolean:({t:e})=>({valueFormatter:t=>A(t.value)?e(String(t.value),t.value?"True":"False"):e("blanks","(Blanks)")}),date:({formatValue:e,t})=>({valueFormatter:a=>{const n=e(a);return A(n)?n:t("blanks","(Blanks)")},treeList:!0,treeListFormatter:(a,n)=>{if(a==="NaN")return t("invalidDate","Invalid Date");if(n===1&&a!=null){const r=ay[Number(a)-1];return t(r,ty[r])}return a??t("blanks","(Blanks)")},treeListPathGetter:a=>Tr(a,!1)}),dateString:({formatValue:e,dataTypeDefinition:t,t:a})=>({valueFormatter:n=>{const r=e(n);return A(r)?r:a("blanks","(Blanks)")},treeList:!0,treeListPathGetter:n=>Tr(t.dateParser(n??void 0),!1),treeListFormatter:(n,r)=>{if(r===1&&n!=null){const o=ay[Number(n)-1];return a(o,ty[o])}return n??a("blanks","(Blanks)")}}),dateTime:e=>{const t=yh.date(e);return t.treeListPathGetter=Tr,t},dateTimeString(e){const t=e.dataTypeDefinition.dateParser,a=yh.dateString(e);return a.treeListPathGetter=n=>Tr(t(n??void 0)),a},object:({formatValue:e,t})=>({valueFormatter:a=>{const n=e(a);return A(n)?n:t("blanks","(Blanks)")}}),text:()=>{}};function Sc(e,t,a,n,r,o,i){let s=t,l=a;const c=e==="agSetColumnFilter";!l&&n.baseDataType==="object"&&!c&&(l=({column:h,node:p})=>r({column:h,node:p,value:o.valueSvc.getValue(h,p,"data")}));const u=(c?yh:wh)[n.baseDataType],g=u({dataTypeDefinition:n,formatValue:r,t:i});return s=typeof t=="object"?{...g,...t}:g,{filterParams:s,filterValueGetter:l}}var U4={boolean:"agTextColumnFilter",date:"agDateColumnFilter",dateString:"agDateColumnFilter",dateTime:"agDateColumnFilter",dateTimeString:"agDateColumnFilter",bigint:"agBigIntColumnFilter",number:"agNumberColumnFilter",object:"agTextColumnFilter",text:"agTextColumnFilter"},j4={boolean:"agTextColumnFloatingFilter",date:"agDateColumnFloatingFilter",dateString:"agDateColumnFloatingFilter",dateTime:"agDateColumnFloatingFilter",dateTimeString:"agDateColumnFloatingFilter",bigint:"agBigIntColumnFloatingFilter",number:"agNumberColumnFloatingFilter",object:"agTextColumnFloatingFilter",text:"agTextColumnFloatingFilter"};function xc(e,t=!1){return(t?j4:U4)[e??"text"]}function Sh(e,t,a){if(t==null)return null;let n=null;const{compName:r,jsComp:o,fwComp:i}=hv(e,t);return r?n={agSetColumnFilter:"agSetColumnFloatingFilter",agMultiColumnFilter:"agMultiColumnFloatingFilter",agGroupColumnFilter:"agGroupColumnFloatingFilter",agNumberColumnFilter:"agNumberColumnFloatingFilter",agBigIntColumnFilter:"agBigIntColumnFloatingFilter",agDateColumnFilter:"agDateColumnFloatingFilter",agTextColumnFilter:"agTextColumnFloatingFilter"}[r]:o==null&&i==null&&t.filter===!0&&(n=a()),n}var _4={filterHandler:()=>({doesFilterPass:()=>!0})};function ry(e,t,a,n){if(!e.isPrimary())return!0;const o=!a;return!e.isValueActive()||!o?!1:t?!0:n}var K4=class extends F{constructor(){super(...arguments),this.beanName="colFilter",this.allColumnFilters=new Map,this.allColumnListeners=new Map,this.activeAggregateFilters=[],this.activeColumnFilters=[],this.processingFilterChange=!1,this.modelUpdates=[],this.columnModelUpdates=[],this.state=new Map,this.handlerMap={...Jw},this.isGlobalButtons=!1,this.activeFilterComps=new Set}postConstruct(){this.addManagedEventListeners({gridColumnsChanged:this.onColumnsChanged.bind(this),dataTypesInferred:this.processFilterModelUpdateQueue.bind(this)}),this.addManagedPropertyListener("pivotMode",this.onPivotModeChanged.bind(this));const e=this.gos,t={...e.get("initialState")?.filter?.filterModel??{}};this.initialModel=t,this.model={...t},e.get("enableFilterHandlers")||delete this.handlerMap.agMultiColumnFilter}refreshModel(){this.onNewRowsLoaded("rowDataUpdated")}setModel(e,t="api",a){const{colModel:n,dataTypeSvc:r,filterManager:o}=this.beans;if(r?.isPendingInference){this.modelUpdates.push({model:e,source:t});return}const i=[],s=this.getModel(!0);if(e){const l=new Set(Object.keys(e));this.allColumnFilters.forEach((c,d)=>{const u=e[d];i.push(this.setModelOnFilterWrapper(c,u)),l.delete(d)}),l.forEach(c=>{const d=n.getColDefCol(c)||n.getCol(c);if(!d){R(62,{colId:c});return}if(!d.isFilterAllowed()){R(63,{colId:c});return}const u=this.getOrCreateFilterWrapper(d,!0);if(!u){R(64,{colId:c});return}i.push(this.setModelOnFilterWrapper(u,e[c],!0))})}else this.model={},this.allColumnFilters.forEach(l=>{i.push(this.setModelOnFilterWrapper(l,null))});j.all(i).then(()=>{const l=this.getModel(!0),c=[];this.allColumnFilters.forEach((d,u)=>{const g=s?s[u]:null,h=l?l[u]:null;Aa(g,h)||c.push(d.column)}),c.length>0?o?.onFilterChanged({columns:c,source:t}):a&&this.updateActive("filterChanged")})}getModel(e){const t={},{allColumnFilters:a,initialModel:n,beans:{colModel:r}}=this;if(a.forEach((o,i)=>{const s=this.getModelFromFilterWrapper(o);A(s)&&(t[i]=s)}),!e)for(const o of Object.keys(n)){const i=n[o];A(i)&&!a.has(o)&&r.getCol(o)?.isFilterAllowed()&&(t[o]=i)}return t}setState(e,t,a="api"){if(this.state.clear(),t)for(const n of Object.keys(t)){const r=t[n];this.state.set(n,{model:We(this.model,n),state:r})}this.setModel(e,a,!0)}getState(){const e=this.state;if(!e.size)return;const t={};let a=!1;return e.forEach((n,r)=>{const o=n.state;o!=null&&(a=!0,t[r]=o)}),a?t:void 0}getModelFromFilterWrapper(e){const a=e.column.getColId();if(e.isHandler)return We(this.model,a);const n=e.filter;return n?typeof n.getModel!="function"?(R(66),null):n.getModel():We(this.initialModel,a)}isFilterPresent(){return this.activeColumnFilters.length>0}isAggFilterPresent(){return!!this.activeAggregateFilters.length}disableFilters(){this.initialModel={};const{allColumnFilters:e}=this;return e.size?(e.forEach(t=>this.disposeFilterWrapper(t,"advancedFilterEnabled")),!0):!1}updateActiveFilters(){const e=l=>l?l.isFilterActive?l.isFilterActive():(R(67),!1):!1,{colModel:t,gos:a}=this.beans,n=!!kn(a),r=[],o=[],i=(l,c,d)=>{c&&(ry(l,t.isPivotMode(),t.isPivotActive(),n)?r.push(d):o.push(d))},s=[];return this.allColumnFilters.forEach(l=>{const c=l.column,d=c.getColId();if(l.isHandler)s.push(j.resolve().then(()=>{i(c,this.isHandlerActive(c),{colId:d,isHandler:!0,handler:l.handler,handlerParams:l.handlerParams})}));else{const u=_n(l);u&&s.push(u.then(g=>{i(c,e(g),{colId:d,isHandler:!1,comp:g})}))}}),j.all(s).then(()=>{this.activeAggregateFilters=r,this.activeColumnFilters=o})}updateFilterFlagInColumns(e,t){const a=[];return this.allColumnFilters.forEach(n=>{const r=n.column;if(n.isHandler)a.push(j.resolve().then(()=>{this.setColFilterActive(r,this.isHandlerActive(r),e,t)}));else{const o=_n(n);o&&a.push(o.then(i=>{this.setColFilterActive(r,i.isFilterActive(),e,t)}))}}),this.beans.groupFilter?.updateFilterFlags(e,t),j.all(a)}doFiltersPass(e,t,a){const{data:n,aggData:r}=e,o=a?this.activeAggregateFilters:this.activeColumnFilters,i=a?r:n,s=this.model;for(let l=0;l{this.isAlive()&&a?.onFilterChanged(e)};t.isRefreshInProgress()?setTimeout(n,0):n()}updateBeforeFilterChanged(e={}){const{column:t,additionalEventAttributes:a}=e,n=t?.getColId();return this.updateActiveFilters().then(()=>this.updateFilterFlagInColumns("filterChanged",a).then(()=>{this.allColumnFilters.forEach(r=>{const{column:o,isHandler:i}=r;n!==o.getColId()&&(i&&r.handler.onAnyFilterChanged?.(),_n(r,i)?.then(s=>{typeof s?.onAnyFilterChanged=="function"&&s.onAnyFilterChanged()}))}),this.processingFilterChange=!0}))}updateAfterFilterChanged(){this.processingFilterChange=!1}isSuppressFlashingCellsBecauseFiltering(){return!(this.gos.get("allowShowChangeAfterFilter")??!1)&&this.processingFilterChange}onNewRowsLoaded(e){const t=[];this.allColumnFilters.forEach(a=>{const n=a.isHandler;n&&a.handler.onNewRowsLoaded?.();const r=_n(a,n);r&&t.push(r.then(o=>{o.onNewRowsLoaded?.()}))}),j.all(t).then(()=>this.updateActive(e,{afterDataChange:!0}))}updateActive(e,t){this.updateFilterFlagInColumns(e,t).then(()=>this.updateActiveFilters())}createGetValue(e,t){const{filterValueSvc:a,colModel:n}=this.beans;return(r,o)=>{const i=o?n.getCol(o):e;return i?a.getValue(i,r,t):void 0}}isFilterActive(e){const t=this.cachedFilter(e);if(t?.isHandler)return this.isHandlerActive(e);const a=t?.filter;return a?a.isFilterActive():We(this.initialModel,e.getColId())!=null}isHandlerActive(e){const t=A(We(this.model,e.getColId()));if(t)return t;const a=this.beans.groupFilter;return a?.isGroupFilter(e)?a.isFilterActive(e):!1}getOrCreateFilterUi(e){const t=this.getOrCreateFilterWrapper(e,!0);return t?_n(t):null}getFilterUiForDisplay(e){const t=this.getOrCreateFilterWrapper(e,!0);if(!t)return null;const a=_n(t);return a?a.then(n=>({comp:n,params:t.filterUi.filterParams,isHandler:t.isHandler})):null}getHandler(e,t){const a=this.getOrCreateFilterWrapper(e,t);return a?.isHandler?a.handler:void 0}getOrCreateFilterWrapper(e,t){if(!e.isFilterAllowed())return;let a=this.cachedFilter(e);return!a&&t&&(a=this.createFilterWrapper(e),this.setColumnFilterWrapper(e,a)),a}cachedFilter(e){return this.allColumnFilters.get(e.getColId())}getDefaultFilter(e,t=!1){return this.getDefaultFilterFromDataType(()=>this.beans.dataTypeSvc?.getBaseDataType(e),t)}getDefaultFilterFromDataType(e,t=!1){return iu(this.gos)?t?"agSetColumnFloatingFilter":"agSetColumnFilter":xc(e(),t)}getDefaultFloatingFilter(e){return this.getDefaultFilter(e,!0)}createFilterComp(e,t,a,n,r,o){const i=()=>{const c=this.createFilterCompParams(e,r,o),d=n(c,r);return fu(this.beans.userCompFactory,t,d,a)},s=i();return s?{compDetails:s,createFilterUi:c=>(c?i():s).newAgStackInstance()}:null}createFilterInstance(e,t,a,n){const r=this.beans.selectableFilter;r?.isSelectable(t)&&(t=r.getFilterDef(e,t));const{handler:o,handlerParams:i,handlerGenerator:s}=this.createHandler(e,t,a)??{},l=this.createFilterComp(e,t,a,n,!!o,"init");if(!l)return{compDetails:null,createFilterUi:null,handler:o,handlerGenerator:s,handlerParams:i};const{compDetails:c,createFilterUi:d}=l;return this.isGlobalButtons&&(c.params?.buttons?.length||R(281,{colId:e.getColId()})),{compDetails:c,handler:o,handlerGenerator:s,handlerParams:i,createFilterUi:d}}createBaseFilterParams(e,t){const{filterManager:a,rowModel:n}=this.beans;return B(this.gos,{column:e,colDef:e.getColDef(),getValue:this.createGetValue(e),doesRowPassOtherFilter:t?()=>!0:r=>a?.doesRowPassOtherFilters(e.getColId(),r)??!0,rowModel:n})}createFilterCompParams(e,t,a,n){const r=this.filterChangedCallbackFactory(e),o=this.createBaseFilterParams(e,n);if(o.filterChangedCallback=r,o.filterModifiedCallback=n?()=>{}:i=>this.filterModified(e,i),t){const i=o,s=e.getColId(),l=We(this.model,s);i.model=l,i.state=this.state.get(s)??{model:l},i.onModelChange=(c,d)=>{this.updateStoredModel(s,c),this.refreshHandlerAndUi(e,c,"ui",!1,d).then(()=>{r({...d,source:"columnFilter"})})},i.onStateChange=c=>{this.updateState(e,c),this.updateOrRefreshFilterUi(e)},i.onAction=(c,d,u)=>{this.updateModel(e,c,d),this.dispatchLocalEvent({type:"filterAction",column:e,action:c,event:u})},i.getHandler=()=>this.getHandler(e,!0),i.onUiChange=c=>this.filterUiChanged(e,c),i.source=a}return o}createFilterUiForHandler(e,t){return t?{created:!1,create:t,filterParams:e.params,compDetails:e}:null}createFilterUiLegacy(e,t,a){const n=t(),r={created:!0,create:t,filterParams:e.params,compDetails:e,promise:n};return n.then(a),r}createFilterWrapper(e){const{compDetails:t,handler:a,handlerGenerator:n,handlerParams:r,createFilterUi:o}=this.createFilterInstance(e,e.getColDef(),this.getDefaultFilter(e),s=>s),i=e.getColId();if(a)return delete this.initialModel[i],a.init?.({...r,source:"init",model:We(this.model,i)}),{column:e,isHandler:!0,handler:a,handlerGenerator:n,handlerParams:r,filterUi:this.createFilterUiForHandler(t,o)};if(o){const s={column:e,filterUi:null,isHandler:!1};return s.filterUi=this.createFilterUiLegacy(t,o,l=>{s.filter=l??void 0}),s}return{column:e,filterUi:null,isHandler:!1}}createHandlerFunc(e,t,a){const{gos:n,frameworkOverrides:r,registry:o}=this.beans;let i;const s=h=>{const p=h.filter;if(cv(p)){const f=p.handler;return f||(i=p.doesFilterPass,i?()=>({doesFilterPass:i}):void 0)}return typeof p=="string"?p:void 0},l=n.get("enableFilterHandlers"),c=l?s(t):void 0,d=h=>()=>this.createBean(o.createDynamicBean(h,!0));let u,g;if(typeof c=="string"){const h=n.get("filterHandlers")?.[c];h!=null?u=h:R4.has(c)&&(u=d(c),g=c)}else u=c;if(!u){let h;const{compName:p,jsComp:f,fwComp:m}=hv(r,t);p?h=p:f==null&&m==null&&t.filter===!0&&(h=a),g=this.handlerMap[h],g&&(u=d(g))}return u?{filterHandler:u,handlerNameOrCallback:i??g}:l?(se(n)&&R(277,{colId:e.getColId()}),_4):void 0}createHandler(e,t,a){const n=this.createHandlerFunc(e,t,a);if(!n)return;const r=vu(this.beans.userCompFactory,t,this.createFilterCompParams(e,!0,"init")),{handlerNameOrCallback:o,filterHandler:i}=n,{handler:s,handlerParams:l}=this.createHandlerFromFunc(e,i,r);return{handler:s,handlerParams:l,handlerGenerator:o??i}}createHandlerFromFunc(e,t,a){const n=e.getColDef(),r=t(B(this.gos,{column:e,colDef:n})),o=this.createHandlerParams(e,a);return{handler:r,handlerParams:o}}createHandlerParams(e,t){const a=e.getColDef(),n=e.getColId(),r=this.filterChangedCallbackFactory(e);return B(this.gos,{colDef:a,column:e,getValue:this.createGetValue(e),doesRowPassOtherFilter:o=>this.beans.filterManager?.doesRowPassOtherFilters(n,o)??!0,onModelChange:(o,i)=>{this.updateStoredModel(n,o),this.refreshHandlerAndUi(e,o,"handler",!1,i).then(()=>{r({...i,source:"columnFilter"})})},onModelAsStringChange:()=>{e.dispatchColEvent("filterChanged","filterChanged"),this.dispatchLocalEvent({type:"filterModelAsStringChanged",column:e})},filterParams:t})}onColumnsChanged(){const e=[],{colModel:t,filterManager:a,groupFilter:n}=this.beans;this.allColumnFilters.forEach((o,i)=>{let s;o.column.isPrimary()?s=t.getColDefCol(i):s=t.getCol(i),!(s&&s===o.column)&&(e.push(o.column),this.disposeFilterWrapper(o,"columnChanged"),this.disposeColumnListener(i))});const r=n&&e.every(o=>n.isGroupFilter(o));e.length>0&&!r&&a?.onFilterChanged({columns:e,source:"api"})}isFilterAllowed(e){if(!e.isFilterAllowed())return!1;const a=this.beans.groupFilter;return a?.isGroupFilter(e)?a.isFilterAllowed(e):!0}getFloatingFilterCompDetails(e,t){const{userCompFactory:a,frameworkOverrides:n,selectableFilter:r,gos:o}=this.beans,i=h=>{this.getOrCreateFilterUi(e)?.then(f=>{h(Ua(f))})},s=e.getColDef(),l=r?.isSelectable(s)?r.getFilterDef(e,s):s,c=Sh(n,l,()=>this.getDefaultFloatingFilter(e))??"agReadOnlyFloatingFilter",d=o.get("enableFilterHandlers"),u=vu(a,l,this.createFilterCompParams(e,d,"init",!0)),g=B(o,{column:e,filterParams:u,currentParentModel:()=>this.getCurrentFloatingFilterParentModel(e),parentFilterInstance:i,showParentFilter:t});if(d){const h=g,p=e.getColId(),f=this.filterChangedCallbackFactory(e);h.onUiChange=m=>this.floatingFilterUiChanged(e,m),h.model=We(this.model,p),h.onModelChange=(m,v)=>{this.updateStoredModel(p,m),this.refreshHandlerAndUi(e,m,"floating",!0,v).then(()=>{f({...v,source:"columnFilter"})})},h.getHandler=()=>this.getHandler(e,!0),h.source="init"}return mu(a,s,g,c)}getCurrentFloatingFilterParentModel(e){return this.getModelFromFilterWrapper(this.cachedFilter(e)??{column:e})}destroyFilterUi(e,t,a,n){const r="paramsUpdated";if(e.isHandler){const o=t.getColId();delete this.initialModel[o],this.state.delete(o);const i=e.filterUi,s=this.createFilterUiForHandler(a,n);e.filterUi=s;const l=this.eventSvc;i?.created?i.promise.then(c=>{this.destroyBean(c),l.dispatchEvent({type:"filterDestroyed",source:r,column:t})}):l.dispatchEvent({type:"filterHandlerDestroyed",source:r,column:t})}else this.destroyFilter(t,r)}destroyFilter(e,t="api"){const a=e.getColId(),n=this.allColumnFilters.get(a);this.disposeColumnListener(a),delete this.initialModel[a],n&&this.disposeFilterWrapper(n,t).then(r=>{r&&this.isAlive()&&this.beans.filterManager?.onFilterChanged({columns:[e],source:"api"})})}disposeColumnListener(e){const t=this.allColumnListeners.get(e);t&&(this.allColumnListeners.delete(e),t())}disposeFilterWrapper(e,t){let a=!1;const{column:n,isHandler:r,filterUi:o}=e,i=n.getColId();r&&(a=this.isHandlerActive(n),this.destroyBean(e.handler),delete this.model[i],this.state.delete(i));const s=()=>{this.setColFilterActive(n,!1,"filterDestroyed"),this.allColumnFilters.delete(i),this.eventSvc.dispatchEvent({type:"filterDestroyed",source:t,column:n})};if(o){if(o.created)return o.promise.then(l=>(a=r?a:!!l?.isFilterActive(),this.destroyBean(l),s(),a));s()}return j.resolve(a)}filterChangedCallbackFactory(e){return t=>{this.callOnFilterChangedOutsideRenderCycle({additionalEventAttributes:t,columns:[e],column:e,source:t?.source??"columnFilter"})}}filterParamsChanged(e,t="api"){const a=this.allColumnFilters.get(e);if(!a)return;const n=this.beans,r=a.column,o=r.getColDef(),i=r.isFilterAllowed(),s=this.getDefaultFilter(r),l=n.selectableFilter,c=l?.isSelectable(o)?l.getFilterDef(r,o):o,d=i?this.createHandlerFunc(r,c,this.getDefaultFilter(r)):void 0,u=!!d,g=a.isHandler;if(g!=u){this.destroyFilter(r,"paramsUpdated");return}const{compDetails:h,createFilterUi:p}=(i?this.createFilterComp(r,c,s,m=>m,u,"colDef"):null)??{compDetails:null,createFilterUi:null},f=h?.params??vu(n.userCompFactory,c,this.createFilterCompParams(r,u,"colDef"));if(g){const m=d?.handlerNameOrCallback??d?.filterHandler,v=We(this.model,e);if(a.handlerGenerator!=m){const C=a.handler,{handler:b,handlerParams:y}=this.createHandlerFromFunc(r,d.filterHandler,f);a.handler=b,a.handlerParams=y,a.handlerGenerator=m,delete this.model[e],b.init?.({...y,source:"init",model:null}),this.destroyBean(C),v!=null&&this.beans.filterManager?.onFilterChanged({columns:[r],source:t})}else{const C=this.createHandlerParams(r,h?.params);a.handlerParams=C,a.handler.refresh?.({...C,source:"colDef",model:v})}}if(this.areFilterCompsDifferent(a.filterUi?.compDetails??null,h)||!a.filterUi||!h){this.destroyFilterUi(a,r,h,p);return}a.filterUi.filterParams=f,_n(a,g)?.then(m=>{(m?.refresh?m.refresh(f):!0)===!1?this.destroyFilterUi(a,r,h,p):this.dispatchLocalEvent({type:"filterParamsChanged",column:r,params:f})})}refreshHandlerAndUi(e,t,a,n,r){const o=this.cachedFilter(e);if(!o)return n&&this.getOrCreateFilterWrapper(e,!0),j.resolve();if(!o.isHandler)return j.resolve();const{filterUi:i,handler:s,handlerParams:l}=o;return wc(()=>{if(i){const{created:c,filterParams:d}=i;if(c)return i.promise.then(u=>u?{filter:u,filterParams:d}:void 0);i.refreshed=!0}return j.resolve(void 0)},s,l,t,this.state.get(e.getColId())??{model:t},a,r)}setColumnFilterWrapper(e,t){const a=e.getColId();this.allColumnFilters.set(a,t),this.allColumnListeners.set(a,this.addManagedListeners(e,{colDefChanged:()=>this.filterParamsChanged(a)})[0])}areFilterCompsDifferent(e,t){if(!t||!e)return!0;const{componentClass:a}=e,{componentClass:n}=t;return!(a===n||a?.render&&n?.render&&a.render===n.render)}hasFloatingFilters(){return this.beans.colModel.getCols().some(t=>t.getColDef().floatingFilter)}getFilterInstance(e){const t=this.beans.colModel.getColDefCol(e);if(!t)return Promise.resolve(void 0);const a=this.getOrCreateFilterUi(t);return a?new Promise(n=>{a.then(r=>{n(Ua(r))})}):Promise.resolve(null)}processFilterModelUpdateQueue(){this.modelUpdates.forEach(({model:e,source:t})=>this.setModel(e,t)),this.modelUpdates=[],this.columnModelUpdates.forEach(({key:e,model:t,resolve:a})=>{this.setModelForColumn(e,t).then(()=>a())}),this.columnModelUpdates=[]}getModelForColumn(e,t){if(t){const{state:n,model:r}=this,o=e.getColId(),i=n.get(o);return i?i.model??null:We(r,o)}const a=this.cachedFilter(e);return a?this.getModelFromFilterWrapper(a):null}setModelForColumn(e,t){if(this.beans.dataTypeSvc?.isPendingInference){let a=()=>{};const n=new Promise(r=>{a=r});return this.columnModelUpdates.push({key:e,model:t,resolve:a}),n}return new Promise(a=>{this.setModelForColumnLegacy(e,t).then(n=>a(n))})}getStateForColumn(e){return this.state.get(e)??{model:We(this.model,e)}}setModelForColumnLegacy(e,t){const a=this.beans.colModel.getColDefCol(e),n=a?this.getOrCreateFilterWrapper(a,!0):null;return n?this.setModelOnFilterWrapper(n,t):j.resolve()}setColDefPropsForDataType(e,t,a){const n=e.filter,r=n===!0?this.getDefaultFilterFromDataType(()=>t.baseDataType):n;if(typeof r!="string")return;let o,i;const s=this.beans,{filterParams:l,filterValueGetter:c}=e;r==="agMultiColumnFilter"?{filterParams:o,filterValueGetter:i}=s.multiFilter?.getParamsForDataType(l,c,t,a)??{}:{filterParams:o,filterValueGetter:i}=Sc(r,l,c,t,a,s,this.getLocaleTextFunc()),e.filterParams=o,i&&(e.filterValueGetter=i)}setColFilterActive(e,t,a,n){e.filterActive!==t&&(e.filterActive=t,e.dispatchColEvent("filterActiveChanged",a)),e.dispatchColEvent("filterChanged",a,n)}setModelOnFilterWrapper(e,t,a){return new j(n=>{if(e.isHandler){const o=e.column,i=o.getColId(),s=this.model[i];if(this.updateStoredModel(i,t),a&&t===s){n();return}this.refreshHandlerAndUi(o,t,"api").then(()=>n());return}const r=_n(e);if(r){r.then(o=>{if(typeof o?.setModel!="function"){R(65),n();return}(o.setModel(t)||j.resolve()).then(()=>n())});return}n()})}updateStoredModel(e,t){A(t)?this.model[e]=t:delete this.model[e];const a=this.state.get(e),n={model:t,state:a?.state};this.state.set(e,n)}filterModified(e,t){this.getOrCreateFilterUi(e)?.then(a=>{this.eventSvc.dispatchEvent({type:"filterModified",column:e,filterInstance:a,...t})})}filterUiChanged(e,t){this.gos.get("enableFilterHandlers")&&this.eventSvc.dispatchEvent({type:"filterUiChanged",column:e,...t})}floatingFilterUiChanged(e,t){this.gos.get("enableFilterHandlers")&&this.eventSvc.dispatchEvent({type:"floatingFilterUiChanged",column:e,...t})}updateModel(e,t,a){const n=e.getColId(),r=this.cachedFilter(e),o=()=>r?.filterUi;yc({action:t,filterParams:r?.filterUi?.filterParams,getFilterUi:o,getModel:()=>We(this.model,n),getState:()=>this.state.get(n),updateState:i=>this.updateState(e,i),updateModel:i=>o()?.filterParams?.onModelChange(i,{...a,fromAction:t}),processModelToApply:r?.isHandler?r.handler.processModelToApply?.bind(r.handler):void 0})}updateAllModels(e,t){const a=[];this.allColumnFilters.forEach((n,r)=>{const o=this.beans.colModel.getColDefCol(r);o&&yc({action:e,filterParams:n.filterUi?.filterParams,getFilterUi:()=>n.filterUi,getModel:()=>We(this.model,r),getState:()=>this.state.get(r),updateState:i=>this.updateState(o,i),updateModel:i=>{this.updateStoredModel(r,i),this.dispatchLocalEvent({type:"filterAction",column:o,action:e}),a.push(this.refreshHandlerAndUi(o,i,"ui"))},processModelToApply:n?.isHandler?n.handler.processModelToApply?.bind(n.handler):void 0})}),a.length&&j.all(a).then(()=>{this.callOnFilterChangedOutsideRenderCycle({source:"columnFilter",additionalEventAttributes:t,columns:[]})})}updateOrRefreshFilterUi(e){const t=e.getColId();$w(()=>this.cachedFilter(e)?.filterUi,()=>We(this.model,t),()=>this.state.get(t))}updateState(e,t){this.state.set(e.getColId(),t),this.dispatchLocalEvent({type:"filterStateChanged",column:e,state:t})}canApplyAll(){const{state:e,model:t,activeFilterComps:a}=this;for(const r of a)if(r.source==="COLUMN_MENU")return!1;let n=!1;for(const r of e.keys()){const o=e.get(r);if(o.valid===!1)return!1;(o.model??null)!==We(t,r)&&(n=!0)}return n}hasUnappliedModel(e){const{model:t,state:a}=this;return(a.get(e)?.model??null)!==We(t,e)}setGlobalButtons(e){this.isGlobalButtons=e,this.dispatchLocalEvent({type:"filterGlobalButtons",isGlobal:e})}shouldKeepStateOnDetach(e,t){if(t==="newFiltersToolPanel")return!0;const a=this.beans.filterPanelSvc;return a?.isActive?!!a.getState(e.getColId()):!1}onPivotModeChanged(e){const{colModel:t,pivotColsSvc:a}=this.beans,n=!!kn(this.gos),r=e.currentValue,o=r?this.activeColumnFilters:this.activeAggregateFilters,i=r?this.activeAggregateFilters:this.activeColumnFilters,s=[];for(const l of o){const c=t.getColById(l.colId),d=r&&!!a?.columns.length;c&&r===ry(c,r,d,n)&&(i.push(l),s.push(l))}Hs(o,s)}destroy(){super.destroy(),this.allColumnFilters.forEach(e=>this.disposeFilterWrapper(e,"gridDestroyed")),this.allColumnListeners.clear(),this.state.clear(),this.activeFilterComps.clear()}};function Y4(e){return!!e.filterManager?.isAnyFilterPresent()}function Q4(e,t="api"){e.filterManager?.onFilterChanged({source:t})}var Z4=class extends F{constructor(){super(...arguments),this.beanName="filterManager",this.advFilterModelUpdateQueue=[]}wireBeans(e){this.quickFilter=e.quickFilter,this.advancedFilter=e.advancedFilter,this.colFilter=e.colFilter}postConstruct(){const e=this.refreshFiltersForAggregations.bind(this),t=this.updateAdvFilterColumns.bind(this);this.addManagedEventListeners({columnValueChanged:e,columnPivotChanged:e,columnPivotModeChanged:e,newColumnsLoaded:t,columnVisible:t,advancedFilterEnabledChanged:({enabled:n})=>this.onAdvFilterEnabledChanged(n),dataTypesInferred:this.processFilterModelUpdateQueue.bind(this)}),this.externalFilterPresent=this.isExternalFilterPresentCallback(),this.addManagedPropertyListeners(["isExternalFilterPresent","doesExternalFilterPass"],()=>{this.onFilterChanged({source:"api"})}),this.updateAggFiltering(),this.addManagedPropertyListener("groupAggFiltering",()=>{this.updateAggFiltering(),this.onFilterChanged()}),this.quickFilter&&this.addManagedListeners(this.quickFilter,{quickFilterChanged:()=>this.onFilterChanged({source:"quickFilter"})});const{gos:a}=this;this.alwaysPassFilter=a.get("alwaysPassFilter"),this.addManagedPropertyListener("alwaysPassFilter",()=>{this.alwaysPassFilter=a.get("alwaysPassFilter"),this.onFilterChanged({source:"api"})})}isExternalFilterPresentCallback(){const e=this.gos.getCallback("isExternalFilterPresent");return typeof e=="function"&&e({})}doesExternalFilterPass(e){const t=this.gos.get("doesExternalFilterPass");return typeof t=="function"&&t(e)}setFilterState(e,t,a="api"){this.isAdvFilterEnabled()||this.colFilter?.setState(e,t,a)}setFilterModel(e,t="api",a){if(this.isAdvFilterEnabled()){a||this.warnAdvFilters();return}this.colFilter?.setModel(e,t)}getFilterModel(){return this.colFilter?.getModel()??{}}getFilterState(){return this.colFilter?.getState()}isColumnFilterPresent(){return!!this.colFilter?.isFilterPresent()}isAggregateFilterPresent(){return!!this.colFilter?.isAggFilterPresent()}isChildFilterPresent(){return this.isColumnFilterPresent()||this.isQuickFilterPresent()||this.externalFilterPresent||this.isAdvFilterPresent()}isAnyFilterPresent(){return this.isChildFilterPresent()||this.isAggregateFilterPresent()}isAdvFilterPresent(){return this.isAdvFilterEnabled()&&this.advancedFilter.isFilterPresent()}onAdvFilterEnabledChanged(e){e?this.colFilter?.disableFilters()&&this.onFilterChanged({source:"advancedFilter"}):this.advancedFilter?.isFilterPresent()&&(this.advancedFilter.setModel(null),this.onFilterChanged({source:"advancedFilter"}))}isAdvFilterEnabled(){return!!this.advancedFilter?.isEnabled()}isAdvFilterHeaderActive(){return this.isAdvFilterEnabled()&&this.advancedFilter.isHeaderActive()}refreshFiltersForAggregations(){kn(this.gos)&&this.isAnyFilterPresent()&&this.onFilterChanged()}onFilterChanged(e={}){const{source:t,additionalEventAttributes:a,columns:n=[]}=e;this.externalFilterPresent=this.isExternalFilterPresentCallback(),(this.colFilter?this.colFilter.updateBeforeFilterChanged(e):j.resolve()).then(()=>{const r={source:t,type:"filterChanged",columns:n};a&&Oe(r,a),this.eventSvc.dispatchEvent(r),this.colFilter?.updateAfterFilterChanged()})}isSuppressFlashingCellsBecauseFiltering(){return!!this.colFilter?.isSuppressFlashingCellsBecauseFiltering()}isQuickFilterPresent(){return!!this.quickFilter?.isFilterPresent()}updateAggFiltering(){this.aggFiltering=!!kn(this.gos)}isAggregateQuickFilterPresent(){return this.isQuickFilterPresent()&&this.shouldApplyQuickFilterAfterAgg()}isNonAggregateQuickFilterPresent(){return this.isQuickFilterPresent()&&!this.shouldApplyQuickFilterAfterAgg()}shouldApplyQuickFilterAfterAgg(){return(this.aggFiltering||this.beans.colModel.isPivotMode())&&!this.gos.get("applyQuickFilterBeforePivotOrAgg")}doesRowPassOtherFilters(e,t){return this.doesRowPassFilter({rowNode:t,colIdToSkip:e})}doesRowPassAggregateFilters(e){const{rowNode:t}=e;return this.alwaysPassFilter?.(t)?!0:!(this.isAggregateQuickFilterPresent()&&!this.quickFilter.doesRowPass(t)||this.isAggregateFilterPresent()&&!this.colFilter.doFiltersPass(t,e.colIdToSkip,!0))}doesRowPassFilter(e){const{rowNode:t}=e;return this.alwaysPassFilter?.(t)?!0:!(this.isNonAggregateQuickFilterPresent()&&!this.quickFilter.doesRowPass(t)||this.externalFilterPresent&&!this.doesExternalFilterPass(t)||this.isColumnFilterPresent()&&!this.colFilter.doFiltersPass(t,e.colIdToSkip)||this.isAdvFilterPresent()&&!this.advancedFilter.doesFilterPass(t))}isFilterAllowed(e){return this.isAdvFilterEnabled()?!1:!!this.colFilter?.isFilterAllowed(e)}getAdvFilterModel(){return this.isAdvFilterEnabled()?this.advancedFilter.getModel():null}setAdvFilterModel(e,t="api"){if(this.isAdvFilterEnabled()){if(this.beans.dataTypeSvc?.isPendingInference){this.advFilterModelUpdateQueue.push(e);return}this.advancedFilter.setModel(e??null),this.onFilterChanged({source:t})}}toggleAdvFilterBuilder(e,t){this.isAdvFilterEnabled()&&this.advancedFilter.getCtrl().toggleFilterBuilder({source:t,force:e})}updateAdvFilterColumns(){this.isAdvFilterEnabled()&&this.advancedFilter.updateValidity()&&this.onFilterChanged({source:"advancedFilter"})}hasFloatingFilters(){return this.isAdvFilterEnabled()?!1:!!this.colFilter?.hasFloatingFilters()}getColumnFilterInstance(e){return this.isAdvFilterEnabled()?(this.warnAdvFilters(),Promise.resolve(void 0)):this.colFilter?.getFilterInstance(e)??Promise.resolve(void 0)}warnAdvFilters(){R(68)}setupAdvFilterHeaderComp(e){this.advancedFilter?.getCtrl().setupHeaderComp(e)}getHeaderRowCount(){return this.isAdvFilterHeaderActive()?1:0}getHeaderHeight(){return this.isAdvFilterHeaderActive()?this.advancedFilter.getCtrl().getHeaderHeight():0}processFilterModelUpdateQueue(){for(const e of this.advFilterModelUpdateQueue)this.setAdvFilterModel(e);this.advFilterModelUpdateQueue=[]}setColumnFilterModel(e,t){return this.isAdvFilterEnabled()?(this.warnAdvFilters(),Promise.resolve()):this.colFilter?.setModelForColumn(e,t)??Promise.resolve()}};function X4(e){return{tag:"div",cls:e}}var Po=class extends T{constructor(e){const{className:t="ag-filter-apply-panel"}=e??{};super(X4(t)),this.listeners=[],this.validationMessage=null,this.className=t}updateButtons(e,t){const a=this.buttons;if(this.buttons=e,a===e)return;const n=this.getGui();ee(n);let r;this.destroyListeners();const o=document.createDocumentFragment(),i=this.className,s=({type:c,label:d})=>{const u=v=>{this.dispatchLocalEvent({type:c,event:v})};["apply","clear","reset","cancel"].includes(c)||R(75);const g=c==="apply",p=re({tag:"button",attrs:{type:g&&t?"submit":"button"},ref:`${c}FilterButton`,cls:`ag-button ag-standard-button ${i}-button${g?" "+i+"-apply-button":""}`,children:d});this.activateTabIndex([p]),g&&(r=p);const f=v=>{v.key===w.ENTER&&(v.preventDefault(),u(v))},m=this.listeners;p.addEventListener("click",u),m.push(()=>p.removeEventListener("click",u)),p.addEventListener("keydown",f),m.push(()=>p.removeEventListener("keydown",f)),o.append(p)};for(const c of e)s(c);this.eApply=r;const l=this.validationTooltipFeature;r&&!l?this.validationTooltipFeature=this.createOptionalManagedBean(this.beans.registry.createDynamicBean("tooltipFeature",!1,{getGui:()=>this.eApply,getLocation:()=>"advancedFilter",getTooltipShowDelayOverride:()=>1e3})):!r&&l&&(this.validationTooltipFeature=this.destroyBean(l)),n.append(o)}getApplyButton(){return this.eApply}updateValidity(e,t=null){const a=this.eApply;a&&(wn(a,!e),this.validationMessage=t,this.validationTooltipFeature?.setTooltipAndRefresh(this.validationMessage))}destroyListeners(){for(const e of this.listeners)e();this.listeners=[]}destroy(){this.destroyListeners(),super.destroy()}},oy={selector:"AG-FILTER-BUTTON",component:Po},xh=class extends T{constructor(e,t,a,n,r,o){super(),this.column=e,this.wrapper=t,this.eventParent=a,this.updateModel=n,this.isGlobalButtons=r,this.enableGlobalButtonCheck=o,this.hidePopup=null,this.applyActive=!1}postConstruct(){const{comp:e,params:t}=this.wrapper,a=t,n=a.useForm,r=n?"form":"div";this.setTemplate({tag:r,cls:"ag-filter-wrapper"}),n&&this.addManagedElementListeners(this.getGui(),{submit:o=>{o?.preventDefault()},keydown:this.handleKeyDown.bind(this)}),this.appendChild(e.getGui()),this.params=a,this.resetButtonsPanel(a),this.addManagedListeners(this.eventParent,{filterParamsChanged:({column:o,params:i})=>{o===this.column&&this.resetButtonsPanel(i,this.params)},filterStateChanged:({column:o,state:i})=>{o===this.column&&this.eButtons?.updateValidity(i.valid!==!1)},filterAction:({column:o,action:i,event:s})=>{o===this.column&&this.afterAction(i,s)},...this.enableGlobalButtonCheck?{filterGlobalButtons:({isGlobal:o})=>{if(o!==this.isGlobalButtons){this.isGlobalButtons=o;const i=this.params;this.resetButtonsPanel(i,i,!0)}}}:void 0})}afterGuiAttached(e){e&&(this.hidePopup=e.hidePopup)}resetButtonsPanel(e,t,a){const{buttons:n,readOnly:r}=t??{},{buttons:o,readOnly:i,useForm:s}=e;if(!a&&r===i&&Aa(n,o))return;const l=o&&o.length>0&&!e.readOnly&&!this.isGlobalButtons;let c=this.eButtons;if(l){const d=o.map(u=>{const g=`${u}Filter`;return{type:u,label:Kt(this,g)}});if(this.applyActive=co(this.params),!c){c=this.createBean(new Po),this.appendChild(c.getGui());const u=this.column,g=h=>({event:p})=>{this.updateModel(u,h,{fromButtons:!0}),this.afterAction(h,p)};c?.addManagedListeners(c,{apply:g("apply"),clear:g("clear"),reset:g("reset"),cancel:g("cancel")}),this.eButtons=c}c.updateButtons(d,s)}else this.applyActive=!1,c&&(ue(c.getGui()),this.eButtons=this.destroyBean(c))}close(e){const t=this.hidePopup;if(!t)return;const a=e,n=a?.key;let r;(n===w.ENTER||n===w.SPACE)&&(r={keyboardEvent:a}),t(r),this.hidePopup=null}afterAction(e,t){const{params:a,applyActive:n}=this,r=a?.closeOnApply;switch(e){case"apply":{t?.preventDefault(),r&&n&&this.close(t);break}case"reset":{r&&n&&this.close();break}case"cancel":{r&&this.close(t);break}}}handleKeyDown(e){!e.defaultPrevented&&e.key===w.ENTER&&this.applyActive&&(this.updateModel(this.column,"apply",{fromButtons:!0}),this.afterAction("apply",e))}destroy(){this.hidePopup=null,this.eButtons=this.destroyBean(this.eButtons)}},J4=":where(.ag-menu:not(.ag-tabs) .ag-filter)>:not(.ag-filter-wrapper){min-width:180px}",$4={tag:"div",cls:"ag-filter"},Ao=class extends T{constructor(e,t,a){super($4),this.column=e,this.source=t,this.enableGlobalButtonCheck=a,this.wrapper=null}postConstruct(){this.beans.colFilter?.activeFilterComps.add(this),this.createFilter(!0),this.addManagedEventListeners({filterDestroyed:this.onFilterDestroyed.bind(this)})}hasFilter(){return this.wrapper!=null}getFilter(){return this.wrapper?.then(e=>e.comp)??null}afterInit(){return this.wrapper?.then(()=>{})??j.resolve()}afterGuiAttached(e){this.afterGuiAttachedParams=e,this.wrapper?.then(t=>{this.comp?.afterGuiAttached(e),t?.comp?.afterGuiAttached?.(e)})}afterGuiDetached(){this.wrapper?.then(e=>{e?.comp?.afterGuiDetached?.()})}createFilter(e){const{column:t,source:a,beans:{colFilter:n}}=this,r=n.getFilterUiForDisplay(t)??null;this.wrapper=r,r?.then(o=>{if(!o)return;const{isHandler:i,comp:s}=o;let l;if(i){const c=!!this.enableGlobalButtonCheck,d=this.createBean(new xh(t,o,n,n.updateModel.bind(n),c&&n.isGlobalButtons,c));this.comp=d,l=d.getGui()}else this.registerCSS(J4),l=s.getGui(),A(l)||R(69,{guiFromFilter:l});this.appendChild(l),e?this.eventSvc.dispatchEvent({type:"filterOpened",column:t,source:a,eGui:this.getGui()}):s.afterGuiAttached?.(this.afterGuiAttachedParams)})}onFilterDestroyed(e){const{source:t,column:a}=e;(t==="api"||t==="paramsUpdated")&&a.getId()===this.column.getId()&&this.beans.colModel.getColDefCol(this.column)&&(ee(this.getGui()),this.comp=this.destroyBean(this.comp),this.createFilter())}destroy(){this.beans.colFilter?.activeFilterComps.delete(this),this.eventSvc.dispatchEvent({type:"filterClosed",column:this.column}),this.wrapper=null,this.comp=this.destroyBean(this.comp),this.afterGuiAttachedParams=void 0,super.destroy()}},e6=class extends F{constructor(){super(...arguments),this.beanName="filterMenuFactory"}wireBeans(e){this.popupSvc=e.popupSvc}hideActiveMenu(){this.hidePopup?.()}showMenuAfterMouseEvent(e,t,a,n){e&&!e.isColumn||this.showPopup(e,r=>{this.popupSvc?.positionPopupUnderMouseEvent({additionalParams:{column:e},type:a,mouseEvent:t,ePopup:r})},a,t.target,Ne(this.gos),n)}showMenuAfterButtonClick(e,t,a,n){if(e&&!e.isColumn)return;let r=-1,o="left";const i=Ne(this.gos);!i&&this.gos.get("enableRtl")&&(r=1,o="right");const s=i?void 0:4*r,l=i?void 0:4;this.showPopup(e,c=>{this.popupSvc?.positionPopupByComponent({type:a,eventSource:t,ePopup:c,nudgeX:s,nudgeY:l,alignSide:o,keepWithinBounds:!0,position:"under",additionalParams:{column:e}})},a,t,i,n)}showPopup(e,t,a,n,r,o){const i=e?this.createBean(new Ao(e,"COLUMN_MENU")):void 0;if(this.activeMenu=i,!i?.hasFilter()||!e){J(57);return}const s=re({tag:"div",cls:`ag-menu${r?"":" ag-filter-menu"}`,role:"presentation"});[this.tabListener]=this.addManagedElementListeners(s,{keydown:f=>this.trapFocusWithin(f,s)}),s.appendChild(i?.getGui());let l;const c=()=>i?.afterGuiDetached(),d=su(this.gos)?n??this.beans.ctrlsSvc.getGridBodyCtrl().eGridBody:void 0,u=f=>{ds(e,!1,"contextMenu");const m=f instanceof KeyboardEvent;this.tabListener&&(this.tabListener=this.tabListener()),m&&n&&Be(n)&&Rl(n)?.focus({preventScroll:!0}),c(),this.destroyBean(this.activeMenu),this.dispatchVisibleChangedEvent(!1,a,e),o?.()},g=this.getLocaleTextFunc(),h=r&&a!=="columnFilter"?g("ariaLabelColumnMenu","Column Menu"):g("ariaLabelColumnFilter","Column Filter"),p=this.popupSvc?.addPopup({modal:!0,eChild:s,closeOnEsc:!0,closedCallback:u,positionCallback:()=>t(s),anchorToElement:d,ariaLabel:h});p&&(this.hidePopup=l=p.hideFunc),i.afterInit().then(()=>{t(s),i.afterGuiAttached({container:a,hidePopup:l})}),ds(e,!0,"contextMenu"),this.dispatchVisibleChangedEvent(!0,a,e)}trapFocusWithin(e,t){e.key!==w.TAB||e.defaultPrevented||Je(this.beans,t,!1,e.shiftKey)||(e.preventDefault(),ze(t,e.shiftKey))}dispatchVisibleChangedEvent(e,t,a){this.eventSvc.dispatchEvent({type:"columnMenuVisibleChanged",visible:e,switchingTab:!1,key:t,column:a??null,columnGroup:null})}isMenuEnabled(e){return e.isFilterAllowed()&&(e.getColDef().menuTabs??["filterMenuTab"]).includes("filterMenuTab")}showMenuAfterContextMenuEvent(){}destroy(){this.destroyBean(this.activeMenu),super.destroy()}},t6=class extends F{constructor(){super(...arguments),this.beanName="filterValueSvc"}getValue(e,t,a){if(!t)return;const n=e.getColDef(),{selectableFilter:r,valueSvc:o,formula:i}=this.beans,s=a??r?.getFilterValueGetter(e.getColId())??n.filterValueGetter;if(s)return this.executeFilterValueGetter(s,t.data,e,t,n);const l=o.getValue(e,t,"data");return e.isAllowFormula()&&i?.isFormula(l)?i.resolveValue(e,t):l}executeFilterValueGetter(e,t,a,n,r){const{expressionSvc:o,valueSvc:i}=this.beans,s=B(this.gos,{data:t,node:n,column:a,colDef:r,getValue:i.getValueCallback.bind(i,n)});return typeof e=="function"?e(s):o?.evaluate(e,s)}},a6={tag:"div",cls:"ag-floating-filter-input",role:"presentation",children:[{tag:"ag-input-text-field",ref:"eFloatingFilterText"}]},n6=class extends T{constructor(){super(a6,[Gt]),this.eFloatingFilterText=x}init(e){this.params=e;const t=this.beans.colNames.getDisplayNameForColumn(e.column,"header",!0);if(this.eFloatingFilterText.setDisabled(!0).setInputAriaLabel(`${t} ${this.getLocaleTextFunc()("ariaFilterInput","Filter Input")}`),this.gos.get("enableFilterHandlers")){const a=e,n=a.getHandler();if(n.getModelAsString){const r=n.getModelAsString(a.model);this.eFloatingFilterText.setValue(r)}}}onParentModelChanged(e){if(e==null){this.eFloatingFilterText.setValue("");return}this.params.parentFilterInstance(t=>{if(t.getModelAsString){const a=t.getModelAsString(e);this.eFloatingFilterText.setValue(a)}})}refresh(e){this.init(e)}},kh=class extends Vn{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.addManagedEventListeners({checkboxChanged:this.onChange.bind(this)})}onChange(e){const t=this.eInput;e.selected&&e.name&&t.name&&t.name===e.name&&e.id&&t.id!==e.id&&this.setValue(!1,!0)}},r6={selector:"AG-RADIO-BUTTON",component:kh},Rh=class{constructor(){this.customFilterOptions={}}init(e,t){this.filterOptions=e.filterOptions??t,this.mapCustomOptions(),this.defaultOption=this.getDefaultItem(e.defaultOption)}refresh(e,t){const a=e.filterOptions??t;this.filterOptions!==a&&(this.filterOptions=a,this.customFilterOptions={},this.mapCustomOptions()),this.defaultOption=this.getDefaultItem(e.defaultOption)}mapCustomOptions(){const{filterOptions:e}=this;if(e)for(const t of e){if(typeof t=="string")continue;const a=[["displayKey"],["displayName"],["predicate","test"]],n=r=>r.some(o=>t[o]!=null)?!0:(R(72,{keys:r}),!1);if(!a.every(n)){this.filterOptions=e.filter(r=>r===t)||[];continue}this.customFilterOptions[t.displayKey]=t}}getDefaultItem(e){const{filterOptions:t}=this;if(e)return e;if(t.length>=1){const a=t[0];if(typeof a=="string")return a;if(a.displayKey)return a.displayKey;R(73)}else R(74)}getCustomOption(e){return this.customFilterOptions[e]}};function us(e,t,a){return a==null?e.splice(t):e.splice(t,a)}function kc(e){return e==null||typeof e=="string"&&e.trim().length===0}function o6(e){return e==="AND"||e==="OR"?e:"AND"}function i6(e,t,a){if(e==null)return;const{predicate:n}=e;if(n!=null&&!t.some(r=>r==null))return n(t,a)}function s6(e,t){let a=e.length;return a>t&&(e.splice(t),R(78),a=t),a}var l6=new Set(["empty","notBlank","blank","today","yesterday","tomorrow","thisWeek","lastWeek","nextWeek","thisMonth","lastMonth","nextMonth","thisQuarter","lastQuarter","nextQuarter","thisYear","lastYear","nextYear","yearToDate","last7Days","last30Days","last90Days","last6Months","last12Months","last24Months"]);function Kn(e,t){const a=t.getCustomOption(e);if(a){const{numberOfInputs:n}=a;return n??1}return e&&l6.has(e)?0:e==="inRange"?2:1}var Rc=class extends Ti{constructor(e,t,a){super(e,"simple-filter"),this.mapValuesFromModel=t,this.defaultOptions=a,this.eTypes=[],this.eJoinPanels=[],this.eJoinAnds=[],this.eJoinOrs=[],this.eConditionBodies=[],this.listener=()=>this.onUiChanged(),this.lastUiCompletePosition=null,this.joinOperatorId=0}setParams(e){super.setParams(e);const t=new Rh;this.optionsFactory=t,t.init(e,this.defaultOptions),this.commonUpdateSimpleParams(e),this.createOption(),this.createMissingConditionsAndOperators()}updateParams(e,t){this.optionsFactory.refresh(e,this.defaultOptions),super.updateParams(e,t),this.commonUpdateSimpleParams(e)}commonUpdateSimpleParams(e){this.setNumConditions(e),this.defaultJoinOperator=o6(e.defaultJoinOperator),this.filterPlaceholder=e.filterPlaceholder,this.createFilterListOptions(),it(this.getGui(),"tabindex",this.isReadOnly()?"-1":null)}onFloatingFilterChanged(e,t){this.setTypeFromFloatingFilter(e),this.setValueFromFloatingFilter(t),this.onUiChanged("immediately",!0)}setTypeFromFloatingFilter(e){this.eTypes.forEach((t,a)=>{const n=a===0?e:this.optionsFactory.defaultOption;t.setValue(n,!0)})}getModelFromUi(){const e=this.getUiCompleteConditions();return e.length===0?null:this.maxNumConditions>1&&e.length>1?{filterType:this.filterType,operator:this.getJoinOperator(),conditions:e}:e[0]}getConditionTypes(){return this.eTypes.map(e=>e.getValue())}getConditionType(e){return this.eTypes[e].getValue()}getJoinOperator(){const{eJoinOrs:e,defaultJoinOperator:t}=this;return e.length===0?t:e[0].getValue()===!0?"OR":"AND"}areNonNullModelsEqual(e,t){const a=!e.operator,n=!t.operator;if(!a&&n||a&&!n)return!1;let o;if(a){const i=e,s=t;o=this.areSimpleModelsEqual(i,s)}else{const i=e,s=t;o=i.operator===s.operator&&we(i.conditions,s.conditions,(l,c)=>this.areSimpleModelsEqual(l,c))}return o}setModelIntoUi(e,t){if(e==null)return this.resetUiToDefaults(t),j.resolve();if(e.operator){const n=e;let r=n.conditions;r==null&&(r=[],R(77));const o=s6(r,this.maxNumConditions),i=this.getNumConditions();if(oi)for(let l=i;ll.setValue(!s,!0)),this.eJoinOrs.forEach(l=>l.setValue(s,!0)),r.forEach((l,c)=>{this.eTypes[c].setValue(l.type,!0),this.setConditionIntoUi(l,c)})}else{const n=e;this.getNumConditions()>1&&this.removeConditionsAndOperators(1),this.eTypes[0].setValue(n.type,!0),this.setConditionIntoUi(n,0)}return this.lastUiCompletePosition=this.getNumConditions()-1,this.createMissingConditionsAndOperators(),this.updateUiVisibility(),t||this.params.onUiChange(this.getUiChangeEventParams()),j.resolve()}setNumConditions(e){let t=e.maxNumConditions??2;t<1&&(R(79),t=1),this.maxNumConditions=t;let a=e.numAlwaysVisibleConditions??1;a<1&&(R(80),a=1),a>t&&(R(81),a=t),this.numAlwaysVisibleConditions=a}createOption(){const e=this.getGui(),t=this.createManagedBean(new vt);this.eTypes.push(t),t.addCss("ag-filter-select"),e.appendChild(t.getGui());const a=this.createEValue();this.eConditionBodies.push(a),e.appendChild(a),this.putOptionsIntoDropdown(t),this.resetType(t);const n=this.getNumConditions()-1;this.forEachPositionInput(n,r=>this.resetInput(r)),this.addChangedListeners(t,n)}createJoinOperatorPanel(){const e=re({tag:"div",cls:"ag-filter-condition"});this.eJoinPanels.push(e);const t=this.createJoinOperator(this.eJoinAnds,e,"and"),a=this.createJoinOperator(this.eJoinOrs,e,"or");this.getGui().appendChild(e);const n=this.eJoinPanels.length-1,r=this.joinOperatorId++;this.resetJoinOperatorAnd(t,n,r),this.resetJoinOperatorOr(a,n,r),this.isReadOnly()||(t.onValueChange(this.listener),a.onValueChange(this.listener))}createJoinOperator(e,t,a){const n=this.createManagedBean(new kh);e.push(n);const r="ag-filter-condition-operator";return n.addCss(r),n.addCss(`${r}-${a}`),t.appendChild(n.getGui()),n}createFilterListOptions(){this.filterListOptions=this.optionsFactory.filterOptions.map(e=>typeof e=="string"?this.createBoilerplateListOption(e):this.createCustomListOption(e))}putOptionsIntoDropdown(e){const{filterListOptions:t}=this;for(const a of t)e.addOption(a);e.setDisabled(t.length<=1)}createBoilerplateListOption(e){return{value:e,text:this.translate(e)}}createCustomListOption(e){const{displayKey:t}=e,a=this.optionsFactory.getCustomOption(e.displayKey);return{value:t,text:a?this.getLocaleTextFunc()(a.displayKey,a.displayName):this.translate(t)}}createBodyTemplate(){return null}getAgComponents(){return[]}updateUiVisibility(){const e=this.getJoinOperator();this.updateNumConditions(),this.updateConditionStatusesAndValues(this.lastUiCompletePosition,e)}updateNumConditions(){let e=-1,t=!0;for(let a=0;a0&&this.removeConditionsAndOperators(n,r),this.createMissingConditionsAndOperators()}}this.lastUiCompletePosition=e}updateConditionStatusesAndValues(e,t){this.eTypes.forEach((n,r)=>{const o=this.isConditionDisabled(r,e);n.setDisabled(o||this.filterListOptions.length<=1),r===1&&(wn(this.eJoinPanels[0],o),this.eJoinAnds[0].setDisabled(o),this.eJoinOrs[0].setDisabled(o))}),this.eConditionBodies.forEach((n,r)=>{G(n,this.isConditionBodyVisible(r))});const a=(t??this.getJoinOperator())==="OR";for(const n of this.eJoinAnds)n.setValue(!a,!0);for(const n of this.eJoinOrs)n.setValue(a,!0);this.forEachInput((n,r,o,i)=>{this.setElementDisplayed(n,r=this.getNumConditions())return;const{eTypes:a,eConditionBodies:n,eJoinPanels:r,eJoinAnds:o,eJoinOrs:i}=this;this.removeComponents(a,e,t),this.removeElements(n,e,t),this.removeEValues(e,t);const s=Math.max(e-1,0);this.removeElements(r,s,t),this.removeComponents(o,s,t),this.removeComponents(i,s,t)}removeElements(e,t,a){const n=us(e,t,a);for(const r of n)ue(r)}removeComponents(e,t,a){const n=us(e,t,a);for(const r of n)ue(r.getGui()),this.destroyBean(r)}afterGuiAttached(e){if(super.afterGuiAttached(e),this.resetPlaceholder(),!e?.suppressFocus){let t;if(!this.isReadOnly()){const a=this.getInputs(0)[0];a instanceof cn&&this.isConditionBodyVisible(0)?t=a.getInputElement():t=this.eTypes[0]?.getFocusableElement()}(t??this.getGui()).focus({preventScroll:!0})}}shouldKeepInvalidInputState(){return!1}afterGuiDetached(){super.afterGuiDetached();const e=this.params;if(this.beans.colFilter?.shouldKeepStateOnDetach(e.column)||this.shouldKeepInvalidInputState())return;e.onStateChange({model:e.model});let t=-1,a=-1,n=!1;const r=this.getJoinOperator();for(let i=this.getNumConditions()-1;i>=0;i--)if(this.isConditionUiComplete(i))t===-1&&(t=i,a=i);else{const s=i>=this.numAlwaysVisibleConditions&&!this.isConditionUiComplete(i-1),l=i{if(!(n instanceof cn))return;const s=r===0&&i>1?"inRangeStart":r===0?"filterOoo":"inRangeEnd",l=r===0&&i>1?e("ariaFilterFromValue","Filter from value"):r===0?e("ariaFilterValue","Filter Value"):e("ariaFilterToValue","Filter to Value"),c=a[o].getValue(),d=yv(this,t,s,c);n.setInputPlaceholder(d),n.setInputAriaLabel(l)})}setElementValue(e,t,a){e instanceof cn&&e.setValue(t!=null?String(t):null,!0)}setElementDisplayed(e,t){lo(e)&&G(e.getGui(),t)}setElementDisabled(e,t){lo(e)&&wn(e.getGui(),t)}attachElementOnChange(e,t){e instanceof cn&&e.onValueChange(t)}forEachInput(e){this.getConditionTypes().forEach((t,a)=>{this.forEachPositionTypeInput(a,t,e)})}forEachPositionInput(e,t){const a=this.getConditionType(e);this.forEachPositionTypeInput(e,a,t)}forEachPositionTypeInput(e,t,a){const n=Kn(t,this.optionsFactory),r=this.getInputs(e);for(let o=0;ot+1}isConditionBodyVisible(e){const t=this.getConditionType(e);return Kn(t,this.optionsFactory)>0}isConditionUiComplete(e){return!(e>=this.getNumConditions()||this.getConditionType(e)==="empty"||this.getValues(e).some(a=>a==null)||this.positionHasInvalidInputs(e))}getNumConditions(){return this.eTypes.length}getUiCompleteConditions(){const e=[];for(let t=0;tthis.resetType(t)),this.eJoinAnds.forEach((t,a)=>this.resetJoinOperatorAnd(t,a,this.joinOperatorId+a)),this.eJoinOrs.forEach((t,a)=>this.resetJoinOperatorOr(t,a,this.joinOperatorId+a)),this.joinOperatorId++,this.forEachInput(t=>this.resetInput(t)),this.resetPlaceholder(),this.createMissingConditionsAndOperators(),this.lastUiCompletePosition=null,this.updateUiVisibility(),e||this.params.onUiChange(this.getUiChangeEventParams())}resetType(e){const a=this.getLocaleTextFunc()("ariaFilteringOperator","Filtering operator");e.setValue(this.optionsFactory.defaultOption,!0).setAriaLabel(a).setDisabled(this.isReadOnly()||this.filterListOptions.length<=1)}resetJoinOperatorAnd(e,t,a){this.resetJoinOperator(e,t,this.defaultJoinOperator==="AND",this.translate("andCondition"),a)}resetJoinOperatorOr(e,t,a){this.resetJoinOperator(e,t,this.defaultJoinOperator==="OR",this.translate("orCondition"),a)}resetJoinOperator(e,t,a,n,r){this.updateJoinOperatorDisabled(e.setValue(a,!0).setName(`ag-simple-filter-and-or-${this.getCompId()}-${r}`).setLabel(n),t)}updateJoinOperatorsDisabled(){const e=(t,a)=>this.updateJoinOperatorDisabled(t,a);this.eJoinAnds.forEach(e),this.eJoinOrs.forEach(e)}updateJoinOperatorDisabled(e,t){e.setDisabled(this.isReadOnly()||t>0)}resetInput(e){this.setElementValue(e,null),this.setElementDisabled(e,this.isReadOnly())}setConditionIntoUi(e,t){const a=this.mapValuesFromModel(e,this.optionsFactory);this.forEachInput((n,r,o)=>{o===t&&this.setElementValue(n,a[r]!=null?a[r]:null)})}setValueFromFloatingFilter(e){this.forEachInput((t,a,n)=>{this.setElementValue(t,a===0&&n===0?e:null,!0)})}addChangedListeners(e,t){this.isReadOnly()||(e.onValueChange(this.listener),this.forEachPositionInput(t,a=>{this.attachElementOnChange(a,this.listener)}))}hasInvalidInputs(){return!1}positionHasInvalidInputs(e){return!1}isReadOnly(){return!!this.params.readOnly}},Fh=["equals","notEqual","greaterThan","greaterThanOrEqual","lessThan","lessThanOrEqual","inRange","blank","notBlank"];function Mh(e){return e?.allowedCharPattern??null}function iy(e,t){const{filter:a,filterTo:n,type:r}=e||{};return[et(a),et(n)].slice(0,Kn(r,t))}var c6=class extends Rc{constructor(){super("bigintFilter",iy,Fh),this.eValuesFrom=[],this.eValuesTo=[],this.filterType="bigint",this.defaultDebounceMs=500}afterGuiAttached(e){super.afterGuiAttached(e),this.refreshInputValidation()}shouldKeepInvalidInputState(){return!Tn()&&this.hasInvalidInputs()&&this.getConditionTypes().includes("inRange")}refreshInputValidation(){for(let e=0;e0&&this.beans.ariaAnnounce.announceValue(g,"dateFilter")}getState(){return{isInvalid:this.hasInvalidInputs()}}areStatesEqual(e,t){return(e?.isInvalid??!1)===(t?.isInvalid??!1)}refresh(e){const t=super.refresh(e),{state:a,additionalEventAttributes:n}=e,r=this.state,o=n?.fromAction;return(o&&o!="apply"||a.model!==r.model||!this.areStatesEqual(a.state,r.state))&&this.refreshInputValidation(),t}setElementValue(e,t,a){super.setElementValue(e,t,a),t===null&&e.setCustomValidity("")}createEValue(){const{params:e,eValuesFrom:t,eValuesTo:a}=this,n=Mh(e),r=re({tag:"div",cls:"ag-filter-body",role:"presentation"}),o=this.createFromToElement(r,t,"from",n),i=this.createFromToElement(r,a,"to",n),s=(d,u,g)=>()=>this.refreshInputPairValidation(d,u,g),l=s(o,i,!0);o.onValueChange(l),o.addGuiEventListener("focusin",l);const c=s(o,i,!1);return i.onValueChange(c),i.addGuiEventListener("focusin",c),r}createFromToElement(e,t,a,n){const r=this.createManagedBean(n?new ct({allowedCharPattern:n}):new ct);return r.addCss(`ag-filter-${a}`),r.addCss("ag-filter-filter"),t.push(r),e.appendChild(r.getGui()),r}removeEValues(e,t){const a=n=>this.removeComponents(n,e,t);a(this.eValuesFrom),a(this.eValuesTo)}getValues(e){const t=[];return this.forEachPositionInput(e,(a,n,r,o)=>{n0&&(a.filter=String(n[0])),n.length>1&&(a.filterTo=String(n[1])),a}removeConditionsAndOperators(e,t){if(!this.hasInvalidInputs())return super.removeConditionsAndOperators(e,t)}getInputs(e){const{eValuesFrom:t,eValuesTo:a}=this;return e>=t.length?[null,null]:[t[e],a[e]]}hasInvalidInputs(){let e=!1;return this.forEachInput(t=>e||(e=!t.getInputElement().validity.valid)),e}positionHasInvalidInputs(e){let t=!1;return this.forEachPositionInput(e,a=>t||(t=!a.getInputElement().validity.valid)),t}canApply(e){return!this.hasInvalidInputs()}getParsedValue(e,t){const a=e.getValue();return a==null||typeof a=="string"&&a.trim()===""?null:t?t(a):et(a)}isInvalidValue(e,t){const a=e.getValue();return a!=null&&String(a).trim()!==""&&t===null}};function d6(e,t,a){return e!=null&&t!=null&&e>=t?`strict${a?"Max":"Min"}ValueValidation`:null}var sy=class extends F{constructor(e,t){super(),this.mapValuesFromModel=e,this.defaultOptions=t}init(e){const t=e.filterParams,a=new Rh;this.optionsFactory=a,a.init(t,this.defaultOptions),this.filterModelFormatter=this.createManagedBean(new this.FilterModelFormatterClass(a,t)),this.updateParams(e),this.validateModel(e)}refresh(e){if(e.source==="colDef"){const t=e.filterParams,a=this.optionsFactory;a.refresh(t,this.defaultOptions),this.filterModelFormatter.updateParams({optionsFactory:a,filterParams:t}),this.updateParams(e)}this.validateModel(e)}updateParams(e){this.params=e}doesFilterPass(e){const t=e.model;if(t==null)return!0;const{operator:a}=t,n=[];if(a){const i=t;n.push(...i.conditions??[])}else n.push(t);const r=a&&a==="OR"?"some":"every",o=this.params.getValue(e.node);return n[r](i=>this.individualConditionPasses(e,i,o))}getModelAsString(e,t){return this.filterModelFormatter.getModelAsString(e,t)??""}validateModel(e){const{model:t,filterParams:{filterOptions:a,maxNumConditions:n}}=e;if(t==null)return;let o=Cu(t)?t.conditions:[t];const i=a?.map(d=>typeof d=="string"?d:d.displayKey)??this.defaultOptions;if(!(!o||o.every(d=>i.find(u=>u===d.type)!==void 0))){this.params={...e,model:null},e.onModelChange(null);return}let l=!1;const c=this.filterType;if((o&&!o.every(d=>d.filterType===c)||t.filterType!==c)&&(o=o.map(d=>({...d,filterType:c})),l=!0),typeof n=="number"&&o&&o.length>n&&(o=o.slice(0,n),l=!0),l){const d=o.length>1?{...t,filterType:c,conditions:o}:{...o[0],filterType:c};this.params={...e,model:d},e.onModelChange(d)}}individualConditionPasses(e,t,a){const n=this.optionsFactory,r=this.mapValuesFromModel(t,n),o=n.getCustomOption(t.type),i=i6(o,r,a);return i??(a==null?this.evaluateNullValue(t.type):this.evaluateNonNullValue(r,a,t,e))}},Eh=class extends sy{evaluateNullValue(e){const{includeBlanksInEquals:t,includeBlanksInNotEqual:a,includeBlanksInGreaterThan:n,includeBlanksInLessThan:r,includeBlanksInRange:o}=this.params.filterParams;switch(e){case"equals":if(t)return!0;break;case"notEqual":if(a)return!0;break;case"greaterThan":case"greaterThanOrEqual":if(n)return!0;break;case"lessThan":case"lessThanOrEqual":if(r)return!0;break;case"inRange":if(o)return!0;break;case"blank":return!0;case"notBlank":return!1}return!1}evaluateNonNullValue(e,t,a){const n=a.type;if(!this.isValid(t))return n==="notEqual"||n==="notBlank";const r=this.comparator(),o=e[0]!=null?r(e[0],t):0;switch(n){case"equals":return o===0;case"notEqual":return o!==0;case"greaterThan":return o>0;case"greaterThanOrEqual":return o>=0;case"lessThan":return o<0;case"lessThanOrEqual":return o<=0;case"inRange":{const i=r(e[1],t);return this.params.filterParams.inRangeInclusive?o>=0&&i<=0:o>0&&i<0}case"blank":return kc(t);case"notBlank":return!kc(t);default:return R(76,{filterModelType:n}),!0}}},Ph={equals:"Equals",notEqual:"NotEqual",greaterThan:"GreaterThan",greaterThanOrEqual:"GreaterThanOrEqual",lessThan:"LessThan",lessThanOrEqual:"LessThanOrEqual",inRange:"InRange"},u6={contains:"Contains",notContains:"NotContains",equals:"TextEquals",notEqual:"TextNotEqual",startsWith:"StartsWith",endsWith:"EndsWith",inRange:"InRange"},Fc=class extends F{constructor(e,t,a){super(),this.optionsFactory=e,this.filterParams=t,this.valueFormatter=a}getModelAsString(e,t){const a=this.getLocaleTextFunc(),n=t==="filterToolPanel";if(!e)return n?Kt(this,"filterSummaryInactive"):null;if(e.operator!=null){const o=e,s=(o.conditions??[]).map(c=>this.getModelAsString(c,t)),l=o.operator==="AND"?"andCondition":"orCondition";return s.join(` ${Kt(this,l)} `)}else{if(e.type==="blank"||e.type==="notBlank")return n?Kt(this,e.type==="blank"?"filterSummaryBlank":"filterSummaryNotBlank"):a(e.type,e.type);{const o=e,i=this.optionsFactory.getCustomOption(o.type),{displayKey:s,displayName:l,numberOfInputs:c}=i||{};return s&&l&&c===0?a(s,l):this.conditionToString(o,n,o.type==="inRange"||c===2,s,l)}}}updateParams(e){const{optionsFactory:t,filterParams:a}=e;this.optionsFactory=t,this.filterParams=a}conditionForToolPanel(e,t,a,n,r,o){let i;const s=this.getTypeKey(e);return s&&(i=Kt(this,s)),r&&o&&(i=this.getLocaleTextFunc()(r,o)),i!=null?t?`${i} ${Kt(this,"filterSummaryInRangeValues",[a(),n()])}`:`${i} ${a()}`:null}getTypeKey(e){const t=this.filterTypeKeys[e];return t?`filterSummary${t}`:null}formatValue(e){const t=this.valueFormatter;return t?t(e??null)??"":String(e)}},ly=class extends Fc{constructor(e,t){super(e,t,t.bigintFormatter),this.filterTypeKeys=Ph}conditionToString(e,t,a,n,r){const{filter:o,filterTo:i,type:s}=e,l=this.formatValue.bind(this),c=et(o),d=et(i);if(t){const u=this.conditionForToolPanel(s,a,()=>l(c),()=>l(d),n,r);if(u!=null)return u}return a?`${l(c)}-${l(d)}`:o!=null?l(c):`${s}`}},g6=class extends Eh{constructor(){super(iy,Fh),this.filterType="bigint",this.FilterModelFormatterClass=ly}comparator(){return(e,t)=>e===t?0:e{}}setupGui(e){this.eInput=this.createManagedBean(new ct(this.params?.config));const t=this.eInput.getGui();e.appendChild(t);const a=n=>this.onValueChanged(n);this.addManagedListeners(t,{input:a,keydown:a})}setEditable(e){this.eInput.setDisabled(!e)}getValue(){return this.eInput.getValue()}setValue(e,t){this.eInput.setValue(e,t)}setValueChangedListener(e){this.onValueChanged=e}setParams({ariaLabel:e,autoComplete:t,placeholder:a}){const{eInput:n}=this;n.setInputAriaLabel(e),t!==void 0&&n.setAutoComplete(t),n.toggleCss("ag-floating-filter-search-icon",!!a),n.setInputPlaceholder(a)}};function Th(e){const t=e?.trim();return t===""?e:t}function cy(e,t){const{filter:a,filterTo:n,type:r}=e||{};return[a||null,n||null].slice(0,Kn(r,t))}var dy=class extends T{constructor(){super(...arguments),this.defaultDebounceMs=0}setLastTypeFromModel(e){if(!e){this.lastType=this.optionsFactory.defaultOption;return}const t=e.operator;let a;t?a=e.conditions[0]:a=e,this.lastType=a.type}canWeEditAfterModelFromParentFilter(e){if(!e)return this.isTypeEditable(this.lastType);if(e.operator)return!1;const a=e;return this.isTypeEditable(a.type)}init(e){this.params=e;const t=this.gos.get("enableFilterHandlers");if(this.reactive=t,this.setParams(e),t){const a=e;this.onModelUpdated(a.model)}}setParams(e){const t=new Rh;this.optionsFactory=t,t.init(e.filterParams,this.defaultOptions),this.filterModelFormatter=this.createManagedBean(new this.FilterModelFormatterClass(t,e.filterParams)),this.setSimpleParams(e,!1)}setSimpleParams(e,t=!0){const a=this.optionsFactory.defaultOption;t||(this.lastType=a),this.readOnly=!!e.filterParams.readOnly;const n=this.isTypeEditable(a);this.setEditable(n)}refresh(e){this.params=e;const t=e,a=this.reactive;if((!a||t.source==="colDef")&&this.updateParams(e),a){const{source:n,model:r}=t;if(n==="dataChanged"||n==="ui")return;this.onModelUpdated(r)}}updateParams(e){const t=this.optionsFactory;t.refresh(e.filterParams,this.defaultOptions),this.setSimpleParams(e),this.filterModelFormatter.updateParams({optionsFactory:t,filterParams:e.filterParams})}onParentModelChanged(e,t){t?.afterFloatingFilter||t?.afterDataChange||this.onModelUpdated(e)}isTypeEditable(e){return!!e&&!this.readOnly&&Kn(e,this.optionsFactory)===1}getAriaLabel(e){return`${this.beans.colNames.getDisplayNameForColumn(e,"header",!0)} ${this.getLocaleTextFunc()("ariaFilterInput","Filter Input")}`}},h6={tag:"div",ref:"eFloatingFilterInputContainer",cls:"ag-floating-filter-input",role:"presentation"},Dh=class extends dy{constructor(){super(...arguments),this.eFloatingFilterInputContainer=x,this.defaultDebounceMs=500}postConstruct(){this.setTemplate(h6)}onModelUpdated(e){this.setLastTypeFromModel(e),this.setEditable(this.canWeEditAfterModelFromParentFilter(e)),this.inputSvc.setValue(this.filterModelFormatter.getModelAsString(e))}setParams(e){this.setupFloatingFilterInputService(e),super.setParams(e),this.setTextInputParams(e)}setupFloatingFilterInputService(e){this.inputSvc=this.createFloatingFilterInputService(e),this.inputSvc.setupGui(this.eFloatingFilterInputContainer)}setTextInputParams(e){const{inputSvc:t,defaultDebounceMs:a,readOnly:n}=this,{filterPlaceholder:r,column:o,browserAutoComplete:i,filterParams:s}=e,l=this.lastType??this.optionsFactory.defaultOption,c=e.filterParams.filterPlaceholder,d=r===!0?yv(this,c,"filterOoo",l):r||void 0;if(t.setParams({ariaLabel:this.getAriaLabel(o),autoComplete:i??!1,placeholder:d}),this.applyActive=co(s),!n){const u=Du(s,a);t.setValueChangedListener(ve(this,this.syncUpWithParentFilter.bind(this),u))}}updateParams(e){super.updateParams(e),this.setTextInputParams(e)}recreateFloatingFilterInputService(e){const{inputSvc:t}=this,a=t.getValue();ee(this.eFloatingFilterInputContainer),this.destroyBean(t),this.setupFloatingFilterInputService(e),t.setValue(a,!0)}syncUpWithParentFilter(e){const t=e.key===w.ENTER,a=this.reactive;if(a&&this.params.onUiChange(),this.applyActive&&!t)return;const{inputSvc:n,params:r,lastType:o}=this;let i=n.getValue();if(r.filterParams.trimInput&&(i=Th(i),n.setValue(i,!0)),a){const s=r,l=s.model,c=this.convertValue(i),d=c==null?null:{...l??{filterType:this.filterType,type:o??this.optionsFactory.defaultOption},filter:c};s.onModelChange(d,{afterFloatingFilter:!0})}else r.parentFilterInstance(s=>{s?.onFloatingFilterChanged(o||null,i||null)})}convertValue(e){return e||null}setEditable(e){this.inputSvc.setEditable(e)}},p6=class extends Dh{constructor(){super(...arguments),this.FilterModelFormatterClass=ly,this.filterType="bigint",this.defaultOptions=Fh}updateParams(e){const t=e.filterParams;Mh(t)!==this.allowedCharPattern&&this.recreateFloatingFilterInputService(e),this.bigintParser=t?.bigintParser,super.updateParams(e)}createFloatingFilterInputService(e){const t=e.filterParams;this.allowedCharPattern=Mh(t),this.bigintParser=t?.bigintParser;const a=this.allowedCharPattern?{allowedCharPattern:this.allowedCharPattern}:void 0;return this.createManagedBean(new Ah({config:a}))}convertValue(e){return e==null||e===""?null:this.bigintParser?this.bigintParser(e):et(e)}},uy=".ag-input-field-input",gy=class{constructor(e,t,a,n,r,o){this.context=e,this.eParent=r,this.alive=!0,this.debouncedReport=ve({isAlive:()=>this.alive},hy,500),this.timeoutHandle=null,GF(t,a,n)?.newAgStackInstance().then(s=>{if(!this.alive){e.destroyBean(s);return}if(this.dateComp=s,!s)return;r.appendChild(s.getGui()),s?.afterGuiAttached?.();const{tempValue:l,disabled:c}=this;l&&s.setDate(l),c!=null&&s.setDisabled?.(c),o?.(this)})}destroy(){this.alive=!1,this.dateComp=this.context.destroyBean(this.dateComp)}getDate(){return this.dateComp?this.dateComp.getDate():this.tempValue}setDate(e){const t=this.dateComp;t?t.setDate(e):this.tempValue=e}setDisabled(e){const t=this.dateComp;t?t.setDisabled?.(e):this.disabled=e}setDisplayed(e){G(this.eParent,e)}setInputPlaceholder(e){this.dateComp?.setInputPlaceholder?.(e)}setInputAriaLabel(e){this.dateComp?.setInputAriaLabel?.(e)}afterGuiAttached(e){this.dateComp?.afterGuiAttached?.(e)}updateParams(e){this.dateComp?.refresh?.(e)}setCustomValidity(e,t=!1){const a=this.dateComp?.getGui().querySelector(uy);if(a&&"setCustomValidity"in a){const n=e.length>0;a.setCustomValidity(e),n?t?this.timeoutHandle=this.debouncedReport(a):hy(a):this.timeoutHandle&&window.clearTimeout(this.timeoutHandle),Ws(a,n)}}getValidity(){return this.dateComp?.getGui().querySelector(uy)?.validity}};function hy(e){e.reportValidity()}var Ih=["equals","notEqual","lessThan","greaterThan","inRange","blank","notBlank"];function py(e,t){const{dateFrom:a,dateTo:n,type:r}=e||{};return[a&&qe(a,void 0,!0)||null,n&&qe(n,void 0,!0)||null].slice(0,Kn(r,t))}var fy=1e3,my=1/0,f6=class extends Rc{constructor(){super("dateFilter",py,Ih),this.eConditionPanelsFrom=[],this.eConditionPanelsTo=[],this.dateConditionFromComps=[],this.dateConditionToComps=[],this.minValidYear=fy,this.maxValidYear=my,this.minValidDate=null,this.maxValidDate=null,this.filterType="date"}afterGuiAttached(e){super.afterGuiAttached(e),this.dateConditionFromComps[0].afterGuiAttached(e),this.refreshInputValidation()}shouldKeepInvalidInputState(){return!Tn()&&this.hasInvalidInputs()&&this.getConditionTypes().includes("inRange")}commonUpdateSimpleParams(e){super.commonUpdateSimpleParams(e);const t=(l,c)=>{const d=e[l];if(d!=null)if(isNaN(d))R(82,{param:l});else return d==null?c:Number(d);return c},a=t("minValidYear",fy),n=t("maxValidYear",my);this.minValidYear=a,this.maxValidYear=n,a>n&&R(83);const{minValidDate:r,maxValidDate:o}=e,i=r instanceof Date?r:qe(r);this.minValidDate=i;const s=o instanceof Date?o:qe(o);this.maxValidDate=s,i&&s&&i>s&&R(84)}refreshInputValidation(){for(let e=0;e=2?m6(c,d,t):null,g=u?this.translate(u,[String(t?d:c)]):"",h=!Tn()&&!a;(t?i:s).setCustomValidity(g,h),(t?s:i).setCustomValidity("",h),g.length>0&&o.ariaAnnounce.announceValue(g,"dateFilter")}createDateCompWrapper(e,t,a){const{beans:{userCompFactory:n,context:r,gos:o},params:i}=this,s=a==="from",l=new gy(r,n,i.colDef,B(o,{onDateChanged:()=>{this.refreshInputPairValidation(t,s),this.onUiChanged()},onFocusIn:()=>this.refreshInputPairValidation(t,s),filterParams:i,location:"filter"}),e);return this.addDestroyFunc(()=>l.destroy()),l}getState(){return{isInvalid:this.hasInvalidInputs()}}areStatesEqual(e,t){return(e?.isInvalid??!1)===(t?.isInvalid??!1)}setElementValue(e,t){e.setDate(t),t||e.setCustomValidity("")}setElementDisplayed(e,t){e.setDisplayed(t)}setElementDisabled(e,t){e.setDisabled(t)}createEValue(){const e=re({tag:"div",cls:"ag-filter-body"});return this.createFromToElement(e,this.eConditionPanelsFrom,this.dateConditionFromComps,"from"),this.createFromToElement(e,this.eConditionPanelsTo,this.dateConditionToComps,"to"),e}createFromToElement(e,t,a,n){const r=re({tag:"div",cls:`ag-filter-${n} ag-filter-date-${n}`});t.push(r),e.appendChild(r),a.push(this.createDateCompWrapper(r,t.length-1,n))}removeEValues(e,t){this.removeDateComps(this.dateConditionFromComps,e,t),this.removeDateComps(this.dateConditionToComps,e,t),us(this.eConditionPanelsFrom,e,t),us(this.eConditionPanelsTo,e,t)}removeDateComps(e,t,a){const n=us(e,t,a);for(const r of n)r.destroy()}isValidDateValue(e){if(e===null)return!1;const{minValidDate:t,maxValidDate:a,minValidYear:n,maxValidYear:r}=this;if(t){if(ea)return!1}else if(e.getUTCFullYear()>r)return!1;return!0}hasInvalidInputs(){let e=!1;return this.forEachInput(t=>e||(e=t.getDate()!=null&&!(t.getValidity()?.valid??!0))),e}positionHasInvalidInputs(e){let t=!1;return this.forEachPositionInput(e,a=>t||(t=!(a.getValidity()?.valid??!0))),t}canApply(e){return!this.hasInvalidInputs()}isConditionUiComplete(e){if(!super.isConditionUiComplete(e))return!1;let t=!0;return this.forEachPositionInput(e,(a,n,r,o)=>{!t||n>=o||t&&(t=this.isValidDateValue(a.getDate()))}),t}areSimpleModelsEqual(e,t){return e.dateFrom===t.dateFrom&&e.dateTo===t.dateTo&&e.type===t.type}createCondition(e){const t=this.getConditionType(e),a={},{params:n,filterType:r}=this,o=this.getValues(e),i=n.useIsoSeparator?"T":" ";return o.length>0&&(a.dateFrom=tt(o[0],!0,i)),o.length>1&&(a.dateTo=tt(o[1],!0,i)),{dateFrom:null,dateTo:null,filterType:r,type:t,...a}}removeConditionsAndOperators(e,t){if(!this.hasInvalidInputs())return super.removeConditionsAndOperators(e,t)}resetPlaceholder(){const e=this.getLocaleTextFunc(),t=this.translate("dateFormatOoo"),a=e("ariaFilterValue","Filter Value");this.forEachInput(n=>{n.setInputPlaceholder(t),n.setInputAriaLabel(a)})}getInputs(e){const{dateConditionFromComps:t,dateConditionToComps:a}=this;return e>=t.length?[null,null]:[t[e],a[e]]}getValues(e){const t=[];return this.forEachPositionInput(e,(a,n,r,o)=>{n=t?`${a?"max":"min"}DateValidation`:null}var vy=class extends Fc{constructor(e,t){super(e,t,a=>{const{dataTypeSvc:n,valueSvc:r}=this.beans,o=t.column,i=n?.getDateFormatterFunction(o),s=i?i(a??void 0):a;return r.formatValue(o,null,s)}),this.filterTypeKeys=Ph}conditionToString(e,t,a,n,r){const{type:o}=e,i=qe(e.dateFrom),s=qe(e.dateTo),l=this.filterParams.inRangeFloatingFilterDateFormat,c=t?this.formatValue.bind(this):g=>kP(g,l),d=()=>i!==null?c(i):"null",u=()=>s!==null?c(s):"null";if(i==null&&s==null)return Kt(this,o);if(t){const g=this.conditionForToolPanel(o,a,d,u,n,r);if(g!=null)return g}return a?`${d()}-${u()}`:i!=null?c(i):`${o}`}};function v6(e,t){const a=t;return ae?1:0}var C6=class extends Eh{constructor(){super(py,Ih),this.filterType="date",this.FilterModelFormatterClass=vy,this.filterTypeToRangeCache=new Map}getOrRefreshRangeCacheItem(e,t){const{filterTypeToRangeCache:a}=this,n=Date.now();let r=a.get(e);if(r&&r.expires=0&&r(l,t)<0}return super.evaluateNonNullValue(e,t,a)}},b6=1,Mc=null,w6=()=>{if(Mc!=null)return Mc;let e;const t=typeof navigator>"u"?void 0:navigator.languages?.[0]??navigator.language;if(t&&typeof Intl<"u"&&typeof Intl.Locale=="function")try{e=new Intl.Locale(t).getWeekInfo?.()?.firstDay}catch{e=void 0}return Mc=e==null?b6:e%7,Mc},Xt=e=>(e.setHours(0,0,0,0),e),Ec=e=>{const t=e.getDay(),a=w6(),n=(t-a+7)%7;return e.setDate(e.getDate()-n),Xt(e)},Pc=(e,t=1)=>(e.setDate(e.getDate()-t),e),ga=e=>(e.setDate(e.getDate()+1),Xt(e)),Cy=e=>(Ec(e),e.setDate(e.getDate()+6),ga(e)),Ac=e=>(e.setDate(1),Xt(e)),Lh=e=>(e.setDate(1),e.setMonth(e.getMonth()+1),Xt(e)),zh=e=>{const t=Math.floor(e.getMonth()/3);return e.setMonth(t*3),Ac(e)},by=e=>{const t=Math.floor(e.getMonth()/3);return e.setMonth(t*3+2),Lh(e)},Oh=e=>(e.setMonth(0,1),Xt(e)),wy=e=>(e.setMonth(12,0),ga(e)),To=e=>Pc(e),Gh=e=>To(Ec(e)),Vh=e=>To(Ac(e)),Bh=e=>To(zh(e)),Nh=(e,t)=>[Xt(e),ga(t)],y6=(e,t)=>Nh(To(e),To(t)),Hh=(e,t)=>[Ec(e),Cy(t)],S6=(e,t)=>Hh(Gh(e),Gh(t)),qh=(e,t)=>[Ac(e),Lh(t)],x6=(e,t)=>qh(Vh(e),Vh(t)),Wh=(e,t)=>[zh(e),by(t)],k6=(e,t)=>Wh(Bh(e),Bh(t)),Uh=(e,t)=>[Oh(e),wy(t)],R6=(e,t)=>[Oh(e),ga(t)],F6=(e,t)=>[Xt(Pc(e,7)),ga(t)],M6=(e,t)=>[Xt(Pc(e,30)),ga(t)],E6=(e,t)=>[Xt(Pc(e,90)),ga(t)],P6=(e,t)=>(e.setFullYear(e.getFullYear()-1),e.setMonth(e.getMonth()+6),[Xt(e),ga(t)]),A6=(e,t)=>(e.setFullYear(e.getFullYear()-1),[Xt(e),ga(t)]),T6=(e,t)=>(e.setFullYear(e.getFullYear()-2),[Xt(e),ga(t)]),D6=(e,t)=>(e.setFullYear(e.getFullYear()-1),t.setFullYear(t.getFullYear()-1),Uh(e,t)),I6=(e,t)=>(e.setFullYear(e.getFullYear()+1),t.setFullYear(t.getFullYear()+1),Uh(e,t)),L6=(e,t)=>(e.setMonth(e.getMonth()+3),t.setMonth(t.getMonth()+3),Wh(e,t)),z6=(e,t)=>(e.setMonth(e.getMonth()+1),t.setMonth(t.getMonth()+1),qh(e,t)),O6=(e,t)=>(e.setDate(e.getDate()+7),t.setDate(t.getDate()+7),Hh(e,t)),G6=(e,t)=>(e.setDate(e.getDate()+1),t.setDate(t.getDate()+1),Nh(e,t)),V6={today:Nh,yesterday:y6,tomorrow:G6,thisWeek:Hh,lastWeek:S6,nextWeek:O6,thisMonth:qh,lastMonth:x6,nextMonth:z6,thisQuarter:Wh,lastQuarter:k6,nextQuarter:L6,thisYear:Uh,lastYear:D6,nextYear:I6,yearToDate:R6,last7Days:F6,last30Days:M6,last90Days:E6,last6Months:P6,last12Months:A6,last24Months:T6,setStartOfDay:Xt,setStartOfWeek:Ec,setStartOfNextDay:ga,setStartOfNextWeek:Cy,setStartOfMonth:Ac,setStartOfNextMonth:Lh,setStartOfQuarter:zh,setStartOfNextQuarter:by,setStartOfYear:Oh,setStartOfNextYear:wy,setPreviousDay:To,setPreviousWeek:Gh,setPreviousMonth:Vh,setPreviousQuarter:Bh},B6={tag:"div",cls:"ag-floating-filter-input",role:"presentation",children:[{tag:"ag-input-text-field",ref:"eReadOnlyText"},{tag:"div",ref:"eDateWrapper",cls:"ag-date-floating-filter-wrapper"}]},N6=class extends dy{constructor(){super(B6,[Gt]),this.eReadOnlyText=x,this.eDateWrapper=x,this.FilterModelFormatterClass=vy,this.filterType="date",this.defaultOptions=Ih}setParams(e){super.setParams(e),this.createDateComponent();const t=this.getLocaleTextFunc();this.eReadOnlyText.setDisabled(!0).setInputAriaLabel(t("ariaDateFilterInput","Date Filter Input"))}updateParams(e){super.updateParams(e),this.dateComp.updateParams(this.getDateComponentParams()),this.updateCompOnModelChange(e.currentParentModel())}updateCompOnModelChange(e){const t=!this.readOnly&&this.canWeEditAfterModelFromParentFilter(e);if(this.setEditable(t),t){const a=e?qe(e.dateFrom):null;this.dateComp.setDate(a),this.eReadOnlyText.setValue("")}else this.eReadOnlyText.setValue(this.filterModelFormatter.getModelAsString(e)),this.dateComp.setDate(null)}setEditable(e){G(this.eDateWrapper,e),G(this.eReadOnlyText.getGui(),!e)}onModelUpdated(e){super.setLastTypeFromModel(e),this.updateCompOnModelChange(e)}onDateChanged(){const e=this.dateComp.getDate();if(this.reactive){const t=this.params;t.onUiChange();const a=t.model,n=tt(e),r=n==null?null:{...a??{filterType:this.filterType,type:this.lastType??this.optionsFactory.defaultOption},dateFrom:n};t.onModelChange(r,{afterFloatingFilter:!0})}else this.params.parentFilterInstance(t=>{t?.onFloatingFilterChanged(this.lastType||null,e)})}getDateComponentParams(){const{filterParams:e}=this.params,t=Du(e,this.defaultDebounceMs);return B(this.gos,{onDateChanged:ve(this,this.onDateChanged.bind(this),t),filterParams:e,location:"floatingFilter"})}createDateComponent(){const{beans:{context:e,userCompFactory:t},eDateWrapper:a,params:{column:n}}=this;this.dateComp=new gy(e,t,n.getColDef(),this.getDateComponentParams(),a,r=>{r.setInputAriaLabel(this.getAriaLabel(n))}),this.addDestroyFunc(()=>this.dateComp.destroy())}},H6={tag:"div",cls:"ag-filter-filter",children:[{tag:"ag-input-text-field",ref:"eDateInput",cls:"ag-date-filter"}]},q6=class extends T{constructor(){super(H6,[Gt]),this.eDateInput=x,this.isApply=!1,this.applyOnFocusOut=!1}init(e){this.params=e,this.setParams(e);const t=this.eDateInput.getInputElement();this.addManagedListeners(t,{mouseDown:()=>{this.eDateInput.isDisabled()||this.usingSafariDatePicker||t.focus({preventScroll:!0})},input:this.handleInput.bind(this,!1),change:this.handleInput.bind(this,!0),focusout:this.handleFocusOut.bind(this),focusin:this.handleFocusIn.bind(this)})}handleInput(e){if(!this.eDateInput.isDisabled()){if(this.isApply){this.applyOnFocusOut=!e,e&&this.params.onDateChanged();return}e||this.params.onDateChanged()}}handleFocusOut(){this.applyOnFocusOut&&(this.applyOnFocusOut=!1,this.params.onDateChanged())}handleFocusIn(){this.params.onFocusIn?.()}setParams(e){const t=this.eDateInput.getInputElement(),a=this.shouldUseBrowserDatePicker(e);this.usingSafariDatePicker=a&&ya();const{minValidYear:n,maxValidYear:r,minValidDate:o,maxValidDate:i,buttons:s,includeTime:l,colDef:c}=e.filterParams||{},d=this.beans.dataTypeSvc,u=l??d?.getDateIncludesTimeFlag?.(c.cellDataType)??!1;a?u?(t.type="datetime-local",t.step="1"):t.type="date":t.type="text";const g=yy(o,n,!0),h=yy(i,r,!1);g&&h&&g.getTime()>h.getTime()&&R(87),g&&(t.min=tt(g,u)),h&&(t.max=tt(h,u)),this.isApply=e.location==="floatingFilter"&&!!s?.includes("apply")}refresh(e){this.params=e,this.setParams(e)}getDate(){return qe(this.eDateInput.getValue())}setDate(e){const t=this.params.filterParams.colDef.cellDataType,a=this.beans.dataTypeSvc?.getDateIncludesTimeFlag(t)??!1;this.eDateInput.setValue(tt(e,a))}setInputPlaceholder(e){this.eDateInput.setInputPlaceholder(e)}setInputAriaLabel(e){this.eDateInput.setAriaLabel(e)}setDisabled(e){this.eDateInput.setDisabled(e)}afterGuiAttached(e){e?.suppressFocus||this.eDateInput.getInputElement().focus({preventScroll:!0})}shouldUseBrowserDatePicker(e){return e?.filterParams?.browserDatePicker??!0}};function yy(e,t,a){return e&&t&&R(a?85:86),e instanceof Date?e:e?qe(e):t?qe(`${t}-${a?"01-01":"12-31"}`):null}var jh=["equals","notEqual","greaterThan","greaterThanOrEqual","lessThan","lessThanOrEqual","inRange","blank","notBlank"];function _h(e){return e?.allowedCharPattern??null}function Tc(e){return e==null||isNaN(e)?null:e}function Sy(e,t){const{filter:a,filterTo:n,type:r}=e||{};return[Tc(a),Tc(n)].slice(0,Kn(r,t))}var W6=class extends Rc{constructor(){super("numberFilter",Sy,jh),this.eValuesFrom=[],this.eValuesTo=[],this.filterType="number",this.defaultDebounceMs=500}afterGuiAttached(e){super.afterGuiAttached(e),this.refreshInputValidation()}shouldKeepInvalidInputState(){return!Tn()&&this.hasInvalidInputs()&&this.getConditionTypes().includes("inRange")}refreshInputValidation(){for(let e=0;e0&&this.beans.ariaAnnounce.announceValue(s,"dateFilter")}getState(){return{isInvalid:this.hasInvalidInputs()}}areStatesEqual(e,t){return(e?.isInvalid??!1)===(t?.isInvalid??!1)}refresh(e){const t=super.refresh(e),{state:a,additionalEventAttributes:n}=e,r=this.state,o=n?.fromAction;return(o&&o!="apply"||a.model!==r.model||!this.areStatesEqual(a.state,r.state))&&this.refreshInputValidation(),t}setElementValue(e,t,a){const{numberFormatter:n}=this.params,r=!a&&n?n(t??null):t;super.setElementValue(e,r),r===null&&e.setCustomValidity("")}createEValue(){const{params:e,eValuesFrom:t,eValuesTo:a}=this,n=_h(e),r=re({tag:"div",cls:"ag-filter-body",role:"presentation"}),o=this.createFromToElement(r,t,"from",n),i=this.createFromToElement(r,a,"to",n),s=(d,u,g)=>()=>this.refreshInputPairValidation(d,u,g),l=s(o,i,!0);o.onValueChange(l),o.addGuiEventListener("focusin",l);const c=s(o,i,!1);return i.onValueChange(c),i.addGuiEventListener("focusin",c),r}createFromToElement(e,t,a,n){const r=this.createManagedBean(n?new ct({allowedCharPattern:n}):new ss);return r.addCss(`ag-filter-${a}`),r.addCss("ag-filter-filter"),t.push(r),e.appendChild(r.getGui()),r}removeEValues(e,t){const a=n=>this.removeComponents(n,e,t);a(this.eValuesFrom),a(this.eValuesTo)}getValues(e){const t=[];return this.forEachPositionInput(e,(a,n,r,o)=>{n0&&(a.filter=n[0]),n.length>1&&(a.filterTo=n[1]),a}removeConditionsAndOperators(e,t){if(!this.hasInvalidInputs())return super.removeConditionsAndOperators(e,t)}getInputs(e){const{eValuesFrom:t,eValuesTo:a}=this;return e>=t.length?[null,null]:[t[e],a[e]]}hasInvalidInputs(){let e=!1;return this.forEachInput(t=>e||(e=!t.getInputElement().validity.valid)),e}positionHasInvalidInputs(e){let t=!1;return this.forEachPositionInput(e,a=>t||(t=!a.getInputElement().validity.valid)),t}canApply(e){return!this.hasInvalidInputs()}};function xy(e,t){if(typeof t=="number")return t;let a=Te(t);return a!=null&&a.trim()===""&&(a=null),e?e(a):a==null||a.trim()==="-"?null:Number.parseFloat(a)}function ky(e,t){return Tc(xy(e,t.getValue(!0)))}function U6(e,t,a){return e!=null&&t!=null&&e>=t?`strict${a?"Max":"Min"}ValueValidation`:null}var Ry=class extends Fc{constructor(e,t){super(e,t,t.numberFormatter),this.filterTypeKeys=Ph}conditionToString(e,t,a,n,r){const{filter:o,filterTo:i,type:s}=e,l=this.formatValue.bind(this);if(t){const c=this.conditionForToolPanel(s,a,()=>l(o),()=>l(i),n,r);if(c!=null)return c}return a?`${l(o)}-${l(i)}`:o!=null?l(o):`${s}`}},j6=class extends Eh{constructor(){super(Sy,jh),this.filterType="number",this.FilterModelFormatterClass=Ry}comparator(){return(e,t)=>e===t?0:e{},this.numberInputActive=!0}setupGui(e){this.eNumberInput=this.createManagedBean(new ss),this.eTextInput=this.createManagedBean(new ct),this.eTextInput.setDisabled(!0);const t=this.eNumberInput.getGui(),a=this.eTextInput.getGui();e.appendChild(t),e.appendChild(a),this.setupListeners(t,n=>this.onValueChanged(n)),this.setupListeners(a,n=>this.onValueChanged(n))}setEditable(e){this.numberInputActive=e,this.eNumberInput.setDisplayed(this.numberInputActive),this.eTextInput.setDisplayed(!this.numberInputActive)}setAutoComplete(e){this.eNumberInput.setAutoComplete(e),this.eTextInput.setAutoComplete(e)}getValue(){return this.getActiveInputElement().getValue()}setValue(e,t){this.getActiveInputElement().setValue(e,t)}getActiveInputElement(){return this.numberInputActive?this.eNumberInput:this.eTextInput}setValueChangedListener(e){this.onValueChanged=e}setupListeners(e,t){this.addManagedListeners(e,{input:t,keydown:t})}setParams({ariaLabel:e,autoComplete:t,placeholder:a}){this.setAriaLabel(e),t!==void 0&&this.setAutoComplete(t),this.setPlaceholder(this.eNumberInput,a),this.setPlaceholder(this.eTextInput,a)}setPlaceholder(e,t){e.toggleCss("ag-floating-filter-search-icon",!!t),e.setInputPlaceholder(t)}setAriaLabel(e){this.eNumberInput.setInputAriaLabel(e),this.eTextInput.setInputAriaLabel(e)}},K6=class extends Dh{constructor(){super(...arguments),this.FilterModelFormatterClass=Ry,this.filterType="number",this.defaultOptions=jh}updateParams(e){_h(e.filterParams)!==this.allowedCharPattern&&this.recreateFloatingFilterInputService(e),super.updateParams(e)}createFloatingFilterInputService(e){return this.allowedCharPattern=_h(e.filterParams),this.allowedCharPattern?this.createManagedBean(new Ah({config:{allowedCharPattern:this.allowedCharPattern}})):this.createManagedBean(new _6)}convertValue(e){return e?Number(e):null}},Kh=["contains","notContains","equals","notEqual","startsWith","endsWith","blank","notBlank"],Y6=class extends Rc{constructor(){super("textFilter",cy,Kh),this.filterType="text",this.eValuesFrom=[],this.eValuesTo=[],this.defaultDebounceMs=500}createCondition(e){const t=this.getConditionType(e),a={filterType:this.filterType,type:t},n=this.getValues(e);return n.length>0&&(a.filter=n[0]),n.length>1&&(a.filterTo=n[1]),a}areSimpleModelsEqual(e,t){return e.filter===t.filter&&e.filterTo===t.filterTo&&e.type===t.type}getInputs(e){const{eValuesFrom:t,eValuesTo:a}=this;return e>=t.length?[null,null]:[t[e],a[e]]}getValues(e){const t=[];return this.forEachPositionInput(e,(a,n,r,o)=>{nthis.removeComponents(o,e,t),{eValuesFrom:n,eValuesTo:r}=this;a(n),a(r)}},Fy=class extends Fc{constructor(){super(...arguments),this.filterTypeKeys=u6}conditionToString(e,t,a,n,r){const{filter:o,filterTo:i,type:s}=e;if(t){const l=d=>()=>Kt(this,"filterSummaryTextQuote",[d]),c=this.conditionForToolPanel(s,a,l(o),l(i),n,r);if(c!=null)return c}return a?`${o}-${i}`:o!=null?`${o}`:`${s}`}},Q6=({filterOption:e,value:t,filterText:a})=>{if(a==null)return!1;switch(e){case"contains":return t.includes(a);case"notContains":return!t.includes(a);case"equals":return t===a;case"notEqual":return t!=a;case"startsWith":return t.indexOf(a)===0;case"endsWith":{const n=t.lastIndexOf(a);return n>=0&&n===t.length-a.length}default:return!1}},Z6=e=>e,X6=e=>e==null?null:e.toString().toLowerCase(),J6=class extends sy{constructor(){super(cy,Kh),this.filterType="text",this.FilterModelFormatterClass=Fy}updateParams(e){super.updateParams(e);const t=e.filterParams;this.matcher=t.textMatcher??Q6,this.formatter=t.textFormatter??(t.caseSensitive?Z6:X6)}evaluateNullValue(e){return e?["notEqual","notContains","blank"].indexOf(e)>=0:!1}evaluateNonNullValue(e,t,a,n){const r=e.map(g=>this.formatter(g))||[],o=this.formatter(t),{api:i,colDef:s,column:l,context:c,filterParams:{textFormatter:d}}=this.params;if(a.type==="blank")return kc(t);if(a.type==="notBlank")return!kc(t);const u={api:i,colDef:s,column:l,context:c,node:n.node,data:n.data,filterOption:a.type,value:o,textFormatter:d};return r.some(g=>this.matcher({...u,filterText:g}))}processModelToApply(e){if(e&&this.params.filterParams.trimInput){const t=a=>{const n={...a},{filter:r,filterTo:o}=a;return r&&(n.filter=Th(r)??null),o&&(n.filterTo=Th(o)??null),n};return Cu(e)?{...e,conditions:e.conditions.map(t)}:t(e)}return e}},$6=class extends Dh{constructor(){super(...arguments),this.FilterModelFormatterClass=Fy,this.filterType="text",this.defaultOptions=Kh}createFloatingFilterInputService(){return this.createManagedBean(new Ah)}};function ez(e){return!!e.quickFilter?.isFilterPresent()}function tz(e){return e.quickFilter?.getText()}function az(e){e.quickFilter?.resetCache()}var nz=class extends F{constructor(){super(...arguments),this.beanName="quickFilter",this.quickFilter=null,this.quickFilterParts=null}postConstruct(){const e=this.resetCache.bind(this),t=this.gos;this.addManagedEventListeners({columnPivotModeChanged:e,newColumnsLoaded:e,columnRowGroupChanged:e,columnVisible:()=>{t.get("includeHiddenColumnsInQuickFilter")||this.resetCache()}}),this.addManagedPropertyListener("quickFilterText",a=>this.setFilter(a.currentValue)),this.addManagedPropertyListeners(["includeHiddenColumnsInQuickFilter","applyQuickFilterBeforePivotOrAgg"],()=>this.onColumnConfigChanged()),this.quickFilter=this.parseFilter(t.get("quickFilterText")),this.parser=t.get("quickFilterParser"),this.matcher=t.get("quickFilterMatcher"),this.setFilterParts(),this.addManagedPropertyListeners(["quickFilterMatcher","quickFilterParser"],()=>this.setParserAndMatcher())}refreshCols(){const{autoColSvc:e,colModel:t,gos:a,pivotResultCols:n}=this.beans,r=t.isPivotMode(),o=e?.getColumns(),i=t.getColDefCols();let s=(r&&!a.get("applyQuickFilterBeforePivotOrAgg")?n?.getPivotResultCols()?.list:i)??[];o&&(s=s.concat(o)),this.colsToUse=a.get("includeHiddenColumnsInQuickFilter")?s:s.filter(l=>l.isVisible()||l.isRowGroupActive())}isFilterPresent(){return this.quickFilter!==null}doesRowPass(e){const t=this.gos.get("cacheQuickFilter");return this.matcher?this.doesRowPassMatcher(t,e):this.quickFilterParts.every(a=>t?this.doesRowPassCache(e,a):this.doesRowPassNoCache(e,a))}resetCache(){this.beans.rowModel.forEachNode(e=>e.quickFilterAggregateText=null)}getText(){return this.gos.get("quickFilterText")}setFilterParts(){const{quickFilter:e,parser:t}=this;e?this.quickFilterParts=t?t(e):e.split(" "):this.quickFilterParts=null}parseFilter(e){return A(e)?e.toUpperCase():null}setFilter(e){if(e!=null&&typeof e!="string"){R(70,{newFilter:e});return}const t=this.parseFilter(e);this.quickFilter!==t&&(this.quickFilter=t,this.setFilterParts(),this.dispatchLocalEvent({type:"quickFilterChanged"}))}setParserAndMatcher(){const e=this.gos.get("quickFilterParser"),t=this.gos.get("quickFilterMatcher"),a=e!==this.parser||t!==this.matcher;this.parser=e,this.matcher=t,a&&(this.setFilterParts(),this.dispatchLocalEvent({type:"quickFilterChanged"}))}onColumnConfigChanged(){this.refreshCols(),this.resetCache(),this.isFilterPresent()&&this.dispatchLocalEvent({type:"quickFilterChanged"})}doesRowPassNoCache(e,t){return this.colsToUse.some(a=>{const n=this.getTextForColumn(a,e);return A(n)&&n.includes(t)})}doesRowPassCache(e,t){return this.checkGenerateAggText(e),e.quickFilterAggregateText.includes(t)}doesRowPassMatcher(e,t){let a;e?(this.checkGenerateAggText(t),a=t.quickFilterAggregateText):a=this.getAggText(t);const{quickFilterParts:n,matcher:r}=this;return r(n,a)}checkGenerateAggText(e){e.quickFilterAggregateText||(e.quickFilterAggregateText=this.getAggText(e))}getTextForColumn(e,t){let a=this.beans.filterValueSvc.getValue(e,t);const n=e.getColDef();if(n.getQuickFilterText){const r=B(this.gos,{value:a,node:t,data:t.data,column:e,colDef:n});a=n.getQuickFilterText(r)}return A(a)?a.toString().toUpperCase():null}getAggText(e){const t=[];for(const a of this.colsToUse){const n=this.getTextForColumn(a,e);A(n)&&t.push(n)}return t.join(`
`)}},rz={moduleName:"ClientSideRowModelFilter",version:N,rowModels:["clientSide"],beans:[AI]},gs={moduleName:"FilterCore",version:N,beans:[Z4],apiFunctions:{isAnyFilterPresent:Y4,onFilterChanged:Q4},css:[A4],dependsOn:[rz]},Dc={moduleName:"FilterValue",version:N,beans:[t6]},Ma={moduleName:"ColumnFilter",version:N,beans:[K4,e6],dynamicBeans:{headerFilterCellCtrl:F4},icons:{filter:"filter",filterActive:"filter"},apiFunctions:{isColumnFilterPresent:T4,getColumnFilterInstance:D4,destroyFilter:I4,setFilterModel:L4,getFilterModel:z4,getColumnFilterModel:O4,setColumnFilterModel:G4,showColumnFilter:V4,hideColumnFilter:B4,getColumnFilterHandler:N4,doFilterAction:H4},dependsOn:[gs,ja,Dc,bh]},My={moduleName:"CustomFilter",version:N,userComponents:{agReadOnlyFloatingFilter:n6},dependsOn:[Ma]},Ey={moduleName:"TextFilter",version:N,dependsOn:[Ma],userComponents:{agTextColumnFilter:{classImp:Y6,params:{useForm:!0}},agTextColumnFloatingFilter:$6},dynamicBeans:{agTextColumnFilterHandler:J6}},Py={moduleName:"NumberFilter",version:N,dependsOn:[Ma],userComponents:{agNumberColumnFilter:{classImp:W6,params:{useForm:!0}},agNumberColumnFloatingFilter:K6},dynamicBeans:{agNumberColumnFilterHandler:j6}},Ay={moduleName:"BigIntFilter",version:N,dependsOn:[Ma],userComponents:{agBigIntColumnFilter:{classImp:c6,params:{useForm:!0}},agBigIntColumnFloatingFilter:p6},dynamicBeans:{agBigIntColumnFilterHandler:g6}},Ty={moduleName:"DateFilter",version:N,dependsOn:[Ma],userComponents:{agDateColumnFilter:{classImp:f6,params:{useForm:!0}},agDateInput:q6,agDateColumnFloatingFilter:N6},dynamicBeans:{agDateColumnFilterHandler:C6}},oz={moduleName:"QuickFilterCore",version:N,rowModels:["clientSide"],beans:[nz],dependsOn:[gs,Dc]},Dy={moduleName:"QuickFilter",version:N,apiFunctions:{isQuickFilterPresent:ez,getQuickFilter:tz,resetQuickFilter:az},dependsOn:[oz]},Iy={moduleName:"ExternalFilter",version:N,dependsOn:[gs]},iz=class extends F{constructor(e,t,a){super(),this.id=e,this.parentCache=t,this.params=a,this.state="needsLoading",this.version=0,this.startRow=e*a.blockSize,this.endRow=this.startRow+a.blockSize}load(){this.state="loading",this.loadFromDatasource()}setStateWaitingToLoad(){this.version++,this.state="needsLoading"}pageLoadFailed(e){this.isRequestMostRecentAndLive(e)&&(this.state="failed"),this.dispatchLocalEvent({type:"loadComplete"})}pageLoaded(e,t,a){this.successCommon(e,{rowData:t,rowCount:a})}isRequestMostRecentAndLive(e){const t=e===this.version,a=this.isAlive();return t&&a}successCommon(e,t){this.dispatchLocalEvent({type:"loadComplete"}),this.isRequestMostRecentAndLive(e)&&(this.state="loaded",this.processServerResult(t))}postConstruct(){this.rowNodes=[];const{params:{blockSize:e,rowHeight:t},startRow:a,beans:n,rowNodes:r}=this;for(let o=0;o{this.params.datasource.getRows(e)},0)}createLoadParams(){const{startRow:e,endRow:t,version:a,params:{sortModel:n,filterModel:r},gos:o}=this;return B(o,{startRow:e,endRow:t,successCallback:this.pageLoaded.bind(this,a),failCallback:this.pageLoadFailed.bind(this,a),sortModel:n,filterModel:r})}forEachNode(e,t,a){this.rowNodes.forEach((n,r)=>{this.startRow+r{const i=e.rowData?e.rowData[o]:void 0;!r.id&&r.alreadyRendered&&i&&(t[o]=new lt(a),t[o].setRowIndex(r.rowIndex),t[o].setRowTop(r.rowTop),t[o].setRowHeight(r.rowHeight),r._destroy(!0)),this.setDataAndId(t[o],i,this.startRow+o)});const n=e.rowCount!=null&&e.rowCount>=0?e.rowCount:void 0;this.parentCache.pageLoaded(this,n)}destroy(){const e=this.rowNodes;for(let t=0,a=e.length;ti!=e),a=(i,s)=>s.lastAccessed-i.lastAccessed;t.sort(a);const n=this.params.maxBlocksInCache>0,r=n?this.params.maxBlocksInCache-1:null,o=sz-1;t.forEach((i,s)=>{const l=i.state==="needsLoading"&&s>=o,c=n?s>=r:!1;if(l||c){if(this.isBlockCurrentlyDisplayed(i)||this.isBlockFocused(i))return;this.removeBlockFromCache(i)}})}isBlockFocused(e){const t=this.beans.focusSvc.getFocusCellToUseAfterRefresh();if(!t||t.rowPinned!=null)return!1;const{startRow:a,endRow:n}=e;return t.rowIndex>=a&&t.rowIndex=0)this.rowCount=t,this.lastRowIndexKnown=!0;else if(!this.lastRowIndexKnown){const{blockSize:a,overflowSize:n}=this.params,o=(e.id+1)*a+n;this.rowCounta.id-n.id;return Object.values(this.blocks).sort(e)}destroyBlock(e){delete this.blocks[e.id],this.destroyBean(e),this.blockCount--,this.params.rowNodeBlockLoader.removeBlock(e)}onCacheUpdated(){this.isAlive()&&(this.destroyAllBlocksPastVirtualRowCount(),this.eventSvc.dispatchEvent({type:"storeUpdated"}))}destroyAllBlocksPastVirtualRowCount(){const e=[];for(const t of this.getBlocksInOrder())t.id*this.params.blockSize>=this.rowCount&&e.push(t);if(e.length>0)for(const t of e)this.destroyBlock(t)}purgeCache(){for(const e of this.getBlocksInOrder())this.removeBlockFromCache(e);this.lastRowIndexKnown=!1,this.rowCount===0&&(this.rowCount=this.params.initialRowCount),this.onCacheUpdated()}getRowNodesInRange(e,t){const a=[];let n=-1,r=!1;const o={value:0};let i=!1;for(const l of this.getBlocksInOrder())if(!i){if(r&&n+1!==l.id){i=!0;continue}n=l.id,l.forEachNode(c=>{const d=c===e||c===t;(r||d)&&a.push(c),d&&(r=!r)},o,this.rowCount)}return i||r?[]:a}},cz=class extends F{constructor(){super(...arguments),this.beanName="rowModel",this.rootNode=null,this.hierarchical=!1}getRowBounds(e){return{rowHeight:this.rowHeight,rowTop:this.rowHeight*e}}ensureRowHeightsValid(){return!1}postConstruct(){if(this.gos.get("rowModelType")!=="infinite")return;const e=this.beans,t=new lt(e);this.rootNode=t,t.level=-1,this.rowHeight=Ft(e),this.addEventListeners(),this.addDestroyFunc(()=>this.destroyCache())}start(){this.setDatasource(this.gos.get("datasource"))}destroy(){this.destroyDatasource(),super.destroy(),this.rootNode=null}destroyDatasource(){this.datasource&&(this.destroyBean(this.datasource),this.beans.rowRenderer.datasourceChanged(),this.datasource=null)}addEventListeners(){this.addManagedEventListeners({filterChanged:this.reset.bind(this),sortChanged:this.reset.bind(this),newColumnsLoaded:this.onColumnEverything.bind(this),storeUpdated:this.dispatchModelUpdatedEvent.bind(this)}),this.addManagedPropertyListener("datasource",()=>this.setDatasource(this.gos.get("datasource"))),this.addManagedPropertyListener("cacheBlockSize",()=>this.resetCache()),this.addManagedPropertyListener("rowHeight",()=>{this.rowHeight=Ft(this.beans),this.cacheParams.rowHeight=this.rowHeight,this.updateRowHeights()})}onColumnEverything(){let e;this.cacheParams?e=!Aa(this.cacheParams.sortModel,this.beans.sortSvc?.getSortModel()??[]):e=!0,e&&this.reset()}getType(){return"infinite"}setDatasource(e){this.destroyDatasource(),this.datasource=e,e&&this.reset()}isEmpty(){return!this.infiniteCache}isRowsToRender(){return!!this.infiniteCache}getOverlayType(){return this.infiniteCache?.getRowCount()===0?this.beans.filterManager?.isAnyFilterPresent()?"noMatchingRows":"noRows":null}getNodesInRangeForSelection(e,t){return this.infiniteCache?.getRowNodesInRange(e,t)??[]}reset(){if(!this.datasource)return;Da(this.gos)!=null||this.beans.selectionSvc?.reset("rowDataChanged"),this.resetCache()}dispatchModelUpdatedEvent(){this.eventSvc.dispatchEvent({type:"modelUpdated",newPage:!1,newPageSize:!1,newData:!1,keepRenderedRows:!0,animate:!1})}resetCache(){this.destroyCache();const e=this.beans,{filterManager:t,sortSvc:a,rowNodeBlockLoader:n,eventSvc:r,gos:o}=e;this.cacheParams={datasource:this.datasource,filterModel:t?.getFilterModel()??{},sortModel:a?.getSortModel()??[],rowNodeBlockLoader:n,initialRowCount:o.get("infiniteInitialRowCount"),maxBlocksInCache:o.get("maxBlocksInCache"),rowHeight:Ft(e),overflowSize:o.get("cacheOverflowSize"),blockSize:o.get("cacheBlockSize"),lastAccessedSequence:{value:0}},this.infiniteCache=this.createBean(new lz(this.cacheParams)),r.dispatchEventOnce({type:"rowCountReady"}),this.dispatchModelUpdatedEvent()}updateRowHeights(){this.forEachNode(e=>{e.setRowHeight(this.rowHeight),e.setRowTop(this.rowHeight*e.rowIndex)}),this.dispatchModelUpdatedEvent()}destroyCache(){this.infiniteCache=this.destroyBean(this.infiniteCache)}getRow(e){const t=this.infiniteCache;if(t&&!(e>=t.getRowCount()))return t.getRow(e)}getRowNode(e){let t;return this.forEachNode(a=>{a.id===e&&(t=a)}),t}forEachNode(e){this.infiniteCache?.forEachNodeDeep(e)}getTopLevelRowCount(){return this.getRowCount()}getTopLevelRowDisplayedIndex(e){return e}getRowIndexAtPixel(e){if(this.rowHeight!==0){const t=Math.floor(e/this.rowHeight),a=this.getRowCount()-1;return t>a?a:t}return 0}getRowCount(){return this.infiniteCache?this.infiniteCache.getRowCount():0}isRowPresent(e){return!!this.getRowNode(e.id)}refreshCache(){this.infiniteCache?.refreshCache()}purgeCache(){this.infiniteCache?.purgeCache()}isLastRowIndexKnown(){return this.infiniteCache?.isLastRowIndexKnown()??!1}setRowCount(e,t){this.infiniteCache?.setRowCount(e,t)}resetRowHeights(){}onRowHeightChanged(){}};function dz(e){Fl(e)?.refreshCache()}function uz(e){Fl(e)?.purgeCache()}function gz(e){return Fl(e)?.getRowCount()}var hz=class extends F{constructor(){super(...arguments),this.beanName="rowNodeBlockLoader",this.activeBlockLoadsCount=0,this.blocks=[],this.active=!0}postConstruct(){this.maxConcurrentRequests=nu(this.gos);const e=this.gos.get("blockLoadDebounceMillis");e&&e>0&&(this.checkBlockToLoadDebounce=ve(this,this.performCheckBlocksToLoad.bind(this),e))}addBlock(e){this.blocks.push(e),e.addEventListener("loadComplete",this.loadComplete.bind(this)),this.checkBlockToLoad()}removeBlock(e){Ae(this.blocks,e)}destroy(){super.destroy(),this.active=!1}loadComplete(){this.activeBlockLoadsCount--,this.checkBlockToLoad()}checkBlockToLoad(){this.checkBlockToLoadDebounce?this.checkBlockToLoadDebounce():this.performCheckBlocksToLoad()}performCheckBlocksToLoad(){if(!this.active)return;if(this.printCacheStatus(),this.maxConcurrentRequests!=null&&this.activeBlockLoadsCount>=this.maxConcurrentRequests){xn(this.gos,"RowNodeBlockLoader - checkBlockToLoad: max loads exceeded");return}const e=this.maxConcurrentRequests!=null?this.maxConcurrentRequests-this.activeBlockLoadsCount:1,t=this.blocks.filter(a=>a.state==="needsLoading").slice(0,e);this.activeBlockLoadsCount+=t.length;for(const a of t)a.load();this.printCacheStatus()}getBlockState(){const e={};return this.blocks.forEach(t=>{const{id:a,state:n}=t.getBlockStateJson();e[a]=n}),e}printCacheStatus(){xn(this.gos,`RowNodeBlockLoader - printCacheStatus: activePageLoadsCount = ${this.activeBlockLoadsCount}, blocks = ${JSON.stringify(this.getBlockState())}`)}},pz={moduleName:"InfiniteRowModelCore",version:N,rowModels:["infinite"],beans:[cz,hz]},Ly={moduleName:"InfiniteRowModel",version:N,apiFunctions:{refreshInfiniteCache:dz,purgeInfiniteCache:uz,getInfiniteRowCount:gz},dependsOn:[pz,sh]},fz=class extends F{constructor(){super(...arguments),this.beanName="apiEventSvc",this.syncListeners=new Map,this.asyncListeners=new Map,this.syncGlobalListeners=new Set,this.globalListenerPairs=new Map}postConstruct(){this.wrapSvc=this.beans.frameworkOverrides.createGlobalEventListenerWrapper?.()}addListener(e,t){const a=this.wrapSvc?.wrap(e,t)??t,n=!Ji.has(e),r=n?this.asyncListeners:this.syncListeners;r.has(e)||r.set(e,new Set),r.get(e).add(a),this.eventSvc.addListener(e,a,n)}removeListener(e,t){const a=this.wrapSvc?.unwrap(e,t)??t,r=!!this.asyncListeners.get(e)?.delete(a);r||this.syncListeners.get(e)?.delete(a),this.eventSvc.removeListener(e,a,r)}addGlobalListener(e){const t=this.wrapSvc?.wrapGlobal(e)??e,a=(o,i)=>{Ji.has(o)&&t(o,i)},n=(o,i)=>{Ji.has(o)||t(o,i)};this.globalListenerPairs.set(e,{syncListener:a,asyncListener:n});const r=this.eventSvc;r.addGlobalListener(a,!1),r.addGlobalListener(n,!0)}removeGlobalListener(e){const{eventSvc:t,wrapSvc:a,globalListenerPairs:n}=this,r=a?.unwrapGlobal(e)??e;if(n.has(r)){const{syncListener:i,asyncListener:s}=n.get(r);t.removeGlobalListener(i,!1),t.removeGlobalListener(s,!0),n.delete(e)}else this.syncGlobalListeners.delete(r),t.removeGlobalListener(r,!1)}destroyEventListeners(e,t){e.forEach((a,n)=>{a.forEach(r=>this.eventSvc.removeListener(n,r,t)),a.clear()}),e.clear()}destroyGlobalListeners(e,t){for(const a of e)this.eventSvc.removeGlobalListener(a,t);e.clear()}destroy(){super.destroy(),this.destroyEventListeners(this.syncListeners,!1),this.destroyEventListeners(this.asyncListeners,!0),this.destroyGlobalListeners(this.syncGlobalListeners,!1);const{globalListenerPairs:e,eventSvc:t}=this;e.forEach(({syncListener:a,asyncListener:n})=>{t.removeGlobalListener(a,!1),t.removeGlobalListener(n,!0)}),e.clear()}};function mz(e,t,a){e.apiEventSvc?.addListener(t,a)}function vz(e,t,a){e.apiEventSvc?.removeListener(t,a)}function Cz(e,t){e.apiEventSvc?.addGlobalListener(t)}function bz(e,t){e.apiEventSvc?.removeGlobalListener(t)}var Yh={moduleName:"EventApi",version:N,apiFunctions:{addEventListener:mz,addGlobalListener:Cz,removeEventListener:vz,removeGlobalListener:bz},beans:[fz]},zy=class extends F{constructor(){super(...arguments),this.beanName="localeSvc"}getLocaleTextFunc(){const e=this.gos,t=e.getCallback("getLocaleText");return t?Cm(t):bm(e.get("localeText"))}},Oy={moduleName:"Locale",version:N,beans:[zy]};function wz(e){return e.stateSvc?.getState()??{}}function yz(e,t,a){return e.stateSvc?.setState(t,a)}function Gy(e){return e={...e},e.version||(e.version="32.1.0"),e.version==="32.1.0"&&(e=Sz(e)),e.version=N,e}function Sz(e){return e.cellSelection=xz(e,"rangeSelection"),e}function xz(e,t){if(e&&typeof e=="object")return e[t]}var kz=class extends F{constructor(){super(...arguments),this.beanName="stateSvc",this.updateRowGroupExpansionStateTimer=0,this.suppressEvents=!0,this.queuedUpdateSources=new Set,this.dispatchStateUpdateEventDebounced=ve(this,()=>this.dispatchQueuedStateUpdateEvents(),0),this.onRowGroupOpenedDebounced=ve(this,()=>this.updateGroupExpansionState(),0),this.onRowSelectedDebounced=ve(this,()=>{this.staleStateKeys.delete("rowSelection"),this.updateCachedState("rowSelection",this.getRowSelectionState())},0),this.staleStateKeys=new Set}postConstruct(){const{gos:e,ctrlsSvc:t,colDelayRenderSvc:a}=this.beans;this.isClientSideRowModel=se(e);const n=Gy(e.get("initialState")??{}),r=n.partialColumnState;delete n.partialColumnState,this.cachedState=n;const o=this.suppressEventsAndDispatchInitEvent.bind(this);t.whenReady(this,()=>o(()=>this.setupStateOnGridReady(n))),(n.columnOrder||n.columnVisibility||n.columnSizing||n.columnPinning||n.columnGroup)&&a?.hideColumns("columnState");const[i,s,l]=this.addManagedEventListeners({newColumnsLoaded:({source:c})=>{c==="gridInitializing"&&(i(),o(()=>{this.setupStateOnColumnsInitialised(n,!!r),a?.revealColumns("columnState")}))},rowCountReady:()=>{s?.(),o(()=>this.setupStateOnRowCountReady(n))},firstDataRendered:()=>{l?.(),o(()=>this.setupStateOnFirstDataRendered(n))}})}destroy(){super.destroy(),clearTimeout(this.updateRowGroupExpansionStateTimer),this.queuedUpdateSources.clear()}getState(){return this.staleStateKeys.size&&this.refreshStaleState(),this.cachedState}setState(e,t){const a=Gy(e);delete a.partialColumnState,this.cachedState=a,this.startSuppressEvents();const n="api",r=t?new Set(t):void 0;this.setGridReadyState(a,n,r),this.setColumnsInitialisedState(a,n,!!r,r),this.setRowCountState(a,n,r),setTimeout(()=>{this.isAlive()&&this.setFirstDataRenderedState(a,n,r),this.stopSuppressEvents(n)})}setGridReadyState(e,t,a){t==="api"&&!a?.has("sideBar")&&this.beans.sideBar?.comp?.setState(e.sideBar),this.updateCachedState("sideBar",this.getSideBarState())}setupStateOnGridReady(e){this.setGridReadyState(e,"gridInitializing");const t=()=>this.updateCachedState("sideBar",this.getSideBarState());this.addManagedEventListeners({toolPanelVisibleChanged:t,sideBarUpdated:t})}updateColumnAndGroupState(){this.updateColumnState(["aggregation","columnOrder","columnPinning","columnSizing","columnVisibility","pivot","rowGroup","sort"]),this.updateCachedState("columnGroup",this.getColumnGroupState())}setColumnsInitialisedState(e,t,a,n){this.setColumnState(e,t,a,n),this.setColumnGroupState(e,t,n),this.updateColumnAndGroupState()}setupStateOnColumnsInitialised(e,t){this.setColumnsInitialisedState(e,"gridInitializing",t);const a=n=>()=>this.updateColumnState([n]);this.addManagedEventListeners({columnValueChanged:a("aggregation"),columnMoved:a("columnOrder"),columnPinned:a("columnPinning"),columnResized:a("columnSizing"),columnVisible:a("columnVisibility"),columnPivotChanged:a("pivot"),columnPivotModeChanged:a("pivot"),columnRowGroupChanged:a("rowGroup"),sortChanged:a("sort"),newColumnsLoaded:({source:n})=>{this.updateColumnAndGroupState(),n!=="gridInitializing"&&this.isClientSideRowModel&&this.onRowGroupOpenedDebounced()},columnGroupOpened:()=>this.updateCachedState("columnGroup",this.getColumnGroupState())})}setRowCountState(e,t,a){const{filter:n,rowGroupExpansion:r,ssrmRowGroupExpansion:o,rowSelection:i,pagination:s,rowPinning:l}=e,c=(u,g)=>!a?.has(u)&&(g||t==="api");c("filter",n)&&this.setFilterState(n),(c("rowGroupExpansion",r)||c("ssrmRowGroupExpansion",o))&&this.setRowGroupExpansionState(o,r,t),c("rowSelection",i)&&this.setRowSelectionState(i,t),c("pagination",s)&&this.setPaginationState(s,t),c("rowPinning",l)&&this.setRowPinningState(l);const d=this.updateCachedState.bind(this);d("filter",this.getFilterState()),this.updateGroupExpansionState(),d("rowSelection",this.getRowSelectionState()),d("pagination",this.getPaginationState())}setupStateOnRowCountReady(e){this.setRowCountState(e,"gridInitializing");const t=this.updateCachedState.bind(this),a=()=>{this.updateRowGroupExpansionStateTimer=0,this.updateGroupExpansionState()},n=()=>t("filter",this.getFilterState()),{gos:r,colFilter:o,selectableFilter:i}=this.beans;this.addManagedEventListeners({filterChanged:n,rowExpansionStateChanged:this.onRowGroupOpenedDebounced,expandOrCollapseAll:a,columnRowGroupChanged:a,rowDataUpdated:()=>{(r.get("groupDefaultExpanded")!==0||r.get("isGroupOpenByDefault"))&&(this.updateRowGroupExpansionStateTimer||(this.updateRowGroupExpansionStateTimer=setTimeout(a)))},selectionChanged:()=>{this.staleStateKeys.add("rowSelection"),this.onRowSelectedDebounced()},paginationChanged:s=>{(s.newPage||s.newPageSize)&&t("pagination",this.getPaginationState())},pinnedRowsChanged:()=>t("rowPinning",this.getRowPinningState())}),o&&this.addManagedListeners(o,{filterStateChanged:n}),i&&this.addManagedListeners(i,{selectedFilterChanged:n})}setFirstDataRenderedState(e,t,a){const{scroll:n,cellSelection:r,focusedCell:o,columnOrder:i}=e,s=(d,u)=>!a?.has(d)&&(u||t==="api");s("focusedCell",o)&&this.setFocusedCellState(o),s("cellSelection",r)&&this.setCellSelectionState(r),s("scroll",n)&&this.setScrollState(n),this.setColumnPivotState(!!i?.orderedColIds,t);const l=this.updateCachedState.bind(this);l("sideBar",this.getSideBarState()),l("focusedCell",this.getFocusedCellState());const c=this.getRangeSelectionState();l("rangeSelection",c),l("cellSelection",c),l("scroll",this.getScrollState())}setupStateOnFirstDataRendered(e){this.setFirstDataRenderedState(e,"gridInitializing");const t=this.updateCachedState.bind(this),a=()=>t("focusedCell",this.getFocusedCellState());this.addManagedEventListeners({cellFocused:a,cellFocusCleared:a,cellSelectionChanged:n=>{if(n.finished){const r=this.getRangeSelectionState();t("rangeSelection",r),t("cellSelection",r)}},bodyScrollEnd:()=>t("scroll",this.getScrollState())})}getColumnState(){const e=this.beans;return lw(Ui(e),e.colModel.isPivotMode())}setColumnState(e,t,a,n){const{sort:r,rowGroup:o,aggregation:i,pivot:s,columnPinning:l,columnVisibility:c,columnSizing:d,columnOrder:u}=e;let g=!1;const h=(I,L)=>{const K=!n?.has(I)&&!!(L||t==="api");return g||(g=K),K},p={},f=I=>{let L=p[I];return L||(L={colId:I},p[I]=L,L)},m={},v=h("sort",r);v&&r?.sortModel.forEach(({colId:I,sort:L,type:K},U)=>{const O=f(I);O.sort=L,O.sortIndex=U,O.sortType=K}),(v||!a)&&(m.sort=null,m.sortIndex=null);const C=h("rowGroup",o);C&&o?.groupColIds.forEach((I,L)=>{const K=f(I);K.rowGroup=!0,K.rowGroupIndex=L}),(C||!a)&&(m.rowGroup=null,m.rowGroupIndex=null);const b=h("aggregation",i);b&&i?.aggregationModel.forEach(({colId:I,aggFunc:L})=>{f(I).aggFunc=L}),(b||!a)&&(m.aggFunc=null);const y=h("pivot",s);y&&(s?.pivotColIds.forEach((I,L)=>{const K=f(I);K.pivot=!0,K.pivotIndex=L}),this.gos.updateGridOptions({options:{pivotMode:!!s?.pivotMode},source:t})),(y||!a)&&(m.pivot=null,m.pivotIndex=null);const S=h("columnPinning",l);if(S){for(const I of l?.leftColIds??[])f(I).pinned="left";for(const I of l?.rightColIds??[])f(I).pinned="right"}(S||!a)&&(m.pinned=null);const k=h("columnVisibility",c);if(k)for(const I of c?.hiddenColIds??[])f(I).hide=!0;(k||!a)&&(m.hide=null);const M=h("columnSizing",d);if(M)for(const{colId:I,flex:L,width:K}of d?.columnSizingModel??[]){const U=f(I);U.flex=L??null,U.width=K}(M||!a)&&(m.flex=null);const E=u?.orderedColIds,P=!!E?.length&&!n?.has("columnOrder"),D=P?E.map(I=>f(I)):Object.values(p);(D.length||g)&&(this.columnStates=D,Ye(this.beans,{state:D,applyOrder:P,defaultState:m},t))}setColumnPivotState(e,t){const a=this.columnStates;this.columnStates=void 0;const n=this.columnGroupStates;this.columnGroupStates=void 0;const r=this.beans,{pivotResultCols:o,colGroupSvc:i}=r;if(o?.isPivotResultColsPresent()){if(a){const s=[];for(const l of a)o.getPivotResultCol(l.colId)&&s.push(l);Ye(r,{state:s,applyOrder:e},t)}n&&i?.setColumnGroupState(n,t)}}getColumnGroupState(){const e=this.beans.colGroupSvc;if(!e)return;const t=e.getColumnGroupState();return cw(t)}setColumnGroupState(e,t,a){const n=this.beans.colGroupSvc;if(!n||a?.has("columnGroup")||t!=="api"&&!Object.prototype.hasOwnProperty.call(e,"columnGroup"))return;const r=new Set(e.columnGroup?.openColumnGroupIds),i=n.getColumnGroupState().map(({groupId:s})=>{const l=r.has(s);return l&&r.delete(s),{groupId:s,open:l}});for(const s of r)i.push({groupId:s,open:!0});i.length&&(this.columnGroupStates=i),n.setColumnGroupState(i,t)}getFilterState(){const{filterManager:e,selectableFilter:t}=this.beans;let a=e?.getFilterModel();a&&Object.keys(a).length===0&&(a=void 0);const n=e?.getFilterState(),r=e?.getAdvFilterModel()??void 0,o=t?.getState();return a||r||n||o?{filterModel:a,columnFilterState:n,advancedFilterModel:r,selectableFilters:o}:void 0}setFilterState(e){const{filterManager:t,selectableFilter:a}=this.beans,{filterModel:n,columnFilterState:r,advancedFilterModel:o,selectableFilters:i}=e??{filterModel:null,columnFilterState:null,advancedFilterModel:null};i!==void 0&&a?.setState(i??{}),(n!==void 0||r!==void 0)&&t?.setFilterState(n??null,r??null,"columnFilter"),o!==void 0&&t?.setAdvFilterModel(o??null,"advancedFilter")}getRangeSelectionState(){const e=this.beans.rangeSvc?.getCellRanges().map(t=>{const{id:a,type:n,startRow:r,endRow:o,columns:i,startColumn:s}=t;return{id:a,type:n,startRow:r,endRow:o,colIds:i.map(l=>l.getColId()),startColId:s.getColId()}});return e?.length?{cellRanges:e}:void 0}setCellSelectionState(e){const{gos:t,rangeSvc:a,colModel:n,visibleCols:r}=this.beans;if(!mt(t)||!a)return;const o=[];for(const i of e?.cellRanges??[]){const s=[];for(const c of i.colIds){const d=n.getCol(c);d&&s.push(d)}if(!s.length)continue;let l=n.getCol(i.startColId);if(!l){const c=r.allCols,d=new Set(s);l=c.find(u=>d.has(u))}o.push({...i,columns:s,startColumn:l})}a.setCellRanges(o)}getScrollState(){if(!this.isClientSideRowModel)return;const e=this.beans.ctrlsSvc.getScrollFeature(),{left:t}=e?.getHScrollPosition()??{left:0},{top:a}=e?.getVScrollPosition()??{top:0};return a||t?{top:a,left:t}:void 0}setScrollState(e){if(!this.isClientSideRowModel)return;const{top:t,left:a}=e??{top:0,left:0},{frameworkOverrides:n,rowRenderer:r,animationFrameSvc:o,ctrlsSvc:i}=this.beans;n.wrapIncoming(()=>{i.get("center").setCenterViewportScrollLeft(a),i.getScrollFeature()?.setVerticalScrollPosition(t),r.redraw({afterScroll:!0}),o?.flushAllFrames()})}getSideBarState(){return this.beans.sideBar?.comp?.getState()}getFocusedCellState(){if(!this.isClientSideRowModel)return;const e=this.beans.focusSvc.getFocusedCell();if(e){const{column:t,rowIndex:a,rowPinned:n}=e;return{colId:t.getColId(),rowIndex:a,rowPinned:n}}}setFocusedCellState(e){if(!this.isClientSideRowModel)return;const{focusSvc:t,colModel:a}=this.beans;if(!e){t.clearFocusedCell();return}const{colId:n,rowIndex:r,rowPinned:o}=e;t.setFocusedCell({column:a.getCol(n),rowIndex:r,rowPinned:o,forceBrowserFocus:!0,preventScrollOnBrowserFocus:!0})}getPaginationState(){const{pagination:e,gos:t}=this.beans;if(!e)return;const a=e.getCurrentPage(),n=t.get("paginationAutoPageSize")?void 0:e.getPageSize();if(!(!a&&!n))return{page:a,pageSize:n}}setPaginationState(e,t){const{pagination:a,gos:n}=this.beans;if(!a)return;const{pageSize:r,page:o}=e??{page:0,pageSize:n.get("paginationPageSize")},i=t==="gridInitializing";r&&!n.get("paginationAutoPageSize")&&a.setPageSize(r,i?"initialState":"pageSizeSelector"),typeof o=="number"&&(i?a.setPage(o):a.goToPage(o))}getRowSelectionState(){const e=this.beans.selectionSvc;if(!e)return;const t=e.getSelectionState();return!t||!Array.isArray(t)&&(t.selectAll===!1||t.selectAllChildren===!1)&&!t?.toggledNodes?.length?void 0:t}setRowSelectionState(e,t){this.beans.selectionSvc?.setSelectionState(e,t,t==="api")}updateGroupExpansionState(){const{expansionSvc:e,gos:t}=this.beans,a=e?.getExpansionState(),n=t.get("ssrmExpandAllAffectsAllRows");this.updateCachedState("ssrmRowGroupExpansion",n?a:void 0),this.updateCachedState("rowGroupExpansion",n?void 0:a)}getRowPinningState(){return this.beans.pinnedRowModel?.getPinnedState()}setRowPinningState(e){const t=this.beans.pinnedRowModel;e?t?.setPinnedState(e):t?.reset()}setRowGroupExpansionState(e,t,a){const n=e??t??{expandedRowGroupIds:[],collapsedRowGroupIds:[]};this.beans.expansionSvc?.setExpansionState(n,a)}updateColumnState(e){const t=this.getColumnState();let a=!1;const n=this.cachedState;for(const r of Object.keys(t)){const o=t[r];Aa(o,n[r])||(a=!0)}this.cachedState={...n,...t},a&&this.dispatchStateUpdateEvent(e)}updateCachedState(e,t){const a=this.cachedState[e];this.setCachedStateValue(e,t),Aa(t,a)||this.dispatchStateUpdateEvent([e])}setCachedStateValue(e,t){this.cachedState={...this.cachedState,[e]:t}}refreshStaleState(){const e=this.staleStateKeys;for(const t of e)t==="rowSelection"&&this.setCachedStateValue(t,this.getRowSelectionState());e.clear()}dispatchStateUpdateEvent(e){if(!this.suppressEvents){for(const t of e)this.queuedUpdateSources.add(t);this.dispatchStateUpdateEventDebounced()}}dispatchQueuedStateUpdateEvents(){const e=this.queuedUpdateSources,t=Array.from(e);e.clear(),this.eventSvc.dispatchEvent({type:"stateUpdated",sources:t,state:this.cachedState})}startSuppressEvents(){this.suppressEvents=!0,this.beans.colAnimation?.setSuppressAnimation(!0)}stopSuppressEvents(e){setTimeout(()=>{this.suppressEvents=!1,this.queuedUpdateSources.clear(),this.isAlive()&&(this.beans.colAnimation?.setSuppressAnimation(!1),this.dispatchStateUpdateEvent([e]))})}suppressEventsAndDispatchInitEvent(e){this.startSuppressEvents(),e(),this.stopSuppressEvents("gridInitializing")}},Vy={moduleName:"GridState",version:N,beans:[kz],apiFunctions:{getState:wz,setState:yz}};function Rz(e){return e.rowModel.isLastRowIndexKnown()}function Fz(e){return e.pagination?.getPageSize()??100}function Mz(e){return e.pagination?.getCurrentPage()??0}function Ez(e){return e.pagination?.getTotalPages()??1}function Pz(e){return e.pagination?e.pagination.getMasterRowCount():e.rowModel.getRowCount()}function Az(e){e.pagination?.goToNextPage()}function Tz(e){e.pagination?.goToPreviousPage()}function Dz(e){e.pagination?.goToFirstPage()}function Iz(e){e.pagination?.goToLastPage()}function Lz(e,t){e.pagination?.goToPage(t)}var zz=class extends F{constructor(){super(...arguments),this.beanName="paginationAutoPageSizeSvc"}postConstruct(){this.beans.ctrlsSvc.whenReady(this,e=>{this.centerRowsCtrl=e.center;const t=this.checkPageSize.bind(this);this.addManagedEventListeners({bodyHeightChanged:t,scrollVisibilityChanged:t}),this.addManagedPropertyListener("paginationAutoPageSize",this.onPaginationAutoSizeChanged.bind(this)),this.checkPageSize()})}notActive(){return!this.gos.get("paginationAutoPageSize")||this.centerRowsCtrl==null}onPaginationAutoSizeChanged(){this.notActive()?this.beans.pagination.unsetAutoCalculatedPageSize():this.checkPageSize()}checkPageSize(){if(this.notActive())return;const e=this.centerRowsCtrl.viewportSizeFeature.getBodyHeight();if(e>0){const t=this.beans,a=()=>{const n=Math.max(Ft(t),1),r=Math.floor(e/n);t.pagination.setPageSize(r,"autoCalculated")};this.isBodyRendered?ve(this,a,50)():(a(),this.isBodyRendered=!0)}else this.isBodyRendered=!1}};function dn(e,t){if(typeof e!="number")return"";const a=t(),n=a("thousandSeparator",","),r=a("decimalSeparator",".");return e.toString().replace(".",r).replace(/(\d)(?=(\d{3})+(?!\d))/g,`$1${n}`)}var hs="paginationPageSizeSelector",Oz={tag:"span",cls:"ag-paging-page-size"},Gz=class extends T{constructor(){super(Oz),this.hasEmptyOption=!1,this.handlePageSizeItemSelected=()=>{if(!this.selectPageSizeComp)return;const e=this.selectPageSizeComp.getValue();if(!e)return;const t=Number(e);isNaN(t)||t<1||t===this.pagination.getPageSize()||(this.pagination.setPageSize(t,"pageSizeSelector"),this.hasEmptyOption&&this.toggleSelectDisplay(!0),this.selectPageSizeComp.getFocusableElement().focus())}}wireBeans(e){this.pagination=e.pagination}postConstruct(){this.addManagedPropertyListener(hs,()=>{this.onPageSizeSelectorValuesChange()}),this.addManagedEventListeners({paginationChanged:e=>this.handlePaginationChanged(e)})}handlePaginationChanged(e){if(!this.selectPageSizeComp||!e?.newPageSize)return;const t=this.pagination.getPageSize();this.getPageSizeSelectorValues().includes(t)?this.selectPageSizeComp.setValue(t.toString()):this.hasEmptyOption?this.selectPageSizeComp.setValue(""):this.toggleSelectDisplay(!0)}toggleSelectDisplay(e){this.selectPageSizeComp&&!e&&this.reset(),e&&(this.reloadPageSizesSelector(),this.selectPageSizeComp)}reset(){ee(this.getGui()),this.selectPageSizeComp&&(this.selectPageSizeComp=this.destroyBean(this.selectPageSizeComp))}onPageSizeSelectorValuesChange(){this.selectPageSizeComp&&this.shouldShowPageSizeSelector()&&this.reloadPageSizesSelector()}shouldShowPageSizeSelector(){return this.gos.get("pagination")&&!this.gos.get("suppressPaginationPanel")&&!this.gos.get("paginationAutoPageSize")&&this.gos.get(hs)!==!1}reloadPageSizesSelector(){const e=this.getPageSizeSelectorValues(),t=this.pagination.getPageSize(),a=!t||!e.includes(t);if(a){const r=this.gos.exists("paginationPageSize"),o=this.gos.get(hs)!==!0;R(94,{pageSizeSet:r,pageSizesSet:o,pageSizeOptions:e,paginationPageSizeOption:t}),o||R(95,{paginationPageSizeOption:t,paginationPageSizeSelector:hs}),e.unshift("")}const n=String(a?"":t);this.selectPageSizeComp?(we(this.pageSizeOptions,e)||(this.selectPageSizeComp.clearOptions().addOptions(this.createPageSizeSelectOptions(e)),this.pageSizeOptions=e),this.selectPageSizeComp.setValue(n,!0)):this.createPageSizeSelectorComp(e,n),this.hasEmptyOption=a}createPageSizeSelectOptions(e){return e.map(t=>({value:String(t)}))}createPageSizeSelectorComp(e,t){const a=this.getLocaleTextFunc(),n=a("pageSizeSelectorLabel","Page Size:"),r=a("ariaPageSizeSelectorLabel","Page Size");this.selectPageSizeComp=this.createManagedBean(new vt).addOptions(this.createPageSizeSelectOptions(e)).setValue(t).setAriaLabel(r).setLabel(n).onValueChange(()=>this.handlePageSizeItemSelected()),this.appendChild(this.selectPageSizeComp)}getPageSizeSelectorValues(){const e=[20,50,100],t=this.gos.get(hs);return!Array.isArray(t)||!t?.length?e:[...t].sort((a,n)=>a-n)}destroy(){this.toggleSelectDisplay(!1),super.destroy()}},Vz={selector:"AG-PAGE-SIZE-SELECTOR",component:Gz},Bz=".ag-paging-panel{align-items:center;border-top:var(--ag-footer-row-border);display:flex;flex-wrap:wrap-reverse;gap:calc(var(--ag-spacing)*4);justify-content:flex-end;min-height:var(--ag-pagination-panel-height);padding:calc(var(--ag-spacing)*.5) var(--ag-cell-horizontal-padding);row-gap:calc(var(--ag-spacing)*.5);@container (width < 600px){justify-content:center}}:where(.ag-paging-page-size) .ag-wrapper{min-width:50px}.ag-paging-page-summary-panel,.ag-paging-row-summary-panel{margin:calc(var(--ag-spacing)*.5)}.ag-paging-page-summary-panel{align-items:center;display:flex;gap:var(--ag-cell-widget-spacing);.ag-disabled &{pointer-events:none}}.ag-paging-button{cursor:pointer;position:relative;&.ag-disabled{cursor:default;opacity:.5}}.ag-paging-number,.ag-paging-row-summary-panel-number{font-weight:500}.ag-paging-description{line-height:0}",Nz=class extends Er{constructor(){super(),this.btFirst=x,this.btPrevious=x,this.btNext=x,this.btLast=x,this.lbRecordCount=x,this.lbFirstRowOnPage=x,this.lbLastRowOnPage=x,this.lbCurrent=x,this.lbTotal=x,this.pageSizeComp=x,this.previousAndFirstButtonsDisabled=!1,this.nextButtonDisabled=!1,this.lastButtonDisabled=!1,this.areListenersSetup=!1,this.allowFocusInnerElement=!1,this.registerCSS(Bz)}wireBeans(e){this.rowModel=e.rowModel,this.pagination=e.pagination,this.ariaAnnounce=e.ariaAnnounce}postConstruct(){const e=this.gos.get("enableRtl");this.setTemplate(this.getTemplate(),[Vz]);const{btFirst:t,btPrevious:a,btNext:n,btLast:r}=this;this.activateTabIndex([t,a,n,r]),t.insertAdjacentElement("afterbegin",q(e?"last":"first",this.beans)),a.insertAdjacentElement("afterbegin",q(e?"next":"previous",this.beans)),n.insertAdjacentElement("afterbegin",q(e?"previous":"next",this.beans)),r.insertAdjacentElement("afterbegin",q(e?"first":"last",this.beans)),this.addManagedPropertyListener("pagination",this.onPaginationChanged.bind(this)),this.addManagedPropertyListener("suppressPaginationPanel",this.onPaginationChanged.bind(this)),this.addManagedPropertyListeners(["paginationPageSizeSelector","paginationAutoPageSize","suppressPaginationPanel"],()=>this.onPageSizeRelatedOptionsChange()),this.pageSizeComp.toggleSelectDisplay(this.pageSizeComp.shouldShowPageSizeSelector()),this.initialiseTabGuard({onTabKeyDown:()=>{},focusInnerElement:o=>this.allowFocusInnerElement?this.tabGuardFeature.getTabGuardCtrl().focusInnerElement(o):Hu(this.beans,o),forceFocusOutWhenTabGuardsAreEmpty:!0}),this.onPaginationChanged()}setAllowFocus(e){this.allowFocusInnerElement=e}getFocusableContainerName(){return"pagination"}onPaginationChanged(){const t=this.gos.get("pagination")&&!this.gos.get("suppressPaginationPanel");this.setDisplayed(t),t&&(this.setupListeners(),this.enableOrDisableButtons(),this.updateLabels(),this.onPageSizeRelatedOptionsChange())}onPageSizeRelatedOptionsChange(){this.pageSizeComp.toggleSelectDisplay(this.pageSizeComp.shouldShowPageSizeSelector())}setupListeners(){if(!this.areListenersSetup){this.addManagedEventListeners({paginationChanged:this.onPaginationChanged.bind(this)});for(const e of[{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)}]){const{el:t,fn:a}=e;this.addManagedListeners(t,{click:a,keydown:n=>{(n.key===w.ENTER||n.key===w.SPACE)&&(n.preventDefault(),a())}})}ho(this.beans,this,this.getGui()),this.areListenersSetup=!0}}onBtFirst(){this.previousAndFirstButtonsDisabled||this.pagination.goToFirstPage()}formatNumber(e){const t=this.gos.getCallback("paginationNumberFormatter");return t?t({value:e}):dn(e,this.getLocaleTextFunc.bind(this))}getTemplate(){const e=this.getLocaleTextFunc(),t=`ag-${this.getCompId()}`;return{tag:"div",cls:"ag-paging-panel ag-unselectable",attrs:{id:`${t}`},children:[{tag:"ag-page-size-selector",ref:"pageSizeComp"},{tag:"span",cls:"ag-paging-row-summary-panel",children:[{tag:"span",ref:"lbFirstRowOnPage",cls:"ag-paging-row-summary-panel-number",attrs:{id:`${t}-first-row`}},{tag:"span",attrs:{id:`${t}-to`},children:e("to","to")},{tag:"span",ref:"lbLastRowOnPage",cls:"ag-paging-row-summary-panel-number",attrs:{id:`${t}-last-row`}},{tag:"span",attrs:{id:`${t}-of`},children:e("of","of")},{tag:"span",ref:"lbRecordCount",cls:"ag-paging-row-summary-panel-number",attrs:{id:`${t}-row-count`}}]},{tag:"span",cls:"ag-paging-page-summary-panel",role:"presentation",children:[{tag:"div",ref:"btFirst",cls:"ag-button ag-paging-button",role:"button",attrs:{"aria-label":e("firstPage","First Page")}},{tag:"div",ref:"btPrevious",cls:"ag-button ag-paging-button",role:"button",attrs:{"aria-label":e("previousPage","Previous Page")}},{tag:"span",cls:"ag-paging-description",children:[{tag:"span",attrs:{id:`${t}-start-page`},children:e("page","Page")},{tag:"span",ref:"lbCurrent",cls:"ag-paging-number",attrs:{id:`${t}-start-page-number`}},{tag:"span",attrs:{id:`${t}-of-page`},children:e("of","of")},{tag:"span",ref:"lbTotal",cls:"ag-paging-number",attrs:{id:`${t}-of-page-number`}}]},{tag:"div",ref:"btNext",cls:"ag-button ag-paging-button",role:"button",attrs:{"aria-label":e("nextPage","Next Page")}},{tag:"div",ref:"btLast",cls:"ag-button ag-paging-button",role:"button",attrs:{"aria-label":e("lastPage","Last Page")}}]}]}}onBtNext(){this.nextButtonDisabled||this.pagination.goToNextPage()}onBtPrevious(){this.previousAndFirstButtonsDisabled||this.pagination.goToPreviousPage()}onBtLast(){this.lastButtonDisabled||this.pagination.goToLastPage()}enableOrDisableButtons(){const e=this.pagination.getCurrentPage(),t=this.rowModel.isLastRowIndexKnown(),a=this.pagination.getTotalPages();this.previousAndFirstButtonsDisabled=e===0,this.toggleButtonDisabled(this.btFirst,this.previousAndFirstButtonsDisabled),this.toggleButtonDisabled(this.btPrevious,this.previousAndFirstButtonsDisabled);const n=this.isZeroPagesToDisplay(),r=e===a-1;this.nextButtonDisabled=r||n,this.lastButtonDisabled=!t||n||e===a-1,this.toggleButtonDisabled(this.btNext,this.nextButtonDisabled),this.toggleButtonDisabled(this.btLast,this.lastButtonDisabled)}toggleButtonDisabled(e,t){ii(e,t),e.classList.toggle("ag-disabled",t)}isZeroPagesToDisplay(){const e=this.rowModel.isLastRowIndexKnown(),t=this.pagination.getTotalPages();return e&&t===0}updateLabels(){const e=this.rowModel.isLastRowIndexKnown(),t=this.pagination.getTotalPages(),a=this.pagination.getMasterRowCount(),n=e?a:null,r=this.pagination.getCurrentPage(),o=this.pagination.getPageSize();let i,s;this.isZeroPagesToDisplay()?i=s=0:(i=o*r+1,s=i+o-1,e&&s>n&&(s=n));const l=i+o-1,c=!e&&a0?r+1:0,f=this.formatNumber(p);this.lbCurrent.textContent=f;let m,v;if(e)m=this.formatNumber(t),v=this.formatNumber(n);else{const C=g("more","more");m=C,v=C}this.lbTotal.textContent=m,this.lbRecordCount.textContent=v,this.announceAriaStatus(d,u,v,f,m)}announceAriaStatus(e,t,a,n,r){const o=this.getLocaleTextFunc(),i=o("page","Page"),s=o("to","to"),l=o("of","of"),c=`${e} ${s} ${t} ${l} ${a}`,d=`${i} ${n} ${l} ${r}`;c!==this.ariaRowStatus&&(this.ariaRowStatus=c,this.ariaAnnounce?.announceValue(c,"paginationRow")),d!==this.ariaPageStatus&&(this.ariaPageStatus=d,this.ariaAnnounce?.announceValue(d,"paginationPage"))}},Hz={selector:"AG-PAGINATION",component:Nz},qz=100,Wz=class extends F{constructor(){super(...arguments),this.beanName="pagination",this.currentPage=0,this.topDisplayedRowIndex=0,this.bottomDisplayedRowIndex=0,this.masterRowCount=0}postConstruct(){const e=this.gos;this.active=e.get("pagination"),this.pageSizeFromGridOptions=e.get("paginationPageSize"),this.paginateChildRows=this.isPaginateChildRows(),this.addManagedPropertyListener("pagination",this.onPaginationGridOptionChanged.bind(this)),this.addManagedPropertyListener("paginationPageSize",this.onPageSizeGridOptionChanged.bind(this))}getPaginationSelector(){return Hz}isPaginateChildRows(){const e=this.gos;return e.get("groupHideParentOfSingleChild")||e.get("groupRemoveSingleChildren")||e.get("groupRemoveLowestSingleChildren")?!0:e.get("paginateChildRows")}onPaginationGridOptionChanged(){this.active=this.gos.get("pagination"),this.calculatePages(),this.dispatchPaginationChangedEvent({keepRenderedRows:!0})}onPageSizeGridOptionChanged(){this.setPageSize(this.gos.get("paginationPageSize"),"gridOptions")}goToPage(e){const t=this.currentPage;if(!this.active||t===e||typeof t!="number")return;const{editSvc:a}=this.beans;a?.isEditing()&&(a.isBatchEditing()?a.cleanupEditors():a.stopEditing(void 0,{source:"api"})),this.currentPage=e,this.calculatePages(),this.dispatchPaginationChangedEvent({newPage:!0})}goToPageWithIndex(e){if(!this.active)return;let t=e;this.paginateChildRows||(t=this.beans.rowModel.getTopLevelIndexFromDisplayedIndex?.(e)??e),this.goToPage(Math.floor(t/this.pageSize))}isRowInPage(e){return this.active?e>=this.topDisplayedRowIndex&&e<=this.bottomDisplayedRowIndex:!0}getCurrentPage(){return this.currentPage}goToNextPage(){this.goToPage(this.currentPage+1)}goToPreviousPage(){this.goToPage(this.currentPage-1)}goToFirstPage(){this.goToPage(0)}goToLastPage(){const e=this.beans.rowModel.getRowCount(),t=Math.floor(e/this.pageSize);this.goToPage(t)}getPageSize(){return this.pageSize}getTotalPages(){return this.totalPages}setPage(e){this.currentPage=e}get pageSize(){return A(this.pageSizeAutoCalculated)&&this.gos.get("paginationAutoPageSize")?this.pageSizeAutoCalculated:A(this.pageSizeFromPageSizeSelector)?this.pageSizeFromPageSizeSelector:A(this.pageSizeFromInitialState)?this.pageSizeFromInitialState:A(this.pageSizeFromGridOptions)?this.pageSizeFromGridOptions:qz}calculatePages(){this.active?this.paginateChildRows?this.calculatePagesAllRows():this.calculatePagesMasterRowsOnly():this.calculatedPagesNotActive(),this.beans.pageBounds.calculateBounds(this.topDisplayedRowIndex,this.bottomDisplayedRowIndex)}unsetAutoCalculatedPageSize(){if(this.pageSizeAutoCalculated===void 0)return;const e=this.pageSizeAutoCalculated;this.pageSizeAutoCalculated=void 0,this.pageSize!==e&&(this.calculatePages(),this.dispatchPaginationChangedEvent({newPageSize:!0}))}setPageSize(e,t){const a=this.pageSize;switch(t){case"autoCalculated":this.pageSizeAutoCalculated=e;break;case"pageSizeSelector":this.pageSizeFromPageSizeSelector=e,this.currentPage!==0&&this.goToFirstPage();break;case"initialState":this.pageSizeFromInitialState=e;break;case"gridOptions":this.pageSizeFromGridOptions=e,this.pageSizeFromInitialState=void 0,this.pageSizeFromPageSizeSelector=void 0,this.currentPage!==0&&this.goToFirstPage();break}a!==this.pageSize&&(this.calculatePages(),this.dispatchPaginationChangedEvent({newPageSize:!0,keepRenderedRows:!0}))}setZeroRows(){this.masterRowCount=0,this.topDisplayedRowIndex=0,this.bottomDisplayedRowIndex=-1,this.currentPage=0,this.totalPages=0}adjustCurrentPageIfInvalid(){const e=this.totalPages;this.currentPage>=e&&(this.currentPage=e-1);const t=this.currentPage;(!isFinite(t)||isNaN(t)||t<0)&&(this.currentPage=0)}calculatePagesMasterRowsOnly(){const e=this.beans.rowModel,t=e.getTopLevelRowCount();if(this.masterRowCount=t,t<=0){this.setZeroRows();return}const a=this.pageSize,n=t-1;this.totalPages=Math.floor(n/a)+1,this.adjustCurrentPageIfInvalid();const r=this.currentPage,o=a*r;let i=a*(r+1)-1;if(i>n&&(i=n),this.topDisplayedRowIndex=e.getTopLevelRowDisplayedIndex(o),i===n)this.bottomDisplayedRowIndex=e.getRowCount()-1;else{const s=e.getTopLevelRowDisplayedIndex(i+1);this.bottomDisplayedRowIndex=s-1}}getMasterRowCount(){return this.masterRowCount}calculatePagesAllRows(){const e=this.beans.rowModel.getRowCount();if(this.masterRowCount=e,e===0){this.setZeroRows();return}const{pageSize:t,currentPage:a}=this,n=e-1;this.totalPages=Math.floor(n/t)+1,this.adjustCurrentPageIfInvalid(),this.topDisplayedRowIndex=t*a,this.bottomDisplayedRowIndex=t*(a+1)-1,this.bottomDisplayedRowIndex>n&&(this.bottomDisplayedRowIndex=n)}calculatedPagesNotActive(){this.setPageSize(void 0,"autoCalculated"),this.totalPages=1,this.currentPage=0,this.topDisplayedRowIndex=0,this.bottomDisplayedRowIndex=this.beans.rowModel.getRowCount()-1}dispatchPaginationChangedEvent(e){const{keepRenderedRows:t=!1,newPage:a=!1,newPageSize:n=!1}=e;this.eventSvc.dispatchEvent({type:"paginationChanged",animate:!1,newData:!1,newPage:a,newPageSize:n,keepRenderedRows:t})}},By={moduleName:"Pagination",version:N,beans:[Wz,zz],icons:{first:"first",previous:"previous",next:"next",last:"last"},apiFunctions:{paginationIsLastPageFound:Rz,paginationGetPageSize:Fz,paginationGetCurrentPage:Mz,paginationGetTotalPages:Ez,paginationGetRowCount:Pz,paginationGoToNextPage:Az,paginationGoToPreviousPage:Tz,paginationGoToFirstPage:Dz,paginationGoToLastPage:Iz,paginationGoToPage:Lz},dependsOn:[ja]},Uz=".ag-row-pinned-source{background-color:var(--ag-pinned-source-row-background-color);color:var(--ag-pinned-source-row-text-color);font-weight:var(--ag-pinned-source-row-font-weight)}.ag-row-pinned-manual{background-color:var(--ag-pinned-row-background-color);color:var(--ag-pinned-row-text-color);font-weight:var(--ag-pinned-row-font-weight)}";function jz(e){return e.pinnedRowModel?.getPinnedTopRowCount()??0}function _z(e){return e.pinnedRowModel?.getPinnedBottomRowCount()??0}function Kz(e,t){return e.pinnedRowModel?.getPinnedTopRow(t)}function Yz(e,t){return e.pinnedRowModel?.getPinnedBottomRow(t)}function Qz(e,t,a){return e.pinnedRowModel?.forEachPinnedRow(t,a)}var Ny={moduleName:"PinnedRow",version:N,beans:[Av],css:[Uz],apiFunctions:{getPinnedTopRowCount:jz,getPinnedBottomRowCount:_z,getPinnedTopRow:Kz,getPinnedBottomRow:Yz,forEachPinnedRow:Qz},icons:{rowPin:"pin",rowPinTop:"pinned-top",rowPinBottom:"pinned-bottom",rowUnpin:"un-pin"}},Zz="\u2191",Xz="\u2193",Jz={tag:"span",children:[{tag:"span",ref:"eDelta",cls:"ag-value-change-delta"},{tag:"span",ref:"eValue",cls:"ag-value-change-value"}]},$z=class extends T{constructor(){super(Jz),this.eValue=x,this.eDelta=x,this.refreshCount=0}init(e){this.refresh(e,!0)}showDelta(e,t){const a=Math.abs(t),n=e.formatValue(a),r=A(n)?n:a,o=t>=0,i=this.eDelta;o?i.textContent=Zz+r:i.textContent=Xz+r,i.classList.toggle("ag-value-change-delta-up",o),i.classList.toggle("ag-value-change-delta-down",!o)}setTimerToRemoveDelta(){this.refreshCount++;const e=this.refreshCount;this.beans.frameworkOverrides.wrapIncoming(()=>{window.setTimeout(()=>{e===this.refreshCount&&this.hideDeltaValue()},2e3)})}hideDeltaValue(){this.eValue.classList.remove("ag-value-change-value-highlight"),ee(this.eDelta)}refresh(e,t=!1){const{value:a,valueFormatted:n}=e,{eValue:r,lastValue:o,beans:i}=this;if(a===o||(A(n)?r.textContent=n:A(a)?r.textContent=a:ee(r),i.filterManager?.isSuppressFlashingCellsBecauseFiltering()))return!1;const s=a&&typeof a=="object"&&"toNumber"in a?a.toNumber():a,l=o&&typeof o=="object"&&"toNumber"in o?o.toNumber():o;if(s===l)return!1;if(typeof s=="number"&&typeof l=="number"){const c=s-l;this.showDelta(e,c)}return o&&r.classList.add("ag-value-change-value-highlight"),t||this.setTimerToRemoveDelta(),this.lastValue=a,!0}},e5=".ag-value-slide-out{opacity:1}:where(.ag-ltr) .ag-value-slide-out{margin-right:5px;transition:opacity 3s,margin-right 3s}:where(.ag-rtl) .ag-value-slide-out{margin-left:5px;transition:opacity 3s,margin-left 3s}:where(.ag-ltr,.ag-rtl) .ag-value-slide-out{transition-timing-function:linear}.ag-value-slide-out-end{opacity:0}:where(.ag-ltr) .ag-value-slide-out-end{margin-right:10px}:where(.ag-rtl) .ag-value-slide-out-end{margin-left:10px}",t5={tag:"span",children:[{tag:"span",ref:"eCurrent",cls:"ag-value-slide-current"}]},a5=class extends T{constructor(){super(t5),this.eCurrent=x,this.refreshCount=0,this.registerCSS(e5)}init(e){this.refresh(e,!0)}addSlideAnimation(){this.refreshCount++;const e=this.refreshCount;this.ePrevious?.remove();const{beans:t,eCurrent:a}=this,n=re({tag:"span",cls:"ag-value-slide-previous ag-value-slide-out"});this.ePrevious=n,n.textContent=a.textContent,this.getGui().insertBefore(n,a),t.frameworkOverrides.wrapIncoming(()=>{window.setTimeout(()=>{e===this.refreshCount&&this.ePrevious.classList.add("ag-value-slide-out-end")},50),window.setTimeout(()=>{e===this.refreshCount&&(this.ePrevious?.remove(),this.ePrevious=null)},3e3)})}refresh(e,t=!1){let a=e.value;if(ie(a)&&(a=""),a===this.lastValue||this.beans.filterManager?.isSuppressFlashingCellsBecauseFiltering())return!1;t||this.addSlideAnimation(),this.lastValue=a;const n=this.eCurrent;return A(e.valueFormatted)?n.textContent=e.valueFormatted:A(e.value)?n.textContent=a:ee(n),!0}},n5=class extends F{constructor(){super(...arguments),this.beanName="cellFlashSvc",this.nextAnimationTime=null,this.nextAnimationCycle=null,this.animations={highlight:new Map,"data-changed":new Map}}animateCell(e,t,a=this.beans.gos.get("cellFlashDuration"),n=this.beans.gos.get("cellFadeDuration")){const r=this.animations[t];r.delete(e);const o=Date.now(),i=o+a,s=o+a+n,l={phase:"flash",flashEndTime:i,fadeEndTime:s};r.set(e,l);const c=`ag-cell-${t}`,d=`${c}-animation`,{comp:u,eGui:{style:g}}=e;u.toggleCss(c,!0),u.toggleCss(d,!1),g.removeProperty("transition"),g.removeProperty("transition-delay"),this.nextAnimationTime&&i+15{this.nextAnimationCycle=setTimeout(this.advanceAnimations.bind(this),a)}),this.nextAnimationTime=i)}advanceAnimations(){const e=Date.now();let t=null;for(const a of Object.keys(this.animations)){const n=this.animations[a],r=`ag-cell-${a}`,o=`${r}-animation`;for(const[i,s]of n){if(!i.isAlive()||!i.comp){n.delete(i);continue}const{phase:l,flashEndTime:c,fadeEndTime:d}=s,u=l==="flash"?c:d;if(!(e+15>=u)){t=Math.min(u,t??1/0);continue}const{comp:h,eGui:{style:p}}=i;switch(l){case"flash":h.toggleCss(r,!1),h.toggleCss(o,!0),p.transition=`background-color ${d-c}ms`,p.transitionDelay=`${c-e}ms`,t=Math.min(d,t??1/0),s.phase="fade";break;case"fade":h.toggleCss(r,!1),h.toggleCss(o,!1),p.removeProperty("transition"),p.removeProperty("transition-delay"),n.delete(i);break}}}t==null?(this.nextAnimationTime=null,this.nextAnimationCycle=null):t&&(this.nextAnimationCycle=setTimeout(this.advanceAnimations.bind(this),t-e),this.nextAnimationTime=t)}onFlashCells(e,t){if(!e.comp)return;const a=ln(e.cellPosition);t.cells[a]&&this.animateCell(e,"highlight")}flashCell(e,t){this.animateCell(e,"data-changed",t?.flashDuration,t?.fadeDuration)}destroy(){for(const e of Object.keys(this.animations))this.animations[e].clear()}};function r5(e,t={}){const{cellFlashSvc:a}=e;a&&e.frameworkOverrides.wrapIncoming(()=>{for(const n of e.rowRenderer.getCellCtrls(t.rowNodes,t.columns))a.flashCell(n,t)})}var Qh={moduleName:"HighlightChanges",version:N,beans:[n5],userComponents:{agAnimateShowChangeCellRenderer:$z,agAnimateSlideCellRenderer:a5},apiFunctions:{flashCells:r5}};function o5(e,t,a){if(!t)return;const n=e.ctrlsSvc.getGridBodyCtrl().eGridBody,r=`aria-${t}`;a===null?n.removeAttribute(r):n.setAttribute(r,a)}function i5(e,t={}){e.frameworkOverrides.wrapIncoming(()=>e.rowRenderer.refreshCells(t))}function s5(e){e.frameworkOverrides.wrapIncoming(()=>{for(const t of e.ctrlsSvc.getHeaderRowContainerCtrls())t.refresh()})}function l5(e){return e.animationFrameSvc?.isQueueEmpty()??!0}function c5(e){e.animationFrameSvc?.flushAllFrames()}function d5(e){return{rowHeight:Ft(e),headerHeight:Gi(e)}}function u5(e,t={}){const a=[];for(const o of e.rowRenderer.getCellCtrls(t.rowNodes,t.columns)){const i=o.getCellRenderer();i!=null&&a.push(Ua(i))}if(t.columns?.length)return a;const n=[],r=Jg(t.rowNodes);for(const o of e.rowRenderer.getAllRowCtrls()){if(r&&!$g(o.rowNode,r)||!o.isFullWidth())continue;const i=o.getFullWidthCellRenderers();for(let s=0;s{const l=s.__autoHeights;let c=Xe(this.beans,s).height;for(const d of r){let u=l?.[d.getColId()];const g=a?.getCellSpan(d,s);if(g){if(g.getLastNode()!==s)continue;if(u=a?.getCellSpan(d,s)?.getLastNodeAutoHeight(),!u)return}if(u==null){if(this.colSpanSkipCell(d,s))continue;return}c=Math.max(u,c)}c!==s.rowHeight&&(s.setRowHeight(c),o=!0)};n?.forEachPinnedRow?.("top",i),n?.forEachPinnedRow?.("bottom",i),t.forEachDisplayedNode?.(i),o&&t.onRowHeightChanged?.()}setRowAutoHeight(e,t,a){if(e.__autoHeights??(e.__autoHeights={}),t==null){delete e.__autoHeights[a.getId()];return}const n=e.__autoHeights[a.getId()];e.__autoHeights[a.getId()]=t,n!==t&&this.requestCheckAutoHeight()}colSpanSkipCell(e,t){const{colModel:a,colViewport:n,visibleCols:r}=this.beans;if(!a.colSpanActive)return!1;let o=[];switch(e.getPinned()){case"left":o=r.getLeftColsForRow(t);break;case"right":o=r.getRightColsForRow(t);break;case null:o=n.getColsWithinViewport(t);break}return!o.includes(e)}setupCellAutoHeight(e,t,a){if(!e.column.isAutoHeight()||!t)return!1;this.wasEverActive=!0;const n=t.parentElement,{rowNode:r,column:o}=e,i=this.beans,s=d=>{if(this.beans.editSvc?.isEditing(e)||!e.isAlive()||!a.isAlive())return;const{paddingTop:u,paddingBottom:g,borderBottomWidth:h,borderTopWidth:p}=hr(n),f=u+g+h+p,v=t.offsetHeight+f;if(d<5){const b=!me(i)?.contains(t),y=v==0;if(b||y){window.setTimeout(()=>s(d+1),0);return}}this.setRowAutoHeight(r,v,o)},l=()=>s(0);l();const c=Ca(i,t,l);return a.addDestroyFunc(()=>{c(),this.setRowAutoHeight(r,void 0,o)}),!0}setAutoHeightActive(e){this.active=e.list.some(t=>t.isVisible()&&t.isAutoHeight())}areRowsMeasured(){if(!this.active)return!0;const e=this.beans.rowRenderer.getAllRowCtrls();let t=null;for(const{rowNode:a}of e)if((!t||this.beans.colModel.colSpanActive)&&(t=this.beans.colViewport.getColsWithinViewport(a).filter(r=>r.isAutoHeight())),t.length!==0){if(!a.__autoHeights)return!1;for(const n of t){const r=a.__autoHeights[n.getColId()];if(!r||a.rowHeight{p=b,f=null,m=y},C=b=>{const y=!b.isExpandable()&&!b.group&&!b.detail&&(d?!d({rowNode:b}):!0);if(b.rowIndex==null||!y){v(null,null);return}if(p==null||b.level!==p.level||b.footer||f&&b.rowIndex-1!==f?.getLastNode().rowIndex){v(b,o.getValue(t,b,"data"));return}const S=o.getValue(t,b,"data");if(h){const k=B(a,{valueA:m,nodeA:p,valueB:S,nodeB:b,column:t,colDef:s});if(!g(k)){v(b,S);return}}else if(u?!u(m,S):m!==S){v(b,S);return}if(!f){const k=l?.get(p);k?.firstNode===p?(k.reset(),f=k):f=new h5(t,p),c.set(p,f)}f.addSpannedNode(b),c.set(b,f)};switch(e){case"center":r.forEachDisplayedNode?.(b=>{(!i||i.isRowInPage(b.rowIndex))&&C(b)}),this.centerValueNodeMap=c;break;case"top":n?.forEachPinnedRow("top",C),this.topValueNodeMap=c;break;case"bottom":n?.forEachPinnedRow("bottom",C),this.bottomValueNodeMap=c;break}}isCellSpanning(e){return!!this.getCellSpan(e)}getCellSpan(e){return this.getNodeMap(e.rowPinned).get(e)}getNodeMap(e){switch(e){case"top":return this.topValueNodeMap;case"bottom":return this.bottomValueNodeMap;default:return this.centerValueNodeMap}}},f5=class extends F{constructor(){super(...arguments),this.beanName="rowSpanSvc",this.spanningColumns=new Map,this.debouncePinnedEvent=ve(this,this.dispatchCellsUpdatedEvent.bind(this,!0),0),this.debounceModelEvent=ve(this,this.dispatchCellsUpdatedEvent.bind(this,!1),0),this.pinnedTimeout=null,this.modelTimeout=null}postConstruct(){const e=this.onRowDataUpdated.bind(this),t=this.buildPinnedCaches.bind(this);this.addManagedEventListeners({paginationChanged:this.buildModelCaches.bind(this),pinnedRowDataChanged:t,pinnedRowsChanged:t,rowNodeDataChanged:e,cellValueChanged:e})}register(e){const{gos:t}=this.beans;if(!t.get("enableCellSpan")||this.spanningColumns.has(e))return;const a=this.createManagedBean(new p5(e));this.spanningColumns.set(e,a),a.buildCache("top"),a.buildCache("bottom"),a.buildCache("center"),this.debouncePinnedEvent(),this.debounceModelEvent()}dispatchCellsUpdatedEvent(e){this.dispatchLocalEvent({type:"spannedCellsUpdated",pinned:e})}deregister(e){this.spanningColumns.delete(e)}onRowDataUpdated({node:e}){const{spannedRowRenderer:t}=this.beans;if(e.rowPinned){if(this.pinnedTimeout!=null)return;this.pinnedTimeout=window.setTimeout(()=>{this.pinnedTimeout=null,this.buildPinnedCaches(),t?.createCtrls("top"),t?.createCtrls("bottom")},0);return}this.modelTimeout==null&&(this.modelTimeout=window.setTimeout(()=>{this.modelTimeout=null,this.buildModelCaches(),t?.createCtrls("center")},0))}buildModelCaches(){this.modelTimeout!=null&&clearTimeout(this.modelTimeout),this.spanningColumns.forEach(e=>e.buildCache("center")),this.debounceModelEvent()}buildPinnedCaches(){this.pinnedTimeout!=null&&clearTimeout(this.pinnedTimeout),this.spanningColumns.forEach(e=>{e.buildCache("top"),e.buildCache("bottom")}),this.debouncePinnedEvent()}isCellSpanning(e,t){const a=this.spanningColumns.get(e);return a?a.isCellSpanning(t):!1}getCellSpanByPosition(e){const{pinnedRowModel:t,rowModel:a}=this.beans,n=e.column,r=e.rowIndex,o=this.spanningColumns.get(n);if(!o)return;let i;switch(e.rowPinned){case"top":i=t?.getPinnedTopRow(r);break;case"bottom":i=t?.getPinnedBottomRow(r);break;default:i=a.getRow(r)}if(i)return o.getCellSpan(i)}getCellStart(e){const t=this.getCellSpanByPosition(e);return t?{...e,rowIndex:t.firstNode.rowIndex}:e}getCellEnd(e){const t=this.getCellSpanByPosition(e);return t?{...e,rowIndex:t.getLastNode().rowIndex}:e}getCellSpan(e,t){const a=this.spanningColumns.get(e);if(a)return a.getCellSpan(t)}forEachSpannedColumn(e,t){for(const[a,n]of this.spanningColumns)if(n.isCellSpanning(e)){const r=n.getCellSpan(e);t(a,r)}}destroy(){super.destroy(),this.spanningColumns.clear()}},m5=class extends xo{constructor(e,t,a){super(e.col,e.firstNode,a,t),this.cellSpan=e,this.SPANNED_CELL_CSS_CLASS="ag-spanned-cell"}setComp(e,t,a,n,r,o,i){this.eWrapper=a,super.setComp(e,t,a,n,r,o,i),this.setAriaRowSpan()}isCellSpanning(){return!0}getCellSpan(){return this.cellSpan}refreshAriaRowIndex(){const{eGui:e,rowNode:t}=this;!e||t.rowIndex==null||ur(e,t.rowIndex)}setAriaRowSpan(){sR(this.eGui,this.cellSpan.spannedNodes.size)}setFocusedCellPosition(e){this.focusedCellPosition=e}getFocusedCellPosition(){return this.focusedCellPosition??this.cellPosition}checkCellFocused(){const e=this.beans.focusSvc.getFocusedCell();return!!e&&this.cellSpan.doesSpanContain(e)}applyStaticCssClasses(){super.applyStaticCssClasses(),this.comp.toggleCss(this.SPANNED_CELL_CSS_CLASS,!0)}onCellFocused(e){const{beans:t}=this;if(Oi(t)){this.focusedCellPosition=void 0;return}const a=this.isCellFocused();a||(this.focusedCellPosition=void 0),e&&a&&(this.focusedCellPosition={rowIndex:e.rowIndex,rowPinned:e.rowPinned,column:e.column}),super.onCellFocused(e)}getRootElement(){return this.eWrapper}},v5=class extends sc{getInitialRowClasses(e){return["ag-spanned-row"]}getNewCellCtrl(e){const t=this.beans.rowSpanSvc?.getCellSpan(e,this.rowNode);if(!(!t||t.firstNode!==this.rowNode))return new m5(t,this,this.beans)}isCorrectCtrlForSpan(e){const t=this.beans.rowSpanSvc?.getCellSpan(e.column,this.rowNode);return!t||t.firstNode!==this.rowNode?!1:e.getCellSpan()===t}onRowHeightChanged(){}refreshFirstAndLastRowStyles(){}addHoverFunctionality(){}resetHoveredStatus(){}},C5=class extends F{constructor(){super(...arguments),this.beanName="spannedRowRenderer",this.topCtrls=new Map,this.bottomCtrls=new Map,this.centerCtrls=new Map}postConstruct(){this.addManagedEventListeners({displayedRowsChanged:this.createAllCtrls.bind(this)})}createAllCtrls(){this.createCtrls("top"),this.createCtrls("bottom"),this.createCtrls("center")}createCtrls(e){const{rowSpanSvc:t}=this.beans,a=this.getCtrlsMap(e),n=a.size,r=this.getAllRelevantRowControls(e),o=new Map;let i=!1;for(const l of r)l.isAlive()&&t?.forEachSpannedColumn(l.rowNode,(c,d)=>{if(o.has(d.firstNode))return;const u=a.get(d.firstNode);if(u){o.set(d.firstNode,u),a.delete(d.firstNode);return}i=!0;const g=new v5(d.firstNode,this.beans,!1,!1,!1);o.set(d.firstNode,g)});this.setCtrlsMap(e,o);const s=o.size===n;if(!(!i&&s)){for(const l of a.values())l.destroyFirstPass(!0),l.destroySecondPass();this.dispatchLocalEvent({type:"spannedRowsUpdated",ctrlsKey:e})}}getAllRelevantRowControls(e){const{rowRenderer:t}=this.beans;switch(e){case"top":return t.topRowCtrls;case"bottom":return t.bottomRowCtrls;case"center":return t.allRowCtrls}}getCellByPosition(e){const{rowSpanSvc:t}=this.beans,a=t?.getCellSpanByPosition(e);if(!a)return;const n=this.getCtrlsMap(e.rowPinned).get(a.firstNode);if(n)return n.getAllCellCtrls().find(r=>r.column===e.column)}getCtrls(e){return[...this.getCtrlsMap(e).values()]}destroyRowCtrls(e){for(const t of this.getCtrlsMap(e).values())t.destroyFirstPass(!0),t.destroySecondPass();this.setCtrlsMap(e,new Map)}getCtrlsMap(e){switch(e){case"top":return this.topCtrls;case"bottom":return this.bottomCtrls;default:return this.centerCtrls}}setCtrlsMap(e,t){switch(e){case"top":this.topCtrls=t;break;case"bottom":this.bottomCtrls=t;break;default:this.centerCtrls=t;break}}destroy(){super.destroy(),this.destroyRowCtrls("top"),this.destroyRowCtrls("bottom"),this.destroyRowCtrls("center")}},Wy={moduleName:"CellSpan",version:N,beans:[f5,C5]},b5=class extends F{constructor(){super(...arguments),this.beanName="selectionColSvc"}postConstruct(){this.addManagedPropertyListener("rowSelection",e=>{this.onSelectionOptionsChanged(e.currentValue,e.previousValue,Oa(e.source))}),this.addManagedPropertyListener("selectionColumnDef",this.updateColumns.bind(this))}addColumns(e){const t=this.columns;t!=null&&(e.list=t.list.concat(e.list),e.tree=t.tree.concat(e.tree),Ei(e))}createColumns(e,t){const a=()=>{oa(this.beans,this.columns?.tree),this.columns=null},n=e.treeDepth,o=(this.columns?.treeDepth??-1)==n,i=this.generateSelectionCols();if(Mi(i,this.columns?.list??[])&&o)return;a();const{colGroupSvc:l}=this.beans,c=l?.findDepth(e.tree)??0,d=l?.balanceTreeForAutoCols(i,c)??[];this.columns={list:i,tree:d,treeDepth:c,map:{}},t(g=>{if(!g)return null;const h=g.filter(p=>!za(p));return[...i,...h]})}updateColumns(e){const t=Oa(e.source),{beans:a}=this;for(const n of this.columns?.list??[]){const r=this.createSelectionColDef(e.currentValue);n.setColDef(r,null,t),Ye(a,{state:[yl(r,n.colId)]},t)}}getColumn(e){return this.columns?.list.find(t=>on(t,e))??null}getColumns(){return this.columns?.list??null}isSelectionColumnEnabled(){const{gos:e,beans:t}=this,a=e.get("rowSelection");if(typeof a!="object"||!Lt(e))return!1;const n=(t.autoColSvc?.getColumns()?.length??0)>0;if(a.checkboxLocation==="autoGroupColumn"&&n)return!1;const r=!!Fn(a),o=Si(a);return r||o}createSelectionColDef(e){const{gos:t}=this,a=e??t.get("selectionColumnDef"),n=t.get("enableRtl"),{rowSpan:r,spanRows:o,...i}=a??{};return{width:50,resizable:!1,suppressHeaderMenuButton:!0,sortable:!1,suppressMovable:!0,lockPosition:n?"right":"left",comparator(s,l,c,d){const u=c.isSelected(),g=d.isSelected();return u===g?0:u?1:-1},editable:!1,suppressFillHandle:!0,suppressAutoSize:!0,pinned:null,...i,colId:Cl,chartDataType:"excluded"}}generateSelectionCols(){if(!this.isSelectionColumnEnabled())return[];const e=this.createSelectionColDef(),t=e.colId;this.gos.validateColDef(e,t,!0);const a=new na(e,null,t,!1);return this.createBean(a),[a]}onSelectionOptionsChanged(e,t,a){const n=t&&typeof t!="string"?Fn(t):void 0,r=e&&typeof e!="string"?Fn(e):void 0,o=n!==r,i=t&&typeof t!="string"?Si(t):void 0,s=e&&typeof e!="string"?Si(e):void 0,l=i!==s,c=oo(e),d=oo(t);(o||l||c!==d)&&this.beans.colModel.refreshAll(a)}destroy(){oa(this.beans,this.columns?.tree),super.destroy()}refreshVisibility(e,t,a){if(!this.columns?.list.length)return;const n=e.length+t.length+a.length;if(n===0)return;const r=this.columns.list[0];if(!r.isVisible())return;const o=()=>{let l;switch(r.pinned){case"left":case!0:l=e;break;case"right":l=a;break;default:l=t}l&&Ae(l,r)};(this.beans.rowNumbersSvc?.getColumn(Fi)?2:1)===n&&o()}},w5=':where(.ag-selection-checkbox) .ag-checkbox-input-wrapper:before{content:"";cursor:pointer;inset:-8px;position:absolute}';function y5(e,t){if(!t.nodes.every(i=>i.rowPinned&&!ic(i)?(R(59),!1):i.id===void 0?(R(60),!1):!0))return;const{nodes:n,source:r,newValue:o}=t;e.selectionSvc?.setNodesSelected({nodes:n,source:r??"api",newValue:o})}function S5(e,t,a="apiSelectAll"){e.selectionSvc?.selectAllRowNodes({source:a,selectAll:t})}function x5(e,t,a="apiSelectAll"){e.selectionSvc?.deselectAllRowNodes({source:a,selectAll:t})}function k5(e,t="apiSelectAllFiltered"){e.selectionSvc?.selectAllRowNodes({source:t,selectAll:"filtered"})}function R5(e,t="apiSelectAllFiltered"){e.selectionSvc?.deselectAllRowNodes({source:t,selectAll:"filtered"})}function F5(e,t="apiSelectAllCurrentPage"){e.selectionSvc?.selectAllRowNodes({source:t,selectAll:"currentPage"})}function M5(e,t="apiSelectAllCurrentPage"){e.selectionSvc?.deselectAllRowNodes({source:t,selectAll:"currentPage"})}function E5(e){return e.selectionSvc?.getSelectedNodes()??[]}function P5(e){return e.selectionSvc?.getSelectedRows()??[]}var A5={tag:"div",cls:"ag-selection-checkbox",role:"presentation",children:[{tag:"ag-checkbox",ref:"eCheckbox",role:"presentation"}]},T5=class extends T{constructor(){super(A5,[da]),this.eCheckbox=x}postConstruct(){this.eCheckbox.setPassive(!0)}onDataChanged(){this.onSelectionChanged()}onSelectableChanged(){this.showOrHideSelect()}onSelectionChanged(){const e=this.getLocaleTextFunc(),{rowNode:t,eCheckbox:a}=this,n=t.isSelected(),r=Ys(e,n),[o,i]=t.selectable?["ariaRowToggleSelection","Press Space to toggle row selection"]:["ariaRowSelectionDisabled","Row Selection is disabled for this row"],s=e(o,i);a.setValue(n,!0),a.setInputAriaLabel(`${s} (${r})`)}init(e){if(this.rowNode=e.rowNode,this.column=e.column,this.overrides=e.overrides,this.onSelectionChanged(),this.addManagedListeners(this.eCheckbox.getWrapperElement(),{dblclick:Fe,click:n=>{Fe(n),!this.eCheckbox.isDisabled()&&this.beans.selectionSvc?.handleSelectionEvent(n,this.rowNode,"checkboxSelected")}}),this.addManagedListeners(this.rowNode,{rowSelected:this.onSelectionChanged.bind(this),dataChanged:this.onDataChanged.bind(this),selectableChanged:this.onSelectableChanged.bind(this)}),this.addManagedPropertyListener("rowSelection",({currentValue:n,previousValue:r})=>{const o=typeof n=="object"?ou(n):void 0,i=typeof r=="object"?ou(r):void 0;o!==i&&this.onSelectableChanged()}),fl(this.gos)||typeof this.getIsVisible()=="function"){const n=this.showOrHideSelect.bind(this);this.addManagedEventListeners({displayedColumnsChanged:n}),this.addManagedListeners(this.rowNode,{dataChanged:n,cellChanged:n}),this.showOrHideSelect()}this.eCheckbox.getInputElement().setAttribute("tabindex","-1")}showOrHideSelect(){const{column:e,rowNode:t,overrides:a,gos:n}=this,r=t.selectable,o=this.getIsVisible();let i;if(typeof o=="function"){const u=a?.callbackParams;if(!e)i=o({...u,node:t,data:t.data});else{const g=e.createColumnFunctionCallbackParams(t);i=o({...u,...g})}}else i=o??!1;const s=r&&!i||!r&&i,l=r||i,c=n.get("rowSelection"),d=c&&typeof c!="string"?!ou(c):!!e?.getColDef().showDisabledCheckboxes;this.setVisible(l&&(s?d:!0)),this.setDisplayed(l&&(s?d:!0)),l&&this.eCheckbox.setDisabled(s),a?.removeHidden&&this.setDisplayed(l)}getIsVisible(){const e=this.overrides;if(e)return e.isVisible;const t=this.gos.get("rowSelection");return t&&typeof t!="string"?Fn(t):this.column?.getColDef()?.checkboxSelection}},D5=class{constructor(e,t){this.rowModel=e,this.pinnedRowModel=t,this.selectAll=!1,this.rootId=null,this.endId=null,this.cachedRange=[]}reset(){this.rootId=null,this.endId=null,this.cachedRange.length=0}setRoot(e){this.rootId=e.id,this.endId=null,this.cachedRange.length=0}setEndRange(e){this.endId=e.id,this.cachedRange.length=0}getRange(){if(this.cachedRange.length===0){const e=this.getRoot(),t=this.getEnd();if(e==null||t==null)return this.cachedRange;this.cachedRange=this.getNodesInRange(e,t)??[]}return this.cachedRange}isInRange(e){return this.rootId===null?!1:this.getRange().some(t=>t.id===e.id)}getRoot(e){if(this.rootId)return this.getRowNode(this.rootId);if(e)return this.setRoot(e),e}getEnd(){if(this.endId)return this.getRowNode(this.endId)}getRowNode(e){let t;const{rowModel:a,pinnedRowModel:n}=this;return t??(t=a.getRowNode(e)),n?.isManual()&&(t??(t=n.getPinnedRowById(e,"top")),t??(t=n.getPinnedRowById(e,"bottom"))),t}truncate(e){const t=this.getRange();if(t.length===0)return{keep:[],discard:[]};const a=t[0].id===this.rootId,n=t.findIndex(r=>r.id===e.id);if(n>-1){const r=t.slice(0,n),o=t.slice(n+1);return this.setEndRange(e),a?{keep:r,discard:o}:{keep:o,discard:r}}else return{keep:t,discard:[]}}extend(e,t=!1){const a=this.getRoot();if(a==null){const r=this.getRange().slice();return t&&e.depthFirstSearch(o=>!o.group&&r.push(o)),r.push(e),this.setRoot(e),{keep:r,discard:[]}}const n=this.getNodesInRange(a,e);if(!n)return this.setRoot(e),{keep:[e],discard:[]};if(n.find(r=>r.id===this.endId))return this.setEndRange(e),{keep:this.getRange(),discard:[]};{const r=this.getRange().slice();return this.setEndRange(e),{keep:this.getRange(),discard:r}}}getNodesInRange(e,t){const{pinnedRowModel:a,rowModel:n}=this;if(!a?.isManual())return n.getNodesInRangeForSelection(e,t);if(e.rowPinned==="top"&&!t.rowPinned)return ua(a,"top",e,void 0).concat(n.getNodesInRangeForSelection(n.getRow(0),t)??[]);if(e.rowPinned==="bottom"&&!t.rowPinned){const r=ua(a,"bottom",void 0,e),o=n.getRowCount(),i=n.getRow(o-1);return(n.getNodesInRangeForSelection(t,i)??[]).concat(r)}if(!e.rowPinned&&!t.rowPinned)return n.getNodesInRangeForSelection(e,t);if(e.rowPinned==="top"&&t.rowPinned==="top")return ua(a,"top",e,t);if(e.rowPinned==="bottom"&&t.rowPinned==="top"){const r=ua(a,"top",t,void 0),o=ua(a,"bottom",void 0,e),i=n.getRow(0),s=n.getRow(n.getRowCount()-1);return r.concat(n.getNodesInRangeForSelection(i,s)??[]).concat(o)}if(!e.rowPinned&&t.rowPinned==="top")return ua(a,"top",t,void 0).concat(n.getNodesInRangeForSelection(n.getRow(0),e)??[]);if(e.rowPinned==="top"&&t.rowPinned==="bottom"){const r=ua(a,"top",e,void 0),o=ua(a,"bottom",void 0,t),i=n.getRow(0),s=n.getRow(n.getRowCount()-1);return r.concat(n.getNodesInRangeForSelection(i,s)??[]).concat(o)}if(e.rowPinned==="bottom"&&t.rowPinned==="bottom")return ua(a,"bottom",e,t);if(!e.rowPinned&&t.rowPinned==="bottom"){const r=ua(a,"bottom",void 0,t),o=n.getRow(n.getRowCount());return(n.getNodesInRangeForSelection(e,o)??[]).concat(r)}return null}},I5=class extends F{constructor(e){super(),this.column=e,this.cbSelectAllVisible=!1,this.processingEventFromCheckbox=!1}onSpaceKeyDown(e){const t=this.cbSelectAll;t.isDisplayed()&&!t.getGui().contains(ne(this.beans))&&(e.preventDefault(),t.setValue(!t.getValue()))}getCheckboxGui(){return this.cbSelectAll.getGui()}setComp(e){this.headerCellCtrl=e;const t=this.createManagedBean(new Vn);this.cbSelectAll=t,t.addCss("ag-header-select-all"),De(t.getGui(),"presentation"),this.showOrHideSelectAll();const a=this.updateStateOfCheckbox.bind(this);this.addManagedEventListeners({newColumnsLoaded:()=>this.showOrHideSelectAll(),displayedColumnsChanged:this.onDisplayedColumnsChanged.bind(this),selectionChanged:a,paginationChanged:a,modelUpdated:a}),this.addManagedPropertyListener("rowSelection",({currentValue:n,previousValue:r})=>{const o=i=>typeof i=="string"||!i||i.mode==="singleRow"?void 0:i.selectAll;o(n)!==o(r)&&this.showOrHideSelectAll(),this.updateStateOfCheckbox()}),this.addManagedListeners(t,{fieldValueChanged:this.onCbSelectAll.bind(this)}),t.getInputElement().setAttribute("tabindex","-1"),this.refreshSelectAllLabel()}onDisplayedColumnsChanged(e){this.isAlive()&&this.showOrHideSelectAll(e.source==="uiColumnMoved")}showOrHideSelectAll(e=!1){const t=this.isCheckboxSelection();this.cbSelectAllVisible=t,this.cbSelectAll.setDisplayed(t),t&&(this.checkRightRowModelType("selectAllCheckbox"),this.checkSelectionType("selectAllCheckbox"),this.updateStateOfCheckbox()),this.refreshSelectAllLabel(e)}updateStateOfCheckbox(){if(!this.cbSelectAllVisible||this.processingEventFromCheckbox)return;this.processingEventFromCheckbox=!0;const e=this.getSelectAllMode(),t=this.beans.selectionSvc,a=this.cbSelectAll,n=t.getSelectAllState(e);a.setValue(n);const r=t.hasNodesToSelect(e);a.setDisabled(!r),this.refreshSelectAllLabel(),this.processingEventFromCheckbox=!1}refreshSelectAllLabel(e=!1){const t=this.getLocaleTextFunc(),{headerCellCtrl:a,cbSelectAll:n,cbSelectAllVisible:r}=this,o=n.getValue(),i=Ys(t,o),s=t("ariaRowSelectAll","Press Space to toggle all rows selection");a.setAriaDescriptionProperty("selectAll",r?`${s} (${i})`:null),n.setInputAriaLabel(t("ariaHeaderSelection","Column with Header Selection")),e||a.announceAriaDescription()}checkSelectionType(e){return Ia(this.gos)?!0:(R(128,{feature:e}),!1)}checkRightRowModelType(e){const{gos:t,rowModel:a}=this.beans;return se(t)||ft(t)?!0:(R(129,{feature:e,rowModel:a.getType()}),!1)}onCbSelectAll(){if(this.processingEventFromCheckbox||!this.cbSelectAllVisible)return;const e=this.cbSelectAll.getValue(),t=this.getSelectAllMode();let a="uiSelectAll";t==="currentPage"?a="uiSelectAllCurrentPage":t==="filtered"&&(a="uiSelectAllFiltered");const n={source:a,selectAll:t},r=this.beans.selectionSvc;e?r.selectAllRowNodes(n):r.deselectAllRowNodes(n)}isCheckboxSelection(){const{column:e,gos:t,beans:a}=this,o=typeof t.get("rowSelection")=="object"?"headerCheckbox":"headerCheckboxSelection";return Uy(a,e)&&this.checkRightRowModelType(o)&&this.checkSelectionType(o)}getSelectAllMode(){const e=Km(this.gos,!1);if(e)return e;const{headerCheckboxSelectionCurrentPageOnly:t,headerCheckboxSelectionFilteredOnly:a}=this.column.getColDef();return t?"currentPage":a?"filtered":"all"}destroy(){super.destroy(),this.cbSelectAll=void 0,this.headerCellCtrl=void 0}};function Uy({gos:e,selectionColSvc:t},a){const n=e.get("rowSelection"),r=a.getColDef(),{headerCheckboxSelection:o}=r;let i=!1;if(typeof n=="object"){const l=za(a),c=Sr(a);(oo(n)==="autoGroupColumn"&&c||l&&t?.isSelectionColumnEnabled())&&(i=Si(n))}else typeof o=="function"?i=o(B(e,{column:a,colDef:r})):i=!!o;return i}var Zh=class extends F{postConstruct(){const{gos:e,beans:t}=this;this.selectionCtx=new D5(t.rowModel,t.pinnedRowModel),this.addManagedPropertyListeners(["isRowSelectable","rowSelection"],()=>{const a=fl(e);a!==this.isRowSelectable&&(this.isRowSelectable=a,this.updateSelectable())}),this.isRowSelectable=fl(e),this.addManagedEventListeners({cellValueChanged:a=>this.updateRowSelectable(a.node),rowNodeDataChanged:a=>this.updateRowSelectable(a.node)})}destroy(){super.destroy(),this.selectionCtx.reset()}createCheckboxSelectionComponent(){return new T5}createSelectAllFeature(e){if(Uy(this.beans,e))return new I5(e)}isMultiSelect(){return Ia(this.gos)}onRowCtrlSelected(e,t,a){const n=!!e.rowNode.isSelected();e.forEachGui(a,r=>{r.rowComp.toggleCss("ag-row-selected",n);const o=r.element;ci(o,n),o.contains(ne(this.beans))&&t(r)})}announceAriaRowSelection(e){if(this.isRowSelectionBlocked(e))return;const t=e.isSelected(),a=this.beans.editSvc?.isEditing({rowNode:e});if(!e.selectable||a)return;const r=this.getLocaleTextFunc()(t?"ariaRowDeselect":"ariaRowSelect",`Press SPACE to ${t?"deselect":"select"} this row`);this.beans.ariaAnnounce?.announceValue(r,"rowSelection")}isRowSelectionBlocked(e){return!e.selectable||e.rowPinned&&!ic(e)||!Lt(this.gos)}updateRowSelectable(e,t){const a=e.rowPinned&&e.pinnedSibling?e.pinnedSibling.selectable:this.isRowSelectable?.(e)??!0;return this.setRowSelectable(e,a,t),a}setRowSelectable(e,t,a){if(e.selectable!==t){if(e.selectable=t,e.dispatchRowEvent("selectableChanged"),a)return;if(En(this.gos)){const r=this.calculateSelectedFromChildren(e);this.setNodesSelected({nodes:[e],newValue:r??!1,source:"selectableChanged"});return}e.isSelected()&&!e.selectable&&this.setNodesSelected({nodes:[e],newValue:!1,source:"selectableChanged"})}}calculateSelectedFromChildren(e){let t=!1,a=!1;if(!e.childrenAfterGroup?.length)return e.selectable?e.__selected:null;for(let n=0;n{const t=En(e),a=wr(e),n=xi(e)==="filteredDescendants";this.masterSelectsDetail=Ym(e)==="detail",(t!==this.groupSelectsDescendants||n!==this.groupSelectsFiltered||a!==this.mode)&&(this.deselectAllRowNodes({source:"api"}),this.groupSelectsDescendants=t,this.groupSelectsFiltered=n,this.mode=a)}),this.addManagedEventListeners({rowSelected:this.onRowSelected.bind(this)})}destroy(){super.destroy(),this.resetNodes()}handleSelectionEvent(e,t,a){if(this.isRowSelectionBlocked(t))return 0;const n=this.inferNodeSelections(t,e.shiftKey,e.metaKey||e.ctrlKey,a);if(n==null)return 0;if(this.selectionCtx.selectAll=!1,"select"in n)return n.reset?this.resetNodes():this.selectRange(n.deselect,!1,a),this.selectRange(n.select,!0,a);{const r=n.checkFilteredNodes?_y(n.node):n.newValue;return this.setNodesSelected({nodes:[n.node],newValue:r,clearSelection:n.clearSelection,keepDescendants:n.keepDescendants,event:e,source:a})}}setNodesSelected({newValue:e,clearSelection:t,suppressFinishActions:a,nodes:n,event:r,source:o,keepDescendants:i=!1}){if(n.length===0)return 0;const{gos:s}=this;if(!Lt(s)&&e)return R(132),0;if(n.length>1&&!this.isMultiSelect())return R(130),0;let l=0;for(let c=0;c0&&(this.updateGroupsFromChildrenSelections(o),this.dispatchSelectionChanged(o))),l}selectRange(e,t,a){let n=0;return e.forEach(r=>{const o=r.primaryRow;if(o.group&&this.groupSelectsDescendants)return;this.selectRowNode(o,t,void 0,a)&&n++}),n>0&&(this.updateGroupsFromChildrenSelections(a),this.dispatchSelectionChanged(a)),n}selectChildren(e,t,a){const n=this.groupSelectsFiltered?e.childrenAfterAggFilter:e.childrenAfterGroup;return n?this.setNodesSelected({newValue:t,clearSelection:!1,suppressFinishActions:!0,source:a,nodes:n}):0}getSelectedNodes(){return Array.from(this.selectedNodes.values())}getSelectedRows(){const e=[];return this.selectedNodes.forEach(t=>t.data&&e.push(t.data)),e}getSelectionCount(){return this.selectedNodes.size}filterFromSelection(e){const t=new Map;this.selectedNodes.forEach((a,n)=>{e(a)&&t.set(n,a)}),this.selectedNodes=t}updateGroupsFromChildrenSelections(e,t){if(!this.groupSelectsDescendants)return!1;const{gos:a,rowModel:n}=this.beans;if(!se(a,n))return!1;const r=n.rootNode;if(!r)return!1;let o=!1;const i=s=>{if(s!==r){const l=this.calculateSelectedFromChildren(s);o=this.selectRowNode(s,l===null?!1:l,void 0,e)||o}};return Et(r,this.beans.rowModel.hierarchical,t,i),o}clearOtherNodes(e,t,a){const n=new Map;let r=0;return this.selectedNodes.forEach(o=>{const i=o.id==e.id;if((t?!O5(e,o):!0)&&!i){const l=this.selectedNodes.get(o.id);r+=this.setNodesSelected({nodes:[l],newValue:!1,clearSelection:!1,suppressFinishActions:!0,source:a}),this.groupSelectsDescendants&&o.parent&&n.set(o.parent.id,o.parent)}}),n.forEach(o=>{const i=this.calculateSelectedFromChildren(o);this.selectRowNode(o,i===null?!1:i,void 0,a)}),r}onRowSelected(e){const t=e.node;this.groupSelectsDescendants&&t.group||(t.isSelected()?this.selectedNodes.set(t.id,t):this.selectedNodes.delete(t.id))}syncInRowNode(e,t){this.syncInOldRowNode(e,t),this.syncInNewRowNode(e)}createDaemonNode(e){if(!e.id)return;const t=new lt(this.beans);return t.id=e.id,t.data=e.data,t.__selected=e.__selected,t.level=e.level,t}syncInOldRowNode(e,t){t&&e.id!==t.id&&this.selectedNodes.get(t.id)==e&&this.selectedNodes.set(t.id,t)}syncInNewRowNode(e){this.selectedNodes.has(e.id)?(e.__selected=!0,this.selectedNodes.set(e.id,e)):e.__selected=!1}reset(e){const t=this.getSelectionCount();this.resetNodes(),t&&this.dispatchSelectionChanged(e)}resetNodes(){this.selectedNodes.forEach(e=>{this.selectRowNode(e,!1)}),this.selectedNodes.clear()}getBestCostNodeSelection(){const{gos:e,rowModel:t}=this.beans;if(!se(e,t))return;const a=t.getTopLevelNodes();if(a===null)return;const n=[];function r(o){for(let i=0,s=o.length;i{const i=this.selectRowNode(o.primaryRow,!1,void 0,e);n||(n=i)};if(t==="currentPage"||t==="filtered"){if(!a){J(102);return}this.getNodesToSelect(t).forEach(r)}else this.selectedNodes.forEach(r),this.reset(e);if(this.selectionCtx.selectAll=!1,a&&this.groupSelectsDescendants){const o=this.updateGroupsFromChildrenSelections(e);n||(n=o)}n&&this.dispatchSelectionChanged(e)}getSelectedCounts(e){let t=0,a=0;return this.getNodesToSelect(e).forEach(n=>{this.groupSelectsDescendants&&n.group||(n.isSelected()?t++:n.selectable&&a++)}),{selectedCount:t,notSelectedCount:a}}getSelectAllState(e){const{selectedCount:t,notSelectedCount:a}=this.getSelectedCounts(e);return jy(t,a)??null}hasNodesToSelect(e){return this.getNodesToSelect(e).filter(t=>t.selectable).length>0}getNodesToSelect(e){if(!this.canSelectAll())return[];const t=[],a=r=>t.push(r);if(e==="currentPage")return this.forEachNodeOnPage(r=>{if(!r.group){a(r);return}if(!r.footer&&!r.expanded){const o=i=>{a(i);const s=i.childrenAfterFilter;if(s)for(let l=0,c=s.length;l{const s=this.selectRowNode(i.primaryRow,!0,void 0,n);o||(o=s)}),a.selectAll=!0,se(t)&&this.groupSelectsDescendants){const i=this.updateGroupsFromChildrenSelections(n);o||(o=i)}o&&this.dispatchSelectionChanged(n)}getSelectionState(){return this.isEmpty()?null:Array.from(this.selectedNodes.keys())}setSelectionState(e,t,a){if(e||(e=[]),!Array.isArray(e)){J(103);return}const n=new Set(e),r=[];this.beans.rowModel.forEachNode(o=>{n.has(o.id)&&r.push(o)}),a&&this.resetNodes(),this.setNodesSelected({newValue:!0,nodes:r,source:t})}canSelectAll(){return se(this.beans.gos)}updateSelectable(e){const{gos:t,rowModel:a}=this.beans;if(!Lt(t))return;const n="selectableChanged",r=se(t)&&this.groupSelectsDescendants,o=[];if(r){const i=a.rootNode;i&&Et(i,a.hierarchical,e,s=>{let l=!1;for(const c of s.childrenAfterGroup)l||(l=c.selectable),!c.group&&!this.updateRowSelectable(c,!0)&&c.isSelected()&&o.push(c);this.setRowSelectable(s,l,!0)})}else a.forEachNode(i=>{!this.updateRowSelectable(i,!0)&&i.isSelected()&&o.push(i)});o.length&&this.setNodesSelected({nodes:o,newValue:!1,source:n}),!e&&r&&this.updateGroupsFromChildrenSelections?.(n)}updateSelectableAfterGrouping(e){this.updateSelectable(e),this.groupSelectsDescendants&&this.updateGroupsFromChildrenSelections?.("rowGroupChanged",e)&&this.dispatchSelectionChanged("rowGroupChanged")}refreshMasterNodeState(e,t){if(!this.masterSelectsDetail)return;const a=e.detailNode?.detailGridInfo?.api;if(!a)return;const n=z5(a);e.isSelected()!==n&&this.selectRowNode(e,n,t,"masterDetail")&&this.dispatchSelectionChanged("masterDetail"),n||this.detailSelection.set(e.id,new Set(a.getSelectedNodes().map(o=>o.id)))}setDetailSelectionState(e,t,a){if(this.masterSelectsDetail){if(!Ia(t)){R(269);return}switch(e.isSelected()){case!0:{a.selectAll();break}case!1:{a.deselectAll();break}case void 0:{const n=this.detailSelection.get(e.id);if(n){const r=[];for(const o of n){const i=a.getRowNode(o);i&&r.push(i)}a.setNodesSelected({nodes:r,newValue:!0,source:"masterDetail"})}break}default:break}}}dispatchSelectionChanged(e){this.eventSvc.dispatchEvent({type:"selectionChanged",source:e,selectedNodes:this.getSelectedNodes(),serverSideState:null})}};function z5(e){let t=0,a=0;return e.forEachNode(n=>{n.isSelected()?t++:n.selectable&&a++}),jy(t,a)}function jy(e,t){if(e===0&&t===0)return!1;if(!(e>0&&t>0))return e>0}function O5(e,t){let a=t.parent;for(;a;){if(a===e)return!0;a=a.parent}return!1}function _y(e){const t=e.isSelected()===!1,a=e.childrenAfterFilter?.some(_y)??!1;return t||a}var Xh={moduleName:"SharedRowSelection",version:N,beans:[b5],css:[w5],apiFunctions:{setNodesSelected:y5,selectAll:S5,deselectAll:x5,selectAllFiltered:k5,deselectAllFiltered:R5,selectAllOnCurrentPage:F5,deselectAllOnCurrentPage:M5,getSelectedNodes:E5,getSelectedRows:P5}},Ky={moduleName:"RowSelection",version:N,rowModels:["clientSide","infinite","viewport"],beans:[L5],dependsOn:[Xh]},G5=class extends F{constructor(e,t){super(),this.cellCtrl=e,this.staticClasses=[],this.beans=t,this.column=e.column}setComp(e){this.cellComp=e,this.applyUserStyles(),this.applyCellClassRules(),this.applyClassesFromColDef()}applyCellClassRules(){const{column:e,cellComp:t}=this,a=e.colDef,n=a.cellClassRules,r=this.getCellClassParams(e,a);Qg(this.beans.expressionSvc,n===this.cellClassRules?void 0:this.cellClassRules,n,r,o=>t.toggleCss(o,!0),o=>t.toggleCss(o,!1)),this.cellClassRules=n}applyUserStyles(){const e=this.column,t=e.colDef,a=t.cellStyle;if(!a)return;let n;if(typeof a=="function"){const r=this.getCellClassParams(e,t);n=a(r)}else n=a;n&&this.cellComp.setUserStyles(n)}applyClassesFromColDef(){const{column:e,cellComp:t}=this,a=e.colDef,n=this.getCellClassParams(e,a);for(const o of this.staticClasses)t.toggleCss(o,!1);const r=this.beans.cellStyles.getStaticCellClasses(a,n);this.staticClasses=r;for(const o of r)t.toggleCss(o,!0)}getCellClassParams(e,t){const{value:a,rowNode:n}=this.cellCtrl;return B(this.beans.gos,{value:a,data:n.data,node:n,colDef:t,column:e,rowIndex:n.rowIndex})}},V5=class extends F{constructor(){super(...arguments),this.beanName="cellStyles"}processAllCellClasses(e,t,a,n){Qg(this.beans.expressionSvc,void 0,e.cellClassRules,t,a,n),this.processStaticCellClasses(e,t,a)}getStaticCellClasses(e,t){const{cellClass:a}=e;if(!a)return[];let n;return typeof a=="function"?n=a(t):n=a,typeof n=="string"&&(n=[n]),n||[]}createCellCustomStyleFeature(e){return new G5(e,this.beans)}processStaticCellClasses(e,t,a){this.getStaticCellClasses(e,t).forEach(r=>{a(r)})}},Jh={moduleName:"CellStyle",version:N,beans:[V5]},Yy={moduleName:"RowStyle",version:N,beans:[UT]},B5={enableBrowserTooltips:!0,tooltipTrigger:!0,tooltipMouseTrack:!0,tooltipShowMode:!0,tooltipInteraction:!0,defaultColGroupDef:!0,suppressAutoSize:!0,skipHeaderOnAutoSize:!0,autoSizeStrategy:!0,components:!0,stopEditingWhenCellsLoseFocus:!0,undoRedoCellEditing:!0,undoRedoCellEditingLimit:!0,excelStyles:!0,cacheQuickFilter:!0,customChartThemes:!0,chartThemeOverrides:!0,chartToolPanelsDef:!0,loadingCellRendererSelector:!0,localeText:!0,keepDetailRows:!0,keepDetailRowsCount:!0,detailRowHeight:!0,detailRowAutoHeight:!0,tabIndex:!0,valueCache:!0,valueCacheNeverExpires:!0,enableCellExpressions:!0,suppressTouch:!0,suppressBrowserResizeObserver:!0,suppressPropertyNamesCheck:!0,debug:!0,dragAndDropImageComponent:!0,overlayComponent:!0,suppressOverlays:!0,loadingOverlayComponent:!0,suppressLoadingOverlay:!0,noRowsOverlayComponent:!0,paginationPageSizeSelector:!0,paginateChildRows:!0,pivotPanelShow:!0,pivotSuppressAutoColumn:!0,suppressExpandablePivotGroups:!0,aggFuncs:!0,allowShowChangeAfterFilter:!0,ensureDomOrder:!0,enableRtl:!0,suppressColumnVirtualisation:!0,suppressMaxRenderedRowRestriction:!0,suppressRowVirtualisation:!0,rowDragText:!0,groupLockGroupColumns:!0,suppressGroupRowsSticky:!0,rowModelType:!0,cacheOverflowSize:!0,infiniteInitialRowCount:!0,serverSideInitialRowCount:!0,maxBlocksInCache:!0,maxConcurrentDatasourceRequests:!0,blockLoadDebounceMillis:!0,serverSideOnlyRefreshFilteredGroups:!0,serverSidePivotResultFieldSeparator:!0,viewportRowModelPageSize:!0,viewportRowModelBufferSize:!0,debounceVerticalScrollbar:!0,suppressAnimationFrame:!0,suppressPreventDefaultOnMouseWheel:!0,scrollbarWidth:!0,icons:!0,suppressRowTransform:!0,gridId:!0,enableGroupEdit:!0,initialState:!0,processUnpinnedColumns:!0,createChartContainer:!0,getLocaleText:!0,getRowId:!0,reactiveCustomComponents:!0,renderingMode:!0,columnMenu:!0,suppressSetFilterByDefault:!0,getDataPath:!0,enableCellSpan:!0,enableFilterHandlers:!0,filterHandlers:!0},Vt="clientSide",Ct="serverSide",Do="infinite",N5={onGroupExpandedOrCollapsed:[Vt],refreshClientSideRowModel:[Vt],isRowDataEmpty:[Vt],forEachLeafNode:[Vt],forEachNodeAfterFilter:[Vt],forEachNodeAfterFilterAndSort:[Vt],resetRowHeights:[Vt,Ct],applyTransaction:[Vt],applyTransactionAsync:[Vt],flushAsyncTransactions:[Vt],getBestCostNodeSelection:[Vt],getServerSideSelectionState:[Ct],setServerSideSelectionState:[Ct],applyServerSideTransaction:[Ct],applyServerSideTransactionAsync:[Ct],applyServerSideRowData:[Ct],retryServerSideLoads:[Ct],flushServerSideAsyncTransactions:[Ct],refreshServerSide:[Ct],getServerSideGroupLevelState:[Ct],refreshInfiniteCache:[Do],purgeInfiniteCache:[Do],getInfiniteRowCount:[Do],isLastRowIndexKnown:[Do,Ct],expandAll:[Vt,Ct],collapseAll:[Vt,Ct],onRowHeightChanged:[Vt,Ct],setRowCount:[Do,Ct],getCacheBlockState:[Do,Ct]},H5={showLoadingOverlay:{version:"v32",message:'`showLoadingOverlay` is deprecated. Use the grid option "loading"=true instead or setGridOption("loading", true).'},clearRangeSelection:{version:"v32.2",message:"Use `clearCellSelection` instead."},getInfiniteRowCount:{version:"v32.2",old:"getInfiniteRowCount()",new:"getDisplayedRowCount()"},selectAllFiltered:{version:"v33",old:"selectAllFiltered()",new:'selectAll("filtered")'},deselectAllFiltered:{version:"v33",old:"deselectAllFiltered()",new:'deselectAll("filtered")'},selectAllOnCurrentPage:{version:"v33",old:"selectAllOnCurrentPage()",new:'selectAll("currentPage")'},deselectAllOnCurrentPage:{version:"v33",old:"deselectAllOnCurrentPage()",new:'deselectAll("currentPage")'}};function q5(e,t,a){const n=H5[e];if(n){const{version:o,new:i,old:s,message:l}=n,c=s??e;return(...d)=>{const u=i?`Please use ${i} instead. `:"";return aa(`Since ${o} api.${c} is deprecated. ${u}${l??""}`),t.apply(t,d)}}const r=N5[e];return r?(...o)=>{const i=a.rowModel.getType();if(!r.includes(i)){to(`api.${e} can only be called when gridOptions.rowModelType is ${r.join(" or ")}`);return}return t.apply(t,o)}:t}var W5={detailCellRendererCtrl:"SharedMasterDetail",dndSourceComp:"DragAndDrop",fillHandle:"CellSelection",groupCellRendererCtrl:"GroupCellRenderer",headerFilterCellCtrl:"ColumnFilter",headerGroupCellCtrl:"ColumnGroup",rangeHandle:"CellSelection",tooltipFeature:"Tooltip",highlightTooltipFeature:"Tooltip",tooltipStateManager:"Tooltip",groupStrategy:"RowGrouping",treeGroupStrategy:"TreeData",rowNumberRowResizer:"RowNumbers",singleCell:"EditCore",fullRow:"EditCore",agSetColumnFilterHandler:"SetFilter",agMultiColumnFilterHandler:"MultiFilter",agGroupColumnFilterHandler:"GroupFilter",agNumberColumnFilterHandler:"NumberFilter",agBigIntColumnFilterHandler:"BigIntFilter",agDateColumnFilterHandler:"DateFilter",agTextColumnFilterHandler:"TextFilter"},U5={expanded:1,contracted:1,"tree-closed":1,"tree-open":1,"tree-indeterminate":1,pin:1,"eye-slash":1,arrows:1,left:1,right:1,group:1,aggregation:1,pivot:1,"not-allowed":1,chart:1,cross:1,cancel:1,tick:1,first:1,previous:1,next:1,last:1,linked:1,unlinked:1,"color-picker":1,loading:1,menu:1,"menu-alt":1,filter:1,"filter-add":1,columns:1,maximize:1,minimize:1,copy:1,cut:1,paste:1,grip:1,save:1,csv:1,excel:1,"small-down":1,"small-left":1,"small-right":1,"small-up":1,asc:1,desc:1,aasc:1,adesc:1,none:1,up:1,down:1,plus:1,minus:1,settings:1,"checkbox-checked":1,"checkbox-indeterminate":1,"checkbox-unchecked":1,"radio-button-on":1,"radio-button-off":1,eye:1,"column-arrow":1,"un-pin":1,"pinned-top":1,"pinned-bottom":1,"chevron-up":1,"chevron-down":1,"chevron-left":1,"chevron-right":1,edit:1},j5={chart:"MenuCore",cancel:"EnterpriseCore",first:"Pagination",previous:"Pagination",next:"Pagination",last:"Pagination",linked:"IntegratedCharts",loadingMenuItems:"MenuCore",unlinked:"IntegratedCharts",menu:"ColumnHeaderComp",legacyMenu:"ColumnMenu",filter:"ColumnFilter",filterActive:"ColumnFilter",filterAdd:"NewFiltersToolPanel",filterCardCollapse:"NewFiltersToolPanel",filterCardExpand:"NewFiltersToolPanel",filterCardEditing:"NewFiltersToolPanel",filterTab:"ColumnMenu",filtersToolPanel:"FiltersToolPanel",columns:["MenuCore"],columnsToolPanel:["ColumnsToolPanel"],maximize:"EnterpriseCore",minimize:"EnterpriseCore",save:"MenuCore",columnGroupOpened:"ColumnGroupHeaderComp",columnGroupClosed:"ColumnGroupHeaderComp",accordionOpen:"EnterpriseCore",accordionClosed:"EnterpriseCore",accordionIndeterminate:"EnterpriseCore",columnSelectClosed:["ColumnsToolPanel","ColumnMenu"],columnSelectOpen:["ColumnsToolPanel","ColumnMenu"],columnSelectIndeterminate:["ColumnsToolPanel","ColumnMenu"],columnMovePin:"SharedDragAndDrop",columnMoveHide:"SharedDragAndDrop",columnMoveMove:"SharedDragAndDrop",columnMoveLeft:"SharedDragAndDrop",columnMoveRight:"SharedDragAndDrop",columnMoveGroup:"SharedDragAndDrop",columnMoveValue:"SharedDragAndDrop",columnMovePivot:"SharedDragAndDrop",dropNotAllowed:"SharedDragAndDrop",ensureColumnVisible:["ColumnsToolPanel","ColumnMenu"],groupContracted:"GroupCellRenderer",groupExpanded:"GroupCellRenderer",setFilterGroupClosed:"SetFilter",setFilterGroupOpen:"SetFilter",setFilterGroupIndeterminate:"SetFilter",setFilterLoading:"SetFilter",close:"EnterpriseCore",check:"MenuItem",colorPicker:"CommunityCore",groupLoading:"LoadingCellRenderer",overlayLoading:"Overlay",overlayExporting:"Overlay",menuAlt:"ColumnHeaderComp",menuPin:"MenuCore",menuValue:"MenuCore",menuAddRowGroup:["MenuCore","ColumnsToolPanel"],menuRemoveRowGroup:["MenuCore","ColumnsToolPanel"],clipboardCopy:"MenuCore",clipboardCut:"MenuCore",clipboardPaste:"MenuCore",pivotPanel:["ColumnsToolPanel","RowGroupingPanel"],rowGroupPanel:["ColumnsToolPanel","RowGroupingPanel"],valuePanel:"ColumnsToolPanel",columnDrag:"EnterpriseCore",rowDrag:["RowDrag","DragAndDrop"],csvExport:"MenuCore",excelExport:"MenuCore",smallDown:"CommunityCore",selectOpen:"CommunityCore",richSelectOpen:"RichSelect",richSelectRemove:"RichSelect",richSelectLoading:"RichSelect",smallLeft:"CommunityCore",smallRight:"CommunityCore",subMenuOpen:"MenuItem",subMenuOpenRtl:"MenuItem",panelDelimiter:"RowGroupingPanel",panelDelimiterRtl:"RowGroupingPanel",smallUp:"CommunityCore",sortAscending:["MenuCore","Sort"],sortDescending:["MenuCore","Sort"],sortAbsoluteAscending:["MenuCore","Sort"],sortAbsoluteDescending:["MenuCore","Sort"],sortUnSort:["MenuCore","Sort"],advancedFilterBuilder:"AdvancedFilter",advancedFilterBuilderDrag:"AdvancedFilter",advancedFilterBuilderInvalid:"AdvancedFilter",advancedFilterBuilderMoveUp:"AdvancedFilter",advancedFilterBuilderMoveDown:"AdvancedFilter",advancedFilterBuilderAdd:"AdvancedFilter",advancedFilterBuilderRemove:"AdvancedFilter",advancedFilterBuilderSelectOpen:"AdvancedFilter",chartsMenu:"IntegratedCharts",chartsMenuEdit:"IntegratedCharts",chartsMenuAdvancedSettings:"IntegratedCharts",chartsMenuAdd:"IntegratedCharts",chartsColorPicker:"IntegratedCharts",chartsThemePrevious:"IntegratedCharts",chartsThemeNext:"IntegratedCharts",chartsDownload:"IntegratedCharts",checkboxChecked:"CommunityCore",checkboxIndeterminate:"CommunityCore",checkboxUnchecked:"CommunityCore",radioButtonOn:"CommunityCore",radioButtonOff:"CommunityCore",rowPin:"PinnedRow",rowUnpin:"PinnedRow",rowPinBottom:"PinnedRow",rowPinTop:"PinnedRow"},_5=new Set(["colorPicker","smallUp","checkboxChecked","checkboxIndeterminate","checkboxUnchecked","radioButtonOn","radioButtonOff","smallDown","smallLeft","smallRight"]),K5=class extends F{constructor(){super(...arguments),this.beanName="validation"}wireBeans(e){this.gridOptions=e.gridOptions,TR($D)}warnOnInitialPropertyUpdate(e,t){e==="api"&&B5[t]&&R(22,{key:t})}processGridOptions(e){this.processOptions(e,_3())}validateApiFunction(e,t){return q5(e,t,this.beans)}missingUserComponent(e,t,a,n){const r=wo[t];r?this.gos.assertModuleRegistered(r,`AG Grid '${e}' component: ${t}`):R(101,{propertyName:e,componentName:t,agGridDefaults:a,jsComps:n})}missingDynamicBean(e){const t=W5[e];return t?Rt(200,{...this.gos.getModuleErrorParams(),moduleName:t,reasonOrId:e}):void 0}checkRowEvents(e){Q5.has(e)&&R(10,{eventType:e})}validateIcon(e){if(_5.has(e)&&R(43,{iconName:e}),U5[e])return;const t=j5[e];if(t){J(200,{reasonOrId:`icon '${e}'`,moduleName:t,gridScoped:Jd(),gridId:this.beans.context.getId(),rowModelType:this.gos.get("rowModelType"),additionalText:"Alternatively, use the CSS icon name directly."});return}R(134,{iconName:e})}isProvidedUserComp(e){return!!wo[e]}validateColDef(e){this.processOptions(e,V3())}processOptions(e,t){const{validations:a,deprecations:n,allProperties:r,propertyExceptions:o,objectName:i,docsUrl:s}=t;r&&this.gridOptions.suppressPropertyNamesCheck!==!0&&this.checkProperties(e,[...o??[],...Object.keys(n)],r,i,s);const l=new Set;if(Object.keys(e).forEach(d=>{const u=n[d];if(u){const{message:C,version:b}=u;l.add(`As of v${b}, ${String(d)} is deprecated. ${C??""}`)}const g=e[d];if(g==null||g===!1)return;const h=a[d];if(!h)return;const{dependencies:p,validate:f,supportedRowModels:m,expectedType:v}=h;if(v){const C=typeof g;if(C!==v){l.add(`${String(d)} should be of type '${v}' but received '${C}' (${g}).`);return}}if(m){const C=this.gridOptions.rowModelType??"clientSide";if(!m.includes(C)){l.add(`${String(d)} is not supported with the '${C}' row model. It is only valid with: ${m.join(", ")}.`);return}}if(p){const C=this.checkForRequiredDependencies(d,p,e);if(C){l.add(C);return}}if(f){const C=f(e,this.gridOptions,this.beans);if(C){l.add(C);return}}}),l.size>0)for(const d of l)aa(d)}checkForRequiredDependencies(e,t,a){const r=Object.entries(t).filter(([o,i])=>{const s=a[o];return!i.required.includes(s)});return r.length===0?null:r.map(([o,i])=>`'${String(e)}' requires '${o}' to be one of [${i.required.map(s=>s===null?"null":s===void 0?"undefined":s).join(", ")}]. ${i.reason??""}`).join(`
`)}checkProperties(e,t,a,n,r){const o=["__ob__","__v_skip","__metadata__"],i=Y5(Object.getOwnPropertyNames(e),[...o,...t,...a],a),s=Object.keys(i);for(const l of s){const c=i[l];let d=`invalid ${n} property '${l}' did you mean any of these: ${c.slice(0,8).join(", ")}.`;a.includes("context")&&(d+=`
If you are trying to annotate ${n} with application data, use the '${n}.context' property instead.`),aa(d)}if(s.length>0&&r){const l=this.beans.frameworkOverrides.getDocLink(r);aa(`to see all the valid ${n} properties please check: ${l}`)}}};function Y5(e,t,a){const n={},r=e.filter(o=>!t.some(i=>i===o));if(r.length>0)for(const o of r)n[o]=Ro({inputValue:o,allSuggestions:a}).values;return n}var Q5=new Set(["firstChildChanged","lastChildChanged","childIndexChanged"]),Qy={moduleName:"Validation",version:N,beans:[K5]},Zy={moduleName:"AllCommunity",version:N,dependsOn:[ww,gh,Ly,Qy,jw,_w,Kw,Yw,Qw,Zw,Xw,Uw,Ey,Py,Ay,Ty,My,Dy,Iy,Vy,dw,By,Yl,pw,fw,Hy,Rw,SC,Ny,Ky,Xb,Jh,Fw,Yy,Yh,Jb,Qh,mc,Oy,qy,yC,yw,Wy]};function _(e,t={}){const a=Object.keys(t).map(n=>{const r=t[n];return r!=null?`${n}=${r}`:null}).filter(Boolean).join(";");return[e,a].filter(n=>n.length>0).join(":")}var H={grid(e){return _("ag-grid-root",{gridId:e})},headerGroupCell(e){return _("ag-header-group-cell",{colId:e})},headerCell(e){return _("ag-header-cell",{colId:e})},headerCheckbox(e){return _("ag-header-selection-checkbox",{colId:e})},headerFilterButton(e){return _("ag-header-cell-filter-button",{colId:e})},floatingFilter(e){return _("ag-floating-filter",{colId:e})},floatingFilterButton(e){return _("ag-floating-filter-button",{colId:e})},headerCellMenuButton(e){return _("ag-header-cell-menu-button",{colId:e})},headerResizeHandle(e){return _("ag-header-cell-resize",{colId:e})},filterInstancePickerDisplay(e){return _(`ag-${e.source}-picker-display`,Ic(e))},numberFilterInstanceInput(e){return _(`ag-${e.source}-number-input`,Ic(e))},textFilterInstanceInput(e){return _(`ag-${e.source}-text-input`,Ic(e))},dateFilterInstanceInput(e){return _(`ag-${e.source}-date-input`,Ic(e))},setFilterInstanceMiniFilterInput(e){return _(`ag-${e.source}-set-filter-mini-filter-input`,e.source==="filter-toolpanel"?{label:e.colLabel}:{colId:e.colId})},setFilterInstanceItem(e,t){return _(`ag-${e.source}-set-filter-item`,e.source==="filter-toolpanel"?{colLabel:e.colLabel,itemLabel:t}:{colId:e.colId,itemLabel:t})},setFilterApplyPanelButton(e,t){return _(`ag-${e.source}-set-filter-apply-panel-button`,e.source==="filter-toolpanel"?{colLabel:e.colLabel,buttonLabel:t}:{colId:e.colId,buttonLabel:t})},filterConditionRadioButton(e,t){return _(`ag-${e.source}-filter-condition-radio-button`,e.source==="filter-toolpanel"?{colLabel:e.colLabel,buttonLabel:t}:{colId:e.colId,buttonLabel:t})},advancedFilterInput(){return _("ag-advanced-filter-input")},advancedFilterButton(e){return _("ag-advanced-filter-button",{label:e})},advancedFilterBuilderButton(){return _("ag-advanced-filter-builder-button")},advancedFilterPanelMaximiseButton(){return _("ag-advanced-filter-builder-panel-maximise")},advancedFilterPanelCloseButton(){return _("ag-advanced-filter-builder-panel-close")},advancedFilterPill(e){return _("ag-advanced-filter-builder-pill",{label:e})},advancedFilterBuilderAddItemButton(){return _("ag-advanced-filter-builder-add-item-button")},rowNode(e){return _("ag-row",{"row-id":e})},cell(e,t){return _("ag-cell",{"row-id":e,colId:t})},autoGroupCell(e){return H.cell(e,jt)},checkbox(e,t){return _("ag-selection-checkbox",{"row-id":e,colId:t})},selectionColumnCheckbox(e){return H.checkbox(e,Cl)},autoGroupColumnCheckbox(e){return H.checkbox(e,jt)},dragHandle(e,t){return _("ag-drag-handle",{"row-id":e,colId:t})},groupContracted(e,t){return _("ag-group-contracted",{"row-id":e,colId:t})},groupExpanded(e,t){return _("ag-group-expanded",{"row-id":e,colId:t})},autoGroupContracted(e){return H.groupContracted(e,jt)},autoGroupExpanded(e){return H.groupExpanded(e,jt)},rowNumber(e){return H.cell(e,Fi)},menu(){return _("ag-menu")},menuOption(e){return _("ag-menu-option",{option:e})},sideBar(){return _("ag-side-bar")},sideBarButton(e){return _("ag-side-button",{label:e})},columnToolPanel(){return _("ag-column-panel")},pivotModeSelect(){return _("ag-pivot-mode-select")},columnPanelSelectHeaderCheckbox(){return _("ag-column-panel-select-header-checkbox")},columnPanelSelectHeaderFilter(){return _("ag-column-panel-select-header-filter")},columnSelectListItemGroupClosedIcon(e){return _("ag-column-select-list-item-group-closed-icon",{label:e})},columnSelectListItemCheckbox(e){return _("ag-column-select-list-item-checkbox",{label:e})},columnSelectListItemDragHandle(e){return _("ag-column-select-list-item-drag-handle",{label:e})},columnDropCellDragHandle(e,t,a){return _("ag-column-drop-cell-drag-handle",{source:e,area:t,label:a})},columnDropCellCancelButton(e,t,a){return _("ag-column-drop-cell-cancel",{source:e,area:t,label:a})},columnDropArea(e,t){return _("ag-column-drop-area",{source:e,name:t})},filterToolPanel(){return _("ag-filter-panel")},filterToolPanelAddFilterButton(){return _("ag-filter-panel-add-filter-button")},filterToolPanelFilterTypeSelector(e){return _("ag-filter-panel-filter-type-selector",{colLabel:e})},filterToolPanelSearchInput(){return _("ag-filter-toolpanel-search-input")},filterToolPanelGroup(e){return _("ag-filter-toolpanel-group",{title:e})},filterToolPanelGroupCollapsedIcon(e){return _("ag-filter-toolpanel-group-collapsed-icon",{title:e})},statusBarTotalAndFilteredRowCount(){return _("ag-status-bar-total-and-filtered-row-count")},statusBarTotalRowCount(){return _("ag-status-bar-total-row-count")},statusBarFilteredRowCount(){return _("ag-status-bar-filtered-row-count")},statusBarSelectedRowCount(){return _("ag-status-bar-selected-row-count")},statusBarAggregations(){return _("ag-status-bar-aggregations")},paginationPanelSizePickerDisplay(e){return _("ag-pagination-page-size-picker-field-display",{value:e})},paginationPanelFirstRowOnPage(e){return _("ag-paging-row-summary-panel-first-row-on-page",{value:e})},paginationPanelLastRowOnPage(e){return _("ag-paging-row-summary-panel-last-row-on-page",{value:e})},paginationPanelRecordCount(e){return _("ag-paging-row-summary-panel-record-count",{value:e})},paginationSummaryPanelButton(e){return _("ag-paging-page-summary-panel-btn",{label:e})},paginationSummaryPanelCurrentPage(e){return _("ag-paging-page-summary-panel-current-page",{value:e})},paginationSummaryPanelTotalPage(e){return _("ag-paging-page-summary-panel-total-page",{value:e})},fillHandle(){return _("ag-fill-handle")},columnChooserCloseButton(){return _("ag-column-chooser-close-button")},columnChooserSearchBarCheckbox(){return _("ag-column-chooser-header-checkbox")},columnChooserSearchBarFilter(){return _("ag-column-chooser-searchbar-filter")},columnChooserListItemGroupClosedIcon(e){return _("ag-column-chooser-list-item-group-closed-icon",{label:e})},columnChooserListItemCheckbox(e){return _("ag-column-chooser-list-item-checkbox",{label:e})},columnChooserListItemDragHandle(e){return _("ag-column-chooser-list-item-drag-handle",{label:e})},overlay(){return _("ag-overlay")}},Z5=e=>{const t={},a=Object.keys(H);for(const n of a)t[n]=(...r)=>e(H[n](...r));return t};function X5(e,t){const a={};for(const n of Object.keys(e))t[n]!==null&&(a[t[n]??n]=e[n]);return a}function J5(e){return e.source!=="floating-filter"?{index:0,...e}:e}function Ic(e){return X5(J5(e),{colLabel:"label"})}var Xy="data-testid";function Y(e,t){e?.setAttribute(Xy,t)}function $5(e){Xy=e}var eO=class extends F{constructor(){super(...arguments),this.beanName="testIdSvc"}postConstruct(){const e=ve(this,()=>this.setupAllTestIds(),500),t=ve(this,()=>{this.setupAllTestIds(),e()},0);this.addManagedEventListeners({firstDataRendered:t,displayedRowsChanged:t,displayedColumnsChanged:t,displayedColumnsWidthChanged:t,virtualColumnsChanged:t,columnMenuVisibleChanged:t,contextMenuVisibleChanged:t,advancedFilterBuilderVisibleChanged:t,fieldPickerValueSelected:t,modelUpdated:t,sideBarUpdated:t,pinnedHeightChanged:t,gridReady:t,overlayExclusiveChanged:t,rowGroupOpened:t,scrollVisibilityChanged:t,gridSizeChanged:t,filterOpened:t,filterChanged:t,cellSelectionChanged:t})}setupAllTestIds(){const e=Dt(this.beans),t=hC(this.beans),a=e.querySelector(`[grid-id="${t}"]`);Y(a,H.grid(t)),e.querySelectorAll(".ag-header-group-cell").forEach(o=>{Y(o,H.headerGroupCell(o.getAttribute("col-id")))}),e.querySelectorAll(".ag-header-cell").forEach(o=>{const i=o.getAttribute("col-id"),l=o.classList.contains("ag-floating-filter")?H.floatingFilter(i):H.headerCell(i);Y(o,l),Y(o.querySelector(".ag-header-cell-filter-button"),H.headerFilterButton(i)),Y(o.querySelector(".ag-header-cell-menu-button"),H.headerCellMenuButton(i)),Y(o.querySelector(".ag-header-cell-resize"),H.headerResizeHandle(i)),Y(o.querySelector(".ag-checkbox input[type=checkbox]"),H.headerCheckbox(i)),Y(o.querySelector(".ag-floating-filter-button button"),H.floatingFilterButton(i)),this.setupFilterInstance(o.querySelector(".ag-floating-filter-body"),{source:"floating-filter",colId:i})});const n=e.querySelector(".ag-filter-menu");this.setupFilterInstance(n,{source:"column-filter"}),Y(e.querySelector(".ag-advanced-filter input[type=text]"),H.advancedFilterInput()),e.querySelectorAll(".ag-advanced-filter-buttons button").forEach(o=>{Y(o,H.advancedFilterButton(o.textContent))}),Y(e.querySelector("button.ag-advanced-filter-builder-button"),H.advancedFilterBuilderButton()),e.querySelectorAll('.ag-panel[aria-label="Advanced Filter"] .ag-panel-title-bar-button').forEach((o,i)=>{Y(o,i===0?H.advancedFilterPanelMaximiseButton():H.advancedFilterPanelCloseButton())}),e.querySelectorAll('.ag-panel[aria-lable="Advanced Filter"] .ag-advanced-filter-builder-pill').forEach(o=>{Y(o,H.advancedFilterPill(o.querySelector(".ag-picker-field-display")?.textContent))}),Y(e.querySelector('.ag-panel[aria-label="Advanced Filter"] .ag-advanced-filter-builder-item-button'),H.advancedFilterBuilderAddItemButton()),e.querySelectorAll(".ag-row").forEach(o=>{const i=o.getAttribute("row-id");Y(o,H.rowNode(i)),o.querySelectorAll(".ag-cell").forEach(s=>{const l=s.getAttribute("col-id");Y(s,H.cell(i,l)),Y(s.querySelector(".ag-selection-checkbox input[type=checkbox]"),H.checkbox(i,l)),Y(s.querySelector(".ag-drag-handle"),H.dragHandle(i,l)),Y(s.querySelector(".ag-group-contracted"),H.groupContracted(i,l)),Y(s.querySelector(".ag-group-expanded"),H.groupExpanded(i,l))})}),e.querySelectorAll(".ag-menu-list").forEach(o=>{Y(o,H.menu()),o.querySelectorAll(".ag-menu-option").forEach(i=>{Y(i,H.menuOption(i.querySelector(".ag-menu-option-text")?.textContent))})}),e.querySelectorAll(".ag-side-bar").forEach(o=>{Y(o,H.sideBar()),o.querySelectorAll(".ag-side-button button").forEach(i=>{Y(i,H.sideBarButton(i.querySelector(".ag-side-button-label")?.textContent))}),o.querySelectorAll(".ag-column-panel").forEach(i=>{Y(i,H.columnToolPanel()),Y(i.querySelector(".ag-pivot-mode-select input[type=checkbox]"),H.pivotModeSelect()),Y(i.querySelector(".ag-column-select-header-checkbox input[type=checkbox]"),H.columnPanelSelectHeaderCheckbox()),Y(i.querySelector(".ag-column-select-header-filter-wrapper input[type=text]"),H.columnPanelSelectHeaderFilter()),i.querySelectorAll(".ag-column-select-list").forEach(s=>{s.querySelectorAll(".ag-column-select-virtual-list-item").forEach(l=>{const c=l.getAttribute("aria-label");Y(l.querySelector(".ag-column-group-closed-icon"),H.columnSelectListItemGroupClosedIcon(c)),Y(l.querySelector(".ag-column-select-checkbox input[type=checkbox]"),H.columnSelectListItemCheckbox(c)),Y(l.querySelector(".ag-drag-handle"),H.columnSelectListItemDragHandle(c))})}),this.setupColumnDropArea(i,"toolbar")}),o.querySelectorAll(".ag-filter-panel").forEach(i=>{Y(i,H.filterToolPanel()),Y(i.querySelector("button.ag-filter-add-button"),H.filterToolPanelAddFilterButton()),i.querySelectorAll(".ag-filter-card").forEach(s=>{const l=s.querySelector(".ag-filter-card-title")?.textContent,c=s.querySelector(".ag-filter-type-select");Y(c,H.filterToolPanelFilterTypeSelector(l)),s.querySelectorAll(".ag-filter").forEach(d=>this.setupFilterInstance(d,{source:"filter-toolpanel",colLabel:l}))})}),o.querySelectorAll(".ag-filter-toolpanel").forEach(i=>{Y(i.querySelector(".ag-filter-toolpanel-search-input input[type=text]"),H.filterToolPanelSearchInput()),i.querySelectorAll(".ag-filter-toolpanel-group").forEach(s=>{const l=s.querySelector(".ag-filter-toolpanel-group-title")?.textContent;Y(s,H.filterToolPanelGroup(l)),Y(s.querySelector(".ag-filter-toolpanel-group-title-bar-icon .ag-icon-tree-closed"),H.filterToolPanelGroupCollapsedIcon(l));const c=s.querySelector(".ag-filter-toolpanel-instance-filter");c&&this.setupFilterInstance(c,{source:"filter-toolpanel",colLabel:l})})})}),Y(e.querySelector(".ag-status-bar .ag-status-panel-total-and-filtered-row-count"),H.statusBarTotalAndFilteredRowCount()),Y(e.querySelector(".ag-status-bar .ag-status-panel-total-row-count"),H.statusBarTotalRowCount()),Y(e.querySelector(".ag-status-bar .ag-status-panel-filtered-row-count"),H.statusBarFilteredRowCount()),Y(e.querySelector(".ag-status-bar .ag-status-panel-selected-row-count"),H.statusBarSelectedRowCount()),Y(e.querySelector(".ag-status-bar .ag-status-panel-filtered-row-count"),H.statusBarAggregations()),e.querySelectorAll(".ag-paging-panel").forEach(o=>{Y(o.querySelector(".ag-paging-page-size .ag-picker-field-display"),H.paginationPanelSizePickerDisplay(o.querySelector(".ag-paging-page-size .ag-picker-field-display")?.textContent)),o.querySelectorAll(".ag-paging-row-summary-panel-number").forEach(i=>{switch(i.getAttribute("data-ref")){case"lbFirstRowOnPage":Y(i,H.paginationPanelFirstRowOnPage(i.textContent));break;case"lbLastRowOnPage":Y(i,H.paginationPanelLastRowOnPage(i.textContent));break;case"lbRecordCount":Y(i,H.paginationPanelRecordCount(i.textContent));break}}),o.querySelectorAll(".ag-paging-page-summary-panel .ag-button").forEach(i=>{Y(i,H.paginationSummaryPanelButton(i.getAttribute("aria-label")?.toLowerCase()))}),o.querySelectorAll(".ag-paging-page-summary-panel .ag-paging-number").forEach(i=>{switch(i.getAttribute("data-ref")){case"lbCurrent":Y(i,H.paginationSummaryPanelCurrentPage(i.textContent));break;case"lbTotal":Y(i,H.paginationSummaryPanelTotalPage(i.textContent));break}})}),Y(e.querySelector(".ag-fill-handle"),H.fillHandle()),e.querySelectorAll('.ag-panel[aria-label="Choose Columns"]').forEach(o=>{Y(o.querySelector(".ag-panel-title-bar-button-icon"),H.columnChooserCloseButton()),Y(o.querySelector('.ag-column-select-header-checkbox input[type="checkbox"]'),H.columnChooserSearchBarCheckbox()),Y(o.querySelector('.ag-column-select-header-filter-wrapper input[type="text"]'),H.columnChooserSearchBarFilter()),o.querySelectorAll(".ag-column-select-list").forEach(i=>{i.querySelectorAll(".ag-column-select-virtual-list-item").forEach(s=>{const l=s.getAttribute("aria-label");Y(s.querySelector(".ag-column-group-closed-icon"),H.columnChooserListItemGroupClosedIcon(l)),Y(s.querySelector(".ag-column-select-checkbox input[type=checkbox]"),H.columnChooserListItemCheckbox(l)),Y(s.querySelector(".ag-drag-handle"),H.columnChooserListItemDragHandle(l))})})}),Y(e.querySelector(".ag-overlay-wrapper"),H.overlay());const r=e.querySelector(".ag-column-drop-wrapper");r&&this.setupColumnDropArea(r,"panel")}setupFilterInstance(e,t){if(!e)return;e.querySelectorAll(".ag-filter-select .ag-picker-field-display").forEach(r=>{Y(r,H.filterInstancePickerDisplay(t))});const a=t.source==="floating-filter"?".ag-floating-filter-body":".ag-filter-body";e.querySelectorAll(`${a} .ag-input-field:not(.ag-hidden) input[type="number"]`).forEach((r,o,i)=>{const l=i.length>1?{...t,index:o}:t;Y(r,H.numberFilterInstanceInput(l))}),e.querySelectorAll(`${a} .ag-input-field:not(.ag-hidden) input[type="text"]`).forEach((r,o,i)=>{const l=i.length>1?{...t,index:o}:t;Y(r,H.textFilterInstanceInput(l))}),e.querySelectorAll(`${a} .ag-input-field:not(.ag-hidden) input[type="date"]`).forEach((r,o,i)=>{const l=i.length>1?{...t,index:o}:t;Y(r,H.dateFilterInstanceInput(l))});const n=e.querySelector('.ag-mini-filter input[type="text"]');Y(n,H.setFilterInstanceMiniFilterInput(t)),e.querySelectorAll(".ag-set-filter-list .ag-set-filter-item").forEach(r=>{const o=r.querySelector(".ag-checkbox-label")?.textContent,i=r.querySelector('input[type="checkbox"]');Y(i,H.setFilterInstanceItem(t,o))}),e.querySelectorAll(".ag-filter-apply-panel button").forEach(r=>{Y(r,H.setFilterApplyPanelButton(t,r.textContent))}),e.querySelectorAll(".ag-filter-condition .ag-radio-button").forEach(r=>{const o=r.querySelector(".ag-radio-button-label")?.textContent;Y(r.querySelector("input[type=radio]"),H.filterConditionRadioButton(t,o))})}setupColumnDropArea(e,t){e.querySelectorAll(".ag-column-drop").forEach(a=>{const n=a.querySelector(".ag-column-drop-list")?.getAttribute("aria-label");Y(a,H.columnDropArea(t,n)),a.querySelectorAll(".ag-column-drop-cell").forEach(r=>{const o=r.querySelector(".ag-column-drop-cell-text")?.textContent;Y(r.querySelector(".ag-drag-handle"),H.columnDropCellDragHandle(t,n,o)),Y(r.querySelector(".ag-column-drop-cell-button .ag-icon-cancel"),H.columnDropCellCancelButton(t,n,o))})})}},tO={moduleName:"Testing",version:N,beans:[eO]};function aO({testIdAttribute:e}={}){e&&$5(e),il.registerModules([tO])}var Lc=class extends F{constructor(){super(...arguments),this.dispatchColumnChangedEvent=DC,this.columns=[],this.columnIndexMap={},this.updateIndexMap=()=>{this.columnIndexMap={},this.columns.forEach((e,t)=>this.columnIndexMap[e.getId()]=t)}}wireBeans(e){this.colModel=e.colModel,this.aggFuncSvc=e.aggFuncSvc,this.visibleCols=e.visibleCols,this.groupHierarchCols=e.groupHierarchyColSvc}sortColumns(e){const{groupHierarchCols:t}=this;this.columns.sort((a,n)=>t?.compareVirtualColumns(a,n)??e(a,n)),this.updateIndexMap()}setColumns(e,t){this.setColList(e,this.columns,this.eventName,!0,!0,this.columnProcessors.set,t)}addColumns(e,t){this.updateColList(e,this.columns,!0,!0,this.columnProcessors.add,this.eventName,t)}removeColumns(e,t){this.updateColList(e,this.columns,!1,!0,this.columnProcessors.remove,this.eventName,t)}getColumnIndex(e){return this.columnIndexMap[e]}setColList(e=[],t,a,n,r,o,i){const s=this.colModel.getCols();if(!s||s.length===0)return;const l=new Map;t.forEach((d,u)=>l.set(d,u)),t.length=0;for(const d of e){const u=this.colModel.getColDefCol(d);u&&t.push(u)}t.forEach((d,u)=>{const g=l.get(d);if(g===void 0){l.set(d,0);return}n&&g!==u||l.delete(d)}),this.updateIndexMap();const c=this.colModel.getColDefCols();for(const d of c??[]){const u=t.indexOf(d)>=0;o(d,u,i)}r&&this.colModel.refreshCols(!1,i),this.visibleCols.refresh(i),this.dispatchColumnChangedEvent(this.eventSvc,a,[...l.keys()],i)}updateColList(e=[],t,a,n,r,o,i){if(!e||e.length===0)return;let s=!1;const l=new Set;for(const d of e){if(!d)continue;const u=this.colModel.getColDefCol(d);if(u){if(l.add(u),a){if(t.indexOf(u)>=0)continue;t.push(u)}else{const g=t.indexOf(u);if(g<0)continue;for(let h=g+1;h=0:m?b!==void 0?k=b:S!==void 0?k=S!=null&&S>=0:k=!1:k=a.indexOf(f)>=0,k&&((m?y!=null||S!=null:y!=null)?n.push(f):r.push(f))}const u=f=>{const m=f.getColDef();return i(m)??s(m)};n.sort((f,m)=>u(f)-u(m));const g=[],h=this.groupHierarchCols,p=f=>{h?h.expandColumnInto(g,f):g.push(f)};n.forEach(p);for(const f of a)r.indexOf(f)>=0&&p(f);for(const f of r)g.indexOf(f)<0&&p(f);for(const f of a)g.indexOf(f)<0&&o(f,!1,e);for(const f of g)a.indexOf(f)<0&&o(f,!0,e);return this.columns=g,this.updateIndexMap(),this.columns}restoreColumnOrder(e,t){const a=this.columns,n=this.colModel.getColDefCols();if(!a.length||!n)return e;const r=Object.keys(t),o=new Set(r),i=new Set(r),s=new Set(a.map(b=>{const y=b.getColId();return i.delete(y),y}).concat(r)),l=[],c={};let d=0;for(let b=0;b{const y=c[b];for(let S=h;Sthis.syncValueFromDom(),blur:()=>this.syncValueFromDom(!0)}),this.renderValueToElement&&this.value!=null&&this.refreshDisplayedValue(this.value)}setupAria(){const e=this.getAriaElement();De(e,this.config.ariaRole??"textbox"),e.setAttribute("tabindex",this.gos.get("tabIndex").toString())}setupEditable(){const e=this.config.contentEditable??"plaintext-only";e===!1?this.eWrapper.removeAttribute("contenteditable"):e===!0?this.eWrapper.setAttribute("contenteditable","true"):this.eWrapper.setAttribute("contenteditable",e)}setValue(e,t){const a=super.setValue(e,t);return this.renderValueToElement&&!t&&this.refreshDisplayedValue(e),a}setRenderValueToElement(e){this.renderValueToElement=e}setDisplayedValue(e){this.refreshDisplayedValue(e??"")}getContentElement(){return this.eWrapper}refreshDisplayedValue(e){this.eWrapper.textContent=e??""}syncValueFromDom(e){super.setValue(this.eWrapper.textContent??"",e)}getFocusableElement(){return this.eWrapper}},lO={selector:"AG-CONTENT-EDITABLE-FIELD",component:$h},cO='.ag-toggle-button{flex:none;min-width:unset;width:unset}.ag-toggle-button-input-wrapper{background-color:var(--ag-toggle-button-off-background-color);border-radius:calc(var(--ag-toggle-button-height)*.5);flex:none;height:var(--ag-toggle-button-height);max-width:var(--ag-toggle-button-width);min-width:var(--ag-toggle-button-width);position:relative;transition:background-color .1s;:where(.ag-toggle-button-input){-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;display:block;height:var(--ag-toggle-button-height);margin:0;max-width:var(--ag-toggle-button-width);min-width:var(--ag-toggle-button-width);opacity:0}&.ag-checked{background-color:var(--ag-toggle-button-on-background-color)}&.ag-disabled{opacity:.5}}.ag-toggle-button-input-wrapper:before{background-color:var(--ag-toggle-button-switch-background-color);border-radius:100%;content:"";display:block;height:calc(var(--ag-toggle-button-height) - var(--ag-toggle-button-switch-inset)*2);left:var(--ag-toggle-button-switch-inset);pointer-events:none;position:absolute;top:var(--ag-toggle-button-switch-inset);transition:left .1s;width:calc(var(--ag-toggle-button-height) - var(--ag-toggle-button-switch-inset)*2)}.ag-toggle-button-input-wrapper.ag-checked:before{left:calc(100% - var(--ag-toggle-button-height) + var(--ag-toggle-button-switch-inset))}.ag-toggle-button-input-wrapper:focus-within{box-shadow:var(--ag-focus-shadow)}',Vr=class extends Vn{constructor(e){super(e,"ag-toggle-button"),this.registerCSS(cO)}setValue(e,t){return super.setValue(e,t),this.toggleCss("ag-selected",this.getValue()),this}},Jy={selector:"AG-TOGGLE-BUTTON",component:Vr},dO=class{constructor(){this.ieCompatibility=!1}init(){this.ieCompatibility=this.md5("hello")!="5d41402abc4b2a76b9719d911017c592"}md5cycle(e,t){let a=e[0],n=e[1],r=e[2],o=e[3];a=this.ff(a,n,r,o,t[0],7,-680876936),o=this.ff(o,a,n,r,t[1],12,-389564586),r=this.ff(r,o,a,n,t[2],17,606105819),n=this.ff(n,r,o,a,t[3],22,-1044525330),a=this.ff(a,n,r,o,t[4],7,-176418897),o=this.ff(o,a,n,r,t[5],12,1200080426),r=this.ff(r,o,a,n,t[6],17,-1473231341),n=this.ff(n,r,o,a,t[7],22,-45705983),a=this.ff(a,n,r,o,t[8],7,1770035416),o=this.ff(o,a,n,r,t[9],12,-1958414417),r=this.ff(r,o,a,n,t[10],17,-42063),n=this.ff(n,r,o,a,t[11],22,-1990404162),a=this.ff(a,n,r,o,t[12],7,1804603682),o=this.ff(o,a,n,r,t[13],12,-40341101),r=this.ff(r,o,a,n,t[14],17,-1502002290),n=this.ff(n,r,o,a,t[15],22,1236535329),a=this.gg(a,n,r,o,t[1],5,-165796510),o=this.gg(o,a,n,r,t[6],9,-1069501632),r=this.gg(r,o,a,n,t[11],14,643717713),n=this.gg(n,r,o,a,t[0],20,-373897302),a=this.gg(a,n,r,o,t[5],5,-701558691),o=this.gg(o,a,n,r,t[10],9,38016083),r=this.gg(r,o,a,n,t[15],14,-660478335),n=this.gg(n,r,o,a,t[4],20,-405537848),a=this.gg(a,n,r,o,t[9],5,568446438),o=this.gg(o,a,n,r,t[14],9,-1019803690),r=this.gg(r,o,a,n,t[3],14,-187363961),n=this.gg(n,r,o,a,t[8],20,1163531501),a=this.gg(a,n,r,o,t[13],5,-1444681467),o=this.gg(o,a,n,r,t[2],9,-51403784),r=this.gg(r,o,a,n,t[7],14,1735328473),n=this.gg(n,r,o,a,t[12],20,-1926607734),a=this.hh(a,n,r,o,t[5],4,-378558),o=this.hh(o,a,n,r,t[8],11,-2022574463),r=this.hh(r,o,a,n,t[11],16,1839030562),n=this.hh(n,r,o,a,t[14],23,-35309556),a=this.hh(a,n,r,o,t[1],4,-1530992060),o=this.hh(o,a,n,r,t[4],11,1272893353),r=this.hh(r,o,a,n,t[7],16,-155497632),n=this.hh(n,r,o,a,t[10],23,-1094730640),a=this.hh(a,n,r,o,t[13],4,681279174),o=this.hh(o,a,n,r,t[0],11,-358537222),r=this.hh(r,o,a,n,t[3],16,-722521979),n=this.hh(n,r,o,a,t[6],23,76029189),a=this.hh(a,n,r,o,t[9],4,-640364487),o=this.hh(o,a,n,r,t[12],11,-421815835),r=this.hh(r,o,a,n,t[15],16,530742520),n=this.hh(n,r,o,a,t[2],23,-995338651),a=this.ii(a,n,r,o,t[0],6,-198630844),o=this.ii(o,a,n,r,t[7],10,1126891415),r=this.ii(r,o,a,n,t[14],15,-1416354905),n=this.ii(n,r,o,a,t[5],21,-57434055),a=this.ii(a,n,r,o,t[12],6,1700485571),o=this.ii(o,a,n,r,t[3],10,-1894986606),r=this.ii(r,o,a,n,t[10],15,-1051523),n=this.ii(n,r,o,a,t[1],21,-2054922799),a=this.ii(a,n,r,o,t[8],6,1873313359),o=this.ii(o,a,n,r,t[15],10,-30611744),r=this.ii(r,o,a,n,t[6],15,-1560198380),n=this.ii(n,r,o,a,t[13],21,1309151649),a=this.ii(a,n,r,o,t[4],6,-145523070),o=this.ii(o,a,n,r,t[11],10,-1120210379),r=this.ii(r,o,a,n,t[2],15,718787259),n=this.ii(n,r,o,a,t[9],21,-343485551),e[0]=this.add32(a,e[0]),e[1]=this.add32(n,e[1]),e[2]=this.add32(r,e[2]),e[3]=this.add32(o,e[3])}cmn(e,t,a,n,r,o){return t=this.add32(this.add32(t,e),this.add32(n,o)),this.add32(t<>>32-r,a)}ff(e,t,a,n,r,o,i){return this.cmn(t&a|~t&n,e,t,r,o,i)}gg(e,t,a,n,r,o,i){return this.cmn(t&n|a&~n,e,t,r,o,i)}hh(e,t,a,n,r,o,i){return this.cmn(t^a^n,e,t,r,o,i)}ii(e,t,a,n,r,o,i){return this.cmn(a^(t|~n),e,t,r,o,i)}md51(e){const t=e.length,a=[1732584193,-271733879,-1732584194,271733878];let n;for(n=64;n<=e.length;n+=64)this.md5cycle(a,this.md5blk(e.substring(n-64,n)));e=e.substring(n-64);const r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(n=0;n>2]|=e.charCodeAt(n)<<(n%4<<3);if(r[n>>2]|=128<<(n%4<<3),n>55)for(this.md5cycle(a,r),n=0;n<16;n++)r[n]=0;return r[14]=t*8,this.md5cycle(a,r),a}md5blk(e){const t=[];for(let a=0;a<64;a+=4)t[a>>2]=e.charCodeAt(a)+(e.charCodeAt(a+1)<<8)+(e.charCodeAt(a+2)<<16)+(e.charCodeAt(a+3)<<24);return t}rhex(e){const t="0123456789abcdef".split("");let a="",n=0;for(;n<4;n++)a+=t[e>>n*8+4&15]+t[e>>n*8&15];return a}hex(e){for(let t=0;t>16)+(t>>16)+(a>>16)<<16|a&65535}},zc={"01":"GRID","02":"CHARTS","0102":"BOTH"},$y="https://www.ag-grid.com/licensing/",e0=class Wt{constructor(t){this.watermarkMessage=void 0,this.totalMessageLength=124,this.document=t,this.md5=new dO,this.md5.init()}validateLicense(){const t=this.getLicenseDetails(Wt.licenseKey),a=`AG Grid ${t.currentLicenseType==="BOTH"?"and AG Charts ":""}Enterprise`,n=t.suppliedLicenseType===void 0?"":`AG ${t.suppliedLicenseType==="BOTH"?"Grid and AG Charts":t.suppliedLicenseType==="GRID"?"Grid":"Charts"} Enterprise`;if(t.missing)(!this.isWebsiteUrl()||this.isForceWatermark())&&this.outputMissingLicenseKey(a);else if(t.expired){const r=Wt.getGridReleaseDate(),o=Wt.formatDate(r);this.outputExpiredKey(t.expiry,o,a,n)}else t.valid?t.isTrial&&t.trialExpired&&this.outputExpiredTrialKey(t.expiry,a,n):this.outputInvalidLicenseKey(!!t.incorrectLicenseType,a,n)}static extractExpiry(t){const a=t.substring(t.lastIndexOf("_")+1,t.length);return new Date(parseInt(Wt.decode(a),10))}static extractLicenseComponents(t){let a=t.replace(/[\u200B-\u200D\uFEFF]/g,"");if(a=a.replace(/\r?\n|\r/g,""),t.length<=32)return{md5:null,license:t,version:null,isTrial:null};const n=a.length-32,r=a.substring(n),o=a.substring(0,n),[i,s,l]=Wt.extractBracketedInformation(a);return{md5:r,license:o,version:i,isTrial:s,type:l}}getLicenseDetails(t){const a=Wt.chartsLicenseManager?"BOTH":"GRID";if(!t?.length)return{licenseKey:t,valid:!1,missing:!0,currentLicenseType:a};const n=Wt.getGridReleaseDate(),{md5:r,license:o,version:i,isTrial:s,type:l}=Wt.extractLicenseComponents(t);let c=r===this.md5.md5(o)&&!t.includes("For_Trialing_ag-Grid_Only"),d,u,g=null,h=!1,p;function f(){d=gg,i){case"legacy":case"2":{s&&f();break}case"3":l?.length?(p=l,l!==zc["01"]&&l!==zc["0102"]||a==="BOTH"&&p!=="BOTH"?(c=!1,h=!0):s&&f()):c=!1}return c?{licenseKey:t,valid:c,expiry:Wt.formatDate(g),expired:u,version:i,isTrial:s,trialExpired:d,incorrectLicenseType:h,currentLicenseType:a,suppliedLicenseType:p}:{licenseKey:t,valid:c,incorrectLicenseType:h,currentLicenseType:a,suppliedLicenseType:p}}isDisplayWatermark(){return this.isForceWatermark()||!this.isLocalhost()&&!this.isWebsiteUrl()&&!!this.watermarkMessage?.length}getWatermarkMessage(){return this.watermarkMessage||""}getHostname(){const a=(this.document.defaultView||window).location,{hostname:n=""}=a;return n}isForceWatermark(){const a=(this.document.defaultView||window).location,{pathname:n}=a;return n?n.includes("forceWatermark"):!1}isWebsiteUrl(){return this.getHostname().match(/^(?:[\w-]+\.)?(ag-grid|bryntum)\.com$/)!==null}isLocalhost(){return this.getHostname().match(/^(?:127\.0\.0\.1|localhost)$/)!==null}static formatDate(t){const a=["January","February","March","April","May","June","July","August","September","October","November","December"],n=t.getDate(),r=t.getMonth(),o=t.getFullYear();return n+" "+a[r]+" "+o}static getGridReleaseDate(){return new Date(parseInt(Wt.decode(Wt.RELEASE_INFORMATION),10))}static decode(t){const a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let n="",r,o,i,s,l,c,d,u=0;const g=t.replace(/[^A-Za-z0-9+/=]/g,"");for(;u>4,o=(l&15)<<4|c>>2,i=(c&3)<<6|d,n=n+String.fromCharCode(r),c!=64&&(n=n+String.fromCharCode(o)),d!=64&&(n=n+String.fromCharCode(i));return n=Wt.utf8_decode(n),n}static utf8_decode(t){t=t.replace(/rn/g,"n");let a="";for(let n=0;n127&&r<2048?(a+=String.fromCharCode(r>>6|192),a+=String.fromCharCode(r&63|128)):(a+=String.fromCharCode(r>>12|224),a+=String.fromCharCode(r>>6&63|128),a+=String.fromCharCode(r&63|128))}return a}static setChartsLicenseManager(t){this.chartsLicenseManager=t,this.chartsLicenseManager?.setLicenseKey(this.licenseKey,!0)}static setLicenseKey(t){A(this.licenseKey)&&this.licenseKey!==t&&Bm(291,void 0,"AG Grid: License Key being set multiple times with different values. This can result in an incorrect license key being used."),this.licenseKey=t,this.chartsLicenseManager?.setLicenseKey(t,!0)}static extractBracketedInformation(t){if(!t.includes("["))return["legacy",!1,void 0];const a=t.match(/\[(.*?)\]/g).map(s=>s.replace("[","").replace("]",""));if(!a||a.length===0)return["legacy",!1,void 0];const n=a.filter(s=>s==="TRIAL").length===1,r=a.filter(s=>s.indexOf("v")===0)[0],o=r?r.replace("v",""):"legacy",i=zc[a.filter(s=>zc[s])[0]];return[o,n,i]}centerPadAndOutput(t){const a=this.totalMessageLength-t.length;console.error(t.padStart(a/2+t.length,"*").padEnd(this.totalMessageLength,"*"))}padAndOutput(t,a="*",n=""){console.error(t.padEnd(this.totalMessageLength-n.length,a)+n)}outputInvalidLicenseKey(t,a,n){t?(this.centerPadAndOutput(""),this.centerPadAndOutput(` ${a} License `),this.centerPadAndOutput(" Incompatible License Key "),this.padAndOutput(`* Your license key is for ${n} only and does not cover you for ${a}.`," ","*"),this.padAndOutput(`* To troubleshoot your license key visit ${$y}.`," ","*"),this.centerPadAndOutput(""),this.centerPadAndOutput("")):(this.centerPadAndOutput(""),this.centerPadAndOutput(` ${a} License `),this.centerPadAndOutput(" Invalid License Key "),this.padAndOutput("* Your license key is not valid."," ","*"),this.padAndOutput(`* To troubleshoot your license key visit ${$y}.`," ","*"),this.centerPadAndOutput(""),this.centerPadAndOutput("")),this.watermarkMessage="Invalid License"}outputExpiredTrialKey(t,a,n){this.centerPadAndOutput(""),this.centerPadAndOutput(` ${a} License `),this.centerPadAndOutput(" Trial Period Expired. "),this.padAndOutput(`* Your trial only license for ${n} expired on ${t}.`," ","*"),this.padAndOutput("* Please email info@ag-grid.com to purchase a license."," ","*"),this.centerPadAndOutput(""),this.centerPadAndOutput(""),this.watermarkMessage="Trial Period Expired"}outputMissingLicenseKey(t){this.centerPadAndOutput(""),this.centerPadAndOutput(` ${t} License `),this.centerPadAndOutput(" License Key Not Found "),this.padAndOutput(`* All ${t} features are unlocked for trial.`," ","*"),this.padAndOutput("* If you want to hide the watermark please email info@ag-grid.com for a trial license key."," ","*"),this.centerPadAndOutput(""),this.centerPadAndOutput(""),this.watermarkMessage="For Trial Use Only"}outputExpiredKey(t,a,n,r){this.centerPadAndOutput(""),this.centerPadAndOutput(` ${n} License `),this.centerPadAndOutput(" Incompatible Software Version "),this.padAndOutput(`* Your license key works with versions${r==""?"":` of ${r}`} released before ${t}.`," ","*"),this.padAndOutput(`* The version you are trying to use was released on ${a}.`," ","*"),this.padAndOutput("* Please contact info@ag-grid.com to renew your license key."," ","*"),this.centerPadAndOutput(""),this.centerPadAndOutput(""),this.watermarkMessage="License Expired"}};e0.RELEASE_INFORMATION="MTc3NTU1MDg5NDgwOQ==";var ps=e0,uO='.ag-watermark{bottom:20px;color:#9b9b9b;opacity:.7;position:absolute;transition:opacity 1s ease-out 3s}:where(.ag-ltr) .ag-watermark{right:25px}:where(.ag-rtl) .ag-watermark{left:25px}.ag-watermark:before{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDkiIGhlaWdodD0iMzYiIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyMDkgMzYiPjxwYXRoIGZpbGw9IiM5YjliOWIiIGQ9Ik0xOTIuOTkzIDIzLjY1OHYtNy45NDZoLTEzLjU0MWwtNy45NDcgNy45NDZ6TTIwOC4yNSAzLjk1aC0xNi45NzRsLTguMDEgNy45NDdoMjQuOTg0ek0xNjMuNjIyIDMxLjYwNWw0LjA2OS00LjA2OWgxMy43MzJ2Ny45NDdoLTE3LjgwMXoiLz48cGF0aCBmaWxsPSIjOWI5YjliIiBkPSJNMTY2LjYxIDE5Ljc4aDguNzczbDguMDEtNy45NDZIMTY2LjYxek0xNTcuMDExIDMxLjYwNWg2LjYxMWw3Ljg4My03Ljk0N2gtMTQuNDk0ek0xOTEuMjc2IDMuOTVsLTQuMDY4IDQuMDdIMTYxLjI3Vi4wNzJoMzAuMDA2ek0yMC44NCAzMC4yMDZIOC4zNzhsLTIuMTYyIDUuMzRILjc1TDEyLjI1NyA4LjU5Mmg0Ljc2OEwyOC41MyAzNS41NDZoLTUuNTN6bS0xLjcxNy00LjI2TDE0LjYwOSAxNC45NWwtNC41MTQgMTAuOTk4ek0xMDQuNDM3IDE4LjUwOWMxLjU4OS0yLjM1MiA1LjU5NC0yLjYwNyA3LjI0Ny0yLjYwN3Y0LjU3OGMtMi4wMzQgMC00LjA2OS4wNjMtNS4yNzcuOTUzLTEuMjA3Ljg5LTEuODQzIDIuMDk4LTEuODQzIDMuNTZ2MTAuNTUzaC00Ljk1OVYxNS45MDJoNC43Njh6TTExOS4zNzYgMTUuOTAyaC00Ljk1OHYxOS42NDRoNC45NTh6TTExOS4zNzYgNy4xM2gtNC45NTh2NS44NDhoNC45NTh6TTE0My45NzkgNy4xM3YyOC40MTZoLTQuNzY4bC0uMTI3LTIuOTg4YTguMyA4LjMgMCAwIDEtMi42NyAyLjQ4Yy0xLjA4MS41NzItMi40MTYuODktMy45NDIuODktMS4zMzUgMC0yLjYwNi0uMjU1LTMuNjg3LS43LTEuMTQ0LS41MDgtMi4xNjItMS4xNDQtMi45ODgtMi4wMzRhOS42IDkuNiAwIDAgMS0xLjk3MS0zLjE3OWMtLjUwOC0xLjIwNy0uNjk5LTIuNjA2LS42OTktNC4xMzJzLjI1NC0yLjkyNC42OTktNC4xOTZjLjUwOS0xLjI3MSAxLjE0NS0yLjM1MiAxLjk3MS0zLjI0MnMxLjg0NC0xLjU4OSAyLjk4OC0yLjA5OCAyLjM1Mi0uNzYzIDMuNjg3LS43NjNjMS41MjYgMCAyLjc5Ny4yNTUgMy44NzguODI3czEuOTcxIDEuMzM1IDIuNjcgMi40MTZWNy4xOTNoNC45NTl6bS0xMC40MjYgMjQuNTM4YzEuNjUzIDAgMi45MjQtLjU3MiAzLjk0MS0xLjY1M3MxLjUyNi0yLjU0MyAxLjUyNi00LjMyMy0uNTA5LTMuMTc4LTEuNTI2LTQuMzIyYy0xLjAxNy0xLjA4MS0yLjI4OC0xLjY1My0zLjk0MS0xLjY1My0xLjU5IDAtMi45MjUuNTcyLTMuODc4IDEuNjUzLTEuMDE3IDEuMDgtMS41MjYgMi41NDMtMS41MjYgNC4zMjIgMCAxLjc4LjUwOSAzLjE4IDEuNTI2IDQuMjYgMS4wMTcgMS4xNDQgMi4yODggMS43MTYgMy44NzggMS43MTZNNTcuMjAyIDIwLjM1M0g0NC45MzN2NC4yNTloNi45OTNjLS4xOSAyLjE2MS0xLjAxNyAzLjgxNC0yLjQxNiA1LjE1LTEuMzk4IDEuMjctMy4xNzggMS45MDYtNS40NjcgMS45MDYtMS4yNzEgMC0yLjQ4LS4yNTQtMy40OTYtLjY5OWE3IDcgMCAwIDEtMi43MzQtMS45N2MtLjc2My0uODI3LTEuMzM1LTEuODQ0LTEuNzgtMy4wNTJzLS42MzYtMi40OC0uNjM2LTMuOTQyLjE5LTIuNzMzLjYzNi0zLjk0MWMuMzgxLTEuMjA4IDEuMDE3LTIuMTYyIDEuNzgtMy4wNTIuNzYzLS44MjYgMS42NTMtMS40NjIgMi43MzMtMS45N2E5LjEgOS4xIDAgMCAxIDMuNTYtLjdxNC4wMDUgMCA2LjEwMyAxLjkwN2wzLjMwNi0zLjMwNWMtMi40OC0xLjkwNy01LjY1OC0yLjkyNS05LjQwOS0yLjkyNS0yLjA5NyAwLTQuMDA0LjMxOC01LjcyMSAxLjAxOC0xLjcxNi42OTktMy4xNzkgMS41ODktNC4zODYgMi43OTdBMTIuMSAxMi4xIDAgMCAwIDMxLjIgMTYuMjJjLS42MzUgMS43MTctLjk1MyAzLjYyNC0uOTUzIDUuNjU4cy4zMTggMy45NDIgMS4wMTcgNS42NThjLjcgMS43MTcgMS41OSAzLjE3OSAyLjc5NyA0LjM4N2ExMi4xIDEyLjEgMCAwIDAgNC4zODcgMi43OTdjMS43MTYuNyAzLjYyMyAxLjAxNyA1LjY1NyAxLjAxNyAyLjAzNSAwIDMuODc4LS4zMTggNS41MzEtMS4wMTcgMS42NTMtLjcgMy4wNTItMS41OSA0LjE5Ni0yLjc5N3ExLjcxNi0xLjgxMiAyLjY3LTQuMzg3Yy42MzYtMS43MTYuOTU0LTMuNjIzLjk1NC01LjY1OHYtLjgyNmMtLjE5MS0uMTI3LS4yNTUtLjQ0NS0uMjU1LS43TTk1Ljk4MiAyMC4zNTNoLTEyLjI3djQuMjU5aDYuOTkzYy0uMTkgMi4xNjEtMS4wMTcgMy44MTQtMi40MTYgNS4xNS0xLjM5OCAxLjI3LTMuMTc4IDEuOTA2LTUuNDY3IDEuOTA2LTEuMjcxIDAtMi40OC0uMjU0LTMuNDk2LS42OTlhNyA3IDAgMCAxLTIuNzM0LTEuOTdjLS43NjMtLjgyNy0xLjMzNS0xLjg0NC0xLjc4LTMuMDUycy0uNjM2LTIuNDgtLjYzNi0zLjk0Mi4xOS0yLjczMy42MzYtMy45NDFjLjM4MS0xLjIwOCAxLjAxNy0yLjE2MiAxLjc4LTMuMDUyLjc2My0uODI2IDEuNjUzLTEuNDYyIDIuNzM0LTEuOTdhOS4xIDkuMSAwIDAgMSAzLjU2LS43cTQuMDA1IDAgNi4xMDMgMS45MDdsMy4zMDUtMy4zMDVjLTIuNDc5LTEuOTA3LTUuNjU4LTIuOTI1LTkuNDA4LTIuOTI1LTIuMDk4IDAtNC4wMDUuMzE4LTUuNzIyIDEuMDE4LTEuNzE2LjY5OS0zLjE3OCAxLjU4OS00LjM4NiAyLjc5N2ExMi4xIDEyLjEgMCAwIDAtMi43OTcgNC4zODZjLS42MzYgMS43MTctLjk1NCAzLjYyNC0uOTU0IDUuNjU4cy4zMTggMy45NDIgMS4wMTcgNS42NThjLjcgMS43MTcgMS41OSAzLjE3OSAyLjc5NyA0LjM4N2ExMi4xIDEyLjEgMCAwIDAgNC4zODcgMi43OTdjMS43MTYuNyAzLjYyMyAxLjAxNyA1LjY1OCAxLjAxNyAyLjAzNCAwIDMuODc4LS4zMTggNS41My0xLjAxNyAxLjY1My0uNyAzLjA1Mi0xLjU5IDQuMTk2LTIuNzk3cTEuNzE4LTEuODEyIDIuNjctNC4zODdjLjYzNi0xLjcxNi45NTQtMy42MjMuOTU0LTUuNjU4di0uODI2Yy0uMTktLjEyNy0uMjU1LS40NDUtLjI1NS0uNyIvPjwvc3ZnPg==");background-repeat:no-repeat;background-size:170px 40px;content:"";display:block;height:40px;width:170px}.ag-watermark-text{font-family:Impact,sans-serif;font-size:19px;font-weight:700;opacity:.5}:where(.ag-ltr) .ag-watermark-text{padding-left:.7rem}:where(.ag-rtl) .ag-watermark-text{padding-right:.7rem}',gO={tag:"div",cls:"ag-watermark",children:[{tag:"div",ref:"eLicenseTextRef",cls:"ag-watermark-text"}]},hO=class extends T{constructor(){super(gO),this.eLicenseTextRef=x,this.registerCSS(uO)}wireBeans(e){this.licenseManager=e.licenseManager}postConstruct(){const e=this.shouldDisplayWatermark();this.setDisplayed(e),e&&(this.eLicenseTextRef.textContent=this.licenseManager.getWatermarkMessage(),window.setTimeout(()=>this.addCss("ag-opacity-zero"),0),window.setTimeout(()=>this.setDisplayed(!1),5e3))}shouldDisplayWatermark(){return this.licenseManager.isDisplayWatermark()}},pO={selector:"AG-WATERMARK",component:hO},ep=class extends F{constructor(){super(...arguments),this.beanName="licenseManager"}postConstruct(){this.validateLicense()}validateLicense(){const e=this.beans;if(e.withinStudio)this.licenseManager={isDisplayWatermark:()=>!1,getWatermarkMessage:()=>""};else{const t=new ps(me(e));this.licenseManager=t,t.validateLicense()}}static getLicenseDetails(e){return new ps(null).getLicenseDetails(e)}getWatermarkSelector(){return pO}isDisplayWatermark(){return this.licenseManager.isDisplayWatermark()}getWatermarkMessage(){return this.licenseManager.getWatermarkMessage()}static setLicenseKey(e){ps.setLicenseKey(e)}static setChartsLicenseManager(e){ps.setChartsLicenseManager(e)}},fO=9525,t0={0:1,"0.00":2,"#,##0":3,"#,##0.00":4,"0%":9,"0.00%":10,"0.00E+00":11,"# ?/?":12,"# ??/??":13,"mm-dd-yy":14,"d-mmm-yy":15,"d-mmm":16,"mmm-yy":17,"h:mm AM/PM":18,"h:mm:ss AM/PM":19,"h:mm":20,"h:mm:ss":21,"m/d/yy h:mm":22,"#,##0 ;(#,##0)":37,"#,##0 ;[Red](#,##0)":38,"#,##0.00;(#,##0.00)":39,"#,##0.00;[Red](#,##0.00)":40,"mm:ss":45,"[h]:mm:ss":46,"mmss.0":47,"##0.0E+0":48,"@":49},Oc=`\r
`;function a0(e,t,a){if(!t&&t!==""&&t!==0)return"";let n=t;return typeof t=="boolean"&&a&&(n=a(t)),` ${e}="${n}"`}function mO(e={}){const t="",a="?>",n=["version"];e.version||(e.version="1.0"),e.encoding&&n.push("encoding"),e.standalone&&n.push("standalone");const r=n.map(o=>`${o}="${e[o]}"`).join(" ");return`${t}xml ${r} ${a}`}function n0(e,t){let a="";if(e.properties&&(e.properties.prefixedAttributes&&e.properties.prefixedAttributes.forEach(r=>{for(const o of Object.keys(r.map))a+=a0(r.prefix+o,r.map[o],t)}),e.properties.rawMap))for(const r of Object.keys(e.properties.rawMap))a+=a0(r,e.properties.rawMap[r],t);let n="<"+e.name+a;if(!e.children&&e.textNode==null)return n+"/>"+Oc;if(e.textNode!=null)return n+">"+e.textNode+""+e.name+">"+Oc;if(n+=">"+Oc,e.children)for(const r of e.children)n+=n0(r,t);return n+""+e.name+">"+Oc}var vO=e=>Math.round(e*96/72),Io=e=>Math.ceil(e*fO),CO=e=>{if(e===void 0)return;const a=["Automatic","Roman","Swiss","Modern","Script","Decorative"].indexOf(e||"Automatic");return Math.max(a,0)},Gc=(e,t)=>{if(!t)return;let a;return typeof t=="number"?a=t:a=t({rowIndex:e}),a},bO=(e,t)=>{const{colSpan:a,column:n}=e.position;if(e.width)if(a){const r=t.slice(n-1,n+a-1);let o=0;for(let i=0;i{const{rowSpan:a,row:n}=e.position;if(e.height)if(a){let r=0,o=0;for(let i=n;i{const a=mO({encoding:"UTF-8",standalone:"yes"}),n=n0(e);return t?n:`${a}${n}`},Br=e=>{const n=String.fromCharCode,r=Math.floor(e/26),o=e%26;return!r||e===26?n(65+e-1):o?r<26?n(65+r-1)+n(65+o-1):Br(r)+n(65+o-1):Br(r-1)+"Z"},yO=e=>e.replaceAll(`
`,"_x000a_"),Vc=e=>{if(e==null)return null;let t="";for(let a=0;a=0&&n<=31&&n!==10){const i=`_x${n.toString(16).toUpperCase().padStart(4,"0")}_`;t+=i}else t+=e[a]}return t},SO=e=>{const t=[];for(const a of e.keys()){const n=a.toString(),r={name:"t",textNode:pt(Vc(n))};n.trim().length!==n.length&&(r.properties={rawMap:{"xml:space":"preserve"}}),t.push({name:"si",children:[r]})}return t},xO=class extends uh{constructor(e){super(e),this.mixedStyles={},this.mixedStyleCounter=0,this.rows=[],this.frozenRowCount=0,this.skipFrozenRows=!1,this.frozenColumnCount=0,this.skipFrozenColumns=!1,this.formulaSvc=e.formulaSvc,this.config=Object.assign({},e),this.workbook=e.workbook,this.stylesByIds={};for(const a of this.config.baseExcelStyles)this.stylesByIds[a.id]=a;const t={id:"_quotePrefix",quotePrefix:1};this.stylesByIds[t.id]=t,this.excelStyles=[...this.config.baseExcelStyles,t]}addCustomContent(e){for(const t of e){const a=this.rows.length+1;let n;!this.config.suppressRowOutline&&t.outlineLevel!=null&&(n=t.outlineLevel);const r={height:Gc(a,t.height||this.config.rowHeight),cells:(t.cells||[]).map((o,i)=>{const s=this.addImage(a,this.columnsToExport[i],o.data?.value);let l=null;o.styleId&&(l=typeof o.styleId=="string"?[o.styleId]:o.styleId);const c=this.getStyleId(l);if(s)return this.createCell(c,this.getDataTypeForValue(s.value),s.value==null?"":s.value);const d=o.data?.value??"",u=this.getDataTypeForValue(d);return o.mergeAcross?this.createMergedCell(c,u,d,o.mergeAcross):this.createCell(c,u,d)}),outlineLevel:n};t.collapsed!=null&&(r.collapsed=t.collapsed),t.hidden!=null&&(r.hidden=t.hidden),this.rows.push(r)}}onNewHeaderGroupingRow(){const e=[],{freezeRows:t,headerRowHeight:a}=this.config;return this.rows.push({cells:e,height:Gc(this.rows.length+1,a)}),t&&this.frozenRowCount++,{onColumn:(n,r,o,i,s)=>{const l=this.config.styleLinker({rowType:"HEADER_GROUPING",rowIndex:1,value:`grouping-${r}`,columnGroup:n});e.push({...this.createMergedCell(this.getStyleId(l),this.getDataTypeForValue("string"),r,i),collapsibleRanges:s})}}}onNewHeaderRow(){const{freezeRows:e,headerRowHeight:t}=this.config;return e&&this.frozenRowCount++,this.onNewRow(this.onNewHeaderColumn,t)}onNewBodyRow(e){const{freezeRows:t,rowHeight:a}=this.config;this.skipFrozenRows||(t==="headersAndPinnedRows"&&e?.rowPinned==="top"?this.frozenRowCount++:typeof t=="function"?t(B(this.gos,{node:e}))?this.frozenRowCount++:this.skipFrozenRows=!0:this.skipFrozenRows=!0);const n=this.onNewRow(this.onNewBodyColumn,a);return e&&this.addRowOutlineIfNecessary(e),n}prepare(e){super.prepare(e),this.columnsToExport=[...e],this.cols=e.map((t,a)=>this.convertColumnToExcel(t,a))}parse(){const e=this.rows.reduce((a,n)=>Math.max(a,n.cells.length),0);for(;this.cols.length{const n=this.extractHeaderValue(a),r=this.config.styleLinker({rowType:"HEADER",rowIndex:e,value:n,column:a});t.push(this.createCell(this.getStyleId(r),this.getDataTypeForValue("string"),n))}}onNewBodyColumn(e,t){let a=0;const{freezeColumns:n,rightToLeft:r}=this.config;return(o,i,s)=>{if(a>0){a-=1;return}if(!this.skipFrozenColumns){const m=o.getPinned();n==="pinned"&&m&&(m===!0||m==="left")!==r?this.frozenColumnCount++:typeof n=="function"&&n(B(this.gos,{column:o}))?this.frozenColumnCount++:this.skipFrozenColumns=!0}const{value:l,valueFormatted:c}=this.extractRowCellValue({column:o,node:s,currentColumnIndex:i,accumulatedRowIndex:e,type:"excel",useRawFormula:!0}),d=l,u=typeof d=="bigint"?d.toString():d,g=this.config.styleLinker({rowType:"BODY",rowIndex:e,value:d,column:o,node:s}),h=this.getStyleId(g),p=o.getColSpan(s),f=this.addImage(e,o,u);if(f)t.push(this.createCell(h,this.getDataTypeForValue(f.value),f.value==null?"":f.value));else if(p>1)a=p-1,t.push(this.createMergedCell(h,this.getDataTypeForValue(d),u,p-1));else{const m=o.isAllowFormula()&&this.formulaSvc?.isFormula(u),v=this.createCell(h,m?"f":this.getDataTypeForValue(d),m?this.formulaSvc?.updateFormulaByOffset({value:u,rowDelta:e-(s.formulaRowIndex+1),useRefFormat:!1}):u,c);t.push(v)}}}onNewRow(e,t){const a=[];return this.rows.push({cells:a,height:Gc(this.rows.length+1,t)}),{onColumn:e.bind(this,this.rows.length,a)()}}addWorksheetToWorkbook(e){const{excelStyles:t,config:a}=this;return this.mapSharedStrings(e),this.frozenColumnCount&&(a.frozenColumnCount=this.frozenColumnCount),this.frozenRowCount&&(a.frozenRowCount=this.frozenRowCount),this.workbook.addWorksheet(t,e,a)}mapSharedStrings(e){let t;for(const a of e.table.rows)for(const n of a.cells){const r=n.data;if(!r||r.type!=="s")continue;const o=r.value;if(o!=null){if(o===""){t??(t=this.workbook.getStringPosition("").toString()),r.value=t;continue}r.value=this.workbook.getStringPosition(String(o)).toString()}}}getDataTypeForValue(e){if(e===void 0)return"empty";let t="s";try{this.isNumerical(e)&&(t="n")}catch{}return t}getTypeFromStyle(e,t){if(this.isFormula(t))return"f";if(e?.dataType)switch(e.dataType.toLocaleLowerCase()){case"formula":return"f";case"string":return"s";case"number":return"n";case"datetime":return"d";case"error":return"e";case"boolean":return"b";default:R(162,{id:e.id,dataType:e.dataType})}return null}addImage(e,t,a){if(!this.config.addImageToCell)return;const n=this.config.addImageToCell(e,t,a);if(n)return this.workbook.addBodyImageToMap(n.image,e,t,this.columnsToExport,this.config.rowHeight),n}createCell(e,t,a,n){const r=this.getStyleById(e);!r?.dataType&&t==="s"&&n!=null&&(a=n);const o=this.getTypeFromStyle(r,a)||t,{value:i,escaped:s}=this.getCellValue(o,a),l=[];return r&&l.push(e),s&&l.push("_quotePrefix"),e=this.getStyleId(l)||void 0,{styleId:e,data:{type:o,value:i}}}createMergedCell(e,t,a,n){const r=a??"";return{styleId:this.getStyleById(e)?e:void 0,data:{type:t,value:t==="s"?String(r):a},mergeAcross:n}}getCellValue(e,t){let a=!1;if(t==null||e==="s"&&t==="")return{value:"",escaped:!1};if(e==="s")t=String(t),t[0]==="'"&&(a=!0,t=t.slice(1));else if(e==="f")t=this.addXlfnPrefix(t).slice(1);else if(e==="n"){const n=Number(t);isNaN(n)?t="":t!==""&&(t=n.toString())}return{value:t,escaped:a}}addXlfnPrefix(e){if(!e)return e;const t=/(^|[^A-Z0-9._])(CONCAT)(\s*\()/gi;return e.replace(t,(a,n,r,o)=>`${n}_xlfn.${r}${o}`)}getStyleId(e){if(!e?.length)return null;const t=e.filter(n=>this.stylesByIds[n]!=null);if(!t.length)return null;if(t.length===1)return t[0];const a=t.join("-");return this.mixedStyles[a]||this.addNewMixedStyle(t),this.mixedStyles[a].excelID}addNewMixedStyle(e){this.mixedStyleCounter+=1;const t=`mixedStyle${this.mixedStyleCounter}`,a={};for(const r of e){const o=this.stylesByIds[r];o&&Oe(a,o,!0,!0)}a.id=t;const n=e.join("-");this.mixedStyles[n]={excelID:t,key:n,result:a},this.excelStyles.push(a),this.stylesByIds[t]=a}isFormula(e){if(e==null)return!1;const t=String(e);return this.config.autoConvertFormulas&&cr(t)}isNumerical(e){return typeof e=="bigint"?!1:isFinite(e)&&e!==""&&!isNaN(parseFloat(e))}getStyleById(e){return e==null?null:this.stylesByIds[e]||null}},kO={getTemplate(e){const{name:t,ContentType:a,Extension:n,PartName:r}=e;return{name:t,properties:{rawMap:{Extension:n,PartName:r,ContentType:a}}}}},RO=kO,Bc=e=>e==="jpg"?"jpeg":e,FO={getTemplate({sheetLen:e,hasCustomProperties:t}){const a=new Array(e).fill(void 0).map((u,g)=>({name:"Override",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",PartName:`/xl/worksheets/sheet${g+1}.xml`})),n=Zn.size,r=un.size,o={};zo.forEach(u=>{o[Bc(u.type)]=!0});const i=new Array(n).fill(void 0).map((u,g)=>({name:"Override",ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml",PartName:`/xl/drawings/drawing${g+1}.xml`})),s=[];Ka.forEach(({name:u})=>{s.push({name:"Override",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml",PartName:`/xl/tables/${u}.xml`})});const l=t?[{name:"Override",ContentType:"application/vnd.openxmlformats-officedocument.custom-properties+xml",PartName:"/docProps/custom.xml"}]:[],c=Object.keys(o).map(u=>({name:"Default",ContentType:`image/${u}`,Extension:u}));r&&c.push({name:"Default",Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"});const d=[...c,{name:"Default",Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"},{name:"Default",ContentType:"application/xml",Extension:"xml"},{name:"Override",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",PartName:"/xl/workbook.xml"},...a,{name:"Override",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml",PartName:"/xl/theme/theme1.xml"},{name:"Override",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",PartName:"/xl/styles.xml"},{name:"Override",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",PartName:"/xl/sharedStrings.xml"},...i,...s,{name:"Override",ContentType:"application/vnd.openxmlformats-package.core-properties+xml",PartName:"/docProps/core.xml"},...l].map(u=>RO.getTemplate(u));return{name:"Types",properties:{rawMap:{xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"}},children:d}}},MO=FO,EO={getTemplate(e){const a=new Date().toJSON();return{name:"cp:coreProperties",properties:{prefixedAttributes:[{prefix:"xmlns:",map:{cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",xsi:"http://www.w3.org/2001/XMLSchema-instance"}}]},children:[{name:"dc:creator",textNode:e},{name:"dc:title",textNode:"Workbook"},{name:"dcterms:created",properties:{rawMap:{"xsi:type":"dcterms:W3CDTF"}},textNode:a},{name:"dcterms:modified",properties:{rawMap:{"xsi:type":"dcterms:W3CDTF"}},textNode:a}]}}},PO=EO,AO="{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",TO=e=>Object.keys(e).filter(a=>a&&e[a]!=null).map((a,n)=>({name:"property",properties:{rawMap:{fmtid:AO,pid:(n+2).toString(),name:pt(a)??""}},children:[{name:"vt:lpwstr",textNode:pt(Vc(String(e[a])))??""}]})),DO={getTemplate(e){return{name:"Properties",properties:{rawMap:{xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}},children:TO(e)}}},IO=DO,r0=(e,t)=>({name:`xdr:${e}`,children:[{name:"xdr:col",textNode:t.col.toString()},{name:"xdr:colOff",textNode:t.offsetX.toString()},{name:"xdr:row",textNode:t.row.toString()},{name:"xdr:rowOff",textNode:t.offsetY.toString()}]}),LO=e=>{const t=[{name:"a:ext",properties:{rawMap:{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}},children:[{name:"a16:creationId",properties:{rawMap:{id:"{822E6D20-D7BC-2841-A643-D49A6EF008A2}","xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main"}}}]}];switch(e.recolor?.toLowerCase()){case"grayscale":case"sepia":case"washout":t.push({name:"a:ext",properties:{rawMap:{uri:"{C183D7F6-B498-43B3-948B-1728B52AA6E4}"}},children:[{name:"adec:decorative",properties:{rawMap:{val:"0","xmlns:adec":"http://schemas.microsoft.com/office/drawing/2017/decorative"}}}]})}return{name:"a:extLst",children:t}},zO=(e,t)=>({name:"xdr:nvPicPr",children:[{name:"xdr:cNvPr",properties:{rawMap:{id:t,name:e.id,descr:e.altText!=null?e.altText:void 0}},children:[LO(e)]},{name:"xdr:cNvPicPr",properties:{rawMap:{preferRelativeResize:"0"}},children:[{name:"a:picLocks"}]}]}),o0=e=>{if(!e.saturation&&!e.tint)return;const t=[];return e.saturation&&t.push({name:"a:satMod",properties:{rawMap:{val:e.saturation*1e3}}}),e.tint&&t.push({name:"a:tint",properties:{rawMap:{val:e.tint*1e3}}}),t},OO=(e,t)=>({name:"a:duotone",children:[{name:"a:prstClr",properties:{rawMap:{val:e.color}},children:o0(e)},{name:"a:srgbClr",properties:{rawMap:{val:t.color}},children:o0(t)}]}),GO=(e,t)=>{let a;if(e.transparency){const n=Math.min(Math.max(e.transparency,0),100);a=[{name:"a:alphaModFix",properties:{rawMap:{amt:1e5-Math.round(n*1e3)}}}]}if(e.recolor)switch(a||(a=[]),e.recolor.toLocaleLowerCase()){case"grayscale":a.push({name:"a:grayscl"});break;case"sepia":a.push(OO({color:"black"},{color:"D9C3A5",tint:50,saturation:180}));break;case"washout":a.push({name:"a:lum",properties:{rawMap:{bright:"70000",contrast:"-70000"}}});break;default:}return{name:"xdr:blipFill",children:[{name:"a:blip",properties:{rawMap:{cstate:"print","r:embed":`rId${t}`,"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships"}},children:a},{name:"a:stretch",children:[{name:"a:fillRect"}]}]}},VO=(e,t)=>{const a={name:"a:xfrm",children:[{name:"a:off",properties:{rawMap:{x:0,y:0}}},{name:"a:ext",properties:{rawMap:{cx:t.width,cy:t.height}}}]};if(e.rotation){const o=e.rotation;a.properties={rawMap:{rot:Math.min(Math.max(o,0),360)*6e4}}}return{name:"xdr:spPr",children:[a,{name:"a:prstGeom",properties:{rawMap:{prst:"rect"}},children:[{name:"a:avLst"}]}]}},BO=e=>{e.fitCell=!!e.fitCell||!e.width||!e.height;const{position:t={},fitCell:a,width:n=0,height:r=0,totalHeight:o,totalWidth:i}=e,{offsetX:s=0,offsetY:l=0,row:c=1,rowSpan:d=1,column:u=1,colSpan:g=1}=t;return{from:{row:c-1,col:u-1,offsetX:Io(s),offsetY:Io(l)},to:{row:c-1+(a?1:d-1),col:u-1+(a?1:g-1),offsetX:Io(n+s),offsetY:Io(r+l)},height:Io(o||r),width:Io(i||n)}},NO=(e,t,a,n)=>({name:"xdr:pic",children:[zO(e,t+1),GO(e,a+1),VO(e,n)]}),HO={getTemplate(e){const{sheetIndex:t}=e,a=Zn.get(t),n=Oo.get(t),r=a.map((o,i)=>{const s=BO(o);return{name:"xdr:twoCellAnchor",properties:{rawMap:{editAs:"absolute"}},children:[r0("from",s.from),r0("to",s.to),NO(o,i,n.get(o.id).index,s),{name:"xdr:clientData"}]}});return{name:"xdr:wsDr",properties:{rawMap:{"xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main","xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"}},children:r}}},qO=HO,WO={getTemplate(e){const{Id:t,Type:a,Target:n}=e;return{name:"Relationship",properties:{rawMap:{Id:t,Type:a,Target:n}}}}},UO=WO,jO={getTemplate(e){const t=e.map(a=>UO.getTemplate(a));return{name:"Relationships",properties:{rawMap:{xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"}},children:t}}},fs=jO,_O={getTemplate(e){return{name:"sst",properties:{rawMap:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:e.size,uniqueCount:e.size}},children:SO(e)}}},KO=_O,YO=e=>{switch(e){case 1:return"thin";case 2:return"medium";case 3:return"thick";default:return"hair"}},QO={None:"None",Dot:"Dotted",Dash:"Dashed",Double:"Double",DashDot:"DashDot",DashDotDot:"DashDotDot",SlantDashDot:"SlantDashDot",Continuous:"Continuous"},ZO=["Dashed","DashDot","DashDotDot"],XO={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinDiagStripe:"lightUp",ThinHorzCross:"lightGrid",ThinDiagCross:"lightTrellis",Gray125:"gray125",Gray0625:"gray0625"},JO={Automatic:"general",Left:"left",Center:"center",Right:"right",Fill:"fill",Justify:"justify",CenterAcrossSelection:"centerContinuous",Distributed:"distributed",JustifyDistributed:"justify"},$O={Automatic:void 0,Top:"top",Bottom:"bottom",Center:"center",Justify:"justify",Distributed:"distributed",JustifyDistributed:"justify"},eG=e=>e?XO[e]||e:"none",Yn=e=>e==null?e:(e.charAt(0)==="#"&&(e=e.substring(1)),e.length===6?"FF"+e:e),Nc=(e,t)=>{if(!e)return"thin";const a=YO(t);if(e==="Continuous")return a;const n=QO[e];return a==="medium"&&ZO.some(r=>r===n)?`medium${n}`:`${n.charAt(0).toLowerCase()}${n.substring(1)}`},tG=e=>JO[e]||"general",aG=e=>$O[e]||void 0,ms=e=>({name:"color",properties:{rawMap:{rgb:Yn(e||"#000000")}}}),nG={getTemplate(e){const{left:t,right:a,top:n,bottom:r,diagonal:o}=e,i=t?[ms(t.color)]:void 0,s=a?[ms(a.color)]:void 0,l=n?[ms(n.color)]:void 0,c=r?[ms(r.color)]:void 0,d=o?[ms(o.color)]:void 0;return{name:"border",children:[{name:"left",properties:{rawMap:{style:t?.style}},children:i},{name:"right",properties:{rawMap:{style:a?.style}},children:s},{name:"top",properties:{rawMap:{style:n?.style}},children:l},{name:"bottom",properties:{rawMap:{style:r?.style}},children:c},{name:"diagonal",properties:{rawMap:{style:o?.style}},children:d}]}}},rG=nG,oG={getTemplate(e){return{name:"borders",properties:{rawMap:{count:e.length}},children:e.map(t=>rG.getTemplate(t))}}},iG=oG,sG=e=>{const a=["Context","LeftToRight","RightToLeft"].indexOf(e);return Math.max(a,0)},lG={getTemplate(e){const{horizontal:t,indent:a,readingOrder:n,rotate:r,shrinkToFit:o,vertical:i,wrapText:s}=e;return{name:"alignment",properties:{rawMap:{horizontal:t&&tG(t),indent:a,readingOrder:n&&sG(n),textRotation:r,shrinkToFit:o,vertical:i&&aG(i),wrapText:s}}}}},cG=lG,dG={getTemplate(e){const t=e.protected===!1?0:1;return{name:"protection",properties:{rawMap:{hidden:e.hideFormula===!0?1:0,locked:t}}}}},uG=dG,gG={getTemplate(e){const{alignment:t,borderId:a,fillId:n,fontId:r,numFmtId:o,protection:i,quotePrefix:s,xfId:l}=e,c=[];return t&&c.push(cG.getTemplate(t)),i&&c.push(uG.getTemplate(i)),{name:"xf",properties:{rawMap:{applyAlignment:t?1:void 0,applyProtection:i?1:void 0,applyBorder:a?1:void 0,applyFill:n?1:void 0,borderId:a,fillId:n,applyFont:r?1:void 0,fontId:r,applyNumberFormat:o?1:void 0,numFmtId:o,quotePrefix:s?1:void 0,xfId:l}},children:c.length?c:void 0}}},i0=gG,hG={getTemplate(e){return{name:"cellStyleXfs",properties:{rawMap:{count:e.length}},children:e.map(t=>i0.getTemplate(t))}}},pG=hG,fG={getTemplate(e){const{builtinId:t,name:a,xfId:n}=e;return{name:"cellStyle",properties:{rawMap:{builtinId:t,name:a,xfId:n}}}}},mG=fG,vG={getTemplate(e){return{name:"cellStyles",properties:{rawMap:{count:e.length}},children:e.map(t=>mG.getTemplate(t))}}},CG=vG,bG={getTemplate(e){return{name:"cellXfs",properties:{rawMap:{count:e.length}},children:e.map(t=>i0.getTemplate(t))}}},wG=bG,yG={getTemplate(e){const{patternType:t,fgTheme:a,fgTint:n,fgRgb:r,bgRgb:o,bgIndexed:i}=e,s={name:"patternFill",properties:{rawMap:{patternType:t}}};return(a||n||r)&&(s.children=[{name:"fgColor",properties:{rawMap:{theme:a,tint:n,rgb:r}}}]),(i||o)&&(s.children||(s.children=[]),s.children.push({name:"bgColor",properties:{rawMap:{indexed:i,rgb:o}}})),{name:"fill",children:[s]}}},SG=yG,xG={getTemplate(e){return{name:"fills",properties:{rawMap:{count:e.length}},children:e.map(t=>SG.getTemplate(t))}}},kG=xG,RG={getTemplate(e){const{size:t,colorTheme:a,color:n="FF000000",fontName:r="Calibri",family:o,scheme:i,italic:s,bold:l,strikeThrough:c,outline:d,shadow:u,underline:g,verticalAlign:h}=e,p=[{name:"sz",properties:{rawMap:{val:t}}},{name:"color",properties:{rawMap:{theme:a,rgb:n}}},{name:"name",properties:{rawMap:{val:r}}}];return o&&p.push({name:"family",properties:{rawMap:{val:o}}}),i&&p.push({name:"scheme",properties:{rawMap:{val:i}}}),s&&p.push({name:"i"}),l&&p.push({name:"b"}),c&&p.push({name:"strike"}),d&&p.push({name:"outline"}),u&&p.push({name:"shadow"}),g&&p.push({name:"u",properties:{rawMap:{val:g}}}),h&&p.push({name:"vertAlign",properties:{rawMap:{val:h}}}),{name:"font",children:p}}},FG=RG,MG={getTemplate(e){return{name:"fonts",properties:{rawMap:{count:e.length}},children:e.map(t=>FG.getTemplate(t))}}},EG=MG;function PG(e){const t=e.split(/(\[[^\]]*\])/);for(let a=0;aTG.getTemplate(t))}}},IG=DG,Hc,Lo,vs,Cs,bs,s0,qc,l0,tp,c0=(e,t)=>(e.includes("mixedStyle")&&t>1&&(e+=`_${t}`),e),d0=()=>{Hc={base:0},Lo=[],vs=[{fontName:"Calibri",colorTheme:"1",family:"2",scheme:"minor"}],Cs=[{patternType:"none"},{patternType:"gray125"}],bs=[{left:void 0,right:void 0,top:void 0,bottom:void 0,diagonal:void 0}],s0=[{borderId:0,fillId:0,fontId:0,numFmtId:0}],qc=[{borderId:0,fillId:0,fontId:0,numFmtId:0,xfId:0}],l0=[{builtinId:0,name:"Normal",xfId:0}]},LG=e=>{const t=eG(e.pattern),a=Yn(e.color),n=Yn(e.patternColor);let r=Cs.findIndex(o=>{const{patternType:i,fgRgb:s,bgRgb:l}=o;return!(i!=t||s!=a||l!=n)});return r===-1&&(r=Cs.length,Cs.push({patternType:t,fgRgb:a,bgRgb:n})),r},zG=e=>{if(t0[e])return t0[e];let t=Lo.findIndex(a=>a.formatCode===e);return t===-1?(t=Lo.length+164,Lo.push({formatCode:e,numFmtId:t})):t=Lo[t].numFmtId,t},OG=e=>{const{borderBottom:t,borderTop:a,borderLeft:n,borderRight:r}=e;let o,i,s,l,c,d,u,g;n&&(s=Nc(n.lineStyle,n.weight),u=Yn(n.color)),r&&(l=Nc(r.lineStyle,r.weight),g=Yn(r.color)),t&&(o=Nc(t.lineStyle,t.weight),c=Yn(t.color)),a&&(i=Nc(a.lineStyle,a.weight),d=Yn(a.color));let h=bs.findIndex(p=>{const{left:f,right:m,top:v,bottom:C}=p;if(!f&&(s||u)||!m&&(l||g)||!v&&(i||d)||!C&&(o||c))return!1;const{style:b,color:y}=f||{},{style:S,color:k}=m||{},{style:M,color:E}=v||{},{style:P,color:D}=C||{};return!(b!=s||y!=u||S!=l||k!=g||M!=i||E!=d||P!=o||D!=c)});return h===-1&&(h=bs.length,bs.push({left:{style:s,color:u},right:{style:l,color:g},top:{style:i,color:d},bottom:{style:o,color:c},diagonal:{style:void 0,color:void 0}})),h},GG=e=>{const{fontName:t="Calibri",color:a,size:n,bold:r,italic:o,outline:i,shadow:s,strikeThrough:l,underline:c,family:d,verticalAlign:u}=e,g=Yn(a),h=CO(d),p=c?c.toLocaleLowerCase():void 0,f=u?u.toLocaleLowerCase():void 0;let m=vs.findIndex(v=>!(v.fontName!=t||v.color!=g||v.size!=n||v.bold!=r||v.italic!=o||v.outline!=i||v.shadow!=s||v.strikeThrough!=l||v.underline!=p||v.verticalAlign!=f||v.family!=h));return m===-1&&(m=vs.length,vs.push({fontName:t,color:g,size:n,bold:r,italic:o,outline:i,shadow:s,strikeThrough:l,underline:p,verticalAlign:f,family:h?.toString()})),m},VG=e=>{const{alignment:t,borders:a,font:n,interior:r,numberFormat:o,protection:i,quotePrefix:s}=e;let{id:l}=e,c=0,d=0,u=0,g=0;l&&(l=c0(l,tp),Hc[l]==null&&(r&&(c=LG(r)),a&&(d=OG(a)),n&&(u=GG(n)),o&&(g=zG(o.format)),Hc[l]=qc.length,qc.push({alignment:t,borderId:d||0,fillId:c||0,fontId:u||0,numFmtId:g||0,protection:i,quotePrefix:s,xfId:0})))},BG={getTemplate(e){const t=IG.getTemplate(Lo),a=EG.getTemplate(vs.map(l=>({...l,size:l.size!=null?l.size:e}))),n=kG.getTemplate(Cs),r=iG.getTemplate(bs),o=pG.getTemplate(s0),i=wG.getTemplate(qc),s=CG.getTemplate(l0);return d0(),{name:"styleSheet",properties:{rawMap:{"mc:Ignorable":"x14ac x16r2 xr",xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision"}},children:[t,a,n,r,o,i,s,{name:"tableStyles",properties:{rawMap:{count:0,defaultPivotStyle:"PivotStyleLight16",defaultTableStyle:"TableStyleMedium2"}}}]}}},NG=(e,t)=>Hc[c0(e,t)]||0,HG=(e,t)=>{tp=t,tp===1&&d0(),e.forEach(VG)},qG=BG,WG={getTemplate(e,t){const{name:a,columns:n,rowRange:r,displayName:o,showRowStripes:i,showColumnStripes:s,showFilterButtons:l,highlightFirstColumn:c,highlightLastColumn:d}=e||{},u=!r||r[0]-r[1]===0;if(!e||!a||!Array.isArray(n)||!n.length||u)return{name:"table"};const g=n.map((C,b)=>({name:"filterColumn",properties:{rawMap:{colId:b.toString(),hiddenButton:l[b]?0:1}}})),h=`A${r[0]}`,p=`${Br(n.length)}${r[1]}`,f=`${h}:${p}`,m=`${t+1}`,v=t?`${o}_${m}`:o;return{name:"table",properties:{rawMap:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3",name:v,displayName:v,ref:f,totalsRowShown:0,id:m}},children:[{name:"autoFilter",properties:{rawMap:{ref:f}},children:g},{name:"tableColumns",properties:{rawMap:{count:n.length}},children:n.map((C,b)=>({name:"tableColumn",properties:{rawMap:{id:(b+1).toString(),name:pt(yO(C)),dataCellStyle:"Normal"}}}))},{name:"tableStyleInfo",properties:{rawMap:{name:"TableStyleLight1",showFirstColumn:c?1:0,showLastColumn:d?1:0,showRowStripes:i?1:0,showColumnStripes:s?1:0}}}]}}},UG=WG,ha=e=>{const[t,a,n,r]=e;return{name:`a:${t}`,children:[{name:`a:${a}`,properties:{rawMap:{val:n,lastClr:r}}}]}},jG={getTemplate(){return{name:"a:clrScheme",properties:{rawMap:{name:"Office"}},children:[ha(["dk1","sysClr","windowText","000000"]),ha(["lt1","sysClr","window","FFFFFF"]),ha(["dk2","srgbClr","44546A"]),ha(["lt2","srgbClr","E7E6E6"]),ha(["accent1","srgbClr","4472C4"]),ha(["accent2","srgbClr","ED7D31"]),ha(["accent3","srgbClr","A5A5A5"]),ha(["accent4","srgbClr","FFC000"]),ha(["accent5","srgbClr","5B9BD5"]),ha(["accent6","srgbClr","70AD47"]),ha(["hlink","srgbClr","0563C1"]),ha(["folHlink","srgbClr","954F72"])]}}},_G=jG,V=e=>{const[t,a,n,r]=e;return{name:`a:${t}`,properties:{rawMap:{script:n,typeface:a,panose:r}}}},KG={getTemplate(){return{name:"a:fontScheme",properties:{rawMap:{name:"Office"}},children:[{name:"a:majorFont",children:[V(["latin","Calibri Light",void 0,"020F0302020204030204"]),V(["ea",""]),V(["cs",""]),V(["font","\u6E38\u30B4\u30B7\u30C3\u30AF Light","Jpan"]),V(["font","\uB9D1\uC740 \uACE0\uB515","Hang"]),V(["font","\u7B49\u7EBF Light","Hans"]),V(["font","\u65B0\u7D30\u660E\u9AD4","Hant"]),V(["font","Times New Roman","Arab"]),V(["font","Times New Roman","Hebr"]),V(["font","Tahoma","Thai"]),V(["font","Nyala","Ethi"]),V(["font","Vrinda","Beng"]),V(["font","Shruti","Gujr"]),V(["font","MoolBoran","Khmr"]),V(["font","Tunga","Knda"]),V(["font","Raavi","Guru"]),V(["font","Euphemia","Cans"]),V(["font","Plantagenet Cherokee","Cher"]),V(["font","Microsoft Yi Baiti","Yiii"]),V(["font","Microsoft Himalaya","Tibt"]),V(["font","MV Boli","Thaa"]),V(["font","Mangal","Deva"]),V(["font","Gautami","Telu"]),V(["font","Latha","Taml"]),V(["font","Estrangelo Edessa","Syrc"]),V(["font","Kalinga","Orya"]),V(["font","Kartika","Mlym"]),V(["font","DokChampa","Laoo"]),V(["font","Iskoola Pota","Sinh"]),V(["font","Mongolian Baiti","Mong"]),V(["font","Times New Roman","Viet"]),V(["font","Microsoft Uighur","Uigh"]),V(["font","Sylfaen","Geor"]),V(["font","Arial","Armn"]),V(["font","Leelawadee UI","Bugi"]),V(["font","Microsoft JhengHei","Bopo"]),V(["font","Javanese Text","Java"]),V(["font","Segoe UI","Lisu"]),V(["font","Myanmar Text","Mymr"]),V(["font","Ebrima","Nkoo"]),V(["font","Nirmala UI","Olck"]),V(["font","Ebrima","Osma"]),V(["font","Phagspa","Phag"]),V(["font","Estrangelo Edessa","Syrn"]),V(["font","Estrangelo Edessa","Syrj"]),V(["font","Estrangelo Edessa","Syre"]),V(["font","Nirmala UI","Sora"]),V(["font","Microsoft Tai Le","Tale"]),V(["font","Microsoft New Tai Lue","Talu"]),V(["font","Ebrima","Tfng"])]},{name:"a:minorFont",children:[V(["latin","Calibri",void 0,"020F0502020204030204"]),V(["ea",""]),V(["cs",""]),V(["font","\u6E38\u30B4\u30B7\u30C3\u30AF","Jpan"]),V(["font","\uB9D1\uC740 \uACE0\uB515","Hang"]),V(["font","\u7B49\u7EBF","Hans"]),V(["font","\u65B0\u7D30\u660E\u9AD4","Hant"]),V(["font","Arial","Arab"]),V(["font","Arial","Hebr"]),V(["font","Tahoma","Thai"]),V(["font","Nyala","Ethi"]),V(["font","Vrinda","Beng"]),V(["font","Shruti","Gujr"]),V(["font","DaunPenh","Khmr"]),V(["font","Tunga","Knda"]),V(["font","Raavi","Guru"]),V(["font","Euphemia","Cans"]),V(["font","Plantagenet Cherokee","Cher"]),V(["font","Microsoft Yi Baiti","Yiii"]),V(["font","Microsoft Himalaya","Tibt"]),V(["font","MV Boli","Thaa"]),V(["font","Mangal","Deva"]),V(["font","Gautami","Telu"]),V(["font","Latha","Taml"]),V(["font","Estrangelo Edessa","Syrc"]),V(["font","Kalinga","Orya"]),V(["font","Kartika","Mlym"]),V(["font","DokChampa","Laoo"]),V(["font","Iskoola Pota","Sinh"]),V(["font","Mongolian Baiti","Mong"]),V(["font","Arial","Viet"]),V(["font","Microsoft Uighur","Uigh"]),V(["font","Sylfaen","Geor"]),V(["font","Arial","Armn"]),V(["font","Leelawadee UI","Bugi"]),V(["font","Microsoft JhengHei","Bopo"]),V(["font","Javanese Text","Java"]),V(["font","Segoe UI","Lisu"]),V(["font","Myanmar Text","Mymr"]),V(["font","Ebrima","Nkoo"]),V(["font","Nirmala UI","Olck"]),V(["font","Ebrima","Osma"]),V(["font","Phagspa","Phag"]),V(["font","Estrangelo Edessa","Syrn"]),V(["font","Estrangelo Edessa","Syrj"]),V(["font","Estrangelo Edessa","Syre"]),V(["font","Nirmala UI","Sora"]),V(["font","Microsoft Tai Le","Tale"]),V(["font","Microsoft New Tai Lue","Talu"]),V(["font","Ebrima","Tfng"])]}]}}},YG=KG,_a=(e,t,a)=>({name:`a:${e}`,properties:{rawMap:{val:t}},children:a}),ap=e=>{const[t,a,n,r,o,i]=e,s=[];return s.push(_a("satMod",n)),r&&s.push(_a("lumMod",r)),o&&s.push(_a("tint",o)),i&&s.push(_a("shade",i)),{name:"a:gs",properties:{rawMap:{pos:t}},children:[{name:"a:schemeClr",properties:{rawMap:{val:a}},children:s}]}},Wc=(e,t)=>({name:"a:solidFill",children:[_a("schemeClr",e,t)]}),np=e=>{const[t,a,n,r,o]=e,[i,s]=o;return{name:"a:gradFill",properties:{rawMap:{rotWithShape:t}},children:[{name:"a:gsLst",children:[ap(a),ap(n),ap(r)]},{name:"a:lin",properties:{rawMap:{ang:i,scaled:s}}}]}},rp=e=>{const[t,a,n,r]=e;return{name:"a:ln",properties:{rawMap:{w:t,cap:a,cmpd:n,algn:r}},children:[Wc("phClr"),_a("prstDash","solid"),{name:"a:miter",properties:{rawMap:{lim:"800000"}}}]}},op=e=>{const t=[];if(e){const[a,n,r,o,i]=e;t.push({name:"a:outerShdw",properties:{rawMap:{blurRad:a,dist:n,dir:r,algn:o,rotWithShape:i}},children:[_a("srgbClr","000000",[_a("alpha","63000")])]})}return{name:"a:effectStyle",children:[Object.assign({},{name:"a:effectLst"},t.length?{children:t}:{})]}},QG=()=>({name:"a:fillStyleLst",children:[Wc("phClr"),np(["1",["0","phClr","105000","110000","67000"],["50000","phClr","103000","105000","73000"],["100000","phClr","109000","105000","81000"],["5400000","0"]]),np(["1",["0","phClr","103000","102000","94000"],["50000","phClr","110000","100000",void 0,"100000"],["100000","phClr","120000","99000",void 0,"78000"],["5400000","0"]])]}),ZG=()=>({name:"a:lnStyleLst",children:[rp(["6350","flat","sng","ctr"]),rp(["12700","flat","sng","ctr"]),rp(["19050","flat","sng","ctr"])]}),XG=()=>({name:"a:effectStyleLst",children:[op(),op(),op(["57150","19050","5400000","ctr","0"])]}),JG=()=>({name:"a:bgFillStyleLst",children:[Wc("phClr"),Wc("phClr",[_a("tint","95000"),_a("satMod","170000")]),np(["1",["0","phClr","150000","102000","93000","98000"],["50000","phClr","130000","103000","98000","90000"],["100000","phClr","120000",void 0,void 0,"63000"],["5400000","0"]])]}),$G={getTemplate(){return{name:"a:fmtScheme",properties:{rawMap:{name:"Office"}},children:[QG(),ZG(),XG(),JG()]}}},eV=$G,tV={getTemplate(){return{name:"a:themeElements",children:[_G.getTemplate(),YG.getTemplate(),eV.getTemplate()]}}},aV=tV,nV={getTemplate(){return{name:"a:theme",properties:{prefixedAttributes:[{prefix:"xmlns:",map:{a:"http://schemas.openxmlformats.org/drawingml/2006/main"}}],rawMap:{name:"Office Theme"}},children:[aV.getTemplate(),{name:"a:objectDefaults"},{name:"a:extraClrSchemeLst"}]}}},rV=nV,oV=()=>({name:"o:shapelayout",properties:{prefixedAttributes:[{prefix:"v:",map:{ext:"edit"}}]},children:[{name:"o:idmap",properties:{prefixedAttributes:[{prefix:"v:",map:{ext:"edit"}}],rawMap:{data:"1"}}}]}),iV=()=>({name:"v:stroke",properties:{rawMap:{joinstyle:"miter"}}}),sV=e=>({name:"v:formulas",children:e.map(t=>({name:"v:f",properties:{rawMap:{eqn:t}}}))}),lV=()=>({name:"v:path",properties:{prefixedAttributes:[{prefix:"o:",map:{connecttype:"rect",extrusionok:"f"}}],rawMap:{gradientshapeok:"t"}}}),u0=e=>{const{aspectratio:t,rotation:a}=e||{},n={};return t&&(n.aspectratio="t"),a&&(n.rotation="t"),{name:"o:lock",properties:{prefixedAttributes:[{prefix:"v:",map:{ext:"edit"}}],rawMap:n}}};function cV(e,t,a,n,r){return(e-t)/(a-t)*(r-n)+n}var dV=(e,t)=>{let a;const{recolor:n,brightness:r,contrast:o,id:i}=e;if(n&&(a={},(n==="Washout"||n==="Grayscale")&&(a.gain="19661f",a.blacklevel="22938f"),(n==="Black & White"||n==="Grayscale")&&(a.grayscale="t",n==="Black & White"&&(a.bilevel="t"))),!n||n==="Grayscale"){if(a||(a={}),o!=null&&o!==50){let s="1";o>=0&&(o<50?s=String(o/50):o<100?s=String(50/(100-o)):o===100&&(s="2147483647f")),a.gain=s}r!=null&&r!==50&&(a.blacklevel=cV(r,0,100,-.5,.5).toString())}return{name:"v:imagedata",properties:{prefixedAttributes:[{prefix:"o:",map:{relid:`rId${t}`,title:i}}],rawMap:a}}},uV=()=>{const e=["if lineDrawn pixelLineWidth 0","sum @0 1 0","sum 0 0 @1","prod @2 1 2","prod @3 21600 pixelWidth","prod @3 21600 pixelHeight","sum @0 0 1","prod @6 1 2","prod @7 21600 pixelWidth","sum @8 21600 0","prod @7 21600 pixelHeight","sum @10 21600 0"];return{name:"v:shapetype",properties:{prefixedAttributes:[{prefix:"o:",map:{spt:"75",preferrelative:"t"}}],rawMap:{coordsize:"21600,21600",filled:"f",id:"_x0000_t75",path:"m@4@5l@4@11@9@11@9@5xe",stroked:"f"}},children:[iV(),sV(e),lV(),u0({aspectratio:!0})]}},g0=e=>Math.floor((e??0)*.74999943307122),gV=(e,t)=>{const{width:a=0,height:n=0,altText:r}=e,o=g0(a),i=g0(n);return{name:"v:shape",properties:{rawMap:{id:e.headerFooterPosition,"o:spid":"_x0000_s1025",style:`position: absolute; margin-left: 0; margin-top: 10in; margin-bottom: 0; margin-right: 0; width: ${o}pt; height: ${i}pt; z-index: ${t+1}`,type:"#_x0000_t75",alt:r}},children:[dV(e,t+1),u0({rotation:!0})]}},hV={getTemplate(e){const t=un.get(e.sheetIndex)||[],a=[oV(),uV(),...t.map((n,r)=>gV(n,r))];return{name:"xml",properties:{prefixedAttributes:[{prefix:"xmlns:",map:{v:"urn:schemas-microsoft-com:vml",o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel"}}]},children:a}}},pV=hV,fV={getTemplate(e,t){const a=(t+1).toString();return{name:"sheet",properties:{rawMap:{name:e,sheetId:a,"r:id":`rId${a}`}}}}},mV=fV,vV={getTemplate(e){return{name:"sheets",children:e.map((t,a)=>mV.getTemplate(t,a))}}},CV=vV,bV={getTemplate(e,t){return{name:"workbook",properties:{prefixedAttributes:[{prefix:"xmlns:",map:{r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"}}],rawMap:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},children:[{name:"bookViews",children:[{name:"workbookView",properties:{rawMap:{activeTab:t}}}]},CV.getTemplate(e)]}}},wV=bV,yV=e=>Math.ceil((e-12)/7+1),SV={getTemplate(e){const{min:t,max:a,outlineLevel:n,s:r,width:o,hidden:i,bestFit:s}=e;let l=1,c="0";return o>1&&(l=yV(o),c="1"),{name:"col",properties:{rawMap:{min:t,max:a,outlineLevel:n??void 0,width:l,style:r,hidden:i?"1":"0",bestFit:s?"1":"0",customWidth:c}}}}},xV=SV,kV={getTemplate(e){return{name:"mergeCell",properties:{rawMap:{ref:e}}}}},RV=kV,FV=e=>{const t=e.charAt(0).toLowerCase();return t==="s"?"inlineStr":t},MV={getTemplate(e,t,a){const{ref:n,data:r,styleId:o}=e,{type:i,value:s}=r||{type:"empty",value:null};let l=i;i==="f"?l="str":i.charAt(0)===i.charAt(0).toUpperCase()&&(l=FV(i));const c={name:"c",properties:{rawMap:{r:n,t:l==="empty"?void 0:l,s:o?NG(o,a):void 0}}};if(l==="empty")return c;let d;return l==="str"&&i==="f"?d=[{name:"f",textNode:pt(Vc(s))}]:l==="inlineStr"?d=[{name:"is",children:[{name:"t",textNode:pt(Vc(s))}]}]:d=[{name:"v",textNode:s}],Object.assign({},c,{children:d})}},EV=MV,PV=(e,t)=>{const a=[];let n=0;for(let r=0;r=0;r--){const o=[],i=e[a[r].pos];for(let s=1;s<=i.mergeAcross;s++)o.push({ref:`${Br(a[r].excelPos+1+s)}${t+1}`,styleId:i.styleId,data:{type:"empty",value:null}});o.length&&e.splice(a[r].pos+1,0,...o)}},AV=e=>e.data?.value!==""||e.styleId!==void 0,TV={getTemplate(e,t,a){const{collapsed:n,hidden:r,height:o,outlineLevel:i,cells:s=[]}=e;PV(s,t);const l=s.filter(AV).map((c,d)=>EV.getTemplate(c,d,a));return{name:"row",properties:{rawMap:{r:t+1,collapsed:n?"1":"0",hidden:r?"1":"0",ht:o,customHeight:o!=null?"1":"0",spans:"1:1",outlineLevel:i||void 0}},children:l}}},DV=TV,IV=(e,t,a)=>{const n=[],r=[];e.forEach((s,l)=>{const c=s.cells;let d=0,u;c.forEach((g,h)=>{const p=h+d+1,f=Br(p),m=l+1;if(g.mergeAcross){d+=g.mergeAcross;const C=Br(h+d+1);n.push(`${f}${m}:${C}${m}`)}t[p-1]||(t[p-1]={});const{collapsibleRanges:v}=g;v&&v.forEach(C=>{r.push([p+C[0],p+C[1]])}),u=t[p-1],u.min=p,u.max=p,g.ref=`${f}${m}`})}),r.sort((s,l)=>s[0]!==l[0]?s[0]-l[0]:l[1]-s[1]);const o=new Map,i=new Map;return r.filter(s=>{const l=s.toString();return o.get(l)?!1:(o.set(l,!0),!0)}).forEach(s=>{const l=t.find(d=>d.min==s[0]&&d.max==s[1]),c=i.get(s[0]);t.push({min:s[0],max:s[1],outlineLevel:a?void 0:c||1,width:(l||{width:100}).width}),i.set(s[0],(c||0)+1)}),n},LV=e=>!e||e!=="Portrait"&&e!=="Landscape"?"portrait":e.toLocaleLowerCase(),zV=e=>{if(e==null)return 1;const a=["Letter","Letter Small","Tabloid","Ledger","Legal","Statement","Executive","A3","A4","A4 Small","A5","A6","B4","B5","Folio","Envelope","Envelope DL","Envelope C5","Envelope B5","Envelope C3","Envelope C4","Envelope C6","Envelope Monarch","Japanese Postcard","Japanese Double Postcard"].indexOf(e);return a===-1?1:a+1},OV=e=>{const t={"&[Page]":"&P","&[Pages]":"&N","&[Date]":"&D","&[Time]":"&T","&[Tab]":"&A","&[Path]":"&Z","&[File]":"&F","&[Picture]":"&G"};for(const a of Object.keys(t))e=e.replace(a,t[a]);return e},GV=e=>e==="Center"?"C":e==="Right"?"R":"L",VV=(e,t)=>(t&&(e+="&"",e+=t.fontName||"Calibri",t.bold!==t.italic?e+=t.bold?",Bold":",Italic":t.bold?e+=",Bold Italic":e+=",Regular",e+=""",t.size&&(e+=`&${t.size}`),t.strikeThrough&&(e+="&S"),t.underline&&(e+=`&${t.underline==="Double"?"E":"U"}`),t.color&&(e+=`&K${t.color.replace("#","").toUpperCase()}`)),e),BV=(e,t,a)=>e.reduce((n,r,o)=>{const i=GV(r.position),s=VV(`${n}&${i}`,r.font),l=["Left","Center","Right"];r.position||(r.position=l[o]);const{image:c}=r;if(r.value==="&[Picture]"&&c){const d=`${i}${t}${a}`;h0(c,d)}return`${s}${pt(OV(r.value))}`},""),NV=e=>{const t=["all","first","even"],a=[];return t.forEach(n=>{const r=e[n],o=n==="all"?"odd":n;if(r)for(const i of Object.keys(r)){const s=r[i],l=`${i.charAt(0).toUpperCase()}${i.slice(1)}`,c=i[0].toUpperCase();if(s){const d=n==="all"?"":n.toUpperCase();a.push({name:`${o}${l}`,properties:{rawMap:{"xml:space":"preserve"}},textNode:BV(s,c,d)})}}}),a},HV=e=>t=>(e.length&&t.children.push({name:"cols",children:e.map(a=>xV.getTemplate(a))}),t),qV=(e,t)=>a=>(e.length&&a.children.push({name:"sheetData",children:e.map((n,r)=>DV.getTemplate(n,r,t))}),a),WV=e=>{const t=e.length;if(!t)return"";const a=new Array(t+1);a[0]=t;for(let r=1;r<=t;r++)a[r]=e.charCodeAt(r-1)&255;let n=0;for(let r=a.length-1;r>=0;r--){const o=a[r],i=n&16384?1:0,s=n<<1&32767;n=(i|s)^o}return(n^52811).toString(16).toUpperCase().padStart(4,"0")},UV=e=>t=>{if(!e)return t;const a=typeof e=="boolean"?{}:e,n={sheet:1},r=a.password?WV(a.password):"";r&&(n.password=r);const o={autoFilter:!1,deleteColumns:!1,deleteRows:!1,formatCells:!1,formatColumns:!1,formatRows:!1,insertColumns:!1,insertHyperlinks:!1,insertRows:!1,pivotTables:!1,selectLockedCells:!0,selectUnlockedCells:!0};return Object.keys(o).forEach(i=>{const s=a[i];s==null||s===o[i]||(n[i]=s?0:1)}),t.children.push({name:"sheetProtection",properties:{rawMap:n}}),t},jV=e=>t=>(e.length&&t.children.push({name:"mergeCells",properties:{rawMap:{count:e.length}},children:e.map(a=>RV.getTemplate(a))}),t),_V=e=>t=>{const{top:a=.75,right:n=.7,bottom:r=.75,left:o=.7,header:i=.3,footer:s=.3}=e;return t.children.push({name:"pageMargins",properties:{rawMap:{bottom:r,footer:s,header:i,left:o,right:n,top:a}}}),t},KV=e=>t=>(e&&t.children.push({name:"pageSetup",properties:{rawMap:{horizontalDpi:0,verticalDpi:0,orientation:LV(e.orientation),paperSize:zV(e.pageSize)}}}),t),YV=e=>t=>{if(!e)return t;const a=e.first!=null?1:0,n=e.even!=null?1:0;return t.children.push({name:"headerFooter",properties:{rawMap:{differentFirst:a,differentOddEven:n}},children:NV(e)}),t},QV=e=>t=>(e&&t.children.push({name:"tableParts",properties:{rawMap:{count:"1"}},children:[{name:"tablePart",properties:{rawMap:{"r:id":`rId${++t.rIdCounter}`}}}]}),t),ZV=e=>t=>(Zn.get(e)?.length&&t.children.push({name:"drawing",properties:{rawMap:{"r:id":`rId${++t.rIdCounter}`}}}),t),XV=e=>t=>(un.get(e)&&t.children.push({name:"legacyDrawingHF",properties:{rawMap:{"r:id":`rId${++t.rIdCounter}`}}}),t),JV=(e=0,t=0)=>{const a=e>0||t>0;return a?[{name:"pane",properties:{rawMap:{state:a?"frozen":void 0,topLeftCell:a?`${Br(e+1)}${t+1}`:void 0,xSplit:e===0?void 0:e,ySplit:t===0?void 0:t}}}]:void 0},$V=(e=!1,t,a)=>n=>(n.children.push({name:"sheetViews",children:[{name:"sheetView",properties:{rawMap:{rightToLeft:e===!0?"1":"0",workbookViewId:"0"}},children:JV(t,a)}]}),n),eB=()=>e=>(e.children.push({name:"sheetPr",children:[{name:"outlinePr",properties:{rawMap:{summaryBelow:0}}}]}),e),tB=e=>t=>{const a=e.reduce((n,r)=>r.outlineLevel&&r.outlineLevel>n?r.outlineLevel:n,0);return t.children.push({name:"sheetFormatPr",properties:{rawMap:{baseColWidth:10,defaultRowHeight:16,outlineLevelRow:a||void 0}}}),t},aB={getTemplate(e){const{worksheet:t,currentSheet:a,config:n}=e,{margins:r={},pageSetup:o,headerFooterConfig:i,suppressColumnOutline:s,rightToLeft:l,frozenRowCount:c,frozenColumnCount:d,protectSheet:u}=n,{table:g}=t,{rows:h,columns:p}=g,f=p?.length?IV(h,p,!!s):[],m=Ka.get(a),{children:v}=[eB(),$V(l,d,c),tB(h),HV(p),qV(h,a+1),UV(u),jV(f),_V(r),KV(o),YV(i),ZV(a),XV(a),QV(m)].reduce((C,b)=>b(C),{children:[],rIdCounter:0});return{name:"worksheet",properties:{prefixedAttributes:[{prefix:"xmlns:",map:{r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"}}],rawMap:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},children:v}}},nB=aB,Nr=new Map,Jt=[],Hr=[],qr=new Map,Qn=new Map,Zn=new Map,un=new Map,zo=new Map,Oo=new Map,Ka=new Map,rB="AG-GRID-TABLE",ip="SINGLE_SHEET";function oB(){return ip}function iB(e){ip=e}function sB(e,t,a){gB(t),HG(e,Jt.length);const n=Object.assign({},a);a.exportAsExcelTable&&a.pivotModeActive&&(R(163,{featureName:"pivot mode"}),n.exportAsExcelTable=!1),dB(t,n);const r=AB(t,n);return TB(r),r}function lB(e){return e.replace(/^[^a-zA-Z_]+/,"_").replace(/\s/g,"_").replace(/[^a-zA-Z0-9_]/g,"_")}function cB(e,t){if(Ka.has(e)){R(164);return}Ka.set(e,t)}function dB(e,t){const{exportAsExcelTable:a,prependContent:n,appendContent:r,headerRowCount:o=0}=t;if(!a)return;const i=typeof a=="boolean"?{}:a,{name:s,showColumnStripes:l,showRowStripes:c,showFilterButton:d,highlightFirstColumn:u,highlightLastColumn:g}=i,h=lB(s||rB),p=Jt.length-1,{table:f}=e,{rows:m,columns:v}=f,C=n?n.length:0,b=r?r.length:0,y=m.length,S=v.length,k=[],M=[];for(let E=0;Eo.id===e.id)||r.push(e)}function uB(e,t,a,n,r){const o=Jt.length,{row:i,column:s}=e.position||{},l=e;n&&(t!=null&&a!=null&&(!i||!s)&&(e.position||(e.position={}),e.position=Object.assign({},e.position,{row:t,column:n.indexOf(a)+1})),bO(l,n),wO(l,r)),p0({imageToAdd:l,idx:o});let c=Oo.get(o);c||(c=new Map,Oo.set(o,c));const d=Zn.get(o);d?d.push(l):Zn.set(o,[l]),c.get(e.id)||c.set(e.id,{index:c.size,type:e.imageType})}function p0(e){const{imageToAdd:t,idx:a}=e,n=Qn.get(t.id);if(n){const r=n.find(o=>o.sheetId===a);r?r.image.push(t):n.push({sheetId:a,image:[t]})}else Qn.set(t.id,[{sheetId:a,image:[t]}]),zo.set(t.id,{type:t.imageType,index:zo.size})}function gB(e){const t=pt(e.name)||"";let a="";for(;Jt.indexOf(`${t}${a}`)!==-1;)a===""?a="_1":a=`_${parseInt(a.slice(1),10)+1}`;e.name=`${t}${a}`,Jt.push(e.name)}function hB(e){return Nr.has(e)?Nr.get(e):(Nr.set(e,Nr.size),Nr.size-1)}function pB(){Nr.clear(),Qn.clear(),Zn.clear(),un.clear(),zo.clear(),Oo.clear(),Ka.clear(),Jt=[],Hr=[],qr=new Map,ip="SINGLE_SHEET"}function fB(e){return bt(wV.getTemplate(Jt,e))}function mB(e){return bt(qG.getTemplate(e))}function vB(){return bt(KO.getTemplate(Nr))}function CB(e){return bt(PO.getTemplate(e))}function bB(e){return bt(IO.getTemplate(e))}function wB(e,t){return bt(MO.getTemplate({sheetLen:e,hasCustomProperties:t}))}function yB(e){const t=[{Id:"rId1",Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Target:"xl/workbook.xml"},{Id:"rId2",Type:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",Target:"docProps/core.xml"}];e&&t.push({Id:"rId3",Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",Target:"docProps/custom.xml"});const a=fs.getTemplate(t);return bt(a)}function SB(){return bt(rV.getTemplate())}function xB(e,t){return bt(UG.getTemplate(e,t))}function kB(e){const t=new Array(e).fill(void 0).map((n,r)=>({Id:`rId${r+1}`,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",Target:`worksheets/sheet${r+1}.xml`})),a=fs.getTemplate([...t,{Id:`rId${e+1}`,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Target:"theme/theme1.xml"},{Id:`rId${e+2}`,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Target:"styles.xml"},{Id:`rId${e+3}`,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Target:"sharedStrings.xml"}]);return bt(a)}function RB(e){return bt(qO.getTemplate({sheetIndex:e}))}function FB(e){const t=Oo.get(e)||[],a=[];for(const[n,r]of t){const{index:o,type:i}=r;a.push({Id:`rId${o+1}`,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:`../media/image${zo.get(n).index+1}.${Bc(i)}`})}return bt(fs.getTemplate(a))}function MB(e){return bt(pV.getTemplate({sheetIndex:e}),!0)}function EB(e){const t=un.get(e)||[],a=[];for(let n=0;n{if(!e.size)return;const a=new Map;t.forEach((n,r)=>{e.has(n)&&a.set(r,e.get(n))}),e.clear(),a.forEach((n,r)=>e.set(r,n))},TB=e=>{const t=qr.get(e)??[];t.push(Jt.length-1),qr.set(e,t),Hr.push(e)},DB=e=>{const t=new Map(qr),a=[];for(const n of e){const r=t.get(n);if(!r?.length)return null;const o=r.shift();a.push(o),t.set(n,r)}return a},IB=e=>{if(!e.length||Hr.length===0)return null;const t=new Set,a=[];for(const n of e){const r=Hr.findIndex((o,i)=>!t.has(i)&&o===n);if(r===-1)return null;t.add(r),a.push(r)}return a},LB=e=>{const t=new Map;e.forEach((a,n)=>t.set(a,n)),Jt=e.map(a=>Jt[a]),Hr=e.map(a=>Hr[a]),Uc(Zn,e),Uc(un,e),Uc(Ka,e),Uc(Oo,e),Qn.forEach(a=>{a.forEach(n=>{const r=t.get(n.sheetId);r!=null&&(n.sheetId=r)})}),qr=new Map,Hr.forEach((a,n)=>{const r=qr.get(a)??[];r.push(n),qr.set(a,r)})},zB=e=>{if(e.length<=1)return;const t=DB(e)??IB(e);t&&LB(t)},jc=class{getStringPosition(e){return hB(e)}addBodyImageToMap(e,t,a,n,r){uB(e,t,a,n,r)}addHeaderFooterImageToMap(e,t){h0(e,t)}addWorksheet(e,t,a){return sB(e,t,a)}syncOrderWithSheetData(e){zB(e)}reset(){pB()}setFactoryMode(e){iB(e)}getFactoryMode(){return oB()}getSheetNames(){return[...Jt]}},OB=async e=>{let t=0;const a=[],n=new WritableStream({write:i=>{a.push(i),t+=i.length}}),r=new ReadableStream({start:i=>{const s=new FileReader;s.onload=l=>{l.target?.result&&i.enqueue(l.target.result),i.close()},s.readAsArrayBuffer(e)}}),o=new window.CompressionStream("deflate-raw");return await r.pipeThrough(o).pipeTo(n),{size:t,content:new Blob(a)}},GB=async e=>{const t=new Blob([e]),{size:a,content:n}=await OB(t),r=new Uint8Array(await n.arrayBuffer());return{size:a,content:r}},VB=e=>{let t=e.getHours();return t<<=6,t=t|e.getMinutes(),t<<=5,t=t|e.getSeconds()/2,t},BB=e=>{let t=e.getFullYear()-1980;return t<<=4,t=t|e.getMonth()+1,t<<=5,t=t|e.getDate(),t};function wt(e,t){let a="";for(let n=0;n>>=8;return a}var f0=e=>{if(!e.length)return 0;let t=-1,a=0,n=0,r=0;for(let o=0;o>>8^r;return t^-1},m0=e=>e.length?f0(typeof e=="string"?new TextEncoder().encode(e):e):0,NB=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]);function HB(e){const t=String.fromCharCode;function a(u){const g=[];if(!u)return[];const h=u.length;let p=0,f,m;for(;p=55296&&f<=56319&&p=55296&&u<=57343)throw new Error(Rt(255,{point:u}))}function r(u,g){return t(u>>g&63|128)}function o(u){if(!(u&4294967168))return t(u);let g="";return u&4294965248?u&4294901760?u&4292870144||(g=t(u>>18&7|240),g+=r(u,12),g+=r(u,6)):(n(u),g=t(u>>12&15|224),g+=r(u,6)):g=t(u>>6&31|192),g+=t(u&63|128),g}const i=a(e),s=i.length;let l=-1,c,d="";for(;++l{const{content:i,path:s,created:l}=e,c=VB(l),d=BB(l),u=m0(r),g=o!==void 0?o:n,h=HB(s),p=h!==s;let f="";if(p){const b=wt(1,1)+wt(m0(h),4)+h;f="up"+wt(b.length,2)+b}const m="\0"+(p?"\0\b":"\0\0")+wt(t?8:0,2)+wt(c,2)+wt(d,2)+wt(g?u:0,4)+wt(o??n,4)+wt(n,4)+wt(h.length,2)+wt(f.length,2),v="PK"+m+h+f,C="PK\0"+m+"\0\0\0\0\0\0"+(i?"\0\0\0\0":"\0\0\0")+wt(a,4)+h+f;return{localFileHeader:Uint8Array.from(v,b=>b.charCodeAt(0)),centralDirectoryHeader:Uint8Array.from(C,b=>b.charCodeAt(0))}},C0=e=>{let t;if(typeof e=="string"){const a=atob(e.split(";base64,")[1]);t=Uint8Array.from(a,n=>n.charCodeAt(0))}else t=e;return{size:t.length,content:t}},qB=async e=>{const{content:t}=e,{size:a,content:n}=t?C0(t):{size:0,content:Uint8Array.from([])};let r,o,i=!1;if(e.type==="file"&&n&&a>0){const l=await GB(n);r=l.content,o=l.size,i=!0}return{rawContent:n,rawSize:a,deflatedContent:r,deflatedSize:o,isCompressed:i}},WB=(e,t)=>{const{content:a}=e,{content:n}=a?C0(a):{content:Uint8Array.from([])};return{...v0(e,!1,t,n.length,n,void 0),content:n,isCompressed:!1}},UB=(e,t,a)=>{const n="PK\0\0\0\0"+wt(e,2)+wt(e,2)+wt(t,4)+wt(a,4)+"\0\0";return Uint8Array.from(n,r=>r.charCodeAt(0))},b0=class{constructor(){this.folders=[],this.files=[]}addFolders(e){e.forEach(this.addFolder.bind(this))}addFolder(e){this.folders.push({path:e,created:new Date,isBase64:!1,type:"folder"})}addFile(e,t,a=!1){this.files.push({path:e,created:new Date,content:a?t:new TextEncoder().encode(t),isBase64:a,type:"file"})}async getZipFile(e="application/zip"){const t=await this.buildCompressedFileStream();return this.clearStream(),new Blob([t],{type:e})}getUncompressedZipFile(e="application/zip"){const t=this.buildFileStream();return this.clearStream(),new Blob([t],{type:e})}clearStream(){this.folders=[],this.files=[]}packageFiles(e){let t=0,a=0;for(const c of e){const{localFileHeader:d,centralDirectoryHeader:u,content:g}=c;t+=d.length+g.length,a+=u.length}const n=new Uint8Array(t),r=new Uint8Array(a);let o=0,i=0;for(const c of e){const{localFileHeader:d,centralDirectoryHeader:u,content:g}=c;n.set(d,o),o+=d.length,n.set(g,o),o+=g.length,r.set(u,i),i+=u.length}const s=UB(e.length,a,t),l=new Uint8Array(n.length+r.length+s.length);return l.set(n),l.set(r,n.length),l.set(s,n.length+r.length),l}async buildCompressedFileStream(){const e=[...this.folders,...this.files],t=await Promise.all(e.map(qB)),a=[];let n=0;for(let r=0;r{if(e.addFolders(["_rels/","docProps/","xl/","xl/theme/","xl/_rels/","xl/worksheets/"]),!Qn.size)return;e.addFolders(["xl/worksheets/_rels","xl/drawings/","xl/drawings/_rels","xl/media/"]);let t=0;Qn.forEach(a=>{const n=a[0].image[0],{base64:r,imageType:o}=n;e.addFile(`xl/media/image${++t}.${Bc(o)}`,r,!0)})},_B=(e,t)=>{let a=0,n=0;for(let r=0;r0&&Zn.has(r),s=Ka.size>0&&Ka.get(r),l=Qn.size&&un.has(r);if(!i&&!s&&!l)continue;let c,d,u;i&&(KB(e,r,a),d=a,a++),l&&(YB(e,r,n),u=n,n++),s&&(c=s.name);const g=`xl/worksheets/_rels/sheet${r+1}.xml.rels`;e.addFile(g,PB({tableName:c,drawingIndex:d,vmlDrawingIndex:u}))}},KB=(e,t,a)=>{const n="xl/drawings",r=`${n}/drawing${a+1}.xml`,o=`${n}/_rels/drawing${a+1}.xml.rels`;e.addFile(o,FB(t)),e.addFile(r,RB(t))},YB=(e,t,a)=>{const n="xl/drawings",r=`${n}/vmlDrawing${a+1}.vml`,o=`${n}/_rels/vmlDrawing${a+1}.vml.rels`;e.addFile(r,MB(t)),e.addFile(o,EB(t))},QB=e=>{const t=Ka,a=Array.from(t.keys());for(let n=0;n{const i=!!o&&Object.keys(o).some(s=>o[s]!=null);e.addFile("xl/workbook.xml",fB(r)),e.addFile("xl/styles.xml",mB(t)),e.addFile("xl/sharedStrings.xml",vB()),e.addFile("xl/theme/theme1.xml",SB()),e.addFile("xl/_rels/workbook.xml.rels",kB(n)),e.addFile("docProps/core.xml",CB(a)),i&&e.addFile("docProps/custom.xml",bB(o)),e.addFile("[Content_Types].xml",wB(n,i)),e.addFile("_rels/.rels",yB(i))},w0=(e,t,a={},n)=>{if(!t||t.length===0)return R(159),n.reset(),!1;n.syncOrderWithSheetData(t);const{fontSize:r=11,author:o="AG Grid",activeTab:i=0,customMetadata:s}=a,l=t.length,c=Math.max(Math.min(i,l-1),0);return jB(e),QB(e),_B(e,t),ZB(e,r,o,l,c,s),n.reset(),!0},sp=(e,t=new jc)=>{const{data:a,fontSize:n,author:r,activeSheetIndex:o,customMetadata:i}=e,s=e.mimeType||"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",l=new b0;return w0(l,a,{author:r,fontSize:n,activeTab:o,customMetadata:i},t)?l.getZipFile(s):Promise.resolve(void 0)},lp=(e,t=new jc)=>{const{data:a,fontSize:n,author:r,activeSheetIndex:o,customMetadata:i}=e,s=e.mimeType||"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",l=new b0;if(w0(l,a,{author:r,fontSize:n,activeTab:o,customMetadata:i},t))return l.getUncompressedZipFile(s)},XB=e=>{const{fileName:t="export.xlsx"}=e,a=new jc;sp(e,a).then(n=>{if(n){const r=typeof t=="function"?t():t;os(r,n)}})},JB=class extends dh{constructor(){super(...arguments),this.beanName="excelCreator",this.workbook=new jc}getMergedParams(e){const t=this.gos.get("defaultExcelExportParams");return Object.assign({},t,e)}export(e){if(this.isExportSuppressed()){R(160);return}const t=()=>{const n=this.getMergedParams(e),r=this.getData(n),{fontSize:o,author:i,mimeType:s,customMetadata:l}=n,c={data:[r],fontSize:o,author:i,mimeType:s,customMetadata:l};this.packageCompressedFile(c).then(d=>{if(d){const{fileName:u}=n,g=typeof u=="function"?u(B(this.gos,{})):u;os(this.getFileName(g),d)}})},{overlays:a}=this.beans;a?a.showExportOverlay(t):t()}exportDataAsExcel(e){this.export(e)}getDataAsExcel(e){const t=this.getMergedParams(e),a=this.getData(t),{fontSize:n,author:r,mimeType:o,customMetadata:i}=t,s={data:[a],fontSize:n,author:r,mimeType:o,customMetadata:i};return this.packageFile(s)}setFactoryMode(e){this.workbook.setFactoryMode(e)}getFactoryMode(){return this.workbook.getFactoryMode()}getSheetDataForExcel(e){const t=this.getMergedParams(e);return this.getData(t)}getMultipleSheetsAsExcel(e){return lp(e,this.workbook)}exportMultipleSheetsAsExcel(e){sp(e,this.workbook).then(t=>{const{fileName:a="export.xlsx"}=e;if(t){const n=typeof a=="function"?a():a;os(n,t)}})}getDefaultFileExtension(){return"xlsx"}createSerializingSession(e){const{colModel:t,colNames:a,rowGroupColsSvc:n,valueSvc:r,formula:o,gos:i}=this.beans,s=i.get("excelStyles")||[],l=this.createStyleLinker(s),c={...e,colModel:t,colNames:a,rowGroupColsSvc:n,valueSvc:r,formulaSvc:o,gos:i,suppressRowOutline:e.suppressRowOutline||e.skipRowGroups,headerRowHeight:e.headerRowHeight||e.rowHeight,baseExcelStyles:s,rightToLeft:e.rightToLeft??i.get("enableRtl"),styleLinker:l,headerRowCount:Gv(t),pivotModeActive:t.isPivotActive(),workbook:this.workbook};return new xO(c)}createStyleLinker(e){const t=[],a=new Set,n=new Map;e.forEach((i,s)=>{t.push(i.id),a.add(i.id),n.set(i.id,s)});const{gos:r,cellStyles:o}=this.beans;return i=>{const{rowType:s,rowIndex:l,value:c,column:d,columnGroup:u,node:g}=i,h=s==="HEADER",p=s==="HEADER_GROUPING",f=h?d:u;let m=[];if(h||p)return m.push("header"),p&&m.push("headerGroup"),f&&(m=m.concat(Tl(f.getDefinition(),r,d||null,u||null))),m;const v=["cell"];if(!t.length)return v;const C=d.getDefinition();return o?.processAllCellClasses(C,B(r,{value:c,data:g.data,node:g,colDef:C,column:d,rowIndex:l}),b=>{a.has(b)&&v.push(b)}),v.sort((b,y)=>{const S=n.get(b)??-1,k=n.get(y)??-1;return S===k?0:Sthis.onFocusIn(e),onFocusOut:e=>this.onFocusOut(e),focusInnerElement:e=>this.focusInnerElement(e),onTabKeyDown:e=>this.onTabKeyDown(e),handleKeyDown:e=>this.handleKeyDown(e)},this.stopPropagationCallbacks),this.refreshAriaProperties(),this.addManagedEventListeners({stylesChanged:this.onStylesChanged.bind(this)})}onStylesChanged(e){e.listItemHeightChanged&&(this.rowHeight=this.getItemHeight(),this.refresh())}refreshAriaProperties(){const t=this.getLocaleTextFunc()("ariaDefaultListName",this.listName||"List"),a=this.eContainer;De(a,this.model?.getRowCount()>0?this.ariaRole:"presentation"),de(a,t)}addResizeObserver(){const e=()=>kt(this.beans,()=>this.drawVirtualRows()),t=Ca(this.beans,this.getGui(),e);this.addDestroyFunc(t)}focusInnerElement(e){return this.focusRow(e?this.model.getRowCount()-1:0),!0}onFocusIn(e){const t=e.target;t.classList.contains("ag-virtual-list-item")&&(this.lastFocusedRowIndex=tm(t)-1)}onFocusOut(e){this.getFocusableElement().contains(e.relatedTarget)||(this.lastFocusedRowIndex=null)}handleKeyDown(e){const{key:t,shiftKey:a}=e;switch(t){case w.UP:case w.DOWN:{const n=t===w.UP;e.preventDefault(),a?this.moveItem(n):this.navigate(n)}break;case w.PAGE_HOME:case w.PAGE_END:case w.PAGE_UP:case w.PAGE_DOWN:this.navigateToPage(t)!==null&&e.preventDefault();break}}onTabKeyDown(e){this.stopPropagationCallbacks?.stopPropagation(e),this.forceFocusOutOfContainer(e.shiftKey)}getNextRow(e){if(this.lastFocusedRowIndex==null)return;const t=this.lastFocusedRowIndex+(e?-1:1);if(!(t<0||t>=this.model.getRowCount()))return t}moveItem(e){if(!this.moveItemCallback)return;const t=this.getComponentAt(this.lastFocusedRowIndex);t&&this.moveItemCallback(t,e)}navigate(e){const t=this.getNextRow(e);t!==void 0&&this.focusRow(t)}navigateToPage(e,t="focused"){let a=!1;t==="focused"&&(t=this.getLastFocusedRow(),a=!0);const n=this.model.getRowCount()-1;let r=-1;return e===w.PAGE_HOME?r=0:e===w.PAGE_END?r=n:e===w.PAGE_DOWN?r=Math.min(t+this.pageSize,n):e===w.PAGE_UP&&(r=Math.max(t-this.pageSize,0)),r===-1?null:(a?this.focusRow(r):this.ensureIndexVisible(r),r)}getLastFocusedRow(){return this.lastFocusedRowIndex}focusRow(e){this.isScrolling||(this.isScrolling=!0,this.ensureIndexVisible(e),kt(this.beans,()=>{if(this.isScrolling=!1,!this.isAlive())return;const t=this.renderedRows.get(e);t&&t.eDiv.focus()}))}getComponentAt(e){const t=this.renderedRows.get(e);return t&&t.rowComponent}forEachRenderedRow(e){this.renderedRows.forEach((t,a)=>e(t.rowComponent,a))}getItemHeight(){return this.isHeightFromTheme?this.beans.environment.getDefaultListItemHeight():this.rowHeight}ensureIndexVisible(e,t=!0){const a=this.model.getRowCount();if(typeof e!="number"||e<0||e>=a)return!1;const n=e*this.rowHeight,r=n+this.rowHeight,o=this.getGui(),i=o.scrollTop,s=o.offsetHeight,l=i+s,c=t?0:this.rowHeight,d=i>n+c,u=l{this.isAlive()&&(this.canSoftRefresh(e)?this.drawVirtualRows(!0):(this.clearVirtualRows(),this.drawVirtualRows()))})}awaitStable(e){if(this.awaitStableCallbacks.push(e),this.awaitStableCallbacks.length>1)return;const t=this.model.getRowCount();Yd(this,()=>this.eContainer.clientHeight>=t*this.rowHeight,()=>{if(!this.isAlive())return;const a=this.awaitStableCallbacks;this.awaitStableCallbacks=[];for(const n of a)n()})}canSoftRefresh(e){return!!(e&&this.renderedRows.size&&typeof this.model.areRowsEqual=="function"&&this.componentUpdater)}clearVirtualRows(){this.renderedRows.forEach((e,t)=>this.removeRow(t))}drawVirtualRows(e){if(!this.isAlive()||!this.model)return;const t=this.getGui(),a=t.scrollTop,n=a+t.offsetHeight;if(a===n)this.clearVirtualRows();else{const r=Math.floor(a/this.rowHeight),o=Math.floor(n/this.rowHeight);this.pageSize=Math.floor((n-a)/this.rowHeight),this.ensureRowsRendered(r,o,e)}}ensureRowsRendered(e,t,a){this.renderedRows.forEach((n,r)=>{(rt)&&r!==this.lastFocusedRowIndex&&this.removeRow(r)}),a&&this.refreshRows();for(let n=e;n<=t;n++)this.renderedRows.has(n)||n=t.getRowCount())return;const{cssIdentifier:a,ariaRole:n,renderedRows:r,eContainer:o}=this,i=t.getRow(e),s=n==="tree"?"treeitem":"option",l=je({tag:"div",cls:`ag-virtual-list-item ag-${a}-virtual-list-item`,role:s,attrs:{tabindex:"-1"}});si(l,t.getRowCount()),li(l,e+1);const c=this.rowHeight;l.style.height=`${c}px`,l.style.top=`${c*e}px`;const d=this.componentCreator(i,l);d.addGuiEventListener("focusin",()=>this.lastFocusedRowIndex=e),l.appendChild(d.getGui()),r.has(e-1)?r.get(e-1).eDiv.insertAdjacentElement("afterend",l):r.has(e+1)?r.get(e+1).eDiv.insertAdjacentElement("beforebegin",l):o.appendChild(l),r.set(e,{rowComponent:d,eDiv:l,value:i})}removeRow(e){const t=this.renderedRows.get(e);t.eDiv.remove(),this.destroyBean(t.rowComponent),this.renderedRows.delete(e)}refreshRows(){const e=this.model.getRowCount();this.renderedRows.forEach((t,a)=>{if(a>=e)this.removeRow(a);else{const n=this.model.getRow(a);this.model.areRowsEqual?.(t.value,n)?this.componentUpdater(n,t.rowComponent):this.removeRow(a)}})}addScrollListener(){this.addGuiEventListener("scroll",()=>this.drawVirtualRows(),{passive:!0})}setModel(e){this.model=e}getAriaElement(){return this.eContainer}destroy(){this.isAlive()&&(this.clearVirtualRows(),this.awaitStableCallbacks.length=0,super.destroy())}},tN='.ag-list-item-hovered:after{background-color:var(--ag-accent-color);content:"";height:1px;left:0;position:absolute;right:0}.ag-item-highlight-top:after{top:0}.ag-item-highlight-bottom:after{bottom:0}',cp="ag-list-item-hovered",S0=class extends _e{constructor(e,t,a){super(),this.comp=e,this.virtualList=t,this.params=a,this.currentDragValue=null,this.lastHoveredListItem=null}postConstruct(){this.beans.environment.addGlobalCSS(tN,"component-AgVirtualListDragFeature"),this.params.addListeners(this,this.listItemDragStart.bind(this),this.listItemDragEnd.bind(this)),this.createDropTarget(),this.createAutoScrollService()}listItemDragStart(e){this.currentDragValue=this.params.getCurrentDragValue(e),this.moveBlocked=this.params.isMoveBlocked(this.currentDragValue)}listItemDragEnd(){window.setTimeout(()=>{this.currentDragValue=null,this.moveBlocked=!1},10)}createDropTarget(){const e={isInterestedIn:t=>t===this.params.dragSourceType,getIconName:()=>this.moveBlocked?"pinned":"move",getContainer:()=>this.comp.getGui(),onDragging:t=>this.onDragging(t),onDragStop:()=>this.onDragStop(),onDragLeave:()=>this.onDragLeave(),onDragCancel:()=>this.onDragCancel()};this.beans.dragAndDrop?.addDropTarget(e)}createAutoScrollService(){const e=this.virtualList.getGui();this.autoScrollService=new ql({scrollContainer:e,scrollAxis:"y",getVerticalPosition:()=>e.scrollTop,setVerticalPosition:t=>e.scrollTop=t})}onDragging(e){if(!this.currentDragValue||this.moveBlocked)return;const t=this.getListDragItem(e),a=this.virtualList.getComponentAt(t.rowIndex);if(!a)return;const n=a.getGui().parentElement;this.lastHoveredListItem&&this.lastHoveredListItem.rowIndex===t.rowIndex&&this.lastHoveredListItem.position===t.position||(this.autoScrollService.check(e.event),this.clearHoveredItems(),this.lastHoveredListItem=t,di(n,cp),di(n,`ag-item-highlight-${t.position}`))}getListDragItem(e){const t=this.virtualList.getGui(),a=Number.parseFloat(window.getComputedStyle(t).paddingTop),n=this.virtualList.getRowHeight(),r=this.virtualList.getScrollTop(),o=Math.max(0,(e.y-a+r)/n),i=this.params.getNumRows(this.comp)-1,s=Math.min(i,o)|0;return{rowIndex:s,position:Math.round(o)>o||o>i?"bottom":"top",component:this.virtualList.getComponentAt(s)}}onDragStop(){this.moveBlocked||(this.params.moveItem(this.currentDragValue,this.lastHoveredListItem),this.clearDragProperties())}onDragCancel(){this.clearDragProperties()}onDragLeave(){this.clearDragProperties()}clearDragProperties(){this.clearHoveredItems(),this.autoScrollService.ensureCleared()}clearHoveredItems(){const e=this.virtualList.getGui();for(const t of e.querySelectorAll(`.${cp}`))for(const a of[cp,"ag-item-highlight-top","ag-item-highlight-bottom"])t.classList.remove(a);this.lastHoveredListItem=null}},x0=class extends cn{constructor(e){super(e,"ag-range-field","range")}postConstruct(){super.postConstruct();const{min:e,max:t,step:a}=this.config;e!=null&&this.setMinValue(e),t!=null&&this.setMaxValue(t),this.setStep(a||1)}addInputListeners(){this.addManagedElementListeners(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){this.min!=null&&(e=Math.max(parseFloat(e),this.min).toString()),this.max!=null&&(e=Math.min(parseFloat(e),this.max).toString());const a=super.setValue(e,t);return this.eInput.value=e,a}},k0={selector:"AG-INPUT-RANGE",component:x0},Bt=class extends _l{constructor(e){super(e,``,[k0,ls]),this.eLabel=x,this.eSlider=x,this.eText=x,this.labelAlignment="top"}postConstruct(){super.postConstruct(),this.eSlider.addCss("ag-slider-field");const{minValue:e,maxValue:t,textFieldWidth:a,step:n,value:r,onValueChange:o}=this.config;e!=null&&this.setMinValue(e),t!=null&&this.setMaxValue(t),a!=null&&this.setTextFieldWidth(a),n!=null&&this.setStep(n),r!=null&&this.setValue(r),o!=null&&this.onValueChange(o)}onValueChange(e){return this.addManagedListeners(this.eText,{fieldValueChanged:()=>{const t=parseFloat(this.eText.getValue());this.eSlider.setValue(t.toString(),!0),e(t||0)}}),this.addManagedListeners(this.eSlider,{fieldValueChanged:()=>{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,t){return this.getValue()===e?this:(this.eText.setValue(e,!0),this.eSlider.setValue(e,!0),t||this.dispatchLocalEvent({type:"fieldValueChanged"}),this)}setStep(e){return this.eSlider.setStep(e),this.eText.setStep(e),this}},Pt={selector:"AG-SLIDER",component:Bt},aN=class extends ct{constructor(){super({template:{tag:"div",cls:"ag-color-input",role:"presentation",children:[{tag:"div",ref:"eLabel",cls:"ag-input-field-label"},{tag:"div",ref:"eWrapper",cls:"ag-wrapper ag-input-wrapper",role:"presentation",children:[{tag:"input",ref:"eInput",cls:"ag-input-field-input"},{tag:"div",ref:"eColor",cls:"ag-color-input-color"}]}]}}),this.eColor=x}wireBeans(e){this.color=e.agChartsExports._Util.Color}setColor(e){const t=e.toRgbaString();this.setValue(this.color.fromString(t).toHexString().toUpperCase(),!0),this.eColor.style.backgroundColor=t}setValue(e,t){const a=this.color.validColorString(e??"");return this.eInput.setCustomValidity(a?"":this.getLocaleTextFunc()("invalidColor","Color value is invalid")),super.setValue(e,t),a&&!t&&this.dispatchLocalEvent({type:"colorChanged"}),this}onColorChanged(e){this.addManagedListeners(this,{colorChanged:()=>e(this.color.fromString(this.value))})}},nN={selector:"AG-COLOR-INPUT",component:aN},R0=8,_c=[],rN=class extends Mt{constructor(e){super(``,[nN]),this.H=1,this.S=1,this.B=1,this.A=1,this.isSpectrumDragging=!1,this.isSpectrumHueDragging=!1,this.isSpectrumAlphaDragging=!1,this.colorChanged=!1,this.spectrumColor=x,this.spectrumVal=x,this.spectrumDragger=x,this.spectrumHue=x,this.spectrumHueSlider=x,this.spectrumAlpha=x,this.spectrumAlphaSlider=x,this.colorInput=x,this.recentColors=x,this.picker=e.picker}wireBeans(e){this._Color=e.agChartsExports._Util.Color}postConstruct(){this.initTabIndex(),this.initRecentColors(),this.addGuiEventListener("focus",()=>this.spectrumColor.focus()),this.addGuiEventListener("keydown",e=>{e.key===w.ENTER&&!e.defaultPrevented&&this.destroy()}),this.addManagedListeners(this.spectrumColor,{keydown:e=>this.moveDragger(e)}),this.addManagedListeners(this.spectrumAlphaSlider,{keydown:e=>this.moveAlphaSlider(e)}),this.addManagedListeners(this.spectrumHueSlider,{keydown:e=>this.moveHueSlider(e)}),this.addManagedListeners(this.spectrumVal,{mousedown:this.onSpectrumDraggerDown.bind(this)}),this.addManagedListeners(this.spectrumHue,{mousedown:this.onSpectrumHueDown.bind(this)}),this.addManagedListeners(this.spectrumAlpha,{mousedown:this.onSpectrumAlphaDown.bind(this)}),this.addGuiEventListener("mousemove",e=>{this.onSpectrumDraggerMove(e),this.onSpectrumHueMove(e),this.onSpectrumAlphaMove(e)}),this.addManagedListeners(document,{mouseup:this.onMouseUp.bind(this)}),this.colorInput.onColorChanged(this.setColor.bind(this)),this.addManagedListeners(this.recentColors,{click:this.onRecentColorClick.bind(this),keydown:e=>{(e.key===w.ENTER||e.key===w.SPACE)&&(e.preventDefault(),this.onRecentColorClick(e))}})}initTabIndex(){const e=this.tabIndex=this.gos.get("tabIndex").toString();this.spectrumColor.setAttribute("tabindex",e),this.spectrumHueSlider.setAttribute("tabindex",e),this.spectrumAlphaSlider.setAttribute("tabindex",e)}refreshSpectrumRect(){return this.spectrumValRect=this.spectrumVal.getBoundingClientRect()}refreshHueRect(){return this.spectrumHueRect=this.spectrumHue.getBoundingClientRect()}refreshAlphaRect(){return this.spectrumAlphaRect=this.spectrumAlpha.getBoundingClientRect()}onSpectrumDraggerDown(e){e.preventDefault(),this.refreshSpectrumRect(),this.isSpectrumDragging=!0,this.moveDragger(e)}onSpectrumDraggerMove(e){this.isSpectrumDragging&&this.moveDragger(e)}onSpectrumHueDown(e){this.refreshHueRect(),this.isSpectrumHueDragging=!0,this.moveHueSlider(e)}onSpectrumHueMove(e){this.isSpectrumHueDragging&&this.moveHueSlider(e)}onSpectrumAlphaDown(e){this.refreshAlphaRect(),this.isSpectrumAlphaDragging=!0,this.moveAlphaSlider(e)}onSpectrumAlphaMove(e){this.isSpectrumAlphaDragging&&this.moveAlphaSlider(e)}onMouseUp(){this.isSpectrumDragging=!1,this.isSpectrumHueDragging=!1,this.isSpectrumAlphaDragging=!1}moveDragger(e){const t=this.spectrumValRect;if(!t)return;let a,n;if(e instanceof MouseEvent)a=e.clientX-t.left,n=e.clientY-t.top;else{const r=e.key===w.LEFT,o=e.key===w.RIGHT,i=e.key===w.UP,s=e.key===w.DOWN,l=i||s,c=r||o;if(!l&&!c)return;e.preventDefault();const{x:d,y:u}=this.getSpectrumValue();a=d+(c?r?-5:5:0),n=u+(l?i?-5:5:0)}a=Math.max(a,0),a=Math.min(a,t.width),n=Math.max(n,0),n=Math.min(n,t.height),this.setSpectrumValue(a/t.width,1-n/t.height)}moveHueSlider(e){const t=this.spectrumHueRect;if(!t)return;const a=this.moveSlider(this.spectrumHueSlider,e);a!=null&&(this.H=1-a/t.width,this.update())}moveAlphaSlider(e){const t=this.spectrumAlphaRect;if(!t)return;const a=this.moveSlider(this.spectrumAlphaSlider,e);a!=null&&(this.A=a/t.width,this.update())}moveSlider(e,t){const a=e.getBoundingClientRect(),n=e.parentElement?.getBoundingClientRect();if(!e||!n)return null;const r=a.width/2;let o;if(t instanceof MouseEvent)o=Math.floor(t.clientX-n.left);else{const i=t.key===w.LEFT,s=t.key===w.RIGHT;if(!i&&!s)return null;t.preventDefault();const l=i?-5:5;o=parseFloat(e.style.left)+r+l}return o=Math.max(o,0),o=Math.min(o,n.width),e.style.left=o-r+"px",o}update(e){const{A:t,S:a,B:n,H:r,_Color:o}=this,i=r*360,s=o.fromHSB(i,a,n,t),l=s.toRgbaString(),d=o.fromHSB(i,a,n).toRgbaString(),g=o.fromHSB(i,1,1).toRgbaString(),h=this.picker;o.fromString(h.getValue()).toRgbaString()!==l&&(this.colorChanged=!0),h.setValue(l),this.spectrumColor.style.backgroundColor=g,this.spectrumDragger.style.backgroundColor=d,this.spectrumHueSlider.style.backgroundColor=g,this.spectrumAlpha.style.setProperty("--ag-internal-spectrum-alpha-color-from",o.fromHSB(i,a,n,0).toRgbaString()),this.spectrumAlpha.style.setProperty("--ag-internal-spectrum-alpha-color-to",d),this.spectrumAlpha.style.setProperty("--ag-internal-spectrum-alpha-color",l),e||this.colorInput.setColor(s)}setSpectrumValue(e,t,a){const n=this.spectrumValRect||this.refreshSpectrumRect();if(n==null)return;const r=this.spectrumDragger,o=r.getBoundingClientRect();e=Math.max(0,e),e=Math.min(1,e),t=Math.max(0,t),t=Math.min(1,t),this.S=e,this.B=t,r.style.left=e*n.width-o.width/2+"px",r.style.top=(1-t)*n.height-o.height/2+"px",this.update(a)}getSpectrumValue(){const e=this.spectrumDragger,t=e.getBoundingClientRect(),a=parseFloat(e.style.left)+t.width/2,n=parseFloat(e.style.top)+t.height/2;return{x:a,y:n}}initRecentColors(){const e=_c,t=e.map((a,n)=>``);this.recentColors.innerHTML=t.join(""),G(this.recentColors,!!e.length)}setValue(e){const t=this._Color.fromString(e);this.setColor(t,!0)}setColor(e,t){const[a,n,r]=e.toHSB();this.H=(isNaN(a)?0:a)/360,this.A=e.a;const o=this.spectrumHueRect||this.refreshHueRect(),i=this.spectrumAlphaRect||this.refreshAlphaRect();this.spectrumHueSlider.style.left=`${(this.H-1)*-o.width-this.spectrumHueSlider.getBoundingClientRect().width/2}px`,this.spectrumAlphaSlider.style.left=`${this.A*i.width-this.spectrumAlphaSlider.getBoundingClientRect().width/2}px`,this.setSpectrumValue(n,r,!t)}onRecentColorClick(e){const t=e.target;if(!A(t.id))return;const a=parseInt(t.id,10);this.setValue(_c[a]),this.destroy()}addRecentColor(){const t=this._Color.fromHSB(this.H*360,this.S,this.B,this.A).toRgbaString();let a=_c;!this.colorChanged||a[0]===t||(a=a.filter(n=>n!=t),a=[t].concat(a),a.length>R0&&(a=a.slice(0,R0)),_c=a)}destroy(){this.addRecentColor(),super.destroy()}},oN=".ag-panel{background-color:var(--ag-panel-background-color);display:flex;flex-direction:column;overflow:hidden;position:relative}.ag-dialog{border:var(--ag-dialog-border);border-radius:var(--ag-border-radius);box-shadow:var(--ag-dialog-shadow);position:absolute}.ag-panel-title-bar{align-items:center;background-color:var(--ag-panel-title-bar-background-color);border-bottom:var(--ag-panel-title-bar-border);color:var(--ag-panel-title-bar-text-color);cursor:default;display:flex;flex:none;font-family:var(--ag-panel-title-bar-font-family);font-size:var(--ag-panel-title-bar-font-size);font-weight:var(--ag-panel-title-bar-font-weight);height:var(--ag-panel-title-bar-height);padding:var(--ag-spacing) var(--ag-cell-horizontal-padding)}.ag-panel-title-bar-button{cursor:pointer;:where(.ag-icon){color:var(--ag-panel-title-bar-icon-color)}}:where(.ag-ltr) .ag-panel-title-bar-button{margin-left:calc(var(--ag-spacing)*2);margin-right:var(--ag-spacing)}:where(.ag-rtl) .ag-panel-title-bar-button{margin-left:var(--ag-spacing);margin-right:calc(var(--ag-spacing)*2)}.ag-panel-title-bar-title{flex:1 1 auto}.ag-panel-title-bar-buttons{display:flex}.ag-panel-content-wrapper{display:flex;flex:1 1 auto;overflow:hidden;position:relative}:where(.ag-dragging-fill-handle) .ag-dialog,:where(.ag-dragging-range-handle) .ag-dialog{opacity:.7;pointer-events:none}";function iN(e){return e??(e=e||"default"),{tag:"div",cls:`ag-panel ag-${e}-panel`,attrs:{tabindex:"-1"},children:[{tag:"div",ref:"eTitleBar",cls:`ag-panel-title-bar ag-${e}-panel-title-bar ag-unselectable`,children:[{tag:"span",ref:"eTitle",cls:`ag-panel-title-bar-title ag-${e}-panel-title-bar-title`},{tag:"div",ref:"eTitleBarButtons",cls:`ag-panel-title-bar-buttons ag-${e}-panel-title-bar-buttons`}]},{tag:"div",ref:"eContentWrapper",cls:`ag-panel-content-wrapper ag-${e}-panel-content-wrapper`}]}}var dp=class extends Mt{constructor(e){super(iN(e.cssIdentifier)),this.config=e,this.closable=!0,this.eContentWrapper=x,this.eTitleBar=x,this.eTitleBarButtons=x,this.eTitle=x,this.registerCSS(oN)}postConstruct(){const{component:e,closable:t,hideTitleBar:a,title:n,minWidth:r=250,width:o,minHeight:i=250,height:s,centered:l,popup:c,x:d,y:u,postProcessPopupParams:g}=this.config,h=this.beans,p=this.createManagedBean(new bu(this.getGui(),{minWidth:r,width:o,minHeight:i,height:s,centered:l,x:d,y:u,popup:c,calculateTopBuffer:()=>this.positionableFeature.getHeight()-this.getBodyHeight()}));this.positionableFeature=p;const f=this.getGui();if(e&&this.setBodyComponent(e),a?G(this.eTitleBar,!1):(n&&this.setTitle(n),this.setClosable(t??this.closable)),this.addManagedElementListeners(this.eTitleBar,{mousedown:v=>{if(f.contains(v.relatedTarget)||f.contains(ne(h))||this.eTitleBarButtons.contains(v.target)){v.preventDefault();return}const C=this.eContentWrapper.querySelector("button, [href], input, select, textarea, [tabindex]");C&&C.focus()}}),c&&p.isPositioned())return;this.renderComponent&&this.renderComponent();let m;if(g){const{type:v,eventSource:C,mouseEvent:b}=g;m=()=>h.popupSvc?.callPostProcessPopup(g,v,f,C,b)}p.initialisePosition(m),this.eContentWrapper.style.height="0"}renderComponent(){const e=this.getGui();e.focus(),this.close=()=>{e.remove(),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 t=this.closeButtonComp=new Mt({tag:"div",cls:"ag-button"});this.createBean(t);const a=t.getGui(),n=this.beans.iconSvc.createIconNoSpan("close",this.beans);n.classList.add("ag-panel-title-bar-button-icon"),a.appendChild(n),this.addTitleBarButton(t),t.addManagedElementListeners(a,{click:this.onBtClose.bind(this)})}else this.closeButtonComp&&(this.closeButtonComp.getGui().remove(),this.closeButtonComp=this.destroyBean(this.closeButtonComp))}setBodyComponent(e){e.setParentComponent(this),this.eContentWrapper.appendChild(e.getGui())}addTitleBarButton(e,t){const a=this.eTitleBarButtons,n=a.children,r=n.length;t==null&&(t=r),t=Math.max(0,Math.min(t,r)),e.addCss("ag-panel-title-bar-button");const o=e.getGui();t===0?a.prepend(o):t===r?a.append(o):n[t-1].after(o),e.setParentComponent(this)}getBodyHeight(){return ui(this.eContentWrapper)}getBodyWidth(){return pr(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&&Be(e)&&this.close(),super.destroy()}},up=class extends dp{constructor(e,t){super({...e,popup:!0}),this.callbacks=t,this.isMaximizable=!1,this.isMaximized=!1,this.maximizeListeners=[],this.resizeListenerDestroy=null,this.lastPosition={x:0,y:0,width:0,height:0}}wireBeans(e){this.popupSvc=e.popupSvc}postConstruct(){const e=this.getGui(),{movable:t,resizable:a,maximizable:n,modal:r}=this.config;this.addCss("ag-dialog"),super.postConstruct(),this.tabGuardFeature=this.createManagedBean(new Nl(this,this.callbacks?.stopPropagationCallbacks)),this.tabGuardFeature.initialiseTabGuard({isFocusableContainer:!0,onFocusIn:()=>{this.popupSvc?.bringPopupToFront(e)},onTabKeyDown:o=>{if(r)return;const i=o.shiftKey,s=Je(this.beans,e,!1,i);(!s||this.tabGuardFeature.getTabGuardCtrl().isTabGuard(s))&&this.callbacks?.focusNextContainer(this.beans,i)&&o.preventDefault()}}),t&&this.setMovable(t),n&&this.setMaximizable(n),a&&this.setResizable(a),this.config.modal||this.callbacks?.configureFocusableContainer(this.beans,this)}setAllowFocus(e){this.tabGuardFeature.getTabGuardCtrl().setAllowFocus(e)}renderComponent(){const e=this.getGui(),{alwaysOnTop:t,modal:a,title:n,afterGuiAttached:r}=this.config,o=this.getLocaleTextFunc(),i=this.popupSvc?.addPopup({modal:a,eChild:e,closeOnEsc:!0,closedCallback:this.onClosed.bind(this),alwaysOnTop:t,ariaLabel:n||o("ariaLabelDialog","Dialog"),afterGuiAttached:r});i&&(this.close=i.hideFunc)}onClosed(e){this.destroy(),this.config.closedCallback?.(e)}setMaximized(e){this.isMaximizable&&e!==this.isMaximized&&this.toggleMaximize()}toggleMaximize(){const e=this.positionableFeature.getPosition();if(this.isMaximized){const{x:t,y:a,width:n,height:r}=this.lastPosition;this.setWidth(n),this.setHeight(r),this.positionableFeature.offsetElement(t,a)}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(){G(this.maximizeIcon,!this.isMaximized),G(this.minimizeIcon,this.isMaximized)}clearMaximizebleListeners(){if(this.maximizeListeners.length){for(const e of this.maximizeListeners)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){this.clearMaximizebleListeners(),this.maximizeButtonComp&&(this.destroyBean(this.maximizeButtonComp),this.maximizeButtonComp=this.maximizeIcon=this.minimizeIcon=void 0);return}const t=this.eTitleBar;if(!t||e===this.isMaximizable)return;this.isMaximizable=e;const a=this.buildMaximizeAndMinimizeElements();this.refreshMaximizeIcon(),a.addManagedElementListeners(a.getGui(),{click:this.toggleMaximize.bind(this)}),this.addTitleBarButton(a,0),this.maximizeListeners.push(...this.addManagedElementListeners(t,{dblclick:this.toggleMaximize.bind(this)})),[this.resizeListenerDestroy]=this.addManagedListeners(this.positionableFeature,{resize:()=>{this.isMaximized=!1,this.refreshMaximizeIcon()}})}buildMaximizeAndMinimizeElements(){const e=this.maximizeButtonComp=this.createBean(new Mt({tag:"div",cls:"ag-dialog-button"})),t=e.getGui(),a=this.beans.iconSvc;return this.maximizeIcon=a.createIconNoSpan("maximize"),t.appendChild(this.maximizeIcon),this.maximizeIcon.classList.add("ag-panel-title-bar-button-icon"),this.minimizeIcon=a.createIconNoSpan("minimize"),t.appendChild(this.minimizeIcon),this.minimizeIcon.classList.add("ag-panel-title-bar-button-icon"),e}},gp=class extends Cc{constructor(e){super({pickerAriaLabelKey:"ariaLabelColorPicker",pickerAriaLabelValue:"Color Picker",pickerType:"ag-list",className:"ag-color-picker",pickerIcon:"chartsColorPicker",...e})}postConstruct(){this.eDisplayFieldColor=re({tag:"span",cls:"ag-color-picker-color"}),this.eDisplayFieldText=re({tag:"span",cls:"ag-color-picker-value"}),this.eDisplayField.append(this.eDisplayFieldColor,this.eDisplayFieldText),super.postConstruct(),this.value&&this.setValue(this.value)}createPickerComponent(){const e=this.eWrapper.getBoundingClientRect(),t=this.beans.popupSvc.getParentRect();return this.createBean(new up({closable:!1,modal:!0,hideTitleBar:!0,minWidth:190,width:190,height:250,x:e.right-t.left-190,y:e.top-t.top-250-(this.config.pickerGap??0),postProcessPopupParams:{type:"colorPicker",eventSource:this.eWrapper}},this.config.dialogCallbacks))}renderAndPositionPicker(){const e=this.pickerComponent,t=this.createBean(new rN({picker:this}));return e.addCss("ag-color-dialog"),t.addDestroyFunc(()=>{e.isAlive()&&this.destroyBean(e)}),e.setParentComponent(this),e.setBodyComponent(t),t.setValue(this.getValue()),t.getGui().focus(),e.addDestroyFunc(()=>{this.isDestroyingPicker?this.isDestroyingPicker=!1:(this.beforeHidePicker(),this.isDestroyingPicker=!0,t.isAlive()&&this.destroyBean(t),this.isAlive()&&this.getFocusableElement().focus())}),()=>this.pickerComponent?.close()}setValue(e){return this.value===e?this:(this.eDisplayFieldColor.style.backgroundColor=e,this.eDisplayFieldText.textContent=this.beans.agChartsExports._Util.Color.fromString(e).toHexString().toUpperCase(),super.setValue(e))}getValue(){return this.value}},sN={selector:"AG-COLOR-PICKER",component:gp},lN=class extends fo{constructor(e){super(),this.setTemplateFromElement(e.getGui(),void 0,void 0,!0)}postConstruct(){this.initialiseTabGuard({onTabKeyDown:e=>this.onTabKeyDown(e),handleKeyDown:e=>this.handleKeyDown(e)})}handleKeyDown(e){e.key===w.ESCAPE&&this.closePanel()}onTabKeyDown(e){e.defaultPrevented||(this.closePanel(),e.preventDefault())}closePanel(){const e=this.parentComponent;e.closeSubMenu(),setTimeout(()=>e.getGui().focus(),0)}},Kc=class extends _e{constructor(e){super(),this.callbacks=e,this.ACTIVATION_DELAY=80,this.isActive=!1,this.subMenuIsOpen=!1,this.subMenuIsOpening=!1,this.suppressRootStyles=!0,this.suppressAria=!0,this.suppressFocus=!0}init(e){const{menuItemDef:t,isAnotherSubMenuOpen:a,level:n,childComponent:r,contextParams:o}=e;return this.params=e.menuItemDef,this.level=n,this.isAnotherSubMenuOpen=a,this.childComponent=r,this.contextParams=o,this.cssClassPrefix=this.params.menuItemParams?.cssClassPrefix??"ag-menu-option",this.callbacks.getMenuItemComp(this.beans,this.params,{...t,level:n,isAnotherSubMenuOpen:a,openSubMenu:i=>this.openSubMenu(i),closeSubMenu:()=>this.closeSubMenu(),closeMenu:i=>this.closeMenu(i),updateTooltip:(i,s)=>this.refreshTooltip(i,s),onItemActivated:()=>this.onItemActivated()}).then(i=>{if(!i)return;this.menuItemComp=i;const s=i.configureDefaults?.();s&&this.configureDefaults(s===!0?void 0:s)})}addListeners(e,t){t?.suppressClick||this.addManagedElementListeners(e,{click:a=>this.onItemSelected(a)}),t?.suppressKeyboardSelect||this.addManagedElementListeners(e,{keydown:a=>{(a.key===w.ENTER||a.key===w.SPACE)&&(a.preventDefault(),this.onItemSelected(a))}}),t?.suppressMouseDown||this.addManagedElementListeners(e,{mousedown:a=>{a.stopPropagation(),a.preventDefault()}}),t?.suppressMouseOver||this.addManagedElementListeners(e,{mouseenter:()=>this.onMouseEnter(),mouseleave:()=>this.onMouseLeave()})}isDisabled(){return!!this.params.disabled}openSubMenu(e=!1,t){if(this.closeSubMenu(),!this.params.subMenu)return;this.subMenuIsOpening=!0;const a=re({tag:"div",cls:"ag-menu",role:"presentation"});this.eSubMenuGui=a;let n,r=()=>{this.subMenuIsOpening=!1};if(this.childComponent){const c=this.createBean(new lN(this.childComponent));c.setParentComponent(this);const d=c.getGui(),u="mouseenter",g=()=>this.cancelDeactivate();d.addEventListener(u,g),n=()=>{d.removeEventListener(u,g),this.destroyBean(c)},a.appendChild(d),this.childComponent.afterGuiAttached&&(r=()=>{this.childComponent.afterGuiAttached(),this.subMenuIsOpening=!1})}else if(this.params.subMenu){const c=this.createBean(new Yc(this.level+1,this.contextParams,this.callbacks));c.setParentComponent(this),c.addMenuItems(this.params.subMenu),a.appendChild(c.getGui()),this.addManagedListeners(c,{closeMenu:d=>this.dispatchLocalEvent(d)}),c.addGuiEventListener("mouseenter",()=>this.cancelDeactivate()),n=()=>this.destroyBean(c),e&&(r=()=>{c.activateFirstItem(),this.subMenuIsOpening=!1})}const o=this.beans.popupSvc,i=()=>{const c=this.eGui;o?.positionPopupForMenu({eventSource:c,ePopup:a,event:t instanceof MouseEvent?t:void 0,additionalParams:this.callbacks.getPostProcessPopupParams(this.contextParams)})},s=this.getLocaleTextFunc(),l=o?.addPopup({modal:!0,eChild:a,positionCallback:i,anchorToElement:this.eGui,ariaLabel:s("ariaLabelSubMenu","SubMenu"),afterGuiAttached:r});this.subMenuIsOpen=!0,this.setAriaExpanded(!0),this.hideSubMenu=()=>{l&&l.hideFunc(),this.subMenuIsOpen=!1,this.setAriaExpanded(!1),n(),this.menuItemComp.setExpanded?.(!1),this.eSubMenuGui=void 0},this.menuItemComp.setExpanded?.(!0)}setAriaExpanded(e){this.suppressAria||ot(this.eGui,e)}closeSubMenu(){this.hideSubMenu&&(this.hideSubMenu(),this.hideSubMenu=null,this.setAriaExpanded(!1))}isSubMenuOpen(){return this.subMenuIsOpen}isSubMenuOpening(){return this.subMenuIsOpening}activate(e,t){this.cancelActivate(),!(this.params.disabled&&!t)&&(this.isActive=!0,this.suppressRootStyles||this.eGui.classList.add(`${this.cssClassPrefix}-active`),this.menuItemComp.setActive?.(!0),this.suppressFocus||this.callbacks.preserveRangesWhile(this.beans,()=>this.eGui.focus({preventScroll:!t})),e&&this.params.subMenu&&window.setTimeout(()=>{this.isAlive()&&this.isActive&&this.openSubMenu()},300),this.onItemActivated())}deactivate(){this.cancelDeactivate(),this.suppressRootStyles||this.eGui.classList.remove(`${this.cssClassPrefix}-active`),this.menuItemComp.setActive?.(!1),this.isActive=!1,this.subMenuIsOpen&&this.closeSubMenu()}getGui(){return this.menuItemComp.getGui()}getParentComponent(){return this.parentComponent}setParentComponent(e){this.parentComponent=e}getSubMenuGui(){return this.eSubMenuGui}onItemSelected(e){this.menuItemComp.select?.(),this.params.action?this.beans.frameworkOverrides.wrapOutgoing(()=>this.params.action(this.gos.addCommon({...this.contextParams}))):this.openSubMenu(e&&e.type==="keydown",e),!(this.params.subMenu&&!this.params.action||this.params.suppressCloseOnSelect)&&this.closeMenu(e)}closeMenu(e){const t={type:"closeMenu"};e&&(e instanceof MouseEvent?t.mouseEvent=e:t.keyboardEvent=e),this.dispatchLocalEvent(t)}onItemActivated(){const e={type:"menuItemActivated",menuItem:this};this.dispatchLocalEvent(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.isAnotherSubMenuOpen()?this.activateTimeoutId=window.setTimeout(()=>this.activate(!0),this.ACTIVATION_DELAY):this.activate(!0)}onMouseLeave(){this.cancelActivate(),this.isSubMenuOpen()?this.deactivateTimeoutId=window.setTimeout(()=>this.deactivate(),this.ACTIVATION_DELAY):this.deactivate()}refreshRootElementGui(e){let t=this.menuItemComp.getGui();const{cssClassPrefix:a,params:{cssClasses:n,disabled:r}}=this,o=this.menuItemComp.getRootElement?.();if(o&&(e||t.classList.add("ag-menu-option-custom"),t=o),this.suppressRootStyles=!!e,!this.suppressRootStyles){t.classList.add(a);for(const i of n??[])t.classList.add(i);r&&t.classList.add(`${a}-disabled`)}return t}applyAriaProperties(e){const{params:{checked:t,subMenu:a,subMenuRole:n,disabled:r}}=this,o=t!=null;De(e,o?"menuitemcheckbox":"menuitem"),a&&lm(e,n??"menu"),r&&ii(e,!0)}configureDefaults(e){if(!this.menuItemComp){setTimeout(()=>this.configureDefaults(e));return}const{suppressRootStyles:t,suppressTooltip:a,suppressAria:n,suppressTabIndex:r,suppressFocus:o}=e||{},{params:{tooltip:i,disabled:s}}=this,l=this.eGui=this.refreshRootElementGui(!!t);this.suppressAria=!!n,n||this.applyAriaProperties(l),r||l.setAttribute("tabindex","-1"),a||this.refreshTooltip(i),s||this.addListeners(l,e),this.suppressFocus=!!o}refreshTooltip(e,t){if(this.tooltip=e,this.tooltipFeature=this.destroyBean(this.tooltipFeature),!e||!this.menuItemComp)return;const a=this.beans.registry.createDynamicBean("tooltipFeature",!1,{getGui:()=>this.getGui(),getTooltipValue:()=>this.tooltip,getLocation:()=>"menu",shouldDisplayTooltip:t});a&&(this.tooltipFeature=this.createBean(a))}destroy(){this.tooltipFeature=this.destroyBean(this.tooltipFeature),this.menuItemComp?.destroy?.(),super.destroy()}},Yc=class extends fo{constructor(e=0,t,a){super({tag:"div",cls:"ag-menu-list",role:"menu"}),this.level=e,this.menuActionParams=t,this.callbacks=a,this.menuItems=[]}postConstruct(){this.initialiseTabGuard({onTabKeyDown:e=>this.onTabKeyDown(e),handleKeyDown:e=>this.callbacks.preserveRangesWhile(this.beans,()=>this.handleKeyDown(e)),onFocusIn:e=>this.handleFocusIn(e),onFocusOut:e=>this.handleFocusOut(e)})}onTabKeyDown(e){this.getParentComponent()?.getGui()?.classList.contains("ag-focus-managed")||e.preventDefault(),e.shiftKey&&this.closeIfIsChild(e)}handleKeyDown(e){switch(e.key){case w.UP:case w.RIGHT:case w.DOWN:case w.LEFT:e.preventDefault(),this.handleNavKey(e.key);break;case w.ESCAPE:this.closeIfIsChild()&&this.callbacks.stopPropagationCallbacks.stopPropagation(e);break}}handleFocusIn(e){const t=e.relatedTarget;!this.tabGuardFeature.getTabGuardCtrl().isTabGuard(t)&&(this.getGui().contains(t)||this.activeMenuItem?.getSubMenuGui()?.contains(t))||(this.activeMenuItem?this.activeMenuItem.activate():this.activateFirstItem())}handleFocusOut(e){const t=e.relatedTarget;!this.activeMenuItem||this.getGui().contains(t)||this.activeMenuItem.getSubMenuGui()?.contains(t)||this.activeMenuItem.isSubMenuOpening()||this.activeMenuItem.deactivate()}clearActiveItem(){this.activeMenuItem&&(this.activeMenuItem.deactivate(),this.activeMenuItem=null)}addMenuItems(e){e!=null&&j.all(e.map(t=>t==="separator"?j.resolve({eGui:this.createSeparator()}):typeof t=="string"?(this.callbacks.warnNoItem?.(t),j.resolve({eGui:null})):this.addItem(t))).then(t=>{for(const a of t??[])a?.eGui&&(this.appendChild(a.eGui),a.comp&&this.menuItems.push(a.comp))})}addItem(e){const t=this.createManagedBean(new Kc(this.callbacks));return t.init({menuItemDef:e,isAnotherSubMenuOpen:()=>this.menuItems.some(a=>a.isSubMenuOpen()),level:this.level,contextParams:this.menuActionParams}).then(()=>(t.setParentComponent(this),this.addManagedListeners(t,{closeMenu:a=>{this.dispatchLocalEvent(a)},menuItemActivated:a=>{this.activeMenuItem&&this.activeMenuItem!==a.menuItem&&this.activeMenuItem.deactivate(),this.activeMenuItem=a.menuItem}}),{comp:t,eGui:t.getGui()}))}activateFirstItem(){const e=this.menuItems.filter(t=>!t.isDisabled())[0];e&&e.activate()}createSeparator(){const e={tag:"div",cls:"ag-menu-separator-part"};return je({tag:"div",cls:"ag-menu-separator",attrs:{"aria-hidden":"true"},children:[e,e,e,e]})}handleNavKey(e){switch(e){case w.UP:case w.DOWN:{const a=this.findNextItem(e===w.UP);a&&a!==this.activeMenuItem&&a.activate(!1,!0);return}}const t=this.gos.get("enableRtl")?w.RIGHT:w.LEFT;e===t?this.closeIfIsChild():this.openChild()}closeIfIsChild(e){const t=this.getParentComponent();return t&&t instanceof Kc?(e&&e.preventDefault(),t.closeSubMenu(),t.getGui().focus(),!0):!1}openChild(){this.activeMenuItem&&this.activeMenuItem.openSubMenu(!0)}findNextItem(e){const t=[...this.menuItems];if(!t.length)return;if(!this.activeMenuItem)return e?W(t):t[0];e&&t.reverse();let a,n=!1;for(const r of t){if(!n){r===this.activeMenuItem&&(n=!0);continue}a=r;break}return n&&!a?t[0]:a||this.activeMenuItem}destroy(){this.clearActiveItem(),super.destroy()}},cN="ag-menu",dN="ag-context-menu-loading-icon",F0=class extends _e{constructor(e){super(),this.params=e,this.destroyLoadingSpinner=null,this.lastPromise=0}hideActiveMenu(){this.destroyBean(this.activeMenu)}showMenu(e,t,a){const{getMenuItems:n,shouldBlockMenuOpen:r}=this.params,o=n(e,t);if(sv(o)){const i=this.lastPromise+1;return this.lastPromise=i,this.destroyLoadingSpinner||this.createLoadingIcon(t),o.then(s=>{if(this.lastPromise!==i)return;const{target:l}=t,c=!l;s?.length&&(c||Be(l))&&!r?.()&&this.createContextMenu({menuItems:s,menuActionParams:e,mouseEvent:t,anchorToElement:a}),this.destroyLoadingSpinner?.()}),!0}return o?.length?(this.createContextMenu({menuItems:o,menuActionParams:e,mouseEvent:t,anchorToElement:a}),!0):!1}createLoadingIcon(e){const{beans:t}=this,a=this.getLocaleTextFunc(),n=t.iconSvc.createIconNoSpan("loadingMenuItems"),r=je({tag:"div",cls:dN});r.appendChild(n);const o=Dt(t),i=dr(t);if(!i)return;i.appendChild(r),t.ariaAnnounce?.announceValue(a("ariaLabelLoadingContextMenu","Loading Context Menu"),"contextmenu"),t.environment.applyThemeClasses(r),tl(r,e,t);const s=l=>{tl(r,l,t)};o.addEventListener("mousemove",s),this.destroyLoadingSpinner=()=>{o.removeEventListener("mousemove",s),r.remove(),this.destroyLoadingSpinner=null}}createContextMenu(e){const{mapMenuItems:t,menuItemCallbacks:a,beforeMenuOpen:n,onMenuClose:r,afterMenuDestroyed:o,onVisibleChanged:i,onMenuOpen:s}=this.params,{menuItems:l,menuActionParams:c,mouseEvent:d,anchorToElement:u}=e,g=this.beans.popupSvc,h=t?y=>t(l,c,y):()=>l,p=new uN(h,c,a);this.createBean(p);const f=p.getGui();n?.(c);const m={additionalParams:a.getPostProcessPopupParams(c),type:"contextMenu",mouseEvent:d,ePopup:f,nudgeY:1},v=this.getLocaleTextFunc(),C=g?.addPopup({modal:!0,eChild:f,closeOnEsc:!0,closedCallback:y=>{a.preserveRangesWhile(this.beans,()=>{r?.(),this.destroyBean(p),o?.(),i?.(!1,y===void 0?"api":"ui")})},click:d,positionCallback:()=>{const y=this.gos.get("enableRtl");g?.positionPopupUnderMouseEvent({...m,nudgeX:y?(f.offsetWidth+1)*-1:1})},anchorToElement:u,ariaLabel:v("ariaLabelContextMenu","Context Menu")});C&&(s?.(),p.afterGuiAttached({container:"contextMenu",hidePopup:C.hideFunc})),this.activeMenu&&this.hideActiveMenu(),this.activeMenu=p,p.addEventListener("destroyed",()=>{this.activeMenu===p&&(this.activeMenu=null)}),C&&p.addEventListener("closeMenu",y=>C.hideFunc({mouseEvent:y.mouseEvent??void 0,keyboardEvent:y.keyboardEvent??void 0,forceHide:!0}));const b=d&&d instanceof MouseEvent&&d.type==="mousedown";i?.(!0,b?"api":"ui")}destroy(){this.destroyLoadingSpinner?.(),super.destroy()}},uN=class extends Mt{constructor(e,t,a){super({tag:"div",cls:cN,role:"presentation"}),this.getMenuItems=e,this.menuActionParams=t,this.callbacks=a,this.menuList=null}postConstruct(){const e=this.createManagedBean(new Yc(0,this.menuActionParams,this.callbacks)),t=this.getMenuItems(()=>this.getGui());e.addMenuItems(t),this.appendChild(e),this.menuList=e,e.addEventListener("closeMenu",a=>this.dispatchLocalEvent(a))}afterGuiAttached({hidePopup:e}){e&&this.addDestroyFunc(e);const t=this.menuList;t&&this.callbacks.preserveRangesWhile(this.beans,()=>ze(t.getGui()))}},M0=class extends Mt{constructor(e){super({tag:"div"}),this.callbacks=e}init(e){this.params=e,this.cssClassPrefix=this.params.cssClassPrefix??"ag-menu-option",this.addAriaAttributes(),this.addIcon(),this.addName(),this.addShortcut(),this.addSubMenu()}configureDefaults(){return!0}addAriaAttributes(){const{checked:e,subMenu:t}=this.params,a=this.getGui();e&&Nd(a,e),t&&ot(a,!1)}addIcon(){if(this.params.isCompact)return;const e=je({tag:"span",ref:"eIcon",cls:`${this.getClassName("part")} ${this.getClassName("icon")}`,role:"presentation"}),{checked:t,icon:a}=this.params;t?e.appendChild(this.beans.iconSvc.createIconNoSpan("check")):a&&(fi(a)?e.appendChild(a):typeof a=="string"?e.innerHTML=a:this.callbacks?.warnNoIcon?.()),this.getGui().appendChild(e)}addName(){const e=je({tag:"span",ref:"eName",cls:`${this.getClassName("part")} ${this.getClassName("text")}`,children:this.params.name||""});this.getGui().appendChild(e)}addShortcut(){if(this.params.isCompact)return;const e=je({tag:"span",ref:"eShortcut",cls:`${this.getClassName("part")} ${this.getClassName("shortcut")}`,children:this.params.shortcut||""});this.getGui().appendChild(e)}addSubMenu(){const e=je({tag:"span",ref:"ePopupPointer",cls:`${this.getClassName("part")} ${this.getClassName("popup-pointer")}`}),t=this.getGui();if(this.params.subMenu){const a=this.gos.get("enableRtl")?"subMenuOpenRtl":"subMenuOpen";e.appendChild(this.beans.iconSvc.createIconNoSpan(a))}t.appendChild(e)}getClassName(e){return`${this.cssClassPrefix}-${e}`}};function hp(e,t){if(!t)return null;const a=_t(e),n=a.indexOf(t);if(n===-1)return null;let r=-1;for(let o=n-1;o>=0;o--)if(a[o].classList.contains(qi.TAB_GUARD_TOP)){r=o;break}return r<=0?null:a[r-1]}function E0(e,t){if(!t)return!1;const a=e.querySelectorAll(`.${Tu}`);if(!a.length)return!1;for(let n=0;nthis.activeItem?.tabbedItem?.afterDetachedCallback?.())}setupHeader(){const{enableCloseButton:e,cssClass:t}=this.params,a=(n,r)=>{n.classList.add(`ag-tabs-${r}`),t&&n.classList.add(`${t}-${r}`)};e?(this.setupCloseButton(a),this.eTabHeader=je({tag:"div",role:"presentation"}),a(this.eHeader,"header-wrapper"),this.eHeader.appendChild(this.eTabHeader)):this.eTabHeader=this.eHeader,De(this.eTabHeader,"tablist"),a(this.eTabHeader,"header")}setupCloseButton(e){const t=je({tag:"button"});e(t,"close-button");const a=this.beans.iconSvc.createIconNoSpan("close");de(t,this.params.closeButtonAriaLabel),t.appendChild(a),this.addManagedElementListeners(t,{click:()=>this.params.onCloseClicked?.()});const n=je({tag:"div",role:"presentation"});e(n,"close-button-wrapper"),n.appendChild(t),this.eHeader.appendChild(n),this.eCloseButton=t}handleKeyDown(e){switch(e.key){case w.RIGHT:case w.LEFT:{if(!this.eTabHeader.contains(ne(this.beans)))return;const t=e.key===w.RIGHT,a=this.gos.get("enableRtl"),n=this.items.indexOf(this.activeItem),r=t!==a?Math.min(n+1,this.items.length-1):Math.max(n-1,0);if(n===r)return;e.preventDefault();const o=this.items[r];this.showItemWrapper(o),o.eHeaderButton.focus();break}case w.UP:case w.DOWN:e.stopPropagation();break}}onTabKeyDown(e){if(e.defaultPrevented)return;const{beans:t,eHeader:a,eBody:n,activeItem:r,params:o}=this,{suppressTrapFocus:i,enableCloseButton:s}=o,l=ne(t),c=e.target,d=e.shiftKey;if(a.contains(l)){e.preventDefault(),s&&d&&!this.eCloseButton?.contains(l)?this.eCloseButton?.focus():i&&d?hp(me(t).body,c)?.focus():this.focusBody(e.shiftKey);return}let u=null;if(E0(n,c)&&(d&&(u=hp(n,c)),!u&&!i&&(u=r.eHeaderButton)),!u&&n.contains(l)&&(u=Je(t,n,!1,d),!u)){i&&!d?this.forceFocusOutOfContainer(d):s&&!d?(e.preventDefault(),this.eCloseButton?.focus()):(e.preventDefault(),this.focusHeader());return}u&&(e.preventDefault(),u.focus())}focusInnerElement(e){return e?this.focusBody(!0):(this.focusHeader(),!0)}focusHeader(e){this.activeItem.eHeaderButton.focus({preventScroll:e})}focusBody(e){return ze(this.eBody,e)}setAfterAttachedParams(e){this.afterAttachedParams=e}showFirstItem(){this.items.length>0&&this.showItemWrapper(this.items[0])}addItem(e){const t=je({tag:"span",cls:"ag-tab",role:"tab",attrs:{tabindex:"-1"}});t.appendChild(e.title),this.eTabHeader.appendChild(t),de(t,e.titleLabel);const a={tabbedItem:e,eHeaderButton:t};this.items.push(a),t.addEventListener("click",this.showItemWrapper.bind(this,a))}showItem(e){const t=this.items.find(a=>a.tabbedItem===e);t&&this.showItemWrapper(t)}showItemWrapper(e){const{tabbedItem:t,eHeaderButton:a}=e;if(this.params.onItemClicked?.({item:t}),this.activeItem===e){this.params.onActiveItemClicked?.();return}this.lastScrollListener&&(this.lastScrollListener=this.lastScrollListener()),ee(this.eBody),t.bodyPromise.then(n=>{this.eBody.appendChild(n);const r=!Ai();if(this.params.suppressFocusBodyOnOpen||ze(this.eBody,!1,r),t.afterAttachedCallback&&t.afterAttachedCallback(this.afterAttachedParams),this.params.keepScrollPosition){const o=t.getScrollableContainer?.()||n;[this.lastScrollListener]=this.addManagedElementListeners(o,{scroll:()=>{this.tabbedItemScrollMap.set(t.name,o.scrollTop)}});const i=this.tabbedItemScrollMap.get(t.name);i!==void 0&&setTimeout(()=>{o.scrollTop=i},0)}}),this.activeItem&&(this.activeItem.eHeaderButton.classList.remove("ag-tab-selected"),this.activeItem.tabbedItem.afterDetachedCallback?.()),a.classList.add("ag-tab-selected"),this.activeItem=e}},hN=".ag-group{position:relative;width:100%}.ag-group-title-bar{align-items:center;display:flex;padding:var(--ag-spacing)}.ag-group-title{display:inline;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(.ag-group-title-bar) .ag-group-title{cursor:default}.ag-group-toolbar{align-items:center;display:flex;padding:var(--ag-spacing)}.ag-group-container{display:flex}.ag-disabled .ag-group-container{pointer-events:none}.ag-disabled-group-container,.ag-disabled-group-title-bar{opacity:.5}.ag-group-container-horizontal{flex-flow:row wrap}.ag-group-container-vertical{flex-direction:column}.ag-group-title-bar-icon{cursor:pointer;flex:none}:where(.ag-ltr) .ag-group-title-bar-icon{margin-right:var(--ag-spacing)}:where(.ag-rtl) .ag-group-title-bar-icon{margin-left:var(--ag-spacing)}:where(.ag-group-item-alignment-stretch) .ag-group-item{align-items:stretch}:where(.ag-group-item-alignment-start) .ag-group-item{align-items:flex-start}:where(.ag-group-item-alignment-end) .ag-group-item{align-items:flex-end}";function pN(e){const t=e.cssIdentifier||"default",a=e.direction||"vertical";return{tag:"div",cls:`ag-group ag-${t}-group`,role:"presentation",children:[{tag:"div",ref:"eToolbar",cls:`ag-group-toolbar ag-${t}-group-toolbar`,children:[{tag:"ag-checkbox",ref:"cbGroupEnabled"}]},{tag:"div",ref:"eContainer",cls:`ag-group-container ag-group-container-${a} ag-${t}-group-container`}]}}var Ya=class extends Mt{constructor(e={}){super(pN(e),[da]),this.params=e,this.suppressEnabledCheckbox=!0,this.suppressToggleExpandOnEnableChange=!1,this.eToolbar=x,this.cbGroupEnabled=x,this.eContainer=x,this.registerCSS(hN);const{enabled:t,items:a,suppressEnabledCheckbox:n,expanded:r,suppressToggleExpandOnEnableChange:o,useToggle:i}=e;this.cssIdentifier=e.cssIdentifier||"default",this.enabled=t??!0,this.items=a||[],this.useToggle=i??!1,this.alignItems=e.alignItems||"center",this.expanded=r??!0,n!=null&&(this.suppressEnabledCheckbox=n),o!=null&&(this.suppressToggleExpandOnEnableChange=o)}postConstruct(){if(this.setupTitleBar(),this.items.length){const r=this.items;this.items=[],this.addItems(r)}const e=this.getLocaleTextFunc();this.cbGroupEnabled.setLabel(e("enabled","Enabled")),this.enabled&&this.setEnabled(this.enabled,void 0,!0),this.setAlignItems(this.alignItems);const{onEnableChange:t,onExpandedChange:a,suppressOpenCloseIcons:n}=this.params;this.hideEnabledCheckbox(this.suppressEnabledCheckbox),this.hideOpenCloseIcons(n??!1),this.refreshChildDisplay(),G(this.eContainer,this.expanded),this.cbGroupEnabled.onValueChange(r=>{this.setEnabled(r,!0,this.suppressToggleExpandOnEnableChange),this.dispatchEnableChangeEvent(r)}),t!=null&&this.onEnableChange(t),a!=null&&this.onExpandedChange(a)}refreshChildDisplay(){G(this.eToolbar,this.expanded&&!this.suppressEnabledCheckbox),this.eTitleBar?.refreshOnExpand(this.expanded)}isExpanded(){return this.expanded}setAlignItems(e){this.alignItems!==e&&this.removeCss(`ag-group-item-alignment-${this.alignItems}`),this.alignItems=e;const t=`ag-group-item-alignment-${this.alignItems}`;return this.addCss(t),this}toggleGroupExpand(e,t){if(this.eTitleBar?.isSuppressCollapse()&&!this.useToggle)e=!0,t=!0;else if(e=e??!this.expanded,this.expanded===e)return this;return this.expanded=e,this.refreshChildDisplay(),G(this.eContainer,e),t||this.dispatchLocalEvent({type:e?"expanded":"collapsed"}),this}addItems(e){for(const t of e)this.addItem(t)}prependItem(e){this.insertItem(e,!0)}addItem(e){this.insertItem(e,!1)}updateItems(e){const t=this.items;let a=0;for(let n=0;ne(t.enabled)}),this}onExpandedChange(e){return this.addManagedListeners(this,{expanded:()=>e(!0),collapsed:()=>e(!1)}),this}hideEnabledCheckbox(e){return this.suppressEnabledCheckbox=e,this.refreshChildDisplay(),this.refreshDisabledStyles(),this}hideOpenCloseIcons(e){return this.eTitleBar?.hideOpenCloseIcons(e),this}refreshDisabledStyles(){const e=!this.enabled;this.eContainer.classList.toggle("ag-disabled",e),this.eTitleBar?.refreshDisabledStyles(this.suppressEnabledCheckbox&&e),this.eContainer.classList.toggle("ag-disabled-group-container",e)}setupTitleBar(){const e=this.useToggle?this.createToggleTitleBar():this.createDefaultTitleBar();this.eToolbar.insertAdjacentElement("beforebegin",e.getGui())}createDefaultTitleBar(){const e=this.createManagedBean(new mN(this.params));return this.eTitleBar=e,e.refreshOnExpand(this.expanded),this.addManagedListeners(e,{expandedChanged:t=>this.toggleGroupExpand(t.expanded)}),e}createToggleTitleBar(){const e=this.createManagedBean(new Vr({value:this.enabled,label:this.params.title,labelAlignment:"left",labelWidth:"flex",onValueChange:t=>{this.setEnabled(t,!0),this.dispatchEnableChangeEvent(t)}}));return e.addCss("ag-group-title-bar"),e.addCss(`ag-${this.params.cssIdentifier??"default"}-group-title-bar ag-unselectable`),this.eToggle=e,this.toggleGroupExpand(this.enabled),e}},fp="ag-disabled-group-title-bar";function fN(e){const t=e.cssIdentifier??"default";return{tag:"div",cls:`ag-group-title-bar ag-${t}-group-title-bar ag-unselectable`,role:e.suppressKeyboardNavigation?"presentation":"group",children:[{tag:"span",ref:"eGroupOpenedIcon",cls:`ag-group-title-bar-icon ag-${t}-group-title-bar-icon`,role:"presentation"},{tag:"span",ref:"eGroupClosedIcon",cls:`ag-group-title-bar-icon ag-${t}-group-title-bar-icon`,role:"presentation"},{tag:"span",ref:"eTitle",cls:`ag-group-title ag-${t}-group-title`}]}}var mN=class extends Mt{constructor(e={}){super(fN(e)),this.suppressOpenCloseIcons=!1,this.suppressKeyboardNavigation=!1,this.eGroupOpenedIcon=x,this.eGroupClosedIcon=x,this.eTitle=x;const{title:t,suppressOpenCloseIcons:a,suppressKeyboardNavigation:n}=e;t&&t.length>0&&(this.title=t),a!=null&&(this.suppressOpenCloseIcons=a),this.suppressKeyboardNavigation=n??!1}postConstruct(){this.setTitle(this.title),this.hideOpenCloseIcons(this.suppressOpenCloseIcons),this.setupExpandContract()}setupExpandContract(){const e=this.beans.iconSvc;this.eGroupClosedIcon.appendChild(e.createIconNoSpan("accordionClosed")),this.eGroupOpenedIcon.appendChild(e.createIconNoSpan("accordionOpen")),this.addManagedElementListeners(this.getGui(),{click:()=>this.dispatchExpandChanged(),keydown:t=>{switch(t.key){case w.ENTER:case w.SPACE:t.preventDefault(),this.dispatchExpandChanged();break;case w.RIGHT:case w.LEFT:t.preventDefault(),this.dispatchExpandChanged(t.key===w.RIGHT);break}}})}refreshOnExpand(e){this.refreshAriaStatus(e),this.refreshOpenCloseIcons(e)}refreshAriaStatus(e){this.suppressOpenCloseIcons||ot(this.getGui(),e)}refreshOpenCloseIcons(e){const t=!this.suppressOpenCloseIcons;G(this.eGroupOpenedIcon,t&&e),G(this.eGroupClosedIcon,t&&!e)}isSuppressCollapse(){return this.suppressOpenCloseIcons}dispatchExpandChanged(e){const t={type:"expandedChanged",expanded:e};this.dispatchLocalEvent(t)}setTitle(e){const t=this.getGui(),a=!!e&&e.length>0;e=a?e:void 0,this.eTitle.textContent=e??"",G(t,a),e!==this.title&&(this.title=e);const n=t.classList.contains(fp);return this.refreshDisabledStyles(n),this}addWidget(e){return this.getGui().appendChild(e),this}hideOpenCloseIcons(e){return this.suppressOpenCloseIcons=e,e&&this.dispatchExpandChanged(!0),this}refreshDisabledStyles(e){const t=this.getGui();e?(t.classList.add(fp),t.removeAttribute("tabindex"),De(t,"presentation")):(t.classList.remove(fp),typeof this.title=="string"&&!this.suppressKeyboardNavigation?(this.activateTabIndex([t]),De(t,"group")):(t.removeAttribute("tabindex"),De(t,"presentation")))}},ye={selector:"AG-GROUP-COMPONENT",component:Ya},Q="35.2.1",le={moduleName:"EnterpriseCore",version:Q,beans:[ep],icons:{accordionOpen:"tree-open",accordionClosed:"tree-closed",accordionIndeterminate:"tree-indeterminate",close:"cross",cancel:"cancel",maximize:"maximize",minimize:"minimize",columnDrag:"grip"},dependsOn:[],setLicenseKey:ep.setLicenseKey},vN='.ag-advanced-filter-header{align-items:center;background-color:var(--ag-header-background-color);border-bottom:var(--ag-header-row-border);display:flex;position:relative}.ag-advanced-filter{align-items:center;display:flex;width:100%}.ag-advanced-filter-buttons{display:contents}.ag-advanced-filter-header-cell{height:100%;padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding)}.ag-advanced-filter-apply-button,.ag-advanced-filter-builder-button{align-items:center;background-color:unset;border:0;display:flex;font-size:var(--ag-font-size);font-weight:600;line-height:normal;padding:var(--ag-spacing);white-space:nowrap;&:where(.ag-standard-button):where(:not(:disabled)){cursor:pointer;&:where(.ag-standard-button):hover{background-color:var(--ag-row-hover-color)}}}:where(.ag-ltr) .ag-advanced-filter-apply-button,:where(.ag-ltr) .ag-advanced-filter-builder-button{margin-left:calc(var(--ag-spacing)*2)}:where(.ag-rtl) .ag-advanced-filter-apply-button,:where(.ag-rtl) .ag-advanced-filter-builder-button{margin-right:calc(var(--ag-spacing)*2)}:where(.ag-ltr) .ag-advanced-filter-builder-button-label{margin-left:var(--ag-spacing)}:where(.ag-rtl) .ag-advanced-filter-builder-button-label{margin-right:var(--ag-spacing)}.ag-advanced-filter-builder{display:flex;flex-direction:column;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.ag-advanced-filter-builder-list{flex:1;overflow:auto}.ag-advanced-filter-builder-button-panel{border-top:var(--ag-advanced-filter-builder-button-bar-border);display:flex;justify-content:flex-end;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}:where(.ag-ltr) .ag-advanced-filter-builder-apply-button,:where(.ag-ltr) .ag-advanced-filter-builder-cancel-button{margin-left:calc(var(--ag-spacing)*2)}:where(.ag-rtl) .ag-advanced-filter-builder-apply-button,:where(.ag-rtl) .ag-advanced-filter-builder-cancel-button{margin-right:calc(var(--ag-spacing)*2)}.ag-advanced-filter-builder-item-wrapper{align-items:center;display:flex;flex:1 1 auto;justify-content:space-between;overflow:hidden}:where(.ag-ltr) .ag-advanced-filter-builder-item-wrapper{padding-left:calc(var(--ag-icon-size)/2);padding-right:var(--ag-icon-size)}:where(.ag-rtl) .ag-advanced-filter-builder-item-wrapper{padding-left:var(--ag-icon-size);padding-right:calc(var(--ag-icon-size)/2)}:where(.ag-virtual-list-viewport) .ag-advanced-filter-builder-item-wrapper .ag-tab-guard{position:absolute}.ag-advanced-filter-builder-item-tree-line{width:var(--ag-advanced-filter-builder-indent-size)}.ag-advanced-filter-builder-item-tree-line-root{width:var(--ag-icon-size)}.ag-advanced-filter-builder-item-tree-line-root:before{height:50%;top:50%}.ag-advanced-filter-builder-item-tree-line-horizontal,.ag-advanced-filter-builder-item-tree-line-vertical,.ag-advanced-filter-builder-item-tree-line-vertical-bottom,.ag-advanced-filter-builder-item-tree-line-vertical-top{align-items:center;display:flex;height:100%;position:relative}.ag-advanced-filter-builder-item-tree-line-horizontal:after,.ag-advanced-filter-builder-item-tree-line-horizontal:before,.ag-advanced-filter-builder-item-tree-line-vertical-bottom:after,.ag-advanced-filter-builder-item-tree-line-vertical-bottom:before,.ag-advanced-filter-builder-item-tree-line-vertical-top:after,.ag-advanced-filter-builder-item-tree-line-vertical-top:before,.ag-advanced-filter-builder-item-tree-line-vertical:after,.ag-advanced-filter-builder-item-tree-line-vertical:before{content:"";height:100%;position:absolute}.ag-advanced-filter-builder-item-tree-line-horizontal:after{border-bottom:var(--ag-border-width) solid var(--ag-border-color);height:50%;top:0;width:calc(var(--ag-advanced-filter-builder-indent-size) - var(--ag-icon-size))}:where(.ag-ltr) .ag-advanced-filter-builder-item-tree-line-horizontal:after{left:calc(var(--ag-icon-size)/2)}:where(.ag-rtl) .ag-advanced-filter-builder-item-tree-line-horizontal:after{right:calc(var(--ag-icon-size)/2)}.ag-advanced-filter-builder-item-tree-line-vertical:before{top:0;width:calc(var(--ag-advanced-filter-builder-indent-size) - var(--ag-icon-size)/2)}:where(.ag-ltr) .ag-advanced-filter-builder-item-tree-line-vertical:before{border-left:var(--ag-border-width) solid var(--ag-border-color);left:calc(var(--ag-icon-size)/2)}:where(.ag-rtl) .ag-advanced-filter-builder-item-tree-line-vertical:before{border-right:var(--ag-border-width) solid var(--ag-border-color);right:calc(var(--ag-icon-size)/2)}.ag-advanced-filter-builder-item-tree-line-vertical-top:before{height:50%;top:0;width:calc(var(--ag-advanced-filter-builder-indent-size) - var(--ag-icon-size)/2)}:where(.ag-ltr) .ag-advanced-filter-builder-item-tree-line-vertical-top:before{border-left:var(--ag-border-width) solid var(--ag-border-color);left:calc(var(--ag-icon-size)/2)}:where(.ag-rtl) .ag-advanced-filter-builder-item-tree-line-vertical-top:before{border-right:var(--ag-border-width) solid var(--ag-border-color);right:calc(var(--ag-icon-size)/2)}.ag-advanced-filter-builder-item-tree-line-vertical-bottom:before{height:calc(50% - var(--ag-icon-size)*1.5/2);top:calc(50% + var(--ag-icon-size)*1.5/2);width:calc(var(--ag-icon-size)/2)}:where(.ag-ltr) .ag-advanced-filter-builder-item-tree-line-vertical-bottom:before{border-left:var(--ag-border-width) solid var(--ag-border-color);left:calc(var(--ag-icon-size)/2)}:where(.ag-rtl) .ag-advanced-filter-builder-item-tree-line-vertical-bottom:before{border-right:var(--ag-border-width) solid var(--ag-border-color);right:calc(var(--ag-icon-size)/2)}.ag-advanced-filter-builder-item-condition{padding-bottom:var(--ag-spacing);padding-top:var(--ag-spacing)}.ag-advanced-filter-builder-item,.ag-advanced-filter-builder-item-buttons,.ag-advanced-filter-builder-item-condition,.ag-advanced-filter-builder-item-tree-lines,.ag-advanced-filter-builder-pill,.ag-advanced-filter-builder-pill-wrapper{align-items:center;display:flex;height:100%}.ag-advanced-filter-builder-pill-wrapper{margin:0 var(--ag-spacing)}.ag-advanced-filter-builder-pill{border-radius:var(--ag-border-radius);min-height:calc(100% - var(--ag-spacing)*3);min-width:calc(var(--ag-spacing)*2);padding:var(--ag-spacing) calc(var(--ag-spacing)*2);position:relative}:where(.ag-advanced-filter-builder-pill){.ag-advanced-filter-builder-value-number{font-family:monospace;font-weight:700}.ag-advanced-filter-builder-value-empty{color:var(--ag-subtle-text-color)}}:where(.ag-ltr) :where(.ag-advanced-filter-builder-pill){.ag-picker-field-display{margin-right:var(--ag-spacing)}}:where(.ag-rtl) :where(.ag-advanced-filter-builder-pill){.ag-picker-field-display{margin-left:var(--ag-spacing)}}.ag-advanced-filter-builder-pill-display{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-advanced-filter-builder-join-pill{background-color:var(--ag-advanced-filter-builder-join-pill-color);cursor:pointer}.ag-advanced-filter-builder-column-pill{background-color:var(--ag-advanced-filter-builder-column-pill-color);cursor:pointer}.ag-advanced-filter-builder-option-pill{background-color:var(--ag-advanced-filter-builder-option-pill-color);cursor:pointer}.ag-advanced-filter-builder-value-pill{background-color:var(--ag-advanced-filter-builder-value-pill-color);cursor:text;max-width:140px;:where(.ag-advanced-filter-builder-pill-display){display:block}}.ag-advanced-filter-builder-item-buttons{display:flex;gap:var(--ag-spacing);padding:0 calc(var(--ag-spacing)*.5)}.ag-advanced-filter-builder-item-button{color:var(--ag-subtle-text-color);cursor:pointer;position:relative}.ag-advanced-filter-builder-item-button,.ag-advanced-filter-builder-pill{&:focus-visible{box-shadow:var(--ag-focus-shadow)}}.ag-advanced-filter-builder-item-button-disabled{cursor:default;opacity:.5}.ag-advanced-filter-builder-virtual-list-container{top:var(--ag-spacing)}.ag-advanced-filter-builder-virtual-list-item{cursor:default;display:flex;height:var(--ag-list-item-height)}.ag-advanced-filter-builder-virtual-list-item:hover{background-color:var(--ag-row-hover-color);:where(.ag-advanced-filter-builder-item-button){opacity:1}}.ag-advanced-filter-builder-invalid{color:var(--ag-subtle-text-color);cursor:default;margin:0 var(--ag-spacing)}:where(.ag-advanced-filter-builder-validation) .ag-advanced-filter-builder-invalid{color:var(--ag-invalid-color)}:where(.ag-advanced-filter-builder-virtual-list-item-highlight) .ag-advanced-filter-builder-item-button:focus-visible{opacity:1}';function CN(e){return e.filterManager?.getAdvFilterModel()??null}function bN(e,t){e.filterManager?.setAdvFilterModel(t)}function wN(e){e.filterManager?.toggleAdvFilterBuilder(!0,"api")}function yN(e){e.filterManager?.toggleAdvFilterBuilder(!1,"api")}var SN={ariaAdvancedFilterBuilderItem:e=>`${e[0]}. Level ${e[1]}. Press ENTER to edit`,ariaAdvancedFilterBuilderItemValidation:e=>`${e[0]}. Level ${e[1]}. ${e[2]} Press ENTER to edit`,ariaAdvancedFilterBuilderList:"Advanced Filter Builder List",ariaAdvancedFilterBuilderFilterItem:"Filter Condition",ariaAdvancedFilterBuilderGroupItem:"Filter Group",ariaAdvancedFilterBuilderColumn:"Column",ariaAdvancedFilterBuilderOption:"Option",ariaAdvancedFilterBuilderValue:"Value",ariaAdvancedFilterBuilderJoinOperator:"Join Operator",ariaAdvancedFilterInput:"Advanced Filter Input",ariaLabelAdvancedFilterAutocomplete:"Advanced Filter Autocomplete",advancedFilterContains:"contains",advancedFilterNotContains:"does not contain",advancedFilterTextEquals:"equals",advancedFilterTextNotEqual:"does not equal",advancedFilterStartsWith:"begins with",advancedFilterEndsWith:"ends with",advancedFilterBlank:"is blank",advancedFilterNotBlank:"is not blank",advancedFilterEquals:"=",advancedFilterNotEqual:"!=",advancedFilterGreaterThan:">",advancedFilterGreaterThanOrEqual:">=",advancedFilterLessThan:"<",advancedFilterLessThanOrEqual:"<=",advancedFilterTrue:"is true",advancedFilterFalse:"is false",advancedFilterAnd:"AND",advancedFilterOr:"OR",advancedFilterApply:"Apply",advancedFilterReset:"Reset",advancedFilterCancel:"Cancel",advancedFilterClear:"Clear",advancedFilterBuilder:"Builder",advancedFilterValidationMissingColumn:"Column is missing",advancedFilterValidationMissingOption:"Option is missing",advancedFilterValidationMissingValue:"Value is missing",advancedFilterValidationInvalidColumn:"Column not found",advancedFilterValidationInvalidOption:"Option not found",advancedFilterValidationMissingQuote:"Value is missing an end quote",advancedFilterValidationNotANumber:"Value is not a number",advancedFilterValidationNotABigInt:"Value is not a big integer",advancedFilterValidationInvalidDate:"Value is not a valid date",advancedFilterValidationMissingCondition:"Condition is missing",advancedFilterValidationJoinOperatorMismatch:"Join operators within a condition must be the same",advancedFilterValidationInvalidJoinOperator:"Join operator not found",advancedFilterValidationMissingEndBracket:"Missing end bracket",advancedFilterValidationExtraEndBracket:"Too many end brackets",advancedFilterValidationMessage:e=>`Expression has an error. ${e[0]} - ${e[1]}.`,advancedFilterValidationMessageAtEnd:e=>`Expression has an error. ${e[0]} at end of expression.`,advancedFilterBuilderTitle:"Advanced Filter",advancedFilterBuilderApply:"Apply",advancedFilterBuilderCancel:"Cancel",advancedFilterBuilderClear:"Clear",advancedFilterBuilderReset:"Reset",advancedFilterBuilderAddButtonTooltip:"Add Filter or Group",advancedFilterBuilderRemoveButtonTooltip:"Remove",advancedFilterBuilderMoveUpButtonTooltip:"Move Up",advancedFilterBuilderMoveDownButtonTooltip:"Move Down",advancedFilterBuilderAddJoin:"Add Group",advancedFilterBuilderAddCondition:"Add Filter",advancedFilterBuilderSelectColumn:"Select a column",advancedFilterBuilderSelectOption:"Select an option",advancedFilterBuilderEnterValue:"Enter a value...",advancedFilterBuilderValidationAlreadyApplied:"Current filter already applied.",advancedFilterBuilderValidationIncomplete:"Not all conditions are complete.",advancedFilterBuilderValidationSelectColumn:"Must select a column.",advancedFilterBuilderValidationSelectOption:"Must select an option.",advancedFilterBuilderValidationEnterValue:"Must enter a value."};function mp(e,t,a){if(!e)return"";const n=a-t;return n?e.slice(0,e.length-n):e}function Xn(e,t,a,n,r,o,i){const s=a+(!e.length||i?0:1);let l=0;return r&&(e[s]===" "?l=1:(n+=" ",o&&(n+='"'))),{updatedValue:e.slice(0,t)+n+e.slice(s),updatedPosition:t+n.length+l}}function xN(e,t,a){let n=t;for(;n{(this.quotes||isNaN(this.modelValue))&&(this.valid=!1,this.validationMessage=this.params.advFilterExpSvc.translate("advancedFilterValidationNotANumber"))},bigint:()=>{(this.quotes||et(this.modelValue)===null)&&(this.valid=!1,this.validationMessage=this.params.advFilterExpSvc.translate("advancedFilterValidationNotABigInt"))},date:r=>{r==null&&(this.valid=!1,this.validationMessage=this.params.advFilterExpSvc.translate("advancedFilterValidationInvalidDate"))},dateString:(...r)=>this.filterValidationSetters.date(...r),dateTime:(...r)=>this.filterValidationSetters.date(...r),dateTimeString:(...r)=>this.filterValidationSetters.date(...r),boolean(){},object(){},text(){}}}parse(e,t){if(e===" ")if(this.quotes)this.operand+=e;else return this.parseOperand(!1,t),!0;else if(e===")"){if(this.baseCellDataType==="number"||!this.quotes)return this.parseOperand(!1,t-1),!0;this.operand+=e}else if(!this.operand&&!this.quotes&&(e==="'"||e==='"'))this.quotes=e;else{if(this.quotes&&e===this.quotes)return this.parseOperand(!1,t),!1;this.operand+=e}}complete(e){this.parseOperand(!0,e)}getValidationError(){return this.validationMessage?{message:this.validationMessage,startPosition:this.startPosition,endPosition:this.endPosition??this.params.expression.length-1}:null}getRawValue(){return this.operand}getModelValue(){return this.modelValue}parseOperand(e,t){const{advFilterExpSvc:a}=this.params;if(this.endPosition=t,this.modelValue=this.operand,e&&this.quotes)this.valid=!1,this.validationMessage=a.translate("advancedFilterValidationMissingQuote");else if(this.modelValue==="")this.valid=!1,this.validationMessage=a.translate("advancedFilterValidationMissingValue");else{const n=a.getOperandModelValue(this.operand,this.baseCellDataType,this.column);n!=null&&(this.modelValue=n),this.filterValidationSetters[this.baseCellDataType](n)}}},bp="[",wp="]",MN=class{constructor(e,t){this.params=e,this.startPosition=t,this.isAwaiting=!0,this.operandValueGetters={number:Number,bigint:a=>et(a),date:a=>this.params.valueSvc.parseValue(this.columnParser.column,null,a,void 0),dateString:a=>this.operandValueGetters.date(a),dateTime:a=>this.operandValueGetters.date(a),dateTimeString:a=>this.operandValueGetters.date(a),boolean:a=>a,object:a=>a,text:a=>a}}parseExpression(){let e=this.startPosition;const{expression:t}=this.params;for(;e(o,i,s)=>s.operators[a].evaluator(o.getValue(n,i),i,s.evaluatorParams[r],t==null?void 0:s.operands[t]))}getAutocompleteListParams(e){if(this.isColumnPosition(e))return this.getColumnAutocompleteListParams(e);if(this.isOperatorPosition(e))return this.getOperatorAutocompleteListParams(e);if(!this.isBeyondEndPosition(e))return{enabled:!1}}updateExpression(e,t,a){const{expression:n}=this.params;if(this.isColumnPosition(e))return Xn(this.params.expression,this.startPosition,this.columnParser?.getColId()?this.columnParser.endPosition:vp(n,e).endPosition,this.params.advFilterExpSvc.getColumnValue(t),!0);if(this.isOperatorPosition(e)){const r=this.getBaseCellDataTypeFromOperatorAutocompleteType(a),o=this.hasOperand(r,t.key),i=o&&this.doesOperandNeedQuotes(r);let s;if(this.operatorParser?.startPosition!=null&ðis.endPosition+1&&this.endPosition+10,r=this.columnParser?.hasEndChar&&a.length===t.length+2;return n?a.slice(1,r?-1:void 0):a}getOperatorAutocompleteListParams(e){const t=this.columnParser?.column;if(!t)return{enabled:!1};const a=this.columnParser.baseCellDataType,n=this.operatorParser?.startPosition!=null&&e0}doesOperandNeedQuotes(e){return e!=="number"&&e!=="bigint"}addToListAndGetIndex(e,t){const a=e.length;return e.push(t),a}};function Qc(e,t,a){let n=!1;const r=e.toLocaleLowerCase(),o=r+" ",i=Object.keys(t).find(s=>{const l=t[s],c=a(l).toLocaleLowerCase();return c.startsWith(o)&&(n=!0),c===r});return i||(n?null:void 0)}function yp(e,t){return(t??Object.keys(e)).map(n=>({key:n,displayValue:e[n].displayValue}))}var P0=class{constructor(e){this.params=e,this.initOperators()}getEntries(e){return yp(this.operators,e)}findOperator(e){return Qc(e,this.operators,({displayValue:t})=>t)}initOperators(){const{translate:e}=this.params;this.operators={contains:{displayValue:e("advancedFilterContains"),evaluator:(t,a,n,r)=>this.evaluateExpression(t,a,n,r,!1,(o,i)=>o.includes(i)),numOperands:1},notContains:{displayValue:e("advancedFilterNotContains"),evaluator:(t,a,n,r)=>this.evaluateExpression(t,a,n,r,!0,(o,i)=>!o.includes(i)),numOperands:1},equals:{displayValue:e("advancedFilterTextEquals"),evaluator:(t,a,n,r)=>this.evaluateExpression(t,a,n,r,!1,(o,i)=>o===i),numOperands:1},notEqual:{displayValue:e("advancedFilterTextNotEqual"),evaluator:(t,a,n,r)=>this.evaluateExpression(t,a,n,r,!0,(o,i)=>o!=i),numOperands:1},startsWith:{displayValue:e("advancedFilterStartsWith"),evaluator:(t,a,n,r)=>this.evaluateExpression(t,a,n,r,!1,(o,i)=>o.startsWith(i)),numOperands:1},endsWith:{displayValue:e("advancedFilterEndsWith"),evaluator:(t,a,n,r)=>this.evaluateExpression(t,a,n,r,!1,(o,i)=>o.endsWith(i)),numOperands:1},blank:{displayValue:e("advancedFilterBlank"),evaluator:t=>t==null||typeof t=="string"&&t.trim().length===0,numOperands:0},notBlank:{displayValue:e("advancedFilterNotBlank"),evaluator:t=>t!=null&&(typeof t!="string"||t.trim().length>0),numOperands:0}}}evaluateExpression(e,t,a,n,r,o){return e==null?r:a.caseSensitive?o(a.valueConverter(e,t),n):o(a.valueConverter(e,t).toLocaleLowerCase(),n.toLocaleLowerCase())}},Go=class{constructor(e){this.params=e,this.initOperators()}getEntries(e){return yp(this.operators,e)}findOperator(e){return Qc(e,this.operators,({displayValue:t})=>t)}initOperators(){const{translate:e,equals:t}=this.params;this.operators={equals:{displayValue:e("advancedFilterEquals"),evaluator:(a,n,r,o)=>this.evaluateSingleOperandExpression(a,n,r,o,!!r.includeBlanksInEquals,t),numOperands:1},notEqual:{displayValue:e("advancedFilterNotEqual"),evaluator:(a,n,r,o)=>this.evaluateSingleOperandExpression(a,n,r,o,!!r.includeBlanksInEquals,(i,s)=>!t(i,s)),numOperands:1},greaterThan:{displayValue:e("advancedFilterGreaterThan"),evaluator:(a,n,r,o)=>this.evaluateSingleOperandExpression(a,n,r,o,!!r.includeBlanksInGreaterThan,(i,s)=>i>s),numOperands:1},greaterThanOrEqual:{displayValue:e("advancedFilterGreaterThanOrEqual"),evaluator:(a,n,r,o)=>this.evaluateSingleOperandExpression(a,n,r,o,!!r.includeBlanksInGreaterThan,(i,s)=>i>=s),numOperands:1},lessThan:{displayValue:e("advancedFilterLessThan"),evaluator:(a,n,r,o)=>this.evaluateSingleOperandExpression(a,n,r,o,!!r.includeBlanksInLessThan,(i,s)=>ithis.evaluateSingleOperandExpression(a,n,r,o,!!r.includeBlanksInLessThan,(i,s)=>i<=s),numOperands:1},blank:{displayValue:e("advancedFilterBlank"),evaluator:a=>a==null,numOperands:0},notBlank:{displayValue:e("advancedFilterNotBlank"),evaluator:a=>a!=null,numOperands:0}}}evaluateSingleOperandExpression(e,t,a,n,r,o){return e==null?r:o(a.valueConverter(e,t),n)}},EN=class{constructor(e){this.params=e,this.initOperators()}getEntries(e){return yp(this.operators,e)}findOperator(e){return Qc(e,this.operators,({displayValue:t})=>t)}initOperators(){const{translate:e}=this.params;this.operators={true:{displayValue:e("advancedFilterTrue"),evaluator:t=>!!t,numOperands:0},false:{displayValue:e("advancedFilterFalse"),evaluator:t=>t===!1,numOperands:0},blank:{displayValue:e("advancedFilterBlank"),evaluator:t=>t==null,numOperands:0},notBlank:{displayValue:e("advancedFilterNotBlank"),evaluator:t=>t!=null,numOperands:0}}}},PN=class extends F{constructor(){super(...arguments),this.beanName="advFilterExpSvc",this.filterOperandGetters={number:e=>Ze(e.filter)??"",bigint:e=>Ze(e.filter)??"",date:e=>{const t=this.colModel.getColDefCol(e.colId);return t?this.valueSvc.formatValue(t,null,qe(Ze(e.filter)??"")):null},dateTime:e=>this.filterOperandGetters.date(e),dateString:e=>{const t=this.colModel.getColDefCol(e.colId);if(!t)return null;const{filter:a}=e,r=this.dataTypeSvc?.getDateFormatterFunction(t)?.(qe(Ze(e.filter)??"")??void 0)??a;return this.valueSvc.formatValue(t,null,r)},dateTimeString:e=>this.filterOperandGetters.dateString(e),boolean:()=>null,object:()=>null,text:()=>null},this.operandModelValueGetters={number:e=>A(e)?Number(e):null,bigint:e=>e,date:(e,t,a)=>tt(this.valueSvc.parseValue(t,null,e,void 0),!!this.dataTypeSvc?.getDateIncludesTimeFlag(a)),dateTime:(...e)=>this.operandModelValueGetters.date(...e),dateString:(e,t,a)=>{const n=this.valueSvc.parseValue(t,null,e,void 0);return this.dataTypeSvc?tt(this.dataTypeSvc.getDateParserFunction(t)(n)??null,this.dataTypeSvc.getDateIncludesTimeFlag(a)):n},dateTimeString:(...e)=>this.operandModelValueGetters.dateString(...e),boolean:e=>e,object:e=>e,text:e=>e},this.columnNameToIdMap={},this.columnAutocompleteEntries=null,this.expressionEvaluatorParams={}}wireBeans(e){this.valueSvc=e.valueSvc,this.colModel=e.colModel,this.colNames=e.colNames,this.dataTypeSvc=e.dataTypeSvc}postConstruct(){this.expressionJoinOperators=this.generateExpressionJoinOperators(),this.expressionOperators=this.generateExpressionOperators()}parseJoinOperator(e){const{type:t}=e;return this.expressionJoinOperators[t]??t}getColumnDisplayValue(e){const{colId:t}=e,n=this.getColumnAutocompleteEntries().find(({key:o})=>o===t);let r;return n?(r=n.displayValue,this.columnNameToIdMap[r.toLocaleUpperCase()]={colId:t,columnName:r}):r=t,r}getOperatorDisplayValue(e){return this.getExpressionOperator(e.filterType,e.type)?.displayValue??e.type}getOperandModelValue(e,t,a){return this.operandModelValueGetters[t](e,a,t)}getOperandDisplayValue(e,t){const{filter:a,filterType:n}=e;if(a==null)return"";let r=this.filterOperandGetters[n](e);return n!=="number"&&n!=="bigint"&&(r??(r=Ze(a)??""),t||(r=`"${r}"`)),t?r:` ${r}`}parseColumnFilterModel(e){const t=this.getColumnDisplayValue(e)??"",a=this.getOperatorDisplayValue(e)??"",n=this.getOperandDisplayValue(e);return`[${t}] ${a}${n}`}updateAutocompleteCache(e,t){if(t==="column"){const{key:a,displayValue:n}=e;this.columnNameToIdMap[e.displayValue.toLocaleUpperCase()]={colId:a,columnName:n}}}translate(e,t){let a=SN[e];return typeof a=="function"&&(a=a(t)),this.getLocaleTextFunc()(e,a,t)}generateAutocompleteListParams(e,t,a){return{enabled:!0,type:t,searchString:a,entries:e}}getColumnAutocompleteEntries(){if(this.columnAutocompleteEntries)return this.columnAutocompleteEntries;const e=this.colModel.getColDefCols()??[],t=[],a=this.gos.get("includeHiddenColumnsInAdvancedFilter");for(const n of e)n.getColDef().filter&&(a||n.isVisible()||n.isRowGroupActive())&&t.push({key:n.getColId(),displayValue:this.colNames.getDisplayNameForColumn(n,"advancedFilter")});return t.sort((n,r)=>{const o=n.displayValue??"",i=r.displayValue??"";return oo?1:0}),t}getOperatorAutocompleteEntries(e,t){const a=this.getActiveOperators(e);return this.getDataTypeExpressionOperator(t).getEntries(a)}getJoinOperatorAutocompleteEntries(){return Object.entries(this.expressionJoinOperators).map(([e,t])=>({key:e,displayValue:t}))}getDefaultAutocompleteListParams(e){return this.generateAutocompleteListParams(this.getColumnAutocompleteEntries(),"column",e)}getDataTypeExpressionOperator(e){return this.expressionOperators[e]}getExpressionOperator(e,t){return this.getDataTypeExpressionOperator(e)?.operators?.[t]}getExpressionJoinOperators(){return this.expressionJoinOperators}getColId(e){const t=e.toLocaleUpperCase(),a=this.columnNameToIdMap[t];if(a)return a;const r=this.getColumnAutocompleteEntries().find(({displayValue:o})=>o.toLocaleUpperCase()===t);if(r){const{key:o,displayValue:i}=r,s={colId:o,columnName:i};return this.columnNameToIdMap[t]=s,s}return null}getExpressionEvaluatorParams(e){let t=this.expressionEvaluatorParams[e];if(t)return t;const a=this.colModel.getColDefCol(e);if(!a)return{valueConverter:o=>o};switch(this.dataTypeSvc?.getBaseDataType(a)){case"dateTimeString":case"dateString":t={valueConverter:this.dataTypeSvc?.getDateParserFunction(a)??(o=>o)};break;case"object":a.getColDef().filterValueGetter?t={valueConverter:o=>o}:t={valueConverter:(o,i)=>this.valueSvc.formatValue(a,i,o)??(typeof o.toString=="function"?o.toString():"")};break;case"text":case void 0:t={valueConverter:o=>Ze(o)};break;default:t={valueConverter:o=>o};break}const{filterParams:r}=a.getColDef();return r&&["caseSensitive","includeBlanksInEquals","includeBlanksInLessThan","includeBlanksInGreaterThan"].forEach(o=>{const i=r[o];i&&(t[o]=i)}),this.expressionEvaluatorParams[e]=t,t}getColumnDetails(e){const t=this.colModel.getColDefCol(e)??void 0,a=(t?this.dataTypeSvc?.getBaseDataType(t):void 0)??"text";return{column:t,baseCellDataType:a}}generateExpressionOperators(){const e=(a,n)=>this.translate(a,n),t={translate:e,equals:(a,n)=>a.getTime()===n.getTime()};return{text:new P0({translate:e}),boolean:new EN({translate:e}),object:new P0({translate:e}),number:new Go({translate:e,equals:(a,n)=>a===n}),bigint:new Go({translate:e,equals:(a,n)=>a===n}),date:new Go(t),dateString:new Go(t),dateTime:new Go(t),dateTimeString:new Go(t)}}getColumnValue({displayValue:e}){return`${bp}${e}${wp}`}generateExpressionJoinOperators(){return{AND:this.translate("advancedFilterAnd"),OR:this.translate("advancedFilterOr")}}getActiveOperators(e){const t=e.getColDef().filterParams?.filterOptions;return t&&t.every(n=>typeof n=="string")?t:void 0}resetColumnCaches(){this.columnAutocompleteEntries=null,this.columnNameToIdMap={},this.expressionEvaluatorParams={}}},A0={stopPropagationCallbacks:Dn,focusNextContainer:(e,t)=>Ga(e,t),configureFocusableContainer:(e,t)=>{const a=e.ctrlsSvc.get("gridCtrl");a.addFocusableContainer(t),t.addDestroyFunc(()=>a.removeFocusableContainer(t))}},Zc=class extends up{constructor(e){super(e,A0)}getFocusableContainerName(){return"dialog"}},T0=".ag-autocomplete{align-items:center;display:flex;width:100%;>:where(.ag-text-field){flex:1 1 auto}}.ag-autocomplete-list-popup{background-color:var(--ag-background-color);border-radius:var(--ag-border-radius);box-shadow:var(--ag-dropdown-shadow);padding:0;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ag-autocomplete-list{height:calc(var(--ag-row-height)*6.5);min-width:200px;position:relative;width:100%}.ag-autocomplete-virtual-list-item{cursor:default;display:flex;height:var(--ag-list-item-height);&:focus-visible:after{content:none}}.ag-autocomplete-virtual-list-item:hover{background-color:var(--ag-row-hover-color)}.ag-autocomplete-row{align-items:center;display:flex;flex:1 1 auto;overflow:hidden}.ag-autocomplete-row-label{margin:0 var(--ag-widget-container-horizontal-padding);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-autocomplete-row-selected{background-color:var(--ag-selected-row-background-color)}",Vo=class extends y0{constructor(e){super(Dn,e)}},AN={tag:"div",cls:"ag-autocomplete-row",role:"presentation",children:[{tag:"div",cls:"ag-autocomplete-row-label"}]},TN=class extends T{constructor(){super(AN),this.hasHighlighting=!1}setState(e,t){this.value=e,this.render(),this.updateSelected(t)}updateSelected(e){this.toggleCss("ag-autocomplete-row-selected",e)}setSearchString(e){let t=!1;const{value:a}=this;if(a&&A(e)){const n=a.toLocaleLowerCase().indexOf(e.toLocaleLowerCase());if(n>=0){t=!0,this.hasHighlighting=!0;const r=n+e.length,o=this.getGui().lastElementChild;ee(o),o.append(a.slice(0,n),re({tag:"b",children:a.slice(n,r)}),a.slice(r))}}!t&&this.hasHighlighting&&(this.hasHighlighting=!1,this.render())}render(){this.getGui().lastElementChild.textContent=this.value??"\xA0"}},DN={tag:"div",cls:"ag-autocomplete-list-popup",children:[{tag:"div",ref:"eList",cls:"ag-autocomplete-list"}]},D0=class extends Di{constructor(e){super(DN),this.params=e,this.eList=x,this.searchString="",this.lastAutoListHeight=null}postConstruct(){this.autocompleteEntries=this.params.autocompleteEntries,this.virtualList=this.createManagedBean(new Vo({cssIdentifier:"autocomplete"})),this.virtualList.setComponentCreator(this.createRowComponent.bind(this)),this.eList.appendChild(this.virtualList.getGui()),this.virtualList.setModel({getRowCount:()=>this.autocompleteEntries.length,getRow:t=>this.autocompleteEntries[t]});const e=this.virtualList.getGui();this.addManagedListeners(e,{click:()=>this.params.onConfirmed(),mousemove:this.onMouseMove.bind(this),mousedown:t=>t.preventDefault()}),this.setSelectedValue(0),this.updateListHeight()}onNavigationKeyDown(e,t){e.preventDefault();const a=this.autocompleteEntries.indexOf(this.selectedValue),n=t===w.UP?a-1:a+1;this.checkSetSelectedValue(n)}setSearch(e){this.searchString=e,A(e)?this.runSearch():(this.autocompleteEntries=this.params.autocompleteEntries,this.virtualList.refresh(),this.checkSetSelectedValue(0),this.updateListHeight()),this.updateSearchInList()}runContainsSearch(e,t){let a,n=!1;const r=e.toLocaleLowerCase(),o=t.filter(i=>{const l=i.toLocaleLowerCase().indexOf(r),c=l===0,d=l>=0;return d&&(!a||!n&&c||n===c&&i.lengtho.toLocaleLowerCase().startsWith(a));return{topMatch:n[0],allMatches:n}}runSearch(){const{autocompleteEntries:e,useFuzzySearch:t,useStartsWithSearch:a,forceLastSelection:n}=this.params,r=e.map(c=>c.displayValue??c.key);let o,i;if(t)o=Ro({inputValue:this.searchString,allSuggestions:r,hideIrrelevant:!0}).values,i=o.length?o[0]:void 0;else{const c=a?this.runStartsWithSearch(this.searchString,r):this.runContainsSearch(this.searchString,r);o=c.allMatches,i=c.topMatch}let s=e.filter(({key:c,displayValue:d})=>o.includes(d??c));if(!s.length&&this.selectedValue&&n?.(this.selectedValue,this.searchString)&&(s=[this.selectedValue]),this.autocompleteEntries=s,this.virtualList.refresh(),this.updateListHeight(),!i)return;const l=o.indexOf(i);this.checkSetSelectedValue(l)}updateSearchInList(){this.virtualList.forEachRenderedRow(e=>e.setSearchString(this.searchString))}updateListHeight(){if(!this.params.autoSizeList)return;const e=this.autocompleteEntries.length,t=this.virtualList.getRowHeight(),a=this.params.maxVisibleItems??e;let r=Math.min(e,a)*t;e===0&&(r=t),this.lastAutoListHeight!==r&&(this.lastAutoListHeight=r,this.eList.style.height=`${r}px`,Be(this.eList)&&this.params.onListHeightChanged?.())}checkSetSelectedValue(e){e>=0&&e{a.updateSelected(e===n)}))}createRowComponent(e){const t=new TN;return this.createBean(t),t.setState(e.displayValue??e.key,e===this.selectedValue),t}onMouseMove(e){const t=this.virtualList,a=t.getGui().getBoundingClientRect(),n=t.getScrollTop(),r=e.clientY-a.top+n,o=Math.floor(r/t.getRowHeight());this.checkSetSelectedValue(o)}afterGuiAttached(){this.virtualList.refresh(),this.updateListHeight()}getSelectedValue(){return this.autocompleteEntries.length?this.selectedValue??null:null}},IN={tag:"div",cls:"ag-autocomplete",role:"presentation",children:[{tag:"ag-input-text-field",ref:"eAutocompleteInput"}]},LN=class extends T{constructor(){super(IN,[Gt]),this.eAutocompleteInput=x,this.isListOpen=!1,this.lastPosition=0,this.valid=!0,this.registerCSS(T0)}wireBeans(e){this.popupSvc=e.popupSvc}postConstruct(){this.eAutocompleteInput.onValueChange(e=>this.onValueChanged(e)),this.eAutocompleteInput.getInputElement().setAttribute("autocomplete","off"),this.addGuiEventListener("keydown",this.onKeyDown.bind(this)),this.addGuiEventListener("click",this.updatePositionAndList.bind(this)),this.addDestroyFunc(()=>{this.destroyBean(this.autocompleteList)}),this.addGuiEventListener("focusout",()=>this.onFocusOut())}onValueChanged(e){const t=Te(e);this.updateValue(t),this.updateAutocompleteList(t)}updateValue(e){this.updateLastPosition(),this.dispatchLocalEvent({type:"eventValueChanged",value:e}),this.validate(e)}updateAutocompleteList(e){const t=this.listGenerator?.(e,this.lastPosition)??{enabled:!1};(!t.type||t.type!==this.autocompleteListParams?.type)&&this.isListOpen&&this.closeList();const a=this.isListOpen;if(this.autocompleteListParams=t,t?.enabled){a||this.openList();const{searchString:n}=t;this.autocompleteList.setSearch(n??"")}else a&&this.closeList()}onKeyDown(e){const t=e.key;switch(this.updateLastPosition(),t){case w.ENTER:this.onEnterKeyDown(e);break;case w.TAB:this.onTabKeyDown(e);break;case w.DOWN:case w.UP:this.onUpDownKeyDown(e,t);break;case w.LEFT:case w.RIGHT:case w.PAGE_HOME:case w.PAGE_END:setTimeout(()=>{this.updatePositionAndList()});break;case w.ESCAPE:this.onEscapeKeyDown(e);break;case w.SPACE:e.ctrlKey&&!this.isListOpen&&(e.preventDefault(),this.forceOpenList());break}}confirmSelection(){const e=this.autocompleteList?.getSelectedValue();e&&(this.closeList(),this.dispatchLocalEvent({type:"eventOptionSelected",value:this.getValue(),position:this.lastPosition,updateEntry:e,autocompleteType:this.autocompleteListParams.type}))}onTabKeyDown(e){this.isListOpen&&(e.preventDefault(),e.stopPropagation(),this.confirmSelection())}onEnterKeyDown(e){e.preventDefault(),this.isListOpen?this.confirmSelection():this.onCompleted()}onUpDownKeyDown(e,t){e.preventDefault(),this.isListOpen?this.autocompleteList?.onNavigationKeyDown(e,t):this.forceOpenList()}onEscapeKeyDown(e){this.isListOpen&&(e.preventDefault(),e.stopPropagation(),this.closeList(),this.setCaret(this.lastPosition,!0))}onFocusOut(){this.isListOpen&&this.closeList()}updatePositionAndList(){this.updateLastPosition(),this.updateAutocompleteList(this.eAutocompleteInput.getValue()??null)}setCaret(e,t){(t||ma(this.beans))&&this.eAutocompleteInput.getFocusableElement().focus();const a=this.eAutocompleteInput.getInputElement();a.setSelectionRange(e,e),e===a.value.length&&(a.scrollLeft=a.scrollWidth)}forceOpenList(){this.onValueChanged(this.eAutocompleteInput.getValue())}updateLastPosition(){this.lastPosition=this.eAutocompleteInput.getInputElement().selectionStart??0}validate(e){if(!this.validator)return;const t=this.validationMessage=this.validator(e);this.eAutocompleteInput.getInputElement().setCustomValidity(t??""),this.valid=!t,this.dispatchLocalEvent({type:"eventValidChanged",isValid:this.valid,validationMessage:t})}openList(){this.isListOpen=!0,this.autocompleteList=this.createBean(new D0({autocompleteEntries:this.autocompleteListParams.entries,onConfirmed:()=>this.confirmSelection(),forceLastSelection:this.forceLastSelection}));const e=this.autocompleteList.getGui(),t={ePopup:e,type:"autocomplete",eventSource:this.getGui(),position:"under",alignSide:this.gos.get("enableRtl")?"right":"left",keepWithinBounds:!0},a=this.popupSvc.addPopup({eChild:e,anchorToElement:this.getGui(),positionCallback:()=>this.popupSvc.positionPopupByComponent(t),ariaLabel:this.listAriaLabel});this.hidePopup=a.hideFunc,this.autocompleteList.afterGuiAttached()}closeList(){this.isListOpen=!1,this.hidePopup(),this.destroyBean(this.autocompleteList),this.autocompleteList=null}onCompleted(){this.isListOpen&&this.closeList(),this.dispatchLocalEvent({type:"eventValueConfirmed",value:this.getValue(),isValid:this.isValid()})}getValue(){return Te(this.eAutocompleteInput.getValue())}setInputPlaceholder(e){return this.eAutocompleteInput.setInputPlaceholder(e),this}setInputAriaLabel(e){return this.eAutocompleteInput.setInputAriaLabel(e),this}setListAriaLabel(e){return this.listAriaLabel=e,this}setListGenerator(e){return this.listGenerator=e,this}setValidator(e){return this.validator=e,this}isValid(){return this.valid}setValue(e){const{value:t,position:a,silent:n,updateListOnlyIfOpen:r,restoreFocus:o}=e;this.eAutocompleteInput.setValue(t,!0),this.setCaret(a??this.lastPosition,o),n||this.updateValue(t),(!r||this.isListOpen)&&this.updateAutocompleteList(t)}setForceLastSelection(e){return this.forceLastSelection=e,this}setInputDisabled(e){return this.eAutocompleteInput.setDisabled(e),this}},zN={selector:"AG-AUTOCOMPLETE",component:LN},Sp={buttons:["apply"],suppressBuilderButton:!1},I0={apply:"advancedFilterApply",clear:"advancedFilterClear",cancel:"advancedFilterCancel",reset:"advancedFilterReset"},ON={tag:"div",cls:"ag-advanced-filter",role:"presentation",attrs:{tabindex:"-1"},children:[{tag:"ag-autocomplete",ref:"eAutocomplete"},{tag:"ag-filter-button",ref:"eButtons",cls:"ag-advanced-filter-buttons"},{tag:"button",ref:"eBuilderFilterButton",cls:"ag-button ag-advanced-filter-builder-button",children:[{tag:"span",ref:"eBuilderFilterButtonIcon",attrs:{"aria-hidden":"true"}},{tag:"span",ref:"eBuilderFilterButtonLabel",cls:"ag-advanced-filter-builder-button-label"}]}]},L0=class extends T{constructor(){super(ON,[zN,oy]),this.eAutocomplete=x,this.eButtons=x,this.eBuilderFilterButton=x,this.eBuilderFilterButtonIcon=x,this.eBuilderFilterButtonLabel=x,this.expressionParser=null,this.isApplyDisabled=!0,this.builderOpen=!1}wireBeans(e){this.advFilterExpSvc=e.advFilterExpSvc,this.advancedFilter=e.advancedFilter,this.filterManager=e.filterManager,this.registry=e.registry}postConstruct(){this.tooltipFeature=this.createOptionalManagedBean(this.registry.createDynamicBean("tooltipFeature",!1,{getGui:()=>this.getGui(),getTooltipShowDelayOverride:()=>1e3,getLocation:()=>"advancedFilter"})),this.eAutocomplete.setListGenerator((a,n)=>this.generateAutocompleteListParams(n)).setValidator(()=>this.validateValue()).setForceLastSelection((a,n)=>this.forceLastSelection(a,n)).setInputAriaLabel(this.advFilterExpSvc.translate("ariaAdvancedFilterInput")).setListAriaLabel(this.advFilterExpSvc.translate("ariaLabelAdvancedFilterAutocomplete")),this.refresh(),this.addManagedListeners(this.eAutocomplete,{eventValueChanged:({value:a})=>this.onValueChanged(a),eventValueConfirmed:({isValid:a})=>this.onValueConfirmed(a),eventOptionSelected:({position:a,updateEntry:n,autocompleteType:r})=>this.onOptionSelected(a,n,r),eventValidChanged:({isValid:a,validationMessage:n})=>this.onValidChanged(a,n)});const{buttons:e,suppressBuilderButton:t}={...Sp,...this.gos.get("advancedFilterParams")};this.setupButtons(e),this.setupBuilderButton(t),this.beans.gos.addManagedPropertyListener("advancedFilterParams",a=>{const n={...Sp,...a.currentValue},r={...Sp,...a.previousValue};if(n.buttons!==r.buttons){const o=n.buttons.map(i=>({type:i,label:this.advFilterExpSvc.translate(I0[i])}));this.eButtons.updateButtons(o)}n.suppressBuilderButton!==r.suppressBuilderButton&&G(this.eBuilderFilterButton,!n.suppressBuilderButton)})}refresh(){const e=this.advancedFilter.getExpressionDisplayValue();this.eAutocomplete.setValue({value:e??"",position:e?.length,updateListOnlyIfOpen:!0})}setInputDisabled(e){this.eAutocomplete.setInputDisabled(e),this.eButtons.updateValidity(!e&&!this.isApplyDisabled&&!this.advancedFilter.isCurrentExpressionApplied())}setupButtons(e){const t=e.map(n=>({type:n,label:this.advFilterExpSvc.translate(I0[n])})),a=n=>()=>{this.updateModel(n)};this.eButtons.addManagedListeners(this.eButtons,{apply:a("apply"),clear:a("clear"),reset:a("reset"),cancel:a("cancel")}),this.eButtons.updateButtons(t)}updateModel(e){switch(e){case"apply":this.onValueConfirmed(this.eAutocomplete.isValid());break;case"reset":this.advancedFilter.setModel(null),this.filterManager?.onFilterChanged({source:"advancedFilter"});break;case"cancel":this.advancedFilter.setModel(this.advancedFilter.getModel()),this.filterManager?.onFilterChanged({source:"advancedFilter"});break;case"clear":this.eAutocomplete.setValue({value:"",restoreFocus:!0});break}}setupBuilderButton(e){this.eBuilderFilterButtonIcon.appendChild(q("advancedFilterBuilder",this.beans)),this.eBuilderFilterButtonLabel.textContent=this.advFilterExpSvc.translate("advancedFilterBuilder"),this.activateTabIndex([this.eBuilderFilterButton]),this.addManagedElementListeners(this.eBuilderFilterButton,{click:()=>this.openBuilder()}),this.addManagedListeners(this.advancedFilter.getCtrl(),{advancedFilterBuilderClosed:()=>this.closeBuilder()}),G(this.eBuilderFilterButton,!e)}onValueChanged(e){e=Te(e),this.advancedFilter.setExpressionDisplayValue(e),this.expressionParser=this.advancedFilter.createExpressionParser(e);const t=this.expressionParser?.parseExpression();t&&t!==e&&this.eAutocomplete.setValue({value:t,silent:!0,restoreFocus:!0})}onValueConfirmed(e){!e||this.isApplyDisabled||(this.eButtons?.updateValidity(!1),this.advancedFilter.applyExpression(),this.filterManager?.onFilterChanged({source:"advancedFilter"}))}onOptionSelected(e,t,a){const{updatedValue:n,updatedPosition:r,hideAutocomplete:o}=this.updateExpression(e,t,a);this.eAutocomplete.setValue({value:n,position:r,updateListOnlyIfOpen:o,restoreFocus:!0})}validateValue(){return this.expressionParser?.isValid()?null:this.expressionParser?.getValidationMessage()??null}onValidChanged(e,t){this.isApplyDisabled=!e||this.advancedFilter.isCurrentExpressionApplied(),this.eButtons.updateValidity(!this.isApplyDisabled),this.tooltipFeature?.setTooltipAndRefresh(t)}generateAutocompleteListParams(e){return this.expressionParser?this.expressionParser.getAutocompleteListParams(e):this.advFilterExpSvc.getDefaultAutocompleteListParams("")}updateExpression(e,t,a){return this.advFilterExpSvc.updateAutocompleteCache(t,a),this.expressionParser?.updateExpression(e,t,a)??this.advancedFilter.getDefaultExpression(t)}forceLastSelection({key:e,displayValue:t},a){return!!a.toLocaleLowerCase().match(`^${(t??e).toLocaleLowerCase()}\\s*$`)}openBuilder(){this.builderOpen||(this.builderOpen=!0,wn(this.eBuilderFilterButton,!0),this.advancedFilter.getCtrl().toggleFilterBuilder({source:"ui",eventSource:this.eBuilderFilterButton}))}closeBuilder(){this.builderOpen&&(this.builderOpen=!1,wn(this.eBuilderFilterButton,!1),this.eBuilderFilterButton.focus())}},GN={tag:"div",cls:"ag-advanced-filter-header",role:"row"},VN=class extends T{constructor(e){super(GN),this.enabled=e}wireBeans(e){this.colModel=e.colModel,this.focusSvc=e.focusSvc,this.ctrlsSvc=e.ctrlsSvc}postConstruct(){this.setupAdvancedFilter(this.enabled),this.addDestroyFunc(()=>this.destroyBean(this.eAdvancedFilter));const e=()=>{this.enabled&&this.setEnabledHeight()};this.addManagedEventListeners({gridColumnsChanged:()=>this.onGridColumnsChanged(),columnHeaderHeightChanged:e,stylesChanged:e}),this.addManagedPropertyListener("headerHeight",e),this.addManagedPropertyListener("floatingFiltersHeight",e),this.addGuiEventListener("keydown",t=>this.onKeyDown(t)),this.addGuiEventListener("focusout",t=>{this.getFocusableElement().contains(t.relatedTarget)||this.focusSvc.clearAdvancedFilterColumn()})}getFocusableElement(){return this.eAdvancedFilter?.getGui()??this.getGui()}setEnabled(e){e!==this.enabled&&this.setupAdvancedFilter(e)}refresh(){this.eAdvancedFilter?.refresh()}getHeight(){return this.height}setInputDisabled(e){this.eAdvancedFilter?.setInputDisabled(e)}setupAdvancedFilter(e){const t=this.getGui();if(e){this.eAdvancedFilter=this.createBean(new L0);const a=this.eAdvancedFilter.getGui();this.eAdvancedFilter.addCss("ag-advanced-filter-header-cell"),this.setEnabledHeight(),this.setAriaRowIndex(),De(a,"gridcell"),js(a,1),this.setAriaColumnCount(a),t.appendChild(a)}else ee(t),this.destroyBean(this.eAdvancedFilter),this.height=0;G(t,e),this.enabled=e}setEnabledHeight(){const e=this.getGui();this.height=Al(this.beans);const t=`${this.height}px`;e.style.height=t,e.style.minHeight=t}setAriaColumnCount(e){Bd(e,this.colModel.getCols().length)}setAriaRowIndex(){ur(this.getGui(),this.ctrlsSvc.getHeaderRowContainerCtrl()?.getRowCount()??0)}onGridColumnsChanged(){this.eAdvancedFilter&&(this.setAriaColumnCount(this.eAdvancedFilter.getGui()),this.setAriaRowIndex())}onKeyDown(e){switch(e.key){case w.ENTER:{this.hasFocus()&&ze(this.getFocusableElement())&&e.preventDefault();break}case w.ESCAPE:this.hasFocus()||this.getFocusableElement().focus();break;case w.UP:this.navigateUpDown(!0,e);break;case w.DOWN:this.navigateUpDown(!1,e);break;case w.TAB:if(this.hasFocus())this.navigateLeftRight(e);else{const t=Je(this.beans,this.getFocusableElement(),null,e.shiftKey);t?(e.preventDefault(),t.focus()):this.navigateLeftRight(e)}break}}navigateUpDown(e,t){this.hasFocus()&&this.focusSvc.focusNextFromAdvancedFilter(e)&&t.preventDefault()}navigateLeftRight(e){(e.shiftKey?this.focusSvc.focusLastHeader():this.focusSvc.focusNextFromAdvancedFilter(!1,!0))&&e.preventDefault()}hasFocus(){return ne(this.beans)===this.getFocusableElement()}},z0=class extends S0{},BN=class extends F{constructor(e,t){super(),this.comp=e,this.virtualList=t}postConstruct(){this.createManagedBean(new z0(this.comp,this.virtualList,{dragSourceType:ia.AdvancedFilterBuilder,addListeners:(e,t,a)=>{e.addManagedListeners(this,{advancedFilterBuilderDragStarted:t,advancedFilterBuilderDragEnded:a})},getCurrentDragValue:e=>this.getCurrentDragValue(e),isMoveBlocked:()=>!1,getNumRows:e=>e.getNumItems(),moveItem:(e,t)=>this.moveItem(e,t)}))}getCurrentDragValue(e){return e.item}moveItem(e,t){this.comp.moveItem(e,t)}},NN=100;function HN(e){const{host:t,source:a,useAsyncSearch:n,onMisconfiguredSearchSource:r,onFirstValuesPageLoaded:o}=e,i=new qN({host:t,source:a,onMisconfiguredSearchSource:r,onFirstValuesPageLoaded:o??(()=>{})}),s=typeof a.loadValuesPage=="function";return{controller:i,hasPagedSource:s,onSearch:n?l=>i.onSearch(l):void 0,onLoadMoreRows:s?l=>i.loadValuesPage(l??"down"):void 0}}var qN=class{constructor(e){this.ctrlParams=e,this.currentSearchRequest=0,this.currentValuesPageRequest=0,this.valuesPageLoading=!1,this.valuesPageHasMoreNext=!1,this.valuesPageHasMorePrev=!1,this.valuesPageLoadedValues=[],this.valuesPageSearch="",this.valuesPageWindowStartRow=0,this.destroyed=!1}destroy(){this.destroyed=!0,this.currentSearchRequest++,this.currentValuesPageRequest++}onSearch(e){if(this.destroyed)return;if(this.isValuesPaged()){this.resetValuesPage(e);return}const t=++this.currentSearchRequest,{host:a,source:n,onMisconfiguredSearchSource:r}=this.ctrlParams;if(a.setValueList({refresh:!0,valueList:void 0}),!e)return;if(typeof n.searchValues!="function"){r?.();return}let o;try{o=n.searchValues(e)}catch(i){ao("Rich Select",i),t===this.currentSearchRequest&&a.setValueList({refresh:!0,valueList:[]});return}if(Array.isArray(o)){r?.(),a.setValueList({refresh:!0,valueList:o});return}a.setValueList({valueList:o.then(i=>{if(t===this.currentSearchRequest)return i}).catch(i=>{if(ao("Rich Select",i),t===this.currentSearchRequest)return[]}),refresh:!0})}resetValuesPage(e){this.destroyed||(this.valuesPageSearch=e,this.valuesPageLoadedValues=[],this.valuesPageWindowStartRow=this.resolveValuesPageStartRow(e),this.valuesPageNextCursor=void 0,this.valuesPageHasMoreNext=!0,this.valuesPageHasMorePrev=this.valuesPageWindowStartRow>0,this.valuesPageLoading=!1,this.currentValuesPageRequest++,this.ctrlParams.host.setValueList({valueList:void 0,refresh:!0,isInitial:!0}),this.loadValuesPage("down"))}loadValuesPage(e){if(this.destroyed)return;const t=this.ctrlParams.source.loadValuesPage;if(typeof t!="function"||this.valuesPageLoading||e==="up"&&!this.valuesPageHasMorePrev||e==="down"&&!this.valuesPageHasMoreNext)return;const a=Math.max(this.ctrlParams.source.valuesPageSize??NN,1),n=e==="up"?Math.max(this.valuesPageWindowStartRow-a,0):this.valuesPageWindowStartRow+this.valuesPageLoadedValues.length,r=e==="up"?this.valuesPageWindowStartRow:n+a;if(n>=r){e==="up"?this.valuesPageHasMorePrev=!1:this.valuesPageHasMoreNext=!1;return}const o=this.currentValuesPageRequest,i={search:this.valuesPageSearch,startRow:n,endRow:r,cursor:e==="down"?this.valuesPageNextCursor:void 0};this.valuesPageLoading=!0,this.valuesPageLoadedValues.length===0&&this.ctrlParams.host.setIsLoading();let s;try{s=t(i)}catch(l){this.handleValuesPageError(l,o);return}Promise.resolve(s).then(l=>this.applyValuesPageResult(l,a,o,e,n,r)).catch(l=>this.handleValuesPageError(l,o))}applyValuesPageResult(e,t,a,n,r,o){if(this.destroyed||a!==this.currentValuesPageRequest)return;this.valuesPageLoading=!1;const i=this.valuesPageLoadedValues.length===0,s=e?.values??[];if(n==="up"){s.length&&(this.valuesPageLoadedValues=[...s,...this.valuesPageLoadedValues],this.valuesPageWindowStartRow=r);const l=o-r;this.valuesPageHasMorePrev=r>0&&s.length>=l}else{s.length&&(this.valuesPageLoadedValues=[...this.valuesPageLoadedValues,...s]),this.valuesPageNextCursor=e?.cursor;const l=this.valuesPageLoadedValues.length;typeof e?.lastRow=="number"?this.valuesPageHasMoreNext=this.valuesPageWindowStartRow+l=t}this.ctrlParams.host.setValueList({valueList:this.valuesPageLoadedValues,refresh:!0,isInitial:!0,scrollToCurrentValue:i,prependedRowCount:n==="up"?s.length:void 0}),i&&this.ctrlParams.onFirstValuesPageLoaded()}handleValuesPageError(e,t){ao("Rich Select",e),!(this.destroyed||t!==this.currentValuesPageRequest)&&(this.valuesPageLoading=!1,this.valuesPageHasMoreNext=!1,this.valuesPageHasMorePrev=!1,this.ctrlParams.host.setValueList({valueList:this.valuesPageLoadedValues,refresh:!0,isInitial:!0}))}resolveValuesPageStartRow(e){if(e)return 0;const t=this.ctrlParams.source.valuesPageInitialStartRow?.(e);return Math.max(Math.floor(t??0),0)}isValuesPaged(){return typeof this.ctrlParams.source.loadValuesPage=="function"}},WN={tag:"div",cls:"ag-pill",role:"option",children:[{tag:"span",ref:"eText",cls:"ag-pill-text"},{tag:"span",ref:"eButton",cls:"ag-button ag-pill-button",role:"presentation"}]},UN=class extends T{constructor(e){super(WN),this.config=e,this.eText=x,this.eButton=x}postConstruct(){const{config:e,eButton:t}=this,{onKeyDown:a,onButtonClick:n}=e;this.getGui().setAttribute("tabindex",String(this.gos.get("tabIndex"))),this.addGuiEventListener("focus",()=>{this.eButton.focus()}),a&&this.addGuiEventListener("keydown",a),n&&this.addManagedElementListeners(t,{click:n})}toggleCloseButtonClass(e,t){this.eButton.classList.toggle(e,t)}setText(e){this.eText.textContent=e}getText(){return this.eText.textContent}},jN={tag:"div",cls:"ag-pill-container"},_N=class extends T{constructor(){super(jN),this.pills=[]}init(e){this.params=e,this.getKey=e.valueFormatter??(t=>String(t)),this.refresh()}refresh(){this.clearPills();const{params:e,onPillKeyDown:t,getKey:a}=this;let n=e.getValue();if(!Array.isArray(n)){if(n==null)return;n=[n]}const r=e.valueFormatter??(i=>String(i)),o=n.length;De(this.getGui(),o===0?"presentation":"listbox");for(let i=0;ithis.onPillButtonClick(l),onKeyDown:t.bind(this)})),c=l.getGui();li(c,i+1),si(c,o),e.onPillMouseDown&&l.addGuiEventListener("mousedown",e.onPillMouseDown),e.announceItemFocus&&l.addGuiEventListener("focus",e.announceItemFocus),l.setText(r(s)??""),l.toggleCloseButtonClass("ag-icon-cancel",!0),this.appendChild(c),this.pills.push({key:a(s)??i.toString(),pill:l})}}onNavigationKeyDown(e){const{key:t}=e,a=this.gos.get("enableRtl"),n=!a&&t===w.LEFT||a&&t===w.RIGHT,r=!a&&t===w.RIGHT||a&&t===w.LEFT;if(!this.pills.length||!n&&!r)return;e.preventDefault();const{beans:o,params:i}=this,s=ne(o),l=this.getGui(),c=_t(l);if(l.contains(s)){const d=c.find(g=>g.contains(s));d&&d!==s&&d.focus();const u=Je(o,l,!1,n);u?u.focus():r&&i.focusAfterForwardBoundary?.()}else c.length>0&&c[r?0:c.length-1].focus()}clearPills(){const e=this.getGui();e.contains(ne(this.beans))&&this.params.eWrapper&&this.params.eWrapper.focus(),ee(e),this.destroyBeans(this.pills.map(({pill:t})=>t)),this.pills=[]}onPillButtonClick(e){this.deletePill(e)}onPillKeyDown(e){const t=e.key;if(t===w.LEFT||t===w.RIGHT){e.stopPropagation(),this.params.onHorizontalArrowKeyDown?this.params.onHorizontalArrowKeyDown(e):this.onNavigationKeyDown(e);return}if(t!==w.DELETE&&t!==w.BACKSPACE)return;e.preventDefault();const a=me(this.beans),n=this.pills.findIndex(({pill:o})=>o.getGui().contains(a.activeElement));if(n===-1)return;const r=this.pills[n];r?.pill&&this.deletePill(r.pill,n)}deletePill(e,t){const{getKey:a,pills:n,params:r}=this,o=(n[t??-1]??n.find(({pill:s})=>s===e))?.key,i=(r.getValue()||[]).filter(s=>a(s)!==o);if(r.setValue(i),!i.length)r.focusAfterDelete?r.focusAfterDelete():r.eWrapper?.focus();else if(t!=null){const{pill:s}=n[Math.min(t,n.length-1)];s&&s.getFocusableElement().focus()}}destroy(){this.clearPills(),super.destroy()}},KN=".ag-rich-select{cursor:default;height:100%}.ag-rich-select-value{align-items:center;background-color:var(--ag-picker-button-background-color);display:flex;height:100%;padding:var(--ag-spacing);:where(.ag-picker-field-display){overflow:hidden;text-overflow:ellipsis;&:where(.ag-display-as-placeholder){opacity:.5}}}.ag-virtual-list-viewport.ag-rich-select-list{background-color:var(--ag-picker-list-background-color);border:var(--ag-picker-list-border);border-radius:var(--ag-input-border-radius);box-shadow:var(--ag-dropdown-shadow);height:auto;position:relative;width:100%;:where(.ag-rich-select-loading){display:flex;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);:where(.ag-loading-text){overflow:hidden;text-overflow:ellipsis}}}.ag-rich-select-row{align-items:center;display:flex;flex:1 1 auto;height:100%;overflow:hidden;padding:0 var(--ag-spacing);white-space:nowrap}.ag-rich-select-row-selected{background-color:var(--ag-selected-row-background-color)}.ag-rich-select-row-highlighted,.ag-rich-select-row:hover{background-image:linear-gradient(var(--ag-row-hover-color),var(--ag-row-hover-color))}.ag-rich-select-row-text-highlight{font-weight:700}.ag-rich-select-field-input{flex:1 1 auto;:where(.ag-input-field-input){border:none!important;box-shadow:none!important;padding:0!important;text-overflow:ellipsis;&::-moz-placeholder{opacity:.8}&::placeholder{opacity:.8}}}:where(.ag-ltr) .ag-rich-select-field-input{left:var(--ag-spacing)}:where(.ag-rtl) .ag-rich-select-field-input{right:var(--ag-spacing)}.ag-rich-select-typing-multi{:where(.ag-picker-field-display){flex:0 1 auto;max-width:100%;min-width:0}:where(.ag-rich-select-pill-display){align-items:center;display:flex;flex:0 1 auto;max-width:100%;min-width:0;overflow:hidden;:where(.ag-pill-container){flex:0 1 auto;max-width:100%;min-width:0;overflow:hidden}}:where(.ag-rich-select-field-input){flex:0 0 auto;max-width:100%;min-width:0;:where(.ag-input-wrapper){flex:0 0 auto;max-width:100%}:where(.ag-input-field-input){max-width:100%;min-width:1ch;width:auto}}}:where(.ag-ltr) .ag-rich-select-typing-multi{:where(.ag-rich-select-field-input){margin-left:.25rem}:where(.ag-rich-select-deselect-button){margin-left:auto}:where(.ag-rich-select-deselect-button.ag-hidden+.ag-picker-field-icon){margin-left:auto}}:where(.ag-rtl) .ag-rich-select-typing-multi{:where(.ag-rich-select-field-input){margin-right:.25rem}:where(.ag-rich-select-deselect-button){margin-right:auto}:where(.ag-rich-select-deselect-button.ag-hidden+.ag-picker-field-icon){margin-right:auto}}:where(.ag-popup-editor) .ag-rich-select-value{height:var(--ag-row-height);min-width:200px}.ag-rich-select-virtual-list-item{cursor:default;height:var(--ag-list-item-height)}.ag-pill-container{display:flex;flex-wrap:nowrap;gap:.25rem;min-width:0}.ag-pill{align-items:center;background:var(--ag-select-cell-background-color);border:var(--ag-select-cell-border);border-radius:var(--ag-border-radius);display:flex;padding:0 .25rem;white-space:nowrap}.ag-pill-button{border:none;padding:0}:where(.ag-ltr) .ag-pill-button{margin-left:var(--ag-spacing)}:where(.ag-rtl) .ag-pill-button{margin-right:var(--ag-spacing)}.ag-pill-button:hover{color:var(--ag-accent-color);cursor:pointer}",YN={tag:"div",cls:"ag-rich-select-row",role:"presentation"},QN=class extends T{constructor(e){super(YN),this.params=e,this.valueFormatter=kp(e.valueFormatter)}wireBeans(e){this.userCompFactory=e.userCompFactory,this.registry=e.registry}postConstruct(){this.tooltipFeature=this.createOptionalManagedBean(this.registry.createDynamicBean("highlightTooltipFeature",!1,{getGui:()=>this.getGui(),shouldDisplayTooltip:()=>this.shouldDisplayTooltip?.()??!0},this))}setState(e){const t=this.valueFormatter(e);this.populateWithRenderer(e,t)||this.populateWithoutRenderer(e,t),this.value=e}highlightString(e){const{parsedValue:t,params:a}=this;if(a.cellRenderer||!A(t))return;let n=A(e);if(n){const r=t?.toLocaleLowerCase().indexOf(e.toLocaleLowerCase());if(r>=0){const o=r+e.length,i=this.getGui().querySelector("span");i&&(ee(i),i.append(t.slice(0,r),re({tag:"span",cls:"ag-rich-select-row-text-highlight",children:t.slice(r,o)}),t.slice(o)))}else n=!1}n||this.renderValueWithoutRenderer(t)}updateSelected(e){const t=this.getGui();ci(t.parentElement,e),this.toggleCss("ag-rich-select-row-selected",e)}getValue(){return this.value}toggleHighlighted(e){this.toggleCss("ag-rich-select-row-highlighted",e),this.dispatchLocalEvent({type:"itemHighlighted",highlighted:e})}populateWithoutRenderer(e,t){const a=this.getGui(),n=re({tag:"span"});n.style.overflow="hidden",n.style.textOverflow="ellipsis";const r=ea(A(t)?t:e);this.parsedValue=A(r)?r:null,a.appendChild(n),this.renderValueWithoutRenderer(r),this.shouldDisplayTooltip=tn(()=>n),this.tooltipFeature?.setTooltipAndRefresh(this.parsedValue)}renderValueWithoutRenderer(e){const t=this.getGui().querySelector("span");t&&(t.textContent=A(e)?e:"\xA0")}populateWithRenderer(e,t){let a,n;const{cellRenderer:r,cellRendererParams:o}=this.params;if(r){const i=this.getParentComponent()?.getParentComponent();n=pu(this.userCompFactory,this.params,B(this.gos,{value:e,valueFormatted:t,cellRendererParams:o,getValue:()=>i?.getValue(),setValue:s=>{i?.setValue(s,!0)},setTooltip:(s,l)=>{this.gos.assertModuleRegistered("Tooltip",3),this.shouldDisplayTooltip=l,this.tooltipFeature?.setTooltipAndRefresh(s)}}))}return n&&(a=n.newAgStackInstance()),a&&B0(a,this.getGui()),a?(a.then(i=>{this.addDestroyFunc(()=>{this.destroyBean(i)})}),!0):!1}},O0="ag-rich-select-list",G0="ag-rich-select-row",Xc=0,ZN=1,Jc=2,xp=3,XN=class extends Vo{constructor(e,t,a){super({cssIdentifier:"rich-select"}),this.params=e,this.richSelectWrapper=t,this.getSearchString=a,this.lastRowHovered=-1,this.selectedItems=new Set,this.loadingState=xp,this.loadMoreRowsThreshold=10,this.valueFormatter=kp(e.valueFormatter),this.setComponentCreator(this.createRowComponent.bind(this)),this.setComponentUpdater(()=>{})}postConstruct(){super.postConstruct();const e=this.getLocaleTextFunc();this.loadingLabel=e("loadingOoo","Loading..."),this.noMatchesLabel=e("noMatches","No matches to show"),this.eLoadingIcon=q("richSelectLoading",this.beans,null),this.eStateCompLabel=re({tag:"span",cls:"ag-loading-text",children:this.loadingLabel}),this.eStateComp=re({tag:"div",cls:"ag-rich-select-loading",children:[{tag:"span",cls:"ag-loading-icon",children:[this.eLoadingIcon?()=>this.eLoadingIcon:void 0]},{tag:"span",cls:"ag-loading-text",children:[()=>this.eStateCompLabel]}]}),this.appendChild(this.eStateComp);const{cellRowHeight:t,pickerAriaLabelKey:a,pickerAriaLabelValue:n}=this.params;t&&this.setRowHeight(t);const r=this.getGui(),o=this.getAriaElement();this.addManagedListeners(r,{mousemove:this.onMouseMove.bind(this),mouseout:this.onMouseOut.bind(this),mousedown:this.onMouseDown.bind(this),click:this.onClick.bind(this),scroll:this.onGuiScroll.bind(this)}),r.classList.add(O0);const i=`${O0}-${this.getCompId()}`;o.setAttribute("id",i);const s=e(a,n);de(o,s),Ks(this.richSelectWrapper,o)}setIsLoading(){this.setLoadingState(Xc)}setLoadingState(e){const t=this.loadingState!==e;if(this.loadingState=e,this.toggleStateComp(),this.toggleVisibility(),t){const a=this.getStateAnnouncementText(e);a&&this.stateAnnouncementCallback?.(a)}}toggleStateComp(){const{eStateComp:e,eStateCompLabel:t,eLoadingIcon:a,loadingState:n,loadingLabel:r,noMatchesLabel:o,params:i}=this;if(e){if(n===Xc){t.textContent=r,a&&G(a,!0),G(e,!0);return}if(n===Jc&&i.allowNoResultsCopy){t.textContent=o,a&&G(a,!1),G(e,!0);return}G(e,!1)}}shouldBeVisible(){return this.loadingState===Jc?!!this.params.allowNoResultsCopy:this.loadingState!==xp}toggleVisibility(e){const t=this.getGui();e===void 0?G(t,this.shouldBeVisible()):G(t,e),this.scheduleMaybeRequestMoreRows()}setLoadMoreRowsCallback(e,t=10){this.loadMoreRowsCallback=e,this.loadMoreRowsThreshold=Math.max(t,1),this.maybeRequestMoreRows()}setStateAnnouncementCallback(e){this.stateAnnouncementCallback=e}navigateToPage(e){const t=super.navigateToPage(e,this.lastRowHovered);return t!=null&&kt(this.beans,()=>{if(!this.isAlive())return null;this.highlightIndex(t)}),t}drawVirtualRows(e){super.drawVirtualRows(e),this.refreshSelectedItems(),this.lastRowHovered!==-1&&this.updateRenderedHighlightState(this.lastRowHovered)}highlightFilterMatch(e){this.forEachRenderedRow(t=>{t.highlightString(e)})}onNavigationKeyDown(e,t){kt(this.beans,()=>{if(!this.currentList||!this.isAlive())return;const a=this.currentList.length,n=this.lastRowHovered,r=e===w.DOWN?1:-1,o=Math.min(Math.max(n===-1?0:n+r,0),a-1);this.highlightIndex(o),t()})}selectValue(e){if(!this.currentList||e==null)return!1;const t=this.getIndicesForValues(e),a=t.length>0;return a&&(this.refresh(),this.ensureIndexVisible(t[0]),this.refresh(!0)),this.selectListItems(Array.isArray(e)?e:[e]),a&&this.highlightIndex(t[0],!0),a}selectListItems(e,t=!1){t||this.selectedItems.clear();for(let a=0;ae.length,getRow:a=>e[a],areRowsEqual:(a,n)=>a===n})}offsetHoveredIndexOnPrependedRows(e){e<=0||this.lastRowHovered<0||(this.lastRowHovered+=e)}restoreScrollOnPrependedRows(e,t){if(t<=0)return;const a=this.getGui(),n=this.getRowHeight(),r=e+t*n;this.awaitStable(()=>{this.isAlive()&&(a.scrollTop=r)})}getSelectedItems(){return this.selectedItems}getLastItemHovered(){return this.currentList?.[this.lastRowHovered]}highlightIndex(e,t){this.currentList&&(e<0||e>=this.currentList.length?(this.lastRowHovered=-1,this.setActiveOption()):(this.lastRowHovered=e,this.ensureIndexVisible(e,!t)&&!t&&this.refresh(!0)),this.updateRenderedHighlightState(e))}updateRenderedHighlightState(e){let t;this.forEachRenderedRow((a,n)=>{const r=e===n;a.toggleHighlighted(r),r&&(t=`${G0}-${a.getCompId()}`)}),this.setActiveOption(t)}setActiveOption(e){Gd(this.richSelectWrapper,e??null),it(this.richSelectWrapper,"data-active-option",e)}getIndicesForValues(e){const{currentList:t}=this;if(!t||t.length===0||e===void 0)return[];const a=Array.isArray(e)?e:[e];if(a.length===0)return[];const n=[];let r;for(const o of a){let i=t.indexOf(o);if(i===-1&&o!=null){r??(r=t.map(l=>this.valueFormatter(l)));const s=this.getComparableFormattedValue(o);i=r.indexOf(s)}i>=0&&n.push(i)}return n}toggleListItemSelection(e){const t=this.findItemInSelected(e);t!==void 0?this.selectedItems.delete(t):this.selectedItems.add(e),this.refreshSelectedItems(),this.dispatchValueSelected()}refreshSelectedItems(){this.forEachRenderedRow(e=>{const t=this.findItemInSelected(e.getValue())!==void 0;e.updateSelected(t)})}findItemInSelected(e){if(typeof e=="object"){if(this.selectedItems.has(e))return e;const t=this.valueFormatter(e);for(const a of this.selectedItems)if(this.valueFormatter(a)===t)return a}else return this.selectedItems.has(e)?e:void 0}getComparableFormattedValue(e){return e!=null&&typeof e=="object"?this.valueFormatter(e):String(e??"")}createRowComponent(e,t){const a=new QN(this.params);t.setAttribute("id",`${G0}-${a.getCompId()}`),a.setParentComponent(this),this.createBean(a),a.setState(e);const{highlightMatch:n,searchType:r="fuzzy"}=this.params;return n&&r!=="fuzzy"&&a.highlightString(this.getSearchString()),a}getRowForMouseEvent(e){if(!this.model)return-1;const a=this.getGui().getBoundingClientRect(),n=this.getScrollTop(),r=e.clientY-a.top+n;return Math.min(Math.max(Math.floor(r/this.getRowHeight()),0),this.model.getRowCount()-1)}onMouseMove(e){const t=this.getRowForMouseEvent(e);t!==-1&&t!=this.lastRowHovered&&(this.lastRowHovered=t,this.highlightIndex(t,!0))}onGuiScroll(){this.maybeRequestMoreRows(!0)}scheduleMaybeRequestMoreRows(){if(this.beans){kt(this.beans,()=>this.maybeRequestMoreRows(!1));return}this.maybeRequestMoreRows(!1)}maybeRequestMoreRows(e=!1){const t=this.loadMoreRowsCallback,a=this.currentList;if(!t||!a||this.loadingState===Xc)return;const n=this.getGui();if(n.clientHeight<=0)return;const o=(n.scrollHeight-(n.scrollTop+n.clientHeight))/this.getRowHeight(),i=n.scrollTop/this.getRowHeight(),s=n.scrollHeight>n.clientHeight;i<=this.loadMoreRowsThreshold&&(e||!s)&&t("up"),o<=this.loadMoreRowsThreshold&&t("down")}getStateAnnouncementText(e){if(e===Xc)return this.loadingLabel;if(e===Jc&&this.params.allowNoResultsCopy)return this.noMatchesLabel}onMouseDown(e){e.preventDefault()}onMouseOut(e){this.getGui().contains(e.relatedTarget)||this.highlightIndex(-1)}onClick(e){const{multiSelect:t}=this.params;if(!this.currentList?.length)return;const a=this.getRowForMouseEvent(e),n=this.currentList[a];t?this.toggleListItemSelection(n):(this.selectListItems([n]),this.dispatchValueSelected())}dispatchValueSelected(){this.dispatchLocalEvent({type:"richSelectListRowSelected",fromEnterKey:!1,value:this.selectedItems})}destroy(){super.destroy(),this.eStateComp=void 0}};function JN(e){return e?e.length?ZN:Jc:xp}var V0=300,$N={tag:"div",cls:"ag-picker-field",role:"presentation",children:[{tag:"div",ref:"eLabel"},{tag:"div",ref:"eWrapper",cls:"ag-wrapper ag-picker-field-wrapper ag-rich-select-value ag-picker-collapsed",children:[{tag:"span",ref:"eDisplayField",cls:"ag-picker-field-display"},{tag:"ag-input-text-field",ref:"eInput",cls:"ag-rich-select-field-input"},{tag:"span",ref:"eDeselect",cls:"ag-rich-select-deselect-button ag-picker-field-icon",role:"presentation"},{tag:"span",ref:"eIcon",cls:"ag-picker-field-icon",attrs:{"aria-hidden":"true"}}]}]},$c=class extends Cc{constructor(e){const t=kp(e?.valueFormatter),a=e?.agComponents?.includes(Gt)?e.agComponents:[Gt,...e?.agComponents??[]];super({...e,pickerAriaLabelKey:e?.pickerAriaLabelKey??"ariaLabelRichSelectField",pickerAriaLabelValue:e?.pickerAriaLabelValue??"Rich Select Field",pickerType:e?.pickerType??"ag-list",className:e?.className??"ag-rich-select",pickerIcon:e?.pickerIcon??"richSelectOpen",ariaRole:e?.ariaRole??"combobox",template:e?.template??$N,agComponents:a,modalPicker:e?.modalPicker??!1,valueFormatter:t,maxPickerHeight:e?.maxPickerHeight??"calc(var(--ag-row-height) * 6.5)"}),this.searchString="",this.loadMoreRowsThreshold=10,this.hasPagedAsyncSource=!1,this.searchStringCreator=null,this.eInput=x,this.eDeselect=x,this.skipWrapperAnnouncement=!1,this.onPillHorizontalArrowKeyDown=l=>{this.handleHorizontalNavigationKey(l)},this.valueFormatter=t;const{value:n,valueList:r,searchStringCreator:o,onSearch:i}=e??{};n!==void 0&&(this.value=n),o&&(this.searchStringCreator=o),r!=null&&this.setValueList({valueList:r,isInitial:!0});const{searchDebounceDelay:s=V0}=this.config;i&&(this.onSearchCallbackDebounced=ve(this,i,s)),this.registerCSS(KN)}wireBeans(e){this.userCompFactory=e.userCompFactory,this.ariaAnnounce=e.ariaAnnounce,this.registry=e.registry}postConstruct(){this.tooltipFeature=this.createOptionalManagedBean(this.registry.createDynamicBean("tooltipFeature",!1,{getGui:()=>this.getGui(),shouldDisplayTooltip:()=>this.shouldDisplayTooltip?.()??!0})),super.postConstruct(),this.createListComponent(),this.eDeselect.appendChild(q("richSelectRemove",this.beans));const{allowTyping:e,placeholder:t,multiSelect:a,suppressDeselectAll:n,suppressMultiSelectPillRenderer:r}=this.config;this.eDeselect.classList.add("ag-hidden"),e?(this.eInput.setAutoComplete(!1).setInputPlaceholder(t),a?(this.eWrapper.classList.add("ag-rich-select-typing-multi"),r||this.eDisplayField.classList.add("ag-rich-select-pill-display")):this.eDisplayField.classList.add("ag-hidden")):this.eInput.setDisplayed(!1),this.setupAriaProperties();const{searchDebounceDelay:o=300}=this.config;this.clearSearchString=ve(this,this.clearSearchString.bind(this),o),this.renderSelectedValue(),e&&this.eInput.onValueChange(i=>{this.openPickerOnTypingIfNeeded(i),this.updateTypingMultiSelectPlaceholder(i),this.searchTextFromString(i)}),this.addManagedElementListeners(this.eWrapper,{focus:this.onWrapperFocus.bind(this)}),this.addManagedElementListeners(this.eWrapper,{focusout:this.onWrapperFocusOut.bind(this)}),n||this.addManagedElementListeners(this.eDeselect,{mousedown:this.onDeselectAllMouseDown.bind(this),click:this.onDeselectAllClick.bind(this)})}setupAriaProperties(){const{eWrapper:e,gos:t}=this;e.tabIndex=t.get("tabIndex");const a=this.getLocaleTextFunc();this.ariaDeleteSelection=a("ariaLabelRichSelectDeleteSelection","Press DELETE to deselect item"),this.ariaDeselectAllItems=a("ariaLabelRichSelectDeselectAllItems","Press DELETE to deselect all items"),this.ariaToggleSelection=a("ariaLabelRichSelectToggleSelection","Press SPACE to toggle selection")}createListComponent(){this.listComponent=this.createBean(new XN(this.config,this.getFocusableElement(),()=>this.searchString)),this.listComponent.setLoadMoreRowsCallback(this.loadMoreRowsCallback,this.loadMoreRowsThreshold),this.listComponent.setStateAnnouncementCallback(e=>this.announceAriaValue(e)),this.listComponent.setParentComponent(this),this.addManagedListeners(this.listComponent,{richSelectListRowSelected:e=>{this.onListValueSelected(e.value,e.fromEnterKey)}})}renderSelectedValue(e){const{value:t,eDisplayField:a,config:n,gos:r}=this,{allowTyping:o,cellRenderer:i,cellRendererParams:s,initialInputValue:l,multiSelect:c,suppressDeselectAll:d,suppressMultiSelectPillRenderer:u,onSearch:g}=n,h=this.valueFormatter(t),p=!!(o&&c);if(o){const v=p?l??this.eInput.getValue()??"":l??(t===""?"":h);if(this.eInput.setValue(v,!!e&&!!g),!p)return;this.updateTypingMultiSelectPlaceholder(v)}if(c&&!d){const v=t==null||Array.isArray(t)&&t.length===0;this.eDeselect.classList.toggle("ag-hidden",v)}let f;if(c&&!u){this.createOrUpdatePillContainer(a);return}i&&!o&&(f=pu(this.userCompFactory,n,B(this.gos,{value:t,valueFormatted:h,cellRendererParams:s,getValue:()=>this.getValue(),setValue:v=>{this.setValue(v,!0)},setTooltip:(v,C)=>{r.assertModuleRegistered("Tooltip",3),this.shouldDisplayTooltip=C,this.tooltipFeature?.setTooltipAndRefresh(v)}})));let m;if(f&&(m=f.newAgStackInstance()),m)ee(a),B0(m,a),m.then(v=>{this.addDestroyFunc(()=>this.destroyBean(v))});else{if(t!=null)a.innerText=h,a.classList.remove("ag-display-as-placeholder");else{const{placeholder:v}=n;A(v)?(a.textContent=v,a.classList.add("ag-display-as-placeholder")):ee(a)}this.shouldDisplayTooltip=tn(()=>this.eDisplayField),this.tooltipFeature?.setTooltipAndRefresh(h??null)}}createPickerComponent(){const{values:e}=this;return e&&this.setValueList({valueList:e}),this.listComponent}setSearchStringCreator(e){this.searchStringCreator=e}setAsyncValuesSource(e){const{source:t,thresholdRows:a,useAsyncSearch:n,onMisconfiguredSearchSource:r,onFirstValuesPageLoaded:o}=e;this.asyncRequests?.destroy();const i=HN({host:{setValueList:s=>this.setValueList(s),setIsLoading:()=>this.setIsLoading()},source:t,useAsyncSearch:n,onMisconfiguredSearchSource:r,onFirstValuesPageLoaded:o});if(this.asyncRequests=i.controller,this.hasPagedAsyncSource=i.hasPagedSource,i.onSearch){const{searchDebounceDelay:s=V0}=this.config;this.onSearchCallbackDebounced=ve(this,i.onSearch,s)}else this.config.onSearch||(this.onSearchCallbackDebounced=void 0);this.setLoadMoreRowsCallback(i.onLoadMoreRows,a??this.loadMoreRowsThreshold)}resetAsyncValues(e=""){this.hasPagedAsyncSource&&this.asyncRequests?.resetValuesPage(e)}setLoadMoreRowsCallback(e,t=10){this.loadMoreRowsCallback=e,this.loadMoreRowsThreshold=Math.max(t,1),this.listComponent?.setLoadMoreRowsCallback(this.loadMoreRowsCallback,this.loadMoreRowsThreshold)}setIsLoading(){this.listComponent?.setIsLoading()}setValueListInternal(e){const{listComponent:t,isPickerDisplayed:a,value:n}=this,{valueList:r,refresh:o,isInitial:i,scrollToCurrentValue:s=!0,prependedRowCount:l=0}=e;if(i&&this.setValues(r),!t)return;const c=l>0?t.getScrollTop():void 0;if(l>0&&t.offsetHoveredIndexOnPrependedRows(l),t.setCurrentList(r),!!o){if(a&&c!=null&&l>0&&t.restoreScrollOnPrependedRows?.(c,l),this.values){t.refresh(!0);const d=n!=null&&t.getIndicesForValues(n).length>0;a&&d&&s&&t.selectValue(n)}else a&&(t.selectValue(n)||t.refresh());this.alignPickerToComponent()}}setValueList(e){const{valueList:t}=e;if(!t||Array.isArray(t)){this.setValueListInternal(e);return}this.listComponent?.setIsLoading(),t.then(a=>{a!==void 0&&this.setValueListInternal({...e,valueList:a})}).catch(()=>{this.setValueListInternal({...e,valueList:[],refresh:!0})})}setValues(e){this.values=e,this.searchStrings=this.getSearchStringsFromValues(e||[])}showPicker(){const{listComponent:e,value:t}=this;if(!e)return;super.showPicker();const a=t??null;e.selectValue(a);const n=e.getIndicesForValues(a)[0];n!=null?(this.tooltipFeature?.attemptToHideTooltip(),e.highlightIndex(n)):e.refresh()}createOrUpdatePillContainer(e){if(!this.pillContainer){const a=this.pillContainer=this.createBean(new _N);this.addDestroyFunc(()=>{this.destroyBean(this.pillContainer),this.pillContainer=null}),ee(e),e.appendChild(a.getGui());const{config:n,eWrapper:r,ariaDeleteSelection:o}=this;a.init({eWrapper:r,valueFormatter:this.valueFormatter,onPillMouseDown:i=>{i.stopImmediatePropagation()},announceItemFocus:()=>{this.announceAriaValue(o)},focusAfterDelete:n.allowTyping?()=>this.focusTypingInputAtBoundary():void 0,focusAfterForwardBoundary:n.allowTyping?()=>this.focusTypingInputAtBoundary():void 0,onHorizontalArrowKeyDown:this.onPillHorizontalArrowKeyDown,getValue:()=>this.getValue(),setValue:i=>this.setValue(i,!0)})}const t=this.pillContainer.getGui().childElementCount;this.doWhileBlockingAnnouncement(()=>this.pillContainer?.refresh()),this.scrollTypingMultiSelectPillsToEndOnAdd(t)}scrollTypingMultiSelectPillsToEndOnAdd(e){const{allowTyping:t,multiSelect:a,suppressMultiSelectPillRenderer:n}=this.config;if(!t||!a||n)return;const r=this.pillContainer?.getGui();!r||r.childElementCount<=e||fr(r,r.scrollWidth,this.isRtl())}doWhileBlockingAnnouncement(e){this.skipWrapperAnnouncement=!0,e(),this.skipWrapperAnnouncement=!1}isPreviousHorizontalNavigation(e){return e===w.LEFT!==this.isRtl()}isRtl(){return!!this.gos?.get("enableRtl")}isTypingInputAtPillBoundary(){const e=this.eInput.getInputElement(),{selectionStart:t,selectionEnd:a,value:n}=e;return t==null||a==null||t!==a?!1:this.isRtl()?t===(n??"").length:t===0}focusTypingInputAtBoundary(){const e=this.eInput.getInputElement();e.focus();const t=this.isRtl()?e.value.length:0;e.setSelectionRange(t,t)}getActiveElementForKeyboardNavigation(){if(this.beans?.eRootDiv)return ne(this.beans);const e=this.getTypingInputElement();return e?e.ownerDocument?.activeElement??document.activeElement:document.activeElement}onWrapperFocus(){const{eInput:e,config:t}=this,{allowTyping:a,multiSelect:n,suppressDeselectAll:r}=t;if(a){const o=e.getFocusableElement();o.focus(),o.select()}else n&&!r&&!this.skipWrapperAnnouncement&&this.announceAriaValue(this.ariaDeselectAllItems)}onWrapperFocusOut(e){this.eWrapper.contains(e.relatedTarget)||this.hidePicker()}onDeselectAllMouseDown(e){e.stopImmediatePropagation()}onDeselectAllClick(){this.setValue([],!0)}buildSearchStringFromKeyboardEvent(e){let{key:t}=e;if(t===w.BACKSPACE)this.searchString=this.searchString.slice(0,-1),t="";else if(!Dl(e))return;e.preventDefault(),this.searchTextFromCharacter(t)}searchTextFromCharacter(e){this.searchString+=e,this.runSearch(),this.clearSearchString()}searchTextFromString(e){e==null&&(e=""),this.searchString=e,this.onSearchCallbackDebounced&&this.setValueList({valueList:void 0,refresh:!0}),this.runSearch()}getSearchStringsFromValues(e){return typeof e[0]=="object"&&this.searchStringCreator?this.searchStringCreator(e):e.map(t=>t===""?"":this.valueFormatter(t))}filterListModel(e){const{filterList:t}=this.config;t&&this.setValueList({valueList:e,refresh:!0})}runSearch(){if(!this.listComponent)return;if(this.onSearchCallbackDebounced){this.onSearchCallbackDebounced(this.searchString);return}const e=this.searchStrings;if(!e){this.listComponent.highlightIndex(-1);return}const{suggestions:t,filteredValues:a}=this.getSuggestionsAndFilteredValues(this.searchString,e),{filterList:n,highlightMatch:r,searchType:o="fuzzy"}=this.config,i=!!(n&&this.searchString!=="");this.filterListModel(i?a:this.values||[]),this.highlightEmptyValue()||this.highlightListValue(t,a,i),r&&o!=="fuzzy"&&this.listComponent?.highlightFilterMatch(this.searchString),this.listComponent?.toggleVisibility()}highlightEmptyValue(){if(this.searchString===""){const e=this.searchStrings?.indexOf("");if(e!==void 0&&e!==-1)return this.listComponent?.highlightIndex(e),!0}return!1}highlightListValue(e,t,a){if(e.length){const n=a?0:this.searchStrings?.indexOf(e[0]);n!==void 0&&this.listComponent?.highlightIndex(n)}else if(this.listComponent?.highlightIndex(-1),!a||t.length)this.listComponent?.ensureIndexVisible(0);else if(a){const n=this.getFocusableElement();it(n,"data-active-option",null),Gd(n,null)}}getSuggestionsAndFilteredValues(e,t){let a=[];const n=[];if(!e.length)return{suggestions:a,filteredValues:n};const{searchType:r="fuzzy",filterList:o}=this.config,i=this.values||[];if(r==="fuzzy"){const s=Ro({inputValue:e,allSuggestions:t,hideIrrelevant:!0});a=s.values;const l=s.indices;if(o&&l.length)for(let c=0;c{const c=s.toLocaleLowerCase(),d=this.searchString.toLocaleLowerCase(),u=r==="match"?c.startsWith(d):c.includes(d);return o&&u&&n.push(i[l]),u});return{suggestions:a,filteredValues:n}}clearSearchString(){this.searchString=""}setValue(e,t,a,n){if(this.value===e)return this.updateTypingMultiSelectPlaceholder(),this;const r=Array.isArray(e);if(e!=null){if(!r&&!this.listComponent?.getIndicesForValues(e)?.length)return this;a||this.listComponent?.selectValue(e)}return super.setValue(e,t),n?this.updateTypingMultiSelectPlaceholder():this.renderSelectedValue(a),this}onNavigationKeyDown(e,t,a){e.preventDefault();const n=t===w.DOWN;if(!this.isPickerDisplayed&&n){this.showPicker();return}this.listComponent?.onNavigationKeyDown(t,a)}onEnterKeyDown(e){const t=!!(this.config.allowTyping&&this.config.multiSelect);if(!this.isPickerDisplayed){t&&(e.preventDefault(),this.dispatchPickerEventAndHidePicker(this.value,!0));return}if(e.preventDefault(),this.listComponent?.getCurrentList()){const a=this.listComponent.getLastItemHovered();if(t){if(a!==void 0){const n=this.getCurrentSelectionWithAppendedItem(a);this.listComponent.selectValue(n),this.setValue(n,!1,!0),this.resetTypingMultiSelectSearchState(),this.hidePicker()}return}this.config.multiSelect||a===void 0?this.dispatchPickerEventAndHidePicker(this.value,!0):this.onListValueSelected(new Set([a]),!0)}}getCurrentSelectionWithAppendedItem(e){const t=this.getValue(),a=Array.isArray(t)?[...t]:t!=null?[t]:[];return a.some(n=>this.areValuesEquivalent(n,e))||a.push(e),a}areValuesEquivalent(e,t){return e===t?!0:typeof e=="object"&&typeof t=="object"&&e!=null&&t!=null?this.valueFormatter(e)===this.valueFormatter(t):!1}resetTypingMultiSelectSearchState(){if(this.searchString="",this.eInput.setValue("",!0),this.onSearchCallbackDebounced){this.setValueList({valueList:void 0,refresh:!0});return}this.config.filterList&&this.values&&this.setValueList({valueList:this.values,refresh:!0})}updateTypingMultiSelectPlaceholder(e){const{allowTyping:t,multiSelect:a,placeholder:n}=this.config;if(!t||!a)return;const r=e??this.eInput.getValue()??"",o=r.length>0,i=this.value,s=(Array.isArray(i)?i.length>0:i!=null)||(this.listComponent?.getSelectedItems().size??0)>0,l=!o&&!s?n:"";this.eInput.setInputPlaceholder(l),this.updateTypingMultiSelectInputSize(r,l)}updateTypingMultiSelectInputSize(e,t){const a=this.getTypingInputElement();if(!a)return;const r=Math.max(1,Math.min((e||t||"").length+1,32));if(a.size!==r&&(a.size=r),e){const o=this.pillContainer?.getGui();o&&fr(o,o.scrollWidth,this.isRtl())}}getTypingInputElement(){const e=this.eInput.getInputElement;if(typeof e=="function")return e.call(this.eInput)}openPickerOnTypingIfNeeded(e){const{isPickerDisplayed:t,config:{allowTyping:a,multiSelect:n}}=this;a&&n&&!t&&e&&this.showPicker()}onDeleteKeyDown(e){const{eWrapper:t,beans:a}=this;ne(a)===t&&(e.preventDefault(),this.setValue([],!0))}onBackspaceKeyDown(e){if(!this.isTypingInputAtPillBoundary())return;const t=this.getValue(),a=Array.isArray(t)?t:t!=null?[t]:Array.from(this.listComponent?.getSelectedItems()??[]);a.length&&(e.preventDefault(),this.setValue(a.slice(0,-1),!0))}onTabKeyDown(){const{config:e,isPickerDisplayed:t,listComponent:a}=this,{multiSelect:n}=e;if(!(!t||!a)){if(n){const r=this.getValueFromSet(a.getSelectedItems());r&&this.setValue(r,!1,!0,!0)}else{const r=a.getLastItemHovered();r!==void 0&&this.setValue(r,!1,!0)}this.hidePicker()}}getValueFromSet(e){const{multiSelect:t}=this.config;if(!t)return e.size?e.values().next().value:null;const a=Array.from(e);return a.length?a:null}onListValueSelected(e,t){const a=this.getValueFromSet(e);this.setValue(a,!1,!0);const{multiSelect:n,allowTyping:r}=this.config;n&&r?(this.resetTypingMultiSelectSearchState(),this.hidePicker()):n||this.dispatchPickerEventAndHidePicker(a,t)}dispatchPickerEventAndHidePicker(e,t){const a={type:"fieldPickerValueSelected",fromEnterKey:t,value:e};this.dispatchLocalEvent(a),this.hidePicker()}getFocusableElement(){const{allowTyping:e}=this.config;return e?this.eInput.getFocusableElement():super.getFocusableElement()}handleHorizontalNavigationKey(e){const{allowTyping:t,multiSelect:a}=this.config;if(!t){e.preventDefault(),this.listComponent?.highlightIndex(-1),this.pillContainer?.onNavigationKeyDown(e);return}const n=this.pillContainer;if(!n||!a)return;const r=this.getActiveElementForKeyboardNavigation(),o=this.isPreviousHorizontalNavigation(e.key),i=this.eInput.getInputElement();if(r===i){o&&this.isTypingInputAtPillBoundary()&&(this.listComponent?.highlightIndex(-1),n.onNavigationKeyDown(e));return}if(n.getGui().contains(r)){this.listComponent?.highlightIndex(-1);const s=r;n.onNavigationKeyDown(e),!o&&this.getActiveElementForKeyboardNavigation()===s&&this.focusTypingInputAtBoundary()}}handlePageNavigationKey(e,t){const{allowTyping:a}=this.config;if(a&&(t===w.PAGE_HOME||t===w.PAGE_END)){e.preventDefault();const n=this.eInput.getInputElement(),r=t===w.PAGE_HOME?0:n.value.length;n.setSelectionRange(r,r);return}e.preventDefault(),this.pickerComponent&&this.listComponent?.navigateToPage(t)}handleVerticalNavigationKey(e,t,a){a||this.onNavigationKeyDown(e,t,()=>{this.config.multiSelect&&(this.doWhileBlockingAnnouncement(()=>this.eWrapper.focus()),this.announceAriaValue(this.ariaToggleSelection))})}handleEscapeKey(e){this.isPickerDisplayed&&(Be(this.listComponent.getGui())&&(e.preventDefault(),Fe(e)),this.hidePicker())}handleEnterKey(e,t){if(t){e.preventDefault();return}this.onEnterKeyDown(e)}handleSpaceKey(e,t){const{allowTyping:a,multiSelect:n}=this.config,{isPickerDisplayed:r,listComponent:o}=this,i=!t&&r&&n&&!!o&&(!a||(this.eInput.getValue()??"")==="");if((!a||t||i)&&e.preventDefault(),i&&o){const s=o.getLastItemHovered();s!==void 0&&o.toggleListItemSelection(s)}}handleBackspaceKey(e,t){!t&&this.config.allowTyping&&this.config.multiSelect&&this.onBackspaceKeyDown(e)}handleDeleteKey(e){this.config.multiSelect&&!this.config.suppressDeselectAll&&this.onDeleteKeyDown(e)}handleSearchWithoutTyping(e){this.config.allowTyping||this.buildSearchStringFromKeyboardEvent(e)}onKeyDown(e){const{key:t,isComposing:a}=e;switch(t){case w.LEFT:case w.RIGHT:this.handleHorizontalNavigationKey(e);break;case w.PAGE_HOME:case w.PAGE_END:case w.PAGE_UP:case w.PAGE_DOWN:this.handlePageNavigationKey(e,t);break;case w.DOWN:case w.UP:this.handleVerticalNavigationKey(e,t,a);break;case w.ESCAPE:this.handleEscapeKey(e);break;case w.ENTER:this.handleEnterKey(e,a);break;case w.SPACE:this.handleSpaceKey(e,a);break;case w.BACKSPACE:this.handleBackspaceKey(e,a);break;case w.TAB:this.onTabKeyDown();break;case w.DELETE:this.handleDeleteKey(e);break;default:this.handleSearchWithoutTyping(e)}}announceAriaValue(e){this.ariaAnnounce?.announceValue(e,"richSelect")}destroy(){this.asyncRequests?.destroy(),this.asyncRequests=void 0,this.hasPagedAsyncSource=!1,this.listComponent&&(this.listComponent=this.destroyBean(this.listComponent)),this.searchStrings=void 0,super.destroy()}};function B0(e,t){e.then(a=>{const n=a.getGui();n!=null&&t.appendChild(n)})}function kp(e){return t=>e?.(t)??String(t??"")}var e8={tag:"div",cls:"ag-picker-field",role:"presentation",children:[{tag:"div",ref:"eLabel"},{tag:"div",ref:"eWrapper",cls:"ag-wrapper ag-picker-collapsed",children:[{tag:"div",ref:"eDisplayField",cls:"ag-picker-field-display"},{tag:"ag-input-text-field",ref:"eInput",cls:"ag-rich-select-field-input"},{tag:"span",ref:"eDeselect",cls:"ag-rich-select-deselect-button ag-picker-field-icon",role:"presentation"},{tag:"div",ref:"eIcon",cls:"ag-picker-field-icon",attrs:{"aria-hidden":"true"}}]}]},N0=class extends $c{constructor(e){super({...e,template:e8,agComponents:[Gt]}),this.params=e}showPicker(){setTimeout(()=>super.showPicker())}hidePicker(){setTimeout(()=>super.hidePicker())}postConstruct(){super.postConstruct();const{wrapperClassName:e,ariaLabel:t}=this.params;G(this.eDisplayField,!1),e&&this.eWrapper.classList.add(e),va(this.eWrapper,""),de(this.eWrapper,t)}onEnterKeyDown(e){Fe(e),this.isPickerDisplayed?super.onEnterKeyDown(e):(e.preventDefault(),this.showPicker())}},H0=class extends F{constructor(e,t,a){super(),this.eGui=e,this.focusWrapper=t,this.eFocusableComp=a}postConstruct(){this.addManagedElementListeners(this.eGui,{keydown:t=>{switch(t.key){case w.TAB:t.defaultPrevented||Fe(t);break;case w.UP:case w.DOWN:Fe(t);break;case w.ESCAPE:if(zt(t))return;this.eGui.contains(ne(this.beans))&&(t.preventDefault(),Fe(t),this.focusWrapper.focus());break}}});const e="ag-advanced-filter-builder-virtual-list-item-highlight";this.addManagedListeners(this.focusWrapper,{keydown:t=>{if(t.key===w.ENTER){if(zt(t))return;ne(this.beans)===this.focusWrapper&&(t.preventDefault(),Fe(t),this.eFocusableComp.getFocusableElement().focus())}},focusin:()=>{this.focusWrapper.classList.add(e)},focusout:t=>{this.focusWrapper.contains(t.relatedTarget)||this.focusWrapper.classList.remove(e)}})}};function q0(e,t){return{pickerAriaLabelKey:"ariaLabelAdvancedFilterBuilderAddField",pickerAriaLabelValue:"Advanced Filter Builder Add Field",pickerType:"ag-list",valueList:[{key:"condition",displayValue:e("advancedFilterBuilderAddCondition")},{key:"join",displayValue:e("advancedFilterBuilderAddJoin")}],valueFormatter:a=>a==null?"":a.displayValue??a.key,pickerIcon:"advancedFilterBuilderAdd",maxPickerWidth:`${t??120}px`,wrapperClassName:"ag-advanced-filter-builder-item-button",ariaLabel:e("advancedFilterBuilderAddButtonTooltip")}}var t8={tag:"div",cls:"ag-advanced-filter-builder-item-wrapper",role:"presentation",children:[{tag:"div",ref:"eItem",cls:"ag-advanced-filter-builder-item",role:"presentation",children:[{tag:"div",cls:"ag-advanced-filter-builder-item-tree-lines",attrs:{"aria-hidden":"true"},children:[{tag:"div",cls:"ag-advanced-filter-builder-item-tree-line ag-advanced-filter-builder-item-tree-line-vertical-top ag-advanced-filter-builder-item-tree-line-horizontal"}]}]}]},a8=class extends T{constructor(e,t){super(t8),this.item=e,this.focusWrapper=t,this.eItem=x}wireBeans(e){this.advFilterExpSvc=e.advFilterExpSvc,this.registry=e.registry}postConstruct(){oi(this.focusWrapper,2);const e=q0(a=>this.advFilterExpSvc.translate(a),this.gos.get("advancedFilterBuilderParams")?.addSelectWidth),t=this.createManagedBean(new N0(e));this.addManagedListeners(t,{fieldPickerValueSelected:({value:a})=>{this.dispatchLocalEvent({type:"advancedFilterBuilderAdded",item:this.item,isJoin:a.key==="join"})}}),this.eItem.appendChild(t.getGui()),this.createOptionalManagedBean(this.registry.createDynamicBean("tooltipFeature",!1,{getGui:()=>t.getGui(),getLocation:()=>"advancedFilter",getTooltipValue:()=>this.advFilterExpSvc.translate("advancedFilterBuilderAddButtonTooltip")})),this.createManagedBean(new H0(this.getGui(),this.focusWrapper,t)),de(this.focusWrapper,this.advFilterExpSvc.translate("ariaAdvancedFilterBuilderItem",[this.advFilterExpSvc.translate("advancedFilterBuilderAddButtonTooltip"),`${this.item.level+1}`]))}afterAdd(){}},n8=class extends T{constructor(){super({tag:"div",cls:"ag-advanced-filter-builder-item-condition",role:"presentation"}),this.validationMessage=null}wireBeans(e){this.advFilterExpSvc=e.advFilterExpSvc}init(e){const{item:t,createPill:a}=e;this.item=t,this.createPill=a,this.filterModel=t.filterModel,this.setupColumnCondition(this.filterModel),this.validate(),this.addDestroyFunc(()=>this.destroyBeans([this.eColumnPill,this.eOperatorPill,this.eOperandPill]))}getDragName(){return this.filterModel.colId?this.advFilterExpSvc.parseColumnFilterModel(this.filterModel):this.getDefaultColumnDisplayValue()}getAriaLabel(){return`${this.advFilterExpSvc.translate("ariaAdvancedFilterBuilderFilterItem")} ${this.getDragName()}`}getValidationMessage(){return this.validationMessage}getFocusableElement(){return this.eColumnPill.getFocusableElement()}setupColumnCondition(e){const t=this.advFilterExpSvc.getColumnDetails(e.colId);this.baseCellDataType=t.baseCellDataType,this.column=t.column,this.numOperands=this.getNumOperands(this.getOperatorKey()),this.eColumnPill=this.createPill({key:this.getColumnKey(),displayValue:this.getColumnDisplayValue()??this.getDefaultColumnDisplayValue(),cssClass:"ag-advanced-filter-builder-column-pill",isSelect:!0,getEditorParams:()=>({values:this.advFilterExpSvc.getColumnAutocompleteEntries()}),update:a=>this.setColumnKey(a),pickerAriaLabelKey:"ariaLabelAdvancedFilterBuilderColumnSelectField",pickerAriaLabelValue:"Advanced Filter Builder Column Select Field",ariaLabel:this.advFilterExpSvc.translate("ariaAdvancedFilterBuilderColumn")}),this.getGui().appendChild(this.eColumnPill.getGui()),A(this.getColumnKey())&&(this.createOperatorPill(),this.hasOperand()&&this.createOperandPill())}createOperatorPill(){this.eOperatorPill=this.createPill({key:this.getOperatorKey(),displayValue:this.getOperatorDisplayValue()??this.getDefaultOptionSelectValue(),cssClass:"ag-advanced-filter-builder-option-pill",isSelect:!0,getEditorParams:()=>({values:this.getOperatorAutocompleteEntries()}),update:e=>this.setOperatorKey(e),pickerAriaLabelKey:"ariaLabelAdvancedFilterBuilderOptionSelectField",pickerAriaLabelValue:"Advanced Filter Builder Option Select Field",ariaLabel:this.advFilterExpSvc.translate("ariaAdvancedFilterBuilderOption")}),this.eColumnPill.getGui().insertAdjacentElement("afterend",this.eOperatorPill.getGui())}createOperandPill(){const{filter:e}=this.filterModel,t=(typeof e=="number"||typeof e=="bigint"?Ze(e):e)??"";this.eOperandPill=this.createPill({key:t,valueFormatter:a=>this.advFilterExpSvc.getOperandDisplayValue({...this.filterModel,filter:a},!0),baseCellDataType:this.baseCellDataType,cssClass:"ag-advanced-filter-builder-value-pill",isSelect:!1,update:a=>this.setOperand(a),ariaLabel:this.advFilterExpSvc.translate("ariaAdvancedFilterBuilderValue")}),this.getGui().appendChild(this.eOperandPill.getGui())}getColumnKey(){return this.filterModel.colId}getColumnDisplayValue(){return this.advFilterExpSvc.getColumnDisplayValue(this.filterModel)}getOperatorKey(){return this.filterModel.type}getOperatorDisplayValue(){return this.advFilterExpSvc.getOperatorDisplayValue(this.filterModel)}getOperandDisplayValue(){return this.advFilterExpSvc.getOperandDisplayValue(this.filterModel,!0)}hasOperand(){return this.numOperands>0}getOperatorAutocompleteEntries(){return this.column?this.advFilterExpSvc.getOperatorAutocompleteEntries(this.column,this.baseCellDataType):[]}setColumnKey(e){this.eOperatorPill||this.createOperatorPill();const t=this.advFilterExpSvc.getColumnDetails(e);this.column=t.column;const a=t.baseCellDataType;this.baseCellDataType!==a&&(this.baseCellDataType=a,this.setOperatorKey(void 0),this.eOperatorPill&&(ue(this.eOperatorPill.getGui()),this.destroyBean(this.eOperatorPill),this.createOperatorPill()),this.validate()),this.filterModel.colId=e,this.filterModel.filterType=this.baseCellDataType}setOperatorKey(e){const t=this.getNumOperands(e);t!==this.numOperands&&(this.numOperands=t,t===0?this.destroyOperandPill():(this.createOperandPill(),this.baseCellDataType!=="number"&&this.setOperand(""))),this.filterModel.type=e,this.validate()}setOperand(e){let t=e;this.baseCellDataType==="number"&&(t=A(e)?Number(e):""),this.filterModel.filter=t,this.validate()}getNumOperands(e){return this.advFilterExpSvc.getExpressionOperator(this.baseCellDataType,e)?.numOperands??0}destroyOperandPill(){delete this.filterModel.filter,this.eOperandPill?.getGui().remove(),this.destroyBean(this.eOperandPill),this.eOperandPill=void 0}validate(){let e=null;A(this.getColumnKey())?A(this.getOperatorKey())?this.numOperands>0&&!A(this.getOperandDisplayValue())&&(e=this.advFilterExpSvc.translate("advancedFilterBuilderValidationEnterValue")):e=this.advFilterExpSvc.translate("advancedFilterBuilderValidationSelectOption"):e=this.advFilterExpSvc.translate("advancedFilterBuilderValidationSelectColumn"),this.item.valid=!e,e!==this.validationMessage&&(this.validationMessage=e,this.dispatchLocalEvent({type:"advancedFilterBuilderValidChanged"}))}getDefaultColumnDisplayValue(){return this.advFilterExpSvc.translate("advancedFilterBuilderSelectColumn")}getDefaultOptionSelectValue(){return this.advFilterExpSvc.translate("advancedFilterBuilderSelectOption")}},r8={number:[ss],bigint:[ct],boolean:[ct],object:[ct],text:[ct],date:[Eo],dateString:[Eo],dateTime:[Eo,e=>e.setIncludeTime(!0)],dateTimeString:[Eo,e=>e.setIncludeTime(!0)]},o8={tag:"div",cls:"ag-advanced-filter-builder-pill-wrapper",role:"presentation",children:[{tag:"div",ref:"ePill",cls:"ag-advanced-filter-builder-pill",role:"button",children:[{tag:"span",ref:"eLabel",cls:"ag-advanced-filter-builder-pill-display"}]}]},i8=class extends T{constructor(e){super(o8),this.params=e,this.ePill=x,this.eLabel=x;const{value:t,valueFormatter:a}=e;this.value=t,this.displayValue=a(t)}wireBeans(e){this.advFilterExpSvc=e.advFilterExpSvc}postConstruct(){const{cssClass:e,ariaLabel:t}=this.params;this.ePill.classList.add(e),this.activateTabIndex([this.ePill]),this.eLabel.id=`${this.getCompId()}`,ri(this.ePill,this.eLabel.id),de(this.ePill,t),this.renderValue(),this.addManagedListeners(this.ePill,{click:a=>{a.preventDefault(),this.showEditor()},keydown:a=>{a.key===w.ENTER&&(a.preventDefault(),Fe(a),this.showEditor())}}),this.addDestroyFunc(()=>this.destroyBean(this.eEditor))}getFocusableElement(){return this.ePill}showEditor(){if(this.eEditor)return;G(this.ePill,!1),this.eEditor=this.createEditorComp(this.params.type),this.eEditor.setValue(this.value);const e=this.eEditor.getGui();this.eEditor.addManagedElementListeners(e,{keydown:t=>{switch(t.key){case w.ENTER:t.preventDefault(),Fe(t),this.updateValue(!0);break;case w.ESCAPE:t.preventDefault(),Fe(t),this.hideEditor(!0);break}},focusout:()=>this.updateValue(!1)}),this.getGui().appendChild(e),this.eEditor.getFocusableElement().focus()}createEditorComp(e){const[t,a]=r8[e],n=this.createBean(new t);return a?.(n),n}hideEditor(e){const{eEditor:t}=this;t&&(this.eEditor=void 0,t.getGui().remove(),this.destroyBean(t),G(this.ePill,!0),e&&this.ePill.focus())}renderValue(){let e;const{displayValue:t,eLabel:a,params:n}=this,{type:r}=n,{classList:o}=a;o.remove("ag-advanced-filter-builder-value-empty","ag-advanced-filter-builder-value-number","ag-advanced-filter-builder-value-text"),A(t)?r==="number"||r==="bigint"?(e=t,o.add("ag-advanced-filter-builder-value-number")):(e=`"${t}"`,o.add("ag-advanced-filter-builder-value-text")):(e=this.advFilterExpSvc.translate("advancedFilterBuilderEnterValue"),o.add("ag-advanced-filter-builder-value-empty")),a.textContent=e}updateValue(e){if(!this.eEditor)return;const t=this.eEditor.getValue()??"";this.dispatchLocalEvent({type:"fieldValueChanged",value:t}),this.value=t,this.displayValue=this.params.valueFormatter(t),this.renderValue(),this.hideEditor(e)}},s8=class extends T{wireBeans(e){this.advFilterExpSvc=e.advFilterExpSvc}constructor(){super({tag:"div",cls:"ag-advanced-filter-builder-item-condition",role:"presentation"})}init(e){const{item:t,createPill:a}=e,n=t.filterModel;this.filterModel=n,this.ePill=a({key:n.type,displayValue:this.advFilterExpSvc.parseJoinOperator(n),cssClass:"ag-advanced-filter-builder-join-pill",isSelect:!0,getEditorParams:()=>({values:this.advFilterExpSvc.getJoinOperatorAutocompleteEntries()}),update:r=>n.type=r,pickerAriaLabelKey:"ariaLabelAdvancedFilterBuilderJoinSelectField",pickerAriaLabelValue:"Advanced Filter Builder Join Operator Select Field",ariaLabel:this.advFilterExpSvc.translate("ariaAdvancedFilterBuilderJoinOperator")}),this.getGui().appendChild(this.ePill.getGui()),this.addDestroyFunc(()=>this.destroyBean(this.ePill))}getDragName(){return this.advFilterExpSvc.parseJoinOperator(this.filterModel)}getAriaLabel(){return`${this.advFilterExpSvc.translate("ariaAdvancedFilterBuilderGroupItem")} ${this.getDragName()}`}getValidationMessage(){return null}getFocusableElement(){return this.ePill.getFocusableElement()}},l8={tag:"div",cls:"ag-picker-field ag-advanced-filter-builder-pill-wrapper",role:"presentation",children:[{tag:"div",ref:"eLabel"},{tag:"div",ref:"eWrapper",cls:"ag-wrapper ag-advanced-filter-builder-pill ag-picker-collapsed",children:[{tag:"div",ref:"eDisplayField",cls:"ag-picker-field-display ag-advanced-filter-builder-pill-display"},{tag:"ag-input-text-field",ref:"eInput",cls:"ag-rich-select-field-input"},{tag:"span",ref:"eDeselect",cls:"ag-rich-select-deselect-button ag-picker-field-icon",role:"presentation"},{tag:"div",ref:"eIcon",cls:"ag-picker-field-icon",attrs:{"aria-hidden":"true"}}]}]},c8=class extends $c{constructor(e){super({...e,template:l8,agComponents:[Gt]}),this.params=e}getFocusableElement(){return this.eWrapper}showPicker(){setTimeout(()=>super.showPicker())}hidePicker(){setTimeout(()=>super.hidePicker())}postConstruct(){super.postConstruct();const{wrapperClassName:e,ariaLabel:t}=this.params;this.eWrapper.classList.add(e),va(this.eWrapper,""),de(this.eWrapper,t)}createPickerComponent(){if(!this.values){const{values:e}=this.params.getEditorParams();this.values=e;const t=this.value.key,a=e.find(n=>n.key===t)??{key:t,displayValue:this.value.displayValue};this.value=a}return super.createPickerComponent()}onEnterKeyDown(e){Fe(e),this.isPickerDisplayed?super.onEnterKeyDown(e):(e.preventDefault(),this.showPicker())}},d8={tag:"div",cls:"ag-advanced-filter-builder-item-wrapper",role:"presentation",children:[{tag:"div",cls:"ag-advanced-filter-builder-item",role:"presentation",children:[{tag:"div",ref:"eTreeLines",cls:"ag-advanced-filter-builder-item-tree-lines",attrs:{"aria-hidden":"true"}},{tag:"span",ref:"eDragHandle",cls:"ag-drag-handle",attrs:{"aria-hidden":"true"}},{tag:"span",ref:"eValidation",cls:"ag-advanced-filter-builder-item-button ag-advanced-filter-builder-invalid",attrs:{"aria-hidden":"true"}}]},{tag:"div",ref:"eButtons",cls:"ag-advanced-filter-builder-item-buttons",children:[{tag:"span",ref:"eMoveUpButton",cls:"ag-advanced-filter-builder-item-button",role:"button"},{tag:"span",ref:"eMoveDownButton",cls:"ag-advanced-filter-builder-item-button",role:"button"},{tag:"div",ref:"eAddButton",role:"presentation"},{tag:"span",ref:"eRemoveButton",cls:"ag-advanced-filter-builder-item-button",role:"button"}]}]},Rp=class extends Er{constructor(e,t,a){super(d8),this.item=e,this.dragFeature=t,this.focusWrapper=a,this.eTreeLines=x,this.eDragHandle=x,this.eButtons=x,this.eValidation=x,this.eMoveUpButton=x,this.eMoveDownButton=x,this.eAddButton=x,this.eRemoveButton=x,this.moveUpDisabled=!1,this.moveDownDisabled=!1}wireBeans(e){this.dragAndDrop=e.dragAndDrop,this.advFilterExpSvc=e.advFilterExpSvc,this.registry=e.registry}postConstruct(){const{filterModel:e,level:t,showMove:a}=this.item,n=e.filterType==="join";if(this.ePillWrapper=this.createManagedBean(n?new s8:new n8),this.ePillWrapper.init({item:this.item,createPill:r=>this.createPill(r)}),this.eDragHandle.insertAdjacentElement("afterend",this.ePillWrapper.getGui()),t===0){const r=re({tag:"div",cls:"ag-advanced-filter-builder-item-tree-line ag-advanced-filter-builder-item-tree-line-vertical-bottom ag-advanced-filter-builder-item-tree-line-root"});this.eTreeLines.appendChild(r),G(this.eDragHandle,!1),G(this.eButtons,!1),ot(this.focusWrapper,!0)}else this.setupTreeLines(t),this.eDragHandle.appendChild(q("advancedFilterBuilderDrag",this.beans)),this.setupValidation(),this.setupMoveButtons(a),this.setupAddButton(),this.setupRemoveButton(),this.setupDragging(),this.updateAriaExpanded();oi(this.focusWrapper,t+1),this.initialiseTabGuard({}),this.createManagedBean(new H0(this.getGui(),this.focusWrapper,this.ePillWrapper)),this.updateAriaLabel(),this.addManagedListeners(this.ePillWrapper,{advancedFilterBuilderValueChanged:()=>this.dispatchLocalEvent({type:"advancedFilterBuilderValueChanged"}),advancedFilterBuilderValidChanged:()=>this.updateValidity()})}setState(e){const{level:t}=this.item;if(t===0)return;const{showMove:a}=this.item,{disableMoveUp:n,disableMoveDown:r,treeLines:o,showStartTreeLine:i}=e;this.updateTreeLines(o,i),this.updateAriaExpanded(),a&&(this.moveUpDisabled=!!n,this.moveDownDisabled=!!r,this.eMoveUpButton.classList.toggle("ag-advanced-filter-builder-item-button-disabled",n),this.eMoveDownButton.classList.toggle("ag-advanced-filter-builder-item-button-disabled",r),ii(this.eMoveUpButton,!!n),ii(this.eMoveDownButton,!!r),this.moveUpTooltipFeature?.refreshTooltip(),this.moveDownTooltipFeature?.refreshTooltip())}focusMoveButton(e){(e?this.eMoveUpButton:this.eMoveDownButton).focus()}afterAdd(){this.ePillWrapper.getFocusableElement().focus()}setupTreeLines(e){for(let t=0;tthis.eValidation,getLocation:()=>"advancedFilter",getTooltipValue:()=>this.ePillWrapper.getValidationMessage(),getTooltipShowDelayOverride:()=>1e3})),this.updateValidity()}setupAddButton(){const e=q0(a=>this.advFilterExpSvc.translate(a),this.gos.get("advancedFilterBuilderParams")?.addSelectWidth),t=this.createManagedBean(new N0(e));this.addManagedListeners(t,{fieldPickerValueSelected:({value:a})=>this.dispatchLocalEvent({type:"advancedFilterBuilderAdded",item:this.item,isJoin:a.key==="join"})}),this.eAddButton.appendChild(t.getGui()),this.createOptionalManagedBean(this.registry.createDynamicBean("tooltipFeature",!1,{getGui:()=>this.eAddButton,getLocation:()=>"advancedFilter",getTooltipValue:()=>this.advFilterExpSvc.translate("advancedFilterBuilderAddButtonTooltip")}))}setupRemoveButton(){this.eRemoveButton.appendChild(q("advancedFilterBuilderRemove",this.beans)),this.addManagedListeners(this.eRemoveButton,{click:()=>this.removeItem(),keydown:e=>{e.key===w.ENTER&&(e.preventDefault(),Fe(e),this.removeItem())}}),this.createOptionalManagedBean(this.registry.createDynamicBean("tooltipFeature",!1,{getGui:()=>this.eRemoveButton,getLocation:()=>"advancedFilter",getTooltipValue:()=>this.advFilterExpSvc.translate("advancedFilterBuilderRemoveButtonTooltip")})),de(this.eRemoveButton,this.advFilterExpSvc.translate("advancedFilterBuilderRemoveButtonTooltip")),this.activateTabIndex([this.eRemoveButton])}setupMoveButtons(e){e?(this.eMoveUpButton.appendChild(q("advancedFilterBuilderMoveUp",this.beans)),this.addManagedListeners(this.eMoveUpButton,{click:()=>this.moveItem(!0),keydown:t=>{t.key===w.ENTER&&(t.preventDefault(),Fe(t),this.moveItem(!0))}}),this.moveUpTooltipFeature=this.createOptionalManagedBean(this.registry.createDynamicBean("tooltipFeature",!1,{getGui:()=>this.eMoveUpButton,getLocation:()=>"advancedFilter",getTooltipValue:()=>this.moveUpDisabled?null:this.advFilterExpSvc.translate("advancedFilterBuilderMoveUpButtonTooltip")})),de(this.eMoveUpButton,this.advFilterExpSvc.translate("advancedFilterBuilderMoveUpButtonTooltip")),this.eMoveDownButton.appendChild(q("advancedFilterBuilderMoveDown",this.beans)),this.addManagedListeners(this.eMoveDownButton,{click:()=>this.moveItem(!1),keydown:t=>{t.key===w.ENTER&&(t.preventDefault(),Fe(t),this.moveItem(!1))}}),this.moveDownTooltipFeature=this.createOptionalManagedBean(this.registry.createDynamicBean("tooltipFeature",!1,{getGui:()=>this.eMoveDownButton,getLocation:()=>"advancedFilter",getTooltipValue:()=>this.moveDownDisabled?null:this.advFilterExpSvc.translate("advancedFilterBuilderMoveDownButtonTooltip")})),de(this.eMoveDownButton,this.advFilterExpSvc.translate("advancedFilterBuilderMoveDownButtonTooltip")),this.activateTabIndex([this.eMoveUpButton,this.eMoveDownButton])):(G(this.eMoveUpButton,!1),G(this.eMoveDownButton,!1))}updateValidity(){Hd(this.eValidation,!this.item.valid),this.validationTooltipFeature?.refreshTooltip(),this.updateAriaLabel()}createPill(e){const{key:t,cssClass:a,update:n,ariaLabel:r}=e,o=i=>{i!=null&&(n(i),this.dispatchLocalEvent({type:"advancedFilterBuilderValueChanged"}))};if(e.isSelect){const{getEditorParams:i,pickerAriaLabelKey:s,pickerAriaLabelValue:l,displayValue:c}=e,d=this.gos.get("advancedFilterBuilderParams"),u=`${d?.pillSelectMinWidth??140}px`,g=`${d?.pillSelectMaxWidth??200}px`,h=this.createBean(new c8({pickerAriaLabelKey:s,pickerAriaLabelValue:l,pickerType:"ag-list",value:{key:t,displayValue:c},valueFormatter:p=>p==null?"":p.displayValue??p.key,variableWidth:!0,minPickerWidth:u,maxPickerWidth:g,getEditorParams:i,wrapperClassName:a,ariaLabel:r,pickerIcon:"advancedFilterBuilderSelectOpen"}));return this.addManagedListeners(h,{fieldPickerValueSelected:({value:p})=>o(p?.key)}),h}else{const{baseCellDataType:i,valueFormatter:s}=e,l=this.createBean(new i8({value:t,valueFormatter:s,cssClass:a,type:i,ariaLabel:r}));return this.addManagedListeners(l,{fieldValueChanged:({value:c})=>o(c)}),l}}setupDragging(){const e={type:ia.AdvancedFilterBuilder,eElement:this.eDragHandle,dragItemName:()=>this.ePillWrapper.getDragName(),getDefaultIconName:()=>"notAllowed",getDragItem:()=>({}),onDragStarted:()=>this.dragFeature.dispatchLocalEvent({type:"advancedFilterBuilderDragStarted",item:this.item}),onDragStopped:()=>this.dragFeature.dispatchLocalEvent({type:"advancedFilterBuilderDragEnded"})};this.dragAndDrop.addDragSource(e,!0),this.addDestroyFunc(()=>this.dragAndDrop.removeDragSource(e))}updateAriaLabel(){const e=this.ePillWrapper.getAriaLabel(),t=`${this.item.level+1}`,a=this.ePillWrapper.getValidationMessage();let n;a?n=this.advFilterExpSvc.translate("ariaAdvancedFilterBuilderItemValidation",[e,t,a]):n=this.advFilterExpSvc.translate("ariaAdvancedFilterBuilderItem",[e,t]),de(this.focusWrapper,n)}updateAriaExpanded(){Vd(this.focusWrapper);const{filterModel:e}=this.item;e?.filterType==="join"&&e.conditions.length&&ot(this.focusWrapper,!0)}removeItem(){this.dispatchLocalEvent({type:"advancedFilterBuilderRemoved",item:this.item})}moveItem(e){this.dispatchLocalEvent({type:"advancedFilterBuilderMoved",item:this.item,backwards:e})}},u8={apply:"advancedFilterBuilderApply",clear:"advancedFilterBuilderClear",cancel:"advancedFilterBuilderCancel",reset:"advancedFilterBuilderReset"},g8={tag:"div",cls:"ag-advanced-filter-builder",role:"presentation",attrs:{tabindex:"-1"},children:[{tag:"div",ref:"eList",cls:"ag-advanced-filter-builder-list",role:"presentation"}]},h8=class extends T{constructor(){super(g8),this.eList=x}wireBeans(e){this.filterManager=e.filterManager,this.advancedFilter=e.advancedFilter,this.advFilterExpSvc=e.advFilterExpSvc}postConstruct(){const e=this.gos.get("advancedFilterBuilderParams");this.params={buttons:["apply","cancel"],...e},this.addManagedPropertyListener("advancedFilterBuilderParams",({currentValue:t})=>{this.params.showMoveButtons=!!t?.showMoveButtons,this.params.buttons=t?.buttons??["apply","cancel"],this.refreshList(!1)}),this.filterModel=this.setupFilterModel(),this.setupVirtualList(),this.dragFeature=this.createManagedBean(new BN(this,this.virtualList)),this.resetButtonsPanel(this.params.buttons)}refresh(){const e=this.virtualList;let t=e.getLastFocusedRow();this.setupFilterModel(),this.validateItems(),this.refreshList(!1),t!=null&&(e.getComponentAt(t)||(t=0),e.focusRow(t))}getNumItems(){return this.items.length}moveItem(e,t){!t||!e||this.moveItemToIndex(e,t.rowIndex,t.position)}afterGuiAttached(){this.virtualList.awaitStable(()=>this.virtualList.focusRow(0))}setupVirtualList(){const e=this.virtualList=this.createManagedBean(new Vo({cssIdentifier:"advanced-filter-builder",ariaRole:"tree",listName:this.advFilterExpSvc.translate("ariaAdvancedFilterBuilderList"),moveItemCallback:this.virtualListMoveItemCallback.bind(this)}));e.setComponentCreator(this.createItemComponent.bind(this)),e.setComponentUpdater(this.updateItemComponent.bind(this)),e.setRowHeight(40),this.eList.appendChild(e.getGui()),e.setModel({getRowCount:()=>this.items?.length||0,getRow:t=>this.items[t],areRowsEqual:(t,a)=>t===a}),this.buildList(),e.refresh()}resetButtonsPanel(e){const t=e&&e.length>0;let a=this.eButtons;if(t){const n=e.map(o=>({type:o,label:this.advFilterExpSvc.translate(u8[o])}));if(!a){a=this.createBean(new Po),this.appendChild(a.getGui());const o=i=>({event:s})=>{this.updateModel(i),this.afterAction(i,s)};a.addManagedListeners(a,{apply:o("apply"),clear:o("clear"),reset:o("reset"),cancel:o("cancel")}),this.eButtons=a}a.updateButtons(n);const r=a.getApplyButton();if(r){const o=i=>this.toggleCss("ag-advanced-filter-builder-validation",i);this.addManagedElementListeners(r,{mouseenter:()=>o(!0),mouseleave:()=>o(!1)})}}else a&&(ue(a.getGui()),this.eButtons=this.destroyBean(a))}updateModel(e){switch(e){case"apply":this.advancedFilter.setModel(this.filterModel),this.filterManager?.onFilterChanged({source:"advancedFilter"});break;case"reset":this.advancedFilter.setModel(null),this.filterManager?.onFilterChanged({source:"advancedFilter"});break;case"cancel":break;case"clear":this.filterModel=this.formatFilterModel(null),this.refreshList(!1);break}}afterAction(e,t){switch(e){case"apply":{t?.preventDefault(),this.close();break}case"reset":{this.close();break}case"cancel":{this.close();break}}}removeItemFromParent(e){const t=e.parent.conditions.indexOf(e.filterModel);return e.parent.conditions.splice(t,1),t}moveItemToIndex(e,t,a){const n=this.items[t],r=n.filterModel?.filterType==="join"&&a==="bottom",o=r?n.filterModel:n.parent;if(!o||this.isChildOrSelf(o,e.filterModel)||n===e)return;this.removeItemFromParent(e);let i;r?i=0:(i=o.conditions.indexOf(n.filterModel),i===-1?i=o.conditions.length:a==="bottom"&&(i+=1)),o.conditions.splice(i,0,e.filterModel),this.refreshList(!1)}isChildOrSelf(e,t){return e===t||t.filterType==="join"&&t.conditions.some(a=>this.isChildOrSelf(e,a))}setupFilterModel(){const e=this.formatFilterModel(this.advancedFilter.getModel());return this.stringifiedModel=JSON.stringify(e),e}formatFilterModel(e){return e=e??{filterType:"join",type:"AND",conditions:[]},e.filterType!=="join"&&(e={filterType:"join",type:"AND",conditions:[e]}),e}buildList(){const e=(t,a,n,r)=>{if(a.push({filterModel:t,level:n,parent:r,valid:!0,showMove:this.params.showMoveButtons}),t.filterType==="join"){for(const o of t.conditions)e(o,a,n+1,t);n===0&&a.push({filterModel:null,level:n+1,parent:t,valid:!0})}};this.items=[],e(this.filterModel,this.items,0)}refreshList(e){if(!e){const t=[];for(const a of this.items)a.valid||t.push(a.filterModel);if(this.buildList(),t.length)for(const a of this.items)a.filterModel&&t.includes(a.filterModel)&&(a.valid=!1)}this.virtualList.refresh(e),this.validate()}updateItemComponent(e,t){const a=this.items.indexOf(e),n=(s,l)=>{const d=this.items.find(u=>u.filterModel===s)?.parent;if(d){const{conditions:u}=d;n(d,l),l.push(u[u.length-1]===s)}},r=[],{filterModel:o}=e;o&&(n(o,r),r[0]=!1);const i=o?.filterType==="join"&&!!o.conditions.length;t.setState({disableMoveUp:a===1,disableMoveDown:!this.canMoveDown(e,a),treeLines:r,showStartTreeLine:i})}createItemComponent(e,t){const a=this.createBean(e.filterModel?new Rp(e,this.dragFeature,t):new a8(e,t));return a.addManagedListeners(a,{advancedFilterBuilderRemoved:({item:n})=>this.removeItem(n),advancedFilterBuilderValueChanged:()=>this.validate(),advancedFilterBuilderAdded:({item:n,isJoin:r})=>this.addItem(n,r),advancedFilterBuilderMoved:({item:n,backwards:r})=>this.moveItemUpDown(n,r)}),a instanceof Rp&&this.updateItemComponent(e,a),a}addItem(e,t){const{parent:a,level:n,filterModel:r}=e,o=r?.filterType==="join",i=t?{filterType:"join",type:"AND",conditions:[]}:{},s=o?r:a;let l=o?0:s.conditions.indexOf(r);l>=0?(o||(l+=1),s.conditions.splice(l,0,i)):s.conditions.push(i);let c=this.items.indexOf(e);const d=c>=0;if(d){e.filterModel&&c++;const u=[{filterModel:i,level:o?n+1:n,parent:s,valid:t,showMove:this.params.showMoveButtons}];this.items.splice(c,0,...u)}this.refreshList(d),d&&this.virtualList.getComponentAt(c)?.afterAdd()}removeItem(e){const t=e.parent,{filterModel:a}=e,n=t.conditions.indexOf(a);t.conditions.splice(n,1);const r=e.filterModel?.filterType==="join",o=this.items.indexOf(e),i=!r&&o>=0;i&&this.items.splice(o,1),this.refreshList(i),o>=0&&this.virtualList.focusRow(o)}moveItemUpDown(e,t,a){const n=this.items.indexOf(e),r=t?n-1:n+1;if(r===0||!t&&!this.canMoveDown(e,n))return;const o=this.items[r],i=this.removeItemFromParent(e),{level:s,filterModel:l,parent:c}=e,{level:d,filterModel:u,parent:g}=o;if(t)if(d===s&&u.filterType==="join")u.conditions.push(l);else if(d<=s){const f=g.conditions.indexOf(u);g.conditions.splice(f,0,l)}else c.conditions[i-1].conditions.push(l);else if(d===s)if(u.filterType==="join")u.conditions.splice(0,0,l);else{const f=g.conditions.indexOf(u);g.conditions.splice(f+1,0,l)}else if(iv.filterModel===c),m=f.parent.conditions.indexOf(f.filterModel)+1;f.parent.conditions.splice(m,0,l)}this.refreshList(!1);const h=this.items.findIndex(({filterModel:f})=>f===l);if(h<0)return;const p=this.virtualList.getComponentAt(h);p instanceof Rp&&(a||p.focusMoveButton(t))}virtualListMoveItemCallback(e,t){const a=e.item,n=this.items.indexOf(a);n<=0||n===this.items.length-1||t&&n===1||!t&&!this.canMoveDown(a,n)||(this.moveItemUpDown(a,t,!0),this.virtualList.focusRow(n+(t?-1:1)))}canMoveDown(e,t){return!(e.level===1&&t===this.items.length-2||e.level===1&&e.parent.conditions[e.parent.conditions.length-1]===e.filterModel)}close(){this.advancedFilter.getCtrl().toggleFilterBuilder({source:"ui"})}validate(){let e=this.items.every(({valid:a})=>a),t=null;e?(e=JSON.stringify(this.filterModel)!==this.stringifiedModel,e||(t=this.advFilterExpSvc.translate("advancedFilterBuilderValidationAlreadyApplied"))):t=this.advFilterExpSvc.translate("advancedFilterBuilderValidationIncomplete"),this.eButtons?.updateValidity(e,t)}validateItems(){const e=a=>{a.type=void 0},t=a=>{delete a.filter};for(const a of this.items){if(!a.valid||!a.filterModel||a.filterModel.filterType==="join")continue;const{filterModel:n}=a,{colId:r}=n,o=this.advFilterExpSvc.getColumnAutocompleteEntries().find(({key:c})=>c===r),i=this.advFilterExpSvc.getColumnDetails(n.colId);if(!o||!i.column){a.valid=!1,n.colId=void 0,e(n),t(n);continue}const l=this.advFilterExpSvc.getDataTypeExpressionOperator(i.baseCellDataType).operators[n.type];if(!l){a.valid=!1,e(n),t(n);continue}l.numOperands>0&&!A(n.filter)&&(a.valid=!1)}}},p8=class extends F{constructor(e){super(),this.enabled=e}wireBeans(e){this.ctrlsSvc=e.ctrlsSvc,this.popupSvc=e.popupSvc,this.advFilterExpSvc=e.advFilterExpSvc,this.environment=e.environment}postConstruct(){this.hasAdvancedFilterParent=!!this.gos.get("advancedFilterParent"),this.ctrlsSvc.whenReady(this,()=>this.setAdvancedFilterComp()),this.addManagedEventListeners({advancedFilterEnabledChanged:({enabled:e})=>this.onEnabledChanged(e)}),this.addManagedPropertyListener("advancedFilterParent",()=>this.updateComps()),this.addManagedPropertyListener("advancedFilterBuilderParams",e=>{e.currentValue?.suppressFullScreenButton!==e.previousValue?.suppressFullScreenButton&&this.eBuilderDialog?.setMaximizable(e.currentValue?.suppressFullScreenButton??!0)}),this.addDestroyFunc(()=>{this.destroyAdvancedFilterComp(),this.destroyBean(this.eBuilderComp),this.eBuilderDialog?.isAlive()&&this.destroyBean(this.eBuilderDialog)})}setupHeaderComp(e){this.eHeaderComp&&(this.eHeaderComp?.getGui().remove(),this.destroyBean(this.eHeaderComp)),this.eHeaderComp=this.createManagedBean(new VN(this.enabled&&!this.hasAdvancedFilterParent)),e.insertAdjacentElement("beforebegin",this.eHeaderComp.getGui())}focusHeaderComp(){return this.eHeaderComp?(this.eHeaderComp.getFocusableElement().focus(),!0):!1}refreshComp(){this.eFilterComp?.refresh(),this.eHeaderComp?.refresh()}refreshBuilderComp(){this.eBuilderComp?.refresh()}getHeaderHeight(){return this.eHeaderComp?.getHeight()??0}setInputDisabled(e){this.eFilterComp?.setInputDisabled(e),this.eHeaderComp?.setInputDisabled(e)}toggleFilterBuilder(e){const{source:t,force:a,eventSource:n}=e;if(a&&this.eBuilderDialog||a===!1&&!this.eBuilderDialog)return;if(this.eBuilderDialog){this.builderDestroySource=t,this.destroyBean(this.eBuilderDialog);return}this.setInputDisabled(!0);const{width:r,height:o,minWidth:i}=this.getBuilderDialogSize(),{suppressFullScreenButton:s}={suppressFullScreenButton:!1,...this.gos.get("advancedFilterBuilderParams")};this.eBuilderComp=this.createBean(new h8),this.eBuilderDialog=this.createBean(new Zc({title:this.advFilterExpSvc.translate("advancedFilterBuilderTitle"),component:this.eBuilderComp,width:r,height:o,resizable:!0,movable:!0,maximizable:!s,centered:!0,closable:!0,minWidth:i,afterGuiAttached:()=>this.eBuilderComp?.afterGuiAttached(),postProcessPopupParams:{type:"advancedFilterBuilder",eventSource:n}})),this.dispatchFilterBuilderVisibleChangedEvent(t,!0),this.eBuilderDialog.addEventListener("destroyed",()=>{this.destroyBean(this.eBuilderComp),this.eBuilderComp=void 0,this.eBuilderDialog=void 0,this.setInputDisabled(!1),this.dispatchLocalEvent({type:"advancedFilterBuilderClosed"}),this.dispatchFilterBuilderVisibleChangedEvent(this.builderDestroySource??"ui",!1),this.builderDestroySource=void 0})}dispatchFilterBuilderVisibleChangedEvent(e,t){this.eventSvc.dispatchEvent({type:"advancedFilterBuilderVisibleChanged",source:e,visible:t})}getBuilderDialogSize(){const e=this.gos.get("advancedFilterBuilderParams")?.minWidth??500,t=this.popupSvc.getPopupParent(),a=Math.round(yn(t))-2,n=Math.round(gi(t)*.75)-2,r=Math.min(Math.max(700,e),a),o=Math.min(600,n);return{width:r,height:o,minWidth:e}}onEnabledChanged(e){this.enabled=e,this.updateComps()}updateComps(){this.setAdvancedFilterComp(),this.setHeaderCompEnabled(),this.eventSvc.dispatchEvent({type:"headerHeightChanged"})}setAdvancedFilterComp(){if(this.destroyAdvancedFilterComp(),!this.enabled)return;const e=this.gos.get("advancedFilterParent");if(this.hasAdvancedFilterParent=!!e,e){const t=this.createBean(new L0),a=t.getGui();this.environment.applyThemeClasses(a),a.classList.add(this.gos.get("enableRtl")?"ag-rtl":"ag-ltr"),e.appendChild(a),this.eFilterComp=t}}setHeaderCompEnabled(){this.eHeaderComp?.setEnabled(this.enabled&&!this.hasAdvancedFilterParent)}destroyAdvancedFilterComp(){this.eFilterComp&&(ue(this.eFilterComp.getGui()),this.destroyBean(this.eFilterComp))}},f8=class{constructor(e){this.params=e,this.operators=[],this.operatorStartPositions=[],this.operatorEndPositions=[],this.activeOperator=0,this.validationError=null}parseExpression(e){this.operators.push(""),this.operatorStartPositions.push(e),this.operatorEndPositions.push(void 0);const{expression:t}=this.params;for(;er===this.parsedOperator)),this.params.advFilterExpSvc.generateAutocompleteListParams(n,"join",a)}updateExpression(e,t,a){let{expression:n}=this.params;const r=t.displayValue??t.key;if(a===0)for(let s=this.operatorEndPositions.length-1;s>0;s--){const l=this.operatorEndPositions[s];l!=null&&(n=Xn(n,this.operatorStartPositions[s],l,r).updatedValue)}const o=this.operatorStartPositions.length>a?this.operatorStartPositions[a]:e,i=(this.operatorEndPositions.length>a?this.operatorEndPositions[a]:void 0)??vp(n,e,!0).endPosition;return Xn(n,o,i,r,!0)}getNumOperators(){return this.operators.length}getLastOperatorEndPosition(){return this.operatorEndPositions[this.operatorEndPositions.length-1]}parseOperator(e){const t=this.operators.length>this.activeOperator?this.operators[this.activeOperator]:"",a=this.params.advFilterExpSvc.getExpressionJoinOperators(),n=Qc(t,a,r=>r);if(n){this.operatorEndPositions[this.activeOperator]=e;const r=a[n];if(this.activeOperator){if(n!==this.parsedOperator)return this.validationError||(this.validationError={message:this.params.advFilterExpSvc.translate("advancedFilterValidationJoinOperatorMismatch"),startPosition:e-t.length+1,endPosition:e}),!1}else this.parsedOperator=n;return t!==r&&(Cp(this.params,t,r,e),this.operators[this.activeOperator]=r),!0}else return n===null?!1:(this.validationError||(this.validationError={message:this.params.advFilterExpSvc.translate("advancedFilterValidationInvalidJoinOperator"),startPosition:e-t.length+1,endPosition:e}),!0)}},m8=class jk{constructor(t,a){this.params=t,this.startPosition=a,this.expectingExpression=!0,this.expectingOperator=!1,this.expressionParsers=[],this.operatorParser=new f8(this.params),this.missingEndBracket=!1,this.extraEndBracket=!1}parseExpression(){let t=this.startPosition;const{expression:a}=this.params;for(;t0&&(this.missingEndBracket=!0),t}isValid(){return!this.missingEndBracket&&!this.extraEndBracket&&this.expressionParsers.length===this.operatorParser.getNumOperators()+1&&this.operatorParser.isValid()&&this.expressionParsers.every(t=>t.isValid())}getValidationError(){const t=this.operatorParser.getValidationError();for(let n=0;no.getFunction(t)),r=a==="&&"?"every":"some";return(o,i,s)=>n[r](l=>l(o,i,s))}getAutocompleteListParams(t){if(this.endPosition!=null&&t>this.endPosition+1)return;if(!this.expressionParsers.length)return this.getColumnAutocompleteListParams();const a=this.getExpressionParserIndex(t);if(a==null)return this.params.expression[t]==="("?{enabled:!1}:this.getColumnAutocompleteListParams();const r=this.expressionParsers[a].getAutocompleteListParams(t);if(!r){if(athis.endPosition+1?null:this.operatorParser.updateExpression(t,a,o))}getModel(){return this.expressionParsers.length>1?{filterType:"join",type:this.operatorParser.getModel(),conditions:this.expressionParsers.map(t=>t.getModel())}:this.expressionParsers[0].getModel()}getColumnAutocompleteListParams(){return this.params.advFilterExpSvc.generateAutocompleteListParams(this.params.advFilterExpSvc.getColumnAutocompleteEntries(),"column","")}getExpressionParserIndex(t){let a;for(let n=0;nt);n++)a=n;return a}},v8=class{constructor(e){this.params=e,this.valid=!1}parseExpression(){this.joinExpressionParser=new m8(this.params,0);const e=this.joinExpressionParser.parseExpression();return this.valid=e>=this.params.expression.length-1&&this.joinExpressionParser.isValid(),this.params.expression}isValid(){return this.valid}getValidationMessage(){const e=this.joinExpressionParser.getValidationError();if(!e)return null;const{message:t,startPosition:a,endPosition:n}=e;return a{const a=this.colModel.getColDefCol(e);return a?this.filterValueSvc.getValue(a,t):void 0}},this.addManagedPropertyListener("enableAdvancedFilter",e=>this.setEnabled(!!e.currentValue)),this.addManagedEventListeners({newColumnsLoaded:e=>this.onNewColumnsLoaded(e)}),this.addManagedPropertyListener("includeHiddenColumnsInAdvancedFilter",()=>{this.updateValidity()&&this.filterManager?.onFilterChanged({source:"advancedFilter"})})}isEnabled(){return this.enabled}isFilterPresent(){return!!this.expressionFunction}doesFilterPass(e){return this.expressionFunction(this.expressionProxy,e,this.expressionParams)}getModel(){const e=this.createExpressionParser(this.appliedExpression);return e?.parseExpression(),e?.getModel()??null}setModel(e){const t=(n,r)=>{if(n.filterType==="join"){const o=this.advFilterExpSvc.parseJoinOperator(n),i=n.conditions.map(s=>t(s)).filter(s=>A(s)).join(` ${o} `);return r||n.conditions.length<=1?i:`(${i})`}else return this.advFilterExpSvc.parseColumnFilterModel(n)},a=e?t(e,!0):null;this.setExpressionDisplayValue(a),this.applyExpression(),this.ctrl.refreshComp(),this.ctrl.refreshBuilderComp()}getExpressionDisplayValue(){return this.expression}setExpressionDisplayValue(e){this.expression=e}isCurrentExpressionApplied(){return this.appliedExpression===this.expression}createExpressionParser(e){return e?new v8({expression:e,colModel:this.colModel,dataTypeSvc:this.dataTypeSvc,valueSvc:this.valueSvc,advFilterExpSvc:this.advFilterExpSvc}):null}getDefaultExpression(e){const t=this.advFilterExpSvc.getColumnValue(e)+" ";return{updatedValue:t,updatedPosition:t.length}}isHeaderActive(){return!this.gos.get("advancedFilterParent")}getCtrl(){return this.ctrl}setEnabled(e,t){const a=this.enabled,n=se(this.gos)||ft(this.gos);e&&!n&&R(123),this.enabled=e&&n,!t&&this.enabled!==a&&this.eventSvc.dispatchEvent({type:"advancedFilterEnabledChanged",enabled:this.enabled})}applyExpression(){const e=this.createExpressionParser(this.expression);e?.parseExpression(),this.applyExpressionFromParser(e)}getAppliedExpressionDisplayValue(){return this.appliedExpression}applyExpressionFromParser(e){if(this.isValid=!e||e.isValid(),!e||!this.isValid){this.expressionFunction=null,this.expressionParams=null,this.appliedExpression=null;return}const{expressionFunction:t,params:a}=e.getFunction();this.expressionFunction=t,this.expressionParams=a,this.appliedExpression=this.expression}updateValidity(){this.advFilterExpSvc.resetColumnCaches();const e=this.createExpressionParser(this.expression);e?.parseExpression();const a=(!e||e.isValid())!==this.isValid;return this.applyExpressionFromParser(e),this.ctrl.refreshComp(),this.ctrl.refreshBuilderComp(),a}onNewColumnsLoaded(e){if(e.source!=="gridInitializing"||!this.dataTypeSvc?.isPendingInference)return;this.ctrl.setInputDisabled(!0);const[t]=this.addManagedEventListeners({dataTypesInferred:()=>{t?.(),this.ctrl.setInputDisabled(!1)}})}},W0={moduleName:"AdvancedFilter",version:Q,beans:[C8,PN],icons:{advancedFilterBuilder:"group",advancedFilterBuilderDrag:"grip",advancedFilterBuilderInvalid:"not-allowed",advancedFilterBuilderMoveUp:"up",advancedFilterBuilderMoveDown:"down",advancedFilterBuilderAdd:"plus",advancedFilterBuilderRemove:"minus",advancedFilterBuilderSelectOpen:"small-down",richSelectRemove:"cancel",richSelectLoading:"loading"},apiFunctions:{getAdvancedFilterModel:CN,setAdvancedFilterModel:bN,showAdvancedFilterBuilder:wN,hideAdvancedFilterBuilder:yN},dependsOn:[le,gs,Gn,ja,Dc,mc],css:[vN]},Bo=class{constructor(e){this._defs={},this._nullable=!1,this.description=e}_collectNestedDefs(e){const t={...this._defs};for(const a of e)a&&typeof a=="object"&&"$defs"in a&&(Object.assign(t,a.$defs),delete a.$defs);return t}_toJSON(e={}){const t={type:this._nullable?[this.type,"null"]:this.type,description:this.description,...e};return Object.keys(this._defs).length>0&&(t.$defs=this._defs),t}nullable(){return this._nullable=!0,this}define(e,t){return this._defs[e]=t,this}},b8=class extends Bo{constructor(e){super(typeof e=="string"?e:e?.description),this.type="string",typeof e=="object"&&e&&(this._pattern=e.pattern,this._format=e.format)}pattern(e){return this._pattern=e,this}format(e){return this._format=e,this}toJSON(){return this._toJSON({pattern:this._pattern,format:this._format})}},w8=class extends Bo{constructor(e){super(typeof e=="string"?e:e?.description),this.type="number",typeof e=="object"&&e&&(this._minimum=e.minimum,this._maximum=e.maximum,this._exclusiveMinimum=e.exclusiveMinimum,this._exclusiveMaximum=e.exclusiveMaximum,this._multipleOf=e.multipleOf)}minimum(e){return this._minimum=e,this}exclusiveMinimum(e){return this._exclusiveMinimum=e,this}maximum(e){return this._maximum=e,this}exclusiveMaximum(e){return this._exclusiveMaximum=e,this}multipleOf(e){return this._multipleOf=e,this}toJSON(){return this._toJSON({minimum:this._minimum,exclusiveMinimum:this._exclusiveMinimum,maximum:this._maximum,exclusiveMaximum:this._exclusiveMaximum,multipleOf:this._multipleOf})}},U0=class extends Bo{constructor(e,t){super(t),this._enum=e,this.type="string"}toJSON(){return this._toJSON({enum:this._enum})}},y8=class extends U0{constructor(e,t){super([e],t)}},S8=class extends Bo{constructor(e){super(e),this.type="boolean"}toJSON(){return this._toJSON()}},x8=class extends Bo{constructor(e,t){super(typeof t=="string"?t:t?.description),this.items=e,this.type="array",typeof t=="object"&&t&&(this._minItems=t.minItems,this._maxItems=t.maxItems)}minItems(e){return this._minItems=e,this}maxItems(e){return this._maxItems=e,this}toJSON(){const e=this.items.toJSON(),t=this._collectNestedDefs([e]);return this._defs=t,this._toJSON({items:e,minItems:this._minItems,maxItems:this._maxItems})}},k8=class extends Bo{constructor(e,t){super(t),this.properties=e,this.type="object"}toJSON(){const e=Object.fromEntries(Object.keys(this.properties).map(a=>[a,this.properties[a].toJSON()])),t=this._collectNestedDefs(Object.values(e));return this._defs=t,this._toJSON({required:Object.keys(this.properties),additionalProperties:!1,properties:e})}},R8=class{constructor(e,t){this.schemas=e,this._nullable=!1,this._defs={},this.description=t}nullable(){return this._nullable=!0,this}define(e,t){return this._defs[e]=t,this}_collectNestedDefs(e){const t=this._defs;for(const a of e)a&&typeof a=="object"&&"$defs"in a&&(Object.assign(t,a.$defs),delete a.$defs);return t}toJSON(){const e=this.schemas.map(n=>n.toJSON()),t=this._collectNestedDefs(e),a={anyOf:this._nullable?[...e,{type:"null"}]:e};return this.description&&(a.description=this.description),Object.keys(t).length>0&&(a.$defs=t),a}},F8=class{constructor(e){this.id=e}nullable(){return this}toJSON(){return{$ref:`#/$defs/${this.id}`}}},z={string:e=>new b8(e),number:e=>new w8(e),enum:(e,t)=>new U0(e,t),boolean:e=>new S8(e),array:(e,t)=>new x8(e,t),object:(e,t)=>new k8(e,t),union:(e,t)=>new R8(e,t),literal:(e,t)=>new y8(e,t),ref:e=>new F8(e)},M8=e=>{const{aggFuncSvc:t}=e;if(!t)return;const n=e.colModel.getCols().filter(r=>r.isAllowValue()&&t.getFuncNames(r).length>0);if(n.length!==0)return z.object({aggregationModel:z.array(z.union(n.map(r=>z.object({colId:z.literal(r.getColId(),"Column identifier"),aggFunc:z.enum(e.aggFuncSvc?.getFuncNames(r)||[],"Aggregation function")}))),"Array of column aggregations")},"Aggregation configuration for the grid").nullable()},E8=e=>{const a=e.colModel.getCols().filter(r=>r.isResizable());if(a.length===0)return;const n=a.map(r=>r.getColId());return z.object({columnSizingModel:z.array(z.union([z.object({colId:z.ref("resizableColumnId"),width:z.number("Fixed width in pixels").minimum(20)}),z.object({colId:z.ref("resizableColumnId"),flex:z.number("Flex sizing ratio").minimum(0)})]),"Array of column sizing configurations")},"Column sizing configuration for the grid").define("resizableColumnId",z.enum(n,"Column ID that supports resizing"))},P8=()=>z.object({hiddenColIds:z.array(z.ref("allColumnIds"),"Array of column IDs to hide")},"Column visibility configuration for the grid").nullable(),A8=({colModel:e,dataTypeSvc:t})=>{if(!t)return;const a=e.getCols(),n={boolean:[],object:[],date:[],dateString:[],dateTime:[],dateTimeString:[],number:[],bigint:[],text:[]};for(const i of a){const s=t.getBaseDataType(i);s&&n[s].push(i.colId)}const r=[],o={};for(const i of Object.keys(n))if(n[i].length>0){const s=`${i}AdvancedFilterModel`,l=N8[i];o[s]=l(n[i]),r.push({$ref:`#/$defs/${s}`})}return o.joinAdvancedFilterModel=z.object({filterType:z.literal("join","Filter type identifier for joining multiple advanced filter conditions"),type:z.enum(["AND","OR"],"Logical operator to combine multiple advanced filter conditions"),conditions:z.array(z.ref("advancedFilterModel"),"Array of advanced filter conditions to be combined")}),o.advancedFilterModel={anyOf:[...r,{$ref:"#/$defs/joinAdvancedFilterModel"}]},z.object({advancedFilterModel:z.ref("advancedFilterModel")},"Advanced filter configuration for the grid").nullable()},T8=e=>z.object({filterType:z.literal("boolean","Filter type identifier for boolean column filters"),colId:z.enum(e,"Column identifier for the boolean column to filter"),type:z.enum(["true","false"],"Boolean value to filter by")}),D8=e=>z.object({filterType:z.literal("object","Filter type identifier for object column filters"),colId:z.enum(e,"Column identifier for the object column to filter"),filter:z.string("Filter value to compare against object column values").nullable(),type:z.enum(["equals","notEqual","contains","notContains","startsWith","endsWith","blank","notBlank"],"Object filter operation type")}),I8=e=>z.object({filterType:z.literal("date","Filter type identifier for date column filters"),colId:z.enum(e,"Column identifier for the date column to filter"),filter:z.string({pattern:"^\\d{4}-\\d{2}-\\d{2}$",description:"Date value in YYYY-MM-DD format"}).nullable(),type:z.enum(["equals","notEqual","lessThan","lessThanOrEqual","greaterThan","greaterThanOrEqual","blank","notBlank"],"Date filter operation type")}),L8=e=>z.object({filterType:z.literal("date","Filter type identifier for date string column filters"),colId:z.enum(e,"Column identifier for the date string column to filter"),filter:z.string({pattern:"^\\d{4}-\\d{2}-\\d{2}$",description:"Date value in YYYY-MM-DD format"}).nullable(),type:z.enum(["equals","notEqual","lessThan","lessThanOrEqual","greaterThan","greaterThanOrEqual","blank","notBlank"],"Date string filter operation type")}),z8=e=>z.object({filterType:z.literal("dateTime","Filter type identifier for datetime column filters"),colId:z.enum(e,"Column identifier for the datetime column to filter"),filter:z.string({pattern:"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}$",description:"DateTime value in YYYY-MM-DDTHH:mm:ss format"}).nullable(),type:z.enum(["equals","notEqual","lessThan","lessThanOrEqual","greaterThan","greaterThanOrEqual","blank","notBlank"],"DateTime filter operation type")}),O8=e=>z.object({filterType:z.literal("dateTimeString","Filter type identifier for datetime string column filters"),colId:z.enum(e,"Column identifier for the datetime string column to filter"),filter:z.string({pattern:"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",description:"DateTime value in YYYY-MM-DD HH:mm:ss format"}).nullable(),type:z.enum(["equals","notEqual","lessThan","lessThanOrEqual","greaterThan","greaterThanOrEqual","blank","notBlank"],"DateTime string filter operation type")}),G8=e=>z.object({filterType:z.literal("number","Filter type identifier for number column filters"),colId:z.enum(e,"Column identifier for the number column to filter"),filter:z.number("Numeric value to filter by").nullable(),type:z.enum(["equals","notEqual","lessThan","lessThanOrEqual","greaterThan","greaterThanOrEqual","blank","notBlank"],"Number filter operation type")}),V8=e=>z.object({filterType:z.literal("bigint","Filter type identifier for bigint column filters"),colId:z.enum(e,"Column identifier for the bigint column to filter"),filter:z.string({pattern:"^-?\\d+$",description:"BigInt value to filter by"}).nullable(),type:z.enum(["equals","notEqual","lessThan","lessThanOrEqual","greaterThan","greaterThanOrEqual","blank","notBlank"],"BigInt filter operation type")}),B8=e=>z.object({filterType:z.literal("text","Filter type identifier for text column filters"),colId:z.enum(e,"Column identifier for the text column to filter"),filter:z.string("Text value to filter by").nullable(),type:z.enum(["equals","notEqual","contains","notContains","startsWith","endsWith","blank","notBlank"],"Text filter operation type")}),N8={boolean:T8,object:D8,date:I8,dateString:L8,dateTime:z8,dateTimeString:O8,number:G8,bigint:V8,text:B8},H8="agTextColumnFilter",j0="agNumberColumnFilter",_0="agDateColumnFilter",q8="agSetColumnFilter",W8="agMultiColumnFilter",U8=[H8,j0,_0],j8=(e,t)=>{const{advancedFilter:a}=e;return a?.isEnabled()?A8(e):_8(e,t)},_8=(e,t)=>{const{gos:a,colFilter:n,colModel:r}=e;if(!n)return;const i=r.getCols().filter(c=>c.isFilterAllowed());if(i.length===0)return;const s={},l=a.get("enableFilterHandlers");for(const c of i){const d=t?.columns?t.columns[c.getColId()]:void 0,u=c.getColDef(),g=n.getDefaultFilter(c),h=d?.includeSetValues??!1,p=K0(u.filter,u.filterParams,g,(f=!1,m=0)=>{if(!h)return[];let v;return f?l&&(v=n.getHandler(c,!0).getHandler(m)):v=n.getHandler(c,!0),v?v.getFilterKeys():[]});p&&(s[c.colId]=p.nullable())}return z.object({filterModel:z.object(s)}).nullable()};function K0(e,t,a,n){let r;if(typeof e=="string"?r=e:typeof e=="object"&&typeof e.component=="string"?r=e.component:(e===!0||typeof e=="object"&&e.component===!0)&&(r=a),!r)return null;if(U8.includes(r)){const o=t?.maxNumConditions,i=t?.filterOptions?t.filterOptions.map(l=>typeof l=="string"?l:typeof l=="object"&&l.displayKey?l.displayKey:null).filter(Boolean):void 0,s=t?.useIsoSeparator||!1;return K8(r,{maxConditions:o,filterOptions:i,useIsoSeparator:s})}else{if(r===q8)return X8(n);if(r===W8)return J8(t.filters,a,n)}return null}var K8=(e,t)=>e===_0?Z8(t):e===j0?Q8(t):Y8(t),Fp=(e,t,a=2)=>a===1?e:z.object({filterType:z.literal(t,`Filter type identifier for ${t} filters with multiple conditions`),operator:z.enum(["AND","OR"],"Logical operator to combine multiple filter conditions. Must be included even with a single filter to adhere to the API."),conditions:z.array(e,"Array of filter conditions to be combined").minItems(2).maxItems(a)}),Y8=e=>{const t=e.filterOptions??["contains","notContains","equals","notEqual","startsWith","endsWith","blank","notBlank"],a=z.object({filterType:z.literal("text","Filter type identifier for text filters"),type:z.enum(t,"Text filter operation type"),filter:z.string("Primary filter value").nullable(),filterTo:z.string("Secondary filter value for range operations").nullable()});return Fp(a,"text",e.maxConditions)},Q8=e=>{const t=e.filterOptions??["equals","notEqual","greaterThan","greaterThanOrEqual","lessThan","lessThanOrEqual","inRange","blank","notBlank"],a=z.object({filterType:z.literal("number","Filter type identifier for number filters"),type:z.enum(t,"Number filter operation type"),filter:z.number("Primary filter value").nullable(),filterTo:z.number("Secondary filter value for range operations").nullable()});return Fp(a,"number",e.maxConditions)},Z8=e=>{const t=e.filterOptions??["equals","notEqual","lessThan","greaterThan","inRange","blank","notBlank"],a=e.useIsoSeparator?"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}$":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",n=z.object({filterType:z.literal("date","Filter type identifier for date filters"),type:z.enum(t,"Date filter operation type"),dateFrom:z.string({pattern:a,description:"Primary date filter value in YYYY-MM-DD HH:mm:ss format"}).nullable(),dateTo:z.string({pattern:a,description:"Secondary date filter value for range operations in YYYY-MM-DD HH:mm:ss format"}).nullable()});return Fp(n,"date",e.maxConditions)},X8=e=>{const t=e?e().filter(Boolean):[];return z.object({filterType:z.literal("set","Filter type identifier for set filters"),values:z.array(t.length>0?z.enum(t,"Available values to filter by"):z.string("Filter values"),"Array of values to include in the filter")})},J8=(e,t,a=()=>[])=>z.object({filterType:z.literal("multi","Filter type identifier for multi-condition filters"),filterModels:z.array(z.union(e.map((n,r)=>K0(n.filter,n.filterParams,t,()=>a(!0,r))),"Union of different filter types that can be combined").nullable(),"Array of filter conditions to be combined with AND/OR logic")}),$8=e=>{const a=e.colModel.getCols().filter(n=>n.isAllowPivot()).map(n=>n.getColId());if(a.length!==0)return z.object({pivotMode:z.boolean("Whether pivot mode is enabled"),pivotColIds:z.array(z.enum(a,"Column ID that supports pivoting"),"Array of column IDs to use as pivot columns")},"Pivot configuration for the grid").nullable()},e7=e=>{const a=e.colModel.getCols().filter(r=>r.isAllowRowGroup());if(a.length===0)return;const n=a.map(r=>r.getColId());return z.object({groupColIds:z.array(z.enum(n,"Column ID that supports row grouping"),"Array of column IDs to group by")},"Row grouping configuration for the grid")},t7=e=>{const{sortSvc:t}=e;if(!t)return;const n=e.colModel.getCols().filter(o=>o.isSortable());if(n.length===0)return;const r=n.map(o=>o.getColId());return z.object({sortModel:z.array(z.object({colId:z.enum(r,"Column ID that supports sorting"),sort:z.enum(["asc","desc"],"Sort direction: ascending or descending"),type:z.enum(["default","absolute"],"Sort type: default or absolute values")}),"Array of sort configurations")},"Sort configuration for the grid").nullable()},a7={aggregation:M8,filter:j8,sort:t7,pivot:$8,columnVisibility:P8,columnSizing:E8,rowGroup:e7};function n7(e,t){const a=e.colModel.getCols().map(s=>s.getColId()),n={};for(const s of Sv){if(t?.exclude?.includes(s))continue;const l=a7[s],c=l(e,t);c&&(n[s]=c.nullable())}const r=t?.columns??{},o=a.map(s=>r[s]?.description?`${s}: ${r[s].description}`:s).filter(Boolean).join(`
`);return z.object(n).define("allColumnIds",z.enum(a,o)).toJSON()}var Y0={moduleName:"AiToolkit",version:Q,beans:[],dependsOn:[le,Yl],apiFunctions:{getStructuredSchema:n7}};function r7(e){return e.sideBar?.comp.isDisplayed()??!1}function o7(e,t){e.sideBar?.comp.setDisplayed(t)}function i7(e,t){e.sideBar?.comp.setSideBarPosition(t)}function s7(e,t,a){e.sideBar?.comp.openToolPanel(t,"api",a)}function l7(e){e.sideBar?.comp.close("api")}function c7(e){return e.sideBar?.comp.openedItem()??null}function d7(e){e.sideBar?.comp.refresh()}function u7(e){return e.sideBar?.comp.isToolPanelShowing()??!1}function g7(e,t){const a=e.sideBar?.comp.getToolPanelInstance(t);return Ua(a)}function h7(e){return e.sideBar?.comp.getDef()}var p7=`.ag-tool-panel-wrapper{overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:var(--ag-horizontal-size,var(--ag-side-bar-panel-width))}.ag-tool-panel-content{display:flex;height:100%;overflow:hidden auto}.ag-tool-panel-wrapper.ag-tool-panel-animating{
/* !important required to override .ag-hidden to tool panel remains visible while animating */display:block!important;transition:width var(--ag-side-bar-panel-animation-duration) ease-in-out}@media (prefers-reduced-motion:reduce){.ag-tool-panel-wrapper.ag-tool-panel-animating{transition:none}}.ag-tool-panel-external{display:flex;flex-direction:row}:where(.ag-tool-panel-external) .ag-tool-panel-wrapper{flex-grow:1}.ag-select-agg-func-item{align-items:center;display:flex;flex:1 1 auto;flex-flow:row nowrap;height:100%;overflow:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap}.ag-tool-panel-horizontal-resize{cursor:ew-resize;height:100%;position:absolute;top:0;width:5px;z-index:1}.ag-side-bar{background-color:var(--ag-side-bar-background-color);display:flex;flex-direction:row-reverse;position:relative}:where(.ag-ltr) :where(.ag-side-bar-left) .ag-tool-panel-horizontal-resize{right:-3px}:where(.ag-rtl) :where(.ag-side-bar-left) .ag-tool-panel-horizontal-resize{left:-3px}:where(.ag-ltr) :where(.ag-side-bar-right) .ag-tool-panel-horizontal-resize{left:-3px}:where(.ag-rtl) :where(.ag-side-bar-right) .ag-tool-panel-horizontal-resize{right:-3px}.ag-side-bar-left{flex-direction:row;order:-1}.ag-side-buttons{background-color:var(--ag-side-button-bar-background-color);padding-top:var(--ag-side-button-bar-top-padding);position:relative}.ag-side-button{background-color:var(--ag-side-button-background-color);border-bottom:var(--ag-side-button-border);border-top:var(--ag-side-button-border);color:var(--ag-side-button-text-color);margin-top:-1px;position:relative}.ag-side-button:before{background-color:transparent;bottom:0;content:"";display:block;position:absolute;top:0;transition:background-color var(--ag-side-button-selected-underline-transition-duration);width:var(--ag-side-button-selected-underline-width)}:where(.ag-ltr) .ag-side-button:before{left:0}:where(.ag-rtl) .ag-side-button:before{right:0}.ag-side-button:hover{background-color:var(--ag-side-button-hover-background-color);color:var(--ag-side-button-hover-text-color)}.ag-side-button.ag-selected{background-color:var(--ag-side-button-selected-background-color);border-bottom:var(--ag-side-button-selected-border);border-top:var(--ag-side-button-selected-border);color:var(--ag-side-button-selected-text-color)}.ag-side-button.ag-selected:before{background-color:var(--ag-side-button-selected-underline-color)}.ag-side-button-button{align-items:center;display:flex;flex-direction:column;gap:var(--ag-spacing);position:relative;white-space:nowrap;width:100%;&:focus{box-shadow:none}}:where(.ag-ltr) .ag-side-button-button{padding:var(--ag-side-button-vertical-padding) var(--ag-side-button-right-padding) var(--ag-side-button-vertical-padding) var(--ag-side-button-left-padding)}:where(.ag-rtl) .ag-side-button-button{padding:var(--ag-side-button-vertical-padding) var(--ag-side-button-left-padding) var(--ag-side-button-vertical-padding) var(--ag-side-button-right-padding)}.ag-side-button-button:focus-visible{box-shadow:inset var(--ag-focus-shadow)}.ag-side-button-label{writing-mode:vertical-lr}@media (resolution <= 1.5x){.ag-side-button-label{font-family:"Segoe UI",var(--ag-font-family)}:where(.ag-ltr) .ag-side-button-label{transform:rotate(.05deg)}:where(.ag-rtl) .ag-side-button-label{transform:rotate(-.05deg)}}:where(.ag-ltr) .ag-side-bar-left,:where(.ag-rtl) .ag-side-bar-right{border-right:var(--ag-side-panel-border);:where(.ag-tool-panel-wrapper){border-left:var(--ag-side-panel-border)}}:where(.ag-ltr) .ag-side-bar-right,:where(.ag-rtl) .ag-side-bar-left{border-left:var(--ag-side-panel-border);:where(.ag-tool-panel-wrapper){border-right:var(--ag-side-panel-border)}}`,f7={tag:"div",cls:"ag-side-button",role:"presentation",children:[{tag:"button",ref:"eToggleButton",cls:"ag-button ag-side-button-button",role:"tab",attrs:{type:"button",tabindex:"-1","aria-expanded":"false"},children:[{tag:"div",ref:"eIconWrapper",cls:"ag-side-button-icon-wrapper",attrs:{"aria-hidden":"true"}},{tag:"span",ref:"eLabel",cls:"ag-side-button-label"}]}]},m7=class extends T{constructor(e){super(),this.toolPanelDef=e,this.eToggleButton=x,this.eIconWrapper=x,this.eLabel=x}getToolPanelId(){return this.toolPanelDef.id}postConstruct(){this.setTemplate(f7,[]),this.setLabel(),this.setIcon(),this.addManagedElementListeners(this.eToggleButton,{click:this.onButtonPressed.bind(this)}),this.eToggleButton.setAttribute("id",`ag-${this.getCompId()}-button`)}setLabel(){const e=this.toolPanelDef,t=this.getLocaleTextFunc()(e.labelKey,e.labelDefault);this.eLabel.textContent=t}setIcon(){this.eIconWrapper.insertAdjacentElement("afterbegin",q(this.toolPanelDef.iconKey,this.beans))}onButtonPressed(){this.dispatchLocalEvent({type:"toggleButtonClicked"})}setSelected(e){this.toggleCss("ag-selected",e),ot(this.eToggleButton,e)}},v7={tag:"div",cls:"ag-side-buttons",role:"tablist"},C7=class extends T{constructor(){super(v7),this.buttonComps=[]}postConstruct(){this.addManagedElementListeners(this.getFocusableElement(),{keydown:this.handleKeyDown.bind(this)})}handleKeyDown(e){if(!(e.key!==w.TAB||!e.shiftKey)){if(Ga(this.beans,!0)){e.preventDefault();return}Fe(e)}}setActiveButton(e){for(const t of this.buttonComps)t.setSelected(e===t.getToolPanelId())}addButtonComp(e){const t=this.createBean(new m7(e));return this.buttonComps.push(t),this.appendChild(t),t.addEventListener("toggleButtonClicked",()=>{this.dispatchLocalEvent({type:"sideBarButtonClicked",toolPanelId:e.id})}),t}clearButtons(){this.buttonComps=this.destroyBeans(this.buttonComps),ee(this.getGui())}destroy(){this.clearButtons(),super.destroy()}},b7={selector:"AG-SIDE-BAR-BUTTONS",component:C7},Q0={id:"columns",labelDefault:"Columns",labelKey:"columns",iconKey:"columnsToolPanel",toolPanel:"agColumnsToolPanel"},Z0={id:"filters",labelDefault:"Filters",labelKey:"filters",iconKey:"filtersToolPanel",toolPanel:"agFiltersToolPanel"},w7={id:"filters-new",labelDefault:"Filters",labelKey:"filters",iconKey:"filtersToolPanel",toolPanel:"agNewFiltersToolPanel"},ws={columns:Q0,filters:Z0,"filters-new":w7};function Mp(e){if(e){if(e===!0)return{toolPanels:[Q0,Z0],defaultToolPanel:"columns"};if(typeof e=="string")return Mp([e]);if(Array.isArray(e)){const t=[];for(const a of e){const n=ws[a];if(!n){R(215,{key:a,defaultByKey:ws});continue}t.push(n)}return t.length===0?void 0:{toolPanels:t,defaultToolPanel:t[0].id}}return{toolPanels:y7(e.toolPanels),defaultToolPanel:e.defaultToolPanel,hiddenByDefault:e.hiddenByDefault,position:e.position,hideButtons:e.hideButtons}}}function y7(e){const t=[];return e&&e.forEach(a=>{const n=S7(a);n&&t.push(n)}),t}function S7(e){return typeof e!="string"?e:ws[e]?ws[e]:(R(215,{key:e,defaultByKey:ws}),null)}var x7=class extends T{constructor(){super({tag:"div",cls:"ag-tool-panel-horizontal-resize"}),this.minWidth=100,this.maxWidth=null}postConstruct(){const e=this.beans.horizontalResizeSvc.addResizeBar({eResizeBar:this.getGui(),dragStartPixels:1,onResizeStart:this.onResizeStart.bind(this),onResizing:this.onResizing.bind(this),onResizeEnd:this.onResizeEnd.bind(this)});this.addDestroyFunc(e),this.inverted=this.gos.get("enableRtl")}dispatchResizeEvent(e,t,a){this.eventSvc.dispatchEvent({type:"toolPanelSizeChanged",width:a,started:e,ended:t})}onResizeStart(){this.startingWidth=this.elementToResize.offsetWidth,this.dispatchResizeEvent(!0,!1,this.startingWidth)}onResizeEnd(e){return this.onResizing(e,!0)}onResizing(e,t=!1){const a=this.inverted?-1:1;let n=Math.max(this.minWidth,Math.floor(this.startingWidth-e*a));this.maxWidth!=null&&(n=Math.min(this.maxWidth,n)),this.elementToResize.style.setProperty("--ag-horizontal-size",`${n}px`),this.dispatchResizeEvent(!1,t,n)}};function k7(e,t,a){return e.getCompDetails(t,R7,void 0,a,!0)}var R7={name:"toolPanel",optionalMethods:["refresh","getState"]},F7={tag:"div",cls:"ag-tool-panel-wrapper",role:"tabpanel",children:[{tag:"div",cls:"ag-tool-panel-content",ref:"eContent"}]},M7=class extends T{constructor(){super(F7),this.eContent=x,this.animationId=0,this.defParent=null}postConstruct(){const e=this.getGui(),t=this.resizeBar=this.createManagedBean(new x7);e.setAttribute("id",`ag-${this.getCompId()}`),t.elementToResize=e,this.appendChild(t)}getToolPanelId(){return this.toolPanelId}getDefParent(){return this.defParent}setDefParent(e){this.defParent=e}setToolPanelDef(e,t){const{id:a,minWidth:n,maxWidth:r,width:o,parent:i}=e;this.toolPanelId=a,this.defParent=i??null,o&&this.getGui().style.setProperty("--ag-side-bar-panel-width",`${o}px`);const s=k7(this.beans.userCompFactory,e,t);if(s==null)return!1;const l=s.newAgStackInstance();this.params=s.params,l.then(this.setToolPanelComponent.bind(this));const c=this.resizeBar;return n!=null&&(c.minWidth=n),r!=null&&(c.maxWidth=r),!0}setToolPanelComponent(e){this.toolPanelCompInstance=e;const{eContent:t}=this;t.appendChild(e.getGui()),this.addDestroyFunc(()=>{this.destroyBean(e)})}getToolPanelInstance(){return this.toolPanelCompInstance}setResizerSizerSide(e){const t=this.gos.get("enableRtl"),a=e==="left",n=t?a:!a;this.resizeBar.inverted=n}refresh(){this.toolPanelCompInstance?.refresh(this.params)}animateDisplayed(e){if(this.isDisplayed()===e)return;const t=++this.animationId,{eContent:a}=this,n=()=>{this.animationId===t&&(r.classList.remove("ag-tool-panel-animating"),a.style.width="",r.style.width="")},r=this.getGui(),o=r.offsetWidth;this.setDisplayed(e),r.classList.add("ag-tool-panel-animating");const i=getComputedStyle(r).transitionDuration;if(!parseFloat(i)){n();return}r.style.transition="none",r.style.width="",a.style.width=`${a.offsetWidth}px`,r.style.width=`${o}px`;const s=r.offsetWidth;r.style.transition="",r.style.width=e?"":"0";const l=setTimeout(n,100);r.addEventListener("transitionstart",()=>clearTimeout(l),{once:!0}),r.addEventListener("transitionend",n,{once:!0})}},E7={tag:"div",cls:"ag-side-bar ag-unselectable",children:[{tag:"ag-side-bar-buttons",ref:"sideBarButtons"}]},P7=class extends T{constructor(){super(E7,[b7]),this.sideBarButtons=x,this.toolPanelWrappers=[],this.registerCSS(p7)}postConstruct(){this.sideBarButtons.addEventListener("sideBarButtonClicked",this.onToolPanelButtonClicked.bind(this));const{beans:e,gos:t}=this,{sideBar:a}=t.get("initialState")??{};this.setSideBarDef({sideBarDef:Mp(t.get("sideBar")),sideBarState:a}),this.addManagedPropertyListener("sideBar",()=>this.setState()),e.sideBar.comp=this;const n=this.getFocusableElement();this.createManagedBean(new In(n,{onTabKeyDown:this.onTabKeyDown.bind(this),handleKeyDown:this.handleKeyDown.bind(this)})),ho(e,this,n),this.addManagedPropertyListener("enableAdvancedFilter",this.onAdvancedFilterChanged.bind(this))}getFocusableContainerName(){return"sideBar"}onTabKeyDown(e){if(e.defaultPrevented)return;const{beans:t,sideBarButtons:a}=this,n=this.getGui(),r=a.getGui(),o=ne(t),i=n.querySelector(".ag-tool-panel-wrapper:not(.ag-hidden)"),s=e.target,l=e.shiftKey;if(!i)return Ga(t,l,!0)?(e.preventDefault(),!0):(Ov(e),!1);if(r.contains(o)){ze(i,l)&&e.preventDefault();return}if(!l)return;let c=null;i.contains(o)?c=Je(t,i,void 0,!0):E0(i,s)&&(c=hp(i,s)),c||(c=r.querySelector(".ag-selected button"),c=Be(c)?c:null),c&&c!==e.target&&(e.preventDefault(),c.focus())}handleKeyDown(e){const t=ne(this.beans),a=this.sideBarButtons;if(!a.getGui().contains(t))return;const n=a.getGui(),r=Array.prototype.slice.call(n.querySelectorAll(".ag-side-button")),o=r.findIndex(l=>l.contains(t));let i=null;switch(e.key){case w.LEFT:case w.UP:i=Math.max(0,o-1);break;case w.RIGHT:case w.DOWN:i=Math.min(o+1,r.length-1);break}if(i===null)return;const s=r[i].querySelector("button");s&&(s.focus(),e.preventDefault())}onToolPanelButtonClicked(e){const t=e.toolPanelId;this.openedItem()===t?this.openToolPanel(void 0,"sideBarButtonClicked"):this.openToolPanel(t,"sideBarButtonClicked")}clearDownUi(){this.sideBarButtons.clearButtons(),this.destroyToolPanelWrappers()}setSideBarDef({sideBarDef:e,sideBarState:t,existingToolPanelWrappers:a}){if(this.setDisplayed(!1),this.sideBar=e,e&&this.sideBarButtons.setDisplayed(!e.hideButtons),e?.toolPanels){const n=e.toolPanels;if(this.createToolPanelsAndSideButtons(n,t,a),!this.toolPanelWrappers.length)return;const r=t?t.visible:!e.hiddenByDefault;if(this.setDisplayed(r),this.setSideBarPosition(t?t.position:e.position),r)if(t){const{openToolPanel:o}=t;o&&this.openToolPanel(o,"sideBarInitializing")}else this.openToolPanel(e.defaultToolPanel,"sideBarInitializing")}}getDef(){return this.sideBar}setSideBarPosition(e){e||(e="right"),this.position=e;const t=e==="left",a=t?"right":"left";this.toggleCss("ag-side-bar-left",t),this.toggleCss("ag-side-bar-right",!t);for(const n of this.toolPanelWrappers)n.setResizerSizerSide(a);return this.dispatchSideBarUpdated(),this}setDisplayed(e,t){super.setDisplayed(e,t),this.dispatchSideBarUpdated()}getState(){const e={};for(const t of this.toolPanelWrappers)e[t.getToolPanelId()]=t.getToolPanelInstance()?.getState?.();return{visible:this.isDisplayed(),position:this.position,openToolPanel:this.openedItem(),toolPanels:e}}createToolPanelsAndSideButtons(e,t,a){for(const n of e)this.createToolPanelAndSideButton(n,t?.toolPanels?.[n.id],a?.[n.id])}validateDef(e){const{id:t,toolPanel:a}=e;return t==null?(R(212),!1):X0(a)&&this.beans.filterManager?.isAdvFilterEnabled()?(R(213),!1):!0}createToolPanelAndSideButton(e,t,a){if(!this.validateDef(e)){this.destroyBean(a);return}let n;if(a)n=a,n.setDefParent(e.parent??null);else if(n=this.createBean(new M7),!n.setToolPanelDef(e,B(this.gos,{initialState:t,onStateUpdated:()=>this.dispatchSideBarUpdated()})))return;n.setDisplayed(!1),this.renderToolPanelUnderParent(n,e.parent),this.toolPanelWrappers.push(n);const r=this.sideBarButtons.addButtonComp(e);Ks(r.eToggleButton,n.getGui())}refresh(){for(const e of this.toolPanelWrappers)e.refresh()}renderToolPanelUnderParent(e,t){const a=e.getGui();t&&(this.beans.environment.applyThemeClasses(t,["ag-external","ag-tool-panel-external"]),a.classList.add(this.gos.get("enableRtl")?"ag-rtl":"ag-ltr"));const n=t??e.getDefParent()??this.getGui();a.parentElement!==n&&n.appendChild(a)}getWrapper(e){return this.toolPanelWrappers.find(t=>t.getToolPanelId()===e)}openToolPanel(e,t="api",a){const n=this.openedItem(),o=!!e&&!!n||t==="sideBarInitializing";for(const l of this.toolPanelWrappers){const c=e===l.getToolPanelId();c&&this.renderToolPanelUnderParent(l,a??null),o?l.setDisplayed(c):l.animateDisplayed(c)}const i=this.openedItem();n!==i&&(this.sideBarButtons.setActiveButton(e),this.raiseToolPanelVisibleEvent(e,n??void 0,t))}getToolPanelInstance(e){const t=this.getWrapper(e);if(!t){R(214,{key:e});return}return t.getToolPanelInstance()}raiseToolPanelVisibleEvent(e,t,a){const n=!!e&&!!t,r=this.eventSvc;t&&r.dispatchEvent({type:"toolPanelVisibleChanged",source:a,key:t,visible:!1,switchingToolPanel:n}),e&&r.dispatchEvent({type:"toolPanelVisibleChanged",source:a,key:e,visible:!0,switchingToolPanel:n})}close(e="api"){this.openToolPanel(void 0,e)}isToolPanelShowing(){return!!this.openedItem()}openedItem(){let e=null;for(const t of this.toolPanelWrappers)t.isDisplayed()&&(e=t.getToolPanelId());return e}setState(e){const t=Mp(this.gos.get("sideBar")),a={};t&&this.sideBar&&t.toolPanels?.forEach(n=>{const{id:r}=n;if(!r)return;const o=this.sideBar.toolPanels?.find(c=>c.id===r);if(!o||n.toolPanel!==o.toolPanel)return;const i=this.getWrapper(r);if(!i)return;const s=B(this.gos,{...n.toolPanelParams??{},initialState:e?.toolPanels?.[r],onStateUpdated:()=>this.dispatchSideBarUpdated()});i.getToolPanelInstance()?.refresh(s)===!0&&(this.toolPanelWrappers=this.toolPanelWrappers.filter(c=>c!==i),ue(i.getGui()),a[r]=i)}),this.clearDownUi(),this.setSideBarDef({sideBarDef:t,sideBarState:e,existingToolPanelWrappers:a})}dispatchSideBarUpdated(){this.eventSvc.dispatchEvent({type:"sideBarUpdated"})}destroyToolPanelWrappers(){for(const e of this.toolPanelWrappers)ue(e.getGui()),this.destroyBean(e);this.toolPanelWrappers.length=0}onAdvancedFilterChanged(){this.sideBar?.toolPanels?.some(t=>X0(typeof t=="string"?t:t.toolPanel))&&this.setState()}destroy(){this.destroyToolPanelWrappers(),super.destroy()}};function X0(e){return e==="agFiltersToolPanel"||e==="agNewFiltersToolPanel"}var A7={selector:"AG-SIDE-BAR",component:P7},T7=class extends F{constructor(){super(...arguments),this.beanName="sideBar"}getSelector(){return A7}},ys={moduleName:"SideBar",version:Q,beans:[T7],apiFunctions:{isSideBarVisible:r7,setSideBarVisible:o7,setSideBarPosition:i7,openToolPanel:s7,closeToolPanel:l7,getOpenedToolPanel:c7,refreshToolPanel:d7,isToolPanelShowing:u7,getToolPanelInstance:g7,getSideBar:h7},dependsOn:[le,mg]},D7='.ag-menu-list{cursor:default;display:table;padding:var(--ag-spacing) 0;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{cursor:pointer;font-weight:500}:where(.ag-ltr) :where(.ag-menu-option-popup-pointer) .ag-icon{text-align:right}:where(.ag-rtl) :where(.ag-menu-option-popup-pointer) .ag-icon{text-align:left}.ag-menu-option-text{white-space:nowrap}.ag-menu-option-custom{display:contents}.ag-compact-menu-option{display:flex;flex-wrap:nowrap;width:100%}.ag-compact-menu-option-text{flex:1 1 auto;white-space:nowrap}.ag-menu-separator{height:calc(var(--ag-spacing)*2 + 1px)}.ag-menu-separator-part:after{border-top:solid var(--ag-border-width) var(--ag-menu-separator-color);content:"";display:block}.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-spacing) + 2px) 0}.ag-compact-menu-option-disabled,.ag-menu-option-disabled{cursor:not-allowed;opacity:.5}.ag-compact-menu-option-icon,.ag-menu-option-icon{width:var(--ag-icon-size)}:where(.ag-ltr) .ag-compact-menu-option-icon,:where(.ag-ltr) .ag-menu-option-icon{padding-left:calc(var(--ag-spacing)*2)}:where(.ag-rtl) .ag-compact-menu-option-icon,:where(.ag-rtl) .ag-menu-option-icon{padding-right:calc(var(--ag-spacing)*2)}.ag-compact-menu-option-text,.ag-menu-option-text{padding-left:calc(var(--ag-spacing)*2);padding-right:calc(var(--ag-spacing)*2)}:where(.ag-ltr) .ag-compact-menu-option-shortcut,:where(.ag-ltr) .ag-menu-option-shortcut{padding-right:var(--ag-spacing)}:where(.ag-rtl) .ag-compact-menu-option-shortcut,:where(.ag-rtl) .ag-menu-option-shortcut{padding-left:var(--ag-spacing)}:where(.ag-ltr) .ag-compact-menu-option-popup-pointer,:where(.ag-ltr) .ag-menu-option-popup-pointer{padding-right:var(--ag-spacing)}:where(.ag-rtl) .ag-compact-menu-option-popup-pointer,:where(.ag-rtl) .ag-menu-option-popup-pointer{padding-left:var(--ag-spacing)}.ag-menu-column-select-wrapper{height:265px;overflow:auto;:where(.ag-column-select){height:100%}}.ag-menu:where(.ag-tabs){min-width:290px}.ag-context-menu-loading-icon{pointer-events:none;position:absolute}',J0=class extends M0{constructor(){super({warnNoIcon:()=>R(227)})}},ed={moduleName:"MenuItem",version:Q,userComponents:{agMenuItem:J0},icons:{check:"tick",subMenuOpen:"small-right",subMenuOpenRtl:"small-left"},css:[D7]},I7=".ag-column-select{display:flex;flex:3 1 0px;flex-direction:column;overflow:hidden;position:relative}.ag-column-select-header{flex:none;height:var(--ag-header-height);padding-left:var(--ag-widget-container-horizontal-padding);padding-right:var(--ag-widget-container-horizontal-padding)}.ag-column-select-column,.ag-column-select-column-group,.ag-column-select-header{align-items:center;display:flex;gap:var(--ag-widget-horizontal-spacing);position:relative}.ag-column-select-column,.ag-column-select-column-group{height:100%}:where(.ag-ltr) .ag-column-select-column,:where(.ag-ltr) .ag-column-select-column-group{padding-left:calc(var(--ag-indentation-level)*var(--ag-column-select-indent-size))}:where(.ag-rtl) .ag-column-select-column,:where(.ag-rtl) .ag-column-select-column-group{padding-right:calc(var(--ag-indentation-level)*var(--ag-column-select-indent-size))}.ag-column-select-column-group:where(:not(:last-child)),.ag-column-select-column:where(:not(:last-child)){margin-bottom:var(--ag-widget-vertical-spacing)}.ag-column-select-header-icon{border-radius:var(--ag-border-radius);cursor:pointer;height:var(--ag-icon-size);position:relative;width:var(--ag-icon-size);&:focus-visible{box-shadow:var(--ag-focus-shadow)}}.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}:where(.ag-ltr) .ag-column-select-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-spacing)*1.5)}:where(.ag-rtl) .ag-column-select-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-spacing)*1.5)}.ag-column-select-column-group-readonly,.ag-column-select-column-readonly{opacity:.5;pointer-events:none;.ag-icon{opacity:.5}&.ag-icon-grip{opacity:.35}}.ag-column-select-column-readonly{&.ag-icon-grip,.ag-icon-grip{opacity:.35}}.ag-column-select-virtual-list-viewport{padding:calc(var(--ag-widget-container-vertical-padding)*.5) 0}.ag-column-select-virtual-list-item{padding:0 var(--ag-widget-container-horizontal-padding)}.ag-column-select-column-label{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-column-select-checkbox{display:flex}",L7=300,z7={tag:"div",cls:"ag-column-select-header",role:"presentation",children:[{tag:"div",ref:"eExpand",cls:"ag-column-select-header-icon"},{tag:"ag-checkbox",ref:"eSelect",cls:"ag-column-select-header-checkbox"},{tag:"ag-input-text-field",ref:"eFilterTextField",cls:"ag-column-select-header-filter-wrapper"}]},O7=class extends T{constructor(){super(z7,[da,Gt]),this.eExpand=x,this.eSelect=x,this.eFilterTextField=x}postConstruct(){this.createExpandIcons(),this.addManagedListeners(this.eExpand,{click:this.onExpandClicked.bind(this),keydown:t=>{t.key===w.SPACE&&(t.preventDefault(),this.onExpandClicked())}}),this.addManagedElementListeners(this.eSelect.getInputElement(),{click:this.onSelectClicked.bind(this)}),this.addManagedPropertyListener("functionsReadOnly",()=>this.onFunctionsReadOnlyPropChanged()),this.eFilterTextField.setAutoComplete(!1).onValueChange(()=>this.onFilterTextChanged()),this.addManagedEventListeners({newColumnsLoaded:this.showOrHideOptions.bind(this)});const e=this.getLocaleTextFunc();this.eSelect.setInputAriaLabel(e("ariaColumnSelectAll","Toggle All Columns Visibility")),this.eFilterTextField.setInputAriaLabel(e("ariaFilterColumnsInput","Filter Columns Input")),this.activateTabIndex([this.eExpand])}onFunctionsReadOnlyPropChanged(){const e=this.gos.get("functionsReadOnly");this.eSelect.setReadOnly(e),this.eSelect.toggleCss("ag-column-select-column-readonly",e)}init(e){this.params=e;const t=this.gos.get("functionsReadOnly");this.eSelect.setReadOnly(t),this.eSelect.toggleCss("ag-column-select-column-readonly",t),this.beans.colModel.ready&&this.showOrHideOptions()}createExpandIcons(){const e=this.beans;this.eExpand.appendChild(this.eExpandChecked=q("columnSelectOpen",e)),this.eExpand.appendChild(this.eExpandUnchecked=q("columnSelectClosed",e)),this.eExpand.appendChild(this.eExpandIndeterminate=q("columnSelectIndeterminate",e)),this.setExpandState(0)}showOrHideOptions(){const e=this.params,t=!e.suppressColumnFilter,a=!e.suppressColumnSelectAll,n=!e.suppressColumnExpandAll,r=!!this.beans.colModel.colDefCols?.treeDepth,o=this.getLocaleTextFunc();this.eFilterTextField.setInputPlaceholder(o("searchOoo","Search...")),G(this.eFilterTextField.getGui(),t),G(this.eSelect.getGui(),a),G(this.eExpand,n&&r)}onFilterTextChanged(){this.onFilterTextChangedDebounced||(this.onFilterTextChangedDebounced=ve(this,()=>{const e=this.eFilterTextField.getValue();this.dispatchLocalEvent({type:"filterChanged",filterText:e})},L7)),this.onFilterTextChangedDebounced()}onSelectClicked(){this.dispatchLocalEvent({type:this.selectState?"unselectAll":"selectAll"})}onExpandClicked(){this.dispatchLocalEvent({type:this.expandState===0?"collapseAll":"expandAll"})}setExpandState(e){this.expandState=e,G(this.eExpandChecked,e===0),G(this.eExpandUnchecked,e===1),G(this.eExpandIndeterminate,e===2)}setSelectionState(e){this.selectState=e,this.eSelect.setValue(this.selectState)}},G7={selector:"AG-PRIMARY-COLS-HEADER",component:O7};function No(e){return!!e&&typeof e.children<"u"}function Jn(e){return No(e)?e.groupId:e.colId}function $0(e,t,a){const n=(i,s)=>{const c=i.children.map(Jn).includes(Jn(s)),d=W(i.children),u=d&&Jn(d)!==Jn(s);return c&&u};if(!No(e))return!0;const r=e,o=a;if(n(r,o)||r.groupId===t&&!r.children.map(Jn).includes(Jn(o)))return r.children.push(o),!0;for(let i=r.children.length-1;i>=0&&!$0(r.children[i],t,a);i--);return!1}function eS(e){const t=(r,o)=>No(r)&&No(o)&&Jn(r)===Jn(o),a=(r,o)=>{if(!No(o))return r;const i=r,s=o;if(s.children&&s.groupId&&$0(i,s.groupId,s.children[0]))return i;for(const l of s.children)a(i,l);return i},n=[];for(let r=1;r<=e.length;r++){const o=e[r-1],i=e[r];t(o,i)?e[r]=a(o,i):n.push(o)}return n}function tS(e,t){const a=[],n=(o,i)=>{if(No(o)){const s=o,l=typeof s.groupId<"u"?s.groupId:s.headerName,c=new yr(s,l,!1,i),d=[];for(const u of s.children){const g=n(u,i+1);g&&d.push(g)}return c.setChildren(d),c}else{const s=o,l=s.colId?s.colId:s.field,c=e.getColDefCol(l);return c||a.push(s),c}},r=[];for(const o of t){const i=n(o,0);i&&r.push(i)}return a.length>0&&R(217,{invalidColIds:a}),r}function aS(e,t){const a=nS(B7(e)),n=eS(a);t(n)}function V7(e,t){const a=nS(e),n=eS(a);t(n)}function nS(e){const t=(a,n)=>{let r;if(ke(a))if(a.isPadding())r=n;else{const i=Object.assign({},a.getColGroupDef());i.groupId=a.getGroupId(),i.children=[n],r=i}else{const i=Object.assign({},a.getColDef());i.colId=a.getColId(),r=i}const o=a.getOriginalParent();return o?t(o,r):r};return e.map(a=>t(a,a.getColDef()))}function B7(e){return e.getCols().filter(t=>{const a=t.getColDef();return t.isPrimary()&&!a.showRowGroup})}var rS=class{constructor(e,t,a,n=!1,r){this.displayName=e,this.depth=a,this.group=n,this.localEventService=new Ta,n?(this.columnGroup=t,this._expanded=r,this.children=[]):this.column=t}get expanded(){return!!this._expanded}set expanded(e){e!==this._expanded&&(this._expanded=e,this.localEventService.dispatchEvent({type:"expandedChanged"}))}addEventListener(e,t){this.localEventService.addEventListener(e,t)}removeEventListener(e,t){this.localEventService.removeEventListener(e,t)}};function oe(e){return!!e?.buttons?.includes("apply")}function At(e,t){if(!oe(t))return;const a=e.sideBar?.comp.openedItem();if(!a)return;e.sideBar?.comp.getToolPanelInstance(a)?.refreshDeferredUi()}function oS(e,t,a,n,r){const o=N7(t);iS(e,o,a,n,r)}function iS(e,t,a,n,r){e.columnStateUpdateStrategy.getPivotMode(oe(r))?q7(e,t,a,n,r):H7(e,t,a,n,r)}function N7(e){const t=[],a=n=>{for(const r of n)r.passesFilter&&(r.group?a(r.children):t.push(r.column))};return a(e),t}function H7(e,t,a,n,r){const o=e.columnStateUpdateStrategy,i=[];for(const s of t)s.getColDef().lockVisible||o.isColumnVisibleInToolPanel(oe(r),s)!==a&&i.push({colId:s.getId(),hide:!a});o.applyColumnState(oe(r),i,n),At(e,r)}function q7(e,t,a,n,r){W7(e,t,a,n,r)}function W7(e,t,a,n,r){const o=e.columnStateUpdateStrategy,i=[],c=a?d=>{if(!o.isColumnSelectedInPivotModeToolPanel(oe(r),d))if(d.isAllowValue()){const u=typeof d.getAggFunc()=="string"?d.getAggFunc():e.aggFuncSvc?.getDefaultAggFunc(d);i.push({colId:d.getId(),aggFunc:u})}else d.isAllowRowGroup()?i.push({colId:d.getId(),rowGroup:!0}):d.isAllowPivot()&&i.push({colId:d.getId(),pivot:!0})}:d=>{o.isColumnSelectedInPivotModeToolPanel(oe(r),d)&&i.push({colId:d.getId(),pivot:!1,rowGroup:!1,aggFunc:null})};t.forEach(c),o.applyColumnState(oe(r),i,n),At(e,r)}function sS(e,t){const{columns:a,visibleState:n,pivotState:r,eventType:o}=t,i=e.columnStateUpdateStrategy,s=i.getPivotMode(oe(t)),l=a.map(c=>{const d=c.getColId();if(s){const u=r?.[d];return{colId:d,pivot:u?.pivot,rowGroup:u?.rowGroup,aggFunc:u?.aggFunc}}else return{colId:d,hide:!n?.[d]}});i.applyColumnState(oe(t),l,o),At(e,t)}function U7(e){return{pivot:e.isPivotActive(),rowGroup:e.isRowGroupActive(),aggFunc:e.isValueActive()?e.getAggFunc():void 0}}function lS(e,t,a){if(!a)return U7(e);const n=t.getRowGroupColumns(a).includes(e),r=t.getPivotColumns(a).includes(e),o=t.getValueColumns(a).includes(e);return{pivot:r,rowGroup:n,aggFunc:o?t.getColumnAggFunc(a,e):void 0}}var cS=(e,t)=>{if(!t)return[];let a=e;for(let n=0,r=t.length;n{const n=e.aggData;n!==t&&(e.aggData=t,e.__localEventService&&j7(e,n,t,a))},dS=(e,t,a)=>{Ho(e,t,a);const n=e.pinnedSibling;n&&Ho(n,t,a);const r=e.sibling;if(r){Ho(r,t,a);const o=r.pinnedSibling;o&&Ho(o,t,a)}},j7=(e,t,a,n)=>{if(!a){if(!t)return;const i=Object.keys(t);for(let s=0,l=i.length;s{const r=t.getCol(a);let o=e._groupData;o||(o={},e._groupData=o);const i=r.getColId(),s=o[i];s!==n&&(o[i]=n,e.dispatchCellChangedEvent(r,n,s))},gS=(e,t,a)=>{if(!e)return;const n=e.group;n!==a&&(e.group=a,e.updateHasChildren(),n&&!a&&(Ho(e,null,t.colModel),e.setAllChildrenCount(null)),t.selectionSvc?.updateRowSelectable(e),e.dispatchRowEvent("groupChanged"))},Ep=(e,t,a)=>{gS(e,t,a),gS(e.pinnedSibling,t,a)},Ss=(e,t)=>{const{gos:a,rowGroupColsSvc:n}=t;if(!n||!e)return!1;const r=a.get("groupLockGroupColumns");if(!e.isRowGroupActive()||r===0)return!1;if(r===-1)return!0;const o=n.columns.findIndex(i=>i.getColId()===e.getColId());return r>o},xs=(e,t,a)=>{const r=e(t,`${t==="groupBy"?"Group by":"Un-Group by"} ${a}`,[a]);return r.indexOf(a)>=0?r:`${r} ${a}`};function _7(e){const t=Dt(e),a="getSelection"in t?t.getSelection():null,n=[];for(let r=0;r<(a?.rangeCount??0);r++){const o=a?.getRangeAt(r);o&&n.push(o)}return{selection:a,ranges:n}}function K7(e,t){if(!e.gos.get("enableCellTextSelection")||!Tn()&&!ya())return t();const{selection:n,ranges:r}=_7(e);t(),n?.removeAllRanges();for(const o of r)n?.addRange(o)}var Y7={name:"menuItem",optionalMethods:["setActive","select","setExpanded","configureDefaults"]},Pp={getMenuItemComp:(e,t,a)=>e.userCompFactory.getCompDetails(t,Y7,"agMenuItem",B(e.gos,a),!0)?.newAgStackInstance()??j.resolve(),getPostProcessPopupParams:({column:e,node:t})=>({column:e,rowNode:t}),preserveRangesWhile:K7,stopPropagationCallbacks:Dn,warnNoItem:e=>{R(228,{menuItemOrString:e})}},Q7=class extends Kc{constructor(){super(Pp)}},Ap=class extends Yc{constructor(e,t={column:null,node:null,value:null}){super(e,t,Pp)}},hS=class extends T{constructor(e,t,a,n={}){super({tag:"div",cls:"ag-menu"}),this.column=e,this.mouseEventOrTouch=t,this.parentEl=a,this.params=n,this.displayName=null}postConstruct(){const{column:e,beans:{colNames:t}}=this;this.initializeProperties(e);let a;if(wa(e)?a=t.getDisplayNameForColumn(e,"columnToolPanel"):a=t.getDisplayNameForProvidedColumnGroup(null,e,"columnToolPanel"),this.displayName=a,this.buildMenuItemMap(),this.isActive()){const n=this.mouseEventOrTouch;"preventDefault"in n&&n.preventDefault();const r=this.getMappedMenuItems();if(r.length===0)return;this.displayContextMenu(r)}}initializeProperties(e){const t=this.beans.columnStateUpdateStrategy;let a;ke(e)?a=e.getLeafColumns():a=[e],this.columns=a;const n=t.getPivotMode(oe(this.params));this.allowScrollIntoView=!n&&a.some(this.isColumnValidForScrollIntoView),this.allowGrouping=a.some(r=>r.isPrimary()&&r.isAllowRowGroup()),this.allowValues=a.some(r=>r.isPrimary()&&r.isAllowValue()),this.allowPivoting=n&&a.some(r=>r.isPrimary()&&r.isAllowPivot())}buildMenuItemMap(){const e=this.getLocaleTextFunc(),{beans:t,displayName:a}=this,n=this.beans.columnStateUpdateStrategy,r=new Map;this.menuItemMap=r;const o=oe(this.params),i=n.getPivotMode(o),s=new Set(n.getRowGroupColumns(o).map(h=>h.getColId())),l=new Set(n.getValueColumns(o).map(h=>h.getColId())),c=new Set(n.getPivotColumns(o).map(h=>h.getColId()));r.set("scrollIntoView",{allowedFunction:h=>!h.isPinned()&&!i&&this.isColumnValidForScrollIntoView(h),activeFunction:()=>!1,activateLabel:()=>e("scrollColumnIntoView",`Scroll ${a} into View`,[a]),activateFunction:()=>{const h=this.columns.find(this.isColumnValidForScrollIntoView);h&&this.beans.ctrlsSvc.getScrollFeature().ensureColumnVisible(h)},deActivateFunction:()=>{},addIcon:"ensureColumnVisible"});const d=h=>h.isPrimary()&&h.isAllowRowGroup()&&!Ss(h,t);r.set("rowGroup",{allowedFunction:d,activeFunction:h=>s.has(h.getColId()),activateLabel:()=>xs(e,"groupBy",a),deactivateLabel:()=>xs(e,"ungroupBy",a),activateFunction:()=>{const h=this.addColumnsToList(n.getRowGroupColumns(o),d);n.setRowGroupColumns(o,h,"toolPanelUi"),At(this.beans,this.params)},deActivateFunction:()=>{const h=this.removeColumnsFromList(n.getRowGroupColumns(o),d);n.setRowGroupColumns(o,h,"toolPanelUi"),At(this.beans,this.params)},addIcon:"menuAddRowGroup",removeIcon:"menuRemoveRowGroup"});const u=h=>h.isPrimary()&&h.isAllowValue();r.set("value",{allowedFunction:u,activeFunction:h=>l.has(h.getColId()),activateLabel:()=>e("addToValues",`Add ${a} to values`,[a]),deactivateLabel:()=>e("removeFromValues",`Remove ${a} from values`,[a]),activateFunction:()=>{const h=this.addColumnsToList(n.getValueColumns(o),u);n.setValueColumns(o,h,"toolPanelUi"),At(this.beans,this.params)},deActivateFunction:()=>{const h=this.removeColumnsFromList(n.getValueColumns(o),u);n.setValueColumns(o,h,"toolPanelUi"),At(this.beans,this.params)},addIcon:"valuePanel",removeIcon:"valuePanel"});const g=h=>i&&h.isPrimary()&&h.isAllowPivot();r.set("pivot",{allowedFunction:g,activeFunction:h=>c.has(h.getColId()),activateLabel:()=>e("addToLabels",`Add ${a} to labels`,[a]),deactivateLabel:()=>e("removeFromLabels",`Remove ${a} from labels`,[a]),activateFunction:()=>{const h=this.addColumnsToList(n.getPivotColumns(o),g);n.setPivotColumns(o,h,"toolPanelUi"),At(this.beans,this.params)},deActivateFunction:()=>{const h=this.removeColumnsFromList(n.getPivotColumns(o),g);n.setPivotColumns(o,h,"toolPanelUi"),At(this.beans,this.params)},addIcon:"pivotPanel",removeIcon:"pivotPanel"})}isColumnValidForScrollIntoView(e){if(!e.isVisible())return!1;const a=e.getParent();return a?a.getDisplayedChildren()?.includes(e)??!0:!0}addColumnsToList(e,t){return[...e].concat(this.columns.filter(a=>t(a)&&!e.includes(a)))}removeColumnsFromList(e,t){return e.filter(a=>!t(a)||!this.columns.includes(a))}displayContextMenu(e){const t=this.getGui(),a=this.createBean(new Ap),n=this.getLocaleTextFunc();let r=()=>{};t.appendChild(a.getGui()),a.addMenuItems(e),a.addManagedListeners(a,{closeMenu:()=>{this.parentEl.focus(),r()}});const o=this.beans.popupSvc,i=o.addPopup({modal:!0,eChild:t,closeOnEsc:!0,afterGuiAttached:()=>ze(a.getGui()),ariaLabel:n("ariaLabelContextMenu","Context Menu"),closedCallback:s=>{s instanceof KeyboardEvent&&this.parentEl.focus(),this.destroyBean(a)}});i&&(r=i.hideFunc),o.positionPopupUnderMouseEvent({type:"columnContextMenu",mouseEvent:this.mouseEventOrTouch,ePopup:t})}isActive(){return this.allowScrollIntoView||this.allowGrouping||this.allowValues||this.allowPivoting}getMappedMenuItems(){const e=[],{menuItemMap:t,columns:a,displayName:n,beans:r}=this;for(const o of t.values()){const i=a.some(l=>o.allowedFunction(l)&&!o.activeFunction(l)),s=a.some(l=>o.allowedFunction(l)&&o.activeFunction(l));i&&e.push({name:o.activateLabel(n),icon:q(o.addIcon,r,null),action:()=>o.activateFunction()}),s&&o.removeIcon&&o.deactivateLabel&&e.push({name:o.deactivateLabel(n),icon:q(o.removeIcon,r,null),action:()=>o.deActivateFunction?.()})}return e}},Z7={tag:"div",cls:"ag-column-select-column-group",children:[{tag:"span",ref:"eColumnGroupIcons",cls:"ag-column-group-icons",children:[{tag:"span",ref:"eGroupClosedIcon",cls:"ag-column-group-closed-icon"},{tag:"span",ref:"eGroupOpenedIcon",cls:"ag-column-group-opened-icon"}]},{tag:"ag-checkbox",ref:"cbSelect",cls:"ag-column-select-checkbox"},{tag:"span",ref:"eLabel",cls:"ag-column-select-column-label"}]},pS=class extends T{constructor(e,t,a,n,r){super(),this.modelItem=e,this.allowDragging=t,this.eventType=a,this.focusWrapper=n,this.params=r,this.cbSelect=x,this.eLabel=x,this.eGroupOpenedIcon=x,this.eGroupClosedIcon=x,this.eColumnGroupIcons=x,this.processingColumnStateChange=!1;const{columnGroup:o,depth:i,displayName:s}=e;this.columnGroup=o,this.columnDepth=i,this.displayName=s}postConstruct(){this.setTemplate(Z7,[da]);const{beans:e,cbSelect:t,eLabel:a,displayName:n,columnDepth:r,modelItem:o,focusWrapper:i,columnGroup:s}=this,{registry:l,gos:c}=e,d=q("columnDrag",e);this.eDragHandle=d,d.classList.add("ag-drag-handle","ag-column-select-column-group-drag-handle");const u=t.getGui(),g=t.getInputElement();u.after(d),g.setAttribute("tabindex","-1"),a.textContent=n??"",this.setupExpandContract(),this.addCss("ag-column-select-indent-"+r),this.getGui().style.setProperty("--ag-indentation-level",String(r)),this.tooltipFeature=this.createOptionalManagedBean(l.createDynamicBean("tooltipFeature",!1,{getGui:()=>this.focusWrapper,getLocation:()=>"columnToolPanelColumnGroup",shouldDisplayTooltip:is(c,()=>a)})),this.addManagedEventListeners({columnPivotModeChanged:this.onColumnStateChanged.bind(this)}),this.addManagedElementListeners(a,{click:this.onLabelClicked.bind(this)}),this.addManagedListeners(t,{fieldValueChanged:this.onCheckboxChanged.bind(this)}),this.addManagedListeners(o,{expandedChanged:this.onExpandChanged.bind(this)});const h=new sa(this.getGui(),!1);this.addManagedListeners(h,{longTap:f=>this.onContextMenu(f.touchStart)}),this.addDestroyFunc(h.destroy.bind(h)),this.addManagedListeners(i,{keydown:this.handleKeyDown.bind(this),contextmenu:this.onContextMenu.bind(this)}),this.setOpenClosedIcons(),this.setupDragging(),this.onColumnStateChanged(),this.addVisibilityListenersToAllChildren(),this.refreshAriaExpanded(),this.refreshAriaLabel(),this.setupTooltip();const p=Yu(s.getColGroupDef(),c,null,s);for(const f of p)this.toggleCss(f,!0)}getColumns(){return this.columnGroup.getLeafColumns()}setupTooltip(){const e=this.columnGroup.getColGroupDef();if(!e)return;const t=()=>this.tooltipFeature?.setTooltipAndRefresh(e.headerTooltip);t(),this.addManagedEventListeners({newColumnsLoaded:t})}handleKeyDown(e){switch(e.key){case w.LEFT:e.preventDefault(),this.modelItem.expanded=!1;break;case w.RIGHT:e.preventDefault(),this.modelItem.expanded=!0;break;case w.SPACE:e.preventDefault(),this.isSelectable()&&this.onSelectAllChanged(!this.isSelected());break}}onContextMenu(e){const{columnGroup:t,gos:a}=this;if(a.get("functionsReadOnly"))return;const n=this.createBean(new hS(t,e,this.focusWrapper,this.params));this.addDestroyFunc(()=>{n.isAlive()&&this.destroyBean(n)})}addVisibilityListenersToAllChildren(){const e=this.onColumnStateChanged.bind(this);for(const t of this.columnGroup.getLeafColumns())this.addManagedListeners(t,{visibleChanged:e,columnValueChanged:e,columnPivotChanged:e,columnRowGroupChanged:e})}setupDragging(){if(!this.allowDragging){G(this.eDragHandle,!1);return}const e=this.beans,{gos:t,eventSvc:a,dragAndDrop:n}=e;let r=!t.get("suppressDragLeaveHidesColumns");const o={type:ia.ToolPanel,eElement:this.eDragHandle,dragItemName:this.displayName,getDefaultIconName:()=>r?"hide":"notAllowed",getDragItem:()=>this.createDragItem(),onDragStarted:()=>{r=!t.get("suppressDragLeaveHidesColumns"),a.dispatchEvent({type:"columnPanelItemDragStart",column:this.columnGroup})},onDragStopped:()=>{a.dispatchEvent({type:"columnPanelItemDragEnd"})},onGridEnter:i=>{r&&sS(e,{columns:this.columnGroup.getLeafColumns(),visibleState:i?.visibleState,pivotState:i?.pivotState,eventType:this.eventType,buttons:this.params.buttons})},onGridExit:()=>{r&&this.onChangeCommon(!1)}};n.addDragSource(o,!0),this.addDestroyFunc(()=>n.removeDragSource(o))}createDragItem(){const e=this.columnGroup.getLeafColumns(),t={},a={},n=this.beans.columnStateUpdateStrategy,r=oe(this.params);for(const o of e){const i=o.getId();t[i]=o.isVisible(),a[i]=lS(o,n,r)}return{columns:e,visibleState:t,pivotState:a}}setupExpandContract(){const{beans:e,eGroupClosedIcon:t,eGroupOpenedIcon:a,eColumnGroupIcons:n}=this;t.appendChild(Va("columnSelectClosed",e,null)),a.appendChild(Va("columnSelectOpen",e,null));const r=this.onExpandOrContractClicked.bind(this);this.addManagedElementListeners(t,{click:r}),this.addManagedElementListeners(a,{click:r});const o=new sa(n,!0);this.addManagedListeners(o,{tap:r}),this.addDestroyFunc(o.destroy.bind(o))}onLabelClicked(){const e=!this.cbSelect.getValue();this.onChangeCommon(e)}onCheckboxChanged(e){this.onChangeCommon(e.selected)}getVisibleLeafColumns(){const e=[],t=a=>{for(const n of a)n.passesFilter&&(n.group?t(n.children):e.push(n.column))};return t(this.modelItem.children),e}onChangeCommon(e){this.refreshAriaLabel(),!this.processingColumnStateChange&&oS(this.beans,this.modelItem.children,e,this.eventType,this.params)}refreshAriaLabel(){const{cbSelect:e,focusWrapper:t,displayName:a}=this,n=this.getLocaleTextFunc(),r=n("ariaColumnGroup","Column Group"),o=e.getValue(),i=o===void 0?n("ariaIndeterminate","indeterminate"):o?n("ariaVisible","visible"):n("ariaHidden","hidden"),s=n("ariaToggleVisibility","Press SPACE to toggle visibility");de(t,`${a} ${r}`),e.setInputAriaLabel(`${s} (${i})`),ri(t,e.getInputElement().id)}onColumnStateChanged(){const e=this.workOutSelectedValue(),t=this.workOutReadOnlyValue();this.processingColumnStateChange=!0;const a=this.cbSelect;a.setValue(e),a.setReadOnly(t),this.toggleCss("ag-column-select-column-group-readonly",t),this.processingColumnStateChange=!1}workOutSelectedValue(){const t=this.beans.columnStateUpdateStrategy.getPivotMode(oe(this.params)),a=this.getVisibleLeafColumns();let n=0,r=0;for(const o of a)(t||!o.getColDef().lockVisible)&&(this.isColumnChecked(o)?n++:r++);if(!(n>0&&r>0))return n>0}workOutReadOnlyValue(){const e=this.beans.columnStateUpdateStrategy.getPivotMode(oe(this.params));let t=0;for(const a of this.columnGroup.getLeafColumns())e?a.isAnyFunctionAllowed()&&t++:a.getColDef().lockVisible||t++;return t===0}isColumnChecked(e){const t=this.beans.columnStateUpdateStrategy;return t.getPivotMode(oe(this.params))?t.isColumnSelectedInPivotModeToolPanel(oe(this.params),e):t.isColumnVisibleInToolPanel(oe(this.params),e)}onExpandOrContractClicked(){const e=this.modelItem,t=e.expanded;e.expanded=!t}onExpandChanged(){this.setOpenClosedIcons(),this.refreshAriaExpanded()}setOpenClosedIcons(){const e=this.modelItem.expanded;G(this.eGroupClosedIcon,!e),G(this.eGroupOpenedIcon,e)}refreshAriaExpanded(){ot(this.focusWrapper,this.modelItem.expanded)}getDisplayName(){return this.displayName}onSelectAllChanged(e){const t=this.cbSelect,a=t.getValue();!t.isReadOnly()&&(e&&!a||!e&&a)&&t.toggle()}isSelected(){return this.cbSelect.getValue()}isSelectable(){return!this.cbSelect.isReadOnly()}setSelected(e){this.cbSelect.setValue(e,!0)}},Tp=e=>ke(e)?e.getLeafColumns():e?[e]:[],X7=(e,t,a,n)=>{if(!t||!e)return null;const r=n.indexOf(t),o=a?r:r+1,i=J7(n,e,o);return o-i},J7=(e,t,a)=>{if(!t)return 0;const n=t[0],r=t.length;return e.indexOf(n){const r=oe(n);return e.get("suppressMovableColumns")||t.columnStateUpdateStrategy.getPivotMode(r)?!0:!!a.find(({colDef:s})=>!!s.suppressMovable||!!s.lockPosition)},mS=(e,t,a,n)=>{if(!a)return;const{component:r}=a;let o=null,i=a.position==="top";if(r instanceof pS?(o=r.getColumns()[0],i=!0):r&&(o=r.column),!o)return;const s=oe(n),l=s?e.columnStateUpdateStrategy.getPrimaryColumns(s):e.colModel.getCols(),c=X7(t,o,i,l);c!=null&&(e.columnStateUpdateStrategy.moveColumns(s,t,c,"toolPanelUi"),At(e,n))},$7=e=>e.column,eH={tag:"div",cls:"ag-column-select-column",children:[{tag:"ag-checkbox",ref:"cbSelect",cls:"ag-column-select-checkbox"},{tag:"span",ref:"eLabel",cls:"ag-column-select-column-label"}]},tH=class extends T{constructor(e,t,a,n,r){super(),this.modelItem=e,this.allowDragging=t,this.groupsExist=a,this.focusWrapper=n,this.params=r,this.eLabel=x,this.cbSelect=x,this.processingColumnStateChange=!1;const{column:o,depth:i,displayName:s}=e;this.column=o,this.columnDepth=i,this.displayName=s}postConstruct(){this.setTemplate(eH,[da]);const{beans:e,cbSelect:t,displayName:a,eLabel:n,columnDepth:r,groupsExist:o,column:i,gos:s,focusWrapper:l}=this,c=q("columnDrag",e);this.eDragHandle=c,c.classList.add("ag-drag-handle","ag-column-select-column-drag-handle");const d=t.getGui(),u=t.getInputElement();d.after(c),u.setAttribute("tabindex","-1"),n.textContent=a,o&&this.addCss("ag-column-select-add-group-indent"),this.addCss(`ag-column-select-indent-${r}`),this.getGui().style.setProperty("--ag-indentation-level",String(r)),this.tooltipFeature=this.createOptionalManagedBean(e.registry.createDynamicBean("tooltipFeature",!1,{getGui:()=>this.focusWrapper,getLocation:()=>"columnToolPanelColumn",shouldDisplayTooltip:is(s,()=>n),getAdditionalParams:()=>({colDef:i.getColDef()})})),this.setupDragging();const g=this.onColumnStateChanged.bind(this);this.addManagedEventListeners({columnPivotModeChanged:g}),this.addManagedListeners(i,{columnValueChanged:g,columnPivotChanged:g,columnRowGroupChanged:g,visibleChanged:g}),this.addManagedListeners(l,{keydown:this.handleKeyDown.bind(this),contextmenu:this.onContextMenu.bind(this)});const h=new sa(l);this.addManagedListeners(h,{longTap:f=>this.onContextMenu(f.touchStart)}),this.addDestroyFunc(h.destroy.bind(h)),this.addManagedPropertyListener("functionsReadOnly",this.onColumnStateChanged.bind(this)),this.addManagedListeners(t,{fieldValueChanged:this.onCheckboxChanged.bind(this)}),this.addManagedElementListeners(n,{click:this.onLabelClicked.bind(this)}),this.onColumnStateChanged(),this.refreshAriaLabel(),this.setupTooltip();const p=Yu(i.getColDef(),s,i,null);for(const f of p)this.toggleCss(f,!0)}getColumn(){return this.column}setupTooltip(){const e=()=>this.tooltipFeature?.setTooltipAndRefresh(this.column.getColDef().headerTooltip);e(),this.addManagedEventListeners({newColumnsLoaded:e})}onContextMenu(e){const{column:t,gos:a}=this;if(a.get("functionsReadOnly"))return;const n=this.createBean(new hS(t,e,this.focusWrapper,this.params));this.addDestroyFunc(()=>{n.isAlive()&&this.destroyBean(n)})}handleKeyDown(e){e.key===w.SPACE&&(e.preventDefault(),this.isSelectable()&&this.onSelectAllChanged(!this.isSelected()))}onLabelClicked(){if(this.gos.get("functionsReadOnly"))return;const e=!this.cbSelect.getValue();this.onChangeCommon(e)}onCheckboxChanged(e){this.onChangeCommon(e.selected)}onChangeCommon(e){this.cbSelect.isReadOnly()||(this.refreshAriaLabel(),!this.processingColumnStateChange&&iS(this.beans,[this.column],e,"toolPanelUi",this.params))}refreshAriaLabel(){const{cbSelect:e,focusWrapper:t,displayName:a}=this,n=this.getLocaleTextFunc(),r=n("ariaColumn","Column"),o=e.getValue()?n("ariaVisible","visible"):n("ariaHidden","hidden"),i=n("ariaToggleVisibility","Press SPACE to toggle visibility");de(t,`${a} ${r}`),this.cbSelect.setInputAriaLabel(`${i} (${o})`),ri(t,e.getInputElement().id)}setupDragging(){const e=this.eDragHandle;if(!this.allowDragging){G(e,!1);return}const t=this.beans,{gos:a,eventSvc:n,dragAndDrop:r}=t;oe(this.params)&&e.setAttribute("data-column-tool-panel-deferred","");let o=!a.get("suppressDragLeaveHidesColumns");const i={type:ia.ToolPanel,eElement:e,dragItemName:this.displayName,getDefaultIconName:()=>o&&!oe(this.params)?"hide":"notAllowed",getDragItem:()=>this.createDragItem(),onDragStarted:()=>{o=!a.get("suppressDragLeaveHidesColumns"),n.dispatchEvent({type:"columnPanelItemDragStart",column:this.column})},onDragStopped:()=>{n.dispatchEvent({type:"columnPanelItemDragEnd"})},onGridEnter:s=>{o&&!oe(this.params)&&sS(t,{columns:[this.column],visibleState:s?.visibleState,pivotState:s?.pivotState,eventType:"toolPanelUi",buttons:this.params.buttons})},onGridExit:()=>{o&&!oe(this.params)&&this.onChangeCommon(!1)}};r.addDragSource(i,!0),this.addDestroyFunc(()=>r.removeDragSource(i))}createDragItem(){const e=this.column.getColId(),t={[e]:this.column.isVisible()},a=this.beans.columnStateUpdateStrategy,n={[e]:lS(this.column,a,oe(this.params))};return{columns:[this.column],visibleState:t,pivotState:n}}onColumnStateChanged(){this.processingColumnStateChange=!0;const e=this.beans.columnStateUpdateStrategy,t=e.getPivotMode(oe(this.params));if(t){const r=e.isColumnSelectedInPivotModeToolPanel(oe(this.params),this.column);this.cbSelect.setValue(r)}else this.cbSelect.setValue(e.isColumnVisibleInToolPanel(oe(this.params),this.column));let a=!0,n=!0;if(t){const r=this.gos.get("functionsReadOnly"),o=!this.column.isAnyFunctionAllowed();a=!r&&!o,n=a}else{const{enableRowGroup:r,enableValue:o,lockPosition:i,suppressMovable:s,lockVisible:l}=this.column.getColDef(),c=!!r||!!o,d=!!i||!!s;a=!l,n=c||!d}this.cbSelect.setReadOnly(!a),this.eDragHandle.classList.toggle("ag-column-select-column-readonly",!n),this.toggleCss("ag-column-select-column-readonly",!n&&!a),this.cbSelect.setPassive(!1),this.processingColumnStateChange=!1}getDisplayName(){return this.displayName}onSelectAllChanged(e){const t=this.cbSelect;e!==t.getValue()&&(t.isReadOnly()||t.toggle())}isSelected(){return this.cbSelect.getValue()}isSelectable(){return!this.cbSelect.isReadOnly()}isExpandable(){return!1}setExpanded(e){R(158)}},aH=class{constructor(e){this.items=e}getRowCount(){return this.items.length}getRow(e){return this.items[e]}},nH="ag-column-select-list",rH=class extends T{constructor(){super({tag:"div",cls:nH,role:"presentation"}),this.destroyColumnItemFuncs=[],this.hasLoadedInitialState=!1,this.isInitialState=!1,this.skipRefocus=!1}wireBeans(e){this.colModel=e.colModel}destroy(){this.destroyColumnTree(),super.destroy()}destroyColumnTree(){this.allColsTree=[];for(const e of this.destroyColumnItemFuncs)e();this.destroyColumnItemFuncs=[]}init(e,t,a){this.params=e;const{suppressSyncLayoutWithGrid:n,contractColumnSelection:r,suppressColumnMove:o}=e;this.allowDragging=t,this.eventType=a,n||this.addManagedEventListeners({columnMoved:this.onColumnsChanged.bind(this)}),this.addManagedEventListeners({newColumnsLoaded:this.onColumnsChanged.bind(this)});const i=this.fireSelectionChangedEvent.bind(this);this.addManagedEventListeners({columnPivotChanged:i,columnPivotModeChanged:i,columnRowGroupChanged:i,columnValueChanged:i,columnVisible:i,newColumnsLoaded:i}),this.expandGroupsByDefault=!r;const s=o||n,l=this.createManagedBean(new Vo({cssIdentifier:"column-select",ariaRole:"tree",moveItemCallback:(c,d)=>{s||this.moveItems(c,d)}}));this.virtualList=l,this.appendChild(l.getGui()),l.setComponentCreator((c,d)=>(oi(d,c.depth+1),this.createComponentFromItem(c,d))),this.colModel.ready&&this.onColumnsChanged(),!s&&this.createItemDragFeature()}createItemDragFeature(){const{gos:e,beans:t,virtualList:a}=this;this.createManagedBean(new z0(this,a,{dragSourceType:ia.ToolPanel,addListeners:(n,r,o)=>{n.addManagedEventListeners({columnPanelItemDragStart:r,columnPanelItemDragEnd:o})},getCurrentDragValue:n=>$7(n),isMoveBlocked:n=>fS(e,t,Tp(n),this.params),getNumRows:n=>n.getDisplayedColsList().length,moveItem:(n,r)=>mS(t,Tp(n),r,this.params)}))}moveItems(e,t){const{gos:a,beans:n}=this,{modelItem:r}=e,{group:o,columnGroup:i,column:s,expanded:l}=r,c=Tp(o?i:s);if(fS(a,n,c,this.params))return;const d=this.displayedColsList.indexOf(r),u=t?-1:1;let g=0;if(t){const p=e.columnDepth>0?s.getParent()?.getChildren():null;p?.length&&s===p[0]&&(g=-1)}else o&&(g=l?r.children.length:0);const h=Math.min(Math.max(d+g+u,0),this.displayedColsList.length-1);this.skipRefocus=!0,mS(n,c,{rowIndex:h,position:t?"top":"bottom",component:this.virtualList.getComponentAt(h)},this.params),this.focusRowIfAlive(h-g).then(()=>{this.skipRefocus=!1})}createComponentFromItem(e,t){const a=this.allowDragging;if(e.group){const r=new pS(e,a,this.eventType,t,this.params);return this.createBean(r),r}const n=new tH(e,a,this.groupsExist,t,this.params);return this.createBean(n),n}onColumnsChanged(){const e=this.params;this.hasLoadedInitialState||(this.hasLoadedInitialState=!0,this.isInitialState=!!e.initialState);const t=this.getExpandedStates(),a=this.colModel.isPivotMode(),n=oe(e),r=n&&this.beans.columnStateUpdateStrategy.hasDeferredColumnOrder(n);(!e.suppressSyncLayoutWithGrid||n)&&!a||r?this.buildTreeFromWhatGridIsDisplaying():this.buildTreeFromProvidedColumnDefs(),this.setExpandedStates(t),this.markFilteredColumns(),this.flattenAndFilterModel(),this.isInitialState=!1}getDisplayedColsList(){return this.displayedColsList}getExpandedStates(){const e={};if(this.isInitialState){const{expandedGroupIds:t}=this.params.initialState;for(const a of t)e[a]=!0;return e}return this.allColsTree?(this.forEachItem(t=>{if(!t.group)return;const a=t.columnGroup;a&&(e[a.getId()]=t.expanded)}),e):{}}setExpandedStates(e){if(!this.allColsTree)return;const{isInitialState:t}=this;this.forEachItem(a=>{if(!a.group)return;const n=a.columnGroup;if(n){const r=e[n.getId()];(r!=null||t)&&(a.expanded=!!r)}})}buildTreeFromWhatGridIsDisplaying(){const e=oe(this.params);if(e&&this.beans.columnStateUpdateStrategy.hasDeferredColumnOrder(e)){const t=this.beans.columnStateUpdateStrategy.getPrimaryColumns(e);if(t.length>0){V7(t,this.setColumnLayout.bind(this));return}}if(this.params.suppressSyncLayoutWithGrid){this.buildTreeFromProvidedColumnDefs();return}aS(this.colModel,this.setColumnLayout.bind(this))}setColumnLayout(e){const t=tS(this.colModel,e);this.buildListModel(t),this.groupsExist=e.some(a=>a&&typeof a.children<"u"),this.markFilteredColumns(),this.flattenAndFilterModel()}buildTreeFromProvidedColumnDefs(){const e=this.colModel;this.buildListModel(e.getColDefColTree()),this.groupsExist=!!e.colDefCols?.treeDepth}buildListModel(e){const t=this.onColumnExpanded.bind(this),a=s=>{s.addEventListener("expandedChanged",t);const l=s.removeEventListener.bind(s,"expandedChanged",t);this.destroyColumnItemFuncs.push(l)},n=this.beans.colNames,r=(s,l,c)=>{for(const d of s)ke(d)?o(d,l,c):i(d,l,c)},o=(s,l,c)=>{if(s.getColGroupDef()?.suppressColumnsToolPanel)return;if(s.isPadding()){r(s.getChildren(),l,c);return}const g=n.getDisplayNameForProvidedColumnGroup(null,s,"columnToolPanel"),h=new rS(g,s,l,!0,this.expandGroupsByDefault);c.push(h),a(h),r(s.getChildren(),l+1,h.children)},i=(s,l,c)=>{if(s.getColDef()?.suppressColumnsToolPanel)return;const u=n.getDisplayNameForColumn(s,"columnToolPanel");c.push(new rS(u,s,l))};this.destroyColumnTree(),r(e,0,this.allColsTree)}onColumnExpanded(){this.flattenAndFilterModel()}flattenAndFilterModel(){this.displayedColsList=[];const e=n=>{n.passesFilter&&(this.displayedColsList.push(n),n.group&&n.expanded&&n.children.forEach(e))},t=this.virtualList;this.allColsTree.forEach(e),t.setModel(new aH(this.displayedColsList));let a=null;this.skipRefocus||(a=t.getLastFocusedRow()),t.refresh(),a!=null&&this.focusRowIfAlive(a),this.notifyListeners(),this.refreshAriaLabel()}refreshAriaLabel(){const e=this.getLocaleTextFunc(),t=e("ariaColumnPanelList","Column List"),a=e("columns","Columns"),n=this.displayedColsList.length;de(this.virtualList.getAriaElement(),`${t} ${n} ${a}`)}focusRowIfAlive(e){return e===-1?Promise.resolve():new Promise(t=>{window.setTimeout(()=>{this.isAlive()&&this.virtualList.focusRow(e),t()},0)})}forEachItem(e){const t=n=>{for(const r of n)e(r),r.group&&t(r.children)},a=this.allColsTree;a&&t(a)}doSetExpandedAll(e){this.forEachItem(t=>{t.group&&(t.expanded=e)})}setGroupsExpanded(e,t){if(!t){this.doSetExpandedAll(e);return}const a=[];this.forEachItem(r=>{if(!r.group)return;const o=r.columnGroup.getId();t.indexOf(o)>=0&&(r.expanded=e,a.push(o))});const n=t.filter(r=>!a.includes(r));n.length>0&&R(157,{unrecognisedGroupIds:n})}getExpandState(){let e=0,t=0;return this.forEachItem(a=>{a.group&&(a.expanded?e++:t++)}),e>0&&t>0?2:t>0?1:0}doSetSelectedAll(e){oS(this.beans,this.allColsTree,e,this.eventType,this.params),this.syncVisibleSelectionState(),this.fireSelectionChangedEvent()}syncVisibleSelectionState(){for(let e=0;e{if(r.group||!r.passesFilter)return;const o=r.column,i=o.getColDef();let s;if(n){if(!o.isAllowPivot()&&!o.isAllowRowGroup()&&!o.isAllowValue())return;s=a.isColumnSelectedInPivotModeToolPanel(oe(this.params),o)??!1}else{if(i.lockVisible)return;s=a.isColumnVisibleInToolPanel(oe(this.params),o)??!1}s?e++:t++}),!(e>0&&t>0))return!(e===0||t>0)}setFilterText(e){this.filterText=A(e)?e.toLowerCase():null,this.markFilteredColumns(),this.flattenAndFilterModel()}markFilteredColumns(){const e=a=>{if(!A(this.filterText))return!0;const n=a.displayName;return n==null||n.toLowerCase().indexOf(this.filterText)!==-1},t=(a,n)=>{let r=!1;if(a.group){const i=e(a);for(const s of a.children){const l=t(s,i||n);l&&(r=l)}}const o=n||r?!0:e(a);return a.passesFilter=o,o};for(const a of this.allColsTree)t(a,!1)}notifyListeners(){this.fireGroupExpandedEvent(),this.fireSelectionChangedEvent()}fireGroupExpandedEvent(){const e=this.getExpandState();this.dispatchLocalEvent({type:"groupExpanded",state:e})}fireSelectionChangedEvent(){if(!this.allColsTree)return;const e=this.getSelectionState();this.dispatchLocalEvent({type:"selectionChanged",state:e})}getExpandedGroups(){const e=[];return this.allColsTree&&this.forEachItem(t=>{t.group&&t.expanded&&e.push(t.columnGroup.getId())}),e}},oH={selector:"AG-PRIMARY-COLS-LIST",component:rH},iH={tag:"div",cls:"ag-column-select",children:[{tag:"ag-primary-cols-header",ref:"primaryColsHeaderPanel"},{tag:"ag-primary-cols-list",ref:"primaryColsListPanel"}]},vS=class extends T{constructor(){super(iH,[G7,oH]),this.primaryColsHeaderPanel=x,this.primaryColsListPanel=x,this.registerCSS(I7)}init(e,t,a){const{primaryColsHeaderPanel:n,primaryColsListPanel:r}=this;n.init(t);const o=t.suppressColumnFilter,i=t.suppressColumnSelectAll;t.suppressColumnExpandAll&&o&&i&&n.setDisplayed(!1),this.addManagedListeners(r,{groupExpanded:l=>{n.setExpandState(l.state),t.onStateUpdated()},selectionChanged:l=>n.setSelectionState(l.state)}),r.init(t,e,a),this.addManagedListeners(n,{expandAll:r.doSetExpandedAll.bind(r,!0),collapseAll:r.doSetExpandedAll.bind(r,!1),selectAll:r.doSetSelectedAll.bind(r,!0),unselectAll:r.doSetSelectedAll.bind(r,!1),filterChanged:l=>r.setFilterText(l.filterText)}),this.positionableFeature=this.createManagedBean(new Sl(this.getGui(),{minHeight:100}))}toggleResizable(e){this.positionableFeature.setResizable(e?{bottom:!0}:!1)}expandGroups(e){this.primaryColsListPanel.setGroupsExpanded(!0,e)}collapseGroups(e){this.primaryColsListPanel.setGroupsExpanded(!1,e)}setColumnLayout(e){this.primaryColsListPanel.setColumnLayout(e)}syncLayoutWithGrid(){this.primaryColsListPanel.onColumnsChanged()}getExpandedGroups(){return this.primaryColsListPanel.getExpandedGroups()}},sH=".ag-column-panel{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.ag-pivot-mode-panel{display:flex;height:var(--ag-header-height)}.ag-pivot-mode-select{align-items:center;display:flex}:where(.ag-ltr) .ag-pivot-mode-select{margin-left:var(--ag-widget-container-horizontal-padding)}:where(.ag-rtl) .ag-pivot-mode-select{margin-right:var(--ag-widget-container-horizontal-padding)}.ag-column-panel-column-select:where(:not(.ag-last-visible-child)){border-bottom:var(--ag-tool-panel-separator-border)}.ag-column-panel-column-select:where(:nth-child(n+2 of :not(.ag-hidden))){border-top:var(--ag-tool-panel-separator-border)}:where(.ag-column-panel) .ag-column-drop-vertical{flex:1 1 0px;min-height:50px}:where(.ag-column-panel) .ag-column-drop-vertical:where(:not(.ag-last-column-drop)){border-bottom:var(--ag-tool-panel-separator-border)}.ag-column-panel-buttons{display:flex;flex-wrap:wrap;gap:var(--ag-widget-vertical-spacing) var(--ag-widget-horizontal-spacing);justify-content:flex-end;overflow:hidden;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding) 0;:where(.ag-standard-button){transition:background-color .25s ease-in-out,color .25s ease-in-out}}.ag-column-panel-buttons:where(:last-child){padding-bottom:var(--ag-widget-container-vertical-padding)}.ag-column-panel-buttons-button{line-height:1.5}:where(.ag-column-panel) .ag-column-panel-buttons-apply-button:not(:disabled){background-color:var(--ag-column-panel-apply-button-background-color);color:var(--ag-column-panel-apply-button-color)}",lH="ag-column-panel-deferred",cH=class extends T{constructor(){super({tag:"div",cls:"ag-column-panel"}),this.initialised=!1,this.childDestroyFuncs=[],this.isDeferModeEnabled=!1,this.isCommitting=!1,this.onDeferredApply=()=>{this.isCommitting=!0;try{this.beans.columnStateUpdateStrategy.commit(this.isDeferModeEnabled)}finally{this.isCommitting=!1}this.deferredButtonsComp?.updateValidity(!1),this.lastKnownGridState=this.captureGridState()},this.onDeferredCancel=()=>{this.beans.columnStateUpdateStrategy.reset(this.isDeferModeEnabled),this.deferredButtonsComp?.updateValidity(!1),this.refreshToolPanelLayouts(),this.pivotModePanel?.refreshEditStrategy(),this.lastKnownGridState=this.captureGridState()},this.onPivotModePanelValueChanged=()=>{this.refreshToolPanelLayouts(),this.setLastVisible(),this.deferredButtonsComp?.updateValidity(this.beans.columnStateUpdateStrategy.hasPendingChanges(this.isDeferModeEnabled))},this.onColumnEverythingChanged=()=>{if(!this.isDeferModeEnabled||this.isCommitting)return;const e=this.captureGridState();if(!this.beans.columnStateUpdateStrategy.hasPendingChanges(this.isDeferModeEnabled)){this.lastKnownGridState=e;return}const t=this.lastKnownGridState&&this.isGridStateEqual(this.lastKnownGridState,e);this.lastKnownGridState=e,t&&this.resetDeferredState()},this.onExternalGridChange=()=>{!this.isDeferModeEnabled||this.isCommitting||this.beans.columnStateUpdateStrategy.hasPendingChanges(this.isDeferModeEnabled)&&(this.resetDeferredState(),this.lastKnownGridState=this.captureGridState())},this.registerCSS(sH)}wireBeans(e){this.colToolPanelFactory=e.colToolPanelFactory}setVisible(e){super.setDisplayed(e),e&&!this.initialised&&this.init(this.params)}init(e){const a={...B(this.gos,{suppressColumnMove:!1,suppressColumnSelectAll:!1,suppressColumnFilter:!1,suppressColumnExpandAll:!1,contractColumnSelection:!1,suppressPivotMode:!1,suppressRowGroups:!1,suppressValues:!1,suppressPivots:!1,suppressSyncLayoutWithGrid:!1}),...e};this.params=a;const{childDestroyFuncs:n,colToolPanelFactory:r,gos:o}=this,i=o.isModuleRegistered("SharedPivot"),s=i||o.isModuleRegistered("SharedRowGrouping");this.isDeferModeEnabled=oe(a),this.toggleCss(lH,this.isDeferModeEnabled),!a.suppressPivotMode&&r&&i&&(this.pivotModePanel=r.createPivotModePanel(this,n,a,this.onPivotModePanelValueChanged));const l=this.createBean(new vS);if(this.primaryColsPanel=l,n.push(()=>this.destroyBean(this.primaryColsPanel)),l.init(!0,a,"toolPanelUi"),l.addCss("ag-column-panel-column-select"),this.appendChild(l),r){!a.suppressRowGroups&&s&&(this.rowGroupDropZonePanel=r.createRowGroupPanel(this,n,a)),!a.suppressValues&&s&&(this.valuesDropZonePanel=r.createValuesPanel(this,n,a)),!a.suppressPivots&&i&&(this.pivotDropZonePanel=r.createPivotPanel(this,n,a)),this.setLastVisible();const[c]=this.addManagedEventListeners({columnPivotModeChanged:()=>{this.resetChildrenHeight(),this.setLastVisible()}});n.push(()=>c())}if(this.isDeferModeEnabled){const c=this.onExternalGridChange;n.push(...this.addManagedEventListeners({columnEverythingChanged:this.onColumnEverythingChanged,sortChanged:c,columnVisible:c,columnRowGroupChanged:c,columnValueChanged:c,columnPivotChanged:c,columnPivotModeChanged:c,newColumnsLoaded:c,...a.suppressSyncLayoutWithGrid?{}:{columnMoved:c}}))}a.buttons&&(a.buttons.includes("apply")||R(298),a.buttons.length&&this.initDeferredButtons(a.buttons)),this.initialised=!0}initDeferredButtons(e){const t=this.createBean(new Po({className:"ag-column-panel-buttons"}));this.deferredButtonsComp=t,this.childDestroyFuncs.push(()=>{this.deferredButtonsComp=this.destroyBean(this.deferredButtonsComp)});const a=this.getLocaleTextFunc(),n=e.map(r=>({type:r,label:a(r==="apply"?"applyColumnToolPanel":"cancelColumnToolPanel",r==="apply"?"Apply":"Cancel")}));t.updateButtons(n),t.updateValidity(!1),t.addManagedListeners(t,{apply:this.onDeferredApply,cancel:this.onDeferredCancel}),this.appendChild(t)}resetDeferredState(){this.beans.columnStateUpdateStrategy.reset(this.isDeferModeEnabled),this.deferredButtonsComp?.updateValidity(!1),this.refreshToolPanelLayouts(),this.pivotModePanel?.refreshEditStrategy()}captureGridState(){const{beans:e}=this,t=a=>(a??[]).map(n=>n.getColId());return{rowGroupColIds:t(e.rowGroupColsSvc?.columns),valueColIds:t(e.valueColsSvc?.columns),pivotColIds:t(e.pivotColsSvc?.columns),pivotMode:e.colModel.isPivotMode(),columnOrder:e.colModel.getCols().map(a=>a.getColId()),visibleColIds:e.colModel.getCols().filter(a=>a.isVisible()).map(a=>a.getColId()),sortState:e.colModel.getCols().filter(a=>a.getSort()).map(a=>`${a.getColId()}:${a.getSort()}:${a.getSortIndex()}`),aggFuncState:(e.valueColsSvc?.columns??[]).map(a=>a.getAggFunc()),widthState:e.colModel.getCols().map(a=>`${a.getColId()}:${a.getActualWidth()}`)}}isGridStateEqual(e,t){return we(e.rowGroupColIds,t.rowGroupColIds)&&we(e.valueColIds,t.valueColIds)&&we(e.pivotColIds,t.pivotColIds)&&e.pivotMode===t.pivotMode&&we(e.columnOrder,t.columnOrder)&&we(e.visibleColIds,t.visibleColIds)&&we(e.sortState,t.sortState)&&we(e.aggFuncState,t.aggFuncState)&&we(e.widthState,t.widthState)}refreshDeferredUi(){this.refreshToolPanelLayouts(),this.setLastVisible(),this.pivotModePanel?.refreshEditStrategy(),this.deferredButtonsComp?.updateValidity(this.beans.columnStateUpdateStrategy.hasPendingChanges(this.isDeferModeEnabled))}refreshToolPanelLayouts(){this.primaryColsPanel.syncLayoutWithGrid(),this.rowGroupDropZonePanel?.refreshGui(),this.valuesDropZonePanel?.refreshGui(),this.pivotDropZonePanel?.refresh()}setPivotModeSectionVisible(e){const t=this.colToolPanelFactory;t&&(this.pivotModePanel=t.setPanelVisible(this.pivotModePanel,e,t.createPivotModePanel.bind(t,this,this.childDestroyFuncs,this.params,this.onPivotModePanelValueChanged,!0)),this.setLastVisible())}setRowGroupsSectionVisible(e){const t=this.colToolPanelFactory;t&&(this.rowGroupDropZonePanel=t.setPanelVisible(this.rowGroupDropZonePanel,e,t.createRowGroupPanel.bind(t,this,this.childDestroyFuncs,this.params)),this.setLastVisible())}setValuesSectionVisible(e){const t=this.colToolPanelFactory;t&&(this.valuesDropZonePanel=t.setPanelVisible(this.valuesDropZonePanel,e,t.createValuesPanel.bind(t,this,this.childDestroyFuncs,this.params)),this.setLastVisible())}setPivotSectionVisible(e){const t=this.colToolPanelFactory;t&&(this.pivotDropZonePanel=t.setPanelVisible(this.pivotDropZonePanel,e,t.createPivotPanel.bind(t,this,this.childDestroyFuncs,this.params)),this.pivotDropZonePanel?.setDisplayed(e),this.setLastVisible())}setResizers(){for(const e of[this.primaryColsPanel,this.rowGroupDropZonePanel,this.valuesDropZonePanel,this.pivotDropZonePanel]){if(!e)continue;const t=e.getGui();e.toggleResizable(!t.classList.contains("ag-last-column-drop")&&!t.classList.contains("ag-hidden")&&!t.classList.contains("ag-last-visible-child"))}}setLastVisible(){const e=this.getGui(),t=Array.prototype.slice.call(e.querySelectorAll(".ag-column-drop"));for(const r of t)r.classList.remove("ag-last-column-drop");const a=e.querySelectorAll(".ag-column-drop:not(.ag-hidden)"),n=W(a);n&&n.classList.add("ag-last-column-drop"),this.primaryColsPanel.getGui().classList.toggle("ag-last-visible-child",!n),this.setResizers()}resetChildrenHeight(){const t=this.getGui().children;for(let a=0;ao.getGui().getBoundingClientRect()),r=n.findIndex(o=>this.horizontal?o.right>a&&o.lefta);if(r===-1){const o=this.gos.get("enableRtl");return n.every(l=>a>(this.horizontal?l.right:l.bottom))?o&&this.horizontal?0:this.childPillComponents.length:n.every(l=>a<(this.horizontal?l.left:l.top))?o&&this.horizontal?this.childPillComponents.length:0:this.insertIndex}return this.insertIndex<=r?r+1:r}checkDragStartedBySelf(e){this.state==="notDragging"&&(this.state="rearrangeItems",this.potentialDndItems=this.getItems(e.dragSource.getDragItem()),this.refreshGui(),this.checkInsertIndex(e),this.refreshGui())}onDragging(e){this.checkDragStartedBySelf(e),this.checkInsertIndex(e)&&this.refreshGui()}handleDragEnterEnd(e){}onDragEnter(e){const t=this.getItems(e.dragSource.getDragItem());this.state="newItemsIn";const a=t.filter(r=>this.isItemDroppable(r,e)),n=a.every(r=>this.childPillComponents.map(o=>o.getItem()).indexOf(r)!==-1);if(a.length!==0){if(this.potentialDndItems=a,n){this.state="notDragging";return}this.handleDragEnterEnd(e),this.checkInsertIndex(e),this.refreshGui()}}isPotentialDndItems(){return!!this.potentialDndItems?.length}handleDragLeaveEnd(e){}onDragLeave(e){if(this.state==="rearrangeItems"){const t=this.getItems(e.dragSource.getDragItem());this.removeItems(t)}this.isPotentialDndItems()&&(this.handleDragLeaveEnd(e),this.potentialDndItems=[],this.refreshGui()),this.state="notDragging"}onDragCancel(e){this.isPotentialDndItems()&&(this.state==="newItemsIn"&&this.handleDragLeaveEnd(e),this.potentialDndItems=[],this.refreshGui()),this.state="notDragging"}onDragStop(){this.isPotentialDndItems()&&(this.state==="newItemsIn"?this.addItems(this.potentialDndItems):this.rearrangeItems(this.potentialDndItems),this.potentialDndItems=[],this.refreshGui()),this.state="notDragging"}removeItems(e){const t=this.getExistingItems().filter(a=>!e.includes(a));this.updateItems(t),this.refreshGui()}addItems(e){if(!e)return;const t=this.getExistingItems().slice(),a=e.filter(n=>t.indexOf(n)<0);CS(t,a,this.insertIndex),this.updateItems(t),this.refreshGui()}addItem(e){this.insertIndex=this.getExistingItems().length,this.addItems([e])}rearrangeItems(e,t){let a;return t?a=this.getExistingItems().filter(n=>e.indexOf(n)===-1):a=this.getNonGhostItems().slice(),CS(a,e,this.insertIndex),we(a,this.getExistingItems())?!1:(this.updateItems(a),this.refreshGui(),!0)}refreshGui(){let e=0;this.horizontal||(e=this.ePillDropList.scrollTop);const t=this.resizeEnabled,a=this.getFocusedItem(),{eGridDiv:n}=this.beans,r=Ai();let o=null;r&&(o=Je(this.beans,n)??Je(this.beans,n,!1,!0)),this.toggleResizable(!1),this.destroyGui(),this.addIconAndTitleToGui(),this.addEmptyMessageToGui(),this.addItemsToGui(),e!==0&&(this.ePillDropList.scrollTop=e),t&&this.toggleResizable(t),r&&this.restoreFocus(a,o)}getFocusedItem(){const e=this.getGui(),t=ne(this.beans);return e.contains(t)?Array.from(e.querySelectorAll(".ag-column-drop-cell")).indexOf(t):-1}focusItemAtIndex(e){const t=this.getGui(),n=Array.from(t.querySelectorAll(".ag-column-drop-cell"))[e];n&&n.focus({preventScroll:!0})}restoreFocus(e,t){const a=this.getGui(),n=Array.from(a.querySelectorAll(".ag-column-drop-cell"));if(e===-1)return;n.length===0&&t.focus();const r=Math.min(n.length-1,e),o=n[r];o&&o.focus()}focusList(e){const t=e?this.childPillComponents.length-1:0;this.restoreFocus(t,this.getFocusableElement())}getNonGhostItems(){const e=this.getExistingItems();return this.isPotentialDndItems()?e.filter(t=>!this.potentialDndItems.includes(t)):e}addItemsToGui(){const t=this.getNonGhostItems().map(a=>this.createItemComponent(a,!1));if(this.isPotentialDndItems()){const a=this.potentialDndItems.map(n=>this.createItemComponent(n,!0));this.insertIndex>=t.length?t.push(...a):t.splice(this.insertIndex,0,...a)}this.appendChild(this.ePillDropList),t.forEach((a,n)=>{n>0&&this.addArrow(this.ePillDropList),this.ePillDropList.appendChild(a.getGui())}),this.addAriaLabelsToComponents()}addAriaLabelsToComponents(){const{childPillComponents:e,ePillDropList:t}=this,a=e.length;De(t,a===0?"presentation":"listbox");for(let n=0;nthis.destroyBean(a)),t||this.childPillComponents.push(a),a}addIconAndTitleToGui(){const{title:e,icon:t}=this.params;if(!e||!t)return;const a=re({tag:"div"});if(Us(a,!0),this.addElementClasses(a,"title-bar"),this.addElementClasses(t,"icon"),this.toggleCss("ag-column-drop-empty",this.isExistingItemsEmpty()),a.appendChild(t),!this.horizontal){const n=re({tag:"span"});this.addElementClasses(n,"title"),n.textContent=e,a.appendChild(n)}this.appendChild(a)}isExistingItemsEmpty(){return this.getExistingItems().length===0}addEmptyMessageToGui(){const{emptyMessage:e}=this.params;if(!e||!this.isExistingItemsEmpty()||this.isPotentialDndItems())return;const t=re({tag:"span"});t.textContent=e,this.addElementClasses(t,"empty-message"),this.ePillDropList.appendChild(t)}addArrow(e){if(this.horizontal){const t=this.gos.get("enableRtl"),a=q(t?"panelDelimiterRtl":"panelDelimiter",this.beans);this.addElementClasses(a,"cell-separator"),e.appendChild(a)}}},gH={tag:"span",role:"option",children:[{tag:"span",ref:"eDragHandle",cls:"ag-drag-handle ag-column-drop-cell-drag-handle",role:"presentation"},{tag:"span",ref:"eText",cls:"ag-column-drop-cell-text",attrs:{"aria-hidden":"true"}},{tag:"span",ref:"eButton",cls:"ag-column-drop-cell-button",role:"presentation"}]},wS=class extends T{constructor(e,t,a,n,r){super(),this.dragSourceDropTarget=e,this.ghost=t,this.horizontal=a,this.template=n,this.agComponents=r,this.eText=x,this.eDragHandle=x,this.eButton=x}postConstruct(){this.setTemplate(this.template??gH,this.agComponents);const e=this.getGui(),{beans:t,eDragHandle:a,eText:n,eButton:r}=this;this.addElementClasses(e),this.addElementClasses(a,"drag-handle"),this.addElementClasses(n,"text"),this.addElementClasses(r,"button"),a.appendChild(q("columnDrag",t)),r.appendChild(q("cancel",t)),this.tooltipFeature=this.createOptionalManagedBean(t.registry.createDynamicBean("tooltipFeature",!1,{getGui:()=>this.getGui()})),this.setupComponents(),!this.ghost&&this.isDraggable()&&this.addDragSource(),this.setupAria(),this.setupTooltip(),this.activateTabIndex(),this.refreshDraggable()}isDraggable(){return!0}refreshDraggable(){this.eDragHandle.classList.toggle("ag-column-select-column-readonly",!this.isDraggable())}setupAria(){const e=this.getLocaleTextFunc(),t=[this.getAriaDisplayName()];this.addAdditionalAriaInstructions(t,e),de(this.getGui(),t.join(". "))}addAdditionalAriaInstructions(e,t){if(this.isRemovable()){const a=t("ariaDropZoneColumnComponentDescription","Press DELETE to remove");e.push(a)}}setupTooltip(){const e=()=>this.tooltipFeature?.setTooltipAndRefresh(this.getTooltip());e(),this.addManagedEventListeners({newColumnsLoaded:e})}getDragSourceId(){}getDefaultIconName(){return"notAllowed"}addDragSource(){const{beans:{dragAndDrop:e},eDragHandle:t}=this,a=this.createGetDragItem(),n=this.getDefaultIconName(),r={type:this.getDragSourceType(),sourceId:this.getDragSourceId(),eElement:t,getDefaultIconName:()=>n,getDragItem:a,dragItemName:this.getDisplayName()};e?.addDragSource(r,!0),this.addDestroyFunc(()=>e?.removeDragSource(r))}setupComponents(){this.eText.textContent=this.getDisplayValue(),this.setupRemove(),this.ghost&&this.addCss("ag-column-drop-cell-ghost")}isRemovable(){return!0}refreshRemove(){G(this.eButton,this.isRemovable())}setupRemove(){this.refreshRemove();const e={type:"columnRemove"};this.addGuiEventListener("keydown",a=>this.onKeyDown(a)),this.addManagedElementListeners(this.eButton,{click:a=>{this.dispatchLocalEvent(e),a.stopPropagation()}});const t=new sa(this.eButton);this.addManagedListeners(t,{tap:()=>this.dispatchLocalEvent(e)}),this.addDestroyFunc(t.destroy.bind(t))}onKeyDown(e){e.key===w.DELETE&&this.isRemovable()&&(e.preventDefault(),this.dispatchLocalEvent({type:"columnRemove"}))}getDisplayValue(){return this.getDisplayName()}addElementClasses(e,t){t=t?`-${t}`:"";const a=this.horizontal?"horizontal":"vertical";e.classList.add(`ag-column-drop-cell${t}`,`ag-column-drop-${a}-cell${t}`)}destroy(){super.destroy(),this.dragSourceDropTarget=null}},hH=class extends wS{constructor(e,t,a,n,r,o){super(t,a,r),this.column=e,this.dropZonePurpose=n,this.updateParams=o,this.eSortIndicator=x,this.popupShowing=!1,this.deferApply=oe(o)}postConstruct(){const{sortSvc:e,colNames:t}=this.beans;this.template={tag:"span",role:"option",children:[{tag:"span",ref:"eDragHandle",cls:"ag-drag-handle ag-column-drop-cell-drag-handle",role:"presentation"},{tag:"span",ref:"eText",cls:"ag-column-drop-cell-text",attrs:{"aria-hidden":"true"}},e?{tag:"ag-sort-indicator",ref:"eSortIndicator"}:void 0,{tag:"span",ref:"eButton",cls:"ag-column-drop-cell-button",role:"presentation"}]},e&&(this.agComponents=[e.getSortIndicatorSelector()]),this.displayName=t.getDisplayNameForColumn(this.column,"columnDrop"),super.postConstruct(),this.deferApply&&this.eDragHandle.setAttribute("data-column-tool-panel-deferred",""),e&&(this.setupSort(),this.addManagedEventListeners({sortChanged:()=>{this.setupAria()}})),this.isGroupingZone()&&this.addManagedPropertyListener("groupLockGroupColumns",()=>{this.refreshRemove(),this.refreshDraggable(),this.setupAria()})}getItem(){return this.column}getDisplayName(){return this.displayName}getTooltip(){return this.column.getColDef().headerTooltip}addAdditionalAriaInstructions(e,t){const a=this.gos.get("rowGroupPanelSuppressSort"),n=this.gos.get("functionsReadOnly");if(this.isAggregationZone()&&!n){const r=t("ariaDropZoneColumnValueItemDescription","Press ENTER to change the aggregation type");e.push(r)}if(this.isGroupingZone()&&this.column.isSortable()&&!a){const r=t("ariaDropZoneColumnGroupItemDescription","Press ENTER to sort");e.push(r)}super.addAdditionalAriaInstructions(e,t)}isMovable(){return this.isDraggable()}isDraggable(){return this.isReadOnly()}isRemovable(){return this.isReadOnly()}isReadOnly(){return!this.isGroupingAndLocked()&&!this.gos.get("functionsReadOnly")}getAriaDisplayName(){const e=this.getLocaleTextFunc(),{name:t,aggFuncName:a}=this.getColumnAndAggFuncName(),n=e("ariaDropZoneColumnComponentAggFuncSeparator"," of "),r={asc:e("ariaDropZoneColumnComponentSortAscending","ascending"),desc:e("ariaDropZoneColumnComponentSortDescending","descending")},o=this.getCurrentSortDirection(this.column),i=this.gos.get("rowGroupPanelSuppressSort");return[a&&`${a}${n}`,t,this.isGroupingZone()&&!i&&o&&`, ${r[o]}`].filter(s=>!!s).join("")}getColumnAndAggFuncName(){const e=this.displayName;let t="";if(this.isAggregationZone()){const a=this.beans.columnStateUpdateStrategy.getColumnAggFunc(this.deferApply,this.column),n=typeof a=="string"?a:"agg";t=this.getLocaleTextFunc()(n,n)}return{name:e,aggFuncName:t}}setupSort(){if(!this.column.isSortable()||!this.isGroupingZone())return;const{gos:e,column:t,eSortIndicator:a}=this;if(!e.get("rowGroupPanelSuppressSort")){a.setupSort(t,!0,this.getSortDefOverride.bind(this));const n=r=>{r.preventDefault(),this.beans.columnStateUpdateStrategy.progressSortFromEvent(this.deferApply,t,r),a.refresh(),this.setupAria(),At(this.beans,this.updateParams)};this.addGuiEventListener("click",n),this.addGuiEventListener("keydown",r=>{r.key===w.ENTER&&this.isGroupingZone()&&n(r)})}}getCurrentSortDirection(e){return this.beans.columnStateUpdateStrategy.getSortDef(this.deferApply,e)?.direction??null}getSortDefOverride(){if(this.deferApply)return this.beans.columnStateUpdateStrategy.getSortDef(this.deferApply,this.column)}getDefaultIconName(){return"hide"}createGetDragItem(){const{column:e}=this;return()=>{const t={};return t[e.getId()]=e.isVisible(),{columns:[e],visibleState:t}}}setupComponents(){super.setupComponents(),this.isAggregationZone()&&!this.gos.get("functionsReadOnly")&&this.addGuiEventListener("click",this.onShowAggFuncSelection.bind(this))}onKeyDown(e){super.onKeyDown(e),e.key===w.ENTER&&this.isAggregationZone()&&!this.gos.get("functionsReadOnly")&&(e.preventDefault(),this.onShowAggFuncSelection())}getDisplayValue(){const{name:e,aggFuncName:t}=this.getColumnAndAggFuncName();return this.isAggregationZone()?`${t}(${e})`:e}onShowAggFuncSelection(){if(this.popupShowing)return;this.popupShowing=!0;const{aggFuncSvc:e,popupSvc:t}=this.beans,a=new Vo({cssIdentifier:"select-agg-func"}),n=e.getFuncNames(this.column),r=this.getGui(),o=a.getGui();a.setModel({getRow:function(h){return n[h]},getRowCount:function(){return n.length}}),this.createBean(a);const i=re({tag:"div",cls:"ag-select-agg-func-popup"});i.style.top="0px",i.style.left="0px",i.appendChild(o),i.style.width=`${r.clientWidth}px`;const[s]=this.addManagedElementListeners(i,{focusout:h=>{!i.contains(h.relatedTarget)&&d&&d.hideFunc()}}),l=h=>{this.destroyBean(a),this.popupShowing=!1,h?.key==="Escape"&&r.focus(),s&&s()},c=this.getLocaleTextFunc(),d=t.addPopup({modal:!0,eChild:i,closeOnEsc:!0,closedCallback:l,ariaLabel:c("ariaLabelAggregationFunction","Aggregation Function")});d&&a.setComponentCreator(this.createAggSelect.bind(this,d.hideFunc)),a.addGuiEventListener("keydown",h=>{if(h.key===w.ENTER||h.key===w.SPACE){const p=a.getLastFocusedRow();if(p==null)return;const f=a.getComponentAt(p);f&&f.selectItem()}}),t.positionPopupByComponent({type:"aggFuncSelect",eventSource:r,ePopup:i,keepWithinBounds:!0,additionalParams:{column:this.column},position:"under"}),a.refresh();const u=this.beans.columnStateUpdateStrategy.getColumnAggFunc(this.deferApply,this.column);let g=n.findIndex(h=>h===u);g===-1&&(g=0),a.focusRow(g)}createAggSelect(e,t){const a=()=>{if(e(),this.getGui().focus(),this.beans.columnStateUpdateStrategy.setColumnAggFunc(this.deferApply,this.column,t,"toolPanelDragAndDrop"),this.column){const s=this.getGui().querySelector(".ag-column-drop-cell-text");s&&(s.textContent=this.getDisplayValue()),this.setupAria()}At(this.beans,this.updateParams)},n=this.getLocaleTextFunc(),r=(t||"").toString(),o=n(r,r);return new pH(a,o)}isGroupingAndLocked(){return this.isGroupingZone()&&Ss(this.column,this.beans)}isAggregationZone(){return this.dropZonePurpose==="aggregation"}isGroupingZone(){return this.dropZonePurpose==="rowGroup"}getDragSourceType(){return ia.ToolPanel}destroy(){super.destroy(),this.column=null}},pH=class extends T{constructor(e,t){super({tag:"div",cls:"ag-select-agg-func-item",children:t}),this.selectItem=e,this.addGuiEventListener("click",this.selectItem)}},Dp=class extends bS{constructor(e,t,a){super(e),this.dropZonePurpose=t,this.updateParams=a,this.addElementClasses(this.getGui(),this.dropZonePurpose.toLowerCase())}init(e){super.init(e),this.addManagedEventListeners({newColumnsLoaded:this.refreshGui.bind(this)}),this.addManagedPropertyListeners(["functionsReadOnly","rowGroupPanelSuppressSort","groupLockGroupColumns"],this.refreshGui.bind(this))}getItems(e){return e.columns??[]}isInterestedIn(e,t){return e===ia.HeaderCell?!0:e!==ia.ToolPanel?!1:this.horizontal?!t.hasAttribute("data-column-tool-panel-deferred"):!0}minimumAllowedNewInsertIndex(){const{gos:e,rowGroupColsSvc:t}=this.beans,a=e.get("groupLockGroupColumns"),n=t?.columns.length??0;return a===-1?n:Math.min(a,n)}showOrHideColumnOnExit(e){return this.isRowGroupPanel()&&ru(this.gos,!0)&&!e.fromNudge}handleDragEnterEnd(e){if(this.showOrHideColumnOnExit(e)){const n=e.dragSource.getDragItem().columns;this.setColumnsVisible(n,!1,"uiColumnDragged")}}handleDragLeaveEnd(e){if(this.showOrHideColumnOnExit(e)){const a=e.dragSource.getDragItem();this.setColumnsVisible(a.columns,!0,"uiColumnDragged")}}setColumnsVisible(e,t,a){if(!e||oe(this.updateParams))return;const n=e.filter(r=>!r.getColDef().lockVisible);this.beans.columnStateUpdateStrategy.setColumnsVisible(!1,n,t,a)}isRowGroupPanel(){return this.dropZonePurpose==="rowGroup"}createPillComponent(e,t,a,n){return new hH(e,t,a,this.dropZonePurpose,n,this.updateParams)}},yS=class extends Dp{constructor(e,t){super(e,"pivot",t)}postConstruct(){const e=this.getLocaleTextFunc(),t=e("pivotColumnsEmptyMessage","Drag here to set column labels"),a=e("pivots","Column Labels");super.init({icon:q("pivotPanel",this.beans,null),emptyMessage:t,title:a}),this.horizontal&&ho(this.beans,this,this.getGui()),this.addManagedEventListeners({newColumnsLoaded:this.refresh.bind(this),columnPivotChanged:this.refresh.bind(this),columnPivotModeChanged:this.checkVisibility.bind(this)}),this.refresh()}getAriaLabel(){return this.getLocaleTextFunc()("ariaPivotDropZonePanelLabel","Column Labels")}refresh(){this.checkVisibility(),this.refreshGui()}checkVisibility(){const e=this.beans.colModel,t=e.isPivotMode();if(this.horizontal)switch(this.gos.get("pivotPanelShow")){case"always":this.setDisplayed(t);break;case"onlyWhenPivoting":{const a=e.isPivotActive();this.setDisplayed(t&&a);break}default:this.setDisplayed(!1);break}else this.setDisplayed(this.beans.columnStateUpdateStrategy.getPivotMode(oe(this.updateParams)))}isItemDroppable(e,t){if(this.gos.get("functionsReadOnly")||!e.isPrimary())return!1;const a=this.beans.columnStateUpdateStrategy.getPivotColumns(oe(this.updateParams)).includes(e);return e.isAllowPivot()&&(!a||this.isSourceEventFromTarget(t))}updateItems(e){this.beans.columnStateUpdateStrategy.setPivotColumns(oe(this.updateParams),e,"toolPanelUi"),At(this.beans,this.updateParams)}getIconName(){return this.isPotentialDndItems()?"pivot":"notAllowed"}getExistingItems(){return this.beans.columnStateUpdateStrategy.getPivotColumns(oe(this.updateParams))}getFocusableContainerName(){return"pivotToolbar"}},SS=class extends Dp{constructor(e,t){super(e,"rowGroup",t)}postConstruct(){const e=this.getLocaleTextFunc(),t=e("rowGroupColumnsEmptyMessage","Drag here to set row groups"),a=e("groups","Row Groups");super.init({icon:q("rowGroupPanel",this.beans,null),emptyMessage:t,title:a}),this.horizontal&&ho(this.beans,this,this.getGui()),this.addManagedEventListeners({columnRowGroupChanged:this.refreshGui.bind(this)})}getAriaLabel(){return this.getLocaleTextFunc()("ariaRowGroupDropZonePanelLabel","Row Groups")}isItemDroppable(e,t){if(this.gos.get("functionsReadOnly")||!e.isPrimary()||e.colDef.showRowGroup)return!1;const a=this.beans.columnStateUpdateStrategy.getRowGroupColumns(oe(this.updateParams)).includes(e);return e.isAllowRowGroup()&&(!a||this.isSourceEventFromTarget(t))}updateItems(e){this.beans.columnStateUpdateStrategy.setRowGroupColumns(oe(this.updateParams),e,"toolPanelUi"),At(this.beans,this.updateParams)}getIconName(){return this.isPotentialDndItems()?"group":"notAllowed"}getExistingItems(){return this.beans.columnStateUpdateStrategy.getRowGroupColumns(oe(this.updateParams))}getFocusableContainerName(){return"rowGroupToolbar"}},fH=class extends Dp{constructor(e,t){super(e,"aggregation",t)}postConstruct(){const e=this.getLocaleTextFunc(),t=e("valueColumnsEmptyMessage","Drag here to aggregate"),a=e("values","Values");super.init({icon:q("valuePanel",this.beans,null),emptyMessage:t,title:a}),this.addManagedEventListeners({columnValueChanged:this.refreshGui.bind(this)})}getAriaLabel(){return this.getLocaleTextFunc()("ariaValuesDropZonePanelLabel","Values")}getIconName(){return this.isPotentialDndItems()?"aggregate":"notAllowed"}isItemDroppable(e,t){if(this.gos.get("functionsReadOnly")||!e.isPrimary())return!1;const a=this.beans.columnStateUpdateStrategy.getValueColumns(oe(this.updateParams)).includes(e);return e.isAllowValue()&&(!a||this.isSourceEventFromTarget(t))}updateItems(e){this.beans.columnStateUpdateStrategy.setValueColumns(oe(this.updateParams),e,"toolPanelUi"),At(this.beans,this.updateParams)}getExistingItems(){return this.beans.columnStateUpdateStrategy.getValueColumns(oe(this.updateParams))}},mH={tag:"div",cls:"ag-pivot-mode-panel",children:[{tag:"ag-toggle-button",ref:"cbPivotMode",cls:"ag-pivot-mode-select"}]},vH=class extends T{constructor(e,t){super(),this.params=e,this.onPivotModeValueChanged=t,this.cbPivotMode=x}getCurrentPivotMode(){return this.beans.columnStateUpdateStrategy.getPivotMode(oe(this.params))}syncFromGrid(){this.cbPivotMode.setValue(this.getCurrentPivotMode())}refreshEditStrategy(){this.syncFromGrid()}postConstruct(){this.setTemplate(mH,[Jy]);const e=this.cbPivotMode;e.setValue(this.getCurrentPivotMode());const t=this.getLocaleTextFunc();e.setLabel(t("pivotMode","Pivot Mode"));const a=()=>{const r=!!e.getValue();this.beans.columnStateUpdateStrategy.setPivotMode(oe(this.params),r,"toolPanelUi"),this.onPivotModeValueChanged?.()},n=()=>{e.setValue(this.getCurrentPivotMode())};this.addManagedListeners(e,{fieldValueChanged:a}),this.addManagedEventListeners({newColumnsLoaded:n,columnPivotModeChanged:n})}},CH=class extends F{constructor(){super(...arguments),this.beanName="colToolPanelFactory"}setPanelVisible(e,t,a){return e?e.setDisplayed(t):t&&(e=a()),e}createRowGroupPanel(e,t,a){return this.createPanel(e,t,new SS(!1,a))}createValuesPanel(e,t,a){return this.createPanel(e,t,new fH(!1,a))}createPivotPanel(e,t,a){return this.createPanel(e,t,new yS(!1,a))}createPivotModePanel(e,t,a,n,r){return this.createPanel(e,t,new vH(a,n),r)}createPanel(e,t,a,n){return a=e.createBean(a),t.push(()=>e.destroyBean(a)),n?e.prependChild(a):e.appendChild(a),a}},xS=()=>{},bH=class extends F{constructor(){super(...arguments),this.beanName="columnStateUpdateExecutionStrategy"}applyColumnState(e,t,a){this.getUpdateStrategy(e).applyColumnState(t,a)}commit(e){this.getUpdateStrategy(e).commit()}hasPendingChanges(e){return this.getUpdateStrategy(e).hasPendingChanges()}moveColumns(e,t,a,n){this.getUpdateStrategy(e).moveColumns(t,a,n)}reset(e){this.getUpdateStrategy(e).reset()}setColumnsVisible(e,t,a,n){this.getUpdateStrategy(e).setColumnsVisible(t,a,n)}isColumnVisibleInToolPanel(e,t){return this.getUpdateStrategy(e).isColumnVisibleInToolPanel(t)}setRowGroupColumns(e,t,a){this.getUpdateStrategy(e).setRowGroupColumns(t,a)}getRowGroupColumns(e){return this.getUpdateStrategy(e).getRowGroupColumns()}getPrimaryColumns(e){return this.getUpdateStrategy(e).getPrimaryColumns()}hasDeferredColumnOrder(e){return this.getUpdateStrategy(e).hasDeferredColumnOrder()}setValueColumns(e,t,a){this.getUpdateStrategy(e).setValueColumns(t,a)}getValueColumns(e){return this.getUpdateStrategy(e).getValueColumns()}setColumnAggFunc(e,t,a,n){this.getUpdateStrategy(e).setColumnAggFunc(t,a,n)}getColumnAggFunc(e,t){return this.getUpdateStrategy(e).getColumnAggFunc(t)}setPivotColumns(e,t,a){this.getUpdateStrategy(e).setPivotColumns(t,a)}getPivotColumns(e){return this.getUpdateStrategy(e).getPivotColumns()}setPivotMode(e,t,a){this.getUpdateStrategy(e).setPivotMode(t,a)}getPivotMode(e){return this.getUpdateStrategy(e).getPivotMode()}isColumnSelectedInPivotModeToolPanel(e,t){return this.getUpdateStrategy(e).isColumnSelectedInPivotModeToolPanel(t)}progressSortFromEvent(e,t,a){this.getUpdateStrategy(e).progressSortFromEvent(t,a)}getSortDef(e,t){return this.getUpdateStrategy(e).getSortDef(t)}getUpdateStrategy(e){return e?this.getDeferredUpdateStrategy():this.getSyncUpdateStrategy()}getSyncUpdateStrategy(){return this.syncUpdateStrategy??(this.syncUpdateStrategy=new wH(this.beans))}getDeferredUpdateStrategy(){return this.deferredUpdateStrategy??(this.deferredUpdateStrategy=new yH(this.beans))}},wH=class{constructor(e){this.beans=e,this.lastPivotColIds=[],this.reset=xS,this.commit=xS,this.hasPendingChanges=()=>!1,this.hasDeferredColumnOrder=()=>!1}applyColumnState(e,t){e.length!==0&&Ye(this.beans,{state:e},t)}moveColumns(e,t,a){this.beans.colMoves?.moveColumns(e,t,a),SH(this.beans)}setColumnsVisible(e,t,a){const n=e.filter(r=>!r.getColDef().lockVisible);this.beans.colModel.setColsVisible(n,t,a)}setRowGroupColumns(e,t){this.beans.rowGroupColsSvc?.setColumns(e,t)}getRowGroupColumns(){return this.beans.rowGroupColsSvc?.columns??[]}getPrimaryColumns(){return zp(this.beans)}setValueColumns(e,t){this.beans.valueColsSvc?.setColumns(e,t)}getValueColumns(){return this.beans.valueColsSvc?.columns??[]}setColumnAggFunc(e,t,a){this.beans.valueColsSvc?.setColumnAggFunc?.(e,t,a)}getColumnAggFunc(e){return e.getAggFunc()}setPivotColumns(e,t){this.lastPivotColIds=e.map(a=>a.getColId()),this.beans.pivotColsSvc?.setColumns(e,t)}getPivotColumns(){return this.beans.pivotColsSvc?.columns??[]}setPivotMode(e,t){const{colModel:a,gos:n,ctrlsSvc:r}=this.beans;if(e===a.isPivotMode())return;const o=this.beans.pivotColsSvc?.columns.map(i=>i.getColId())??[];if(o.length>0&&(this.lastPivotColIds=o),!e){const i=this.beans.colModel.getColDefCols()??[];Ye(this.beans,{state:i.map(s=>({colId:s.getColId(),pivot:!1,pivotIndex:null}))},t)}n.updateGridOptions({options:{pivotMode:e},source:t}),e&&this.lastPivotColIds.length>0&&this.beans.pivotColsSvc?.setColumns(this.lastPivotColIds,t);for(const i of r.getHeaderRowContainerCtrls())i.refresh()}progressSortFromEvent(e,t){this.beans.sortSvc?.progressSortFromEvent(e,t)}isColumnVisibleInToolPanel(e){return e.isVisible()}isColumnSelectedInPivotModeToolPanel(e){return e.isAnyFunctionActive()}getPivotMode(){return this.beans.colModel.isPivotMode()}getSortDef(e){return e.getSortDef()}},yH=class{constructor(e){this.beans=e,this.state={},this.sequence=0,this.lastPivotColIds=[]}reset(){this.sequence=0,this.state={}}hasPendingChanges(){const{state:e,beans:t}=this,{columnState:a,columnOrder:n,rowGroup:r,aggregation:o,pivot:i,pivotMode:s,sort:l,aggFuncs:c}=e,d=u=>(u??[]).map(g=>g.getColId());if(a)for(const[u,g]of a.patches){const h=t.colModel.getColDefCol(u);if(h&&(g.hide!==void 0&&g.hide!==!h.isVisible()||g.rowGroup!==void 0&&!!g.rowGroup!==h.isRowGroupActive()||g.pivot!==void 0&&!!g.pivot!==h.isPivotActive()||g.aggFunc!==void 0&&(g.aggFunc??null)!==(h.getAggFunc()??null)))return!0}if(n&&!we(n.colIds,Lp(t))||r&&!we(r.colIds,d(t.rowGroupColsSvc?.columns))||o&&!we(o.colIds,d(t.valueColsSvc?.columns))||i&&!we(i.colIds,d(t.pivotColsSvc?.columns))||s&&s.pivotMode!==t.colModel.isPivotMode())return!0;if(l){for(const[u,g]of l.sortDefsByColId){const h=t.colModel.getColDefCol(u);if(h&&(g?.direction??null)!==(h.getSortDef()?.direction??null))return!0}if(l.baselineCleared){const u=zp(t);for(const g of u)if(!l.sortDefsByColId.has(g.getColId())&&g.getSortDef()!==null)return!0}}if(c)for(const[u,g]of c.values){const h=t.colModel.getColDefCol(u);if(h&&g!==h.getAggFunc())return!0}return!1}commit(){const{beans:e,state:t}=this,a=[];for(const r of Object.keys(t)){const o=t[r];o&&a.push({type:r,...o})}const n=a.sort((r,o)=>r.seq-o.seq);for(const r of n)switch(r.type){case"columnState":{Ye(e,{state:[...r.patches.values()]},r.eventType);break}case"columnOrder":{const o=r.colIds.map(i=>e.colModel.getColDefCol(i)).filter(i=>!!i&&Rs(i));if(!e.colModel.isPivotMode())for(let i=0;iRs(u)),d=(c>=0?c:0)+i;l[d]!==s&&e.colMoves?.moveColumns([s],d,r.eventType,!0)}kS(e,o);break}case"rowGroup":{e.rowGroupColsSvc?.setColumns(r.colIds,r.eventType);break}case"aggregation":{e.valueColsSvc?.setColumns(r.colIds,r.eventType);break}case"pivot":{this.lastPivotColIds=r.colIds,e.pivotColsSvc?.setColumns(r.colIds,r.eventType);break}case"pivotMode":{const{colModel:o,ctrlsSvc:i,gos:s,stateSvc:l}=e;if(r.pivotMode!==o.isPivotMode()){const c=e.pivotColsSvc?.columns.map(g=>g.getColId())??[];c.length>0&&(this.lastPivotColIds=c);const d=l?.getState().pivot?.pivotColIds??c,u=r.pivotMode?this.state.pivot?.colIds??this.lastPivotColIds:d;if(l?.setState({...l.getState(),pivot:{pivotMode:r.pivotMode,pivotColIds:u}},["pivot"]),!r.pivotMode){const g=e.colModel.getColDefCols()??[];Ye(e,{state:g.map(h=>({colId:h.getColId(),pivot:!1,pivotIndex:null}))},r.eventType)}s.updateGridOptions({options:{pivotMode:r.pivotMode},source:r.eventType}),r.pivotMode&&u.length>0&&e.pivotColsSvc?.setColumns(u,r.eventType);for(const g of i.getHeaderRowContainerCtrls())g.refresh()}break}case"sort":{const o=[];let i=0;for(const[s,l]of r.sortDefsByColId)o.push({colId:s,sort:l?.direction??null,sortIndex:l?.direction?i++:null,sortType:l?.type??void 0});Ye(e,{state:o,defaultState:r.baselineCleared?{sort:null,sortIndex:null,sortType:void 0}:void 0},r.eventType);break}case"aggFuncs":{for(const[o,i]of r.values){const s=e.colModel.getColDefCol(o);s&&e.valueColsSvc?.setColumnAggFunc?.(s,i,r.eventType)}break}}this.reset()}applyColumnState(e,t){for(const n of e)Op(this.state,n);const a=td(this.state);a.seq=gn(this.sequence),this.sequence=a.seq,a.eventType=t}moveColumns(e,t,a){const n=new Set(e.map(l=>l.getColId())),o=(this.state.columnOrder?.colIds??Lp(this.beans)).filter(l=>!n.has(l)),i=e.map(l=>l.getColId()),s=gn(this.sequence);this.sequence=s,this.state.columnOrder={colIds:[...o.slice(0,t),...i,...o.slice(t)],eventType:a,seq:s}}setColumnsVisible(e,t,a){for(const r of e)r.getColDef().lockVisible||Op(this.state,{colId:r.getColId(),hide:!t});const n=td(this.state);n.seq=gn(this.sequence),this.sequence=n.seq,n.eventType=a}setRowGroupColumns(e,t){Gp(this.state,"rowGroup");const a=gn(this.sequence);this.sequence=a,this.state.rowGroup={colIds:e.map(n=>n.getColId()),eventType:t,seq:a}}setValueColumns(e,t){Gp(this.state,"aggFunc");const a=new Set((this.beans.valueColsSvc?.columns??[]).map(o=>o.getColId())),n=RS(this.state);for(const o of e)if(!a.has(o.getColId())&&!n.values.has(o.getColId())){const i=o.getAggFunc(),s=i??this.beans.aggFuncSvc?.getDefaultAggFunc(o);s!=null&&n.values.set(o.getColId(),s)}const r=gn(this.sequence);this.sequence=r,n.seq=r,n.eventType=t,this.state.aggregation={colIds:e.map(o=>o.getColId()),eventType:t,seq:r}}setColumnAggFunc(e,t,a){Op(this.state,{colId:e.getColId(),aggFunc:t});const n=td(this.state);n.seq=gn(this.sequence),this.sequence=n.seq,n.eventType=a;const r=RS(this.state);r.seq=n.seq,r.eventType=a,r.values.set(e.getColId(),t)}getColumnAggFunc(e){const t=e.getColId();return this.state.aggFuncs?.values.has(t)?this.state.aggFuncs.values.get(t):e.getAggFunc()}isColumnVisibleInToolPanel(e){const t=this.state.columnState?.patches.get(e.getColId());return t?.hide!==void 0?!t.hide:e.isVisible()}isColumnSelectedInPivotModeToolPanel(e){const t=e.getColId(),a=this.state.columnState?.patches.get(t);let n;a?.rowGroup!==void 0?n=!!a.rowGroup:this.state.rowGroup?n=this.state.rowGroup.colIds.includes(t):n=e.isRowGroupActive();let r;a?.pivot!==void 0?r=!!a.pivot:this.state.pivot?r=this.state.pivot.colIds.includes(t):r=e.isPivotActive();let o;return a?.aggFunc!==void 0?o=a.aggFunc!=null:this.state.aggregation?o=this.state.aggregation.colIds.includes(t):o=e.isValueActive(),n||r||o}setPivotColumns(e,t){Gp(this.state,"pivot");const a=gn(this.sequence);this.sequence=a,this.state.pivot={colIds:e.map(n=>n.getColId()),eventType:t,seq:a}}setPivotMode(e,t){const a=gn(this.sequence);this.sequence=a,this.state.pivotMode={pivotMode:e,eventType:t,seq:a}}getRowGroupColumns(){return ks(this.beans,Ip(this.state.rowGroup?.colIds,this.beans.rowGroupColsSvc?.columns,this.state.columnState?.patches,e=>e.rowGroup==null?void 0:!!e.rowGroup))}getPrimaryColumns(){return ks(this.beans,this.state.columnOrder?.colIds??Lp(this.beans))}hasDeferredColumnOrder(){return!!this.state.columnOrder}getValueColumns(){return ks(this.beans,Ip(this.state.aggregation?.colIds,this.beans.valueColsSvc?.columns,this.state.columnState?.patches,e=>e.aggFunc===void 0?void 0:e.aggFunc!=null))}getPivotColumns(){if(!this.getPivotMode())return[];const e=this.beans.pivotColsSvc?.columns,t=e?.length?e:ks(this.beans,this.lastPivotColIds);return ks(this.beans,Ip(this.state.pivot?.colIds,t,this.state.columnState?.patches,a=>a.pivot==null?void 0:!!a.pivot))}getPivotMode(){return this.state.pivotMode?.pivotMode??this.beans.colModel.isPivotMode()}getSortDef(e){const t=this.state.sort,a=e.getColId(),n=t?.sortDefsByColId;return n?.has(a)?n.get(a)??null:t?.baselineCleared?null:e.getSortDef()}progressSortFromEvent(e,t){const a=this.state.sort??{sortDefsByColId:new Map,baselineCleared:!1,seq:0,eventType:"toolPanelUi"},{sortSvc:n}=this.beans,r=e.getColId();let o;a.sortDefsByColId.has(r)?o=a.sortDefsByColId.get(r):a.baselineCleared?o=null:o=e.getSortDef();const i=n?.getNextSortDirection(e,o);if(!i)return;const{gos:s}=this.beans;((s.get("multiSortKey")==="ctrl"?t.ctrlKey||t.metaKey:t.shiftKey)||s.get("alwaysMultiSort"))&&!s.get("suppressMultiSort")||(a.sortDefsByColId.clear(),a.baselineCleared=!0),a.sortDefsByColId.set(r,i.direction?i:null),a.seq=gn(this.sequence),this.sequence=a.seq,this.state.sort=a}};function ks(e,t){return t?t.map(a=>e.colModel.getColDefCol(a)).filter(a=>!!a):[]}function Ip(e,t,a,n){const r=[...e??t?.map(i=>i.getColId())??[]];if(!a?.size)return r;const o=new Set(r);for(const[i,s]of a){const l=n(s);if(l===void 0)continue;if(l){o.has(i)||(r.push(i),o.add(i));continue}if(!o.has(i))continue;o.delete(i);const c=r.indexOf(i);c>=0&&r.splice(c,1)}return r}function SH(e){const t=e.colModel.getCols().filter(a=>Rs(a)).map(a=>e.colModel.getColDefCol(a.getColId())).filter(a=>!!a);kS(e,t)}function kS(e,t){const a=xH(e);if(!a)return;const n=new Set(t);a.list=[...t,...a.list.filter(r=>Rs(r)&&!n.has(r))]}function Lp(e){return zp(e).map(t=>t.getColId())}function zp(e){return(e.colModel.getColDefCols()??e.colModel.getCols()).filter(t=>Rs(t))}function xH(e){const t=e.colModel.colDefCols,a=t?.list;if(Array.isArray(a))return t}function Rs(e){return e.isPrimary()?!Sr(e)&&!xr(e):!1}function gn(e){return e+1}function Op(e,t){const a=td(e),n=a.patches.get(t.colId);a.patches.set(t.colId,n?{...n,...t}:t)}function Gp(e,t){const a=e.columnState?.patches;if(a?.size)for(const[n,r]of a){if(!(t in r))continue;const o={...r};if(delete o[t],Object.keys(o).length===1){a.delete(n);continue}a.set(n,o)}}function td(e){let{columnState:t}=e;return t||(t={patches:new Map,seq:0,eventType:"toolPanelUi"},e.columnState=t),t}function RS(e){let{aggFuncs:t}=e;return t||(t={values:new Map,seq:0,eventType:"toolPanelUi"},e.aggFuncs=t),t}var kH=class extends F{constructor(){super(...arguments),this.beanName="columnStateUpdateStrategy"}applyColumnState(e,t,a){this.delegate("applyColumnState",e,t,a)}commit(e){this.delegate("commit",e)}hasPendingChanges(e){return this.delegate("hasPendingChanges",e)}moveColumns(e,t,a,n){this.delegate("moveColumns",e,t,a,n)}reset(e){this.delegate("reset",e)}setColumnsVisible(e,t,a,n){this.delegate("setColumnsVisible",e,t,a,n)}isColumnVisibleInToolPanel(e,t){return this.delegate("isColumnVisibleInToolPanel",e,t)}setRowGroupColumns(e,t,a){this.delegate("setRowGroupColumns",e,t,a)}getRowGroupColumns(e){return this.delegate("getRowGroupColumns",e)}getPrimaryColumns(e){return this.delegate("getPrimaryColumns",e)}hasDeferredColumnOrder(e){return this.delegate("hasDeferredColumnOrder",e)}setValueColumns(e,t,a){this.delegate("setValueColumns",e,t,a)}getValueColumns(e){return this.delegate("getValueColumns",e)}setColumnAggFunc(e,t,a,n){this.delegate("setColumnAggFunc",e,t,a,n)}getColumnAggFunc(e,t){return this.delegate("getColumnAggFunc",e,t)}setPivotColumns(e,t,a){this.delegate("setPivotColumns",e,t,a)}getPivotColumns(e){return this.delegate("getPivotColumns",e)}setPivotMode(e,t,a){this.delegate("setPivotMode",e,t,a)}getPivotMode(e){return this.delegate("getPivotMode",e)}isColumnSelectedInPivotModeToolPanel(e,t){return this.delegate("isColumnSelectedInPivotModeToolPanel",e,t)}progressSortFromEvent(e,t,a){this.delegate("progressSortFromEvent",e,t,a)}getSortDef(e,t){return this.delegate("getSortDef",e,t)}getUpdateStrategy(){return this.executionStrategy??(this.executionStrategy=this.createManagedBean(new bH))}delegate(e,...t){const a=this.getUpdateStrategy();return a[e].bind(a)(...t)}},Vp={moduleName:"SharedColumnStateUpdateStrategy",version:Q,beans:[kH],dependsOn:[le]},FS={moduleName:"ColumnsToolPanel",version:Q,beans:[CH],userComponents:{agColumnsToolPanel:cH},icons:{ensureColumnVisible:"column-arrow",columnsToolPanel:"columns",menuAddRowGroup:"group",menuRemoveRowGroup:"group",pivotPanel:"pivot",rowGroupPanel:"group",valuePanel:"aggregation",columnSelectClosed:"tree-closed",columnSelectOpen:"tree-open",columnSelectIndeterminate:"tree-indeterminate"},dependsOn:[le,Vp,ys,jl,Gn,ja,ed]},RH=class extends F{constructor(){super(...arguments),this.beanName="chartMenuItemMapper"}getChartItems(e){const t=this.beans,a=t.chartSvc,n=e==="pivotChart";if(!a)return null;const r=this.getLocaleTextFunc.bind(this),o=n?new FH(t,a,r):new MH(t,a,r),i=a.isEnterprise();let s=o.getMenuItem();if(s?.subMenu&&!i){const c=d=>({...d,subMenu:d.subMenu?.filter(u=>!u._enterprise).map(u=>c(u))});s=c(s)}const l=this.gos.get("chartToolPanelsDef")?.settingsPanel?.chartGroupsDef;return l&&(s=this.filterAndOrderChartMenu(s,l,o.getConfigLookup())),this.cleanInternals(s)}cleanInternals(e){if(!e)return e;const t=a=>{delete a?._key,delete a?._enterprise;for(const n of a?.subMenu??[])t(n);return a};return t(e)}buildLookup(e){const t={},a=n=>{if(t[n._key]=n,n.subMenu)for(const r of n.subMenu)a(r)};return a(e),t}filterAndOrderChartMenu(e,t,a){const n=this.buildLookup(e),r={...e,subMenu:[]};for(const o of Object.keys(t)){const i=t[o],s=a[o];if(s===null)continue;if(s==null){R(173,{group:o});continue}const l=n[s._key];if(l)if(l.subMenu){const c=i.map(d=>{const u=s[d];if(u==null){R(174,{group:o,chartType:d});return}return n[u]}).filter(d=>d!==void 0);c.length>0&&(l.subMenu=c,r.subMenu?.push(l))}else r.subMenu?.push(l)}return r.subMenu?.length==0?null:r}},FH=class{constructor(e,t,a){this.beans=e,this.chartSvc=t,this.getLocaleTextFunc=a}getMenuItem(){const e=this.getLocaleTextFunc(),t=(a,n,r,o,i=!1)=>({name:e(a,n+"\u200E"),action:()=>this.chartSvc.createPivotChart({chartType:r}),_key:o,_enterprise:i});return{name:e("pivotChart","Pivot Chart"),_key:"pivotChart",subMenu:[{_key:"pivotColumnChart",name:e("columnChart","Column"),subMenu:[t("groupedColumn","Grouped","groupedColumn","pivotGroupedColumn"),t("stackedColumn","Stacked","stackedColumn","pivotStackedColumn"),t("normalizedColumn","100% Stacked","normalizedColumn","pivotNormalizedColumn")]},{_key:"pivotBarChart",name:e("barChart","Bar"),subMenu:[t("groupedBar","Grouped","groupedBar","pivotGroupedBar"),t("stackedBar","Stacked","stackedBar","pivotStackedBar"),t("normalizedBar","100% Stacked","normalizedBar","pivotNormalizedBar")]},{_key:"pivotPieChart",name:e("pieChart","Pie"),subMenu:[t("pie","Pie","pie","pivotPie"),t("donut","Donut","donut","pivotDonut")]},{_key:"pivotLineChart",name:e("lineChart","Line"),subMenu:[t("lineChart","Line","line","pivotLineChart"),t("stackedLine","Stacked","stackedLine","pivotStackedLine"),t("normalizedLine","100% Stacked","normalizedLine","pivotNormalizedLine")]},{_key:"pivotAreaChart",name:e("areaChart","Area"),subMenu:[t("areaChart","Area","area","pivotArea"),t("stackedArea","Stacked","stackedArea","pivotStackedArea"),t("normalizedArea","100% Stacked","normalizedArea","pivotNormalizedArea")]},{_key:"pivotXYChart",name:e("xyChart","X Y (Scatter)"),subMenu:[t("scatter","Scatter","scatter","pivotScatter"),t("bubble","Bubble","bubble","pivotBubble")]},{_key:"pivotStatisticalChart",_enterprise:!1,name:e("statisticalChart","Statistical"),subMenu:[t("histogramChart","Histogram","histogram","pivotHistogram",!1)]},{_key:"pivotHierarchicalChart",_enterprise:!0,name:e("hierarchicalChart","Hierarchical"),subMenu:[t("treemapChart","Treemap","treemap","pivotTreemap",!0),t("sunburstChart","Sunburst","sunburst","pivotSunburst",!0)]},{_key:"pivotFunnel",name:e("funnel","Funnel"),subMenu:[t("funnel","Funnel","funnel","pivotFunnel"),t("coneFunnel","Cone Funnel","coneFunnel","pivotConeFunnel"),t("pyramid","Pyramid","pyramid","pivotPyramid")]},{_key:"pivotCombinationChart",name:e("combinationChart","Combination"),subMenu:[t("columnLineCombo","Column & Line","columnLineCombo","pivotColumnLineCombo"),t("AreaColumnCombo","Area & Column","areaColumnCombo","pivotAreaColumnCombo")]}],icon:q("chart",this.beans,void 0)}}getConfigLookup(){return{columnGroup:{_key:"pivotColumnChart",column:"pivotGroupedColumn",stackedColumn:"pivotStackedColumn",normalizedColumn:"pivotNormalizedColumn"},barGroup:{_key:"pivotBarChart",bar:"pivotGroupedBar",stackedBar:"pivotStackedBar",normalizedBar:"pivotNormalizedBar"},pieGroup:{_key:"pivotPieChart",pie:"pivotPie",donut:"pivotDonut",doughnut:"pivotDonut"},lineGroup:{_key:"pivotLineChart",line:"pivotLineChart",stackedLine:"pivotStackedLine",normalizedLine:"pivotNormalizedLine"},areaGroup:{_key:"pivotAreaChart",area:"pivotArea",stackedArea:"pivotStackedArea",normalizedArea:"pivotNormalizedArea"},scatterGroup:{_key:"pivotXYChart",bubble:"pivotBubble",scatter:"pivotScatter"},combinationGroup:{_key:"pivotCombinationChart",columnLineCombo:"pivotColumnLineCombo",areaColumnCombo:"pivotAreaColumnCombo",customCombo:null},hierarchicalGroup:{_key:"pivotHierarchicalChart",treemap:"pivotTreemap",sunburst:"pivotSunburst"},statisticalGroup:{_key:"pivotStatisticalChart",histogram:"pivotHistogram",rangeBar:null,rangeArea:null,boxPlot:null},funnelGroup:{_key:"pivotFunnel",funnel:"pivotFunnel",coneFunnel:"pivotConeFunnel",pyramid:"pivotPyramid"},polarGroup:null,specializedGroup:null}}},MH=class{constructor(e,t,a){this.beans=e,this.chartSvc=t,this.getLocaleTextFunc=a}getMenuItem(){const e=this.getLocaleTextFunc(),t=(a,n,r,o,i=!1)=>({name:e(a,n),action:()=>this.chartSvc.createChartFromCurrentRange(r),_key:o,_enterprise:i});return{name:e("chartRange","Chart Range"),_key:"chartRange",subMenu:[{name:e("columnChart","Column"),subMenu:[t("groupedColumn","Grouped","groupedColumn","rangeGroupedColumn"),t("stackedColumn","Stacked","stackedColumn","rangeStackedColumn"),t("normalizedColumn","100% Stacked","normalizedColumn","rangeNormalizedColumn")],_key:"rangeColumnChart"},{name:e("barChart","Bar"),subMenu:[t("groupedBar","Grouped","groupedBar","rangeGroupedBar"),t("stackedBar","Stacked","stackedBar","rangeStackedBar"),t("normalizedBar","100% Stacked","normalizedBar","rangeNormalizedBar")],_key:"rangeBarChart"},{name:e("pieChart","Pie"),subMenu:[t("pie","Pie","pie","rangePie"),t("donut","Donut","donut","rangeDonut")],_key:"rangePieChart"},{name:e("lineChart","Line"),subMenu:[t("lineChart","Line","line","rangeLineChart"),t("stackedLine","Stacked","stackedLine","rangeStackedLine"),t("normalizedLine","100% Stacked","normalizedLine","rangeNormalizedLine")],_key:"rangeLineChart"},{name:e("areaChart","Area"),subMenu:[t("areaChart","Area","area","rangeArea"),t("stackedArea","Stacked","stackedArea","rangeStackedArea"),t("normalizedArea","100% Stacked","normalizedArea","rangeNormalizedArea")],_key:"rangeAreaChart"},{name:e("xyChart","X Y (Scatter)"),subMenu:[t("scatter","Scatter","scatter","rangeScatter"),t("bubble","Bubble","bubble","rangeBubble")],_key:"rangeXYChart"},{name:e("polarChart","Polar"),subMenu:[t("radarLine","Radar Line","radarLine","rangeRadarLine"),t("radarArea","Radar Area","radarArea","rangeRadarArea"),t("nightingale","Nightingale","nightingale","rangeNightingale"),t("radialColumn","Radial Column","radialColumn","rangeRadialColumn"),t("radialBar","Radial Bar","radialBar","rangeRadialBar")],_key:"rangePolarChart",_enterprise:!0},{name:e("statisticalChart","Statistical"),subMenu:[t("boxPlot","Box Plot","boxPlot","rangeBoxPlot",!0),t("histogramChart","Histogram","histogram","rangeHistogram",!1),t("rangeBar","Range Bar","rangeBar","rangeRangeBar",!0),t("rangeArea","Range Area","rangeArea","rangeRangeArea",!0)],_key:"rangeStatisticalChart",_enterprise:!1},{name:e("hierarchicalChart","Hierarchical"),subMenu:[t("treemap","Treemap","treemap","rangeTreemap"),t("sunburst","Sunburst","sunburst","rangeSunburst")],_key:"rangeHierarchicalChart",_enterprise:!0},{name:e("specializedChart","Specialized"),subMenu:[t("heatmap","Heatmap","heatmap","rangeHeatmap"),t("waterfall","Waterfall","waterfall","rangeWaterfall")],_key:"rangeSpecializedChart",_enterprise:!0},{name:e("funnel","Funnel"),subMenu:[t("funnel","Funnel","funnel","rangeFunnel"),t("coneFunnel","Cone Funnel","coneFunnel","rangeConeFunnel"),t("pyramid","Pyramid","pyramid","rangePyramid")],_key:"rangeFunnel",_enterprise:!0},{name:e("combinationChart","Combination"),subMenu:[t("columnLineCombo","Column & Line","columnLineCombo","rangeColumnLineCombo"),t("AreaColumnCombo","Area & Column","areaColumnCombo","rangeAreaColumnCombo")],_key:"rangeCombinationChart"}],icon:q("chart",this.beans,void 0)}}getConfigLookup(){return{columnGroup:{_key:"rangeColumnChart",column:"rangeGroupedColumn",stackedColumn:"rangeStackedColumn",normalizedColumn:"rangeNormalizedColumn"},barGroup:{_key:"rangeBarChart",bar:"rangeGroupedBar",stackedBar:"rangeStackedBar",normalizedBar:"rangeNormalizedBar"},pieGroup:{_key:"rangePieChart",pie:"rangePie",donut:"rangeDonut",doughnut:"rangeDonut"},lineGroup:{_key:"rangeLineChart",line:"rangeLineChart",stackedLine:"rangeStackedLine",normalizedLine:"rangeNormalizedLine"},areaGroup:{_key:"rangeAreaChart",area:"rangeArea",stackedArea:"rangeStackedArea",normalizedArea:"rangeNormalizedArea"},scatterGroup:{_key:"rangeXYChart",bubble:"rangeBubble",scatter:"rangeScatter"},polarGroup:{_key:"rangePolarChart",radarLine:"rangeRadarLine",radarArea:"rangeRadarArea",nightingale:"rangeNightingale",radialColumn:"rangeRadialColumn",radialBar:"rangeRadialBar"},statisticalGroup:{_key:"rangeStatisticalChart",boxPlot:"rangeBoxPlot",histogram:"rangeHistogram",rangeBar:"rangeRangeBar",rangeArea:"rangeRangeArea"},hierarchicalGroup:{_key:"rangeHierarchicalChart",treemap:"rangeTreemap",sunburst:"rangeSunburst"},specializedGroup:{_key:"rangeSpecializedChart",heatmap:"rangeHeatmap",waterfall:"rangeWaterfall"},funnelGroup:{_key:"rangeFunnel",funnel:"rangeFunnel",coneFunnel:"rangeConeFunnel",pyramid:"rangePyramid"},combinationGroup:{_key:"rangeCombinationChart",columnLineCombo:"rangeColumnLineCombo",areaColumnCombo:"rangeAreaColumnCombo",customCombo:null}}}},EH=class extends F{constructor(){super(...arguments),this.beanName="colChooserFactory"}createColumnSelectPanel(e,t,a,n){const r=e.createManagedBean(new vS),o=n??t?.getColDef().columnChooserParams??{},{contractColumnSelection:i,suppressColumnExpandAll:s,suppressColumnFilter:l,suppressColumnSelectAll:c,suppressSyncLayoutWithGrid:d,columnLayout:u}=o;return r.init(!!a,B(this.gos,{suppressColumnMove:!1,suppressValues:!1,suppressPivots:!1,suppressRowGroups:!1,suppressPivotMode:!1,contractColumnSelection:!!i,suppressColumnExpandAll:!!s,suppressColumnFilter:!!l,suppressColumnSelectAll:!!c,suppressSyncLayoutWithGrid:!!u||!!d,onStateUpdated:()=>{}}),"columnMenu"),u&&r.setColumnLayout(u),r}showColumnChooser({column:e,chooserParams:t,eventSource:a,headerPosition:n}){this.hideActiveColumnChooser();const r=this.createColumnSelectPanel(this,e,!0,t),o=this.getLocaleTextFunc(),i=this.beans,{visibleCols:s,focusSvc:l,menuUtils:c}=i,d=s.allCols.indexOf(e),u=e?l.focusedHeader??n??null:null;this.activeColumnChooserDialog=this.createBean(new Zc({title:o("chooseColumns","Choose Columns"),component:r,width:300,height:300,resizable:!0,movable:!0,centered:!0,closable:!0,afterGuiAttached:()=>{Je(i,r.getGui())?.focus({preventScroll:!0}),this.dispatchVisibleChangedEvent(!0,e)},closedCallback:g=>{const h=this.activeColumnChooser.getGui();this.destroyBean(this.activeColumnChooser),this.activeColumnChooser=void 0,this.activeColumnChooserDialog=void 0,this.dispatchVisibleChangedEvent(!1,e),e&&c.restoreFocusOnClose({column:e,headerPosition:u,columnIndex:d,eventSource:a},h,g,!0)},postProcessPopupParams:{type:"columnChooser",column:e,eventSource:a}})),this.activeColumnChooser=r}hideActiveColumnChooser(){this.destroyBean(this.activeColumnChooserDialog)}dispatchVisibleChangedEvent(e,t){this.eventSvc.dispatchEvent({type:"columnMenuVisibleChanged",visible:e,switchingTab:!1,key:"columnChooser",column:t??null})}},PH={pinSubMenu:"PinnedColumn",pinLeft:"PinnedColumn",pinRight:"PinnedColumn",clearPinned:"PinnedColumn",pinRowSubMenu:"PinnedRow",pinBottom:"PinnedRow",pinTop:"PinnedRow",unpinRow:"PinnedRow",valueAggSubMenu:"SharedAggregation",autoSizeThis:"ColumnAutoSize",autoSizeAll:"ColumnAutoSize",rowGroup:"SharedRowGrouping",rowUnGroup:"SharedRowGrouping",resetColumns:"CommunityCore",expandAll:["ClientSideRowModelHierarchy","ServerSideRowModel"],contractAll:["ClientSideRowModelHierarchy","ServerSideRowModel"],copy:"Clipboard",copyWithHeaders:"Clipboard",copyWithGroupHeaders:"Clipboard",cut:"Clipboard",paste:"Clipboard",export:["CsvExport","ExcelExport"],csvExport:"CsvExport",excelExport:"ExcelExport",separator:"CommunityCore",pivotChart:"IntegratedCharts",chartRange:"IntegratedCharts",columnFilter:"ColumnFilter",columnChooser:"ColumnMenu",sortAscending:"Sort",sortDescending:"Sort",sortAbsoluteAscending:"Sort",sortAbsoluteDescending:"Sort",sortUnSort:"Sort"};function AH(e,t){const a=PH[t];a&&e.assertModuleRegistered(a,`menu item '${t}'`)}var Wr="separator";function MS(e,t){if(e)for(let a=e.length-2;a>=0;a--){const n=e[a]===t,r=e[a+1]===t;n&&r&&e.splice(a+1,1)}}var TH={sortAscending:{fallback:"Sort Ascending",getSortDef:()=>({type:"default",direction:"asc"})},sortDescending:{fallback:"Sort Descending",getSortDef:()=>({type:"default",direction:"desc"})},sortAbsoluteAscending:{fallback:"Sort Absolute Ascending",getSortDef:()=>({type:"absolute",direction:"asc"})},sortAbsoluteDescending:{fallback:"Sort Absolute Descending",getSortDef:()=>({type:"absolute",direction:"desc"})},sortUnSort:{fallback:"Clear Sort",getSortDef:e=>({type:ra(e.getSortDef()?.type),direction:null})}},DH=class extends F{constructor(){super(...arguments),this.beanName="menuItemMapper"}mapWithStockItems(e,t,a,n,r){if(!e)return[];const o=[],i=this.getLocaleTextFunc(),{beans:s,gos:l}=this,{pinnedCols:c,colAutosize:d,aggFuncSvc:u,rowGroupColsSvc:g,colNames:h,colModel:p,clipboardSvc:f,expansionSvc:m,focusSvc:v,csvCreator:C,excelCreator:b,menuSvc:y,colChooserFactory:S,sortSvc:k,chartMenuItemMapper:M,valueColsSvc:E,pinnedRowModel:P}=s,D=(I,L,K,U)=>{switch(AH(l,I),I){case"pinSubMenu":return c&&L?{name:i("pinColumn","Pin Column"),icon:q("menuPin",s,null),subMenu:["clearPinned","pinLeft","pinRight"]}:null;case"pinLeft":return c&&L?{name:i("pinLeft","Pin Left"),action:()=>c.setColsPinned([L],"left",U),checked:!!L&&L.isPinnedLeft()}:null;case"pinRight":return c&&L?{name:i("pinRight","Pin Right"),action:()=>c.setColsPinned([L],"right",U),checked:!!L&&L.isPinnedRight()}:null;case"clearPinned":return c&&L?{name:i("noPin","No Pin"),action:()=>c.setColsPinned([L],null,U),checked:!!L&&!L.isPinned()}:null;case"pinRowSubMenu":{const O=l.get("enableRowPinning"),Z=[],ae=a?.rowPinned??a?.pinnedSibling?.rowPinned;return ae&&Z.push("unpinRow"),O&&O!=="bottom"&&ae!="top"&&Z.push("pinTop"),O&&O!=="top"&&ae!="bottom"&&Z.push("pinBottom"),P?.isManual()?{name:i("pinRow","Pin Row"),icon:q("rowPin",s,L),subMenu:Z}:null}case"pinTop":return P?.isManual()?{name:i("pinTop","Pin to Top"),icon:q("rowPinTop",s,L),action:({node:O,column:Z})=>O&&P.pinRow(O,"top",Z)}:null;case"pinBottom":return P?.isManual()?{name:i("pinBottom","Pin to Bottom"),icon:q("rowPinBottom",s,L),action:({node:O,column:Z})=>O&&P.pinRow(O,"bottom",Z)}:null;case"unpinRow":return P?.isManual()?{name:i("unpinRow","Unpin Row"),icon:q("rowUnpin",s,L),action:({node:O,column:Z})=>O&&P.pinRow(O,null,Z)}:null;case"valueAggSubMenu":return u&&E&&(L?.isPrimary()||L?.getColDef().pivotValueColumn)?{name:i("valueAggregation","Value Aggregation"),icon:q("menuValue",s,null),subMenu:IH(L,u,E,i),disabled:l.get("functionsReadOnly")}:null;case"autoSizeThis":return d?{name:i("autosizeThisColumn","Autosize This Column"),action:()=>L&&d.autoSizeColumn(L,U,l.get("skipHeaderOnAutoSize"))}:null;case"autoSizeAll":return d?{name:i("autosizeAllColumns","Autosize All Columns"),action:()=>d.autoSizeAllColumns({source:U,skipHeader:l.get("skipHeaderOnAutoSize")})}:null;case"rowGroup":return g?{name:xs(i,"groupBy",h.getDisplayNameForColumn(L,"header")),disabled:l.get("functionsReadOnly")||L?.isRowGroupActive()||!L?.getColDef().enableRowGroup,action:()=>g.addColumns([L],U),icon:q("menuAddRowGroup",s,null)}:null;case"rowUnGroup":if(g&&l.isModuleRegistered("SharedRowGrouping")){const O=L?.getColDef().showRowGroup,Z=l.get("groupLockGroupColumns");let ae,be,pe;if(O===!0)ae=i("ungroupAll","Un-Group All"),be=l.get("functionsReadOnly")||Z===-1||Z>=(g.columns.length??0),pe=()=>g.setColumns(g.columns.slice(0,Z),U);else if(typeof O=="string"){const he=p.getColDefCol(O),nt=he!=null?h.getDisplayNameForColumn(he,"header"):O;ae=xs(i,"ungroupBy",nt),be=l.get("functionsReadOnly")||Ss(he,s),pe=()=>{g.removeColumns([O],U)}}else ae=xs(i,"ungroupBy",h.getDisplayNameForColumn(L,"header")),be=l.get("functionsReadOnly")||!L?.isRowGroupActive()||!L?.getColDef().enableRowGroup||Ss(L,s),pe=()=>g.removeColumns([L],U);return{name:ae,disabled:be,action:pe,icon:q("menuRemoveRowGroup",s,null)}}else return null;case"resetColumns":return{name:i("resetColumns","Reset Columns"),action:()=>xg(s,U)};case"expandAll":return m?{name:i("expandAll","Expand All Row Groups"),action:()=>m.expandAll(!0)}:null;case"contractAll":return m?{name:i("collapseAll","Collapse All Row Groups"),action:()=>m.expandAll(!1)}:null;case"copy":return f?{name:i("copy","Copy"),shortcut:i("ctrlC","Ctrl+C"),icon:q("clipboardCopy",s,null),action:()=>f.copyToClipboard()}:null;case"copyWithHeaders":return f?{name:i("copyWithHeaders","Copy with Headers"),icon:q("clipboardCopy",s,null),action:()=>f.copyToClipboard({includeHeaders:!0})}:null;case"copyWithGroupHeaders":return f?{name:i("copyWithGroupHeaders","Copy with Group Headers"),icon:q("clipboardCopy",s,null),action:()=>f.copyToClipboard({includeHeaders:!0,includeGroupHeaders:!0})}:null;case"cut":if(f){const O=v.getFocusedCell(),Z=O?Ge(s,O):null,ae=Z?O?.column.isCellEditable(Z):!1;return{name:i("cut","Cut"),shortcut:i("ctrlX","Ctrl+X"),icon:q("clipboardCut",s,null),disabled:!ae||l.get("suppressCutToClipboard"),action:()=>f.cutToClipboard(void 0,"contextMenu")}}else return null;case"paste":if(f){const O=l.get("suppressClipboardApi")||l.get("suppressClipboardPaste")||!L||!a||!L.isCellEditable(a)||L.isSuppressPaste(a);return{name:i("paste","Paste"),shortcut:i("ctrlV","Ctrl+V"),icon:q("clipboardPaste",s,null),disabled:O,action:()=>f.pasteFromClipboard()}}else return null;case"export":{const O=[];return!l.get("suppressCsvExport")&&C&&O.push("csvExport"),!l.get("suppressExcelExport")&&b&&O.push("excelExport"),O.length?{name:i("export","Export"),subMenu:O,icon:q("save",s,null)}:null}case"csvExport":return C?{name:i("csvExport","CSV Export"),icon:q("csvExport",s,null),action:()=>C.exportDataAsCsv()}:null;case"excelExport":return b?{name:i("excelExport","Excel Export"),icon:q("excelExport",s,null),action:()=>b.exportDataAsExcel()}:null;case"separator":return I;case"pivotChart":case"chartRange":return M.getChartItems(I);case"columnFilter":return y&&L?{name:i("columnFilter","Column Filter"),icon:q("filter",s,null),action:()=>y.showFilterMenu({column:L,buttonElement:K(),containerType:"columnFilter",positionBy:"button"})}:null;case"columnChooser":{const O=v.focusedHeader;return S?{name:i("columnChooser","Choose Columns"),icon:q("columns",s,null),action:()=>S.showColumnChooser({column:L,eventSource:K(),headerPosition:O})}:null}case"sortUnSort":case"sortAscending":case"sortDescending":case"sortAbsoluteAscending":case"sortAbsoluteDescending":{if(!k||!L)return null;const{fallback:O,getSortDef:Z}=TH[I];return{name:i(I,O),icon:q(I,s,null),action:()=>k.setSortForColumn(L,Z(L),!1,U)}}default:return R(176,{key:I}),null}};for(const I of e){let L;if(typeof I=="string"?L=D(I,t,n,r):L={...I},!L)continue;const K=L,{subMenu:U}=K;U&&U instanceof Array&&(K.subMenu=this.mapWithStockItems(U,t,a,n,r)),L!=null&&o.push(L)}return MS(o,Wr),o}};function IH(e,t,a,n){let r;if(e.isPrimary())r=e;else{const i=e.getColDef().pivotValueColumn;r=A(i)?i:void 0}const o=[];if(r){const i=r.isValueActive(),s=t.getFuncNames(r);o.push({name:n("noAggregation","None"),action:()=>{a.removeColumns([r],"contextMenu"),a.setColumnAggFunc(r,void 0,"contextMenu")},checked:!i});for(const l of s)o.push({name:n(l,t.getDefaultFuncLabel(l)),action:()=>{a.setColumnAggFunc(r,l,"contextMenu"),a.addColumns([r],"contextMenu")},checked:i&&r.getAggFunc()===l})}return o}var LH=class extends F{constructor(){super(...arguments),this.beanName="colMenuFactory"}createMenu(e,t,a,n){const r=e.createManagedBean(new Ap(0,{column:a??null,node:null,value:null})),o=this.beans.menuItemMapper.mapWithStockItems(t,a??null,null,n,"columnMenu");return r.addMenuItems(o),r}getMenuItems(e=null,t=null){const a=this.getDefaultMenuOptions(e);let n;const r=(e?.getColDef()??t?.getColGroupDef())?.mainMenuItems;if(Array.isArray(r))n=r;else if(typeof r=="function")n=r(B(this.gos,{column:e,columnGroup:t,defaultItems:a}));else{const o=this.gos.getCallback("getMainMenuItems");o?n=o({column:e,columnGroup:t,defaultItems:a}):n=a}return MS(n,Wr),n}getDefaultMenuOptions(e){const t=[],{beans:a,gos:n}=this,{colChooserFactory:r,rowGroupColsSvc:o,colModel:i,expansionSvc:s,sortSvc:l,menuSvc:c,pinnedCols:d,aggFuncSvc:u,colAutosize:g}=a,h=Ne(n),p=()=>{!h&&r&&t.push("columnChooser"),t.push("resetColumns")};if(!e)return p(),t;const{colDef:f}=e,m=d&&!f.lockPinned,v=o?.columns.length??0,C=v>0,b=Rn(n),y=n.get("treeData"),S=e.isPrimary(),k=!S||u&&e.isAllowValue()&&(C||b||y);if(l&&!h&&e.isSortable()){const{isDefaultSortAllowed:M,isAbsoluteSortAllowed:E,isAbsoluteSort:P,isDefaultSort:D,isAscending:I,isDescending:L,direction:K}=lu(e,a);M&&!(I&&D)&&t.push("sortAscending"),M&&!(L&&D)&&t.push("sortDescending"),E&&!(I&&P)&&t.push("sortAbsoluteAscending"),E&&!(L&&P)&&t.push("sortAbsoluteDescending"),K&&t.push("sortUnSort"),t.push(Wr)}if(c?.isFilterMenuItemEnabled(e)&&(t.push("columnFilter"),t.push(Wr)),m&&t.push("pinSubMenu"),k&&t.push("valueAggSubMenu"),(m||k)&&t.push(Wr),g&&(f.suppressAutoSize||t.push("autoSizeThis"),t.push("autoSizeAll"),t.push(Wr)),o&&n.isModuleRegistered("SharedRowGrouping")){const M=t.length;f.showRowGroup?t.push("rowUnGroup"):e.isAllowRowGroup()&&S&&(e.isRowGroupActive()?Ss(e,a)||t.push("rowUnGroup"):t.push("rowGroup")),t.length>M&&t.push(Wr)}return p(),s&&(se(n)||n.get("ssrmExpandAllAffectsAllRows"))&&(y||v>(i.isPivotMode()?1:0))&&(t.push("expandAll"),t.push("contractAll")),t}},ES="ag-context-menu-open",zH=class extends F{constructor(){super(...arguments),this.beanName="contextMenuSvc",this.focusedCell=null}postConstruct(){this.menu=this.createManagedBean(new F0({menuItemCallbacks:Pp,getMenuItems:this.getMenuItems.bind(this),mapMenuItems:this.mapWithStockItems.bind(this),beforeMenuOpen:this.beforeMenuOpen.bind(this),onMenuOpen:this.onMenuOpen.bind(this),onMenuClose:this.onMenuClose.bind(this),afterMenuDestroyed:this.afterMenuDestroyed.bind(this),onVisibleChanged:this.dispatchVisibleChangedEvent.bind(this),shouldBlockMenuOpen:()=>!!this.beans.overlays?.exclusive}))}hideActiveMenu(){this.menu.hideActiveMenu()}getMenuItems(e,t){const{column:a,node:n,value:r}=e,o=[],{clipboardSvc:i,chartSvc:s,csvCreator:l,excelCreator:c,colModel:d,rangeSvc:u,gos:g}=this.beans;if(A(n)&&i&&a&&(g.get("suppressCutToClipboard")||o.push("cut"),o.push("copy","copyWithHeaders","copyWithGroupHeaders","paste","separator")),g.get("enableCharts")&&s&&(d.isPivotMode()&&o.push("pivotChart"),u&&!u.isEmpty()&&o.push("chartRange")),A(n)){const m=g.get("enableRowPinning"),v=g.get("isRowPinnable");if(m){const k=n.level>-1&&n.footer,M=n.level===-1&&n.footer,E=Rn(g);(M&&!(E==="pinnedBottom"||E==="pinnedTop")||!M&&!k)&&(v?.(n)??!0)&&o.push("pinRowSubMenu")}const C=g.get("suppressExcelExport")||!c,b=g.get("suppressCsvExport")||!l;!sn()&&(!C||!b)&&o.push("export")}const h=o.length?o:void 0,p=a?.getColDef().contextMenuItems;return Array.isArray(p)?p:typeof p=="function"?p(B(g,{column:a,node:n,value:r,defaultItems:h,event:t})):g.getCallback("getContextMenuItems")?.({column:a,node:n,value:r,defaultItems:h,event:t})??o}getContextMenuPosition(e,t){const a=this.getRowCtrl(e),n=this.getCellGui(a,t);if(!n)return{x:0,y:a?.getRowYPosition()??0};const r=n.getBoundingClientRect();return{x:r.x+r.width/2,y:r.y+r.height/2}}showContextMenu(e){const t=e.rowNode??null,a=e.column??null;let{anchorToElement:n,value:r,source:o}=e;t&&a&&r==null&&(r=this.beans.valueSvc.getValueForDisplay({column:a,node:t,from:"edit"}).value),n==null&&(n=this.getContextMenuAnchorElement(t,a)),this.beans.menuUtils.onContextMenu({mouseEvent:e.mouseEvent??null,touchEvent:e.touchEvent??null,showMenuCallback:i=>this.menu.showMenu({node:t,column:a,value:r},i,n),source:o})}handleContextMenuMouseEvent(e,t,a,n){const r=n?.rowNode??a?.rowNode??null,o=n?.column??a?.findFullWidthInfoForEvent(e||t)?.column??null,{valueSvc:i,ctrlsSvc:s}=this.beans,l=o?i.getValue(o,r,"edit"):null,c=s.getGridBodyCtrl(),d=n?n.eGui:c.eGridBody;this.showContextMenu({mouseEvent:e,touchEvent:t,rowNode:r,column:o,value:l,anchorToElement:d,source:"ui"})}beforeMenuOpen(e){e.column||this.beans.focusSvc.clearFocusedCell()}onMenuOpen(){const{ctrlsSvc:e,focusSvc:t}=this.beans;e.getGridBodyCtrl().eGridBody.classList.add(ES),this.focusedCell=t.getFocusedCell()}onMenuClose(){this.beans.ctrlsSvc.getGridBodyCtrl().eGridBody.classList.remove(ES)}afterMenuDestroyed(){const{beans:e,focusedCell:t}=this;qu(e,t)}dispatchVisibleChangedEvent(e,t){this.eventSvc.dispatchEvent({type:"contextMenuVisibleChanged",visible:e,source:t})}getRowCtrl(e){const{rowIndex:t,rowPinned:a}=e||{};if(t!=null)return this.beans.rowRenderer.getRowByPosition({rowIndex:t,rowPinned:a})||void 0}getCellGui(e,t){return!e||!t?void 0:e.getCellCtrl(t)?.eGui||void 0}getContextMenuAnchorElement(e,t){const a=this.beans.ctrlsSvc.getGridBodyCtrl().eGridBody,n=this.getRowCtrl(e);if(!n)return a;const r=this.getCellGui(n,t);return r||(n.isFullWidth()?n.getFullWidthElement():a)}mapWithStockItems(e,t,a){const{column:n,node:r}=t;return this.beans.menuItemMapper.mapWithStockItems(e,n,r,a,"contextMenu")}},$n="filterMenuTab",er="generalMenuTab",Ur="columnsMenuTab",ad=[er,$n,Ur],OH=class extends F{constructor(){super(...arguments),this.beanName="enterpriseMenuFactory"}hideActiveMenu(){this.destroyBean(this.activeMenu)}showMenuAfterMouseEvent(e,t,a,n,r){const{column:o,columnGroup:i}=this.splitColumnOrGroup(e),s=r?"filterMenuTab":void 0;this.showMenu(o,i,l=>{const c=l.getGui();this.beans.popupSvc.positionPopupUnderMouseEvent({type:a,additionalParams:{column:o},mouseEvent:t,ePopup:c}),s&&l.showTab?.(s),this.dispatchVisibleChangedEvent(!0,!1,o,i,s)},a,s,void 0,t.target,n)}splitColumnOrGroup(e){const t=e&&wa(e);return{column:t?e:void 0,columnGroup:t?void 0:e}}showMenuAfterButtonClick(e,t,a,n,r){let o=-1,i="left";this.gos.get("enableRtl")&&(o=1,i="right");const s=r?"filterMenuTab":void 0,l=s?[s]:void 0,c=Ne(this.gos),d=(c?9:4)*o,u=c?-23:4,{column:g,columnGroup:h}=this.splitColumnOrGroup(e);this.showMenu(g,h,p=>{const f=p.getGui();this.beans.popupSvc.positionPopupByComponent({type:a,additionalParams:{column:g},eventSource:t,ePopup:f,alignSide:i,nudgeX:d,nudgeY:u,position:"under",keepWithinBounds:!0}),s&&p.showTab?.(s),this.dispatchVisibleChangedEvent(!0,!1,g,h,s)},a,s,l,t,n)}showMenu(e,t,a,n,r,o,i,s){const l=this.getMenuParams(e,t,o,i);if(!l)return;const{menu:c,eMenuGui:d,anchorToElement:u,restoreFocusParams:g}=l,h=[],{menuUtils:p,popupSvc:f}=this.beans;h.push(v=>{const C=c.getGui();this.destroyBean(c),e&&(ds(e,!1,"contextMenu"),p.restoreFocusOnClose(g,C,v)),s?.()});const m=this.getLocaleTextFunc();if(f.addPopup({modal:!0,eChild:d,closeOnEsc:!0,closedCallback:v=>{for(const C of h)C(v);this.dispatchVisibleChangedEvent(!1,!1,e,t,r)},afterGuiAttached:v=>c.afterGuiAttached(Object.assign({},{container:n},v)),positionCallback:r?()=>a(c):void 0,ariaLabel:m("ariaLabelColumnMenu","Column Menu")}),r||(c.showTabBasedOnPreviousSelection?.(),a(c)),su(this.gos)){const v=f.setPopupPositionRelatedToElement(d,u);v&&e&&this.addStopAnchoring(v,e,h)}c.addEventListener("tabSelected",v=>{this.dispatchVisibleChangedEvent(!1,!0,e),this.lastSelectedTab=v.key,this.dispatchVisibleChangedEvent(!0,!0,e)}),e&&ds(e,!0,"contextMenu"),this.activeMenu=c,c.addEventListener("destroyed",()=>{this.activeMenu===c&&(this.activeMenu=null)})}addStopAnchoring(e,t,a){e.then(n=>{t.__addEventListener("leftChanged",n),t.__addEventListener("visibleChanged",n),a.push(()=>{t.__removeEventListener("leftChanged",n),t.__removeEventListener("visibleChanged",n)})})}getMenuParams(e,t,a,n){const{focusSvc:r,visibleCols:o,ctrlsSvc:i}=this.beans,s={column:e,headerPosition:r.focusedHeader,columnIndex:o.allCols.indexOf(e),eventSource:n},l=this.createMenu(e,t,s,a,n);return l?{menu:l,eMenuGui:l.getGui(),anchorToElement:n||i.getGridBodyCtrl().eGridBody,restoreFocusParams:s}:void 0}createMenu(e,t,a,n,r){if(Ne(this.gos))return this.createBean(new GH(e,a,this.lastSelectedTab,n,r));{const o=this.beans.colMenuFactory.getMenuItems(e,t);return o.length?this.createBean(new VH(o,e,a,r)):void 0}}dispatchVisibleChangedEvent(e,t,a,n,r){this.eventSvc.dispatchEvent({type:"columnMenuVisibleChanged",visible:e,switchingTab:t,key:this.lastSelectedTab??r??(Ne(this.gos)?er:"columnMenu"),column:a??null,columnGroup:n??null})}isMenuEnabled(e){if(!Ne(this.gos))return!0;const t=!this.beans.filterManager?.isFilterAllowed(e),a=e.getColDef().menuTabs??ad;return(t&&a.includes($n)?a.length-1:a.length)>0}showMenuAfterContextMenuEvent(e,t,a){this.beans.menuUtils.onContextMenu({mouseEvent:t,touchEvent:a,source:"ui",showMenuCallback:n=>(this.showMenuAfterMouseEvent(e,n,"columnMenu"),!0)})}},GH=class extends F{constructor(e,t,a,n,r){super(),this.column=e,this.restoreFocusParams=t,this.initialSelection=a,this.restrictTo=n,this.sourceElement=r,this.tabFactories={},this.includeChecks={};const{tabFactories:o,includeChecks:i}=this;o[er]=this.createMainPanel.bind(this),o[$n]=this.createFilterPanel.bind(this),o[Ur]=this.createColumnsPanel.bind(this),i[er]=()=>!0,i[$n]=()=>e?!!this.beans.filterManager?.isFilterAllowed(e):!1,i[Ur]=()=>!0}postConstruct(){const e=this.getTabsToCreate().map(a=>this.createTab(a)),t=new pp({items:e,cssClass:"ag-menu",onActiveItemClicked:this.onHidePopup.bind(this),onItemClicked:this.onTabItemClicked.bind(this)});this.tabbedLayout=this.createBean(t),this.mainMenuList?.setParentComponent(t),this.addDestroyFunc(()=>this.destroyBean(t))}getTabsToCreate(){return this.restrictTo?this.restrictTo:(this.column?.getColDef().menuTabs??ad).filter(e=>this.isValidMenuTabItem(e)&&this.isNotSuppressed(e))}isValidMenuTabItem(e){let t=!0,a=ad;return this.restrictTo!=null&&(t=this.restrictTo.indexOf(e)>-1,a=this.restrictTo),t=t&&ad.indexOf(e)>-1,t||R(175,{menuTabName:e,itemsToConsider:a}),t}isNotSuppressed(e){return this.includeChecks[e]()}createTab(e){return this.tabFactories[e]()}showTabBasedOnPreviousSelection(){this.showTab(this.initialSelection)}showTab(e){const{tabItemColumns:t,tabbedLayout:a,tabItemFilter:n,tabItemGeneral:r}=this;t&&e===Ur?a.showItem(t):n&&e===$n?a.showItem(n):r&&e===er?a.showItem(r):a.showFirstItem()}onTabItemClicked(e){let t=null;switch(e.item){case this.tabItemColumns:t=Ur;break;case this.tabItemFilter:t=$n;break;case this.tabItemGeneral:t=er;break}t&&this.activateTab(t)}activateTab(e){const t={type:"tabSelected",key:e};this.dispatchLocalEvent(t)}createMainPanel(){const{beans:e,column:t}=this,a=e.colMenuFactory,n=a.createMenu(this,a.getMenuItems(t),this.column,()=>this.sourceElement??this.getGui());this.mainMenuList=n,n.addEventListener("closeMenu",this.onHidePopup.bind(this));const r={title:q("legacyMenu",e,t),titleLabel:er.replace("MenuTab",""),bodyPromise:j.resolve(n.getGui()),name:er};return this.tabItemGeneral=r,r}onHidePopup(e){this.beans.menuUtils.closePopupAndRestoreFocusOnSelect(this.hidePopupFunc,this.restoreFocusParams,e)}createFilterPanel(){const e=this.column?this.createBean(new Ao(this.column,"COLUMN_MENU")):null;this.filterComp=e,e?.hasFilter()||J(119);const t=n=>e?.afterGuiAttached(n),a=()=>e?.afterGuiDetached();return this.tabItemFilter={title:q("filterTab",this.beans,this.column),titleLabel:$n.replace("MenuTab",""),bodyPromise:j.resolve(e?.getGui()),afterAttachedCallback:t,afterDetachedCallback:a,name:$n},this.tabItemFilter}createColumnsPanel(){const e=re({tag:"div",cls:"ag-menu-column-select-wrapper"}),{beans:t,column:a}=this,r=t.colChooserFactory.createColumnSelectPanel(this,a).getGui();r.classList.add("ag-menu-column-select"),e.appendChild(r);const o={title:q("columns",t,a),titleLabel:Ur.replace("MenuTab",""),bodyPromise:j.resolve(e),name:Ur};return this.tabItemColumns=o,o}afterGuiAttached(e){const{container:t,hidePopup:a}=e;this.tabbedLayout.setAfterAttachedParams({container:t,hidePopup:a}),a&&(this.hidePopupFunc=a,this.addDestroyFunc(a))}getGui(){return this.tabbedLayout.getGui()}destroy(){super.destroy(),this.destroyBean(this.filterComp)}},VH=class extends T{constructor(e,t,a,n){super({tag:"div",ref:"eColumnMenu",cls:"ag-menu ag-column-menu",role:"presentation"}),this.menuItems=e,this.column=t,this.restoreFocusParams=a,this.sourceElement=n,this.eColumnMenu=x}postConstruct(){const e=this.beans.colMenuFactory.createMenu(this,this.menuItems,this.column,()=>this.sourceElement??this.getGui());this.mainMenuList=e,e.addEventListener("closeMenu",this.onHidePopup.bind(this)),this.eColumnMenu.appendChild(e.getGui())}onHidePopup(e){this.beans.menuUtils.closePopupAndRestoreFocusOnSelect(this.hidePopupFunc,this.restoreFocusParams,e)}afterGuiAttached({hidePopup:e}){e&&(this.hidePopupFunc=e,this.addDestroyFunc(e)),ze(this.mainMenuList.getGui())}};function BH(e,t){const{contextMenuSvc:a}=e;if(!a)return;const{rowNode:n,column:r,value:o,x:i,y:s}=t||{};let{x:l,y:c}=a.getContextMenuPosition(n,r);i!=null&&(l=i),s!=null&&(c=s),a.showContextMenu({mouseEvent:new MouseEvent("mousedown",{clientX:l,clientY:c}),rowNode:n,column:r,value:o,source:"api"})}function NH(e,t){e.colChooserFactory?.showColumnChooser({chooserParams:t})}function HH(e){e.colChooserFactory?.hideActiveColumnChooser()}var qH=class extends F{constructor(){super(...arguments),this.beanName="menuUtils"}restoreFocusOnClose(e,t,a,n){const{eventSource:r}=e,o=a instanceof KeyboardEvent;if(!n&&!o||!r)return;const i=ne(this.beans);!t.contains(i)&&!ma(this.beans)||this.focusHeaderCell(e)}closePopupAndRestoreFocusOnSelect(e,t,a){let n;a?.keyboardEvent&&(n=a.keyboardEvent),e(n&&{keyboardEvent:n});const r=this.beans,o=r.focusSvc,i=o.getFocusedCell();if(ma(r))if(i){const{rowIndex:s,rowPinned:l,column:c}=i;o.setFocusedCell({rowIndex:s,column:c,rowPinned:l,forceBrowserFocus:!0,preventScrollOnBrowserFocus:!0})}else this.focusHeaderCell(t)}onContextMenu(e){const{mouseEvent:t,touchEvent:a,showMenuCallback:n,source:r}=e;if(!this.gos.get("allowContextMenuWithControlKey")&&t&&(t.ctrlKey||t.metaKey)||(t&&this.blockMiddleClickScrollsIfNeeded(t),r==="ui"&&this.gos.get("suppressContextMenu")))return;const o=t??a.touches[0];if(n(o)){const i=t??a;i?.cancelable&&i.preventDefault()}}async focusHeaderCell(e){const{column:t,columnIndex:a,headerPosition:n,eventSource:r}=e,{visibleCols:o,headerNavigation:i,focusSvc:s}=this.beans,l=await o.allCols.some(c=>c===t);if(this.isAlive()){if(t?.isAlive()&&l&&r&&Be(r)){const c=Rl(r);c&&(i?.scrollToColumn(t),c.focus())}else if(n&&a!==-1){const c=o.allCols,d=c[a]||W(c);d&&s.focusHeaderPosition({headerPosition:{headerRowIndex:n.headerRowIndex,column:d}})}}}blockMiddleClickScrollsIfNeeded(e){this.gos.get("suppressMiddleClickScrolls")&&e.which===2&&e.preventDefault()}},PS={moduleName:"MenuCore",version:Q,beans:[DH,RH,qH],icons:{chart:"chart",columns:"columns",loadingMenuItems:"loading",menuPin:"pin",menuValue:"aggregation",menuAddRowGroup:"group",menuRemoveRowGroup:"group",clipboardCopy:"copy",clipboardCut:"cut",clipboardPaste:"paste",save:"save",csvExport:"csv",excelExport:"excel",sortAscending:"asc",sortDescending:"desc",sortAbsoluteAscending:"aasc",sortAbsoluteDescending:"adesc",sortUnSort:"none"},dependsOn:[le,ja,bh,ed]},Bp={moduleName:"ColumnMenu",version:Q,beans:[OH,LH,EH],icons:{ensureColumnVisible:"column-arrow",legacyMenu:"menu",filterTab:"filter",columnSelectClosed:"tree-closed",columnSelectOpen:"tree-open",columnSelectIndeterminate:"tree-indeterminate"},apiFunctions:{showColumnChooser:NH,hideColumnChooser:HH},dependsOn:[PS,Vp,Gn,jl]},Np={moduleName:"ContextMenu",version:Q,beans:[zH],apiFunctions:{showContextMenu:BH},dependsOn:[PS]},WH={moduleName:"Menu",version:Q,dependsOn:[Bp,Np]},UH=10,AS=class extends Rr{constructor(){super({tag:"div",cls:"ag-cell-edit-wrapper"}),this.pendingInitialEventKey=null,this.initialEventKeyProcessed=!1}initialiseEditor(e){const{cellStartedEdit:t,values:a,valuesPage:n,eventKey:r}=this.params;this.pendingInitialEventKey=null,this.initialEventKeyProcessed=!1,ie(a)&&ie(n)&&R(180);const o=this.resolveAsyncMode(),{params:i,valueList:s}=this.buildRichSelectParams(o),l=this.createManagedBean(new $c(i));this.eEditor=l,l.addCss("ag-cell-editor"),this.appendChild(l);const c=this.getAsyncValuesSource(o);c&&l.setAsyncValuesSource({source:c,thresholdRows:this.params.valuesPageLoadThreshold??UH,useAsyncSearch:o.isFullAsync,onMisconfiguredSearchSource:o.isFullAsync?()=>R(294):void 0,onFirstValuesPageLoaded:()=>{this.pendingInitialEventKey!=null&&(this.consumeInitialEventKey(this.pendingInitialEventKey),this.pendingInitialEventKey=null)}}),this.eEditor.setValueList({valueList:s,refresh:!0,isInitial:!0}),o.isValuesPaged?(this.eEditor.resetAsyncValues(""),o.isFullAsync?this.consumeInitialEventKey(r):this.pendingInitialEventKey=r):s&&!Array.isArray(s)&&s.then(d=>{const u=this.getSearchStringCallback(d);u&&l.setSearchStringCreator(u),this.consumeInitialEventKey(r)}).catch(d=>{ao("Rich Select",d),this.consumeInitialEventKey(r)}),this.addManagedListeners(l,{fieldPickerValueSelected:this.onEditorPickerValueSelected.bind(this)}),this.focusAfterAttached=t}onEditorPickerValueSelected(e){this.gos.get("editType")!=="fullRow"&&setTimeout(()=>this.params.stopEditing(!e.fromEnterKey))}getPlaceholderText(e=this.isFullAsync()){const{valuePlaceholder:t}=this.params;if(t!==void 0)return t;const a=this.getLocaleTextFunc();return e?a("typeToSearchOoo","Type to search..."):a("advancedFilterBuilderSelectOption","Select an option...")}isFullAsync(){const{allowTyping:e,filterListAsync:t,values:a,valuesPage:n}=this.params,r=typeof a=="function"||typeof n=="function";return t&&!e||!r&&t?(R(294),!1):!!(e&&t&&r)}isValuesPaged(){return typeof this.params.valuesPage=="function"}resolveAsyncMode(){return{isValuesPaged:this.isValuesPaged(),isFullAsync:this.isFullAsync()}}getInitialValueList(e=this.resolveAsyncMode()){const t=this.params,{values:a}=t;if(!e.isValuesPaged){if(!a)return[];if(Array.isArray(a))return a;if(typeof a!="function")return[];if(!e.isFullAsync)return a({...t})}}buildRichSelectParams(e=this.resolveAsyncMode()){const t=this.params,{cellRenderer:a,cellRendererParams:n,cellHeight:r,value:o,values:i,formatValue:s,searchDebounceDelay:l,valueListGap:c,valueListMaxHeight:d,valueListMaxWidth:u,allowTyping:g,filterList:h,searchType:p,highlightMatch:f,eventKey:m,multiSelect:v,suppressDeselectAll:C,suppressMultiSelectPillRenderer:b}=t,{isValuesPaged:y,isFullAsync:S}=e,k=s??(L=>String(L??"")),E={value:o,cellRenderer:a,cellRendererParams:n,cellRowHeight:r,searchDebounceDelay:l,valueFormatter:L=>Array.isArray(L)?L.map(K=>k(K)).join(", "):k(L),pickerAriaLabelKey:"ariaLabelRichSelectField",pickerAriaLabelValue:"Rich Select Field",pickerType:"virtual-list",pickerGap:c,allowTyping:g,filterList:h,searchType:p,highlightMatch:f,maxPickerHeight:d,maxPickerWidth:u,placeholder:this.getPlaceholderText(S),initialInputValue:m?.length===1?m:m===w.BACKSPACE?"":void 0,multiSelect:v,suppressDeselectAll:C,suppressMultiSelectPillRenderer:b},P=this.getInitialValueList(e),D=Array.isArray(i);return y?(P&&(E.valueList=P),S&&(E.allowNoResultsCopy=!0,E.filterList=!0)):D?(E.valueList=P,E.searchStringCreator=this.getSearchStringCallback(P)):typeof i=="function"&&S&&(E.allowNoResultsCopy=!0,E.filterList=!0),{params:E,valueList:P}}getAsyncValuesSource(e=this.resolveAsyncMode()){const{isFullAsync:t,isValuesPaged:a}=e;if(!(!t&&!a))return{searchValues:t?n=>this.getAsyncSearchValues(n):void 0,loadValuesPage:a?n=>this.getAsyncValuesPage(n):void 0,valuesPageInitialStartRow:a?n=>this.resolveValuesPageInitialStartRow(n):void 0,valuesPageSize:a?this.params.valuesPageSize:void 0}}getAsyncSearchValues(e){const{values:t}=this.params;return typeof t!="function"?[]:t({...this.params,search:e})}getAsyncValuesPage(e){const{valuesPage:t}=this.params;return typeof t!="function"?{values:[]}:t({...this.params,search:e.search,startRow:e.startRow,endRow:e.endRow,cursor:e.cursor})}resolveValuesPageInitialStartRow(e){if(e)return 0;const{valuesPageInitialStartRow:t,value:a}=this.params,n=typeof t=="function"?t(a):t;return Math.max(Math.floor(n??0),0)}getSearchStringCallback(e){if(typeof e[0]!="object")return;const t=this.params,{colDef:a,formatValue:n}=t,r=n??(i=>String(i??""));if(a.cellEditorParams?.formatValue)return i=>i.map(r);const{keyCreator:o}=a;if(o){R(266);const{column:i,node:s,data:l}=t;return c=>c.map(d=>{const u=B(this.gos,{value:d,colDef:a,column:i,node:s,data:l});return o(u)})}return i=>i.map(r)}afterGuiAttached(){const{focusAfterAttached:e,params:t}=this;setTimeout(()=>{if(!this.isAlive())return;const a=this.eEditor,{allowTyping:n,eventKey:r,cellStartedEdit:o}=t;if(e){const i=a.getFocusableElement();i.focus(),n&&(!r||r.length!==1)&&i.select()}o&&a.showPicker(),this.pendingInitialEventKey==null&&this.consumeInitialEventKey(r)})}consumeInitialEventKey(e){!e||this.initialEventKeyProcessed||(this.initialEventKeyProcessed=!0,this.processEventKey(e))}processEventKey(e){e&&(e===w.BACKSPACE?this.eEditor.searchTextFromString(null):e?.length===1&&this.eEditor.searchTextFromString(e))}focusIn(){this.eEditor.getFocusableElement().focus()}agSetEditValue(e){this.params.value=e,this.eEditor.setValue(e??null,!0)}getValue(){const{params:e}=this,t=this.eEditor.getValue();return e.parseValue?.(t)??t}isPopup(){return!1}getValidationElement(){return this.eEditor.getAriaElement()}getValidationErrors(){const{params:e}=this,{getValidationErrors:t}=e;return t?t({value:this.getValue(),internalErrors:null,cellEditorParams:e}):null}},TS={moduleName:"RichSelect",version:Q,beans:[],userComponents:{agRichSelect:AS,agRichSelectCellEditor:AS},icons:{richSelectOpen:"small-down",richSelectRemove:"cancel",richSelectLoading:"loading"},dependsOn:[le,Fa]},jr="__AG_SELECT_ALL__",_r="__AG_ADD_SELECTION_TO_FILTER__",jH=class{constructor(e,t,a,n){this.valueSvc=e,this.getValueFormatter=t,this.formatter=a,this.column=n,this.displayedKeys=[]}updateDisplayedValuesToAllAvailable(e,t,a){this.displayedKeys=Array.from(a)}updateDisplayedValuesToMatchMiniFilter(e,t,a,n,r){this.displayedKeys=[];const o=this.getValueFormatter();for(const i of a)if(i==null)r&&this.displayedKeys.push(i);else{const s=e(i),l=this.valueSvc.formatValue(this.column,null,s,o,!1),c=this.formatter(l);n(c)&&this.displayedKeys.push(i)}}getDisplayedValueCount(){return this.displayedKeys.length}getDisplayedItem(e){return this.displayedKeys[e]}getSelectAllItem(){return jr}getAddSelectionToFilterItem(){return _r}getDisplayedKeys(){return this.displayedKeys}forEachDisplayedKey(e){this.displayedKeys.forEach(e)}someDisplayedKey(e){return this.displayedKeys.some(e)}hasGroups(){return!1}refresh(){}},_H={tag:"div",cls:"ag-set-filter-item",attrs:{"aria-hidden":"true"},children:[{tag:"span",cls:"ag-set-filter-group-icons",children:[{tag:"span",ref:"eGroupClosedIcon",cls:"ag-set-filter-group-closed-icon"},{tag:"span",ref:"eGroupOpenedIcon",cls:"ag-set-filter-group-opened-icon"},{tag:"span",ref:"eGroupIndeterminateIcon",cls:"ag-set-filter-group-indeterminate-icon"}]},{tag:"ag-checkbox",ref:"eCheckbox",cls:"ag-set-filter-item-checkbox"}]},KH={tag:"div",cls:"ag-set-filter-item",children:[{tag:"ag-checkbox",ref:"eCheckbox",cls:"ag-set-filter-item-checkbox"}]},YH=class extends T{constructor(e){super(e.isGroup?_H:KH,[da]),this.eCheckbox=x,this.eGroupOpenedIcon=x,this.eGroupClosedIcon=x,this.eGroupIndeterminateIcon=x,this.formattedValue=null,this.focusWrapper=e.focusWrapper,this.value=e.value,this.params=e.params,this.translate=e.translate,this.valueFormatter=e.valueFormatter,this.item=e.item,this.isSelected=e.isSelected,this.isTree=e.isTree,this.depth=e.depth??0,this.isGroup=e.isGroup,this.groupsExist=e.groupsExist,this.isExpanded=e.isExpanded,this.hasIndeterminateExpandState=e.hasIndeterminateExpandState}postConstruct(){this.tooltipFeature=this.createOptionalManagedBean(this.beans.registry.createDynamicBean("tooltipFeature",!1,{getGui:()=>this.focusWrapper,getLocation:()=>"setFilterValue",shouldDisplayTooltip:()=>this.shouldDisplayTooltip?.()??!0,getAdditionalParams:()=>{const{colDef:e,column:t}=this.params,a={colDef:e,column:t,valueFormatted:this.formattedValue??void 0};return this.isTree&&(a.level=this.depth),a}})),this.addDestroyFunc(()=>this.destroyCellRendererComponent?.()),this.render(),this.eCheckbox.setLabelEllipsis(!0).setValue(this.isSelected,!0).setDisabled(!!this.params.readOnly).getInputElement().setAttribute("tabindex","-1"),this.refreshVariableAriaLabels(),this.isTree&&(this.depth>0&&(this.addCss("ag-set-filter-indent-"+this.depth),this.getGui().style.setProperty("--ag-indentation-level",String(this.depth))),this.isGroup?this.setupExpansion():this.groupsExist&&this.addCss("ag-set-filter-add-group-indent"),oi(this.getAriaElement(),this.depth+1)),this.refreshAriaChecked(),!this.params.readOnly&&this.eCheckbox.onValueChange(e=>this.onCheckboxChanged(!!e))}getFocusableElement(){return this.focusWrapper}setupExpansion(){const{eGroupClosedIcon:e,eGroupOpenedIcon:t,eGroupIndeterminateIcon:a,hasIndeterminateExpandState:n,beans:r}=this;e.appendChild(Va("setFilterGroupClosed",r,null)),t.appendChild(Va("setFilterGroupOpen",r,null));const o=this.onExpandOrContractClicked.bind(this);this.addManagedElementListeners(e,{click:o}),this.addManagedElementListeners(t,{click:o}),n&&(a.appendChild(Va("setFilterGroupIndeterminate",r,null)),this.addManagedElementListeners(a,{click:o})),this.setExpandedIcons(),this.refreshAriaExpanded()}onExpandOrContractClicked(){this.setExpanded(!this.isExpanded)}setExpanded(e,t){if(this.isGroup&&e!==this.isExpanded){this.isExpanded=e;const a={type:"expandedChanged",isExpanded:!!e,item:this.item};t||this.dispatchLocalEvent(a),this.setExpandedIcons(),this.refreshAriaExpanded()}}setExpandedIcons(){const{isExpanded:e,hasIndeterminateExpandState:t,eGroupClosedIcon:a,eGroupOpenedIcon:n,eGroupIndeterminateIcon:r}=this;G(a,t?e===!1:!e),G(n,e===!0),t&&G(r,e===void 0)}onCheckboxChanged(e){this.isSelected=e;const t={type:"selectionChanged",isSelected:e,item:this.item};this.dispatchLocalEvent(t),this.refreshVariableAriaLabels(),this.refreshAriaChecked()}toggleSelected(){this.params.readOnly||this.setSelected(!this.isSelected)}setSelected(e,t){this.isSelected=e,this.eCheckbox.setValue(e,t),this.refreshAriaChecked()}refreshVariableAriaLabels(){if(!this.isTree)return;const e=this.getLocaleTextFunc(),t=this.eCheckbox.getValue(),a=t===void 0?e("ariaIndeterminate","indeterminate"):t?e("ariaVisible","visible"):e("ariaHidden","hidden"),n=e("ariaToggleVisibility","Press SPACE to toggle visibility");va(this.eCheckbox.getInputElement(),void 0),this.eCheckbox.setInputAriaLabel(`${n} (${a})`)}setupFixedAriaLabels(e){if(!this.isTree)return;const a=this.getLocaleTextFunc()("ariaFilterValue","Filter Value"),n=this.getAriaElement();de(n,`${e} ${a}`),ri(n,this.eCheckbox.getInputElement().id)}refreshAriaChecked(){const e=this.getAriaElement();Nd(e,this.eCheckbox.getValue())}refreshAriaExpanded(){ot(this.getAriaElement(),!!this.isExpanded)}refresh(e,t,a){this.item=e,t!==this.isSelected&&this.setSelected(t,!0),this.setExpanded(a,!0);const{cellRendererComponent:n,cellRendererParams:r,beans:o,params:i}=this;if(this.valueFunction){const s=this.valueFunction();this.setTooltipAndCellRendererParams(s,s),n||this.renderCellWithoutCellRenderer()}if(n){const s=kr(o.userCompFactory,i,r);if(!n.refresh?.(s?.params??r)){const c=n;this.renderCell(),this.destroyBean(c)}}}render(){const{params:{column:e}}=this;let{value:t}=this,a=null;typeof t=="function"?(this.valueFunction=t,a=this.valueFunction(),t=a):this.isTree?a=Ze(t):a=this.getFormattedValue(e,t),this.formattedValue=a,this.setTooltipAndCellRendererParams(t,a),this.renderCell()}setTooltipAndCellRendererParams(e,t){const a=this.gos;if(this.params.showTooltips&&(!Fo(a)||!this.params.cellRenderer)){const n=t??Ze(e);this.shouldDisplayTooltip=is(a,()=>this.eCheckbox.getGui().querySelector(".ag-label")),this.tooltipFeature?.setTooltipAndRefresh(n)}this.cellRendererParams=B(a,{value:e,valueFormatted:t,colDef:this.params.colDef,column:this.params.column,setTooltip:(n,r)=>{a.assertModuleRegistered("Tooltip",3),this.shouldDisplayTooltip=r,this.tooltipFeature?.setTooltipAndRefresh(n)}})}getFormattedValue(e,t){return this.beans.valueSvc.formatValue(e,null,t,this.valueFormatter,!1)}renderCell(){const t=kr(this.beans.userCompFactory,this.params,this.cellRendererParams)?.newAgStackInstance();if(t==null){this.renderCellWithoutCellRenderer();return}t.then(a=>{a&&(this.cellRendererComponent=a,this.eCheckbox.setLabel(a.getGui()),this.destroyCellRendererComponent=()=>this.destroyBean(a))})}renderCellWithoutCellRenderer(){const{valueFormatted:e,value:t}=this.cellRendererParams;let a=e??t??this.translate("blanks");typeof a!="string"&&(R(208),a=""),this.eCheckbox.setLabel(a),this.setupFixedAriaLabels(a)}getComponentHolder(){return this.params.column.getColDef()}},QH={loadingOoo:"Loading...",blanks:"(Blanks)",searchOoo:"Search...",selectAll:"(Select All)",selectAllSearchResults:"(Select All Search Results)",addCurrentSelectionToFilter:"Add current selection to filter",noMatches:"No matches.",ariaSearchFilterValues:"Search filter values",ariaFilterList:"Filter List",filterSummaryListInactive:"is (All)",filterSummaryListSeparator:", ",filterSummaryListShort:e=>`is (${e[0]})`,filterSummaryListLong:e=>`is (${e[0]}) and ${e[1]} more`};function Hp(e,t,a){let n=e;return n?(n=n.map(r=>Ze(Te(r))),!t&&a&&n.some(r=>r==null)?W(n)==null?null:n.filter(r=>r!=null):n):null}function Nt(e,t,a){return nl(e,QH,t,a)}function ZH(e){e.excelMode==="windows"?(e.buttons||(e.buttons=["apply","cancel"]),e.closeOnApply==null&&(e.closeOnApply=!0)):e.excelMode==="mac"&&(e.buttons||(e.buttons=["reset"]),e.applyMiniFilterWhileTyping==null&&(e.applyMiniFilterWhileTyping=!0),e.debounceMs==null&&(e.debounceMs=500)),e.excelMode&&e.defaultToNothingSelected&&(e.defaultToNothingSelected=!1,R(207))}function XH(){return([e,t],[a,n])=>{if(t==null)return n==null?0:-1;if(n==null)return 1;for(let r=0;r=n.length)return 1;const o=ni(t[r],n[r]);if(o!==0)return o}return 0}}var DS=class{constructor(e,t,a,n){this.formatter=e,this.treeListPathGetter=t,this.treeListFormatter=a,this.treeDataOrGrouping=n,this.allDisplayedItemsTree=new Map,this.activeDisplayedItemsFlat=[],this.selectAllItem={depth:0,filterPasses:!0,available:!0,treeKey:jr,children:this.allDisplayedItemsTree,expanded:!0,key:jr,parentTreeKeys:[]},this.addSelectionToFilterItem={depth:0,filterPasses:!0,available:!0,treeKey:_r,expanded:!0,key:_r,parentTreeKeys:[]}}updateParams(e,t){this.treeListPathGetter=e,this.treeListFormatter=t}updateDisplayedValuesToAllAvailable(e,t,a,n){n==="reload"?this.generateItemTree(e,t,a):n==="otherFilter"?(this.updateAvailable(a),this.updateExpandAll()):n==="miniFilter"&&(this.resetFilter(),this.updateExpandAll()),this.flattenItems()}updateDisplayedValuesToMatchMiniFilter(e,t,a,n,r,o){o==="reload"?this.generateItemTree(e,t,a):o==="otherFilter"&&this.updateAvailable(a),this.updateFilter(n,r),this.updateExpandAll(),this.flattenItems()}generateItemTree(e,t,a){const n=new Map;this.allDisplayedItemsTree=n;let r=!1;const o=this.getTreeListPathGetter(e,a);for(const i of t){const s=e(i),l=o(s)??[null],c=l.length;c>1&&(r=!0);const d=a.has(i);let u=n,g,h=[];for(let p=0;pn;let a=!1;for(const n of t){const r=e(n);if(r instanceof Date){a=!0;break}else if(r!=null)break}return a?n=>Tr(n,!1):(R(211),n=>[String(n)])}flattenItems(){this.activeDisplayedItemsFlat=[];const e=t=>{for(const a of t.values())!a.filterPasses||!a.available||(this.activeDisplayedItemsFlat.push(a),a.children&&a.expanded&&e(a.children))};e(this.allDisplayedItemsTree)}resetFilter(){const e=t=>{const a=t.children;if(a)for(const n of a.values())e(n);t.filterPasses=!0};for(const t of this.allDisplayedItemsTree.values())e(t)}updateFilter(e,t){const a=n=>n.available?n.treeKey==null?t:e(this.formatter(this.treeListFormatter?this.treeListFormatter(n.treeKey,n.depth,n.parentTreeKeys):n.treeKey)):!1;for(const n of this.allDisplayedItemsTree.values())this.recursiveItemCheck(n,!1,a,"filterPasses")}getDisplayedValueCount(){return this.activeDisplayedItemsFlat.length}getDisplayedItem(e){return this.activeDisplayedItemsFlat[e]}getSelectAllItem(){return this.selectAllItem}getAddSelectionToFilterItem(){return this.addSelectionToFilterItem}getDisplayedKeys(){const e=[];return this.forEachDisplayedKey(t=>e.push(t)),e}forEachDisplayedKey(e){const t=(a,n)=>{const r=a.children;if(r){if(!a.expanded||!n)for(const o of r.values())o.filterPasses&&t(o,!1)}else e(a.key)};for(const a of this.activeDisplayedItemsFlat)t(a,!0)}someDisplayedKey(e){const t=(a,n)=>{const r=a.children;if(r){if(!a.expanded||!n){for(const o of r.values())if(o.filterPasses&&t(o,!1))return!0;return!1}}else return e(a.key);return!1};return this.activeDisplayedItemsFlat.some(a=>t(a,!0))}hasGroups(){return this.groupsExist}refresh(){this.updateExpandAll(),this.flattenItems()}updateExpandAll(){const e=(a,n,r)=>{for(const o of a.values()){if(!o.filterPasses||!o.available||!o.children)continue;if(n=n||!!o.expanded,r=r||!o.expanded,n&&r)return;const i=e(o.children,n,r);if(i===void 0)return;i?n=!0:r=!0}return n&&r?void 0:n},t=this.getSelectAllItem();t.expanded=e(t.children,!1,!1)}recursiveItemCheck(e,t,a,n){let r=!1;const o=e.children;if(o)for(const s of o.values()){const l=this.recursiveItemCheck(s,t||a(e),a,n);r=r||l}const i=t||r||a(e);return e[n]=i,i}updateAvailable(e){const t=a=>e.has(a.key);for(const a of this.allDisplayedItemsTree.values())this.recursiveItemCheck(a,!1,t,"available")}},IS=class extends Ti{constructor(){super("setFilter","set-filter"),this.filterType="set",this.eMiniFilter=x,this.eFilterLoading=x,this.eFilterLoadingIcon=x,this.eSetFilterList=x,this.eFilterNoMatches=x,this.hardRefreshVirtualList=!1,this.miniFilterText=null,this.addCurrentSelectionToFilter=!1,this.selectedKeys=new Set}setParams(e){super.setParams(e);const t=this.updateHandler(e.getHandler()),{column:a,textFormatter:n,treeList:r,treeListPathGetter:o,treeListFormatter:i}=e;this.formatter=n??(s=>s??null),this.displayValueModel=r?new DS(this.formatter,o,i,t.isTreeDataOrGrouping()):new jH(this.beans.valueSvc,()=>this.handler.valueFormatter,this.formatter,a),t.valueModel.allKeys.then(s=>{this.isAlive()&&(this.updateDisplayedValues("reload",s??[]),this.resetSelectionState(s??[]))}),t.valueModel.isLoading()&&this.setIsLoading(!0),this.initialiseFilterBodyUi()}refresh(e){return this.params.treeList!==e.treeList?!1:(this.updateHandler(e.getHandler()),super.refresh(e))}updateParams(e,t){super.updateParams(e,t),this.updateMiniFilter(),e.suppressSelectAll!==t.suppressSelectAll&&this.createVirtualListModel(e);const{textFormatter:a,treeListPathGetter:n,treeListFormatter:r}=e;this.formatter=a??(o=>o??null),this.displayValueModel instanceof DS&&this.displayValueModel.updateParams(n,r),this.handler.refreshFilterValues(!0)}updateHandler(e){if(this.handler!==e){for(const a of this.handlerDestroyFuncs??[])a();this.handlerDestroyFuncs=[...this.addManagedListeners(e,{anyFilterChanged:a=>{e.valueModel.allKeys.then(n=>{this.isAlive()&&(this.updateDisplayedValues("otherFilter",n??[]),a.updated&&(this.checkAndRefreshVirtualList(),this.showOrHideResults()))})},dataChanged:({hardRefresh:a})=>{e.valueModel.allKeys.then(n=>{this.isAlive()&&(this.updateDisplayedValues("reload",n??[]),this.setSelectedModel(this.state.model?.values??null),a&&(this.hardRefreshVirtualList=!0),this.checkAndRefreshVirtualList())})}}),...this.addManagedListeners(e.valueModel,{loadingStart:()=>this.setIsLoading(!0),loadingEnd:()=>this.setIsLoading(!1)})],this.handler=e}return e}updateUiVisibility(){}createBodyTemplate(){return{tag:"div",cls:"ag-set-filter",children:[{tag:"div",ref:"eFilterLoading",cls:"ag-filter-loading ag-loading ag-hidden",children:[{tag:"span",ref:"eFilterLoadingIcon",cls:"ag-loading-icon"},{tag:"span",cls:"ag-loading-text",children:Nt(this,"loadingOoo")}]},{tag:"ag-input-text-field",ref:"eMiniFilter",cls:"ag-mini-filter"},{tag:"div",ref:"eFilterNoMatches",cls:"ag-filter-no-matches ag-hidden",children:Nt(this,"noMatches")},{tag:"div",ref:"eSetFilterList",cls:"ag-set-filter-list",role:"presentation"}]}}getAgComponents(){return[Gt]}handleKeyDown(e){if(super.handleKeyDown(e),e.defaultPrevented)return;const t=()=>{if(!this.eSetFilterList.contains(ne(this.beans)))return;const a=this.virtualList.getLastFocusedRow();if(a==null)return;const n=this.virtualList.getComponentAt(a);if(n==null)return;e.preventDefault();const{readOnly:r}=this.params;if(!r)return n};switch(e.key){case w.SPACE:t()?.toggleSelected();break;case w.ENTER:this.handleKeyEnter(e);break;case w.LEFT:t()?.setExpanded(!1);break;case w.RIGHT:t()?.setExpanded(!0);break}}handleKeyEnter(e){e.preventDefault();const{excelMode:t,readOnly:a}=this.params;!t||a||(this.params.onAction("apply",void 0,e),this.params.excelMode==="mac"&&this.eMiniFilter.getInputElement().select())}setModelAndRefresh(e){return this.setSelectedModel(e).then(()=>{this.isAlive()&&this.checkAndRefreshVirtualList()})}setModelIntoUi(e){this.setMiniFilter(this.params.state.state?.miniFilterValue??null,!0);const t=e==null?null:e.values;return this.setModelAndRefresh(t)}getModelFromUi(){const e=this.getSelectedModel();return e?{values:e,filterType:this.filterType}:null}areNonNullModelsEqual(e,t){return we(e.values,t.values)}setIsLoading(e){G(this.eFilterLoading,e),e||(this.hardRefreshVirtualList=!0)}initialiseFilterBodyUi(){this.initVirtualList(),this.initMiniFilter(),this.initLoading()}initLoading(){const e=q("setFilterLoading",this.beans,this.params.column);e&&this.eFilterLoadingIcon.appendChild(e)}initVirtualList(){const e=Nt(this,"ariaFilterList"),t=!!this.params.treeList,a=this.virtualList=this.createBean(new Vo({cssIdentifier:"filter",ariaRole:t?"tree":"listbox",listName:e})),n=this.eSetFilterList;t&&n.classList.add("ag-set-filter-tree-list"),n.appendChild(a.getGui());const{cellHeight:r}=this.params;r!=null&&a.setRowHeight(r);const o=(s,l)=>this.createSetListItem(s,t,l);a.setComponentCreator(o);const i=(s,l)=>this.updateSetListItem(s,l);a.setComponentUpdater(i),this.createVirtualListModel(this.params)}createVirtualListModel(e){let t;e.suppressSelectAll?t=new JH(this.displayValueModel):t=new $H(this.displayValueModel,this.showAddCurrentSelectionToFilter.bind(this)),e.treeList&&(t=new e9(t)),this.virtualList.setModel(t)}getSelectAllLabel(){const e=this.miniFilterText==null||!this.params.excelMode?"selectAll":"selectAllSearchResults";return Nt(this,e)}getAddSelectionToFilterLabel(){return Nt(this,"addCurrentSelectionToFilter")}createSetListItem(e,t,a){const n=this.displayValueModel.hasGroups(),{isSelected:r,isExpanded:o}=this.isSelectedExpanded(e),{value:i,depth:s,isGroup:l,hasIndeterminateExpandState:c,selectedListener:d,expandedListener:u}=this.newSetListItemAttributes(e),g={focusWrapper:a,value:i,params:this.params,translate:p=>Nt(this,p),valueFormatter:this.handler.valueFormatter,item:e,isSelected:r,isTree:t,depth:s,groupsExist:n,isGroup:l,isExpanded:o,hasIndeterminateExpandState:c},h=this.createBean(new YH(g));return h.addEventListener("selectionChanged",d),u&&h.addEventListener("expandedChanged",u),h}newSetTreeItemAttributes(e){const t=this.displayValueModel.hasGroups();return e.key===jr?{value:()=>this.getSelectAllLabel(),isGroup:t,depth:e.depth,hasIndeterminateExpandState:!0,selectedListener:a=>this.onSelectAll(a.isSelected),expandedListener:a=>this.onExpandAll(a.item,a.isExpanded)}:e.key===_r?{value:()=>this.getAddSelectionToFilterLabel(),depth:e.depth,isGroup:!1,hasIndeterminateExpandState:!1,selectedListener:a=>{this.addCurrentSelectionToFilter=a.isSelected,this.refreshAfterSelection()}}:e.children?{value:this.params.treeListFormatter?.(e.treeKey,e.depth,e.parentTreeKeys)??e.treeKey,depth:e.depth,isGroup:!0,selectedListener:a=>this.onGroupItemSelected(a.item,a.isSelected),expandedListener:a=>this.onExpandedChanged(a.item,a.isExpanded)}:{value:this.params.treeListFormatter?.(e.treeKey,e.depth,e.parentTreeKeys)??e.treeKey,depth:e.depth,selectedListener:a=>this.onItemSelected(a.item.key,a.isSelected)}}newSetListItemAttributes(e){return this.isSetFilterModelTreeItem(e)?this.newSetTreeItemAttributes(e):e===jr?{value:()=>this.getSelectAllLabel(),selectedListener:t=>this.onSelectAll(t.isSelected)}:e===_r?{value:()=>this.getAddSelectionToFilterLabel(),selectedListener:t=>{this.addCurrentSelectionToFilter=t.isSelected,this.refreshAfterSelection()}}:{value:this.handler.valueModel.allValues.get(e)??null,selectedListener:t=>this.onItemSelected(t.item,t.isSelected)}}updateSetListItem(e,t){const{isSelected:a,isExpanded:n}=this.isSelectedExpanded(e);t.refresh(e,a,n)}isSelectedExpanded(e){let t,a;return this.isSetFilterModelTreeItem(e)?(a=e.expanded,e.key===jr?t=this.isSelectAllSelected():e.key===_r?t=this.isAddCurrentSelectionToFilterChecked():e.children?t=this.areAllChildrenSelected(e):t=this.selectedKeys.has(e.key)):e===jr?t=this.isSelectAllSelected():e===_r?t=this.isAddCurrentSelectionToFilterChecked():t=this.selectedKeys.has(e),{isSelected:t,isExpanded:a}}isSetFilterModelTreeItem(e){return e?.treeKey!==void 0}initMiniFilter(){const{eMiniFilter:e}=this;this.updateMiniFilter(),e.onValueChange(()=>this.onMiniFilterInput()),e.setInputAriaLabel(Nt(this,"ariaSearchFilterValues")),this.addManagedElementListeners(e.getInputElement(),{keydown:t=>this.onMiniFilterKeyDown(t)})}updateMiniFilter(){const{eMiniFilter:e,miniFilterText:t,params:a}=this;e.setDisplayed(!a.suppressMiniFilter),e.setValue(t)}afterGuiAttached(e){super.afterGuiAttached(e),this.resetExpansion(),this.refreshVirtualList();const{eMiniFilter:t}=this;t.setInputPlaceholder(Nt(this,"searchOoo")),e?.suppressFocus||(t.isDisplayed()?t.getFocusableElement().focus():this.virtualList.awaitStable(()=>this.virtualList.focusRow(0)))}afterGuiDetached(){super.afterGuiDetached();const{column:e,excelMode:t,model:a,onStateChange:n}=this.params;this.beans.colFilter?.shouldKeepStateOnDetach(e)||(t&&this.resetMiniFilter(),(t||a!==this.state.model)&&(n({model:a,state:this.getState()}),this.showOrHideResults()))}canApply(e){return this.params.excelMode?e==null||e.values.length>0:!0}onNewRowsLoaded(){}setFilterValues(e){R(283),this.handler.setFilterValues(e)}resetFilterValues(){R(283),this.handler.resetFilterValues()}refreshFilterValues(){R(283),this.doRefreshFilterValues()}doRefreshFilterValues(){this.handler.refreshFilterValues()}onAnyFilterChanged(){}onMiniFilterInput(e){if(!this.doSetMiniFilter(this.eMiniFilter.getValue()))return;if(e){this.showOrHideResults();return}const{applyMiniFilterWhileTyping:t,readOnly:a,excelMode:n}=this.params,r=!a&&(t||!!n),o=t&&!a?"debounce":void 0;this.updateUiAfterMiniFilterChange(r,o)}updateUiAfterMiniFilterChange(e,t){if(e){const{excelMode:a,readOnly:n,model:r}=this.params;a&&!n&&this.miniFilterText==null?this.setModelAndRefresh(r?.values??null):this.selectAllMatchingMiniFilter(!0)}this.checkAndRefreshVirtualList(),this.onUiChanged(e?t:"prevent"),this.showOrHideResults()}showOrHideResults(){const e=this.miniFilterText!=null&&this.displayValueModel.getDisplayedValueCount()<1;G(this.eFilterNoMatches,e),G(this.eSetFilterList,!e)}resetMiniFilter(){this.eMiniFilter.setValue(null,!0),this.doSetMiniFilter(null)}onMiniFilterKeyDown(e){const{excelMode:t,readOnly:a}=this.params;e.key===w.ENTER&&!t&&!a&&this.updateUiAfterMiniFilterChange(!0,"immediately")}focusRowIfAlive(e){return e==null?Promise.resolve():new Promise(t=>{window.setTimeout(()=>{this.isAlive()&&this.virtualList.focusRow(e),t()},0)})}onSelectAll(e){e?this.selectAllMatchingMiniFilter():this.deselectAllMatchingMiniFilter(),this.refreshAfterSelection()}onGroupItemSelected(e,t){const a=n=>{if(!n.filterPasses)return;const r=n.children;if(r)for(const o of r.values())a(o);else this.setKeySelected(n.key,t)};a(e),this.refreshAfterSelection()}onItemSelected(e,t){this.setKeySelected(e,t),this.refreshAfterSelection()}onExpandAll(e,t){const a=n=>{if(n.filterPasses&&n.available&&n.children){for(const r of n.children.values())a(r);n.expanded=t}};a(e),this.refreshAfterExpansion()}onExpandedChanged(e,t){e.expanded=t,this.refreshAfterExpansion()}refreshAfterExpansion(){const e=this.virtualList.getLastFocusedRow();this.updateDisplayedValues("expansion"),this.checkAndRefreshVirtualList(),this.focusRowIfAlive(e)}refreshAfterSelection(){const e=this.virtualList.getLastFocusedRow();this.checkAndRefreshVirtualList(),this.onUiChanged(),this.focusRowIfAlive(e)}setMiniFilter(e,t){this.eMiniFilter.setValue(e,t),this.onMiniFilterInput(t)}doSetMiniFilter(e){return e=Te(e),this.miniFilterText===e?!1:(e===null&&(this.addCurrentSelectionToFilter=!1),this.miniFilterText=e,this.updateDisplayedValues("miniFilter"),!0)}getMiniFilter(){return this.miniFilterText}getUiChangeEventParams(){return{miniFilterValue:this.miniFilterText}}getState(){const e=this.miniFilterText;return e?{miniFilterValue:e}:void 0}checkAndRefreshVirtualList(){this.virtualList.refresh(!this.hardRefreshVirtualList),this.hardRefreshVirtualList&&(this.hardRefreshVirtualList=!1)}getFilterKeys(){return R(283),this.handler.getFilterKeys()}getFilterValues(){return R(283),this.handler.getFilterValues()}refreshVirtualList(){this.params.refreshValuesOnOpen?this.doRefreshFilterValues():this.checkAndRefreshVirtualList()}isSelectAllSelected(){if(this.params.defaultToNothingSelected){if(this.hasSelections()&&this.isEverythingVisibleSelected())return!0;if(this.isNothingVisibleSelected())return!1}else{if(this.hasSelections()&&this.isNothingVisibleSelected())return!1;if(this.isEverythingVisibleSelected())return!0}}areAllChildrenSelected(e){const t=a=>{if(a.children){let n=!1,r=!1;for(const o of a.children.values()){if(!o.filterPasses||!o.available)continue;const i=t(o);if(i===void 0||(i?n=!0:r=!0,n&&r))return}return n}else return this.selectedKeys.has(a.key)};return this.params.defaultToNothingSelected?this.hasSelections()&&t(e):t(e)}resetExpansion(){if(!this.params.treeList)return;const e=this.displayValueModel.getSelectAllItem();if(this.isSetFilterModelTreeItem(e)){const t=a=>{const n=a.children;if(n){for(const r of n.values())t(r);a.expanded=!1}};t(e),this.updateDisplayedValues("expansion")}}getModelAsString(e){return this.handler.getModelAsString(e)}getPositionableElement(){return this.eSetFilterList}updateDisplayedValues(e,t){if(e==="expansion"){this.displayValueModel.refresh();return}const a=this.handler,n=a.valueModel;if(this.miniFilterText==null){this.displayValueModel.updateDisplayedValuesToAllAvailable(s=>n.allValues.get(s)??null,t,n.availableKeys,e);return}const r=a.caseFormat(this.formatter(this.miniFilterText)||""),o=s=>s!=null&&a.caseFormat(s).includes(r),i=!!this.params.excelMode&&o(Nt(this,"blanks"));this.displayValueModel.updateDisplayedValuesToMatchMiniFilter(s=>n.allValues.get(s)??null,t,n.availableKeys,o,i,e)}hasSelections(){return this.params.defaultToNothingSelected?this.selectedKeys.size>0:this.handler.valueModel.allValues.size!==this.selectedKeys.size}isInWindowsExcelMode(){return this.params.excelMode==="windows"}isAddCurrentSelectionToFilterChecked(){return this.isInWindowsExcelMode()&&this.addCurrentSelectionToFilter}showAddCurrentSelectionToFilter(){return this.isInWindowsExcelMode()&&A(this.miniFilterText)&&this.miniFilterText.length>0}selectAllMatchingMiniFilter(e=!1){this.miniFilterText==null?this.selectedKeys=new Set(this.handler.valueModel.allValues.keys()):(e&&this.selectedKeys.clear(),this.displayValueModel.forEachDisplayedKey(t=>this.selectedKeys.add(t)))}deselectAllMatchingMiniFilter(){this.miniFilterText==null?this.selectedKeys.clear():this.displayValueModel.forEachDisplayedKey(e=>this.selectedKeys.delete(e))}setKeySelected(e,t){t?this.selectedKeys.add(e):(this.params.excelMode&&this.isEverythingVisibleSelected()&&this.resetSelectionState(this.displayValueModel.getDisplayedKeys()),this.selectedKeys.delete(e))}isEverythingVisibleSelected(){return!this.displayValueModel.someDisplayedKey(e=>!this.selectedKeys.has(e))}isNothingVisibleSelected(){return!this.displayValueModel.someDisplayedKey(e=>this.selectedKeys.has(e))}getSelectedModel(){if(!this.hasSelections())return null;const e=this.isAddCurrentSelectionToFilterChecked()?this.params.model?.values:void 0;if(e?.length){if(this.selectedKeys){const t=new Set([...e,...this.selectedKeys]);return Array.from(t)}return Array.from(e)}return Array.from(this.selectedKeys)}setSelectedModel(e){const t=this.handler,a=t.valueModel;return a.allKeys.then(n=>{if(e==null)this.resetSelectionState(n??[]);else{this.selectedKeys.clear();const r=new Map;a.allValues.forEach((o,i)=>{r.set(t.caseFormat(i),i)}),e.forEach(o=>{const i=t.caseFormat(Te(o)),s=r.get(i);s!==void 0&&this.selectedKeys.add(s)})}})}resetSelectionState(e){this.params.defaultToNothingSelected?this.selectedKeys.clear():this.selectedKeys=new Set(e)}getFilterHandler(){return this.handler}destroy(){this.virtualList=this.destroyBean(this.virtualList);for(const e of this.handlerDestroyFuncs??[])e();this.handler=void 0,this.displayValueModel=void 0,this.selectedKeys.clear(),super.destroy()}},JH=class{constructor(e){this.model=e}getRowCount(){return this.model.getDisplayedValueCount()}getRow(e){return this.model.getDisplayedItem(e)}areRowsEqual(e,t){return e===t}},$H=class{constructor(e,t){this.model=e,this.showAddCurrentSelectionToFilter=t}getRowCount(){const t=this.showAddCurrentSelectionToFilter()?2:1;return this.model.getDisplayedValueCount()+t}getRow(e){if(e===0)return this.model.getSelectAllItem();const t=this.showAddCurrentSelectionToFilter(),a=t?2:1;return e===1&&t?this.model.getAddSelectionToFilterItem():this.model.getDisplayedItem(e-a)}areRowsEqual(e,t){return e===t}},e9=class{constructor(e){this.model=e}getRowCount(){return this.model.getRowCount()}getRow(e){return this.model.getRow(e)}areRowsEqual(e,t){return e==null&&t==null?!0:e!=null&&t!=null&&e.treeKey===t.treeKey&&e.depth===t.depth}},t9=class extends F{constructor(e,t,a,n,r){super(),this.createKey=e,this.caseFormat=t,this.getValue=a,this.isTreeDataOrGrouping=n,this.isTreeData=r}extractUniqueValuesAsync(e,t){return new j(a=>{if(this.beans.rowModel.rowCountReady)a(this.extractUniqueValues(e,t));else{const[n]=this.addManagedEventListeners({rowCountReady:()=>{n?.(),a(this.extractUniqueValues(e,t))}})}})}extractUniqueValues(e,t){const a=new Map,n=this.extractExistingFormattedKeys(t),r=new Set,o=this.isTreeData(),i=this.isTreeDataOrGrouping(),s=this.beans.rowGroupColsSvc?.columns,l=this.gos.get("groupAllowUnbalanced"),c=(d,u)=>{const g=this.caseFormat(d);if(!r.has(g)){r.add(g);let h=d,p=Te(u);const f=n?.get(g);f!=null&&(h=f,p=t.get(f)),a.set(h,p)}};return this.beans.rowModel.forEachLeafNode(d=>{if(!d.data||!e(d))return;if(i){this.addValueForTreeDataOrGrouping(d,o,s,c,l);return}const u=this.getValue(d);if(u!=null&&Array.isArray(u)){for(const g of u)c(this.createKey(g,d),g);u.length===0&&c(null,null)}else c(this.createKey(u,d),u)}),a}addValueForTreeDataOrGrouping(e,t,a=[],n,r){let o;if(t){if(e.childrenAfterGroup?.length)return;o=e.getRoute()??[e.key??e.id]}else o=a.map(s=>this.beans.valueSvc.getKeyForNode(s,e)),o.push(this.getValue(e));const i=Hp(o,t,r);n(this.createKey(i),i)}extractExistingFormattedKeys(e){if(!e)return null;const t=new Map;return e.forEach((a,n)=>{t.set(this.caseFormat(n),n)}),t}},a9=class{constructor(e){this.caseFormat=e,this.keys=null}isNull(){return this.keys==null}isEmpty(){return!this.keys?.size}update(e){const t=new Set;this.keys=t;const a=e?.values;if(a){const n=this.caseFormat;for(let r=0,o=a.length;r(e[e.PROVIDED_LIST=0]="PROVIDED_LIST",e[e.PROVIDED_CALLBACK=1]="PROVIDED_CALLBACK",e[e.TAKEN_FROM_GRID_VALUES=2]="TAKEN_FROM_GRID_VALUES",e))(LS||{}),qp=LS,n9=class extends F{constructor(e,t,a,n,r){super(),this.clientSideValuesExtractor=e,this.caseFormat=t,this.createKey=a,this.isTreeDataOrGrouping=n,this.params=r,this.allValues=new Map,this.availableKeys=new Set,this.providedValues=null,this.initialised=!1}postConstruct(){const e=this.params,t=e.handlerParams.filterParams.values;this.updateParams(e),t==null?this.valuesType=2:(this.valuesType=Array.isArray(t)?0:1,this.providedValues=t),this.updateAllValues()}refresh(e){const t=e.handlerParams;if(t.source!=="colDef")return;const{values:a,suppressSorting:n}=t.filterParams,r=this.providedValues,o=this.params.handlerParams.filterParams.suppressSorting;this.params=e,this.updateParams(e),this.providedValues=a??null,(this.providedValues!==r||n!==o)&&(!a||a.length===0?(this.valuesType=2,this.providedValues=null):this.valuesType=Array.isArray(a)?0:1,this.updateAllValues())}updateParams(e){const{handlerParams:{colDef:t,filterParams:{comparator:a,treeList:n,treeListPathGetter:r}},usingComplexObjects:o}=e,i=a??t.comparator,s=this.isTreeDataOrGrouping();let l;s&&!i?l=XH():n&&!r&&!i?l=([c,d],[u,g])=>ni(d,g):l=([c,d],[u,g])=>i(d,g),this.entryComparator=l,this.keyComparator=i??ni,this.compareByValue=!!(o&&i||s||n&&!r)}updateAllValues(){return this.allKeys=new j(e=>{switch(this.valuesType){case 2:this.getValuesFromRowsAsync().then(t=>e(this.processAllValues(t)));break;case 0:{e(this.processAllValues(this.uniqueValues(this.validateProvidedValues(this.providedValues))));break}case 1:{this.dispatchLocalEvent({type:"loadingStart"});const t=this.providedValues,{column:a,colDef:n}=this.params.handlerParams,r=B(this.gos,{success:o=>{this.dispatchLocalEvent({type:"loadingEnd"}),e(this.processAllValues(this.uniqueValues(this.validateProvidedValues(o))))},colDef:n,column:a});window.setTimeout(()=>t(r),0);break}}}),this.allKeys.then(e=>{this.updateAvailableKeys(e??[]),this.initialised=!0}),this.allKeys}getAvailableValues(e){return this.sortKeys(this.getValuesFromRows(e))}overrideValues(e){return this.allKeys.then(()=>{this.valuesType=0,this.providedValues=e})}refreshAvailable(){return new j(e=>{if(this.showAvailableOnly()){this.allKeys.then(t=>{const a=t??[];this.updateAvailableKeys(a),e(!0)});return}e(!1)})}refreshAll(){return new j(e=>{this.allKeys.then(()=>{this.updateAllValues().then(()=>{e()})})})}isLoading(){return!this.initialised&&this.valuesType===1}isInitialised(){return this.initialised}getValueForFormatter(e){return this.initialised?this.allValues.get(e):e}getAvailableKeys(e){return this.initialised?e.filter(t=>this.availableKeys.has(t)):e}getParamsForValuesFromRows(e){if(!this.clientSideValuesExtractor){J(113);return}return e&&!this.params.handlerParams.filterParams.caseSensitive?this.allValues:void 0}getValuesFromRows(e){const t=this.getParamsForValuesFromRows(!0);return this.clientSideValuesExtractor?.extractUniqueValues(e,t)??null}getValuesFromRowsAsync(){const e=this.getParamsForValuesFromRows(!1);return this.clientSideValuesExtractor?.extractUniqueValuesAsync(()=>!0,e)??j.resolve(null)}processAllValues(e){const t=this.sortKeys(e);return this.allValues=e??new Map,t}uniqueValues(e){const t=new Map,a=new Set,{caseFormat:n,createKey:r}=this;for(const o of e??[]){const i=Te(o),s=r(i),l=n(s);a.has(l)||(a.add(l),t.set(s,i))}return t}validateProvidedValues(e){if(this.params.usingComplexObjects&&e?.length){const t=e[0];t&&typeof t!="object"&&typeof t!="function"&&(this.createKey(t)==null?R(209):R(210))}return e}sortKeys(e){const t=e??new Map,a=this.params.handlerParams.filterParams;if(a.suppressSorting)return Array.from(t.keys());let n;return this.compareByValue?n=Array.from(t.entries()).sort(this.entryComparator).map(([r])=>r):n=Array.from(t.keys()).sort(this.keyComparator),a.excelMode&&t.has(null)&&(n=n.filter(r=>r!=null),n.push(null)),n}showAvailableOnly(){return this.valuesType===2}updateAvailableKeys(e){const t=this.showAvailableOnly()?this.getAvailableValues(a=>this.params.handlerParams.doesRowPassOtherFilter(a)):e;this.availableKeys=new Set(t),window.setTimeout(()=>{this.isAlive()&&this.dispatchLocalEvent({type:"availableValuesChanged"})})}},r9=class extends F{constructor(){super(...arguments),this.filterType="set",this.treeDataTreeList=!1,this.groupingTreeList=!1,this.caseSensitive=!1,this.noValueFormatterSupplied=!1}init(e){this.updateParams(e);const t=this.isTreeDataOrGrouping.bind(this),a=()=>this.treeDataTreeList,n=this.createKey,r=this.caseFormat.bind(this),{gos:o,beans:i}=this,s=se(o,i.rowModel)?this.createManagedBean(new t9(n,r,e.getValue,t,a)):void 0,l=this.createManagedBean(new n9(s,r,n,t,{handlerParams:e,usingComplexObjects:!!(e.filterParams.keyCreator??e.colDef.keyCreator)}));this.addManagedListeners(l,{availableValuesChanged:e.onModelAsStringChange}),this.valueModel=l,this.appliedModel=new a9(this.caseFormat.bind(this)),this.appliedModel.update(e.model),this.validateModel(e),this.addEventListenersForDataChanges()}refresh(e){this.updateParams(e),this.valueModel.refresh({handlerParams:e,usingComplexObjects:!!(e.filterParams.keyCreator??e.colDef.keyCreator)}),this.appliedModel.update(e.model),this.validateModel(e)}updateParams(e){this.params=e;const{colDef:t,filterParams:{caseSensitive:a,treeList:n,keyCreator:r,valueFormatter:o}}=e;this.caseSensitive=!!a;const i=!!t.showRowGroup;this.treeDataTreeList=this.gos.get("treeData")&&!!n&&i,this.groupingTreeList=!!this.beans.rowGroupColsSvc?.columns.length&&!!n&&i;const s=r??t.keyCreator;this.createKey=this.generateCreateKey(s,this.isTreeDataOrGrouping()),this.setValueFormatter(o,s,!!n,!!t.refData)}doesFilterPass(e){const{appliedModel:t,treeDataTreeList:a,groupingTreeList:n}=this;if(t.isNull())return!0;if(t.isEmpty())return!1;const{node:r}=e;if(a)return this.doesFilterPassForTreeData(r);if(n)return this.doesFilterPassForGrouping(r);const o=this.params.getValue(r);return o!=null&&Array.isArray(o)?o.length===0?t.has(null):o.some(i=>t.has(this.createKey(i,r))):t.has(this.createKey(o,r))}getFormattedValue(e){let t=this.valueModel.getValueForFormatter(e);this.noValueFormatterSupplied&&this.isTreeDataOrGrouping()&&Array.isArray(t)&&(t=W(t));const a=this.beans.valueSvc.formatValue(this.params.column,null,t,this.valueFormatter,!1);return a??Ze(t)??Nt(this,"blanks")}getModelAsString(e,t){const{values:a}=e??{},n=t==="filterToolPanel";if(a==null)return n?Nt(this,"filterSummaryListInactive"):"";const r=this.valueModel.getAvailableKeys(a),o=r.length,i=n?3:10,s=r.slice(0,i).map(l=>this.getFormattedValue(l));if(n){const l=s.join(Nt(this,"filterSummaryListSeparator"));return o>3?Nt(this,"filterSummaryListLong",[l,String(o-3)]):Nt(this,"filterSummaryListShort",[l])}return`(${o}) ${s.join(",")}${o>10?",...":""}`}onAnyFilterChanged(){window.setTimeout(()=>{this.isAlive()&&this.valueModel.refreshAvailable().then(e=>{this.dispatchLocalEvent({type:"anyFilterChanged",updated:!!e})})})}onNewRowsLoaded(){this.syncAfterDataChange()}setFilterValues(e){this.valueModel.overrideValues(e).then(()=>{this.refreshFilterValues()})}resetFilterValues(){this.valueModel.valuesType=qp.TAKEN_FROM_GRID_VALUES,this.syncAfterDataChange()}refreshFilterValues(e){this.valueModel.isInitialised()&&this.valueModel.refreshAll().then(()=>{this.dispatchLocalEvent({type:"dataChanged",hardRefresh:!0}),this.validateModel(this.params,void 0,!e)})}getFilterKeys(){return Array.from(this.valueModel.allValues.keys())}getFilterValues(){return Array.from(this.valueModel.allValues.values())}isTreeDataOrGrouping(){return this.treeDataTreeList||this.groupingTreeList}caseFormat(e){return e==null||typeof e!="string"||this.caseSensitive?e:e.toUpperCase()}addEventListenersForDataChanges(){this.addManagedPropertyListeners(["groupAllowUnbalanced"],()=>this.syncAfterDataChange());const e=ve(this,this.syncAfterDataChange.bind(this),0);this.addManagedEventListeners({cellValueChanged:t=>{t.column===this.params.column&&e()}})}syncAfterDataChange(){this.isValuesTakenFromGrid()&&this.valueModel.refreshAll().then(()=>{this.dispatchLocalEvent({type:"dataChanged"}),this.validateModel(this.params,{afterDataChange:!0})})}validateModel(e,t,a){const n=this.valueModel;n.allKeys.then(()=>{const r=e.model;if(r==null)return;const o=new Map,i=h=>o.set(this.caseFormat(h),h);if(a)for(const h of n.availableKeys)i(h);else n.allValues.forEach((h,p)=>i(p));const s=[];let l=!1;for(const h of r.values){const p=this.caseFormat(Te(h)),f=o.get(p);f!==void 0?(s.push(f),f!==h&&(l=!0)):l=!0}const c=s.length,d=e.filterParams;if(c===0&&d.excelMode){e.onModelChange(null,t);return}const g=!d.defaultToNothingSelected&&(this.valueModel.valuesType===qp.TAKEN_FROM_GRID_VALUES||!d.suppressClearModelOnRefreshValues)&&c===o.size;if(l||!r.filterType||g){const h=g?null:{filterType:this.filterType,values:s};e.onModelChange(h,t)}})}isValuesTakenFromGrid(){return this.valueModel.valuesType===qp.TAKEN_FROM_GRID_VALUES}doesFilterPassForTreeData(e){if(e.childrenAfterGroup?.length)return!1;const{gos:t,appliedModel:a}=this;return a.has(this.createKey(Hp(e.getRoute()??[e.key??e.id],!0,t.get("groupAllowUnbalanced"))))}doesFilterPassForGrouping(e){const{appliedModel:t,params:a,gos:n,beans:{rowGroupColsSvc:r,valueSvc:o}}=this,i=(r?.columns??[]).map(s=>o.getKeyForNode(s,e));return i.push(a.getValue(e)),t.has(this.createKey(Hp(i,!1,n.get("groupAllowUnbalanced"))))}generateCreateKey(e,t){return t&&!e?(J(250),()=>null):e?(a,n=null)=>{const r=this.getKeyCreatorParams(a,n);return Te(e(r))}:a=>Te(Ze(a))}getKeyCreatorParams(e,t=null){const{colDef:a,column:n}=this.params;return B(this.gos,{value:e,colDef:a,column:n,node:t,data:t?.data})}setValueFormatter(e,t,a,n){let r=e;if(!r){if(t&&!a){J(249);return}this.noValueFormatterSupplied=!0,n||(r=o=>Ze(o.value))}this.valueFormatter=r}getCrossFilterModel(e){const{createKey:t,valueModel:a,params:n}=this;return e(t,a.availableKeys,n.model?.values)}destroy(){this.appliedModel.destroy(),super.destroy(),this.valueModel=void 0}},o9={tag:"div",cls:"ag-floating-filter-input ag-set-floating-filter-input",role:"presentation",children:[{tag:"ag-input-text-field",ref:"eFloatingFilterText"}]},i9=class extends T{constructor(){super(o9,[Gt]),this.eFloatingFilterText=x}init(e){this.params=e,this.eFloatingFilterText.setDisabled(!0).addGuiEventListener("click",()=>this.params.showParentFilter()),this.setParams(e)}setParams(e){const t=this.beans.colNames.getDisplayNameForColumn(e.column,"header",!0),a=this.getLocaleTextFunc();if(this.eFloatingFilterText.setInputAriaLabel(`${t} ${a("ariaFilterInput","Filter Input")}`),this.gos.get("enableFilterHandlers")){const n=e;this.updateFloatingFilterText(n.model)}}refresh(e){this.params=e,this.setParams(e)}onParentModelChanged(e){this.updateFloatingFilterText(e)}parentSetFilterInstance(e){this.params.parentFilterInstance(t=>{if(!(t instanceof IS)){J(248);return}e(t)})}updateFloatingFilterText(e){e==null?this.eFloatingFilterText.setValue(""):this.gos.get("enableFilterHandlers")?this.eFloatingFilterText.setValue(this.params.getHandler().getModelAsString?.(e)??""):this.parentSetFilterInstance(t=>{this.eFloatingFilterText.setValue(t.getModelAsString(e))})}},zS={moduleName:"SetFilter",version:Q,userComponents:{agSetColumnFilter:{classImp:IS,params:{useForm:!0},processParams:e=>(ZH(e),e)},agSetColumnFloatingFilter:i9},dynamicBeans:{agSetColumnFilterHandler:r9},icons:{setFilterGroupClosed:"tree-closed",setFilterGroupOpen:"tree-open",setFilterGroupIndeterminate:"tree-indeterminate",setFilterLoading:"loading"},dependsOn:[le,Ma]},s9=".ag-status-bar{border-top:var(--ag-footer-row-border);display:flex;justify-content:space-between;line-height:1.5;overflow:hidden;padding-left:calc(var(--ag-spacing)*4);padding-right:calc(var(--ag-spacing)*4)}.ag-status-panel,:where(.ag-status-panel.ag-status-panel-aggregations .ag-status-name-value){display:inline-flex}.ag-status-name-value{color:var(--ag-status-bar-label-color);font-weight:var(--ag-status-bar-label-font-weight);margin-left:var(--ag-spacing);margin-right:var(--ag-spacing);padding-bottom:var(--ag-widget-container-vertical-padding);padding-top:var(--ag-widget-container-vertical-padding);white-space:nowrap}.ag-status-name-value-value{color:var(--ag-status-bar-value-color);font-weight:var(--ag-status-bar-value-font-weight)}.ag-status-bar-left{display:inline-flex}.ag-status-bar-center{display:inline-flex;text-align:center}.ag-status-bar-right{display:inline-flex}";function l9(e,t,a){return e.getCompDetails(t,c9,void 0,a,!0)}var c9={name:"statusPanel",optionalMethods:["refresh"]},d9={agAggregationComponent:{rowModels:["clientSide","serverSide"],warnArgs:[221]},agFilteredRowCountComponent:{rowModels:["clientSide"],warnArgs:[222]},agSelectedRowCountComponent:{rowModels:["clientSide","serverSide"],warnArgs:[223]},agTotalAndFilteredRowCountComponent:{rowModels:["clientSide"],warnArgs:[224]},agTotalRowCountComponent:{rowModels:["clientSide"],warnArgs:[225]}},u9={tag:"div",cls:"ag-status-bar",children:[{tag:"div",ref:"eStatusBarLeft",cls:"ag-status-bar-left",role:"status"},{tag:"div",ref:"eStatusBarCenter",cls:"ag-status-bar-center",role:"status"},{tag:"div",ref:"eStatusBarRight",cls:"ag-status-bar-right",role:"status"}]},g9=class extends T{constructor(){super(u9),this.updateQueued=!1,this.panelsPromise=j.resolve(),this.eStatusBarLeft=x,this.eStatusBarCenter=x,this.eStatusBarRight=x,this.compDestroyFunctions={},this.registerCSS(s9)}wireBeans(e){this.userCompFactory=e.userCompFactory,this.statusBarSvc=e.statusBarSvc}postConstruct(){this.processStatusPanels(new Map),this.addManagedPropertyListeners(["statusBar"],this.handleStatusBarChanged.bind(this)),ho(this.beans,this,this.getGui())}getFocusableContainerName(){return"statusBar"}getValidPanels(){const e=this.gos,t=e.get("statusBar")?.statusPanels;return t&&t.filter(a=>{const{rowModels:n,warnArgs:r}=d9[a.statusPanel]??{};return!n||n.includes(e.get("rowModelType"))?!0:(R(...r),!1)})}processStatusPanels(e){const t=this.getValidPanels();if(t){const a=t.filter(o=>o.align==="left"),n=t.filter(o=>o.align==="center"),r=t.filter(o=>!o.align||o.align==="right");this.panelsPromise=j.all([this.createAndRenderComponents(a,this.eStatusBarLeft,e),this.createAndRenderComponents(n,this.eStatusBarCenter,e),this.createAndRenderComponents(r,this.eStatusBarRight,e)])}else this.setDisplayed(!1)}handleStatusBarChanged(){this.updateQueued||(this.updateQueued=!0,this.panelsPromise.then(()=>{this.updateStatusBar(),this.updateQueued=!1}))}updateStatusBar(){const e=this.getValidPanels(),t=Array.isArray(e)&&e.length>0;this.setDisplayed(t);const a=new Map;if(t)for(const n of e){const r=n.key??n.statusPanel,o=this.statusBarSvc.getStatusPanel(r);if(o?.refresh){const i=B(this.gos,{...n.statusPanelParams??{},key:r});o.refresh(i)&&(a.set(r,o),delete this.compDestroyFunctions[r],ue(o.getGui()))}}this.resetStatusBar(),t&&this.processStatusPanels(a)}resetStatusBar(){ee(this.eStatusBarLeft),ee(this.eStatusBarCenter),ee(this.eStatusBarRight),this.destroyComponents(),this.statusBarSvc.unregisterAllComponents()}destroy(){this.destroyComponents(),super.destroy()}destroyComponents(){for(const e of Object.values(this.compDestroyFunctions))e();this.compDestroyFunctions={}}createAndRenderComponents(e,t,a){const n=[];for(const r of e){const o=r.key||r.statusPanel,i=a.get(o);let s;if(i)s=j.resolve(i);else{const l=l9(this.userCompFactory,r,B(this.gos,{key:o}));if(l==null)continue;s=l.newAgStackInstance()}n.push({key:o,promise:s})}return j.all(n.map(r=>r.promise)).then(()=>{for(const r of n)r.promise.then(o=>{const i=()=>{this.destroyBean(o)};this.isAlive()?(this.statusBarSvc.registerStatusPanel(r.key,o),t.appendChild(o.getGui()),this.compDestroyFunctions[r.key]=i):i()})})}},h9={selector:"AG-STATUS-BAR",component:g9},p9={tag:"div",cls:"ag-status-name-value",children:[{tag:"span",ref:"eLabel"},":\xA0",{tag:"span",ref:"eValue",cls:"ag-status-name-value-value"}]},f9=BigInt(Number.MIN_SAFE_INTEGER),m9=BigInt(Number.MAX_SAFE_INTEGER),Fs=class extends T{constructor(){super(p9),this.eLabel=x,this.eValue=x}setLabel(e,t){this.setDisplayed(!1),this.eLabel.textContent=this.getLocaleTextFunc()(e,t)}setValue(e,t){let a=null,n;typeof e=="bigint"?(n=e,e>=f9&&e<=m9&&(a=Number(e))):a=e,this.eValue.textContent=this.valueFormatter(B(this.gos,{value:a,bigintValue:n,totalRows:t,key:this.key}))}},v9={selector:"AG-NAME-VALUE",component:Fs},OS=e=>{let t=0;return e.forEachNodeAfterFilter(a=>{a.data&&t++}),t},Ms=e=>{let t=0;return e.forEachNode(a=>{a.data&&t++}),t};function C9(e,t){return typeof e!="number"?"":dn(Math.round(e*100)/100,t)}var b9={tag:"div",cls:"ag-status-panel ag-status-panel-aggregations",children:[{tag:"ag-name-value",ref:"avgAggregationComp"},{tag:"ag-name-value",ref:"countAggregationComp"},{tag:"ag-name-value",ref:"minAggregationComp"},{tag:"ag-name-value",ref:"maxAggregationComp"},{tag:"ag-name-value",ref:"sumAggregationComp"}]},w9=class extends T{constructor(){super(b9,[v9]),this.sumAggregationComp=x,this.countAggregationComp=x,this.minAggregationComp=x,this.maxAggregationComp=x,this.avgAggregationComp=x}postConstruct(){this.avgAggregationComp.setLabel("avg","Average"),this.countAggregationComp.setLabel("count","Count"),this.minAggregationComp.setLabel("min","Min"),this.maxAggregationComp.setLabel("max","Max"),this.sumAggregationComp.setLabel("sum","Sum"),this.addManagedEventListeners({cellSelectionChanged:this.onCellSelectionChanged.bind(this),modelUpdated:this.onCellSelectionChanged.bind(this)})}init(e){this.refresh(e)}refresh(e){this.params=e;const t=e.valueFormatter??(n=>{const{value:r,bigintValue:o}=n;return o!=null?o.toString():C9(r,this.getLocaleTextFunc.bind(this))}),a=["avg","count","min","max","sum"];for(const n of a){const r=this.getAllowedAggregationValueComponent(n);r&&(r.key=n,r.valueFormatter=t.bind(this))}return this.onCellSelectionChanged(),!0}setAggregationComponentValue(e,t,a){const n=this.getAllowedAggregationValueComponent(e),r=Ms(this.beans.rowModel);A(n)&&n?(n.setValue(t,r),n.setDisplayed(a)):this.getAggregationValueComponent(e)?.setDisplayed(!1)}getAllowedAggregationValueComponent(e){const{aggFuncs:t}=this.params;return!t||t.includes(e)?this.getAggregationValueComponent(e):null}getAggregationValueComponent(e){const t=`${e}AggregationComp`;return this[t]}onCellSelectionChanged(){const e=this.beans,{rangeSvc:t,valueSvc:a}=e,n=t?.getCellRanges();let r=0,o=0n,i=!1,s=!1,l=0,c=0,d=null,u=null,g=null,h=null;const p=P=>{if(typeof P=="number")if(r+=P,(d===null||Pu)&&(u=P),!Number.isInteger(P)||!Number.isSafeInteger(P))s=!0;else{const D=BigInt(P);o+=D,(g===null||Dh)&&(h=D)}else{i=!0,o+=P,(g===null||Ph)&&(h=P);const D=Number(P);r+=D,(d===null||Du)&&(u=D)}c++},f={};if(n?.length&&t)for(let P=0;P{if(I===null)return;const O=ln({rowPinned:I.rowPinned,column:U,rowIndex:I.rowIndex});if(f[O])return;f[O]=!0;const Z=Ge(e,I);if(ie(Z))return;let ae=a.getValue(U,Z,"data");if(!(ie(ae)||ae==="")&&(l++,!(typeof ae=="object"&&"value"in ae&&(ae=ae.value,ae==="")))){if(typeof ae=="string"){const be=ae.trim();if(be==="")return;const pe=Number(be);if(!Number.isFinite(pe))return;r+pe>=Number.MAX_SAFE_INTEGER||r+pe<=Number.MIN_SAFE_INTEGER||pe>=Number.MAX_SAFE_INTEGER||pe<=Number.MIN_SAFE_INTEGER?(ae=et(be),ae===null&&(ae=pe)):ae=pe}(typeof ae=="number"&&!isNaN(ae)||typeof ae=="bigint")&&p(ae)}}),I=$e(e,I)}const m=l>1,v=c>1,C=i&&!s;let b;C?b=o/BigInt(c):b=r/c;const y=v?C?o:r:null,S=v?C?g:d:null,k=v?C?h:u:null,M=v?b:null,E=v;this.setAggregationComponentValue("count",l,m),this.setAggregationComponentValue("sum",y,v),this.setAggregationComponentValue("min",S,v),this.setAggregationComponentValue("max",k,v),this.setAggregationComponentValue("avg",M,E)}},y9=class extends Fs{postConstruct(){this.setLabel("filteredRows","Filtered"),this.addCss("ag-status-panel"),this.addCss("ag-status-panel-filtered-row-count"),this.setDisplayed(!0);const e=this.onDataChanged.bind(this);this.addManagedEventListeners({modelUpdated:e})}onDataChanged(){const{rowModel:e}=this.beans,t=Ms(e),a=OS(e);this.setValue(a,t),this.setDisplayed(t!==a)}init(e){this.refresh(e),this.onDataChanged()}updateValueFormatter(e){this.valueFormatter=e??(({value:t})=>dn(t,this.getLocaleTextFunc.bind(this)))}refresh(e){const{key:t,valueFormatter:a}=e;return this.key=t,this.updateValueFormatter(a),!0}},S9=class extends Fs{postConstruct(){this.setLabel("selectedRows","Selected"),this.addCss("ag-status-panel"),this.addCss("ag-status-panel-selected-row-count");const e=this.onRowSelectionChanged.bind(this);this.addManagedEventListeners({modelUpdated:e,selectionChanged:e})}onRowSelectionChanged(){const{selectionSvc:e,rowModel:t}=this.beans,a=e?.getSelectionCount()??0,n=Ms(t);if(this.setValue(a,n),a<0){this.setDisplayed(!0);return}this.setDisplayed(a>0)}init(e){this.refresh(e),this.onRowSelectionChanged()}updateValueFormatter(e){this.valueFormatter=e??(({value:t})=>t==null||t>=0?dn(t,this.getLocaleTextFunc.bind(this)):this.getLocaleTextFunc()("statusBarLastRowUnknown","?"))}refresh(e){const{key:t,valueFormatter:a}=e;return this.key=t,this.updateValueFormatter(a),!0}},x9=class extends Fs{postConstruct(){this.setLabel("totalAndFilteredRows","Rows"),this.addCss("ag-status-panel"),this.addCss("ag-status-panel-total-and-filtered-row-count"),this.setDisplayed(!0),this.addManagedEventListeners({modelUpdated:this.onDataChanged.bind(this)})}onDataChanged(){const{rowModel:e}=this.beans,t=OS(e),a=Ms(e);this.setValue(t,a)}init(e){this.refresh(e),this.onDataChanged()}updateValueFormatter(e){this.valueFormatter=e??(({value:t,totalRows:a})=>{const n=this.getLocaleTextFunc.bind(this),r=dn(t,n),o=dn(a??t,n);if(t===a)return r;const i=n();return`${r} ${i("of","of")} ${o}`})}refresh(e){const{key:t,valueFormatter:a}=e;return this.key=t,this.updateValueFormatter(a),!0}},k9=class extends Fs{postConstruct(){this.setLabel("totalRows","Total Rows"),this.addCss("ag-status-panel"),this.addCss("ag-status-panel-total-row-count"),this.setDisplayed(!0),this.addManagedEventListeners({modelUpdated:this.onDataChanged.bind(this)})}onDataChanged(){const e=Ms(this.beans.rowModel);this.setValue(e,e)}init(e){this.refresh(e),this.onDataChanged()}updateValueFormatter(e){this.valueFormatter=e??(({value:t})=>dn(t,this.getLocaleTextFunc.bind(this)))}refresh(e){const{key:t,valueFormatter:a}=e;return this.key=t,this.updateValueFormatter(a),!0}};function R9(e,t){const a=e.statusBarSvc?.getStatusPanel(t);return Ua(a)}var F9=class extends F{constructor(){super(),this.beanName="statusBarSvc",this.comps=new Map}registerStatusPanel(e,t){this.comps.set(e,t)}unregisterStatusPanel(e){this.comps.delete(e)}unregisterAllComponents(){this.comps.clear()}getStatusPanel(e){return this.comps.get(e)}destroy(){this.unregisterAllComponents(),super.destroy()}},GS={moduleName:"StatusBar",version:Q,beans:[F9],userComponents:{agAggregationComponent:w9,agTotalRowCountComponent:k9,agFilteredRowCountComponent:y9,agTotalAndFilteredRowCountComponent:x9,agSelectedRowCountComponent:S9},selectors:[h9],apiFunctions:{getStatusPanel:R9},dependsOn:[le,ts]};function VS(e){return e.excelCreator?.getFactoryMode()==="MULTI_SHEET"?(R(161),!1):!0}function M9(e,t){if(VS(e))return e.excelCreator?.getDataAsExcel(t)}function E9(e,t){VS(e)&&e.excelCreator?.exportDataAsExcel(t)}function P9(e,t){return e.excelCreator?.setFactoryMode("MULTI_SHEET"),e.excelCreator?.getSheetDataForExcel(t)}function A9(e,t){return e.excelCreator?.getMultipleSheetsAsExcel(t)}function T9(e,t){e.excelCreator?.exportMultipleSheetsAsExcel(t)}var BS={moduleName:"ExcelExport",version:Q,beans:[JB],apiFunctions:{getDataAsExcel:M9,exportDataAsExcel:E9,getSheetDataForExcel:P9,getMultipleSheetsAsExcel:A9,exportMultipleSheetsAsExcel:T9},dependsOn:[ch,le]};function nd(e){const{filters:t}=e;return t&&t.length>0?t:[{filter:"agTextColumnFilter"},{filter:"agSetColumnFilter"}]}function rd(e,t){if(e!=null)for(let a=e.length-1;a>=0;a--)t(e[a],a)}function D9(e,t){return t.title!=null?t.title:e instanceof Ti?e.getFilterTitle():"Filter"}function od(e,t,a,n){const r=[],o=e?.filterModels;for(let i=0;ii==null)?null:{filterType:"multi",filterModels:r}}function hn(e,t){return e?.filterModels?.[t]??null}function id(e,t,a,n){const r=a.filterValueGetter;return r?e.colFilter.createGetValue(t,r):n}var NS=class extends Er{constructor(){super({tag:"div",cls:"ag-multi-filter ag-menu-list-compact"}),this.filterDefs=[],this.guiDestroyFuncs=[],this.filterGuis=[],this.lastActivatedMenuItem=null}postConstruct(){this.initialiseTabGuard({onFocusIn:e=>this.onFocusIn(e)})}refreshGui(e){return e===this.lastOpenedInContainer?j.resolve():(this.tabGuardFeature.removeAllChildrenExceptTabGuards(),this.destroyChildren(),j.all(this.getFilterWrappers().map((t,a)=>{if(!t)return j.resolve(null);const n=this.getFilterFromWrapper(t),r=this.getCompFromWrapper(t),o=this.filterDefs[a],i=D9(n,o);let s;if(o.display==="subMenu"&&e!=="toolPanel")s=this.insertFilterMenu(r,n,i).then(l=>l.getGui());else if(o.display==="subMenu"||o.display==="accordion"){const l=this.insertFilterGroup(n,r,i);s=j.resolve(l.getGui())}else s=j.resolve(r.getGui());return s})).then(t=>{t.forEach((a,n)=>{a&&(n>0&&this.appendChild(re({tag:"div",cls:"ag-filter-separator"})),this.appendChild(a))}),this.filterGuis=t,this.lastOpenedInContainer=e}))}destroyChildren(){for(const e of this.guiDestroyFuncs)e();this.guiDestroyFuncs.length=0,this.filterGuis.length=0}insertFilterMenu(e,t,a){const n=e.getGui();De(n,"dialog");const r=this.createBean(new Q7),o={getGui:()=>e.getGui(),afterGuiAttached:i=>{e.afterGuiAttached?.(i),e!==t&&t.afterGuiAttached?.(i)}};return r.init({menuItemDef:{name:a,subMenu:[],subMenuRole:"dialog",cssClasses:["ag-multi-filter-menu-item"],menuItem:J0,menuItemParams:{cssClassPrefix:"ag-compact-menu-option",isCompact:!0}},level:0,isAnotherSubMenuOpen:()=>!1,childComponent:o,contextParams:{column:null,node:null,value:null}}).then(()=>{r.setParentComponent(this),this.guiDestroyFuncs.push(()=>this.destroyBean(r)),this.addManagedListeners(r,{menuItemActivated:s=>{this.lastActivatedMenuItem&&this.lastActivatedMenuItem!==s.menuItem&&this.lastActivatedMenuItem.deactivate(),this.lastActivatedMenuItem=s.menuItem}});const i=r.getGui();return r.addManagedElementListeners(i,{keydown:s=>{const{key:l}=s;switch(l){case w.UP:case w.RIGHT:case w.DOWN:case w.LEFT:s.preventDefault(),l===w.RIGHT&&r.openSubMenu(!0);break}},focusin:()=>r.activate(),focusout:()=>{!r.isSubMenuOpen()&&!r.isSubMenuOpening()&&r.deactivate()}}),r})}insertFilterGroup(e,t,a){const n=this.createBean(new Ya({title:a,cssIdentifier:"multi-filter"}));return this.guiDestroyFuncs.push(()=>this.destroyBean(n)),n.addItem(t.getGui()),n.toggleGroupExpand(!1),e.afterGuiAttached&&n.addManagedListeners(n,{expanded:()=>e.afterGuiAttached({container:this.lastOpenedInContainer,suppressFocus:!0,hidePopup:this.hidePopup})}),n}afterGuiAttached(e){let t;e?(this.hidePopup=e.hidePopup,t=this.refreshGui(e.container)):(this.hidePopup=void 0,t=j.resolve());const a=e?.suppressFocus;t.then(()=>{const{filterDefs:n,filterGuis:r,beans:o}=this,i=this.getFilterWrappers();let s=!!a;n&&rd(n,(c,d)=>{const u=d===0,g=c.display&&c.display!=="inline",h=a||!u||g,p={...e??{},suppressFocus:h},f=i[d],m=f?this.getFilterFromWrapper(f):void 0;if(f){const v=this.getCompFromWrapper(f);v!==m&&v.afterGuiAttached(p)}if(m&&(this.executeFunctionIfExistsOnFilter(m,"afterGuiAttached",p),u&&!h&&(s=!0)),!a&&u&&g){const v=r[d];v&&(ze(v)||v.focus({preventScroll:!0}),s=!0)}});const l=ne(o);!s&&(ma(o)||this.getGui().contains(l))&&this.forceFocusOutOfContainer(!0)})}afterGuiDetached(){this.executeFunctionIfExists("afterGuiDetached")}onAnyFilterChanged(){this.executeFunctionIfExists("onAnyFilterChanged",e=>this.executeOnWrapper(e,"onAnyFilterChanged"))}onNewRowsLoaded(){this.executeFunctionIfExists("onNewRowsLoaded",e=>this.executeOnWrapper(e,"onNewRowsLoaded"))}destroy(){this.destroyChildren(),this.hidePopup=void 0,super.destroy()}executeOnWrapper(e,t){}executeFunctionIfExists(e,t){rd(this.getFilterWrappers(),a=>{a&&(t?.(a),this.executeFunctionIfExistsOnFilter(this.getFilterFromWrapper(a),e))})}executeFunctionIfExistsOnFilter(e,t,...a){const n=e[t];typeof n=="function"&&n.apply(e,a)}onFocusIn(e){const t=this.lastActivatedMenuItem;t!=null&&!t.getGui().contains(e.target)&&(t.deactivate(),this.lastActivatedMenuItem=null)}},HS=class extends NS{constructor(){super(...arguments),this.filterType="multi",this.wrappers=[],this.activeFilterIndices=[],this.afterFiltersReadyFuncs=[]}init(e){this.params=e,this.filterDefs=nd(e);const t=We(this.beans.colFilter.model,e.column.getColId()),{filterChangedCallback:a}=e;this.filterChangedCallback=a;const n=this.filterDefs.map((r,o)=>this.createFilter(r,o,t));return new j(r=>{j.all(n).then(o=>{this.wrappers=o,this.refreshGui("columnMenu").then(()=>{r()})})}).then(()=>{for(const r of this.afterFiltersReadyFuncs)r();this.afterFiltersReadyFuncs.length=0})}refresh(e){return this.params=e,!0}isFilterActive(){return this.wrappers.some(e=>{if(!e)return!1;const{filter:t,handler:a,model:n}=e;return a?n!=null:t.isFilterActive()})}getLastActiveFilterIndex(){const e=this.activeFilterIndices;return e.length>0?e[e.length-1]:null}doesFilterPass(e,t){return this.wrappers.every((a,n)=>{if(!a||t!=null&&n===t)return!0;const{handler:r,filter:o,model:i}=a;return r?i==null||r.doesFilterPass({...e,model:i,handlerParams:a.handlerParams}):!o.isFilterActive()||o.doesFilterPass(e)})}getModelFromUi(){return{filterType:this.filterType,filterModels:this.wrappers.map(t=>{if(!t)return null;const a=t.filter;return typeof a.getModelFromUi=="function"?a.getModelFromUi():null})}}getModel(){return this.isFilterActive()?{filterType:this.filterType,filterModels:this.wrappers.map(t=>{if(!t)return null;const{filter:a,handler:n,model:r}=t;return n?r:a.isFilterActive()?a.getModel():null})}:null}setModel(e){const t=(n,r)=>new j(o=>{const i=n.setModel(r);i?i.then(o):o()}),a=[];return this.wrappers.forEach((n,r)=>{if(!n)return;const o=hn(e,r),{filter:i,filterParams:s,handler:l,handlerParams:c,state:d}=n;if(l){const u={model:o,state:d?.state};n.state=u,n.model=o,a.push(wc(()=>j.resolve({filter:i,filterParams:s}),l,c,o,u,"api").then(()=>{this.updateActiveListForHandler(r,n.model)}))}else a.push(t(i,o).then(()=>{this.updateActiveListForFilter(r,i)}))}),j.all(a).then(()=>{})}applyModel(e="api"){let t=!1;for(const a of this.wrappers)if(a){const n=a.filter;n instanceof Ti&&(t=n.applyModel(e)||t)}return t}getChildFilterInstance(e){return this.wrappers[e]?.filter}getNumChildFilters(){return this.wrappers.length}destroy(){for(const e of this.wrappers)this.destroyBean(e?.filter),this.destroyBean(e?.handler);this.wrappers.length=0,super.destroy()}getFilterWrappers(){return this.wrappers}getFilterFromWrapper(e){return e.filter}getCompFromWrapper(e){return e.comp}executeOnWrapper(e,t){e.handler?.[t]?.()}createFilter(e,t,a){const n=this.params.column;let r=null,o;const i=this.beans,s=(h,p)=>{const f=this.wrappers[t];if(!f)return;const m={model:h,state:f.state?.state};f.state=m,f.model=h,wc(()=>j.resolve({filter:f.filter,filterParams:f.filterParams}),f.handler,f.handlerParams,h,m,"ui").then(()=>{this.onHandlerModelChanged(t,f.model,p)})},{compDetails:l,handler:c,handlerParams:d,createFilterUi:u}=i.colFilter.createFilterInstance(n,e,"agTextColumnFilter",(h,p)=>{const f={...h,filterChangedCallback:p?()=>{}:m=>{this.executeWhenAllFiltersReady(()=>this.onFilterModelChanged(t,m))},doesRowPassOtherFilter:m=>h.doesRowPassOtherFilter(m)&&this.doesFilterPass({node:m,data:m.data},t),getValue:id(i,n,e,h.getValue)};return p&&(r=hn(a,t),o=this.updateDisplayParams(f,t,r,()=>l,()=>c,s)),f});if(!u)return j.resolve(null);let g;if(c){const{doesRowPassOtherFilter:h,getValue:p}=d;g={...d,onModelChange:s,doesRowPassOtherFilter:f=>h(f)&&this.doesFilterPass({node:f,data:f.data},t),getValue:id(i,n,e,p)},c.init?.({...g,model:r,source:"init"})}return u().then(h=>{if(!c)return{filter:h,comp:h};const p=l?.params,f=o(h);return{filter:h,comp:f,filterParams:p,handler:c,handlerParams:g,model:r}})}updateDisplayParams(e,t,a,n,r,o){const i=this.params.column,s=new Ta;e.model=a,e.state={model:a},e.onModelChange=o,e.getHandler=r;const l=(d,u)=>{d.state=u,s.dispatchEvent({type:"filterStateChanged",column:i,state:u})};e.onStateChange=d=>{const u=this.wrappers[t];u&&(l(u,d),cs(u.filter,u.filterParams,u.model??null,d,"ui"))};const c=(d,u,g)=>{const h=this.wrappers[t];if(!h)return;const p=()=>h?.model??null;yc({action:u,filterParams:h.filterParams,getFilterUi:()=>{const f=j.resolve(h.filter);return{created:!0,filterParams:h.filterParams,compDetails:n(),create:()=>f,promise:f}},getModel:p,getState:()=>h?.state??{model:p()},updateState:f=>l(h,f),updateModel:f=>h.filterParams?.onModelChange(f,g),processModelToApply:h.handler?.processModelToApply?.bind(h.handler)})};return e.onAction=(d,u,g)=>{c(i,d,u),s.dispatchEvent({type:"filterAction",column:i,action:d,event:g})},d=>{const u=n()?.params;return this.createManagedBean(new xh(i,{comp:d,params:u,isHandler:!0},s,c,!1))}}executeWhenAllFiltersReady(e){(this.wrappers?.length??0)>0?e():this.afterFiltersReadyFuncs.push(e)}updateActiveListForFilter(e,t){this.updateActiveList(e,()=>t?.isFilterActive())}updateActiveListForHandler(e,t){this.updateActiveList(e,()=>t!=null)}updateActiveList(e,t){const a=this.activeFilterIndices;Ae(this.activeFilterIndices,e),t()&&a.push(e)}onFilterModelChanged(e,t){this.updateActiveListForFilter(e,this.wrappers[e]?.filter),this.filterChanged(e,t)}onHandlerModelChanged(e,t,a){this.updateActiveListForHandler(e,t),this.filterChanged(e,a)}filterChanged(e,t){this.filterChangedCallback(t),this.wrappers.forEach((a,n)=>{if(e===n||!a)return;const{filter:r,handler:o}=a;o?.onAnyFilterChanged?.(),typeof r.onAnyFilterChanged=="function"&&r.onAnyFilterChanged()})}getModelAsString(e){if(!e?.filterModels?.length)return"";const t=this.getLastActiveFilterIndex()??0;return this.wrappers[t]?.filter?.getModelAsString?.(e.filterModels[t])??""}},I9=class extends F{constructor(){super(...arguments),this.filterType="multi",this.handlerWrappers=[],this.activeFilterIndices=[],this.filterDefs=[]}init(e){this.params=e;const t=nd(e.filterParams);this.filterDefs=t,t.forEach((a,n)=>{const r=this.beans.colFilter.createHandler(e.column,a,"agTextColumnFilter");if(this.handlerWrappers.push(r),!r){R(278,{colId:e.column.getColId()});return}const{handler:o,handlerParams:i}=r;o.init?.({...this.updateHandlerParams(i,n,!0),model:hn(e.model,n),source:"init"})}),this.resetActiveList(e.model)}refresh(e){this.params=e;const{model:t,source:a,filterParams:n}=e,r=n?.filters;this.handlerWrappers.forEach((o,i)=>{if(o){const s=this.updateHandlerParams(e,i,!1,r?.[i].filterParams);o.handlerParams=s,o.handler.refresh?.({...s,model:hn(t,i),source:a})}}),e.source!=="floating"&&e.source!=="ui"&&this.resetActiveList(e.model),e.additionalEventAttributes?.fromButtons&&this.onAnyFilterChanged()}updateHandlerParams(e,t,a,n){const{onModelChange:r,doesRowPassOtherFilter:o,getValue:i}=e,s={...e,onModelChange:(l,c)=>r(od(this.params.model,this.handlerWrappers.length,l,t),c),doesRowPassOtherFilter:l=>o(l)&&this.doesFilterPass({node:l,data:l.data,model:this.params.model,handlerParams:s},t),getValue:id(this.beans,e.column,this.filterDefs[t],i),filterParams:this.updateFilterParams(e,a,n)};return s}updateFilterParams(e,t,a){const n=e.filterParams;a?.buttons&&t&&R(292,{colId:e.column.getColId()});const r=a?{...n,...a}:n;if(!r.buttons)return r;if(a)return delete r.buttons,r;const{buttons:o,...i}=r;return i}doesFilterPass(e,t){const a=e.model?.filterModels;return a==null?!0:this.handlerWrappers.every((n,r)=>{const o=a[r];if(o==null||t!=null&&r===t)return!0;const i=n?.handler;return!i||i.doesFilterPass({...e,model:o,handlerParams:n.handlerParams})})}resetActiveList(e){this.activeFilterIndices=[];const t=e?.filterModels;if(t!=null)for(let a=0;a0?e[e.length-1]:null}getModelAsString(e,t){const a=t==="filterToolPanel",n=()=>a?this.getLocaleTextFunc()("filterSummaryInactive","is (All)"):"";if(!e?.filterModels?.length)return n();const r=this.getLastActiveFilterIndex()??0;return this.handlerWrappers[r]?.handler.getModelAsString?.(e.filterModels[r],t)??n()}getHandler(e){return this.handlerWrappers[e]?.handler}onAnyFilterChanged(){rd(this.handlerWrappers,e=>e?.handler?.onAnyFilterChanged?.())}onNewRowsLoaded(){rd(this.handlerWrappers,e=>e?.handler?.onNewRowsLoaded?.())}destroy(){for(const e of this.handlerWrappers)this.destroyBean(e?.handler);this.handlerWrappers.length=0,super.destroy()}},L9=class extends F{constructor(){super(...arguments),this.beanName="multiFilter"}getParamsForDataType(e,t,a,n){let r=e?.filters;const o=this.beans;r||(r=[{filter:xc(a.baseDataType)},{filter:"agSetColumnFilter"}]);const i=this.getLocaleTextFunc();return r=r.map(s=>{const{filter:l,filterParams:c,filterValueGetter:d}=s;if(typeof l!="string")return s;const{filterParams:u,filterValueGetter:g}=Sc(l,c,d??t,a,n,o,i);return{...s,filterParams:u,filterValueGetter:g}}),{filterParams:{...e,filters:r}}}},qS=class extends NS{constructor(){super(...arguments),this.filterType="multi",this.filters=[],this.filterParams=[],this.validity=[]}init(e){this.params=e;const t=nd(e).map(n=>{if(n.filterParams?.buttons){R(292,{colId:e.column.getColId()});const r={...n.filterParams};return delete r.buttons,{...n,filterParams:r}}return n});this.filterDefs=t,this.allState=e.state;const a=this.filterDefs.map((n,r)=>this.createFilter(n,r));return new j(n=>{j.all(a).then(r=>{this.filters=r,this.refreshGui("columnMenu").then(()=>{n()})})})}refresh(e){const{model:t,state:a,source:n}=e;if(n==="colDef")return!1;this.params=e;const r=this.filterParams;if(a===this.allState)return!0;this.allState=a;const o=a.state;return this.filters.forEach((i,s)=>{const l=hn(t,s),c={state:o?.[s],model:hn(a.model,s)};cs(i,r[s],l,c,n)}),!0}getLastActiveFilterIndex(){return this.getHandler().getLastActiveFilterIndex?.()??null}getChildFilterInstance(e){return this.filters[e]??void 0}getNumChildFilters(){return this.filters.length}destroy(){for(const e of this.filters)this.destroyBean(e);this.filters.length=0,super.destroy()}getFilterWrappers(){return this.filters}getFilterFromWrapper(e){return e}getCompFromWrapper(e){return e}createFilter(e,t){const a=this.beans.userCompFactory,n=this.updateParams(e,this.params,t),r=fu(a,e,n,"agTextColumnFilter");return r?(this.filterParams[t]=r.params,r.newAgStackInstance()):j.resolve(null)}updateParams(e,t,a){const{doesRowPassOtherFilter:n,model:r,onModelChange:o,state:i,onStateChange:s,column:l,source:c,onAction:d,onUiChange:u,getValue:g}=t,h=hn(r,a),p=i?{model:hn(i.model,a),state:i.state?.[a]}:{model:h},f=()=>{const v=this.getHandler();this.filters.forEach((C,b)=>{a!==b&&(v.getHandler(b)?.onAnyFilterChanged?.(),C?.onAnyFilterChanged?.())})},m=this.beans.colFilter;return{...m.createBaseFilterParams(l),...e,doesRowPassOtherFilter:v=>n(v)&&this.getHandler().doesFilterPass({node:v,data:v.data,model:this.params.model,handlerParams:m.getHandlerParams(l)},a),model:h,state:p,onModelChange:(v,C)=>{const{filters:b,params:y}=this,S=od(y.model,b.length,v,a);this.updateActiveList(a,v),o(S,C),f()},onStateChange:v=>this.onStateChange(s,a,v),getHandler:()=>this.getHandler().getHandler(a),onAction:(v,C,b)=>{if(co(t))return;const y=v==="apply"||v==="reset";y&&this.updateActiveList(a,hn(this.params.state.model,a)),d(v,C,b),y&&f()},onUiChange:u,source:c,getValue:id(this.beans,l,e,g)}}updateActiveList(e,t){this.getHandler().updateActiveList?.(e,t)}getHandler(){return this.params.getHandler()}onStateChange(e,t,a){const{model:n,state:r,valid:o}=a,i=this.validity;i[t]=o;const s=this.allState,l=od(s.model,this.filters.length,n,t),c=i.every(g=>g!==!1),d=[...s.state??[]];d[t]=r;const u={state:d,model:l,valid:c};this.allState=u,e(u)}getModelAsString(e){return this.getHandler().getModelAsString?.(e)??""}},z9={tag:"div",cls:"ag-multi-floating-filter ag-floating-filter-input"},O9=class extends T{constructor(){super(z9),this.floatingFilters=[],this.compDetailsList=[]}init(e){this.params=e;const{compDetailsList:t}=this.getCompDetailsList(e);return this.setParams(t)}setParams(e){const t=[];return e.forEach(a=>{const n=a?.newAgStackInstance();n!=null&&(this.compDetailsList.push(a),t.push(n))}),j.all(t).then(a=>{a.forEach((n,r)=>{this.floatingFilters.push(n);const o=n.getGui();this.appendChild(o),r>0&&G(o,!1)})})}refresh(e){this.params=e;const{compDetailsList:t,floatingFilterParamsList:a}=this.getCompDetailsList(e);if(t.length===this.compDetailsList.length&&t.every((r,o)=>!this.beans.colFilter?.areFilterCompsDifferent(this.compDetailsList[o],r))){if(a.forEach((r,o)=>{this.floatingFilters[o].refresh?.(r)}),this.gos.get("enableFilterHandlers")){const r=e;if(r.model==null)this.floatingFilters.forEach((o,i)=>{G(o.getGui(),i===0)});else{const o=r.getHandler()?.getLastActiveFilterIndex?.();this.floatingFilters.forEach((i,s)=>{const l=o==null?s===0:s===o;G(i.getGui(),l)})}}}else ee(this.getGui()),this.destroyBeans(this.floatingFilters),this.floatingFilters=[],this.compDetailsList=[],this.setParams(t)}getCompDetailsList(e){const t=[],a=[],n=e.filterParams,r=e.currentParentModel,o=nd(n);return o.forEach((i,s)=>{const l={...e,parentFilterInstance:d=>{this.parentMultiFilterInstance(u=>{const g=u.getChildFilterInstance(s);g!=null&&d(g)})},currentParentModel:()=>r()?.filterModels?.[s]??null};if(this.gos.get("enableFilterHandlers")){const d=l;d.model=d.model?.filterModels?.[s]??null;const{onModelChange:u,getHandler:g}=d;d.onModelChange=(h,p)=>u(od(this.params.model,o.length,h,s),p),d.getHandler=()=>g().getHandler(s)}Oe(l.filterParams,i.filterParams);const c=this.getCompDetails(i,l);c&&(t.push(c),a.push(l))}),{compDetailsList:t,floatingFilterParamsList:a}}onParentModelChanged(e,t){t?.afterFloatingFilter||this.parentMultiFilterInstance(a=>{if(e==null)this.floatingFilters.forEach((n,r)=>{n.onParentModelChanged(null,t),G(n.getGui(),r===0)});else{const n=a.getLastActiveFilterIndex();this.floatingFilters.forEach((r,o)=>{const i=e.filterModels.length>o?e.filterModels[o]:null;r.onParentModelChanged(i,t);const s=n==null?o===0:o===n;G(r.getGui(),s)})}})}destroy(){this.destroyBeans(this.floatingFilters),this.floatingFilters.length=0,super.destroy()}getCompDetails(e,t){const{colFilter:a,frameworkOverrides:n,userCompFactory:r}=this.beans,o=Sh(n,e,()=>a.getDefaultFloatingFilter(this.params.column))??"agReadOnlyFloatingFilter";return mu(r,e,t,o)}parentMultiFilterInstance(e){this.params.parentFilterInstance(t=>{t instanceof HS||t instanceof qS||J(120),e(t)})}},WS={moduleName:"MultiFilter",version:Q,userComponents:{agMultiColumnFilter:{getComp:e=>e.gos.get("enableFilterHandlers")?{classImp:qS,params:{useForm:!0}}:HS},agMultiColumnFloatingFilter:O9},beans:[L9],dynamicBeans:{agMultiColumnFilterHandler:I9},dependsOn:[le,Ma,ed]},G9=class extends F{constructor(){super(...arguments),this.beanName="aggColNameSvc"}getHeaderName(e,t){if(this.gos.get("suppressAggFuncInHeader"))return t;const{valueColsSvc:a,colModel:n,rowGroupColsSvc:r}=this.beans,o=e.getColDef().pivotValueColumn,i=A(o);let s=null,l;if(i){const c=a?.columns??[],d=this.gos.get("removePivotHeaderRowWhenSingleValueColumn")&&c.length===1,u=e.getColDef().pivotTotalColumnIds!==void 0;if(d&&!u)return t;s=o?o.getAggFunc():null,l=!0}else{const c=e.isValueActive(),d=r?.columns.length!==0,u=n.isPivotMode()||d||this.gos.get("treeData");c&&u?(s=e.getAggFunc(),l=!0):l=!1}if(l){const c=typeof s=="string"?s:"func";return`${this.getLocaleTextFunc()(c,c)}(${t})`}return t}},V9={sum:"Sum",first:"First",last:"Last",min:"Min",max:"Max",count:"Count",avg:"Average"},B9=class extends F{constructor(){super(...arguments),this.beanName="aggFuncSvc",this.aggFuncsMap={},this.initialised=!1}postConstruct(){this.init()}init(){this.initialised||(this.initialiseWithDefaultAggregations(),this.addAggFuncs(this.gos.get("aggFuncs")))}initialiseWithDefaultAggregations(){const e=this.aggFuncsMap;e.sum=N9,e.first=H9,e.last=q9,e.min=W9,e.max=U9,e.count=_9,e.avg=Y9,this.initialised=!0}isAggFuncPossible(e,t){const n=this.getFuncNames(e).includes(t),r=A(this.aggFuncsMap[t]);return n&&r}getDefaultFuncLabel(e){return V9[e]??e}getDefaultAggFunc(e){const t=e.getColDef().defaultAggFunc;if(A(t)&&this.isAggFuncPossible(e,t))return t;if(this.isAggFuncPossible(e,"sum"))return"sum";const a=this.getFuncNames(e);return a?.length?a[0]:null}addAggFuncs(e){if(this.init(),!!e)for(const t of Object.keys(e))e[t]&&(this.aggFuncsMap[t]=e[t])}getAggFunc(e){return this.init(),this.aggFuncsMap[e]}getFuncNames(e){const t=e.getColDef().allowedAggFuncs;return t??Object.keys(this.aggFuncsMap).sort()}clear(){this.aggFuncsMap={}}};function N9(e){const{values:t}=e;let a=null;for(let n=0;n0?e.values[0]:null}function q9(e){return e.values.length>0?W(e.values):null}function W9(e){const{values:t}=e;let a=null;for(let n=0;nr)&&(a=r)}return a}function U9(e){const{values:t}=e;let a=null;for(let n=0;n0&&(r=a/(typeof a=="number"?n:BigInt(n)));const o=e.rowNode?.aggData?.[e.column?.getColId()];if(o&&o.count===n&&o.value===r)return o;const i=Object.create(K9);return i.count=n,i.value=r,i}var Q9=class extends F{constructor(){super(...arguments),this.beanName="aggChildrenSvc"}getAggregatedChildren(e,t,a){if(!e?.group)return[];if(e.rowPinned&&(e=e.pinnedSibling,!e))return[];const n=this.gos,r=US(e,t,n);if(!a)return r;const o=[];return jS(r,t,n,o),o}},US=(e,t,a)=>{const n=t?.colDef,r=n?.pivotKeys;return r?e.leafGroup&&r.length&&!n.pivotTotalColumnIds?cS(e.childrenMapped,r):e.childrenAfterFilter??e.childrenAfterGroup??[]:kn(a)||a.get("suppressAggFilteredOnly")?e.childrenAfterGroup??[]:e.childrenAfterFilter??e.childrenAfterGroup??[]},jS=(e,t,a,n)=>{for(let r=0,o=e.length;r{dS(k,null,y)})}return}this.hadAgg=!0;const o=a.colModel,i=a.aggFuncSvc,s=t.get("alwaysAggregateAtRootLevel")||!!Rn(t)||o.isPivotMode(),l=!kn(t)&&!t.get("suppressAggFilteredOnly"),c=a.valueSvc,d=a.gridApi,u=a.gridOptions.context,g=r??[],h=g.length,p=e?.kind==="cells"?e:void 0;let f;const m=new Array(h);for(let y=0;y=0&&(f=p),m[y]={column:S,colId:S.colId,colDef:S.colDef,aggFunc:_S(S.getAggFunc(),i,S),colSlot:k}}const v=aq(o,a.pivotResultCols,i),C=h>0?new Array(h):null,b=a.rowModel;Et(b.rootNode,b.hierarchical,e,y=>{if(y.level===-1&&!s){Ho(y,null,o);return}let S;n?S=n({nodes:y.childrenAfterFilter}):C?v?S=tq(y,v,c,d,u):S=eq(y,m,h,C,f,l,c,d,u):S=null,dS(y,S,o)})}},eq=(e,t,a,n,r,o,i,s,l)=>{const c=(o?e.childrenAfterFilter:e.childrenAfterGroup)??[],d=c.length,u=e.data,g=Object.create(null),h=r?r.getSlot(e):-1,p=h>=0?e.aggData:void 0;let f=0;for(let m=0;m=0&&!r.hasCellBySlot(h,v.colSlot)?(n[m]=null,p&&(g[v.colId]=p[v.colId])):(n[m]=new Array(d),++f)}if(f===0)return g;for(let m=0;m{const o=t.length,i=e.leafGroup,s=e.data,l=e.childrenMapped,c=e.childrenAfterFilter??[],d=Object.create(null);let u,g;for(let h=0;h{if(typeof e=="function")return e;if(e==null)return null;const n=t.getAggFunc(e);return typeof n!="function"?(R(109,{inputValue:e.toString(),allSuggestions:t.getFuncNames(a)}),null):n},aq=(e,t,a)=>{if(!e.isPivotActive())return null;const n=t?.getAggregationOrderedList();if(!n||n.length===0)return null;const r=n.length,o=new Array(r);let i=0;for(let s=0;s{const t=e.childrenAfterAggFilter;let a=0;if(t){const r=t.length;a=r;for(let o=0;o=0?null:a;e.setAllChildrenCount(n),e.pinnedSibling?.setAllChildrenCount(n)},this.setAllChildrenCountGridGrouping=e=>{const t=e.childrenAfterAggFilter;let a=0;for(let n=0,r=t.length;n!p.node.group,c=p=>p.node.leafGroup,d=kn(this.gos)||(o?c:l),u=s?this.setAllChildrenCountTreeData:this.setAllChildrenCountGridGrouping,g=(p,f=!1)=>{if(p.childrenAfterFilter){if(p.childrenAfterAggFilter=p.childrenAfterFilter,f){const m=p.childrenAfterAggFilter;for(let v=0,C=m.length;v{p.childrenAfterAggFilter=p.childrenAfterFilter?.filter(f=>d({node:f})&&r.doesRowPassAggregateFilters({rowNode:f})?(g(f,!0),!0):f.childrenAfterAggFilter?.length)||null,p.hasChildren()?u(p):(p.setAllChildrenCount(null),p.pinnedSibling?.setAllChildrenCount(null)),p.sibling&&(p.sibling.childrenAfterAggFilter=p.childrenAfterAggFilter)};Et(t.rootNode,t.hierarchical,e,i?h:g)}};function pn(e,t){if(e.sibling)return;const a=zu(e,t);a.footer=!0,a.setRowTop(null),a.setRowIndex(null),a.oldRowTop=null,a.id="rowGroupFooter_"+e.id,a.sibling=e,e.sibling=a}function Wp(e){const t=e.sibling;t&&(t._destroy(!1),e.sibling=void 0,t.sibling=void 0)}var rq=class extends F{constructor(){super(...arguments),this.beanName="footerSvc"}addTotalRows(e,t,a,n,r,o){let i=e;if(r){const c=n&&Rn(this.gos);return oq(o,c)&&(pn(t,this.beans),a(t.sibling,i++)),i}const s=br(this.gos);return(n&&s({node:t}))===o&&(pn(t,this.beans),a(t.sibling,i++)),i}getTopDisplayIndex(e,t,a,n){let r=t;if(e[0].footer){if(t===0)return 0;r-=1}const o=e[e.length-1],i=r>=a.length;return o.footer&&i?o.rowIndex:n(r)}doesCellShowTotalPrefix(e,t){return!e.footer||!t?.getColDef().showRowGroup?!1:this.gos.get("treeData")?!0:e.level===-1?this.beans.showRowGroupCols?.columns[0]===t:!!e.rowGroupColumn&&t?.isRowGroupDisplayed(e.rowGroupColumn.getId())}applyTotalPrefix(e,t,a,n){const r=n.getColDef().cellRendererParams?.totalValueGetter;if(r){const o=B(this.gos,{column:n,node:a,value:e,formattedValue:t});if(typeof r==="function")return r(o);if(typeof r=="string")return this.beans.expressionSvc?.evaluate(r,o);R(179)}return a.level===-1?this.getLocaleTextFunc()("footerTotal","Total")+" ":this.getTotalValue(t??e)??""}getTotalValue(e){return this.getLocaleTextFunc()("footerTotal","Total")+" "+(e??"")}};function oq(e,t){switch(t){case"top":case"pinnedTop":return e==="top";case"bottom":case"pinnedBottom":return e==="bottom";default:return!1}}var KS=class extends Lc{constructor(){super(...arguments),this.beanName="valueColsSvc",this.eventName="columnValueChanged",this.columnProcessors={set:(e,t,a)=>this.setValueActive(t,e,a),add:(e,t,a)=>this.setValueActive(!0,e,a),remove:(e,t,a)=>this.setValueActive(!1,e,a)},this.columnExtractors={setFlagFunc:(e,t,a)=>this.setColValueActive(e,t,a),getIndexFunc:()=>{},getInitialIndexFunc:()=>{},getValueFunc:e=>{const t=e.aggFunc;if(t===null||t==="")return null;if(t!==void 0)return!!t},getInitialValueFunc:e=>e.initialAggFunc!=null&&e.initialAggFunc!=""},this.modifyColumnsNoEventsCallbacks={addCol:e=>this.columns.push(e),removeCol:e=>Ae(this.columns,e)}}extractCols(e,t){this.columns=super.extractCols(e,t);for(const a of this.columns){const n=a.getColDef();n.aggFunc!=null&&n.aggFunc!=""?this.setColAggFunc(a,n.aggFunc):a.getAggFunc()||this.setColAggFunc(a,n.initialAggFunc)}return this.columns}setColumnAggFunc(e,t,a){if(!e)return;const n=this.colModel.getColDefCol(e);n&&(this.setColAggFunc(n,t),this.dispatchColumnChangedEvent(this.eventSvc,this.eventName,[n],a))}syncColumnWithState(e,t,a){const n=a("aggFunc").value1;n!==void 0&&(typeof n=="string"?(this.setColAggFunc(e,n),e.isValueActive()||(this.setColValueActive(e,!0,t),this.modifyColumnsNoEventsCallbacks.addCol(e))):(A(n)&&R(33),e.isValueActive()&&(this.setColValueActive(e,!1,t),this.modifyColumnsNoEventsCallbacks.removeCol(e))))}setValueActive(e,t,a){if(e!==t.isValueActive()&&(this.setColValueActive(t,e,a),e&&!t.getAggFunc()&&this.aggFuncSvc)){const n=this.aggFuncSvc.getDefaultAggFunc(t);this.setColAggFunc(t,n)}}setColAggFunc(e,t){e.aggFunc=t,e.dispatchStateUpdatedEvent("aggFunc")}setColValueActive(e,t,a){e.aggregationActive!==t&&(e.aggregationActive=t,e.dispatchColEvent("columnValueChanged",a))}},Up={moduleName:"SharedAggregation",version:Q,beans:[B9,G9,rq,KS],apiFunctions:{addAggFuncs:Z9,clearAggFuncs:X9,setColumnAggFunc:J9},dependsOn:[le]},jp={moduleName:"Aggregation",version:Q,beans:[$9,nq,Q9],rowModels:["clientSide"],dependsOn:[Up]},YS=class extends Lc{constructor(){super(...arguments),this.beanName="pivotColsSvc",this.eventName="columnPivotChanged",this.columnProcessors={set:(e,t,a)=>this.setColPivotActive(e,t,a),add:(e,t,a)=>this.setColPivotActive(e,!0,a),remove:(e,t,a)=>this.setColPivotActive(e,!1,a)},this.columnOrdering={enableProp:"pivot",initialEnableProp:"initialPivot",indexProp:"pivotIndex",initialIndexProp:"initialPivotIndex"},this.columnExtractors={setFlagFunc:(e,t,a)=>this.setColPivotActive(e,t,a),getIndexFunc:e=>e.pivotIndex,getInitialIndexFunc:e=>e.initialPivotIndex,getValueFunc:e=>e.pivot,getInitialValueFunc:e=>e.initialPivot},this.modifyColumnsNoEventsCallbacks={addCol:e=>{this.columns.includes(e)||this.columns.push(e)},removeCol:e=>Ae(this.columns,e)}}syncColumnWithState(e,t,a,n){const{value1:r,value2:o}=a("pivot","pivotIndex");(r!==void 0||o!==void 0)&&(typeof o=="number"||r?(e.isPivotActive()||(this.setColPivotActive(e,!0,t),this.modifyColumnsNoEventsCallbacks.addCol(e)),n&&typeof o=="number"&&(n[e.getId()]=o)):e.isPivotActive()&&(this.setColPivotActive(e,!1,t),this.modifyColumnsNoEventsCallbacks.removeCol(e)))}setColPivotActive(e,t,a){e.pivotActive!==t&&(e.pivotActive=t,t&&this.beans.groupHierarchyColSvc?.insertVirtualColumnsForCol(this.columns,e)?.forEach(r=>this.setColPivotActive(r,t,a)),e.dispatchColEvent("columnPivotChanged",a)),e.dispatchStateUpdatedEvent("pivot")}},iq=class extends Lc{constructor(){super(...arguments),this.beanName="rowGroupColsSvc",this.eventName="columnRowGroupChanged",this.columnProcessors={set:(e,t,a)=>this.setActive(t,e,a),add:(e,t,a)=>this.setActive(!0,e,a),remove:(e,t,a)=>this.setActive(!1,e,a)},this.columnOrdering={enableProp:"rowGroup",initialEnableProp:"initialRowGroup",indexProp:"rowGroupIndex",initialIndexProp:"initialRowGroupIndex"},this.columnExtractors={setFlagFunc:(e,t,a)=>this.setColRowGroupActive(e,t,a),getIndexFunc:e=>e.rowGroupIndex,getInitialIndexFunc:e=>e.initialRowGroupIndex,getValueFunc:e=>e.rowGroup,getInitialValueFunc:e=>e.initialRowGroup},this.modifyColumnsNoEventsCallbacks={addCol:e=>{this.columns.includes(e)||this.columns.push(e)},removeCol:e=>Ae(this.columns,e)}}moveColumn(e,t,a){if(this.columns.length===0)return;const n=this.columns[e],r=this.columns.slice(e,t);this.columns.splice(e,1),this.columns.splice(t,0,n),this.updateIndexMap(),this.eventSvc.dispatchEvent({type:this.eventName,columns:r,column:r.length===1?r[0]:null,source:a})}syncColumnWithState(e,t,a,n){const{value1:r,value2:o}=a("rowGroup","rowGroupIndex");(r!==void 0||o!==void 0)&&(typeof o=="number"||r?(e.isRowGroupActive()||(this.setColRowGroupActive(e,!0,t),this.modifyColumnsNoEventsCallbacks.addCol(e)),n&&typeof o=="number"&&(n[e.getId()]=o)):e.isRowGroupActive()&&(this.setColRowGroupActive(e,!1,t),this.modifyColumnsNoEventsCallbacks.removeCol(e)))}setActive(e,t,a){if(e===t.isRowGroupActive())return;this.setColRowGroupActive(t,e,a);const n=this.beans.groupHierarchyColSvc?.getColumn(t);ru(this.gos,e)&&!n&&this.colModel.setColsVisible([t],!e,a)}setColRowGroupActive(e,t,a){e.rowGroupActive!==t&&(e.rowGroupActive=t,t&&this.beans.groupHierarchyColSvc?.insertVirtualColumnsForCol(this.columns,e)?.forEach(r=>this.setColRowGroupActive(r,t,a)),e.dispatchColEvent("columnRowGroupChanged",a)),e.dispatchStateUpdatedEvent("rowGroup")}},sq=class extends F{constructor(){super(...arguments),this.beanName="autoColSvc"}postConstruct(){this.addManagedPropertyListener("autoGroupColumnDef",this.updateColumns.bind(this)),this.setupGroupHideColumnsUntilExpanded()}setupGroupHideColumnsUntilExpanded(){const e=()=>this.updateGroupColumnVisibility();this.addManagedEventListeners({modelUpdated:e}),this.addManagedPropertyListeners(["groupHideColumnsUntilExpanded","groupDisplayType","groupHideOpenParents"],e)}addColumns(e){const{columns:t}=this;t!=null&&(e.list=t.list.concat(e.list),e.tree=t.tree.concat(e.tree),Ei(e))}createColumns(e,t,a){const n=this.beans,{colModel:r,gos:o,rowGroupColsSvc:i,colGroupSvc:s}=n,l=r.isPivotMode(),c=ul(o,l),d=l?o.get("pivotSuppressAutoColumn"):this.isSuppressAutoCol(),u=i?.columns,h=!(u&&u.length>0||o.get("treeData"))||d||c,p=()=>{this.columns&&(oa(n,this.columns.tree),this.columns=null)};if(h){p();return}const f=this.generateAutoCols(u),m=Mi(f,this.columns?.list||null),v=e.treeDepth,b=(this.columns?this.columns.treeDepth:-1)==v;if(m&&b){const M=new Map(f.map(E=>[E.getId(),E]));for(const E of this.columns?.list??[]){const P=M.get(E.getId());P&&E.setColDef(P.getColDef(),null,a)}return}p();const y=s?.findDepth(e.tree)??0,S=s?.balanceTreeForAutoCols(f,y)??[];this.columns={list:f,tree:S,treeDepth:y,map:{}},t(M=>{if(!M)return null;const E=M.filter(P=>!Sr(P));return[...f,...E]})}updateColumns(e){const t=Oa(e.source);this.columns?.list.forEach((a,n)=>this.updateOneAutoCol(a,n,t))}getColumn(e){return this.columns?.list.find(t=>on(t,e))??null}getColumns(){return this.columns?.list??null}generateAutoCols(e=[]){const t=[],{gos:a}=this,n=a.get("treeData");let r=yi(a);return n&&r&&(R(182),r=!1),r?e.forEach((o,i)=>{t.push(this.createOneAutoCol(o,i))}):t.push(this.createOneAutoCol()),t}isSuppressAutoCol(){const e=this.gos;return e.get("groupDisplayType")==="custom"?!0:e.get("treeDataDisplayType")==="custom"}createOneAutoCol(e,t){let a;e?a=`${jt}-${e.getId()}`:a=jt;const n=this.createAutoColDef(a,e,t);n.colId=a;const r=new na(n,null,a,!0);return this.createBean(r),r}updateOneAutoCol(e,t,a){const n=e.getColDef(),r=typeof n.showRowGroup=="string"?n.showRowGroup:void 0,o=this.beans,i=r!=null?o.colModel.getColDefCol(r):void 0,s=e.getId(),l=this.createAutoColDef(s,i??void 0,t);e.setColDef(l,null,a),Ye(o,{state:[yl(l,s)]},a)}createAutoColDef(e,t,a){let n=this.createBaseColDef(t);const r=this.gos.get("autoGroupColumnDef");Oe(n,r),n=Pn(this.beans,n,e,!0),r?.groupRowEditable==null&&(n.groupRowEditable=void 0),r?.groupRowValueSetter==null&&(n.groupRowValueSetter=void 0),this.gos.get("treeData")||ie(n.field)&&ie(n.valueGetter)&&ie(n.filterValueGetter)&&n.filter!=="agGroupColumnFilter"&&(n.filter=!1),a&&a>0&&(n.headerCheckboxSelection=!1);const o=ba(this.gos),i=n.valueGetter||n.field!=null;return o&&!i&&(n.sortIndex=void 0,n.initialSort=void 0),n}createBaseColDef(e){const t=this.gos.get("autoGroupColumnDef"),n={headerName:this.getLocaleTextFunc()("group","Group"),showRowGroup:e?.getColId()??!0};return t&&(t.cellRenderer||t.cellRendererSelector)||(n.cellRenderer="agGroupCellRenderer"),e&&(n.headerName=this.beans.colNames.getDisplayNameForColumn(e,"header")??void 0,n.headerValueGetter=e.colDef.headerValueGetter),n}getDeepestExpandedLevel(e,t){let a=-1;if(!e)return a;for(const n of e){if(!n.group||!n.expanded)continue;if(n.level>a&&(a=n.level),a>=t)return a;const r=this.getDeepestExpandedLevel(n.childrenAfterGroup,t);if(r>a&&(a=r),a>=t)return a}return a}updateGroupColumnVisibility(){const e=this.columns?.list;if(!e||e.length===0)return;const{gos:t,visibleCols:a,rowModel:n}=this.beans,r=au(t);let o=!1;const i=(l,c)=>{c!==l.isVisible()&&(l.setVisible(c,"api"),o=!0)},s=()=>{for(const l of e)i(l,!0)};if(!r)s();else if(e.length>1){const l=e.length-2,c=n?.rootNode?.childrenAfterGroup,d=this.getDeepestExpandedLevel(c,l);if(d>=l)s();else for(let u=0;u=u)}o&&a.refresh("api")}destroy(){oa(this.beans,this.columns?.tree),super.destroy()}},_p=null,QS=e=>{const t=_p,a=new Uint32Array(1<<32-Math.clz32(e|63));return t&&a.set(t),_p=a,a},lq=(e,t,a,n)=>{const r=t-n,o=a-1;if(r===1){let c=0;for(;e[c].level===o;)++c;if(c0){const d=e[c];e.copyWithin(1,0,c),e[0]=d}return e}const i=new Array(r);let s=0,l=0;for(let c=0;c{let a=e[0].level+1,n=a,r=0,o=a,i=_p;(!i||a>=i.length)&&(i=QS(a)),++i[a];for(let u=1;ua?(a=g,a>=i.length&&(i=QS(a))):g=0)return i.fill(0,n,a+1),e;const s=i[n],l=i[a];if(s+l===t)return i[n]=0,i[a]=0,lq(e,t,a,l);let c=0;for(let u=a;u>=n;--u){const g=i[u];i[u]=c,c+=g}const d=new Array(t);for(let u=0;u{if(t===2){if(e[0].level