@economic/taco 2.23.0 → 2.25.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Card/Card.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +2 -0
- package/dist/components/Provider/Localization.d.ts +6 -0
- package/dist/components/Report/Report.d.ts +2 -2
- package/dist/components/Report/components/Body/Body.d.ts +0 -1
- package/dist/components/Report/components/Footer/Summary.d.ts +0 -1
- package/dist/components/Report/components/Header/Header.d.ts +3 -0
- package/dist/components/Report/components/Header/components/Menu.d.ts +3 -0
- package/dist/components/Report/components/Toolbar/components/Filters/components/Filter.d.ts +2 -2
- package/dist/components/Report/components/Toolbar/components/Filters/components/FilterColumn.d.ts +5 -2
- package/dist/components/Report/components/Toolbar/components/Filters/util.d.ts +2 -0
- package/dist/components/Report/types.d.ts +2 -2
- package/dist/components/Report/useReport.d.ts +0 -1
- package/dist/components/Select2/Select2.d.ts +22 -0
- package/dist/components/Select2/hooks/useChildren.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +1 -1
- package/dist/components/Table/components/BaseTable.d.ts +1 -1
- package/dist/components/Table/hooks/useRowCreation.d.ts +2 -2
- package/dist/components/Table/hooks/useTable.d.ts +5 -5
- package/dist/components/Table/hooks/useTableKeyboardNavigation.d.ts +2 -2
- package/dist/components/Table/types.d.ts +37 -37
- package/dist/components/Table/util/sortTypes.d.ts +2 -2
- package/dist/components/Table/util.d.ts +4 -4
- package/dist/components/Table3/components/toolbar/Filter/filters/components/Filter.d.ts +2 -2
- package/dist/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.d.ts +5 -2
- package/dist/components/Table3/hooks/useTable.d.ts +8 -8
- package/dist/components/Table3/types.d.ts +2 -0
- package/dist/esm/index.css +55 -46
- package/dist/esm/packages/taco/src/components/Button/util.js +8 -8
- package/dist/esm/packages/taco/src/components/Button/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Card/Card.js +2 -1
- package/dist/esm/packages/taco/src/components/Card/Card.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js +11 -2
- package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Listbox/ScrollableList.js +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js +12 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Provider/Localization.js +7 -1
- package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/Report.js +3 -8
- package/dist/esm/packages/taco/src/components/Report/Report.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js +4 -3
- package/dist/esm/packages/taco/src/components/Report/components/Body/Body.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/Cell.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/GroupedCell.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Cell/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Footer/Footer.js +14 -2
- package/dist/esm/packages/taco/src/components/Report/components/Footer/Footer.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js +3 -3
- package/dist/esm/packages/taco/src/components/Report/components/Footer/Summary.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js +18 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/Header.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js +10 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/components/Menu.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/util.js +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Header/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js +47 -11
- package/dist/esm/packages/taco/src/components/Report/components/Internal/Selection.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js +13 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/Filters.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js +44 -51
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js +14 -7
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Filter.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js +4 -3
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterColumn.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js +11 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/util.js +4 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js +10 -8
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Print/Print.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js +1 -1
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Settings/Settings.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js +2 -2
- package/dist/esm/packages/taco/src/components/Report/listeners/useTableRowActiveListener.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js +8 -5
- package/dist/esm/packages/taco/src/components/Report/styles/useCssGridStylesheet.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/useReport.js +3 -3
- package/dist/esm/packages/taco/src/components/Report/useReport.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js +3 -10
- package/dist/esm/packages/taco/src/components/Report/util/useTableGlobalShortcuts.js.map +1 -1
- package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js +2 -1
- package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/Select2.js +43 -4
- package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js +1 -1
- package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/components/PaginatedTable.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/components/Table.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/useRowCreation.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/useTable.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/useTableKeyboardNavigation.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/util/renderRow.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/util/sortTypes.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/Table3.js +4 -6
- package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/footer/Summary.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js +66 -14
- package/dist/esm/packages/taco/src/components/Table3/components/columns/internal/Selection.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/columns/styles.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/ColumnSettings.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js +27 -44
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/Filters.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js +14 -7
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Filter.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js +4 -3
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterColumn.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/FilterComparator.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js +2 -0
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintButton.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/PrintButton/PrintIFrame.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/features/useSettings.js +1 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js +3 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/listeners/useSettingsStateListener.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js +26 -19
- package/dist/esm/packages/taco/src/components/Table3/hooks/useTable.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/types.js.map +1 -1
- package/dist/esm/packages/taco/src/hooks/useLocalStorage.js.map +1 -1
- package/dist/esm/packages/taco/src/index.js +1 -1
- package/dist/esm/packages/taco/src/primitives/Button.js +1 -0
- package/dist/esm/packages/taco/src/primitives/Button.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnFreezing.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnOrdering.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFontSize.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFooter.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTablePrinting.js +36 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTablePrinting.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRef.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActions.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowClick.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowExpansion.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGoto.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGroups.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowHeight.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowSelection.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSearch.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableServerLoading.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableSettings.js +1 -2
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSettings.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableDataListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFilterListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFontSizeListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowHeightListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowSelectionListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSearchListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableServerLoadingListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableSettingsListener.js +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSortingListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/{useTable/useTable.js → useTableManager/useTableManager.js} +10 -8
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/columns.js +33 -7
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/columns.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/filtering.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/search.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/settings.js +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/sorting.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/dom.js +12 -3
- package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
- package/dist/esm/packages/taco/src/utils/keyboard.js +2 -2
- package/dist/esm/packages/taco/src/utils/keyboard.js.map +1 -1
- package/dist/hooks/useLocalStorage.d.ts +2 -1
- package/dist/index.css +55 -46
- package/dist/primitives/Table/types.d.ts +5 -18
- package/dist/primitives/Table/useTableManager/features/useTablePrinting.d.ts +15 -0
- package/dist/primitives/Table/useTableManager/types.d.ts +13 -0
- package/dist/primitives/Table/{useTable/useTable.d.ts → useTableManager/useTableManager.d.ts} +4 -3
- package/dist/primitives/Table/useTableManager/util/presets.d.ts +2 -0
- package/dist/primitives/Table/{useTable → useTableManager}/util/settings.d.ts +0 -1
- package/dist/primitives/Table/{useTable → useTableManager}/util/setup.d.ts +5 -4
- package/dist/taco.cjs.development.js +603 -408
- package/dist/taco.cjs.development.js.map +1 -1
- package/dist/taco.cjs.production.min.js +1 -1
- package/dist/taco.cjs.production.min.js.map +1 -1
- package/dist/utils/dom.d.ts +3 -1
- package/package.json +2 -2
- package/types.json +10314 -9345
- package/dist/components/Report/components/Toolbar/components/Filters/components/Placeholder.d.ts +0 -12
- package/dist/components/Table3/components/toolbar/Filter/filters/components/Placeholder.d.ts +0 -12
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Placeholder.js +0 -41
- package/dist/esm/packages/taco/src/components/Report/components/Toolbar/components/Filters/components/Placeholder.js.map +0 -1
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Placeholder.js +0 -41
- package/dist/esm/packages/taco/src/components/Table3/components/toolbar/Filter/filters/components/Placeholder.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableColumnFreezing.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableColumnOrdering.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableFontSize.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableFooter.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTablePrinting.js +0 -16
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTablePrinting.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRef.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActions.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowActive.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowClick.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowExpansion.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGoto.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowGroups.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowHeight.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableRowSelection.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableSearch.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableServerLoading.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/features/useTableSettings.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableDataListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableFilterListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableFontSizeListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableRowHeightListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableRowSelectionListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSearchListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableServerLoadingListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSettingsListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableShortcutsListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/listeners/useTableSortingListener.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/useTable.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/columns.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/filtering.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/presets.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/search.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/settings.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/setup.js.map +0 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTable/util/sorting.js.map +0 -1
- package/dist/primitives/Table/useTable/features/useTablePrinting.d.ts +0 -8
- package/dist/primitives/Table/useTable/util/presets.d.ts +0 -2
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableColumnFreezing.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableColumnOrdering.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableFontSize.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableFooter.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRef.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowActions.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowActive.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowClick.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowExpansion.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowGoto.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowGroups.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowHeight.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableRowSelection.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableSearch.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/features/useTableServerLoading.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableDataListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableFilterListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableFontSizeListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableRowHeightListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableRowSelectionListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableSearchListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableServerLoadingListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableShortcutsListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/listeners/useTableSortingListener.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/filtering.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/presets.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/search.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/setup.js +0 -0
- /package/dist/esm/packages/taco/src/primitives/Table/{useTable → useTableManager}/util/sorting.js +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableColumnFreezing.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableColumnOrdering.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableFontSize.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableFooter.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRef.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowActions.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowActive.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowClick.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowExpansion.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowGoto.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowGroups.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowHeight.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableRowSelection.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableSearch.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableServerLoading.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/features/useTableSettings.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableDataListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableFilterListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableFontSizeListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableRowHeightListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableRowSelectionListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableSearchListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableServerLoadingListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableSettingsListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableShortcutsListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/listeners/useTableSortingListener.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/util/columns.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/util/columns.spec.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/util/filtering.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/util/search.d.ts +0 -0
- /package/dist/primitives/Table/{useTable → useTableManager}/util/sorting.d.ts +0 -0
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),n=e(t),l=e(require("clsx")),a=require("@radix-ui/react-alert-dialog"),r=require("@radix-ui/react-accordion"),o=require("@radix-ui/react-tooltip"),i=e(require("react-day-picker")),s=require("@radix-ui/react-checkbox"),c=require("uuid"),u=require("@radix-ui/react-popover"),d=e(require("lodash/debounce")),m=require("date-fns"),g=require("@radix-ui/react-dialog"),f=require("@react-aria/interactions"),h=require("framer-motion"),v=require("@react-aria/focus"),p=require("@radix-ui/react-scroll-area"),w=require("@radix-ui/react-use-controllable-state"),b=require("@radix-ui/react-hover-card"),E=require("@radix-ui/react-dropdown-menu"),x=require("@radix-ui/react-radio-group"),y=require("@radix-ui/react-switch"),z=require("@radix-ui/react-portal"),R=require("@tanstack/react-table"),C=require("@dnd-kit/core"),S=require("@dnd-kit/sortable"),N=require("@dnd-kit/utilities"),O=require("@tanstack/react-virtual"),A=require("react-intersection-observer"),I=require("react-table"),L=require("react-window"),H=e(require("react-window-infinite-loader")),M=e(require("lodash/set")),k=e(require("lodash/unset")),V=e(require("lodash/get")),j=e(require("lodash/compact")),T=e(require("lodash/pullAt")),D=e(require("react-dom")),F=e(require("lodash")),P=require("react-virtual"),B=require("@radix-ui/react-tabs"),_=require("react-joyride"),G=e(_);const q=["green","yellow","red","blue","purple","brown","pink","orange","grey","transparent"],$=e=>{switch(e){case"information":return"blue";case"warning":return"yellow";case"error":return"red";case"success":return"green";default:return"grey"}},K=e=>{switch(e){case"green":return"border-green-700 text-green-700";case"yellow":return"border-yellow-700 text-yellow-700";case"red":return"border-red-500 text-red-500";case"blue":return"border-blue-500 text-blue-500";case"purple":return"border-purple-700 text-purple-700";case"brown":return"border-brown-700 text-brown-700";case"pink":return"border-pink-700 text-pink-700";case"orange":return"border-orange-700 text-orange-700";case"transparent":case"grey":default:return"border-grey-700 text-grey-700"}},U=e=>{switch(e){case"green":return"wcag-green-100";case"yellow":return"wcag-yellow-100";case"red":return"wcag-red-100";case"blue":return"wcag-blue-100";case"purple":return"wcag-purple-100";case"brown":return"wcag-brown-100";case"pink":return"wcag-pink-100";case"orange":return"wcag-orange-100";case"transparent":return"wcag-transparent";case"grey":default:return"wcag-grey-200"}},W=e=>{switch(e){case"green":return"wcag-green-700";case"yellow":return"wcag-yellow-500";case"red":return"wcag-red-500";case"blue":return"wcag-blue-500";case"purple":return"wcag-purple-700";case"brown":return"wcag-brown-700";case"pink":return"wcag-pink-500";case"orange":return"wcag-orange-700";case"transparent":return"wcag-transparent";case"grey":default:return"wcag-grey-700"}};function J(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75V11h-1.5V4.75a.25.25 0 00-.193-.243L19.25 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75v14.5a.25.25 0 00.193.243l.057.007H11V21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-4.5 7.25a4.5 4.5 0 013.632 7.158l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.5 4.5 0 11-2.495-8.245zm0 1.5a3 3 0 100 6 3 3 0 000-6zm-7 3.25a.75.75 0 110 1.5h-.5a.75.75 0 110-1.5h.5zm0-4a.75.75 0 110 1.5h-.5a.75.75 0 110-1.5h.5zm9-4a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5zm-9 0a.75.75 0 010 1.5h-.5a.75.75 0 010-1.5h.5z",fill:"currentColor",fillRule:"evenodd"}))}function Y(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M4.5 16.25v3a.25.25 0 00.193.243l.057.007H13V21H4.75A1.75 1.75 0 013 19.25v-3h1.5zm4.946-6.103l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.718-1.72H3.75a.75.75 0 01-.102-1.493L3.75 13h6.44l-1.72-1.72a.75.75 0 01-.073-.976l.073-.084a.75.75 0 01.976-.073zM16.25 2a.75.75 0 01.75.75V3h2.25c.966 0 1.75.784 1.75 1.75V13h-1.5V8h-15v3.25H3v-6.5C3 3.784 3.784 3 4.75 3H7v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zM7 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75V6.5h15V4.75a.25.25 0 00-.193-.243L19.25 4.5H17v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5zm12.804 10.147a.75.75 0 011.049 1.05l-.073.083-1.969 1.97 1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073-1.97-1.969-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083 1.969-1.97-1.97-1.97a.75.75 0 01.977-1.133l.084.073 1.97 1.969 1.97-1.97.084-.072z",fill:"currentColor",fillRule:"evenodd"}))}function Q(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 2a.75.75 0 01.75.75V3h2.25c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25v-3h1.5v3a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V8h-15v3.25H3v-6.5C3 3.784 3.784 3 4.75 3H7v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zm-6.804 8.147l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H3.75a.75.75 0 01-.102-1.493L3.75 13h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM7 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75V6.5h15V4.75a.25.25 0 00-.193-.243L19.25 4.5H17v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5z",fill:"currentColor",fillRule:"evenodd"}))}function X(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h12.5zM13 17.5H6.5a.5.5 0 00-.492.41L6 18v1.5a.5.5 0 00.41.492L6.5 20H13a.5.5 0 00.492-.41l.008-.09V18a.5.5 0 00-.41-.492L13 17.5zm4.5 0h-2a.5.5 0 00-.492.41L15 18v1.5a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L18 19.5V18a.5.5 0 00-.41-.492l-.09-.008zm-9-3.5h-2a.5.5 0 00-.492.41L6 14.5V16a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L9 16v-1.5a.5.5 0 00-.41-.492L8.5 14zm9 0h-2a.5.5 0 00-.492.41L15 14.5V16a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L18 16v-1.5a.5.5 0 00-.41-.492L17.5 14zM13 14h-2a.5.5 0 00-.492.41l-.008.09V16a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L13.5 16v-1.5a.5.5 0 00-.41-.492L13 14zm-4.5-3.5h-2a.5.5 0 00-.492.41L6 11v1.5a.5.5 0 00.41.492L6.5 13h2a.5.5 0 00.492-.41L9 12.5V11a.5.5 0 00-.41-.492L8.5 10.5zm9 0h-2a.5.5 0 00-.492.41L15 11v1.5a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L18 12.5V11a.5.5 0 00-.41-.492l-.09-.008zm-4.5 0h-2a.5.5 0 00-.492.41L10.5 11v1.5a.5.5 0 00.41.492L11 13h2a.5.5 0 00.492-.41l.008-.09V11a.5.5 0 00-.41-.492L13 10.5zM17.5 4h-11a.5.5 0 00-.492.41L6 4.5V8a.5.5 0 00.41.492l.09.008h11a.5.5 0 00.492-.41L18 8V4.5a.5.5 0 00-.41-.492L17.5 4zm-1 1a.5.5 0 01.5.5V7a.5.5 0 01-.5.5h-1A.5.5 0 0115 7V5.5a.5.5 0 01.5-.5h1z",fill:"currentColor",fillRule:"evenodd"}))}function Z(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.823 2.122a.188.188 0 01.352 0l.874 2.364c.02.051.06.092.111.11l2.364.875a.188.188 0 010 .352l-2.364.875a.188.188 0 00-.11.11l-.875 2.364a.188.188 0 01-.352 0l-.875-2.364a.187.187 0 00-.11-.11l-2.364-.875a.188.188 0 010-.352l2.364-.874a.187.187 0 00.11-.111l.875-2.364zm1.667 7a.188.188 0 01.351 0l.515 1.39a.19.19 0 00.11.112l1.39.514a.188.188 0 010 .352l-1.39.514a.188.188 0 00-.11.111l-.515 1.39a.187.187 0 01-.351 0l-.515-1.39a.187.187 0 00-.11-.11l-1.391-.515a.188.188 0 010-.352l1.39-.514a.187.187 0 00.111-.111l.515-1.39zm-5.363-2.36c-.889-.328-1.014-1.455-.374-2.008a12.291 12.291 0 00-3.864-.606C5.979 4.148 2 6.884 2 10.26c0 2.393 1.999 4.463 4.91 5.467L4.513 19.99a.556.556 0 00.832.706l5.406-4.325.426-.003c3.493-.076 6.477-1.538 7.829-3.612l-.879-.325c-1.034-.383-1.034-1.845 0-2.228l.234-.086a1.168 1.168 0 01-.476-.595l-.745-2.013-2.013-.745z",fill:"currentColor"}))}function ee(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("mask",{id:"ai-stars_svg__a",fill:"#fff"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.324 2.476a.188.188 0 01.351 0l.875 2.364c.019.05.06.091.11.11l2.364.875a.188.188 0 010 .352l-2.363.874a.187.187 0 00-.111.11l-.875 2.365a.188.188 0 01-.351 0l-.875-2.364a.188.188 0 00-.11-.11l-2.364-.875a.188.188 0 010-.352l2.363-.875a.188.188 0 00.111-.11l.875-2.364zM8.226 4.931c.266-.719 1.281-.719 1.547 0l1.566 4.23 4.23 1.566c.719.266.719 1.282 0 1.547l-4.23 1.566-1.566 4.23c-.266.72-1.281.72-1.547 0L6.66 13.84l-4.23-1.566c-.719-.265-.719-1.281 0-1.547l4.23-1.566 1.566-4.23zM9 7.16L7.96 9.974a.825.825 0 01-.488.487L4.66 11.5l2.81 1.041a.825.825 0 01.488.487L9 15.84l1.04-2.812a.825.825 0 01.488-.487l2.811-1.04-2.81-1.04a.825.825 0 01-.488-.488L9 7.162zm8.675 7.315a.188.188 0 00-.351 0l-.875 2.364a.188.188 0 01-.11.11l-2.364.875a.188.188 0 000 .352l2.363.874c.052.02.092.06.111.11l.875 2.364c.06.164.291.164.351 0l.875-2.363a.187.187 0 01.11-.11l2.364-.875a.188.188 0 000-.352l-2.363-.875a.187.187 0 01-.111-.11l-.875-2.364z"})),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.324 2.476a.188.188 0 01.351 0l.875 2.364c.019.05.06.091.11.11l2.364.875a.188.188 0 010 .352l-2.363.874a.187.187 0 00-.111.11l-.875 2.365a.188.188 0 01-.351 0l-.875-2.364a.188.188 0 00-.11-.11l-2.364-.875a.188.188 0 010-.352l2.363-.875a.188.188 0 00.111-.11l.875-2.364zM8.226 4.931c.266-.719 1.281-.719 1.547 0l1.566 4.23 4.23 1.566c.719.266.719 1.282 0 1.547l-4.23 1.566-1.566 4.23c-.266.72-1.281.72-1.547 0L6.66 13.84l-4.23-1.566c-.719-.265-.719-1.281 0-1.547l4.23-1.566 1.566-4.23zM9 7.16L7.96 9.974a.825.825 0 01-.488.487L4.66 11.5l2.81 1.041a.825.825 0 01.488.487L9 15.84l1.04-2.812a.825.825 0 01.488-.487l2.811-1.04-2.81-1.04a.825.825 0 01-.488-.488L9 7.162zm8.675 7.315a.188.188 0 00-.351 0l-.875 2.364a.188.188 0 01-.11.11l-2.364.875a.188.188 0 000 .352l2.363.874c.052.02.092.06.111.11l.875 2.364c.06.164.291.164.351 0l.875-2.363a.187.187 0 01.11-.11l2.364-.875a.188.188 0 000-.352l-2.363-.875a.187.187 0 01-.111-.11l-.875-2.364z",fill:"currentColor"}),t.createElement("path",{d:"M17.675 2.476l.704-.26-.704.26zm-.351 0l-.704-.26.704.26zM18.55 4.84l.703-.26-.703.26zm.11.11l-.26.704.26-.704zm2.364.875l.26-.704-.26.704zm0 .352l-.26-.704.26.704zm-2.363.874l-.26-.703.26.703zm-.111.11l.703.261-.703-.26zm-.875 2.365l.704.26-.704-.26zm-.351 0l-.704.26.704-.26zm-.875-2.364l.703-.26-.703.26zm-.11-.11l.26-.704-.26.703zm-2.364-.875l-.26.703.26-.703zm0-.352l-.26-.704.26.704zm2.363-.875l.26.704-.26-.704zm.111-.11l.703.26-.703-.26zm-6.676.09l-.703.26.703-.26zm-1.547 0l.703.26-.703-.26zm3.113 4.231l-.704.26.12.324.323.12.26-.704zm4.23 1.566l-.26.703.26-.703zm0 1.547l-.26-.703.26.704zm-4.23 1.566l-.26-.703-.324.12-.12.323.704.26zm-1.566 4.23l-.703-.26.703.26zm-1.547 0l.703-.26-.703.26zM6.66 13.84l.704-.26-.12-.324-.324-.12-.26.704zm-4.23-1.566l.26-.703-.26.704zm0-1.547l.26.703-.26-.703zm4.23-1.566l.26.704.324-.12.12-.323-.704-.26zm1.3.812l.703.26-.704-.26zM9 7.162l.703-.26L9 5l-.704 1.9.704.26zM7.472 10.46l-.26-.703.26.704zM4.66 11.5l-.26-.703-1.901.704 1.9.703.26-.703zm2.81 1.041l.261-.703-.26.703zm.488.487l.704-.26-.704.26zM9 15.84l-.703.26L9 18l.703-1.9L9 15.84zm1.04-2.812l.704.26-.703-.26zm.488-.487l-.26-.703.26.703zm2.811-1.04l.26.703 1.901-.703-1.9-.704-.26.704zm-2.81-1.04l.26-.704-.26.704zm-.488-.488l.703-.26-.703.26zm7.284 4.503l-.704-.26.704.26zm.351 0l.704-.26-.704.26zM16.45 16.84l.703.26-.703-.26zm-.11.11l.26.704-.26-.704zm-2.364.875l-.26-.703.26.703zm0 .352l.26-.704-.26.704zm2.363.874l-.26.704.26-.704zm.111.11l.703-.26-.703.26zm.875 2.364l-.704.26.704-.26zm.351 0l.704.26-.704-.26zm.875-2.363l.703.26-.703-.26zm.11-.11l.261.703-.26-.704zm2.364-.875l.26.703-.26-.703zm0-.352l.26-.703-.26.703zm-2.363-.875l-.26.704.26-.704zm-.111-.11l.703-.26-.703.26zM18.38 2.216c-.302-.817-1.457-.817-1.759 0l1.407.52a.563.563 0 01-1.055 0l1.407-.52zm.874 2.363l-.874-2.363-1.407.52.875 2.364 1.406-.52zm-.332-.332a.562.562 0 01.332.332l-1.406.52a.937.937 0 00.553.555l.521-1.407zm2.364.874l-2.364-.874-.52 1.407 2.363.874.52-1.407zm0 1.759c.816-.302.816-1.456 0-1.759l-.521 1.407a.563.563 0 010-1.055l.52 1.407zm-2.364.875l2.364-.875-.521-1.407-2.363.875.52 1.407zm.332-.333a.562.562 0 01-.332.333l-.52-1.407a.937.937 0 00-.554.554l1.406.52zm-.874 2.364l.874-2.364-1.406-.52-.875 2.363 1.407.52zm-1.759 0c.302.816 1.457.816 1.759 0l-1.407-.52a.563.563 0 011.055 0l-1.407.52zm-.874-2.364l.874 2.364 1.407-.52-.875-2.364-1.406.52zm.332.333a.562.562 0 01-.332-.333l1.406-.52a.938.938 0 00-.553-.554l-.521 1.407zm-2.364-.875l2.364.875.52-1.407-2.363-.875-.52 1.407zm0-1.759c-.816.303-.816 1.457 0 1.759l.521-1.407c.49.181.49.874 0 1.055l-.52-1.407zm2.364-.874l-2.364.874.521 1.407 2.364-.874-.521-1.407zm-.332.332a.562.562 0 01.332-.332l.52 1.407a.938.938 0 00.555-.554l-1.407-.52zm.874-2.363l-.874 2.363 1.406.52.875-2.363-1.407-.52zM10.477 4.67c-.508-1.37-2.447-1.37-2.955 0l1.407.52a.1.1 0 01.015-.027.041.041 0 01.01-.01A.085.085 0 019 5.142c.021 0 .037.006.045.011a.041.041 0 01.01.01.1.1 0 01.015.028l1.407-.52zm1.565 4.231l-1.565-4.23-1.407.52 1.565 4.23 1.407-.52zm3.788 1.123L11.6 8.458l-.521 1.407 4.23 1.565.521-1.406zm0 2.954c1.371-.508 1.371-2.447 0-2.954l-.52 1.406a.103.103 0 01.028.015.044.044 0 01.009.01.084.084 0 01.011.046.084.084 0 01-.011.045.04.04 0 01-.01.01.102.102 0 01-.028.015l.521 1.407zm-4.23 1.565l4.23-1.565-.52-1.407-4.232 1.566.521 1.406zm-1.123 3.788l1.565-4.23-1.407-.521-1.565 4.23 1.407.521zm-2.955 0c.508 1.371 2.447 1.371 2.955 0l-1.407-.52a.1.1 0 01-.015.028.04.04 0 01-.01.009.085.085 0 01-.045.012.085.085 0 01-.046-.012.04.04 0 01-.01-.01.1.1 0 01-.015-.027l-1.407.52zm-1.565-4.23l1.565 4.23 1.407-.52-1.565-4.231-1.407.52zm-3.788-1.123l4.23 1.565.521-1.406-4.23-1.566-.521 1.407zm0-2.954c-1.371.507-1.371 2.446 0 2.954l.52-1.407a.1.1 0 01-.028-.015.04.04 0 01-.009-.01.085.085 0 01-.011-.045.09.09 0 01.011-.046.043.043 0 01.01-.01.099.099 0 01.028-.015l-.521-1.406zm4.23-1.566l-4.23 1.566.52 1.406L6.92 9.865 6.4 8.458zM7.523 4.67L5.957 8.901l1.407.52 1.565-4.23-1.407-.52zm1.14 5.563l1.04-2.81-1.406-.521-1.04 2.81 1.407.521zm-.93.93c.431-.159.771-.498.93-.93l-1.406-.52a.075.075 0 01-.044.044l.52 1.407zm-2.811 1.041l2.811-1.04-.52-1.407-2.812 1.04.52 1.407zm2.811-.366l-2.811-1.04-.52 1.406 2.81 1.04.521-1.406zm.93.93a1.574 1.574 0 00-.93-.93l-.52 1.406c.02.008.036.024.044.045l1.407-.52zm1.04 2.811l-1.04-2.81-1.406.52 1.04 2.81 1.407-.52zm-.366-2.81l-1.04 2.81 1.407.52 1.04-2.81-1.407-.52zm.93-.931c-.43.16-.77.499-.93.93l1.407.52a.075.075 0 01.044-.044l-.52-1.406zm2.812-1.04l-2.811 1.04.52 1.406 2.812-1.04-.52-1.407zm-2.811.366l2.811 1.04.52-1.407-2.81-1.04-.521 1.407zm-.93-.93c.159.43.499.77.93.93l.52-1.407a.075.075 0 01-.044-.044l-1.407.52zm-1.04-2.812l1.04 2.811 1.406-.52-1.04-2.811-1.407.52zm9.73 7.314a.563.563 0 01-1.055 0l1.407-.52c-.302-.816-1.457-.816-1.759 0l1.407.52zm-.875 2.364l.875-2.364-1.407-.52-.874 2.363 1.406.52zm-.553.554a.938.938 0 00.553-.554l-1.406-.52a.563.563 0 01.332-.333l.52 1.407zm-2.364.874l2.364-.874-.521-1.407-2.364.875.521 1.406zm0-1.055c.49.181.49.874 0 1.055l-.52-1.406c-.817.302-.817 1.456 0 1.758l.52-1.407zm2.364.875l-2.364-.875-.52 1.407 2.363.875.52-1.407zm.553.554a.938.938 0 00-.553-.554l-.521 1.407a.563.563 0 01-.332-.333l1.406-.52zm.875 2.363l-.875-2.363-1.406.52.874 2.364 1.407-.52zm-1.055 0a.563.563 0 011.055 0l-1.407.52c.302.817 1.457.817 1.759 0l-1.407-.52zm.875-2.363l-.875 2.363 1.407.52.874-2.363-1.406-.52zm.553-.554a.937.937 0 00-.553.554l1.406.52a.562.562 0 01-.332.333l-.52-1.407zm2.364-.875l-2.363.875.52 1.407 2.364-.875-.521-1.407zm0 1.055a.563.563 0 010-1.055l.52 1.407c.817-.302.817-1.456 0-1.758l-.52 1.406zm-2.363-.874l2.363.874.52-1.406-2.363-.875-.52 1.407zm-.554-.554a.938.938 0 00.553.554l.521-1.407a.562.562 0 01.332.332l-1.406.52zm-.875-2.364l.875 2.364 1.406-.52-.874-2.364-1.407.52z",fill:"currentColor",mask:"url(#ai-stars_svg__a)"}))}function te(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.25 18h7.5a.75.75 0 110 1.5h-7.5a.75.75 0 110-1.5zM12 4.5a.75.75 0 01.743.648l.007.102v8.189l2.22-2.22a.75.75 0 011.133.977l-.073.084-3.5 3.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012L12 16l-.029-.002h-.023l-.021-.003-.054-.006-.07-.015-.072-.024-.1-.047-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.22 2.219V5.25A.75.75 0 0112 4.5z",fill:"currentColor",fillRule:"evenodd"}))}function ne(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 6.25a.75.75 0 01.743.648L12.75 7l-.001 8.189 2.22-2.22a.75.75 0 011.134.977l-.073.084-3.5 3.5-.038.036-.046.037h-.002l-.008.007-.081.051-.134.056-.085.02-.084.011h-.103l-.12-.018-.12-.039-.078-.038-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.219 2.218L11.25 7a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function le(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.75 7.5a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zm-6.554.397l.084.073 3.5 3.5c.025.024.048.05.069.078l-.069-.078.04.042.04.052.068.114.038.098.02.084.012.088v.104l-.018.119-.03.098-.047.1-.032.051-.027.038-.064.072-3.5 3.5a.75.75 0 01-1.133-.976l.073-.084 2.219-2.22H5.25a.75.75 0 01-.102-1.493l.102-.007h8.189l-2.22-2.22a.75.75 0 01.977-1.133z",fill:"currentColor",fillRule:"evenodd"}))}function ae(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.03 7.97a.75.75 0 01.073.976l-.073.084-2.219 2.219L17 11.25a.75.75 0 01.102 1.493L17 12.75l-8.19-.001 2.22 2.22a.75.75 0 01-.976 1.134l-.084-.073-3.5-3.5-.08-.094-.051-.081-.05-.116-.027-.103-.01-.089v-.094l.018-.124.03-.099.047-.099.054-.082.069-.08 3.5-3.5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function re(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.946 7.897l.084.073 3.5 3.5.036.038.044.056.051.081.05.116.027.103.01.084v.103l-.018.12-.039.12-.038.078-.06.09-.063.071-3.5 3.5a.75.75 0 01-1.133-.976l.073-.084 2.218-2.22H7a.75.75 0 01-.102-1.493L7 11.25h8.189l-2.22-2.22a.75.75 0 01.977-1.133z",fill:"currentColor",fillRule:"evenodd"}))}function oe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.25 7.5a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zm7.53.47a.75.75 0 01.073.976l-.073.084-2.219 2.22h8.189a.75.75 0 01.102 1.493l-.102.007h-8.189l2.22 2.22a.75.75 0 01-.977 1.133l-.084-.073-3.5-3.5-.055-.06-.046-.065-.049-.088-.044-.12-.018-.089L8 11.965l.019-.136.03-.098.047-.1.054-.082.069-.08 3.5-3.5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function ie(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.86 8.013l.067-.01.125-.001.119.018.098.03.1.047.051.032.038.027.072.064 3.5 3.5a.75.75 0 01-.976 1.133l-.084-.073-2.22-2.219v8.189a.75.75 0 01-1.493.102l-.007-.102v-8.189l-2.22 2.22a.75.75 0 01-1.133-.977l.073-.084 3.5-3.5.042-.04.052-.04.114-.068.098-.038.084-.02zM15.75 4.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function se(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.864 6.262l.089-.01h.095l.123.018.12.039.078.038.09.06.071.063 3.5 3.5a.75.75 0 01-.976 1.133l-.084-.073-2.22-2.219V17a.75.75 0 01-1.493.102L11.25 17V8.81l-2.22 2.22a.75.75 0 01-1.133-.976l.073-.084 3.5-3.5.094-.08.081-.051.134-.056.085-.02z",fill:"currentColor",fillRule:"evenodd"}))}function ce(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.916 10.159l1.06 1.06-2.663 2.665a3.75 3.75 0 005.159 5.44l.144-.137 6.657-6.657a.75.75 0 011.128.984l-.067.077-6.657 6.657a5.25 5.25 0 01-7.575-7.269l.15-.156 2.664-2.664zm11.771-6.468a3.75 3.75 0 01.137 5.16l-.137.144-9.132 9.132a2.25 2.25 0 01-3.287-3.07l.105-.112 6.657-6.657a.75.75 0 011.128.984l-.067.076-6.657 6.657a.75.75 0 00.984 1.128l.077-.067 9.132-9.132a2.25 2.25 0 00-3.07-3.287l-.112.105-2.933 2.932-1.061-1.061 2.933-2.932a3.75 3.75 0 015.303 0zM4 9a2 2 0 002 2 2 2 0 00-1.995 1.85L4 13l-.004-.132A2 2 0 002 11a2 2 0 002-2zm6-2.5a2 2 0 002 2 2 2 0 00-1.995 1.85L10 10.5l-.004-.132A2 2 0 008 8.5a2 2 0 002-2zM6.5 2c0 2.21 2.015 4 4.5 4-2.412 0-4.381 1.687-4.495 3.806L6.5 10l-.01-.263C6.338 7.65 4.386 6 2 6c2.485 0 4.5-1.79 4.5-4z",fill:"currentColor",fillRule:"evenodd"}))}function ue(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.026 18.467a.75.75 0 01-.977 1.133l-.084-.073-2.288-2.288-3.005 3.006a5.25 5.25 0 01-7.574-7.269l.15-.156 3.005-3.005-2.288-2.288a.75.75 0 01.977-1.133l.084.073 12 12zm-9.713-7.592l-3.005 3.006a3.75 3.75 0 005.16 5.44l.144-.137 3.005-3.005-1.061-1.061-3.005 3.005a2.25 2.25 0 01-3.287-3.069l.105-.113 3.005-3.005-1.061-1.061zm2.122 2.122L8.43 16.002a.75.75 0 00.984 1.128l.076-.067 3.005-3.006-1.06-1.06zm7.894-.47a.75.75 0 01.067.984l-.067.077-1.53 1.53-1.061-1.061 1.53-1.53a.75.75 0 011.061 0zm.354-8.839a3.75 3.75 0 01.137 5.16l-.137.144-4.006 4.004-1.06-1.06 4.005-4.005a2.25 2.25 0 00-3.07-3.287l-.112.105-4.005 4.005-1.061-1.061 4.005-4.005a3.75 3.75 0 015.304 0zm-4.596 4.597a.75.75 0 01.067.983l-.067.077-1.531 1.53-1.061-1.061 1.53-1.53a.75.75 0 011.062 0z",fill:"currentColor",fillRule:"evenodd"}))}function de(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.38 3.688a3.75 3.75 0 015.44 5.16l-.137.144-9.132 9.131a2.25 2.25 0 01-3.287-3.069l.105-.113 6.657-6.656a.75.75 0 011.128.983l-.068.077-6.656 6.657a.75.75 0 00.984 1.128l.076-.067 9.132-9.132a2.25 2.25 0 00-3.07-3.287l-.112.105-9.132 9.132a3.75 3.75 0 005.16 5.44l.144-.137 1.934-1.935a6.062 6.062 0 00.09 2.031l-.964.965a5.25 5.25 0 01-7.574-7.269l.15-.156 9.131-9.132zM22 18a4.5 4.5 0 10-9 0 4.5 4.5 0 009 0zm-5.243-2.852a.75.75 0 011.493.102v3.5l-.007.102a.75.75 0 01-1.493-.102v-3.5l.007-.102zM17.5 20a.75.75 0 100 1.5.75.75 0 000-1.5z",fill:"currentColor"}))}function me(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.38 3.688a3.75 3.75 0 015.44 5.16l-.137.144-9.132 9.131a2.25 2.25 0 01-3.287-3.069l.105-.113 6.657-6.656a.75.75 0 011.128.983l-.067.077-6.657 6.657a.75.75 0 00.984 1.128l.076-.067 9.132-9.132a2.25 2.25 0 00-3.07-3.287l-.112.105-9.132 9.132a3.75 3.75 0 005.16 5.44l.144-.137 6.657-6.657a.75.75 0 011.127.984l-.067.077-6.657 6.657a5.25 5.25 0 01-7.574-7.269l.15-.156 9.131-9.132z",fill:"currentColor",fillRule:"evenodd"}))}function ge(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.75 5.75a.25.25 0 00-.193-.243L14.5 5.5H14a.75.75 0 01-.102-1.493L14 4h.5c.372 0 .718.116 1.001.315.242-.17.53-.28.841-.308L16.5 4h.5l.102.007a.75.75 0 010 1.486L17 5.5h-.5l-.057.007a.25.25 0 00-.184.175l-.009.068V8h4c.966 0 1.75.784 1.75 1.75v4.5A1.75 1.75 0 0120.25 16h-4v2.25l.007.057a.25.25 0 00.175.184l.068.009h.5l.102.007a.75.75 0 010 1.486L17 20h-.5l-.144-.006a1.74 1.74 0 01-.856-.308 1.734 1.734 0 01-.856.308L14.5 20H14a.75.75 0 01-.102-1.493L14 18.5h.5a.25.25 0 00.243-.193l.007-.057V5.75zm5.5 3.75h-4v5h4a.25.25 0 00.243-.193l.007-.057v-4.5a.25.25 0 00-.193-.243L20.25 9.5zM6 11a1 1 0 110 2 1 1 0 010-2zm3.5 0a1 1 0 110 2 1 1 0 010-2zm3.5 0c.087 0 .17.011.25.032v1.936A1.002 1.002 0 0112 12a1 1 0 011-1zm-9.25 5A1.75 1.75 0 012 14.25v-4.5C2 8.784 2.784 8 3.75 8h9.5v1.5h-9.5a.25.25 0 00-.243.193L3.5 9.75v4.5a.25.25 0 00.193.243l.057.007h9.5V16h-9.5z",fill:"currentColor",fillRule:"evenodd"}))}function fe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 8c.966 0 1.75.784 1.75 1.75v4.5A1.75 1.75 0 0120.25 16H3.75A1.75 1.75 0 012 14.25v-4.5C2 8.784 2.784 8 3.75 8h16.5zm0 1.5H3.75a.25.25 0 00-.243.193L3.5 9.75v4.5a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057v-4.5a.25.25 0 00-.193-.243L20.25 9.5zM6 11a1 1 0 110 2 1 1 0 010-2z",fill:"currentColor",fillRule:"evenodd"}))}function he(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.5 12.25l1.5 1.5V21a1 1 0 01-1 1H5a1 1 0 01-1-1v-7.25l1.5-1.5v8.25h13v-8.25zm-6.875.582l.375.375.375-.375a1.591 1.591 0 112.25 2.25L12 17.707l-2.625-2.625a1.591 1.591 0 012.25-2.25zm.821-10.685l.084.073L17 6.689V5.5a.5.5 0 01.5-.5h.5a.5.5 0 01.5.5v2.689l3.03 3.03a.75.75 0 01-.976 1.134l-.084-.073L12 3.811l-8.47 8.47a.75.75 0 01-.976.072l-.084-.073a.75.75 0 01-.073-.976l.073-.084 9-9a.75.75 0 01.976-.073z",fill:"currentColor",fillRule:"evenodd"}))}function ve(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M15.25 18.999V21h-2.5v-2.001h2.5zM21 16.75v2.5A1.75 1.75 0 0119.25 21h-2.5v-2.001H19V16.75h2zm-11.5-4c.966 0 1.75.784 1.75 1.75v4.75A1.75 1.75 0 019.5 21H4.75A1.75 1.75 0 013 19.25V14.5c0-.966.784-1.75 1.75-1.75H9.5zm11.5 0v2.5h-2v-2.5h2zm0-4v2.5h-2v-2.5h2zm-16 0v2.5H3v-2.5h2zM19.25 3c.966 0 1.75.784 1.75 1.75v2.5h-2V4.999h-2.25V3h2.5zm-12 0v1.999H5V7.25H3v-2.5C3 3.784 3.784 3 4.75 3h2.5zm4 0v1.999h-2.5V3h2.5zm4 0v1.999h-2.5V3h2.5z",fill:"currentColor",fillRule:"evenodd"}))}function pe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 19.5a2.5 2.5 0 01-4.995.164L9.5 19.5h5zM12 2c.915 0 1.686.767 1.924 1.815A6.002 6.002 0 0118 9.5V15l1.6 1.2A1 1 0 0119 18H5a1 1 0 01-.6-1.8L6 15V9.5a6.003 6.003 0 014.077-5.685C10.314 2.767 11.085 2 12 2z",fill:"currentColor",fillRule:"evenodd"}))}function we(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17 4.5c1.583 0 3.165.45 4.748 1.352a.5.5 0 01.252.435V19.15a.5.5 0 01-.728.445C19.848 18.865 18.424 18.5 17 18.5c-1.667 0-3.333.5-5 1.5-1.667-1-3.333-1.5-5-1.5-1.424 0-2.848.365-4.272 1.095A.5.5 0 012 19.15V6.287a.5.5 0 01.252-.435C3.835 4.951 5.417 4.5 7 4.5c1.667 0 3.333.5 5 1.5 1.667-1 3.333-1.5 5-1.5zM17 6c-1.284 0-2.586.363-3.92 1.108l-.308.178L12 7.75l-.772-.463C9.786 6.421 8.383 6 7 6c-1.11 0-2.232.271-3.378.825l-.122.062v10.739l.056-.02a10.363 10.363 0 013.059-.598L7 17c1.585 0 3.156.382 4.704 1.134l.296.149.296-.149c1.429-.694 2.878-1.073 4.339-1.127L17 17c1.027 0 2.05.16 3.065.48l.435.147V6.887l-.122-.062c-1.041-.504-2.064-.773-3.075-.818L17 6zm0 7.75c.836 0 1.669.115 2.5.344v1.567a7.98 7.98 0 00-2.5-.411c-1.16 0-2.325.266-3.501.804v-1.627A9.628 9.628 0 0117 13.75zm0-3c.836 0 1.669.115 2.5.344v1.567a7.98 7.98 0 00-2.5-.411c-1.16 0-2.325.266-3.501.804v-1.627A9.628 9.628 0 0117 10.75zm0-3c.836 0 1.669.115 2.5.344v1.567A7.98 7.98 0 0017 9.25c-1.16 0-2.325.266-3.501.804V8.427A9.628 9.628 0 0117 7.75z",fill:"currentColor",fillRule:"evenodd"}))}function be(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 2a.75.75 0 01.743.648L20 2.75v18.5a.75.75 0 01-.648.743L19.25 22H6.75a2.75 2.75 0 01-2.739-3H4V5l.043.001A.749.749 0 014 4.75a2.75 2.75 0 012.582-2.745L6.75 2h12.5zm-.75 16H6.75a1.25 1.25 0 00-.128 2.494l.128.006H18.5v-.75H6.75a.5.5 0 110-1H18.5V18zM5.506 4.622L5.5 4.75a.749.749 0 01-.043.251L5.5 5v11.8a2.732 2.732 0 011-.289V3.525a1.25 1.25 0 00-.994 1.097zM18.5 3.5h-11v13h11v-13zM14.25 9a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm2-3a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ee(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.75 11c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0110.75 22h-6A1.75 1.75 0 013 20.25v-7.5c0-.966.784-1.75 1.75-1.75h6zm.25 8.5H9.5v1H11v-1zm-2.5 0h-4v1h4v-1zM14.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v9.836A1.75 1.75 0 0119.25 20H13.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L14 7.25V3.499L8.25 3.5a.25.25 0 00-.243.193L8 3.75V10H6.5V3.75C6.5 2.784 7.284 2 8.25 2h6.336zM11 17.5H9.5v1H11v-1zm-2.5 0H7v1h1.5v-1zm-2.5 0H4.5v1H6v-1zm10.016-6.984c.152 0 .333.058.371.263l.008.084v.242c.554.063 1.043.247 1.34.536.21.203.32.418.32.644 0 .29-.239.492-.516.492-.242 0-.437-.074-.648-.234-.328-.25-.586-.348-.93-.348-.379 0-.61.23-.61.48 0 .226.168.369.56.457l.14.028.687.121c1 .176 1.508.68 1.508 1.508 0 .908-.638 1.554-1.67 1.741l-.185.029v.175c0 .27-.207.352-.375.352-.157 0-.34-.065-.38-.269l-.007-.083v-.164c-.649-.047-1.211-.242-1.543-.558-.2-.196-.316-.41-.316-.645 0-.347.265-.543.59-.543.159 0 .308.044.495.162l.118.08c.343.254.726.395 1.043.395.48 0 .722-.203.722-.5 0-.217-.177-.353-.617-.458l-.14-.03-.672-.133c-.996-.192-1.489-.703-1.489-1.54 0-.885.638-1.523 1.633-1.683l.18-.023v-.23c0-.274.21-.348.383-.348zM11 15.5H9.5v1H11v-1zm-2.5 0H7v1h1.5v-1zm-2.5 0H4.5v1H6v-1zm5-3H4.5v2H11v-2zm4.5-7.881V7.25a.25.25 0 00.193.243l.057.007h2.631L15.5 4.619z",fill:"currentColor",fillRule:"evenodd"}))}function xe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 2c.414 0 .75.294.75.656V3h2.25c.966 0 1.75.83 1.75 1.853v14.294C21 20.17 20.216 21 19.25 21H4.75C3.784 21 3 20.17 3 19.147V4.853C3 3.83 3.784 3 4.75 3H7v-.344C7 2.294 7.336 2 7.75 2s.75.294.75.656V3h7v-.344c0-.362.336-.656.75-.656zm3.25 6h-15v11.147c0 .125.082.23.193.258l.057.007h14.5a.254.254 0 00.243-.204l.007-.06V8zm-11 7a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm-9-4.5a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2A.5.5 0 016 12v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zM7 4.588H4.75a.254.254 0 00-.243.204l-.007.06V6.5h15V4.853a.262.262 0 00-.193-.258l-.057-.007H17v.256c0 .362-.336.656-.75.656s-.75-.294-.75-.656v-.256h-7v.256c0 .362-.336.656-.75.656S7 5.206 7 4.844v-.256z",fill:"currentColor",fillRule:"evenodd"}))}function ye(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 8a2 2 0 012 2v9a2 2 0 01-2 2H8a2 2 0 01-2-2v-9a2 2 0 012-2h12zm.5 5h-13v6a.5.5 0 00.41.492L8 19.5h12a.5.5 0 00.492-.41L20.5 19v-6zM12 15a.5.5 0 01.5.5V17a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1.5a.5.5 0 01.5-.5h2zm4.607-10.568L17.294 7h-1.553l-.583-2.18a.5.5 0 00-.524-.369l-.089.016L3.92 7.314a.5.5 0 00-.369.523l.016.089L5 13.276v3.905a1.992 1.992 0 01-.812-1.14l-2.07-7.727a2 2 0 011.414-2.45l10.625-2.846a2 2 0 012.45 1.414zM20 9.5H8a.5.5 0 00-.492.41L7.5 10v1.5h13V10a.5.5 0 00-.41-.492L20 9.5z",fill:"currentColor"}))}function ze(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zM13 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm-1.143 6.234c.215 0 .434.097.48.36l.009.107v.387c.714.091 1.353.338 1.75.725.301.285.463.602.463.902 0 .355-.28.602-.618.602-.29 0-.51-.102-.779-.333-.456-.435-.843-.607-1.38-.607-.634 0-1.037.36-1.037.811 0 .372.266.62.843.762l.15.033 1.016.21c1.353.263 2.02.934 2.02 2.035 0 1.218-.86 2.076-2.251 2.304l-.193.027v.338c0 .344-.247.468-.49.468-.214 0-.437-.098-.484-.361l-.01-.107v-.327c-.816-.07-1.535-.322-1.981-.736-.301-.274-.473-.585-.473-.908 0-.419.306-.655.688-.655.236 0 .43.075.735.333.478.435 1.005.66 1.547.66.758 0 1.166-.338 1.166-.853 0-.374-.264-.605-.921-.77l-.159-.036-1.01-.22c-1.3-.269-1.955-.967-1.955-2.063 0-1.187.855-2.034 2.199-2.223l.186-.022v-.376c0-.349.247-.467.489-.467zM14.5 4.62v2.63a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Re(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 4.75a.75.75 0 00-1.5 0v14.5c0 .414.336.75.75.75h18.5a.75.75 0 000-1.5h-1.5V6a.75.75 0 00-1.14-.64l-6.88 4.188-3.045-2.682a.75.75 0 00-.921-.055L3.5 9.745V4.75zm0 6.816V18.5h14.75V7.335l-6.211 3.782a.75.75 0 01-.886-.078l-3.02-2.66L3.5 11.565z",fill:"currentColor"}))}function Ce(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 17.75A1.75 1.75 0 009.25 16h-4.5A1.75 1.75 0 003 17.75v1.5c0 .966.784 1.75 1.75 1.75h4.5A1.75 1.75 0 0011 19.25v-1.5zm6-6.5a1.75 1.75 0 00-1.75-1.75H4.75A1.75 1.75 0 003 11.25v1.5c0 .966.784 1.75 1.75 1.75h10.5A1.75 1.75 0 0017 12.75v-1.5zm4-6.5A1.75 1.75 0 0019.25 3H4.75A1.75 1.75 0 003 4.75v1.5C3 7.216 3.784 8 4.75 8h14.5A1.75 1.75 0 0021 6.25v-1.5zm-11.5 13v1.5a.25.25 0 01-.193.243l-.057.007h-4.5a.25.25 0 01-.243-.193L4.5 19.25v-1.5a.25.25 0 01.193-.243l.057-.007h4.5a.25.25 0 01.243.193l.007.057zm6-6.5v1.5a.25.25 0 01-.193.243L15.25 13H4.75a.25.25 0 01-.243-.193L4.5 12.75v-1.5a.25.25 0 01.193-.243L4.75 11h10.5a.25.25 0 01.243.193l.007.057zm4-6.5v1.5a.25.25 0 01-.193.243l-.057.007H4.75a.25.25 0 01-.243-.193L4.5 6.25v-1.5a.25.25 0 01.193-.243L4.75 4.5h14.5a.25.25 0 01.243.193l.007.057z",fill:"currentColor"}))}function Se(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 4.75a.75.75 0 00-1.5 0v14.5c0 .414.336.75.75.75h18.5a.75.75 0 000-1.5H3.5V4.75zm18.06 2.53a.75.75 0 10-1.06-1.06l-5.97 5.97-3.47-3.47a.75.75 0 00-1.06 0l-4.47 4.47a.75.75 0 001.061 1.06l3.94-3.94L14 13.78a.75.75 0 001.06 0l6.5-6.5z",fill:"currentColor"}))}function Ne(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.25 4.25A.75.75 0 0111 5v8h8a.75.75 0 01.743.648l.007.102c0 4.97-4.03 8.5-9 8.5a9 9 0 01-9-9c0-4.97 3.53-9 8.5-9zM9.5 5.787l-.209.024c-3.69.47-6.041 3.622-6.041 7.439a7.5 7.5 0 007.5 7.5c3.817 0 6.968-2.352 7.44-6.041l.022-.209H10.25a.75.75 0 01-.743-.648L9.5 13.75V5.787zm3.75-4.037a9 9 0 019 9 .75.75 0 01-.75.75h-8.25a.75.75 0 01-.75-.75V2.5a.75.75 0 01.75-.75zM14 3.287V10h6.712l-.023-.209a7.504 7.504 0 00-6.48-6.48L14 3.287z",fill:"currentColor"}))}function Oe(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 4.5h15v3.75h-15V4.5zM3 9.75V4.5A1.5 1.5 0 014.5 3h15A1.5 1.5 0 0121 4.5v15a1.5 1.5 0 01-1.5 1.5h-15A1.5 1.5 0 013 19.5V9.75zM4.5 14V9.75h4V14h-4zm0 1.5v4h4v-4h-4zm5.5 4h4v-4h-4v4zm5.5 0h4v-4h-4v4zm4-5.5V9.75h-4V14h4zM10 9.75h4V14h-4V9.75z",fill:"currentColor"}))}function Ae(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.557 13.056c1.474.7 2.443 1.881 2.443 3.222 0 1.294-.903 2.44-2.292 3.147l.89 1.582a.556.556 0 01-.748.761l-.084-.055-2.059-1.647a7.87 7.87 0 01-1.263.1c-2.853 0-5.205-1.506-5.52-3.444 2.666-.007 5.071-.766 6.817-1.966a7.924 7.924 0 001.802-1.682l.014-.018zM10.889 3.5c4.91 0 8.889 2.736 8.889 6.111 0 3.309-3.825 6.004-8.601 6.108l-.426.003-5.406 4.324a.556.556 0 01-.832-.706l2.398-4.262C3.999 14.074 2 12.003 2 9.61 2 6.236 5.98 3.5 10.889 3.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ie(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.313 12.156c.59.664.937 1.466.937 2.344 0 1.01-.467 1.944-1.272 2.68l-.21.179.885 1.77c.174.348.174.753.01 1.096l-.068.125-.084.118c-.352.44-.948.585-1.501.347l-.127-.062-.129-.09-2.446-1.955-.233.021-.19.012-.385.009c-2.065 0-3.908-.798-4.923-2.035a13.97 13.97 0 002.216-.108c.728.397 1.667.643 2.707.643.209 0 .415-.01.619-.03l.303-.037.323-.047 2.059 1.649-.969-1.94.582-.36c.86-.533 1.333-1.252 1.333-1.985 0-.371-.122-.733-.343-1.065.3-.336.562-.69.781-1.06l.125-.219zM11 3.25c4.786 0 8.75 2.725 8.75 6.25 0 3.455-3.81 6.143-8.47 6.247l-.139.001-4.662 3.73a1.25 1.25 0 01-1.567-.004l-.1-.09-.09-.102a1.25 1.25 0 01-.174-1.27l.06-.124 1.737-3.087-.23-.106c-2.193-1.046-3.646-2.768-3.842-4.737l-.017-.228-.006-.23c0-3.525 3.964-6.25 8.75-6.25zm0 1.5c-4.05 0-7.25 2.2-7.25 4.75 0 1.679 1.397 3.263 3.66 4.119l.255.092.85.293-1.969 3.498 4.072-3.255.267.002.384-.002c3.922-.095 6.981-2.253 6.981-4.747 0-2.55-3.2-4.75-7.25-4.75z",fill:"currentColor",fillRule:"evenodd"}))}function Le(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.47 6.47a.75.75 0 01.976-.073l.084.073L12 10.939l4.47-4.47a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 010-1.06zm0 5a.75.75 0 01.976-.073l.084.073L12 15.939l4.47-4.47a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 010-1.06z",fill:"currentColor",fillRule:"evenodd"}))}function He(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.854 9.354l5.792 5.792a.5.5 0 00.708 0l5.792-5.792a.5.5 0 00-.353-.854H6.207a.5.5 0 00-.353.854z",fill:"currentColor",fillRule:"evenodd"}))}function Me(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.47 10.03a.75.75 0 01.976-1.133l.084.073L12 13.439l4.47-4.47a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-5-5z",fill:"currentColor",fillRule:"evenodd"}))}function ke(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17.53 6.47a.75.75 0 01.073.976l-.073.084L13.061 12l4.47 4.47a.75.75 0 01.072.976l-.073.084a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 01-.073-.976l.073-.084 5-5a.75.75 0 011.06 0zm-5 0a.75.75 0 01.073.976l-.073.084L8.061 12l4.47 4.47a.75.75 0 01.072.976l-.073.084a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 01-.073-.976l.073-.084 5-5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Ve(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5 6.207a.5.5 0 00-.854-.353l-5.792 5.792a.5.5 0 000 .708l5.792 5.792a.5.5 0 00.854-.353V6.207z",fill:"currentColor"}))}function je(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.97 6.47a.75.75 0 011.133.976l-.073.084L10.561 12l4.47 4.47a.75.75 0 01.072.976l-.073.084a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 01-.073-.976l.073-.084 5-5z",fill:"currentColor",fillRule:"evenodd"}))}function Te(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.47 6.47a.75.75 0 01.976-.073l.084.073 5 5 .073.084a.75.75 0 01.007.882l-.08.094-5 5-.084.073a.75.75 0 01-.882.007l-.094-.08-.073-.084a.75.75 0 01-.007-.882l.08-.094L15.939 12l-4.47-4.47-.072-.084a.75.75 0 01.073-.976zm-5 0a.75.75 0 01.976-.073l.084.073 5 5 .073.084a.75.75 0 01.007.882l-.08.094-5 5-.084.073a.75.75 0 01-.882.007l-.094-.08-.073-.084a.75.75 0 01-.007-.882l.08-.094L10.939 12l-4.47-4.47-.072-.084a.75.75 0 01.073-.976z",fill:"currentColor",fillRule:"evenodd"}))}function De(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 17.793a.5.5 0 00.854.353l5.792-5.792a.5.5 0 000-.708L9.354 5.854a.5.5 0 00-.854.353v11.586z",fill:"currentColor"}))}function Fe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.03 6.47a.75.75 0 00-1.133.976l.073.084L13.439 12l-4.47 4.47a.75.75 0 00-.072.976l.073.084a.75.75 0 00.976.073l.084-.073 5-5a.75.75 0 00.073-.976l-.073-.084-5-5z",fill:"currentColor",fillRule:"evenodd"}))}function Pe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.47 12.53a.75.75 0 01-.073-.976l.073-.084 5-5 .084-.073a.75.75 0 01.882-.007l.094.08 5 5 .073.084a.75.75 0 01.007.882l-.08.094-.084.073a.75.75 0 01-.882.007l-.094-.08L12 8.061l-4.47 4.47-.084.072a.75.75 0 01-.976-.073zm0 5a.75.75 0 01-.073-.976l.073-.084 5-5 .084-.073a.75.75 0 01.882-.007l.094.08 5 5 .073.084a.75.75 0 01.007.882l-.08.094-.084.073a.75.75 0 01-.882.007l-.094-.08L12 13.061l-4.47 4.47-.084.072a.75.75 0 01-.976-.073z",fill:"currentColor",fillRule:"evenodd"}))}function Be(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.854 14.646l5.792-5.792a.5.5 0 01.708 0l5.792 5.792a.5.5 0 01-.353.854H6.207a.5.5 0 01-.353-.854z",fill:"currentColor",fillRule:"evenodd"}))}function _e(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17.53 13.97a.75.75 0 01-.976 1.133l-.084-.073L12 10.561l-4.47 4.47a.75.75 0 01-.976.072l-.084-.073a.75.75 0 01-.073-.976l.073-.084 5-5a.75.75 0 01.976-.073l.084.073 5 5z",fill:"currentColor",fillRule:"evenodd"}))}function Ge(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zM8.641 8.641a.75.75 0 01.984-.067l.077.067L12 10.94l2.298-2.298a.75.75 0 011.128.984l-.067.077L13.06 12l2.298 2.298a.75.75 0 01-.984 1.128l-.077-.067L12 13.06l-2.298 2.298a.75.75 0 01-1.128-.984l.067-.077L10.94 12 8.641 9.702a.75.75 0 010-1.06z"}))}function qe(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm-.267 5.753a1 1 0 10-.001-2.001 1 1 0 00.001 2.001zM14 16.754a.75.75 0 000-1.502h-1.267V11.5a.752.752 0 00-.75-.751H10a.75.75 0 000 1.502h1.233v3H10a.75.75 0 000 1.503h4z",fill:"currentColor"}))}function $e(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm4 7.75c.934 0 1.027 1.366.102 1.493-8 0 0 0-8.102.007-.934 0-1.027-1.366-.102-1.493z",fill:"currentColor",fillRule:"evenodd"}))}function Ke(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm0 3.75a.75.75 0 01.743.648L12.75 8v3.25H16a.75.75 0 01.102 1.493L16 12.75h-3.25V16a.75.75 0 01-1.493.102L11.25 16v-3.25H8a.75.75 0 01-.102-1.493L8 11.25h3.25V8a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function Ue(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm.58 10.15a.71.71 0 00.226-.543v-1.272a.306.306 0 01.045-.143.522.522 0 01.136-.133 3.91 3.91 0 01.285-.18l.028-.016c.112-.066.242-.143.387-.237.706-.454 1.156-1.012 1.156-1.838 0-.673-.37-1.19-.887-1.53-.513-.336-1.183-.508-1.845-.508-.552 0-1.234.096-1.79.317a2.441 2.441 0 00-.574.315c-.09.069-.174.146-.245.232a1.15 1.15 0 00-.154.238 1.474 1.474 0 00-.148.625c0 .075.01.118.02.167.036.159.12.3.254.401a.77.77 0 00.47.147.768.768 0 00.745-.517l.004-.013c.053-.17.226-.306.517-.4.282-.09.611-.116.852-.116.267 0 .575.078.809.213.241.139.345.298.345.44 0 .188-.051.32-.152.444-.11.136-.285.27-.55.444h-.002l-.136.091h-.001c-.232.153-.49.322-.695.513-.252.234-.467.537-.467.938v1.38c0 .226.087.421.248.556.155.13.357.185.56.185.21 0 .41-.064.558-.2zm-.559 3.1c.504 0 .924-.4.924-.904 0-.512-.423-.9-.924-.9a.908.908 0 00-.92.9c0 .504.42.904.92.904z",fill:"currentColor"}))}function We(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm4.403 3.867a.75.75 0 01.282.938l-.052.098-5.091 8a.75.75 0 01-1.145.145l-.074-.08-2.909-3.636a.75.75 0 011.096-1.018l.076.081 2.253 2.817 4.528-7.115a.75.75 0 011.036-.23z",fill:"currentColor",fillRule:"evenodd"}))}function Je(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm0 3.75a.97.97 0 00-.974.989L11.2 12.5c.01.417.352.749.771.749a.768.768 0 00.77-.74l.23-4.26a.97.97 0 00-.97-1zm0 9.5a1 1 0 100-2 1 1 0 000 2z",fill:"currentColor"}))}function Ye(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.03 12.97a.75.75 0 01.073.976l-.073.084-5.72 5.72H8.5a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743l-.102.007-5.051-.002-.12-.018-.068-.019-.06-.023-.07-.035-.082-.054-.08-.07a.749.749 0 01-.096-.118l-.05-.09-.04-.103a.737.737 0 01-.026-.116L2.75 20.5v-5a.75.75 0 011.493-.102l.007.102-.001 3.189 5.72-5.72a.75.75 0 011.061 0zm4.368-10.213l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L19.75 8.5V5.31l-5.72 5.72a.75.75 0 01-1.133-.976l.073-.084 5.718-5.72H15.5a.75.75 0 01-.743-.648L14.75 3.5a.75.75 0 01.648-.743z",fill:"currentColor",fillRule:"evenodd"}))}function Qe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.398 12.757l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L9.75 18.5v-3.19l-5.72 5.72a.75.75 0 01-1.133-.976l.073-.084 5.718-5.72H5.5a.75.75 0 01-.743-.648L4.75 13.5a.75.75 0 01.648-.743zM21.03 2.97a.75.75 0 01.073.976l-.073.084-5.72 5.72h3.19a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743l-.102.007-5.051-.002-.12-.018-.068-.019-.06-.023-.07-.035-.082-.054-.08-.07a.749.749 0 01-.096-.118l-.05-.09-.04-.103a.737.737 0 01-.026-.116l-.007-.102v-5a.75.75 0 011.493-.102l.007.102v3.188l5.72-5.718a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Xe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.554 6.397a.75.75 0 011.049 1.05l-.073.083L13.061 12l4.47 4.47a.75.75 0 01-.977 1.133l-.084-.073L12 13.061l-4.47 4.47-.084.072a.75.75 0 01-1.049-1.05l.073-.083L10.939 12l-4.47-4.47a.75.75 0 01.977-1.133l.084.073L12 10.939l4.47-4.47.084-.072z",fill:"currentColor",fillRule:"evenodd"}))}function Ze(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 4.5h-4v15h4v-15zm1.5 0v15h3.75a.25.25 0 00.25-.25V4.75a.25.25 0 00-.25-.25H15.5zM4.75 3A1.75 1.75 0 003 4.75v14.5c0 .966.784 1.75 1.75 1.75h14.5A1.75 1.75 0 0021 19.25V4.75A1.75 1.75 0 0019.25 3H4.75z",fill:"currentColor"}))}function et(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6 4.5H14v15h-2.378a2.26 2.26 0 010 1.5h7.628A1.75 1.75 0 0021 19.25V4.75A1.75 1.75 0 0019.25 3H4.75A1.75 1.75 0 003 4.75v6.75c.576 0 1.152.22 1.591.659l1.659 1.659 1.659-1.659a2.244 2.244 0 011.691-.657V4.5zm5.9 15v-15h3.75a.25.25 0 01.25.25v14.5a.25.25 0 01-.25.25H15.5zM2.47 20.78a.75.75 0 010-1.06L5.19 17l-2.72-2.72a.75.75 0 111.06-1.06l2.72 2.72 2.72-2.72a.75.75 0 111.06 1.06L7.31 17l2.72 2.72a.75.75 0 11-1.06 1.06l-2.72-2.72-2.72 2.72a.75.75 0 01-1.06 0z",fill:"currentColor"}))}function tt(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 4.5h-4v15h4v-15zm1.5 0v15h3.75a.25.25 0 00.25-.25V4.75a.25.25 0 00-.25-.25H15.5zm-10.75 0H8.5v15H4.75a.25.25 0 01-.25-.25V4.75a.25.25 0 01.25-.25zm0-1.5A1.75 1.75 0 003 4.75v14.5c0 .966.784 1.75 1.75 1.75h14.5A1.75 1.75 0 0021 19.25V4.75A1.75 1.75 0 0019.25 3H4.75z",fill:"currentColor"}))}function nt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19 9a3 3 0 11-2.877 3.854H7.877A3.001 3.001 0 012 12a3 3 0 015.93-.647h8.14A3.001 3.001 0 0119 9zM5 10.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm14 0a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor"}))}function lt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.66 4.174a.75.75 0 01.32.933l-.045.091-8.298 14.373a.75.75 0 01-1.344-.659l.045-.091 8.298-14.373a.75.75 0 011.025-.274zM5 9a3.001 3.001 0 012.935 2.374.685.685 0 01.169-.02h1.814l-.866 1.5h-.948a.75.75 0 01-.22-.033A2.998 2.998 0 012 12a3 3 0 013-3zm14 0a3 3 0 11-2.877 3.854h-1.875l.866-1.5.956-.001A3.001 3.001 0 0119 9zM5 10.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm14 0a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor"}))}function at(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V18h-.5a.75.75 0 110-1.5H4v-3.75h-.5a.75.75 0 110-1.5H4V8h-.5a.75.75 0 010-1.5H4V3.75C4 2.784 4.784 2 5.75 2h12.5zm0 1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6.5H6A.75.75 0 016 8h-.5v3.25H6a.75.75 0 110 1.5h-.5v3.75H6A.75.75 0 116 18h-.5v2.25a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5zM11.866 12c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0114.482 18H9.25a1.75 1.75 0 01-1.724-2.05c.46-2.634 1.906-3.95 4.34-3.95zm0-5.5c1.104 0 2 1.12 2 2.5s-.896 2.5-2 2.5c-1.105 0-2-1.12-2-2.5s.895-2.5 2-2.5z",fill:"currentColor",fillRule:"evenodd"}))}function rt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6 5v1.5h-.25a.25.25 0 00-.243.193L5.5 6.75v13.5a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057V20H17v.25A1.75 1.75 0 0115.25 22h-9.5A1.75 1.75 0 014 20.25V6.75C4 5.784 4.784 5 5.75 5H6zm7.586-3a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v8.836A1.75 1.75 0 0118.25 19h-9.5A1.75 1.75 0 017 17.25V3.75C7 2.784 7.784 2 8.75 2h4.836zM13 3.5H8.75a.25.25 0 00-.243.193L8.5 3.75v13.5a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm1.5 1.121V7.25a.25.25 0 00.193.243l.057.007h2.629L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ot(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.441 3.441a1.25 1.25 0 01.983-.058l.135.058 9.598 4.799a.85.85 0 01.464.859l-.001 6.151a.75.75 0 11-1.5 0v-4.971L19 11.339V17.5c0 1.657-3.134 3-7 3-3.772 0-6.847-1.278-6.994-2.88L5 17.5v-6.162L1.842 9.76a.85.85 0 01-.421-1.042l.041-.098a.85.85 0 01.286-.325l.094-.055 9.598-4.799zm-4.942 8.647v5.395c.009.095.385.448 1.217.791C8.82 18.73 10.351 19 12 19c1.689 0 3.253-.284 4.359-.757.472-.203.822-.425 1.023-.629l.11-.117c.003-.003.005-.004.006-.003l.002.006v-5.411l-4.941 2.47a1.25 1.25 0 01-.983.058l-.135-.058-4.942-2.471zM12 4.838L3.677 8.999l8.322 4.162 8.323-4.162L12 4.838z",fill:"currentColor"}))}function it(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.499 15l.001 5.25a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057V20H18v.25A1.75 1.75 0 0116.25 22h-9.5A1.75 1.75 0 015 20.25L4.999 15h1.5zm8.087-13a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v8.836A1.75 1.75 0 0119.25 19h-9.5A1.75 1.75 0 018 17.25L7.999 15h1.5l.001 2.25a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057L19.499 9H15.75a1.75 1.75 0 01-1.744-1.606L14 7.25l-.001-3.75H9.75a.25.25 0 00-.243.193L9.5 3.75 9.499 5h-1.5L8 3.75C8 2.784 8.784 2 9.75 2h4.836zM4.392 8.956a.5.5 0 01.55-.147l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082L4.341 9.03l.051-.074zM8.25 6a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.6.221l-.083-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528A2.5 2.5 0 006.711 8.03a.75.75 0 11-.925-1.181A3.985 3.985 0 018.25 6zm7.249-1.38l.001 2.63a.25.25 0 00.193.243l.057.007h2.629l-2.88-2.88z",fill:"currentColor",fillRule:"evenodd"}))}function st(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2a4.5 4.5 0 014.472 4h-1.514a3 3 0 00-5.917 0H20.25a.75.75 0 110 1.5h-.75V18a4 4 0 01-4 4h-7a4 4 0 01-4-4V7.5h-.75a.75.75 0 010-1.5h3.777A4.5 4.5 0 0112 2zm6 5.5H6V18a2.5 2.5 0 002.336 2.495l.164.005h7a2.5 2.5 0 002.495-2.336L18 18V7.5zm-3.946 3.397a.75.75 0 011.049 1.05l-.073.083L13.061 14l1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073L12 15.061l-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083L10.939 14l-1.97-1.97a.75.75 0 01.977-1.133l.084.073L12 12.939l1.97-1.97.084-.072z",fill:"currentColor",fillRule:"evenodd"}))}function ct(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2a4.5 4.5 0 014.472 4h3.778a.75.75 0 110 1.5h-.75V18a4 4 0 01-4 4h-7a4 4 0 01-4-4V7.5h-.75a.75.75 0 010-1.5h3.777A4.5 4.5 0 0112 2zm6 5.5H6V18a2.5 2.5 0 002.336 2.495l.164.005h7a2.5 2.5 0 002.495-2.336L18 18V7.5zm-8.25 2a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zm4.5 0a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zM12 3.5A3 3 0 009.041 6h5.917A3 3 0 0012 3.5z",fill:"currentColor",fillRule:"evenodd"}))}function ut(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 2a.75.75 0 01.75.75V3h2.25c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H17v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V8h-15v11.25a.25.25 0 00.193.243l.057.007H7V21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3H7v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zM12 11.25a.75.75 0 01.743.648l.007.102v6.439l1.72-1.72a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-.976.073l-.084-.073-3-3a.75.75 0 01.976-1.133l.084.073 1.72 1.719V12a.75.75 0 01.75-.75zM7 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75V6.5h15V4.75a.25.25 0 00-.193-.243L19.25 4.5H17v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5z",fill:"currentColor",fillRule:"evenodd"}))}function dt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.303 2.787a1.25 1.25 0 01.934 1.39l-.024.126-4 16a1.25 1.25 0 01-2.45-.48l.024-.126 4-16a1.25 1.25 0 011.516-.91zM7.05 5.04a1.25 1.25 0 01.242 1.65l-.082.11L2.877 12l4.333 5.2a1.25 1.25 0 01-.06 1.667l-.1.093a1.25 1.25 0 01-1.667-.06l-.093-.1-5-6a1.25 1.25 0 01-.083-1.49l.083-.11 5-6a1.25 1.25 0 011.76-.16zm9.9 0a1.25 1.25 0 011.667.06l.093.1 5 6 .083.11a1.25 1.25 0 010 1.38l-.083.11-5 6-.093.1a1.25 1.25 0 01-1.558.142l-.11-.082-.1-.093a1.25 1.25 0 01-.14-1.558l.08-.11L21.124 12 16.79 6.8l-.082-.11a1.25 1.25 0 01.242-1.65z",fill:"currentColor",fillRule:"evenodd"}))}function mt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.5 17a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4a.5.5 0 01-.5-.5v-4a.5.5 0 01.5-.5h4zm-1 1.5h-2v2h2v-2zm-5-14.75a.75.75 0 01.102 1.493l-.102.007H13a.25.25 0 00-.243.193l-.007.057v5.75h1.75a.75.75 0 01.102 1.493l-.102.007h-1.75v5.75a.25.25 0 00.193.243l.057.007h1.5a.75.75 0 01.102 1.493l-.102.007H13a1.75 1.75 0 01-1.744-1.606l-.006-.144v-5.75H9.5a.75.75 0 01-.102-1.493l.102-.007h1.75V5.5a1.75 1.75 0 011.606-1.744L13 3.75h1.5zm6 5.75a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4a.5.5 0 01-.5-.5v-4a.5.5 0 01.5-.5h4zm-13 0a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4A.5.5 0 013 14v-4a.5.5 0 01.5-.5h4zm12 1.5h-2v2h2v-2zm-13 0h-2v2h2v-2zm14-9a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4a.5.5 0 01-.5-.5v-4a.5.5 0 01.5-.5h4zm-1 1.5h-2v2h2v-2z",fill:"currentColor",fillRule:"evenodd"}))}function gt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V14h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H10V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm6.194 13.72a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-3-3a.75.75 0 01.976-1.133l.084.073 2.47 2.469 4.47-4.47a.75.75 0 011.06 0zm-2.4-8.22L14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63z",fill:"currentColor",fillRule:"evenodd"}))}function ft(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V13h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H12V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm2.164 11.5a.75.75 0 01.743.648l.007.102V17h2.75a.75.75 0 01.102 1.493l-.102.007H16.5v2.75a.75.75 0 01-1.493.102L15 21.25V18.5h-2.75a.75.75 0 01-.102-1.493L12.25 17H15v-2.75a.75.75 0 01.75-.75zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ht(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.95 11.146l2.219 3.843.868.234a2.5 2.5 0 111.826 2.042l-1.633-.438.845 1.464a2.5 2.5 0 11-2.444-1.235l-.45-.778-4.287-1.148a.75.75 0 11.388-1.45l2.839.761-1.47-2.545a.75.75 0 011.3-.75zM13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V11h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H10V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm-.176 16.675a1 1 0 101 1.732 1 1 0 00-1-1.732zm3.134-4.084a1 1 0 101.932.518 1 1 0 00-1.932-.518zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function vt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zM13 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm-1 12.91c.516 0 .935.333.935.849 0 .515-.42.848-.935.848-.516 0-.94-.333-.94-.848 0-.516.424-.849.94-.849zm0-5.978c.509 0 .883.352.917.807l.001.106-.15 3.62a.754.754 0 01-.768.736.757.757 0 01-.768-.632l-.01-.104-.135-3.62c-.022-.505.37-.913.913-.913zm2.5-5.811V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function pt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v4.336h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h5V22h-5A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm5.664 12.25a.75.75 0 01.743.648L20 15v4.5a.75.75 0 01-1.493.102L18.5 19.5v-2.69l-4.97 4.97a.75.75 0 01-1.133-.976l.073-.084 4.968-4.97H14.75a.75.75 0 01-.743-.648L14 15a.75.75 0 01.648-.743l.102-.007h4.5zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function wt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.586 2a1 1 0 01.707.293l3.414 3.414a1 1 0 01.293.707v8.836A1.75 1.75 0 0119.25 17H15v3.25A1.75 1.75 0 0113.25 22h-8.5A1.75 1.75 0 013 20.25V8.75C3 7.784 3.784 7 4.75 7H9V3.75C9 2.784 9.784 2 10.75 2h5.836zM15.5 3.499l-4.75.001a.25.25 0 00-.243.193l-.007.057V7h1v1.5h-1V10H9V8.5H4.75a.25.25 0 00-.243.193L4.5 8.75v11.5a.25.25 0 00.193.243l.057.007h8.5a.25.25 0 00.243-.193l.007-.057V17h-1v-1.5h1V14H15v1.5h4.25a.25.25 0 00.243-.193l.007-.057V7.5h-2.25a1.75 1.75 0 01-1.744-1.606L15.5 5.75V3.499zM10.5 14v1.25a.25.25 0 00.193.243l.057.007h.75V17h-.75A1.75 1.75 0 019 15.25V14h1.5zm4.5-3v2h-1.5v-2H15zm-4.5 0v2H9v-2h1.5zm2-4h.75c.966 0 1.75.784 1.75 1.75V10h-1.5V8.75a.25.25 0 00-.193-.243L13.25 8.5h-.75V7zM17 4.12v1.63a.25.25 0 00.193.243L17.25 6h1.631L17 4.12z",fill:"currentColor",fillRule:"evenodd"}))}function bt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V12h1.5v8.25a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5h-2V2h2.586zM4.433 7.25a.5.5 0 01-.717.661l-.07-.057-1-1-.057-.07a.5.5 0 010-.568l.057-.07 1-1 .07-.057a.5.5 0 01.568 0l.07.057.057.07a.5.5 0 01.022.535L6.25 5.75V3.933a.5.5 0 01-.534-.022l-.07-.057a.5.5 0 01-.057-.638l.057-.07 1-1 .07-.057a.5.5 0 01.568 0l.07.057 1 1 .057.07a.5.5 0 010 .568l-.057.07-.07.057a.5.5 0 01-.534.022V5.75h1.817a.5.5 0 01.022-.534l.057-.07a.5.5 0 01.638-.057l.07.057 1 1a.5.5 0 01.057.638l-.057.07-1 1a.5.5 0 01-.787-.604H7.75v1.817a.5.5 0 01.534.022l.07.057a.5.5 0 01.057.638l-.057.07-1 1a.5.5 0 01-.638.057l-.07-.057-1-1a.5.5 0 01.605-.787L6.25 7.25H4.433zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Et(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V12h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H10V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm.164 10.75a3 3 0 100 6 3 3 0 000-6zm.75-8.129V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621zm-.75 15.629a4.5 4.5 0 113.632-1.842l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.479 4.479 0 01-2.495.755z",fill:"currentColor",fillRule:"evenodd"}))}function xt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V12.5h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V17H20v3.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm-.032 9.147a.75.75 0 01.882-.007l.094.08.073.084a.75.75 0 01.007.882l-.08.094L12.811 14h6.439l.102.007a.75.75 0 010 1.486l-.102.007h-6.439l1.72 1.72.072.084a.75.75 0 01-1.05 1.049l-.083-.073-3-3-.073-.084a.75.75 0 01-.007-.882l.08-.094 3-3 .084-.073zm.946-6.526V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"}))}function yt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V14h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H12V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm5.218 13.647a.75.75 0 011.049 1.05l-.073.083-1.969 1.97 1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073-1.97-1.969-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083 1.969-1.97-1.97-1.97a.75.75 0 01.977-1.133l.084.073 1.97 1.969 1.97-1.97.084-.072zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"}))}function zt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 14v6.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V14h4v1.5H5.5v4.75a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V15.5H16V14h4zm-6 0v1.5h-4V14h4zm0-3v1.5h-4V11h4zm.5-6.379V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621zM4 3.75C4 2.784 4.784 2 5.75 2h7.836a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V12.5h-4V11h2.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V11H8v1.5H4V3.75z",fill:"currentColor",fillRule:"evenodd"}))}function Rt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V10H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM10 10a6 6 0 110 12 6 6 0 010-12zm0 1.5a4.5 4.5 0 100 9 4.5 4.5 0 000-9zm0 .75a.75.75 0 01.743.648l.007.102v3a.75.75 0 01-.648.743L10 16.75H8a.75.75 0 01-.102-1.493L8 15.25l1.25-.001V13a.75.75 0 01.648-.743L10 12.25zm4.5-7.629V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Ct(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zM13 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm2.5 12.25a.75.75 0 01.102 1.493l-.102.007h-7a.75.75 0 01-.102-1.493l.102-.007h7zm0-4a.75.75 0 01.102 1.493l-.102.007h-7a.75.75 0 01-.102-1.493l.102-.007h7zm-1-7.129V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"}))}function St(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 16.25a.75.75 0 01.743.648L21 17v1.25a3.75 3.75 0 01-3.55 3.745l-.2.005H6.75a3.75 3.75 0 01-3.745-3.55L3 18.25V17a.75.75 0 011.493-.102L4.5 17v1.25a2.25 2.25 0 002.096 2.245l.154.005h10.5a2.25 2.25 0 002.245-2.096l.005-.154V17a.75.75 0 01.75-.75zm-3.5.75a.75.75 0 110 1.5h-9.5a.75.75 0 110-1.5h9.5zM12 2a.75.75 0 01.743.648l.007.102v9.189l2.22-2.22a.75.75 0 011.133.977l-.073.084-3.5 3.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012L12 14.5l-.052-.002-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.22 2.219V2.75A.75.75 0 0112 2z",fill:"currentColor",fillRule:"evenodd"}))}function Nt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M9.5 15.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-5-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-5-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function Ot(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17 4c1.583 0 3.165.45 4.748 1.352a.5.5 0 01.252.435V18.65a.5.5 0 01-.728.445C19.848 18.365 18.424 18 17 18c-1.667 0-3.333.5-5 1.5-1.667-1-3.333-1.5-5-1.5-1.424 0-2.848.365-4.272 1.095A.5.5 0 012 18.65V5.787a.5.5 0 01.252-.435C3.835 4.451 5.417 4 7 4c1.667 0 3.333.5 5 1.5 1.667-1 3.333-1.5 5-1.5zM7 13.5c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928C9.289 13.677 8.226 13.5 7 13.5zm10 0c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928c-.897-.359-1.96-.536-3.186-.536zm-10-3c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928C9.289 10.677 8.226 10.5 7 10.5zm10 0c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928c-.897-.359-1.96-.536-3.186-.536zm-10-3c-1.227 0-2.289.177-3.186.536a.5.5 0 00.372.928C4.956 8.656 5.893 8.5 7 8.5s2.044.156 2.814.464a.5.5 0 10.372-.928C9.289 7.677 8.226 7.5 7 7.5zm10 0c-1.227 0-2.289.177-3.186.536a.5.5 0 00.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928C19.289 7.677 18.226 7.5 17 7.5z",fill:"currentColor",fillRule:"evenodd"}))}function At(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13 2v5.25l.006.144a1.75 1.75 0 001.593 1.6L14.75 9H20v11.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2H13zm-3 7.75c-1.572 0-2.858 1.745-3.337 3.877l-.048.23-.039.217c-.138.832-.124 1.608.046 2.26l.07.238.055.148-.191.101c-.33.166-.672.305-1.025.413a.75.75 0 00.339 1.457l.1-.023.281-.092c.35-.122.691-.268 1.02-.435l.325-.174.098-.059.02.014c.302.18.66.293 1.074.32L9 18.25l.255-.004c1.076-.038 1.983-.315 2.706-.82l.193-.145.124-.104.014.052c.044.14.098.262.164.369l.069.102.086.107c.579.665 1.275.432 2.018-.32l.117-.122.102-.115.021.104c.043.2.09.356.163.512.209.456.598.755 1.132.708.582-.052 1.196-.55 2.042-1.612l.162-.206.32-.425.17-.23a.75.75 0 00-1.144-.965l-.071.085-.293.396-.28.362-.251.308-.22.256-.187.205-.11.112-.082-.493-.042-.199-.024-.09c-.083-.294-.201-.52-.436-.692-.598-.437-1.122-.163-1.695.514l-.258.312-.107.118-.007-.214a12.73 12.73 0 01.094-1.533c.1-.89-1.135-1.152-1.438-.372l-.033.103-.057.203c-.397 1.321-1.216 2.03-2.562 2.195l-.217.022-.176.009.199-.19a8.876 8.876 0 001.813-2.556c1.013-2.18.695-4.247-1.274-4.247zm0 1.5c.406 0 .531.695-.005 1.934l-.081.181-.116.237a7.434 7.434 0 01-1.401 1.893l-.25.236-.105.089-.032-.177c-.06-.406-.037-.911.077-1.5C8.402 12.53 9.306 11.25 10 11.25zm4.5-4V2L20 7.5h-5.25l-.057-.007a.25.25 0 01-.184-.175L14.5 7.25z",fill:"currentColor",fillRule:"evenodd"}))}function It(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.013 4.513a1.75 1.75 0 012.35-.114l.124.114 1.586 1.585a1.75 1.75 0 01.114 2.35l-.114.125L8.061 20.586H4v-4.06L16.013 4.512zm-1.514 3.633l-8.999 9v1.94h1.938l9-9.001-1.939-1.939zm2.928-2.573a.25.25 0 00-.3-.04l-.054.04-1.513 1.512 1.939 1.939 1.514-1.511a.25.25 0 00.065-.24l-.025-.06-.04-.054-1.586-1.586z",fill:"currentColor"}))}function Lt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 20.5a.75.75 0 110 1.5H3.75a.75.75 0 110-1.5h16.5zM16.013 2.927a1.75 1.75 0 012.35-.114l.124.114 1.586 1.586a1.75 1.75 0 01.114 2.35l-.114.124L8.061 19H4v-4.06L16.013 2.926zM14.499 6.56l-8.999 9v1.94h1.938l9-9-1.939-1.94zm2.928-2.573a.25.25 0 00-.3-.04l-.054.04L15.56 5.5l1.939 1.94 1.514-1.512a.25.25 0 00.065-.24l-.025-.06-.04-.054-1.586-1.586z",fill:"currentColor",fillRule:"evenodd"}))}function Ht(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 10.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm10 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function Mt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 15.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm0-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm0-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function kt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-2.25 9.5a.75.75 0 110 1.5H6.75a.75.75 0 110-1.5h10.5zm0-3.5a.75.75 0 110 1.5H6.75a.75.75 0 110-1.5h10.5zm0-3.5a.75.75 0 110 1.5H6.75a.75.75 0 010-1.5h10.5z",fill:"currentColor",fillRule:"evenodd"}))}function Vt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-7.25 2a.5.5 0 01.5.5v9a.5.5 0 01-.5.5h-.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h.5zm-3.5 7.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 010 1.5h-2a.75.75 0 010-1.5h2zm8.5 0a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2z",fill:"currentColor",fillRule:"evenodd"}))}function jt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.75 12.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm.5-9.5c.966 0 1.75.784 1.75 1.75l.001 6.687a5.96 5.96 0 00-1.5-.39L19.5 6h-15v13.25a.25.25 0 00.193.243l.057.007h8.544a5.99 5.99 0 00.985 1.5H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-.5 16a.75.75 0 100 1.5.75.75 0 000-1.5zm0-5.5a.75.75 0 00-.743.648L18 14.25v3.5a.75.75 0 001.493.102l.007-.102v-3.5a.75.75 0 00-.75-.75zM12.25 8a.5.5 0 01.5.5v9a.5.5 0 01-.5.5h-.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h.5zm-3.5 7.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 010 1.5h-2a.75.75 0 010-1.5h2zm8.5 0a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2z",fill:"currentColor",fillRule:"evenodd"}))}function Tt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zm.25-12.5a.25.25 0 00-.243.193L7.5 3.75V9.5c-.54 0-1.053.164-1.5.464V3.75C6 2.784 6.784 2 7.75 2h7.525c.464 0 .91.184 1.238.513l3.974 3.974c.329.329.513.774.513 1.238V18.25A1.75 1.75 0 0119.25 20h-6.038l-.01-.063a11.184 11.184 0 00-.369-1.437h6.417a.25.25 0 00.243-.193l.007-.057v-10h-3a1.75 1.75 0 01-1.744-1.606L14.75 6.5v-3h-7zm-.25 7c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm9.75 3a.75.75 0 110 1.5h-5.5a.75.75 0 110-1.5h5.5zm0-3a.75.75 0 110 1.5h-6a.75.75 0 110-1.5h6zm1.378-3.75L16.25 4.371V6.5a.25.25 0 00.193.243l.057.007h2.128z",fill:"currentColor",fillRule:"evenodd"}))}function Dt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zm14.263-3.75c.155.24.237.491.237.75 0 1.272-1.978 2.358-4.77 2.795l-.516.072c-.7.087-1.443.133-2.214.133-1.25 0-2.43-.122-3.466-.339a4.583 4.583 0 00-1.063-.672c.175-.294.313-.626.404-.984.945.25 2.042.417 3.225.474l.612.019.288.002.453-.006c3.293-.078 6.014-1.006 6.81-2.243zM7.5 10.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm14.263-1.75c.155.24.237.491.237.75 0 1.272-1.978 2.358-4.77 2.795l-.516.072c-.7.087-1.443.133-2.214.133-1.524 0-2.941-.182-4.125-.494a3.637 3.637 0 00-.68-1.398 3.187 3.187 0 00-.47-.478c1.163.463 2.705.773 4.423.85l.564.018.288.002.453-.006c3.293-.078 6.014-1.006 6.81-2.243zM14.5 3c.77 0 1.514.046 2.214.133l.516.072C20.022 3.642 22 4.728 22 6s-1.978 2.358-4.77 2.795l-.516.072c-.7.087-1.443.133-2.214.133-.77 0-1.514-.046-2.214-.133l-.516-.072C8.978 8.358 7 7.272 7 6s1.978-2.358 4.77-2.795l.516-.072A18.02 18.02 0 0114.5 3zm0 1.5c-1.835 0-3.538.288-4.746.771-.456.183-.81.381-1.042.57L8.538 6l.082.078c.225.212.613.442 1.134.65 1.208.484 2.91.772 4.746.772 1.835 0 3.538-.288 4.746-.771.456-.183.81-.381 1.042-.57L20.461 6l-.081-.078c-.225-.212-.613-.442-1.134-.65-1.208-.484-2.91-.772-4.746-.772z",fill:"currentColor",fillRule:"evenodd"}))}function Ft(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.275 17.75c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zM14.25 3c.966 0 1.75.784 1.75 1.75V9c-.516 0-1.018.026-1.5.074V5.5h-11v10.75a.25.25 0 00.193.243l.057.007H9V18H3.75A1.75 1.75 0 012 16.25V4.75C2 3.784 2.784 3 3.75 3h10.5zm-3.975 11.75c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zM16 10c3.314 0 6 1.12 6 2.5S19.314 15 16 15s-6-1.12-6-2.5 2.686-2.5 6-2.5zm-8.25 3a.75.75 0 110 1.5h-1.5a.75.75 0 110-1.5h1.5zM16 11.5c-1.425 0-2.742.232-3.666.617a3.354 3.354 0 00-.65.347l-.048.036.048.036c.126.091.292.186.493.278l.157.07c.924.384 2.24.616 3.666.616 1.425 0 2.742-.232 3.666-.617.273-.114.492-.233.65-.347l.047-.037-.047-.035a3.044 3.044 0 00-.493-.278l-.157-.07c-.924-.384-2.24-.616-3.666-.616zM8.25 10a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm3.5-3a.75.75 0 110 1.5h-5.5a.75.75 0 010-1.5h5.5z",fill:"currentColor",fillRule:"evenodd"}))}function Pt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.371 18.835l1.564 1.565a.998.998 0 010 1.414l-.392.393a.996.996 0 01-1.414 0l-1.565-1.565 1.807-1.807zM7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zm7.5 2.5l1.498 1.5h-3.286l-.01-.063a11.184 11.184 0 00-.369-1.437H15zm.453-4.586l4.212 4.213-1.808 1.808-4.21-4.213-.005-1.762 1.811-.046zM15.275 2c.464 0 .91.184 1.238.513l3.974 3.974c.329.329.513.774.513 1.238v10.334l-1.5-1.501V8.25h-3a1.75 1.75 0 01-1.744-1.606L14.75 6.5v-3h-7a.25.25 0 00-.243.193L7.5 3.75V9.5c-.54 0-1.053.164-1.5.464V3.75C6 2.784 6.784 2 7.75 2h7.525zM7.5 10.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm7.25 1a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm1.5-7.129V6.5a.25.25 0 00.193.243l.057.007h2.128L16.25 4.371z",fill:"currentColor",fillRule:"evenodd"}))}function Bt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.5 8l3 3v8.25A1.75 1.75 0 0120.75 21h-7.5a1.75 1.75 0 01-1.75-1.75v-9.5c0-.966.784-1.75 1.75-1.75h6.25zm-1 1.5h-5.25a.25.25 0 00-.243.193L13 9.75v9.5a.25.25 0 00.193.243l.057.007h7.5a.25.25 0 00.243-.193L21 19.25V12h-2.5V9.5zm.25 7a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zM6.25 14a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM18 3a1.75 1.75 0 011.744 1.606l.006.144V7h-6.27a3.11 3.11 0 00-1.955.675l-.152.13a2.654 2.654 0 00-.866 1.757l-.007.188v5.5H8.738a2.5 2.5 0 00-2.324-2.245L6.25 13a2.5 2.5 0 00-2.488 2.25H2.25l-.102-.007a.75.75 0 01-.641-.641L1.5 14.5V9.929l.008-.108a.75.75 0 01.112-.3l.066-.086 3-3.429.076-.075a.75.75 0 01.381-.173l.107-.008h2.5v-1a1.75 1.75 0 011.606-1.744L9.5 3H18zm.75 10.5a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zM7 7.25H5.59L4 9.068V10h3V7.25z",fill:"currentColor",fillRule:"evenodd"}))}function _t(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.775 17.75c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zm0-3c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zM6.25 14a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM18 3a1.75 1.75 0 011.744 1.606l.006.144.001 4.617A13.959 13.959 0 0016.5 9c-1.809 0-3.443.316-4.627.81-.695.289-1.247.646-1.628 1.029-.458.46-.695.97-.738 1.488L9.5 12.5v2.75h-.762a2.5 2.5 0 00-2.324-2.245L6.25 13a2.5 2.5 0 00-2.488 2.25H2.25l-.102-.007a.75.75 0 01-.641-.641L1.5 14.5V9.929l.008-.108a.75.75 0 01.112-.3l.066-.086 3-3.429.076-.075a.75.75 0 01.381-.173l.107-.008h2.5v-1a1.75 1.75 0 011.606-1.744L9.5 3H18zm-1.5 7c3.314 0 6 1.12 6 2.5s-2.686 2.5-6 2.5-6-1.12-6-2.5 2.686-2.5 6-2.5zm0 1.5c-1.425 0-2.742.232-3.666.617a3.354 3.354 0 00-.65.347l-.048.036.048.036c.126.091.292.186.493.278l.157.07c.924.384 2.24.616 3.666.616 1.425 0 2.742-.232 3.666-.617.273-.114.492-.233.65-.347l.047-.037-.047-.035a3.044 3.044 0 00-.493-.278l-.157-.07c-.924-.384-2.24-.616-3.666-.616zM7 7.25H5.59L4 9.068V10h3V7.25z",fill:"currentColor",fillRule:"evenodd"}))}function Gt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 4c.966 0 1.75.784 1.75 1.75v6.14l-1.5-.001v-5.55l-8.04 6.253a.75.75 0 01-.826.062l-.094-.062L3.5 6.339V18.25a.25.25 0 00.193.243l.057.007H12V20H3.75A1.75 1.75 0 012 18.25V5.75C2 4.784 2.784 4 3.75 4h16.5zm1.53 9.72a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-3-3a.75.75 0 01.976-1.133l.084.073 2.47 2.469 4.47-4.47a.75.75 0 011.06 0zM19.134 5.5H4.865L12 11.049 19.134 5.5z",fill:"currentColor",fillRule:"evenodd"}))}function qt(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.137 5.07l8.77 7.016a1.75 1.75 0 002.186 0l8.77-7.016c.088.209.137.439.137.68v12.5A1.75 1.75 0 0120.25 20H3.75A1.75 1.75 0 012 18.25V5.75c0-.241.049-.471.137-.68zM3.28 4.064c.15-.042.307-.064.47-.064h16.5c.163 0 .32.022.47.064l-8.564 6.85a.25.25 0 01-.312 0L3.28 4.064z",fill:"currentColor"}))}function $t(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 4c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0120.25 20H3.75A1.75 1.75 0 012 18.25V5.75C2 4.784 2.784 4 3.75 4h16.5zm.25 2.339l-8.04 6.253a.75.75 0 01-.826.062l-.094-.062L3.5 6.339V18.25a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057V6.339zM19.134 5.5H4.865L12 11.049 19.134 5.5z",fill:"currentColor",fillRule:"evenodd"}))}function Kt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H13.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V4.75a.25.25 0 00-.193-.243L19.25 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75v5.75H3V4.75C3 3.784 3.784 3 4.75 3h14.5zm-9 9c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0110.25 21h-5.5A1.75 1.75 0 013 19.25v-5.5c0-.966.784-1.75 1.75-1.75h5.5zm0 1.5h-5.5a.25.25 0 00-.243.193l-.007.057v5.5a.25.25 0 00.193.243l.057.007h5.5a.25.25 0 00.243-.193l.007-.057v-5.5a.25.25 0 00-.193-.243l-.057-.007zm7.25-7.75a.75.75 0 01.743.648l.007.102V10a.75.75 0 01-1.493.102L16.75 10V8.31l-3.22 3.22a.75.75 0 01-1.133-.976l.073-.084 3.218-3.22H14a.75.75 0 01-.743-.648L13.25 6.5a.75.75 0 01.648-.743L14 5.75h3.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ut(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2a1.75 1.75 0 011.744 1.606L20 3.75v16a.75.75 0 01-.177.484l-.074.076-1.813 1.613a.75.75 0 01-.908.068l-.089-.068-1.314-1.17-1.314 1.17a.75.75 0 01-.811.121l-.097-.053-.089-.068L12 20.753l-1.314 1.17a.75.75 0 01-.811.121l-.097-.053-.089-.068-1.314-1.17-1.314 1.17a.75.75 0 01-.811.121l-.097-.053-.089-.068-1.813-1.613a.75.75 0 01-.243-.454L4 19.75v-16a1.75 1.75 0 011.606-1.744L5.75 2h12.5zm0 1.5H5.75a.25.25 0 00-.243.193L5.5 3.75v15.662l1.063.946 1.313-1.168a.75.75 0 01.812-.122l.096.053.09.069 1.314 1.168 1.313-1.168a.75.75 0 01.812-.122l.096.053.09.069 1.314 1.168 1.313-1.168a.75.75 0 01.812-.122l.096.053.09.069 1.314 1.168 1.062-.945V3.75a.25.25 0 00-.13-.22l-.063-.023-.057-.007zm-2.5 9.5a.75.75 0 110 1.5h-7.5a.75.75 0 110-1.5h7.5zm-3-3.5a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5zm3-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function Wt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H12.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v8.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM4.648 14.507l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L9 20.25v-3.19l-4.72 4.72a.75.75 0 01-1.133-.976l.073-.084L7.938 16H4.75a.75.75 0 01-.743-.648L4 15.25a.75.75 0 01.648-.743zM16.5 16.5v2h-4v-2h4zm0-3v2h-4v-2h4zm-5-3v2h-4v-2h4zm5 0v2h-4v-2h4zm-2-5.879V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Jt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H12.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v8.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM4.648 14.507l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L9 20.25v-3.19l-4.72 4.72a.75.75 0 01-1.133-.976l.073-.084L7.938 16H4.75a.75.75 0 01-.743-.648L4 15.25a.75.75 0 01.648-.743zM14.5 4.62v2.63a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Yt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.5 7.999V9.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5H15.5V7.999L18.25 8c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8l2.75-.001zM11.992 2l.1.006.076.013.08.023.107.047.091.058.084.073 3 3a.75.75 0 01-.976 1.133l-.084-.073-1.72-1.719V15.25a.75.75 0 01-1.493.102l-.007-.102V4.561l-1.72 1.72a.75.75 0 01-1.133-.977l.073-.084 3-3a.753.753 0 01.125-.101l.088-.049.119-.043.106-.021A.754.754 0 0111.992 2z",fill:"currentColor",fillRule:"evenodd"}))}function Qt(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.53 2.47a.75.75 0 00-1.06 1.06l3.605 3.605a10.258 10.258 0 00-4.097 6.208.75.75 0 101.466.314 8.757 8.757 0 013.71-5.443l1.987 1.988a4 4 0 005.656 5.656l5.673 5.672a.75.75 0 101.06-1.06l-18-18zm10.207 12.328l-3.535-3.535a2.5 2.5 0 003.535 3.535zM12.061 9L16 12.94A4 4 0 0012.06 9zM8.815 5.754l1.218 1.218a8.753 8.753 0 0110.523 6.685.75.75 0 101.467-.314C21.032 8.718 16.922 5.25 12 5.25c-1.112 0-2.182.177-3.185.504z",fill:"currentColor"}))}function Xt(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.444 13.657a8.753 8.753 0 0117.112 0 .75.75 0 101.466-.314C21.033 8.718 16.922 5.25 12 5.25c-4.922 0-9.031 3.468-10.022 8.093a.75.75 0 101.466.314zM14.5 13a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm1.5 0a4 4 0 11-8 0 4 4 0 018 0z",fill:"currentColor"}))}function Zt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 2a.75.75 0 01.75.75v2a.75.75 0 01-.15.45l-5.7 7.6a.75.75 0 00-.15.45v6.725a.75.75 0 01-.494.705l-4 1.454A.75.75 0 019.5 21.43v-8.163a.75.75 0 00-.168-.473L3.168 5.207A.75.75 0 013 4.734V2.75A.75.75 0 013.75 2h16.5z",fill:"currentColor",fillRule:"evenodd"}))}function en(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 2a.75.75 0 01.75.75v2a.75.75 0 01-.15.45l-5.7 7.6a.75.75 0 00-.15.45v6.725a.75.75 0 01-.494.705l-4 1.454A.75.75 0 019.5 21.43v-8.163a.75.75 0 00-.168-.473L3.168 5.207A.75.75 0 013 4.734V2.75A.75.75 0 013.75 2h16.5zm-.75 1.5h-15v.967l5.996 7.38c.285.351.457.779.496 1.226l.008.193v7.092l2.5-.91V13.25c0-.426.12-.842.347-1.2l.103-.15 5.55-7.401V3.5z",fill:"currentColor",fillRule:"evenodd"}))}function tn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.75 3.75A.75.75 0 019.5 3h12a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0V4.5h-4.5v15h1.25a.75.75 0 010 1.5h-4a.75.75 0 010-1.5h1.25v-15h-4.5v.75a.75.75 0 01-1.5 0v-1.5zM6.5 9.25h4a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-.75h-2.5v8.75H8.5a.75.75 0 010 1.5h-4a.75.75 0 010-1.5h1.25v-8.75h-2.5v.75a.75.75 0 01-1.5 0V10a.75.75 0 01.75-.75h4z",fill:"currentColor"}))}function nn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-.925 3.324a.75.75 0 00-.95.263l-.051.088-4.124 8.591-2.924-6.09-.057-.1a.751.751 0 00-1.238 0l-.057.1-1.724 3.59-.524-1.09-.05-.09a.75.75 0 00-1.34.644l.038.095 1.2 2.5.057.1a.751.751 0 001.238 0l.057-.1L9.6 11.233l2.924 6.092.057.1a.751.751 0 001.238 0l.057-.1 4.8-10 .038-.095a.75.75 0 00-.39-.906z",fill:"currentColor",fillRule:"evenodd"}))}function ln(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.158 2.017a.75.75 0 01.59.79l-.015.102-1.047 4.841H20a.75.75 0 01.102 1.493L20 9.25h-2.638l-1.189 5.5H18.5a.75.75 0 01.102 1.493l-.102.007h-2.652l-1.115 5.159a.75.75 0 01-1.48-.216l.014-.101 1.046-4.842H7.848l-1.115 5.159a.75.75 0 01-1.48-.216l.014-.101 1.046-4.842H4a.75.75 0 01-.102-1.493L4 14.75h2.637l1.189-5.5H5.5a.75.75 0 01-.102-1.493L5.5 7.75h2.651l1.116-5.158a.75.75 0 011.48.216l-.014.1L9.686 7.75h6.465l1.116-5.158a.75.75 0 01.891-.575zM14.637 14.75l1.189-5.5H9.362l-1.189 5.5h6.464z",fill:"currentColor",fillRule:"evenodd"}))}function an(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM3 19.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zM2.25 12a.75.75 0 01.75-.75h8.5a.75.75 0 010 1.5H3a.75.75 0 01-.75-.75zM3 3.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function rn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM2.25 7.5A.75.75 0 013 6.75h8.5a.75.75 0 010 1.5H3a.75.75 0 01-.75-.75zM3 11.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zm0 4.5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function on(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM2.25 9A.75.75 0 013 8.25h8.5a.75.75 0 010 1.5H3A.75.75 0 012.25 9zM3 11.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zm0 3a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function sn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM2.25 6A.75.75 0 013 5.25h8.5a.75.75 0 010 1.5H3A.75.75 0 012.25 6zM3 11.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zm0 6a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function cn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 6l8 8v7a1 1 0 01-1 1h-5v-5a1 1 0 00-.883-.993L13 16h-2a1 1 0 00-.993.883L10 17v5H5a1 1 0 01-1-1v-7l8-8zm.613-3.79l.094.083L17 6.585V4.75a.5.5 0 01.5-.5h1a.5.5 0 01.5.5v3.835l2.707 2.708a1 1 0 01-1.32 1.497l-.094-.083L12 4.415l-8.293 8.292a1 1 0 01-1.32.083l-.094-.083a1 1 0 01-.083-1.32l.083-.094 9-9a1 1 0 011.32-.083z",fill:"currentColor",fillRule:"evenodd"}))}function un(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 6c.966 0 1.75.784 1.75 1.75v11.5A1.75 1.75 0 0116.25 21H4.75A1.75 1.75 0 013 19.25V7.75C3 6.784 3.784 6 4.75 6h11.5zm0 1.5H4.75a.25.25 0 00-.243.193L4.5 7.75v11.5a.25.25 0 00.193.243l.057.007h11.5a.25.25 0 00.243-.193l.007-.057V7.75a.25.25 0 00-.193-.243L16.25 7.5zm-4.264 6.889l3.164 3.961h-9.5l2.375-3.164 1.605 2.148 2.356-2.945zM19.25 3a1.75 1.75 0 011.744 1.606L21 4.75v12.5a.75.75 0 01-1.493.102l-.007-.102V4.75a.25.25 0 00-.193-.243L19.25 4.5H6.75a.75.75 0 01-.102-1.493L6.75 3h12.5z",fill:"currentColor",fillRule:"evenodd"}))}function dn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.5 8v1.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5H15.5V8h2.75c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8H8.5zM12 2a.75.75 0 01.743.648l.007.102v10.689l1.72-1.72a.75.75 0 011.133.977l-.073.084-3 3a.753.753 0 01-.125.101l-.088.049-.119.043-.106.021-.041.004-.07.002-.073-.006-.076-.013-.08-.023-.1-.043a.75.75 0 01-.182-.135l-3-3a.75.75 0 01.976-1.133l.084.073 1.72 1.719V2.75A.75.75 0 0112 2z",fill:"currentColor",fillRule:"evenodd"}))}function mn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.997v2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.221a1 1 0 00.916.598h3.694a1 1 0 00.915-.598l.976-2.22a1 1 0 01.915-.599h3.228l-.525-1.5h2.118l.428 1.22c.065.185.098.38.098.578v3.952a1.75 1.75 0 01-1.607 1.744l-.143.006H3.75A1.75 1.75 0 012 18.247v-3.952c0-.197.033-.393.098-.578L5.09 5.169a1.75 1.75 0 011.652-1.172H12zM17.966 1c2.373 0 4.052 1.688 4.052 3.99 0 .988-.267 1.349-1.03 1.386l-.14.003h-4.72v.404c.01 1.301.836 2.136 2.216 2.136.64 0 1.114-.139 1.502-.41l.403-.307c.267-.196.425-.276.705-.276.483 0 .817.334.817.844 0 .367-.2.72-.554 1.016l-.278.216c-.63.455-1.627.727-2.745.727-2.653 0-4.32-1.515-4.416-4.023l-.005-.23V5.27c0-2.547 1.688-4.27 4.193-4.27zM18 2.763c-1.09 0-1.805.769-1.868 1.932l-.004.186h3.674v-.017c0-1.275-.703-2.101-1.802-2.101z",fill:"currentColor"}))}function gn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5 4v2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.22a1 1 0 00.916.599h3.694a1 1 0 00.915-.598l.976-2.221a1 1 0 01.915-.598h3.228l-.525-1.5h2.118l.428 1.22c.065.185.098.38.098.577v3.953a1.75 1.75 0 01-1.607 1.744L20.25 20H3.75A1.75 1.75 0 012 18.25v-3.953c0-.197.033-.392.098-.578L5.09 5.172A1.75 1.75 0 016.742 4H13.5zM20 1l3 3v6c0 .51-.388.935-.884.993L22 11h-6.005a.998.998 0 01-.988-.884L15 10l.005-8a1 1 0 01.879-.993L16 1h4zm-1 1v3h3l-3-3z",fill:"currentColor"}))}function fn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4v2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.22a1 1 0 00.916.599h3.694a1 1 0 00.915-.598l.976-2.221a1 1 0 01.915-.598h3.228l-.525-1.5h2.118l.428 1.22c.065.185.098.38.098.577v3.953a1.75 1.75 0 01-1.607 1.744L20.25 20H3.75A1.75 1.75 0 012 18.25v-3.953c0-.197.033-.392.098-.578L5.09 5.172A1.75 1.75 0 016.742 4H12zm6.167-2.76a.35.35 0 01.631-.074l.036.074 1.145 3.115 3.183.179c.283.016.421.342.286.57l-.043.058-.037.036-2.476 2.104.823 3.226c.073.288-.182.527-.43.46l-.068-.025-.042-.024L18.5 9.121l-2.674 1.816c-.24.163-.535-.018-.552-.286l.003-.075.01-.049.821-3.226-2.475-2.104a.384.384 0 01.088-.637l.068-.02.05-.007 3.183-.179 1.145-3.115z",fill:"currentColor"}))}function hn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.258 4c.744 0 1.407.47 1.652 1.172l2.992 8.547c.065.186.098.382.098.578v3.953a1.75 1.75 0 01-1.607 1.744L20.25 20H3.75A1.75 1.75 0 012 18.25v-3.953c0-.197.033-.392.098-.578L5.09 5.172A1.75 1.75 0 016.742 4h10.516zm-.177 2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.22a1 1 0 00.916.599h3.694a1 1 0 00.915-.598l.976-2.221a1 1 0 01.915-.598h3.228l-2.8-8z",fill:"currentColor"}))}function vn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.75 18.249A.75.75 0 0114 19h-4a.75.75 0 010-1.503h1.233V11H10a.75.75 0 010-1.503h1.983a.75.75 0 01.75.752v7.248H14a.75.75 0 01.75.752z",fill:"currentColor"}),t.createElement("path",{d:"M12.733 6.002a1 1 0 11-2.001.001 1 1 0 012.001-.001z",fill:"currentColor"}))}function pn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-8 12.25H4.5v4a.25.25 0 00.193.243l.057.007h6.5v-4.25zm8.25-5h-6.75v9.25h6.5a.25.25 0 00.243-.193l.007-.057v-9zm-2.996 2.383c.419 0 .71.26.755.67l.007.115v3.945c0 .442-.23.688-.637.688-.373 0-.597-.207-.635-.573l-.006-.115v-3.511h-.015l-.41.277c-.204.129-.313.168-.442.168a.431.431 0 01-.445-.445c0-.165.086-.314.256-.445l.091-.063.637-.426c.305-.195.582-.285.844-.285zM11.25 4.5h-6.5a.25.25 0 00-.243.193L4.5 4.75v9h6.75V4.5zM7.883 6.57c1.074 0 1.86.657 1.86 1.551 0 .505-.224.954-.764 1.519l-1.268 1.282v.055h1.625c.363 0 .59.195.59.515 0 .285-.18.468-.484.502L9.336 12H6.664c-.379 0-.629-.215-.629-.543 0-.208.102-.392.399-.699l.12-.121 1.352-1.39c.418-.427.594-.708.594-1.005 0-.383-.277-.64-.688-.64-.332 0-.574.168-.746.515-.171.266-.32.367-.546.367-.31 0-.524-.21-.524-.507 0-.727.82-1.407 1.887-1.407zM19.25 4.5h-6.5v4.25h6.75v-4a.25.25 0 00-.193-.243L19.25 4.5z",fill:"currentColor",fillRule:"evenodd"}))}function wn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 15a3.5 3.5 0 110 7 3.5 3.5 0 010-7zm0 2.25a1.25 1.25 0 100 2.5 1.25 1.25 0 000-2.5zm11.518-1.94l.04.121a1.25 1.25 0 01-.762 1.492l-.122.04-6.175 1.654.001-.117a4.48 4.48 0 00-.633-2.302l6.16-1.65a1.25 1.25 0 011.491.762zm-3.375-9.442l1.812 6.762a1 1 0 01-.707 1.224l-5.943 1.592a4.496 4.496 0 00-2.268-1.326L9.45 8.197a1 1 0 01.707-1.224l6.761-1.812a1 1 0 011.225.707zM3.657 1.536l.128.049 2.69 1.184c.304.133.54.381.66.686l.044.134L9.97 14l-.18.005a4.475 4.475 0 00-2.218.706L4.919 4.815l-2.141-.942a1.25 1.25 0 01-.69-1.52l.05-.128c.259-.59.918-.879 1.519-.689zM15.44 7.37a.75.75 0 00-.819-.55l-.1.02-1.449.388a.75.75 0 00.288 1.469l.1-.02 1.45-.388a.75.75 0 00.53-.919z",fill:"currentColor",fillRule:"evenodd"}))}function bn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.737 3.668c-.055 1.093.226 2.033.894 2.7.668.669 1.608.95 2.7.897a18.08 18.08 0 01-3.09 4.184 27.666 27.666 0 01-3.127 2.706v3.318a.553.553 0 01-.162.39l-3.975 3.975a.553.553 0 01-.943-.39V18.32a.55.55 0 01.162-.39l1.24-1.24a.553.553 0 00.161-.39v-.133c-1.238.463-2.218.487-2.735-.03-.517-.517-.493-1.497-.03-2.735H7.7a.553.553 0 00-.325.105l-.066.057-1.24 1.24a.553.553 0 01-.303.154l-.087.007H2.553a.553.553 0 01-.455-.867l.064-.076 3.975-3.975a.553.553 0 01.304-.155l.086-.007h3.318a27.666 27.666 0 012.706-3.126 18.078 18.078 0 014.186-3.092zM21.93 2.07c.104.105.095.547-.048 1.212l-.083.35-.107.386-.061.204-.142.43c-.154.444-.345.928-.575 1.436-1.073.193-1.96.04-2.501-.5-.523-.523-.684-1.37-.52-2.395l.019-.107a16.762 16.762 0 011.654-.649l.416-.13.197-.055.368-.095c.76-.18 1.27-.2 1.383-.087z",fill:"currentColor",fillRule:"evenodd"}))}function En(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 3a1 1 0 011 1v16a1 1 0 01-1 1H4a1 1 0 01-1-1V4a1 1 0 011-1h6zm10 0a1 1 0 011 1v16a1 1 0 01-1 1h-6a1 1 0 01-1-1V4a1 1 0 011-1h6z",fill:"currentColor",fillRule:"evenodd"}))}function xn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 3a1 1 0 011 1v16a1 1 0 01-1 1h-6a1 1 0 01-1-1V4a1 1 0 011-1h6zM10 3a1 1 0 011 1v16a1 1 0 01-1 1H4a1 1 0 01-1-1V4a1 1 0 011-1h6zm9.5 1.5h-5v15h5v-15z",fill:"currentColor",fillRule:"evenodd"}))}function yn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 3a1 1 0 01.993.883L11 4v16a1 1 0 01-.883.993L10 21H4a1 1 0 01-.993-.883L3 20V4a1 1 0 01.883-.993L4 3h6zm10 0a1 1 0 01.993.883L21 4v16a1 1 0 01-.883.993L20 21h-6a1 1 0 01-.993-.883L13 20V4a1 1 0 01.883-.993L14 3h6zM9.5 4.5h-5v15h5v-15z",fill:"currentColor",fillRule:"evenodd"}))}function zn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 3a1 1 0 011 1v16a1 1 0 01-1 1h-6a1 1 0 01-1-1V4a1 1 0 011-1h6zM10 3a1 1 0 01.993.883L11 4v16a1 1 0 01-.883.993L10 21H4a1 1 0 01-.993-.883L3 20V4a1 1 0 01.883-.993L4 3h6zm9.5 1.5h-5v15h5v-15zm-10 0h-5v15h5v-15z",fill:"currentColor",fillRule:"evenodd"}))}function Rn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 20.5V22h-5v-1.5h5zm-9-2.5v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zM20 18v2.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V18H20zm0-5.25v3.75h-1.5v-3.75H20zm-14.5 0v3.75H4v-3.75h1.5zM16.326 2.676a1.752 1.752 0 012.349-.113l.125.113.594.593c.59.589.676 1.502.21 2.216l-.094.131-.115.128-7.504 7.5-3 .008-.078-3.067 7.513-7.509zm-.796 2.916l-5.202 5.199.025.957.914-.002 5.209-5.207-.946-.947zM20 9v2.25h-1.5V9H20zM5.5 7.5v3.75H4V7.5h1.5zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm9.687 1.697a.252.252 0 00-.248 0l-.053.04-.796.795.946.947.82-.82a.248.248 0 00.043-.216l-.021-.053-.044-.06-.594-.593-.053-.04zM13 2v1.499L9.5 3.5V2H13z",fill:"currentColor",fillRule:"evenodd"}))}function Cn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.69 0 3.093.4 4.212 1.198a4.49 4.49 0 00-.83 1.255C12.996 13.307 11.875 13 10.5 13c-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007h6.506L12.5 22H5.993a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm8.725 9.474A1.259 1.259 0 0118 22c-.605 0-1.11-.44-1.225-1.026h2.45zM18 12c.456 0 .841.392.961.927A3 3 0 0121 15.769v2.898l.835.642a.5.5 0 01-.213.888l-.092.008h-7.06a.5.5 0 01-.305-.896l.835-.642v-2.898c0-1.32.854-2.442 2.04-2.843.119-.534.504-.926.96-.926zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function Sn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-8.75 9.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 010-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4z",fill:"currentColor",fillRule:"evenodd"}))}function Nn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.25 16.5V18h-2.5a.75.75 0 110-1.5h2.5zm12 0a.75.75 0 110 1.5h-2.5v-1.5h2.5zm-7.75 0V18H8.25v-1.5h3.25zm4.25 0V18H12.5v-1.5h3.25zm-8.5-3.501v1.5l-2.5.001a.75.75 0 110-1.5l2.5-.001zm12 .001a.75.75 0 110 1.5l-2.5-.001v-1.5l2.5.001zm-7.75-.001v1.5H8.25v-1.5h3.25zm4.25 0v1.5H12.5v-1.5h3.25zM7.25 9.5V11h-2.5a.75.75 0 110-1.5h2.5zm12 0a.75.75 0 110 1.5h-2.5V9.5h2.5zm-7.75 0V11H8.25V9.5h3.25zm4.25 0V11H12.5V9.5h3.25zM7.25 6v1.5h-2.5a.75.75 0 010-1.5h2.5zm12 0a.75.75 0 110 1.5h-2.5V6h2.5zM11.5 6v1.5H8.25V6h3.25zm4.25 0v1.5H12.5V6h3.25z",fill:"currentColor",fillRule:"evenodd"}))}function On(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.567 12.105a.4.4 0 01.1.309l-.29 2.798 2.434 1.41a.4.4 0 01-.116.737l-2.752.587-.587 2.752a.4.4 0 01-.738.116L15.21 18.38l-2.798.292a.4.4 0 01-.339-.666l1.88-2.092-1.141-2.571a.4.4 0 01.528-.528l2.57 1.141 2.093-1.88a.4.4 0 01.565.03zM19.25 3c.966 0 1.75.784 1.75 1.75V11h-1.5V6h-15v13.25a.25.25 0 00.193.243l.057.007H11V21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-8.5 12.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm0-3.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm0-3.5a.75.75 0 110 1.5h-4a.75.75 0 010-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4z",fill:"currentColor",fillRule:"evenodd"}))}function An(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75a1.75 1.75 0 01-1.732-1.499L19.25 19.5a.25.25 0 00.243-.193l.007-.057L19.499 6h-15v3.5h-1.5L3 4.75C3 3.784 3.784 3 4.75 3h14.5zM6.28 10.97a.75.75 0 01.073.976l-.073.084-1.719 1.719 5.689.001a.75.75 0 110 1.5l-5.69-.001 1.72 1.72a.75.75 0 01-.976 1.134l-.084-.073-3-3-.08-.094-.051-.081-.05-.116-.027-.103-.01-.089v-.094l.018-.124.03-.099.047-.099.054-.082.069-.08 3-3a.75.75 0 011.06 0zm10.97 4.53a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-3.5a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-3.5a.75.75 0 110 1.5h-8.5a.75.75 0 010-1.5h8.5z",fill:"currentColor",fillRule:"evenodd"}))}function In(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 15.25a.75.75 0 01.743.648l.007.102v3.439l1.22-1.22a.75.75 0 011.133.977l-.073.084-2.5 2.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.116.026-.056.006h-.104l-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-2.5-2.5a.75.75 0 01.977-1.133l.084.073 1.22 1.219V16a.75.75 0 01.75-.75zm-4.75-2.751v1.5L4.75 14a.75.75 0 110-1.5l2.5-.001zm12 .001a.75.75 0 110 1.5l-2.5-.001v-1.5l2.5.001zm-7.75-.001v1.5H8.25v-1.5h3.25zm4.25 0v1.5H12.5v-1.5h3.25zm-8.5-3.5v1.5l-2.5.001a.75.75 0 110-1.5l2.5-.001zm12 .001a.75.75 0 110 1.5l-2.5-.001v-1.5l2.5.001zm-7.75-.001v1.5H8.25v-1.5h3.25zm4.25 0v1.5H12.5v-1.5h3.25zm3.5-3.499a.75.75 0 110 1.5H4.75a.75.75 0 010-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 010-1.5h14.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ln(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 20.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm-2.5-8a.75.75 0 01.743.648l.007.102v3.439l1.22-1.22a.75.75 0 011.133.977l-.073.084-2.5 2.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012-.052.002-.052-.002-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-2.5-2.5a.75.75 0 01.977-1.133l.084.073L16 6.189V2.75a.75.75 0 01.75-.75zm-9.576.004l.128-.002.119.018.098.03.1.047.051.032.038.027.072.064 2.5 2.5a.75.75 0 01-.976 1.133L9.22 5.78 7.999 4.56 8 8a.75.75 0 01-1.493.102L6.5 8l-.001-3.438L5.28 5.78a.75.75 0 01-1.133-.976l.073-.084 2.5-2.5.042-.04.052-.04.114-.068.098-.038.084-.02a.75.75 0 01.064-.01z",fill:"currentColor",fillRule:"evenodd"}))}function Hn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.567 12.105a.4.4 0 01.1.309l-.29 2.798 2.434 1.41a.4.4 0 01-.116.737l-2.752.587-.587 2.752a.4.4 0 01-.738.116L15.21 18.38l-2.798.292a.4.4 0 01-.339-.666l1.88-2.092-1.141-2.571a.4.4 0 01.528-.528l2.57 1.141 2.093-1.88a.4.4 0 01.565.03zM4.5 15v4.25a.25.25 0 00.193.243l.057.007H11V21H4.75A1.75 1.75 0 013 19.25V15h1.5zm6.28-1.72l-3 3-.084.073a.75.75 0 01-1.049-1.05l.073-.083 1.718-1.72H2.75a.75.75 0 110-1.5h5.689l-1.72-1.72a.75.75 0 01.977-1.133l.084.073 3 3a.754.754 0 01.092.11l.054.095.035.086.027.103.01.084-.001.121-.017.102-.019.068-.023.06-.035.07-.06.09-.063.071zM19.25 3c.966 0 1.75.784 1.75 1.75V11h-1.5V6h-15v4.5H3V4.75C3 3.784 3.784 3 4.75 3h14.5z",fill:"currentColor",fillRule:"evenodd"}))}function Mn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zM19.25 2c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 20h-6.038l-.01-.063a11.184 11.184 0 00-.369-1.437h6.417a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L19.25 3.5H7.75a.25.25 0 00-.243.193L7.5 3.75V9.5c-.54 0-1.053.164-1.5.464V3.75C6 2.784 6.784 2 7.75 2h11.5zM7.5 10.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm9.75 3.5a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5zm0-4a.75.75 0 110 1.5h-6a.75.75 0 110-1.5h6zm0-4a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function kn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.598 20.501a2.999 2.999 0 01-5.196 0h5.196zm.152-2.251a.75.75 0 110 1.5h-5.5a.75.75 0 110-1.5h5.5zM12 4.5c3.314 0 6 2.716 6 6.067 0 1.502-.517 2.528-1.087 3.398l-.265.392-.39.561c-.418.614-.761 1.208-.82 1.929l-.01.22c0 .256-.112.4-.338.428L15 17.5H9c-.254 0-.395-.114-.423-.342l-.006-.091c0-.774-.328-1.414-.75-2.064l-.262-.392-.273-.402-.24-.364C6.492 12.978 6 11.973 6 10.567 6 7.217 8.686 4.5 12 4.5zM12 6c-2.482 0-4.5 2.04-4.5 4.567 0 .931.245 1.599.876 2.573l.647.96.152.234c.322.512.56.988.709 1.474l.052.192h4.128l.054-.192c.126-.402.314-.796.561-1.208l.156-.25.235-.352.408-.587c.736-1.07 1.022-1.78 1.022-2.844C16.5 8.04 14.482 6 12 6zm-5.846 7.875a.75.75 0 01-.19.968l-.084.057-.866.5a.75.75 0 01-.835-1.243l.085-.057.866-.5a.75.75 0 011.024.275zm12.625-.32l.091.045.866.5a.75.75 0 01-.658 1.344l-.092-.044-.866-.5a.75.75 0 01.659-1.344zm2.33-4.661a.75.75 0 01-.509.844l-.099.025-.985.173a.75.75 0 01-.36-1.453l.1-.024.985-.174a.75.75 0 01.868.609zm-17.451-.62l.101.011.985.174a.75.75 0 01-.159 1.488l-.101-.01-.985-.174a.75.75 0 01.159-1.489zm14.288-4.86a.75.75 0 01.152.974l-.06.083-.643.766a.75.75 0 01-1.209-.882l.06-.082.643-.766a.75.75 0 011.057-.093zM7.04 3.433l.07.074.644.766A.75.75 0 016.675 5.31l-.07-.073-.643-.766A.75.75 0 017.04 3.433zM12 1.25a.75.75 0 01.743.648L12.75 2v1a.75.75 0 01-1.493.102L11.25 3V2a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function Vn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18 11.25a.75.75 0 01.102 1.493L18 12.75H6a.75.75 0 01-.102-1.493L6 11.25h12z",fill:"currentColor",fillRule:"evenodd"}))}function jn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.25 16a.75.75 0 01.75.75v2.5a.75.75 0 01-.75.75h-2.5a.75.75 0 01-.75-.75v-2.5a.75.75 0 01.75-.75h2.5zm14 1.25a.75.75 0 01.102 1.493l-.102.007H10a.75.75 0 01-.102-1.493L10 17.25h10.25zM6.25 10a.75.75 0 01.75.75v2.5a.75.75 0 01-.75.75h-2.5a.75.75 0 01-.75-.75v-2.5a.75.75 0 01.75-.75h2.5zm14 1.25a.75.75 0 01.102 1.493l-.102.007H10a.75.75 0 01-.102-1.493L10 11.25h10.25zM6.25 4a.75.75 0 01.75.75v2.5a.75.75 0 01-.75.75h-2.5A.75.75 0 013 7.25v-2.5A.75.75 0 013.75 4h2.5zm14 1.25a.75.75 0 01.102 1.493l-.102.007H10a.75.75 0 01-.102-1.493L10 5.25h10.25z",fill:"currentColor",fillRule:"evenodd"}))}function Tn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17.5 11a4.5 4.5 0 013.632 7.158l.036-.05 1.862 1.862a.75.75 0 01-.976 1.133l-.084-.073-1.863-1.862-.112.077A4.5 4.5 0 1117.5 11zm-6.25 7.5a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5zm6.25-6a3 3 0 100 6 3 3 0 000-6zm-7.25 1.167a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5zm3-4.834a.75.75 0 110 1.5H2.75a.75.75 0 110-1.5h10.5zm8-4.833a.75.75 0 110 1.5H2.75a.75.75 0 010-1.5h18.5z",fill:"currentColor",fillRule:"evenodd"}))}function Dn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 18a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-4.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-4.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-4.5a.75.75 0 110 1.5H4.75a.75.75 0 010-1.5h14.5z",fill:"currentColor",fillRule:"evenodd"}))}function Fn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.843 4.568a8.707 8.707 0 0112.314 12.314l-1.187 1.174c-.875.858-2.01 1.962-3.406 3.312a2.25 2.25 0 01-3.128 0l-3.491-3.396c-.44-.431-.806-.794-1.102-1.09a8.707 8.707 0 010-12.314zm11.253 1.06A7.207 7.207 0 106.903 15.822l1.488 1.468c.818.801 1.848 1.801 3.088 3a.75.75 0 001.042 0l3.395-3.3c.47-.461.863-.85 1.18-1.168a7.207 7.207 0 000-10.192zM12 7.999a3.002 3.002 0 110 6.004A3.002 3.002 0 0112 8zm0 1.5a1.502 1.502 0 100 3.004A1.502 1.502 0 0012 9.5z",fill:"currentColor"}))}function Pn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 1a5.001 5.001 0 014.87 3.863.75.75 0 01-1.461.34 3.502 3.502 0 00-6.904.605L8.5 6v2h9.75c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8H7V6a5 5 0 015-5zm6.25 8.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5zM12 13a1.5 1.5 0 01.751 2.799l-.001.951a.75.75 0 11-1.5 0v-.95A1.5 1.5 0 0112 13z",fill:"currentColor",fillRule:"evenodd"}))}function Bn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1a5 5 0 015 5v2h1.25c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8H7V6a5 5 0 015-5zm6.25 8.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5zM12 13a1.5 1.5 0 01.751 2.799l-.001.951a.75.75 0 01-1.5 0v-.95A1.5 1.5 0 0112 13zm0-10.5a3.5 3.5 0 00-3.495 3.308L8.5 6v2h7V6a3.5 3.5 0 00-3.308-3.495L12 2.5z",fill:"currentColor"}))}function _n(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.25 4.5H6.5v15h6.75a1.25 1.25 0 110 2.5h-7A2.25 2.25 0 014 19.75V4.25A2.25 2.25 0 016.25 2h7a1.25 1.25 0 110 2.5zm6.384 2.616l-.102-.091a1.25 1.25 0 00-1.666 1.859l1.867 1.866H11.75l-.128.007a1.25 1.25 0 00.128 2.493h7.982l-1.866 1.866-.091.102a1.25 1.25 0 001.859 1.666l4-4 .08-.089.05-.063.068-.106.058-.112.049-.127.03-.108.016-.088.012-.112L24 12l-.004-.096-.016-.13-.03-.127-.03-.087-.046-.107-.046-.086-.065-.1a1.267 1.267 0 00-.13-.15l-4-4zm4.084 4.094l-.084-.094c.03.03.058.061.084.094z",fill:"currentColor"}))}function Gn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V10.5h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V19H20v1.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm-.105 10.074c1.447 0 2.3.875 2.367 2.279l.004.178v.621c0 1.5-.863 2.446-2.371 2.446-1.444 0-2.304-.872-2.371-2.268l-.004-.178v-.62c0-1.516.871-2.458 2.375-2.458zm5.362 0c1.328 0 2.058.776 2.172 1.653l.012.132h-1.25c-.074-.414-.406-.734-.945-.734-.638 0-1.007.443-1.05 1.222l-.005.16v.626c0 .805.293 1.414 1.09 1.414.598 0 .914-.34.956-.745l.005-.095v-.234h-.93v-.903h2.14v1.04c0 1.038-.667 1.988-2.199 1.988-1.57 0-2.3-.987-2.355-2.296l-.004-.165v-.64c0-1.427.84-2.423 2.363-2.423zm-10.182.094v4.262h2.141v1.07H7.376v-5.332h1.285zm4.82.95c-.597 0-1.012.415-1.062 1.23l-.005.168v.64c0 .926.43 1.399 1.067 1.399.593 0 1.008-.416 1.057-1.23l.005-.169v-.64c0-.926-.43-1.399-1.062-1.399zM14.5 4.62v2.63a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function qn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7 17.5a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5H3.5a.5.5 0 01-.5-.5V18a.5.5 0 01.5-.5H7zm5.5 0a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5H9a.5.5 0 01-.5-.5V18a.5.5 0 01.5-.5h3.5zm5.5 0a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5h-3.5a.5.5 0 01-.5-.5V18a.5.5 0 01.5-.5H18zM7 12a.5.5 0 01.5.5V16a.5.5 0 01-.5.5H3.5A.5.5 0 013 16v-3.5a.5.5 0 01.5-.5H7zm5.5 0a.5.5 0 01.5.5V16a.5.5 0 01-.5.5H9a.5.5 0 01-.5-.5v-3.5A.5.5 0 019 12h3.5zm6.97-2.523l.906 3.381a.5.5 0 01-.353.612l-3.381.906a.5.5 0 01-.612-.353l-.906-3.381a.5.5 0 01.353-.612l3.381-.906a.5.5 0 01.612.353zM7 6.5a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5H3.5a.5.5 0 01-.5-.5V7a.5.5 0 01.5-.5H7zm3.642-2.376l3.38.906a.5.5 0 01.354.612l-.906 3.38a.5.5 0 01-.612.354l-3.38-.906a.5.5 0 01-.354-.612l.906-3.38a.5.5 0 01.612-.354zM20 2a.5.5 0 01.5.5V6a.5.5 0 01-.5.5h-3.5A.5.5 0 0116 6V2.5a.5.5 0 01.5-.5H20z",fill:"currentColor",fillRule:"evenodd"}))}function $n(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H13l-.001-1.5h5.251a.25.25 0 00.243-.193l.007-.057L18.499 9H14.75a1.75 1.75 0 01-1.744-1.606L13 7.25l-.001-3.75H5.75a.25.25 0 00-.243.193L5.5 3.75 5.499 13H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM4.142 16.956a.5.5 0 01.55-.147l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082 1.238-2.143.051-.074zM8 14a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.6.221l-.083-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.033-1.798.75.75 0 11-.925-1.181A3.985 3.985 0 018 14zm6.499-9.38l.001 2.63a.25.25 0 00.193.243l.057.007h2.629l-2.88-2.88z",fill:"currentColor",fillRule:"evenodd"}))}function Kn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3a1.75 1.75 0 011.744 1.606L21 4.75v14.5a1.75 1.75 0 01-1.606 1.744L19.25 21H12v-1.5h7.25a.25.25 0 00.243-.193l.007-.057V5.996L19.406 6H4.5l.001 6H3V4.75a1.75 1.75 0 011.606-1.744L4.75 3h14.5zM3.696 15.809l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082 1.238-2.143.051-.074a.5.5 0 01.55-.147zM7.002 13a4.001 4.001 0 013.92 3.197l.357-.62a.5.5 0 01.602-.221l.081.038a.5.5 0 01.221.601l-.038.082-1.237 2.143a.5.5 0 01-.601.221l-.082-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.034-1.798.75.75 0 11-.924-1.181A3.985 3.985 0 017.002 13zm10.248 2a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm-.125-3.5c.483 0 .875.336.875.75s-.392.75-.875.75h-5.25c-.483 0-.875-.336-.875-.75s.392-.75.875-.75h5.25zM17.25 8a.75.75 0 110 1.5H6.75a.75.75 0 010-1.5h10.5z",fill:"currentColor",fillRule:"evenodd"}))}function Un(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M4 19h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-6h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z",fill:"currentColor"}))}function Wn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10 0 1.806-.479 3.5-1.316 4.962L20.66 17a.75.75 0 01-.933.32l-.091-.045-1.516-.875a.75.75 0 01.659-1.344l.091.044.84.485c.406-.874.67-1.83.757-2.834l-.967-.001a.75.75 0 01-.102-1.493l.102-.007h.967a8.447 8.447 0 00-.757-2.834l-.84.484a.75.75 0 01-.835-1.243l.085-.057.838-.483a8.548 8.548 0 00-2.075-2.075l-.483.838a.75.75 0 01-1.344-.659l.044-.091.484-.84a8.447 8.447 0 00-2.833-.757l-.001.967a.75.75 0 01-1.493.102L11.25 4.5v-.967a8.447 8.447 0 00-2.834.757l.484.84a.75.75 0 01-1.243.835L7.6 5.88l-.483-.838a8.548 8.548 0 00-2.075 2.075l.838.483a.75.75 0 01-.659 1.344L5.13 8.9l-.84-.484a8.447 8.447 0 00-.757 2.834H4.5a.75.75 0 01.102 1.493l-.102.007h-.967a8.427 8.427 0 00.758 2.835l.839-.485a.75.75 0 01.835 1.243l-.085.057-1.516.875A.75.75 0 013.34 17l-.02-.04-.003.003A9.954 9.954 0 012 12C2 6.477 6.477 2 12 2zm4.03 5.97a.75.75 0 01.073.976l-.073.084-2.792 2.794a1.25 1.25 0 11-1.061-1.061L14.97 7.97a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Jn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 15.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-10 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm0-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function Yn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H13.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V4.75a.25.25 0 00-.193-.243L19.25 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75v5.75H3V4.75C3 3.784 3.784 3 4.75 3h14.5zm-9 9c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0110.25 21h-5.5A1.75 1.75 0 013 19.25v-5.5c0-.966.784-1.75 1.75-1.75h5.5zm0 1.5h-5.5a.25.25 0 00-.243.193l-.007.057v5.5a.25.25 0 00.193.243l.057.007h5.5a.25.25 0 00.243-.193l.007-.057v-5.5a.25.25 0 00-.193-.243l-.057-.007zm7.78-7.53a.75.75 0 01.073.976l-.073.084-3.22 3.22h1.69a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743l-.102.007H13a.75.75 0 01-.743-.648L12.25 11V7.5a.75.75 0 011.493-.102l.007.102v1.688l3.22-3.218a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Qn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 8.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm0 5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm0-10a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor",fillRule:"evenodd"}))}function Xn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 10a2 2 0 110 4 2 2 0 010-4zm0 6.5a2 2 0 110 4 2 2 0 010-4zm0-13a2 2 0 110 4 2 2 0 010-4z",fill:"currentColor",fillRule:"evenodd"}))}function Zn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.924 6.254l.128-.002.119.018.098.03.1.047.051.032.038.027.072.064 3.5 3.5a.75.75 0 01-.976 1.133l-.084-.073-2.22-2.219V17a.75.75 0 01-1.493.102L6.25 17V8.811l-2.22 2.22a.75.75 0 01-1.133-.977l.073-.084 3.5-3.5.042-.04.052-.04.114-.068.098-.038.084-.02a.75.75 0 01.064-.01zM17 6.25a.75.75 0 01.743.648L17.75 7l-.001 8.19 2.22-2.22a.75.75 0 011.134.976l-.073.084-3.5 3.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012-.052.002-.052-.002-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.219 2.218L16.25 7a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function el(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.5 22v-.018A1.75 1.75 0 014 20.25V3.75c0-.882.652-1.61 1.5-1.732V2h12.75c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H5.5zM9 18.3H5.5v1.95a.25.25 0 00.193.243l.057.007H9v-2.2zm9.25-14.8H10.5v17h7.75a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5zM9 14.6H5.5v2.2H9v-2.2zm0-3.7H5.5v2.2H9v-2.2zm0-3.7H5.5v2.2H9V7.2zm0-3.7H5.75a.25.25 0 00-.243.193L5.5 3.75V5.7H9V3.5z",fill:"currentColor",fillRule:"evenodd"}))}function tl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H14v-1.5h4.25a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V11H4V3.75C4 2.784 4.784 2 5.75 2h12.5zM9.225 20.974A1.259 1.259 0 018 22c-.605 0-1.11-.44-1.225-1.026h2.45zM8 12c.456 0 .841.392.961.927A3 3 0 0111 15.769v2.898l.835.642a.5.5 0 01-.305.896H4.47a.5.5 0 01-.305-.896L5 18.667v-2.898c0-1.32.854-2.442 2.04-2.843.119-.534.504-.926.96-.926zm7.25 2.5a.75.75 0 110 1.5h-1.5a.75.75 0 110-1.5h1.5zm0-3.5a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-3.5a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5z",fill:"currentColor",fillRule:"evenodd"}))}function nl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.75 2a.75.75 0 01.75.75V3h1.75a1.75 1.75 0 011.744 1.606L21 4.75v14.5a1.75 1.75 0 01-1.606 1.744L19.25 21H4.75a1.75 1.75 0 01-1.744-1.606L3 19.25V4.75a1.75 1.75 0 011.606-1.744L4.75 3H6.5v-.25a.75.75 0 011.5 0V3h3.25v-.25a.75.75 0 111.5 0V3H16v-.25a.75.75 0 01.75-.75zM6.499 4.5H4.75l-.057.007a.25.25 0 00-.184.175L4.5 4.75v14.5l.007.057a.25.25 0 00.175.184l.068.009h14.5l.057-.007a.25.25 0 00.184-.175l.009-.068V4.75l-.007-.057a.25.25 0 00-.175-.184L19.25 4.5H17.5v.25a.75.75 0 11-1.5 0V4.5h-3.25v.25a.75.75 0 11-1.5 0V4.5H7.999L8 4.75a.75.75 0 01-1.5 0l-.001-.25zM16.25 12a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5zm0-3a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5z",fill:"currentColor",fillRule:"evenodd"}))}function ll(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.75 2a.75.75 0 01.75.75V3h1.75a1.75 1.75 0 011.744 1.606L21 4.75V14h-1.5V4.75l-.007-.057a.25.25 0 00-.175-.184L19.25 4.5H17.5v.25a.75.75 0 11-1.5 0V4.5h-3.25v.25a.75.75 0 11-1.5 0V4.5H7.999L8 4.75a.75.75 0 01-1.5 0l-.001-.25H4.75l-.057.007a.25.25 0 00-.184.175L4.5 4.75v14.5l.007.057a.25.25 0 00.175.184l.068.009H14V21H4.75a1.75 1.75 0 01-1.744-1.606L3 19.25V4.75a1.75 1.75 0 011.606-1.744L4.75 3H6.5v-.25a.75.75 0 011.5 0V3h3.25v-.25a.75.75 0 111.5 0V3H16v-.25a.75.75 0 01.75-.75zm-3.94 7.75l7.513 7.513a1.75 1.75 0 01.114 2.35l-.114.124-.586.586a1.75 1.75 0 01-2.35.114l-.124-.114-7.513-7.512V9.75h3.06zm5.697 7.818l-.938.94.754.755a.25.25 0 00.24.065l.06-.025.054-.04.586-.586a.25.25 0 00.04-.3l-.04-.054-.756-.755zm-6.318-6.318h-.939v.939l5.258 5.258.938-.94-5.257-5.257z",fill:"currentColor",fillRule:"evenodd"}))}function al(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.203 16.625c0 .602.328.96.875.96.555 0 .875-.35.875-.96V7.898c0-.671-.437-1.132-1.078-1.132-.375 0-.742.14-1.273.515L1.125 8.344c-.367.25-.54.508-.54.789 0 .367.282.656.65.656.195 0 .382-.07.663-.266l1.258-.898h.047v8zm4.149.031c0 .516.414.844 1.046.844h5.22c.53 0 .843-.281.843-.734 0-.461-.328-.743-.844-.743H9.648v-.101l2.665-2.953c1.367-1.492 1.812-2.313 1.812-3.36 0-1.742-1.43-2.984-3.422-2.984-2.086 0-3.492 1.375-3.492 2.742 0 .485.312.813.766.813.367 0 .617-.211.804-.657.266-.906.93-1.43 1.82-1.43 1.063 0 1.774.665 1.774 1.657 0 .688-.344 1.313-1.21 2.266l-3.071 3.406c-.563.601-.742.89-.742 1.234zm8.562-1.375c0 1.242 1.555 2.446 3.617 2.446 2.274 0 3.867-1.297 3.867-3.141 0-1.352-.992-2.484-2.296-2.617v-.11c1.078-.171 1.953-1.257 1.953-2.421 0-1.649-1.461-2.813-3.524-2.813-1.984 0-3.414 1.156-3.414 2.39 0 .454.305.766.742.766.344 0 .578-.164.782-.578.367-.742 1.007-1.156 1.851-1.156 1.086 0 1.828.648 1.828 1.61 0 .952-.758 1.64-1.804 1.64h-.813c-.43 0-.726.305-.726.71 0 .423.304.735.726.735h.86c1.25 0 2.085.719 2.085 1.79 0 1.077-.82 1.765-2.093 1.765-.961 0-1.711-.422-2.14-1.188-.25-.414-.47-.57-.782-.57-.422 0-.719.313-.719.742z",fill:"currentColor"}))}function rl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M9.884 11.616a1.25 1.25 0 01.091 1.666l-.091.102-1.868 1.866H19a1.25 1.25 0 01.128 2.494L19 17.75H8.017l1.867 1.866a1.25 1.25 0 01-1.666 1.859l-.102-.091-4-4a1.26 1.26 0 01-.13-.152l-.068-.106-.042-.079-.046-.107-.03-.087-.03-.127-.016-.126-.004-.1.002-.08.013-.111.016-.088.03-.108.05-.127.086-.16.062-.088.064-.076 4.043-4.046a1.25 1.25 0 011.768 0zm5.898-9.091l.102.091 4 4c.03.03.058.061.084.094l-.084-.094c.048.048.09.099.13.152l.064.099.046.086.046.107.03.087.03.127.016.13.004.096-.002.08-.013.111-.016.088-.03.108-.05.127-.057.112-.069.106-.048.063-.081.089-4 4a1.25 1.25 0 01-1.859-1.666l.091-.102 1.866-1.866H5a1.25 1.25 0 01-.128-2.494L5 6.25h10.983l-1.867-1.866a1.25 1.25 0 011.666-1.859z",fill:"currentColor",fillRule:"evenodd"}))}function ol(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.535 6.5h2.715a.25.25 0 01.25.25v2.715A3.502 3.502 0 0117.535 6.5zm-11.07 0H3.75a.25.25 0 00-.25.25v2.715A3.502 3.502 0 006.465 6.5zm1.51 0A5.002 5.002 0 013.5 10.975v2.05A5.002 5.002 0 017.975 17.5H14.5V19H3.75A1.75 1.75 0 012 17.25V6.75C2 5.784 2.784 5 3.75 5h16.5c.966 0 1.75.784 1.75 1.75v4.75h-1.5v-.525A5.002 5.002 0 0116.025 6.5h-8.05zM3.5 17.25v-2.715A3.502 3.502 0 016.465 17.5H3.75a.25.25 0 01-.25-.25zM14 12a2 2 0 11-4 0 2 2 0 014 0zm1.5 0a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm5.095 1.608a.86.86 0 011.049-.14c.344.201.467.603.306.937l-.057.098-3.118 4.152-.07.087a.859.859 0 01-1.17.059l-.079-.08-1.878-2.164-.068-.092a.713.713 0 01.194-.962.863.863 0 011.06.035l.081.082 1.169 1.345 2.51-3.268.071-.089z",fill:"currentColor"}))}function il(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.535 6.5h2.715a.25.25 0 01.25.25v2.715A3.502 3.502 0 0117.535 6.5zm-11.07 0H3.75a.25.25 0 00-.25.25v2.715A3.502 3.502 0 006.465 6.5zm1.51 0A5.002 5.002 0 013.5 10.975v2.05A5.002 5.002 0 017.975 17.5H14.5V19H3.75A1.75 1.75 0 012 17.25V6.75C2 5.784 2.784 5 3.75 5h16.5c.966 0 1.75.784 1.75 1.75v4.75h-1.5v-.525A5.002 5.002 0 0116.025 6.5h-8.05zM3.5 17.25v-2.715A3.502 3.502 0 016.465 17.5H3.75a.25.25 0 01-.25-.25zM14 12a2 2 0 11-4 0 2 2 0 014 0zm1.5 0a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm6.297 1.203a.692.692 0 00-.901-.067l-.078.067L19 15.02l-1.818-1.818-.078-.067a.692.692 0 00-.901 1.046L18.02 16l-1.818 1.818-.067.078a.692.692 0 00.968.968l.078-.067L19 16.98l1.818 1.818.078.067a.692.692 0 00.901-1.046L19.98 16l1.818-1.818.067-.078a.692.692 0 00-.067-.901z",fill:"currentColor"}))}function sl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 6c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0120.25 22H7.75A1.75 1.75 0 016 20.25V19h1.5v1.25a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V7.75a.25.25 0 00-.193-.243L20.25 7.5H19V6h1.25zm-7-5a.75.75 0 01.75.75V2h2.25c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0116.25 18H3.75A1.75 1.75 0 012 16.25V3.75C2 2.784 2.784 2 3.75 2H6v-.25a.75.75 0 011.5 0V2h5v-.25a.75.75 0 01.75-.75zm3.25 6.5h-13v8.75a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V7.5zm-6.195 1.277c.38 0 .62.21.662.554l.006.107v4.554c0 .356-.235.59-.582.59-.313 0-.538-.19-.58-.487l-.006-.103V9.957H9.78l-.824.574a.48.48 0 01-.312.106.402.402 0 01-.415-.422c0-.15.05-.267.172-.377l.082-.065L9.602 9a1.09 1.09 0 01.703-.223zM6 3.5H3.75a.25.25 0 00-.243.193L3.5 3.75V6h13V3.75a.25.25 0 00-.193-.243L16.25 3.5H14v.25a.75.75 0 11-1.5 0V3.5h-5v.25a.75.75 0 01-1.5 0V3.5z",fill:"currentColor",fillRule:"evenodd"}))}function cl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.75 11.5c4.166 0 6.596 2.43 7.291 7.29A2.813 2.813 0 0119.257 22h-9.014a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm0 1.5c-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007h9.014a1.313 1.313 0 001.3-1.498C19.96 14.84 18.12 13 14.75 13zM6.446 6.397l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H1.75a.75.75 0 01-.102-1.493l.102-.007h5.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM14.75 2c1.933 0 3.5 1.903 3.5 4.25s-1.567 4.25-3.5 4.25-3.5-1.903-3.5-4.25S12.817 2 14.75 2zm0 1.5c-1.033 0-2 1.174-2 2.75s.967 2.75 2 2.75 2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function ul(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.486 0 2.751.31 3.796.928-.462.29-.881.644-1.246 1.047-.726-.32-1.574-.475-2.55-.475-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007 6.31.001a6.027 6.027 0 001.23 1.5L5.992 22a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm7 1.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm2.25 3.75h-4.5a.75.75 0 00-.102 1.493l.102.007h4.5a.75.75 0 00.102-1.493l-.102-.007zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function dl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.486 0 2.751.31 3.796.928-.462.29-.881.644-1.246 1.047-.726-.32-1.574-.475-2.55-.475-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007 6.31.001a6.027 6.027 0 001.23 1.5L5.992 22a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm7 1.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm0 1.5a.75.75 0 00-.743.648l-.007.102v1.5h-1.5a.75.75 0 00-.743.648l-.007.102c0 .38.282.693.648.743l.102.007h1.5v1.5c0 .38.282.693.648.743l.102.007a.75.75 0 00.743-.648l.007-.102v-1.5h1.5a.75.75 0 00.743-.648l.007-.102a.75.75 0 00-.648-.743l-.102-.007h-1.5v-1.5a.75.75 0 00-.648-.743L17.5 14.5zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function ml(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.486 0 2.751.31 3.796.928-.462.29-.881.644-1.246 1.047-.726-.32-1.574-.475-2.55-.475-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007 6.31.001a6.027 6.027 0 001.23 1.5L5.992 22a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm7 1.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm2.403 1.867a.75.75 0 00-.97.141l-.066.09-1.983 3.114-.798-.999-.076-.081a.75.75 0 00-1.159.927l.063.091 1.455 1.819.073.079a.75.75 0 001.081-.059l.064-.086 2.546-4 .052-.098a.75.75 0 00-.282-.938zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function gl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.357 4.384l.891-.58c.835-.542 1.942-.323 2.586.513l1.28 1.663c.56.724.628 1.734.17 2.496l-1.273 2.12c.372.965.962 1.855 1.77 2.67a8.253 8.253 0 002.701 1.844l1.876-1.253c.711-.475 1.645-.398 2.317.19l1.565 1.373c.782.685.99 1.862.487 2.755l-.538.957c-.536.952-1.517 1.508-2.576 1.46-2.498-.115-5.197-1.718-8.096-4.811-2.903-3.098-4.408-5.983-4.514-8.655-.045-1.125.47-2.168 1.354-2.742z",fill:"currentColor"}))}function fl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zM9.8 8a.7.7 0 011.05-.606l.084.057 4.86 3.84a.7.7 0 01.081 1.023l-.081.075-4.86 3.84a.7.7 0 01-1.127-.449l-.007-.1V8zm1.4 1.445v4.789l3.03-2.395-3.03-2.394z",fill:"currentColor",fillRule:"evenodd"}))}function hl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.169 17.055c.43 0 .734-.305.734-.75V13.43h2.649c.453 0 .757-.297.757-.72 0-.429-.304-.726-.757-.726H6.903V9.258c0-.445-.304-.758-.734-.758s-.727.313-.727.758v2.726H2.825c-.445 0-.758.297-.758.727 0 .422.313.719.758.719h2.617v2.875c0 .445.305.75.727.75zm5.598 2.453c.352 0 .64-.211.735-.555l3.453-12.25a1.17 1.17 0 00.047-.258c.007-.406-.336-.75-.766-.75-.36 0-.648.211-.742.547l-3.446 12.25a.749.749 0 00.719 1.016zm9.388-6.11c.578 0 .882-.32.882-.78 0-.462-.304-.766-.882-.766h-3.68c-.57 0-.883.312-.883.765 0 .461.305.781.883.781h3.68z",fill:"currentColor",fillRule:"evenodd"}))}function vl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.75 2c.966 0 1.75.784 1.75 1.75v1.758A3.75 3.75 0 0122 9.25v7.5a1.75 1.75 0 01-1.75 1.75H18.5v1.75A1.75 1.75 0 0116.75 22h-9.5a1.75 1.75 0 01-1.75-1.75V18.5H3.75A1.75 1.75 0 012 16.75v-7.5a3.75 3.75 0 013.5-3.742V3.75C5.5 2.784 6.284 2 7.25 2h9.5zM17 14.5H7v5.75a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193L17 20.25V14.5zM18.25 7H5.75a2.25 2.25 0 00-2.245 2.096L3.5 9.25v7.5a.25.25 0 00.193.243L3.75 17H5.5v-3.25a.75.75 0 01.75-.75h11.5a.75.75 0 01.75.75V17h1.75a.25.25 0 00.243-.193l.007-.057v-7.5a2.25 2.25 0 00-2.096-2.245L18.25 7zm-.5 3a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm-1-6.5h-9.5a.25.25 0 00-.243.193L7 3.75V5.5h10V3.75a.25.25 0 00-.193-.243L16.75 3.5z",fill:"currentColor",fillRule:"evenodd"}))}function pl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.247 2a.75.75 0 01.75.75l-.001.25h2.25c.967 0 1.75.784 1.75 1.75v14.5a1.75 1.75 0 01-1.75 1.75h-7.25v-1.5h7.25a.25.25 0 00.244-.193l.007-.057L19.496 8h-15v4h-1.5V4.75c0-.966.784-1.75 1.75-1.75h2.25v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zM3.139 15.956a.5.5 0 01.631-.11l2.144 1.238.073.052a.5.5 0 01.11.631l-.052.074a.5.5 0 01-.631.11l-.878-.506a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.814-.574l1.237-2.143zM6.997 13a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.601.221l-.082-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.033-1.798.75.75 0 11-.925-1.181A3.985 3.985 0 016.997 13zm-.001-8.5h-2.25a.25.25 0 00-.243.193l-.006.057-.001 1.75h15V4.75a.25.25 0 00-.192-.243l-.057-.007h-2.251v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5z",fill:"currentColor",fillRule:"evenodd"}))}function wl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.797 9c.464 0 .91.184 1.237.513l6.229 6.228a1.75 1.75 0 010 2.475l-4.047 4.047a1.75 1.75 0 01-2.475 0l-6.228-6.229A1.75 1.75 0 012 14.797V10.75C2 9.784 2.784 9 3.75 9h4.047zM18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H14.5v-1.5h3.75a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V8H4V3.75C4 2.784 4.784 2 5.75 2h12.5zM7.797 10.5H3.75a.25.25 0 00-.243.193l-.007.057v4.047a.25.25 0 00.033.125l.04.052 6.228 6.228a.25.25 0 00.3.04l.054-.04 4.047-4.047a.25.25 0 00.04-.3l-.04-.054-6.228-6.228a.25.25 0 00-.112-.064l-.065-.009zm-2.504 1.793a1 1 0 111.414 1.414 1 1 0 01-1.414-1.414zM15.75 9.5a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm0-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function bl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12a9.97 9.97 0 003.047 7.187A9.967 9.967 0 0012 22a9.967 9.967 0 006.953-2.813A9.97 9.97 0 0022 12zM5.704 16.936A7.986 7.986 0 0012 20a7.986 7.986 0 006.296-3.064A7 7 0 0012 13a7 7 0 00-6.296 3.936zM12 12a3.5 3.5 0 100-7 3.5 3.5 0 000 7z",fill:"currentColor"}))}function El(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm0 1.5H4.75a.25.25 0 00-.243.193L4.5 4.75v14.5a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V4.75a.25.25 0 00-.193-.243L19.25 4.5zM8.25 15a.75.75 0 01.75.75v1a.75.75 0 01-.75.75h-1a.75.75 0 01-.75-.75v-1a.75.75 0 01.75-.75h1zm8.5 1a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5zm0-3.167a.75.75 0 010 1.5h-4.5a.75.75 0 110-1.5h4.5zm0-3.166a.75.75 0 110 1.5h-4.5a.75.75 0 010-1.5h4.5zM8.25 6.5a.75.75 0 01.75.75v1a.75.75 0 01-.75.75h-1a.75.75 0 01-.75-.75v-1a.75.75 0 01.75-.75h1zm8.5 0a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5z",fill:"currentColor",fillRule:"evenodd"}))}function xl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 3a1 1 0 00-.993.883L11 6v6.02l.01.118.022.113.023.077.03.075.047.093.062.096.07.085.072.071.096.075.099.06.075.036 3.5 1.5.11.04a1 1 0 00.782-1.826l-.104-.052L13 11.34V6l-.007-.117A1 1 0 0012 5z",fill:"currentColor",fillRule:"evenodd"}))}function yl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.367 7.727a.476.476 0 00.484.48h3.147c.274 0 .492-.222.537-.493.184-1.108.965-1.9 2.266-1.9 1.161 0 2.252.623 2.252 2.053 0 1.246-.864 1.841-2.195 2.705-1.714 1.09-2.634 2.534-2.422 4.715l.008.173a.5.5 0 00.5.478h3a.5.5 0 00.5-.5v-.18c0-1.514.665-1.953 2.322-3.072 1.374-.934 2.86-2.025 2.86-4.545 0-3.569-3.002-5.325-6.556-5.325-3.361 0-6.618 1.557-6.703 5.411zm3.432 12.247c0 1.388 1.09 2.322 2.776 2.322 1.741 0 2.817-.934 2.817-2.322 0-1.416-1.09-2.35-2.817-2.35-1.7 0-2.776.934-2.776 2.35z",fill:"currentColor"}))}function zl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 14.489c.5 0 .838-.302.832-.764v-1.998c.052-.665.604-.8 1.548-1.413C15.415 9.649 16 8.885 16 7.78 16 6.011 14.077 5 12.139 5c-.822 0-1.831.145-2.639.466a3.39 3.39 0 00-.803.438 1.94 1.94 0 00-.317.3c-.076.09-.14.188-.189.29a1.904 1.904 0 00-.132.356c-.04.153-.059.304-.059.448a.65.65 0 00.022.173c.076.335.34.55.748.55a.806.806 0 00.792-.55c.278-.902 1.709-1.078 2.502-1.078.96 0 2.183.555 2.183 1.405 0 .764-.44 1.163-1.268 1.706-.856.573-1.848 1.137-1.848 2.074v2.147c0 .492.369.764.869.764zM12 19c.579 0 1.047-.457 1.047-1.018 0-.566-.468-1.012-1.047-1.012-.573 0-1.042.446-1.042 1.012 0 .561.47 1.018 1.042 1.018z",fill:"currentColor"}))}function Rl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.102 11.125c.753 0 1.472.295 2.007.817l.142.148 4.806 5.407c.183.206.434.337.705.37l.136.008h3.416L17.22 16.78l-.073-.084a.75.75 0 011.05-1.049l.083.073 2.5 2.5a.753.753 0 01.097.118l.053.094.028.07.023.08.013.075.006.102-.002.042-.009.075-.027.111-.043.102-.038.066-.027.04-.035.043-.039.042-2.5 2.5-.084.073a.75.75 0 01-1.049-1.05l.073-.083 1.095-1.096-3.417.001a2.875 2.875 0 01-2.007-.817l-.142-.148-4.806-5.407a1.125 1.125 0 00-.705-.37l-.136-.008H3.75a.875.875 0 01-.11-1.743l.11-.007h3.352zm11.094-8.978l.084.073 2.5 2.5a.63.63 0 01.101.125l.049.088.043.119.021.106.004.042.002.069-.006.073-.013.076-.023.08-.047.107-.058.091-.073.084-2.5 2.5a.75.75 0 01-1.133-.976l.073-.084 1.095-1.096-3.426.001-.136.008c-.223.027-.433.12-.603.268l-.096.095-2.905 3.215-.085.083a.875.875 0 01-1.287-1.162l.074-.094 2.904-3.215.141-.146a2.875 2.875 0 011.79-.795l.203-.007 3.424-.001L17.22 3.28a.75.75 0 01.976-1.133z",fill:"currentColor",fillRule:"evenodd"}))}function Cl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm.035 4.982c-.264 0-.533.13-.533.51v.41C9.92 8.05 8.9 8.998 8.9 10.352c0 1.135.646 1.88 1.926 2.202l1.309.288c.844.181 1.178.44 1.178.879 0 .562-.446.931-1.272.931-.592 0-1.166-.246-1.687-.72-.334-.282-.545-.364-.803-.364-.416 0-.75.258-.75.715 0 .352.187.692.515.99.487.452 1.272.727 2.163.803v.358c0 .375.275.51.539.51.263 0 .533-.135.533-.51v-.37c1.64-.193 2.666-1.154 2.666-2.543 0-1.143-.66-1.862-1.997-2.176l-1.314-.273c-.744-.146-1.084-.427-1.084-.867 0-.492.44-.885 1.131-.885.586 0 1.008.188 1.506.662.293.252.533.364.85.364.369 0 .673-.27.673-.657 0-.328-.175-.673-.503-.984-.434-.422-1.131-.691-1.91-.79v-.423c0-.375-.27-.51-.534-.51z",fill:"currentColor",fillRule:"evenodd"}))}function Sl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M21.25 11.25A.75.75 0 0122 12c0 5.523-4.477 10-10 10a9.986 9.986 0 01-7.638-3.545l-.038 1.071a.75.75 0 01-1.496.05l-.003-.102.099-2.827a.75.75 0 01.775-.723l2.827.098a.75.75 0 01.05 1.496l-.102.004-.966-.034A8.5 8.5 0 0020.5 12a.75.75 0 01.75-.75zm-9.215-4.268c.237 0 .48.11.526.405l.007.105v.422c.78.1 1.477.37 1.91.791.329.31.504.656.504.984 0 .387-.304.657-.673.657-.317 0-.557-.112-.85-.364-.498-.474-.92-.662-1.506-.662-.691 0-1.13.393-1.13.885 0 .406.289.677.919.831l.164.036 1.108.229c1.476.287 2.203 1.02 2.203 2.22 0 1.331-.942 2.27-2.464 2.515l-.202.028v.37c0 .375-.27.51-.533.51-.238 0-.485-.11-.532-.405l-.007-.105v-.358c-.891-.076-1.676-.351-2.163-.803-.328-.298-.515-.638-.515-.99 0-.457.334-.715.75-.715.258 0 .469.082.803.364.521.474 1.095.72 1.687.72.826 0 1.271-.369 1.271-.931 0-.41-.29-.662-1.015-.842l-.162-.037-1.102-.24c-1.418-.293-2.133-1.055-2.133-2.25 0-1.298.937-2.223 2.407-2.427l.195-.023v-.41c0-.38.27-.51.533-.51zM12 2c3 0 5.77 1.332 7.639 3.545l.037-1.071a.75.75 0 011.496-.05l.003.102-.099 2.827a.75.75 0 01-.674.72l-.101.003-2.827-.098a.75.75 0 01-.05-1.496l.102-.004.966.034A8.5 8.5 0 003.5 12 .75.75 0 112 12C2 6.477 6.477 2 12 2z",fill:"currentColor",fillRule:"evenodd"}))}function Nl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17 7a5 5 0 01.217 9.995L17 17h-2.5a.75.75 0 01-.102-1.493l.102-.007H17a3.5 3.5 0 00.192-6.995L17 8.5h-2.5a.75.75 0 01-.102-1.493L14.5 7H17zM9.5 7a.75.75 0 01.102 1.493L9.5 8.5H7a3.5 3.5 0 00-.192 6.995L7 15.5h2.5a.75.75 0 01.102 1.493L9.5 17H7a5 5 0 01-.217-9.995L7 7h2.5zm7.5 4.25a.75.75 0 110 1.5H7a.75.75 0 110-1.5h10z",fill:"currentColor",fillRule:"evenodd"}))}function Ol(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.268 21.246L12 21.25l-.323-.006-.32-.016-.3-.025-.329-.04a9.166 9.166 0 01-2.067-.534l-.288-.117-.353-.16-.237-.117-.358-.193-.385-.233-.263-.173-.3-.215-.23-.177-.238-.196-.356-.319a9.308 9.308 0 01-.345-.343l-.151-.162a9.197 9.197 0 01-1.662-2.58l-.126-.311-.134-.372-.087-.268-.08-.285A9.229 9.229 0 012.75 12c0-.893.127-1.757.363-2.574l.137-.431.077-.218.169-.421a9.17 9.17 0 01.768-1.431l.171-.25c.213-.303.447-.595.701-.876l.168-.18c.174-.183.356-.36.545-.528l.197-.17.345-.278.328-.239.302-.202.117-.072a8.88 8.88 0 01.664-.375l.484-.23.37-.152.427-.153.353-.11.263-.071.145-.036A9.232 9.232 0 0112 2.75l.24.003.317.014.389.031.284.033.487.079.43.091.287.073.39.116.293.099.336.127.17.07.379.172.259.129.25.135.416.248.255.166a9.12 9.12 0 011.14.911V3.222a.75.75 0 01.638-.742l.111-.008a.75.75 0 01.742.639l.008.11v3.83a.75.75 0 01-.64.741l-.11.008h-3.828a.75.75 0 01-.111-1.492l.11-.008h2.009l-.197-.177-.22-.182-.131-.102-.2-.147-.225-.156-.235-.15-.236-.139-.149-.081-.222-.115-.268-.126-.121-.053a7.709 7.709 0 00-1.013-.352l-.263-.067-.258-.055-.262-.047-.278-.04-.349-.036-.353-.02L12 4.25l-.183.002-.376.018-.294.026-.248.032-.335.055-.344.073-.243.061-.202.058a7.72 7.72 0 00-.54.183l-.282.114-.204.09-.317.156-.24.13a7.755 7.755 0 00-.629.397l-.383.285-.21.174-.075.064a7.796 7.796 0 00-.195.178l-.18.174-.239.25-.175.198-.152.184a7.778 7.778 0 00-.59.84l-.174.305-.116.222-.112.232a7.079 7.079 0 00-.15.346l-.11.29-.122.368-.046.16c-.084.304-.15.612-.197.923l-.05.409.01-.098c-.05.453-.06.91-.03 1.364l.024.285c.031.307.081.611.15.913l.073.3.058.204c.072.245.157.486.255.724l.085.2c.05.112.102.223.156.332l.091.175.137.245.148.246.058.088a7.766 7.766 0 00.436.604l.141.173.093.107.174.191.174.18.18.175.246.22.324.264.349.255.123.083.24.151.2.118.259.14.257.128.33.146.24.095c.195.073.393.139.594.196l.359.094.136.03.124.026.297.053.329.045.246.024.097.008c.091.006.183.011.275.014l.275.005A7.75 7.75 0 0019.75 12a.75.75 0 111.5 0 9.25 9.25 0 01-8.982 9.246z",fill:"currentColor"}))}function Al(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.5 12a1 1 0 011 1v6a1 1 0 01-1 1H4a1 1 0 01-1-1v-6a1 1 0 011-1h2.5zm6.75-5a1 1 0 011 1v11a1 1 0 01-1 1h-2.5a1 1 0 01-1-1V8a1 1 0 011-1h2.5zM20 4a1 1 0 011 1v14a1 1 0 01-1 1h-2.5a1 1 0 01-1-1V5a1 1 0 011-1H20z",fill:"currentColor",fillRule:"evenodd"}))}function Il(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.25 12c.966 0 1.75.784 1.75 1.75v4.5A1.75 1.75 0 016.25 20h-1.5A1.75 1.75 0 013 18.25v-4.5c0-.966.784-1.75 1.75-1.75h1.5zm6.5-5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0112.75 20h-1.5a1.75 1.75 0 01-1.75-1.75v-9.5c0-.966.784-1.75 1.75-1.75h1.5zm6.5-3c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0119.25 20h-1.5A1.75 1.75 0 0116 18.25V5.75c0-.966.784-1.75 1.75-1.75h1.5zm-13 9.5h-1.5a.25.25 0 00-.243.193l-.007.057v4.5a.25.25 0 00.193.243l.057.007h1.5a.25.25 0 00.243-.193l.007-.057v-4.5a.25.25 0 00-.193-.243L6.25 13.5zm6.5-5h-1.5a.25.25 0 00-.243.193L11 8.75v9.5a.25.25 0 00.193.243l.057.007h1.5a.25.25 0 00.243-.193L13 18.25v-9.5a.25.25 0 00-.193-.243L12.75 8.5zm6.5-3h-1.5a.25.25 0 00-.243.193l-.007.057v12.5a.25.25 0 00.193.243l.057.007h1.5a.25.25 0 00.243-.193l.007-.057V5.75a.25.25 0 00-.193-.243L19.25 5.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ll(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18 9.25a.75.75 0 01.743.648l.007.102v8.25a3.75 3.75 0 01-3.55 3.745L15 22h-5a3.75 3.75 0 01-3.745-3.55l-.005-.2V10a.75.75 0 01.648-.743L7 9.25h11zm-.75 1.5h-9.5v7.5a2.25 2.25 0 001.938 2.229l.158.016.154.005h5a2.25 2.25 0 002.245-2.096l.005-.154v-7.5zm-6.75 1.5a.75.75 0 01.743.648l.007.102v5.25a.75.75 0 01-1.493.102l-.007-.102V13a.75.75 0 01.75-.75zm4 0a.75.75 0 01.743.648l.007.102v5.25a.75.75 0 01-1.493.102l-.007-.102V13a.75.75 0 01.75-.75zm2.372-9.849a3.847 3.847 0 012.03 4.45l2.668 1.302a.75.75 0 01-.563 1.386l-.094-.038L9.086 3.732a.75.75 0 01.563-1.386l.094.038 2.373 1.157a3.847 3.847 0 014.756-1.14zM3 4.25a.75.75 0 01.743.648L3.75 5v.63c2.434-1.684 5.714-1.245 7.542 1.11a.75.75 0 11-1.185.919C8.819 6 6.547 5.647 4.777 6.749l.723.001a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743L5.5 8.25H3a.75.75 0 01-.743-.648L2.25 7.5V5A.75.75 0 013 4.25zm10.507-.031l4.005 1.953a2.347 2.347 0 00-4.005-1.953z",fill:"currentColor",fillRule:"evenodd"}))}function Hl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2.75a9.25 9.25 0 016.54 15.79.75.75 0 11-1.06-1.06 7.75 7.75 0 10-13.224-5.797l.714-.713.084-.073a.75.75 0 011.049 1.05l-.073.083-2 2-.084.073a.75.75 0 01-.882.007l-.094-.08-2-2-.073-.084a.75.75 0 01-.007-.882l.08-.094.084-.073a.75.75 0 01.882-.007l.094.08.725.724A9.25 9.25 0 0112 2.75z",fill:"currentColor"}))}function Ml(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2.75a9.25 9.25 0 019.245 8.944l.725-.724a.75.75 0 01.976-.073l.084.073a.75.75 0 01.073.976l-.073.084-2 2a.75.75 0 01-.976.073l-.084-.073-2-2a.75.75 0 01.976-1.133l.084.073.714.712A7.75 7.75 0 106.52 17.48a.75.75 0 11-1.06 1.06A9.25 9.25 0 0112 2.75z",fill:"currentColor"}))}function kl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.021 23.316c.594 0 1.121-.33 1.121-1.12V21.14c3.546-.382 5.761-2.465 5.761-5.498 0-2.61-1.569-4.192-4.825-4.904l-2.676-.606C9.727 9.763 8.91 8.999 8.91 7.878c0-1.344 1.16-2.32 2.98-2.32 1.476 0 2.504.5 3.651 1.78.58.606 1.029.83 1.635.83.738 0 1.305-.514 1.305-1.279 0-.738-.435-1.542-1.173-2.267-.976-.923-2.439-1.53-4.087-1.74V1.787c0-.777-.527-1.107-1.134-1.107-.593 0-1.12.316-1.12 1.107v1.055c-3.415.317-5.59 2.36-5.59 5.287 0 2.557 1.569 4.258 4.575 4.93l2.676.62c1.951.461 2.755 1.147 2.755 2.307 0 1.503-1.173 2.452-3.27 2.452-1.568 0-2.873-.593-4.06-1.872-.672-.672-1.041-.817-1.542-.817-.805 0-1.411.514-1.411 1.397 0 .778.448 1.582 1.252 2.281 1.055.962 2.703 1.556 4.536 1.727v1.042c0 .79.527 1.12 1.133 1.12z",fill:"currentColor",fillRule:"evenodd"}))}function Vl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M9.75 2a7.75 7.75 0 016.292 12.275l5.592 5.591a1.25 1.25 0 01-1.666 1.859l-.102-.091-5.59-5.592A7.75 7.75 0 119.75 2zm0 2.5a5.25 5.25 0 100 10.5 5.25 5.25 0 000-10.5z",fill:"currentColor",fillRule:"evenodd"}))}function jl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 2.25a7.75 7.75 0 015.985 12.674l5.545 5.546a.75.75 0 01-.976 1.133l-.084-.073-5.546-5.545A7.75 7.75 0 1110 2.25zm0 1.5a6.25 6.25 0 100 12.5 6.25 6.25 0 000-12.5z",fill:"currentColor",fillRule:"evenodd"}))}function Tl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.01 2.25a.75.75 0 01.665.402c.72 1.376 3.174 2.323 7.389 2.683a.75.75 0 01.686.748c0 7.747-1.54 11.378-5.945 14.213l-.502.312-.525.306a26.51 26.51 0 01-.834.452l-.29.148-.323.16a.75.75 0 01-.654.003c-6.293-3-8.427-6.542-8.427-15.594a.75.75 0 01.686-.748c4.215-.36 6.67-1.307 7.389-2.683a.75.75 0 01.56-.395l.126-.007zM12 4.245l-.064.067C10.702 5.54 8.479 6.317 5.277 6.705l-.523.058.01.54c.012.53.033 1.039.063 1.525l.052.713c.472 5.577 2.312 8.141 6.618 10.372l.272.139.228.113.262-.133c4.685-2.43 6.538-5.033 6.915-11.21l.038-.743.025-.778.007-.402.001-.136-.522-.058c-3.068-.372-5.238-1.1-6.5-2.242l-.159-.15L12 4.244zm4.903 4.104l.077.067a.75.75 0 01.067.984l-.067.077-5.52 5.52-3.382-3.38a.75.75 0 01.984-1.129l.076.067 2.32 2.322 4.461-4.46a.75.75 0 01.984-.068z",fill:"currentColor",fillRule:"evenodd"}))}function Dl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.01 2.25a.75.75 0 01.665.402c.72 1.376 3.174 2.323 7.389 2.683a.75.75 0 01.686.748c0 7.747-1.54 11.378-5.945 14.213l-.502.312-.525.306a26.51 26.51 0 01-.834.452l-.29.148-.323.16a.75.75 0 01-.654.003c-6.293-3-8.427-6.542-8.427-15.594a.75.75 0 01.686-.748c4.215-.36 6.67-1.307 7.389-2.683a.75.75 0 01.56-.395l.126-.007zM12 4.245l-.064.067C10.702 5.54 8.479 6.317 5.277 6.705l-.523.058.01.54c.012.53.033 1.039.063 1.525l.052.713c.472 5.577 2.312 8.141 6.618 10.372l.272.139.228.113.262-.133c4.685-2.43 6.538-5.033 6.915-11.21l.038-.743.025-.778.007-.402.001-.136-.522-.058c-3.068-.372-5.238-1.1-6.5-2.242l-.159-.15L12 4.244zM12 8l.15.005a2 2 0 01.98 3.645L14 16h-4l.87-4.35a2 2 0 01.982-3.644L11.999 8z",fill:"currentColor",fillRule:"evenodd"}))}function Fl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13 2a1 1 0 011 1v1.77a7.44 7.44 0 011.698.703l1.252-1.251a1 1 0 011.414 0l1.414 1.414a1 1 0 010 1.414l-1.251 1.252c.3.53.538 1.099.703 1.698H21a1 1 0 011 1v2a1 1 0 01-1 1h-1.77a7.454 7.454 0 01-.703 1.698l1.251 1.252a1 1 0 010 1.414l-1.414 1.414a1 1 0 01-1.414 0l-1.252-1.251a7.47 7.47 0 01-1.697.703L14 21a1 1 0 01-1 1h-2a1 1 0 01-1-1v-1.77a7.454 7.454 0 01-1.698-.703L7.05 19.778a1 1 0 01-1.414 0l-1.414-1.414a1 1 0 010-1.414l1.251-1.252A7.454 7.454 0 014.77 14H3a1 1 0 01-1-1v-2a1 1 0 011-1h1.77a7.44 7.44 0 01.703-1.698L4.222 7.05a1 1 0 010-1.414l1.414-1.414a1 1 0 011.414 0l1.252 1.251c.53-.3 1.099-.538 1.698-.703V3a1 1 0 011-1h2zm-1 6a4 4 0 100 8 4 4 0 000-8z",fill:"currentColor",fillRule:"evenodd"}))}function Pl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.056 2c.918 0 1.67.707 1.744 1.606l.006.144v.787l.243.093.154.063.093.042.554-.553a1.75 1.75 0 012.217-.212l.133.1.125.113 1.492 1.492a1.75 1.75 0 01.114 2.35l-.113.125-.524.523.046.1.068.156.064.157.039.108h.74a1.75 1.75 0 011.725 1.459l.018.148.006.143v2.112a1.75 1.75 0 01-1.606 1.744l-.144.006h-.739l-.04.108-.063.158-.068.156-.047.098.524.524c.553.551.663 1.389.29 2.08l-.08.136-.095.131-.115.128-1.492 1.492c-.59.59-1.502.676-2.216.21l-.131-.095-.128-.115-.554-.554-.093.043-.154.064-.243.092v.789a1.752 1.752 0 01-1.459 1.725l-.148.018-.143.006h-2.111A1.75 1.75 0 019.2 20.393l-.006-.143v-.848l-.08-.03-.148-.06-.214-.097-.602.603a1.75 1.75 0 01-2.217.212l-.133-.1-.125-.113-1.492-1.492a1.75 1.75 0 01-.114-2.35l.114-.125.632-.634-.09-.204-.079-.206h-.897a1.752 1.752 0 01-1.725-1.459l-.018-.148L2 13.056v-2.112A1.75 1.75 0 013.606 9.2l.144-.006h.896l.08-.206.089-.205-.632-.633a1.75 1.75 0 01-.213-2.217l.099-.133.114-.125 1.492-1.492c.59-.59 1.502-.676 2.216-.21l.131.095.128.115.602.601.214-.095.149-.062.079-.03V3.75c0-.791.528-1.469 1.294-1.684l.146-.035.151-.023.16-.008h2.111zm-2.069 1.499l-.073.003a.25.25 0 00-.212.186l-.007.062v1.377a.75.75 0 01-.528.717c-.417.129-.818.3-1.2.51a.75.75 0 01-.809-.054l-.083-.071-.952-.954-.058-.053a.25.25 0 00-.27-.023l-.059.044-1.493 1.493a.25.25 0 00-.04.3l.04.054 1.009 1.008a.75.75 0 01.132.883c-.2.375-.361.769-.483 1.177a.75.75 0 01-.61.528l-.108.008H3.75a.25.25 0 00-.243.193l-.007.057v2.11c0 .12.083.22.193.245l.057.007h1.433a.75.75 0 01.719.537c.121.408.283.802.482 1.176a.75.75 0 01-.061.8l-.071.083-1.009 1.008a.25.25 0 00-.04.3l.04.054 1.493 1.493a.25.25 0 00.3.04l.054-.04.985-.986a.75.75 0 01.893-.126c.38.21.782.382 1.199.511a.75.75 0 01.52.609l.008.108v1.377a.25.25 0 00.192.243l.057.007h2.111a.251.251 0 00.244-.193l.007-.057v-1.331a.75.75 0 01.545-.721 6.398 6.398 0 001.247-.503.75.75 0 01.8.06l.083.072.896.898.058.053a.25.25 0 00.27.023l.059-.044 1.462-1.46.052-.057a.25.25 0 00.023-.27l-.044-.06-.907-.905a.75.75 0 01-.126-.894 6.4 6.4 0 00.533-1.269.75.75 0 01.61-.528l.108-.008h1.275a.25.25 0 00.243-.193l.007-.057v-2.111a.25.25 0 00-.193-.244l-.057-.007h-1.275a.75.75 0 01-.718-.536 6.4 6.4 0 00-.533-1.269.75.75 0 01.055-.81l.071-.083.907-.906a.25.25 0 00.04-.3l-.04-.054-1.493-1.493a.25.25 0 00-.3-.04l-.054.04-.93.93a.75.75 0 01-.882.132 6.398 6.398 0 00-1.247-.503.75.75 0 01-.536-.611l-.008-.11-.001-1.33a.251.251 0 00-.194-.244l-.056-.007-2.069-.001zM12 7.533a4.467 4.467 0 110 8.934 4.467 4.467 0 010-8.934zm0 1.5a2.967 2.967 0 100 5.934 2.967 2.967 0 000-5.934z",fill:"currentColor",fillRule:"evenodd"}))}function Bl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0120.25 19H3.75A1.75 1.75 0 012 17.25V6.75C2 5.784 2.784 5 3.75 5h16.5zm0 1.5H3.75a.25.25 0 00-.243.193L3.5 6.75v10.5a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057V6.75a.25.25 0 00-.193-.243L20.25 6.5zM6.5 14a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm9 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-7a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h7zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm-12-3a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm-12-3a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1z",fill:"currentColor",fillRule:"evenodd"}))}function _l(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 6a1.75 1.75 0 011.744 1.606L21 7.75V11h-1.5V7.75l-.007-.057a.25.25 0 00-.175-.184L19.25 7.5H7.75l-.057.007a.25.25 0 00-.184.175L7.5 7.75v11.5l.007.057a.25.25 0 00.175.184l.068.009H11V21H7.75a1.75 1.75 0 01-1.744-1.606L6 19.25V7.75a1.75 1.75 0 011.606-1.744L7.75 6h11.5zm-2-3l.102.007a.75.75 0 010 1.486l-.102.007H4.75l-.057.007a.25.25 0 00-.184.175L4.5 4.75v12.5l-.007.102a.75.75 0 01-1.486 0L3 17.25V4.75l.006-.144a1.75 1.75 0 011.593-1.6L4.75 3h12.5zm-2.5 8.75a3 3 0 100 6 3 3 0 000-6zm0 7.5a4.5 4.5 0 113.632-1.842l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.479 4.479 0 01-2.495.755z",fill:"currentColor",fillRule:"evenodd"}))}function Gl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.75 4a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 013.75 4zm3.5 0a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 017.25 4zm7.78 3.97a.75.75 0 01.073.976l-.073.084-2.219 2.22h7.439a.75.75 0 01.102 1.493l-.102.007h-7.439l2.22 2.22a.75.75 0 01-.977 1.133l-.084-.073-3.5-3.5-.055-.06-.046-.065-.049-.088-.044-.12-.018-.089-.007-.143.019-.136.03-.098.047-.1.054-.082.069-.08 3.5-3.5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function ql(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.75 4a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 013.75 4zm3.5 0a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 017.25 4zm3.5 0a.75.75 0 01.75.75v6.5h6.939l-2.22-2.22a.75.75 0 01.977-1.133l.084.073 3.5 3.5c.025.024.048.05.069.078l-.069-.078.04.042.04.052.068.114.038.098.02.084.012.088v.104l-.003.02-.006.055-.015.07-.024.072-.047.1-.032.051-.027.038-.064.072-3.5 3.5a.75.75 0 01-1.133-.976l.073-.084 2.219-2.22h-6.94l.001 6.5a.75.75 0 11-1.5 0V4.75a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function $l(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.5 18v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zm8.25-5.25a3 3 0 100 6 3 3 0 000-6zm-8.25 0v3.75H4v-3.75h1.5zM20 7.5v3.75h-1.5V7.5H20zm-14.5 0v3.75H4V7.5h1.5zM18.25 2c.966 0 1.75.784 1.75 1.75V6h-1.5V3.75a.25.25 0 00-.193-.243L18.25 3.5 16 3.499V2h2.25zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm6.5 0v1.499l-5 .001V2h5zm-.75 18.25a4.5 4.5 0 113.632-1.842l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.479 4.479 0 01-2.495.755z",fill:"currentColor",fillRule:"evenodd"}))}function Kl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M2.5 12.75H7a.75.75 0 110 1.5H5.5v7a.75.75 0 11-1.5 0v-7H2.5a.75.75 0 110-1.5zm9.5-2a.75.75 0 01.75.75v9.75a.75.75 0 11-1.5 0V11.5a.75.75 0 01.75-.75zm9.5 4a.75.75 0 110 1.5H20v5a.75.75 0 11-1.5 0v-5H17a.75.75 0 110-1.5h4.5zM19.25 2a.75.75 0 01.75.75v9.75a.75.75 0 11-1.5 0V2.75a.75.75 0 01.75-.75zM4.75 2a.75.75 0 01.75.75v7.75a.75.75 0 11-1.5 0V2.75A.75.75 0 014.75 2zM12 2a.75.75 0 01.75.75v5h1.5a.75.75 0 110 1.5h-4.5a.75.75 0 010-1.5h1.5v-5A.75.75 0 0112 2z",fill:"currentColor",fillRule:"evenodd"}))}function Ul(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75V7.5h-5a5 5 0 00-4.995 4.783L11 12.5a5 5 0 004.783 4.995L16 17.5h5v1.75A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm1.5 6c.69 0 1.25.56 1.25 1.25v4.5c0 .69-.56 1.25-1.25 1.25H16a3.5 3.5 0 010-7h4.75zM16 11a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor",fillRule:"evenodd"}))}function Wl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.25 18a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm12.5-13.5a.75.75 0 01.743.648l.007.102v11.689l2.22-2.22a.75.75 0 011.133.977l-.073.084-3.5 3.5a.753.753 0 01-.125.101l-.088.049-.119.043-.106.021-.041.004-.07.002-.073-.006-.076-.013-.08-.023-.1-.043a.75.75 0 01-.182-.135l-3.5-3.5a.75.75 0 01.976-1.133l.084.073L17 16.939V5.25a.75.75 0 01.75-.75zm-9.5 9a.75.75 0 110 1.5h-5.5a.75.75 0 110-1.5h5.5zm3-4.5a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5zm3-4.5a.75.75 0 110 1.5H2.75a.75.75 0 010-1.5h11.5z",fill:"currentColor",fillRule:"evenodd"}))}function Jl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.895 8.726l-6.683.358-.105.012c-.608.114-.833.91-.328 1.319l5.197 4.217-1.725 6.467-.02.098c-.085.616.605 1.08 1.152.725L12 18.28l5.617 3.64.087.05c.56.27 1.214-.242 1.045-.872l-1.726-6.467 5.198-4.217.077-.072c.425-.45.14-1.225-.51-1.26l-6.684-.357L12.7 2.481a.75.75 0 00-1.4 0L8.895 8.726z",fill:"currentColor",fillRule:"evenodd"}))}function Yl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.895 8.726l-6.683.358-.105.012c-.608.114-.833.91-.328 1.319l5.197 4.217-1.725 6.467-.02.098c-.085.616.605 1.08 1.152.725L12 18.28l5.617 3.64.087.05c.56.27 1.214-.242 1.045-.872l-1.726-6.467 5.198-4.217.077-.072c.425-.45.14-1.225-.51-1.26l-6.684-.357L12.7 2.481a.75.75 0 00-1.4 0L8.895 8.726zM12 4.836l1.88 4.883.046.1a.75.75 0 00.614.38l5.223.278-4.062 3.297-.08.075a.75.75 0 00-.172.7l1.349 5.055-4.39-2.845-.096-.053a.75.75 0 00-.72.053l-4.391 2.845 1.35-5.054.02-.108a.75.75 0 00-.272-.668l-4.063-3.297 5.224-.278a.75.75 0 00.66-.48L12 4.836z",fill:"currentColor",fillRule:"evenodd"}))}function Ql(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H13l-.001-1.5h5.251a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75 5.499 13H4V3.75C4 2.784 4.784 2 5.75 2h12.5zM4.142 16.956a.5.5 0 01.55-.147l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082 1.238-2.143.051-.074zM8 14a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.6.221l-.083-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.033-1.798.75.75 0 11-.925-1.181A3.985 3.985 0 018 14zm7.75-1a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm0-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 110-1.5h7.5zm0-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function Xl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-8.75 9.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 010-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4z",fill:"currentColor",fillRule:"evenodd"}))}function Zl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.356 2c.464 0 .909.184 1.237.513l9.92 9.919a1.75 1.75 0 010 2.475l-6.606 6.606a1.75 1.75 0 01-2.475 0l-9.92-9.92A1.75 1.75 0 012 10.356V3.75C2 2.784 2.784 2 3.75 2h6.606zm0 1.5H3.75a.25.25 0 00-.243.193L3.5 3.75v6.606a.25.25 0 00.033.125l.04.051 9.92 9.92a.25.25 0 00.3.04l.053-.04 6.606-6.606a.25.25 0 00.04-.3l-.04-.053-9.92-9.92a.25.25 0 00-.111-.064l-.065-.009zm1.57 5.394c.365-.007.652.086.852.287.256.255.225.645-.02.89-.215.215-.453.322-.78.366-.512.07-.826.211-1.13.515-.335.335-.335.742-.114.963.203.203.484.176.923-.106l.123-.084.715-.5c1.04-.729 1.934-.732 2.666 0 .809.809.81 1.956.044 3.041l-.12.163.155.155c.238.238.128.494-.02.642-.14.14-.364.246-.581.093l-.072-.062-.145-.145c-.615.532-1.285.857-1.858.87-.349.004-.642-.082-.85-.29-.306-.307-.244-.714.042-1 .145-.146.32-.24.605-.301l.151-.028c.529-.08.991-.293 1.271-.573.425-.425.46-.818.197-1.08-.193-.194-.473-.155-.963.148l-.139.09-.71.476c-1.05.711-1.938.694-2.677-.045-.789-.79-.783-1.929-.026-2.957l.12-.154-.204-.203c-.242-.242-.121-.494.03-.646.138-.137.353-.246.57-.09l.073.062.214.214c.546-.435 1.14-.704 1.657-.71zM6.042 6.043a1 1 0 111.414 1.414 1 1 0 01-1.414-1.414z",fill:"currentColor",fillRule:"evenodd"}))}function ea(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 20.5V22h-5v-1.5h5zm-9-2.5v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zM20 18v2.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V18H20zm0-5.25v3.75h-1.5v-3.75H20zm-14.5 0v3.75H4v-3.75h1.5zM20 7.5v3.75h-1.5V7.5H20zM4 11.25V7.5h9.25a.75.75 0 01.75.75v2.25a.75.75 0 01-.75.75H4zM18.25 2c.966 0 1.75.784 1.75 1.75V6h-1.5V3.75a.25.25 0 00-.193-.243L18.25 3.5 16 3.499V2h2.25zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm6.5 0v1.499l-5 .001V2h5z",fill:"currentColor",fillRule:"evenodd"}))}function ta(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 20.5V22h-5v-1.5h5zm-9-2.5v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zM20 18v2.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V18H20zm0-5.25v3.75h-1.5v-3.75H20zm-14.5 0v3.75H4v-3.75h1.5zM12.25 14a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-4a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zM20 7.5v3.75h-1.5V7.5H20zm-14.5 0v3.75H4V7.5h1.5zM15.25 6a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5zm3-4c.966 0 1.75.784 1.75 1.75V6h-1.5V3.75a.25.25 0 00-.193-.243L18.25 3.5 16 3.499V2h2.25zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm6.5 0v1.499l-5 .001V2h5z",fill:"currentColor",fillRule:"evenodd"}))}function na(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18 11.25a1.75 1.75 0 011.744 1.606l.006.144v4.586c0 .406-.141.797-.396 1.109l-.117.128-3.304 3.305a1.25 1.25 0 01-2.114-1.11l.032-.133.642-2.135H12.5a1.75 1.75 0 01-1.726-1.458l-.018-.148L10.75 17c0-.173.026-.345.076-.51l.059-.163 1.666-4a1.75 1.75 0 011.465-1.07l.15-.007H18zm0 1.5h-3.833a.25.25 0 00-.202.102l-.03.052-1.666 4a.25.25 0 00.174.34l.057.006h2.866a.85.85 0 01.838.99l-.024.104-.606 2.023 2.603-2.604a.25.25 0 00.064-.112l.009-.065V13a.25.25 0 00-.193-.243L18 12.75zm4-1.5c.513 0 .94.441.994 1.003l.006.122v4.5c0 .619-.45 1.125-1 1.125-.513 0-.94-.441-.994-1.003L21 16.875v-4.5c0-.619.45-1.125 1-1.125zM2 6c.513 0 .94.441.994 1.003L3 7.125v4.5c0 .619-.45 1.125-1 1.125-.513 0-.94-.441-.994-1.003L1 11.625v-4.5C1 6.506 1.45 6 2 6zm6.067-4.128a1.25 1.25 0 012.114 1.11l-.032.133-.642 2.135H11.5c.867 0 1.587.63 1.726 1.458l.018.148.006.144c0 .173-.026.345-.076.51l-.059.163-1.666 4a1.75 1.75 0 01-1.465 1.07l-.15.007H6a1.75 1.75 0 01-1.744-1.606L4.25 11V6.414c0-.406.141-.797.396-1.109l.117-.128 3.304-3.305zm.359 1.761L5.823 6.237a.25.25 0 00-.064.112l-.009.065V11a.25.25 0 00.193.243L6 11.25h3.833a.25.25 0 00.202-.102l.03-.052 1.666-4a.25.25 0 00-.174-.34L11.5 6.75H8.634c-.123-.006-.123-.006-.244-.036a.85.85 0 01-.594-.954l.024-.104.606-2.023z",fill:"currentColor",fillRule:"evenodd"}))}function la(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.839 4c.935 0 1.709.754 1.784 1.705l.006.152v9.277c0 .438-.149.86-.414 1.19l-.105.12-4.96 5.144a1.298 1.298 0 01-1.888.01 1.427 1.427 0 01-.389-1.118l.022-.155.85-4.253H4.687c-1.868 0-3.145-1.925-2.531-3.719l.06-.163 2.919-7.066c.266-.63.84-1.06 1.495-1.117L6.782 4h8.057zm5.37 0c.936 0 1.71.754 1.785 1.705l.006.152v7.43c0 1.02-.806 1.856-1.79 1.856-.936 0-1.71-.754-1.785-1.705l-.006-.152V5.857c0-1.021.806-1.857 1.79-1.857z",fill:"currentColor",fillRule:"evenodd"}))}function aa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.839 4c.935 0 1.709.754 1.784 1.705l.006.152v9.277c0 .438-.149.86-.414 1.19l-.105.12-4.96 5.144a1.298 1.298 0 01-1.888.01 1.427 1.427 0 01-.389-1.118l.022-.155.85-4.253H4.687c-1.868 0-3.145-1.925-2.531-3.719l.06-.163 2.919-7.066c.266-.63.84-1.06 1.495-1.117L6.782 4h8.057zm0 1.5H6.782a.284.284 0 00-.223.129l-.038.067-2.916 7.062c-.34.83.192 1.728.97 1.808l.112.006h6.888l-1.114 5.57 4.569-4.74a.373.373 0 00.092-.19l.007-.078V5.857c0-.18-.112-.318-.237-.35L14.84 5.5zm5.37-1.5c.936 0 1.71.754 1.785 1.705l.006.152v7.43c0 1.02-.806 1.856-1.79 1.856-.936 0-1.71-.754-1.785-1.705l-.006-.152V5.857c0-1.021.806-1.857 1.79-1.857z",fill:"currentColor",fillRule:"evenodd"}))}function ra(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.85 2.412a1.298 1.298 0 011.888-.01c.287.298.425.705.389 1.118l-.022.155-.85 4.253h5.058c1.868 0 3.145 1.925 2.531 3.719l-.06.163-2.919 7.066a1.811 1.811 0 01-1.495 1.117l-.152.007H9.161c-.935 0-1.709-.754-1.784-1.705l-.006-.152V8.866c0-.438.149-.86.414-1.19l.105-.12 4.96-5.144zM3.79 8.857c.936 0 1.71.754 1.785 1.705l.006.152v7.429C5.58 19.164 4.775 20 3.79 20c-.936 0-1.71-.754-1.785-1.705L2 18.143v-7.43c0-1.02.806-1.856 1.79-1.856z",fill:"currentColor",fillRule:"evenodd"}))}function oa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.738 2.403c.287.297.425.704.389 1.117l-.022.155-.85 4.253h5.058c1.868 0 3.145 1.925 2.531 3.719l-.06.163-2.919 7.066a1.811 1.811 0 01-1.495 1.117l-.152.007H9.161c-.935 0-1.709-.754-1.784-1.705l-.006-.152V8.866c0-.438.149-.86.414-1.19l.105-.12 4.96-5.144a1.298 1.298 0 011.888-.01zM3.79 8.857c.936 0 1.71.754 1.785 1.705l.006.152v7.429C5.58 19.164 4.775 20 3.79 20c-.936 0-1.71-.754-1.785-1.705L2 18.143v-7.43c0-1.02.806-1.856 1.79-1.856zm9.749-4.999L8.97 8.598a.373.373 0 00-.092.19l-.007.078v9.277c0 .18.112.318.237.35l.053.007h8.057c.08 0 .166-.047.223-.129l.038-.067 2.916-7.062c.34-.83-.192-1.728-.97-1.808l-.112-.006h-6.888l1.114-5.57z",fill:"currentColor",fillRule:"evenodd"}))}function ia(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.832 4.752a1.5 1.5 0 01.416 2.08l-8 12a1.5 1.5 0 01-2.496 0l-4-6a1.5 1.5 0 112.496-1.664L10 15.296l6.752-10.128a1.5 1.5 0 012.08-.416z",fill:"currentColor"}))}function sa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.867 6.097a.75.75 0 011.318.708l-.052.098-7 11a.75.75 0 01-1.145.145l-.074-.08-4-5A.75.75 0 017.01 11.95l.076.081 3.344 4.181 6.437-10.115z",fill:"currentColor",fillRule:"evenodd"}))}function ca(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0119.116 22h-5.232a1.75 1.75 0 01-1.724-2.05c.46-2.634 1.906-3.95 4.34-3.95zM12 2c5.523 0 10 4.477 10 10a9.96 9.96 0 01-1.005 4.374 5.097 5.097 0 00-1.182-1.017A8.488 8.488 0 0020.5 12a8.5 8.5 0 10-9.996 8.369c.02.578.196 1.118.487 1.58C5.942 21.444 2 17.183 2 12 2 6.477 6.477 2 12 2zm4.5 8.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zM12 5.25a.75.75 0 01.743.648L12.75 6v6a.75.75 0 01-.648.743L12 12.75H7.5a.75.75 0 01-.102-1.493l.102-.007h3.75V6a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function ua(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("path",{d:"M18.804 15.647a.75.75 0 011.049 1.05l-.073.083-1.969 1.97 1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073-1.97-1.969-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083 1.969-1.97-1.97-1.97a.75.75 0 01.977-1.133l.084.073 1.97 1.969 1.97-1.97.084-.072z",fill:"#CF3C16",fillRule:"nonzero"}),t.createElement("path",{d:"M5.5 16.5v3.75a.25.25 0 00.193.243l.057.007H12V22H5.75A1.75 1.75 0 014 20.25V16.5h1.5zm2.946-6.103l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H2.75a.75.75 0 01-.102-1.493l.102-.007h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V14h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v7.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zm.914 2.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"})))}function da(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.5 16.5v3.75a.25.25 0 00.193.243l.057.007h4.75V22H5.75A1.75 1.75 0 014 20.25V16.5h1.5zM16 12a3 3 0 013 3v1a1 1 0 011 1v4a1 1 0 01-1 1h-6a1 1 0 01-1-1v-4a1 1 0 011-1v-1a3 3 0 013-3zm0 5.5a1 1 0 00-.5 1.866V20a.5.5 0 00.992.09L16.5 20l.001-.634A1 1 0 0016 17.5zm-7.554-7.103l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H2.75a.75.75 0 01-.102-1.493l.102-.007h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM16 13.5a1.5 1.5 0 00-1.493 1.356L14.5 15v1h3v-1a1.5 1.5 0 00-1.356-1.493L16 13.5zM13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V11.5h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v7.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zm.914 2.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ma(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V16.5h1.5v3.75a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v7.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zm-5.14 8.397l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H2.75a.75.75 0 01-.102-1.493l.102-.007h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ga(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.75 4.75l-4 4 4 4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M3 8.75h13c2.9 0 5.25 2.35 5.25 5.25v0c0 2.9-2.35 5.25-5.25 5.25h-5.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round"}))}function fa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 5v1.5H4.75a.25.25 0 00-.243.193L4.5 6.75v12.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V12H19v7.25A1.75 1.75 0 0117.25 21H4.75A1.75 1.75 0 013 19.25V6.75C3 5.784 3.784 5 4.75 5H12zm8.25-2a.75.75 0 01.743.648L21 3.75v4.5a.75.75 0 01-1.493.102L19.5 8.25V5.56l-4.97 4.97a.75.75 0 01-1.133-.976l.073-.084 4.968-4.97H15.75a.75.75 0 01-.743-.648L15 3.75a.75.75 0 01.648-.743L15.75 3h4.5z",fill:"currentColor",fillRule:"evenodd"}))}function ha(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.368 4.346l.092.062 18 14a.75.75 0 01-.828 1.246l-.092-.062-3.34-2.597L17 17h-2.5a.75.75 0 01-.102-1.493l.102-.007h.778l-3.536-2.75H7a.75.75 0 110-1.5h2.814l-3.46-2.69a3.501 3.501 0 00.454 6.935L7 15.5h2.5a.75.75 0 01.102 1.493L9.5 17H7a5 5 0 01-2.074-9.55L2.54 5.591a.75.75 0 01.828-1.246zM17 7a5 5 0 013.39 8.676l-1.208-.94a3.5 3.5 0 00-1.99-6.231L17 8.5h-2.5a.75.75 0 01-.102-1.493L14.5 7H17zm0 4.25a.75.75 0 110 1.5h-.372l-1.929-1.5H17z",fill:"currentColor",fillRule:"evenodd"}))}function va(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13 18a1 1 0 11-2 0 1 1 0 012 0zM11.055 5.99A.97.97 0 0112.03 5a.97.97 0 01.971 1l-.23 7.76a.768.768 0 01-.77.74.768.768 0 01-.77-.748l-.175-7.763z",fill:"currentColor"}))}function pa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11 15.5a2.25 2.25 0 110 4.5 2.25 2.25 0 010-4.5zm5.831 0a2.25 2.25 0 110 4.5 2.25 2.25 0 010-4.5zM11 17a.75.75 0 100 1.5.75.75 0 000-1.5zm5.831 0a.75.75 0 100 1.5.75.75 0 000-1.5zM5.287 4a1.75 1.75 0 011.56.955l.062.138 3.24 8a.25.25 0 00.173.15l.06.007h7.743a.25.25 0 00.204-.105l.028-.054 2.159-5.496a.25.25 0 00-.141-.324l-.045-.013-.047-.005-10.04-.003a.75.75 0 01-.102-1.493l.102-.007 10.04.003A1.75 1.75 0 0121.962 8l-.049.143-2.158 5.497a1.75 1.75 0 01-1.476 1.103l-.153.007h-7.743a1.75 1.75 0 01-1.56-.955l-.062-.138-3.24-8a.25.25 0 00-.173-.15l-.06-.007H2.75a.75.75 0 01-.102-1.493L2.75 4h2.537z",fill:"currentColor",fillRule:"evenodd"}))}function wa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 4c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0120.25 20H3.75A1.75 1.75 0 012 18.25V5.75C2 4.784 2.784 4 3.75 4h16.5zm.25 6h-17v8.25a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057V10zm-.25-4.5H3.75a.25.25 0 00-.243.193L3.5 5.75V8.5h17V5.75a.25.25 0 00-.193-.243L20.25 5.5zM5.5 6.5v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1z",fill:"currentColor",fillRule:"evenodd"}))}function ba(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1l5.762 3.12v6.161L23 13.117v6.763L17.238 23 12 20.164 6.762 23 1 19.88v-6.762l5.238-2.837V4.137L12 1zM6.761 11.183l-4.144 2.244 4.144 2.243 4.143-2.243-4.143-2.244zm4.714 3.12l-4.19 2.269v4.96l4.19-2.27v-4.96zm1.048 4.96l4.19 2.268v-4.96l-4.19-2.268v4.96zm.57-5.837l4.144 2.244 4.144-2.243-4.144-2.244-4.143 2.244zm8.858.877l-4.19 2.269v4.96l4.19-2.27v-4.96zm-9.428-1.753l4.19-2.269V5.305l-4.19 2.27v4.975zm-1.048-4.975l-4.19-2.256v4.962l4.19 2.27V7.574zm-3.62-3.133L12 6.672l4.144-2.243-4.142-2.243-4.145 2.256zm-1.618 17.09v-4.96l-4.19-2.27v4.96l4.19 2.27z",fill:"currentColor"}))}function Ea(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.144 16.292a2.853 2.853 0 00-2.754 2.144H7.722a2.857 2.857 0 01-2.856-2.858 2.857 2.857 0 012.856-2.859h1.53a2.842 2.842 0 005.508 0h1.529a4.286 4.286 0 004.283-4.287 4.286 4.286 0 00-4.283-4.288H7.62A2.856 2.856 0 002 4.859a2.856 2.856 0 005.62.715h8.669a2.857 2.857 0 012.855 2.858 2.857 2.857 0 01-2.855 2.858h-1.53a2.842 2.842 0 00-5.508 0h-1.53a4.286 4.286 0 00-4.283 4.288 4.286 4.286 0 004.284 4.287h8.668a2.85 2.85 0 005.6-.964 2.852 2.852 0 00-2.846-2.609zM4.866 6.288a1.429 1.429 0 11.002-2.857 1.429 1.429 0 01-.002 2.857zm7.14 4.287a1.429 1.429 0 11-.002 2.857 1.429 1.429 0 01.001-2.857zm7.138 10.005a1.429 1.429 0 11.002-2.857 1.429 1.429 0 01-.002 2.857z",fill:"currentColor"}))}function xa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 2.25a7.75 7.75 0 015.985 12.674l5.545 5.546a.75.75 0 01-.976 1.133l-.084-.073-5.546-5.545A7.75 7.75 0 1110 2.25zm0 1.5a6.25 6.25 0 100 12.5 6.25 6.25 0 000-12.5zm0 2.75a.75.75 0 01.75.75v2h2a.75.75 0 110 1.5h-2v2a.75.75 0 11-1.5 0v-2h-2a.75.75 0 110-1.5h2v-2A.75.75 0 0110 6.5z",fill:"currentColor",fillRule:"evenodd"}))}const ya={"account-preview":t.forwardRef(J),"accounting-year-cancel":t.forwardRef(Y),"accounting-year":t.forwardRef(Q),accounting:t.forwardRef(X),"ai-chat-solid":t.forwardRef(Z),"ai-stars":t.forwardRef(ee),"arrow-bottom":t.forwardRef(te),"arrow-down":t.forwardRef(ne),"arrow-end":t.forwardRef(le),"arrow-left":t.forwardRef(ae),"arrow-right":t.forwardRef(re),"arrow-start":t.forwardRef(oe),"arrow-top":t.forwardRef(ie),"arrow-up":t.forwardRef(se),"attach-auto":t.forwardRef(ce),"attach-cancel":t.forwardRef(ue),"attach-warning":t.forwardRef(de),attach:t.forwardRef(me),"autotext-insert":t.forwardRef(ge),autotext:t.forwardRef(fe),"basic-tabs":t.forwardRef(he),basic:t.forwardRef(ve),"bell-solid":t.forwardRef(pe),book:t.forwardRef(we),booking:t.forwardRef(be),budget:t.forwardRef(Ee),calendar:t.forwardRef(xe),"cash-account":t.forwardRef(ye),"cash-reports":t.forwardRef(ze),"chart-area":t.forwardRef(Re),"chart-bar":t.forwardRef(Ce),"chart-line":t.forwardRef(Se),"chart-pie":t.forwardRef(Ne),"chart-table":t.forwardRef(Oe),"chat-solid":t.forwardRef(Ae),chat:t.forwardRef(Ie),"chevron-down-double":t.forwardRef(Le),"chevron-down-solid":t.forwardRef(He),"chevron-down":t.forwardRef(Me),"chevron-left-double":t.forwardRef(ke),"chevron-left-solid":t.forwardRef(Ve),"chevron-left":t.forwardRef(je),"chevron-right-double":t.forwardRef(Te),"chevron-right-solid":t.forwardRef(De),"chevron-right":t.forwardRef(Fe),"chevron-up-double":t.forwardRef(Pe),"chevron-up-solid":t.forwardRef(Be),"chevron-up":t.forwardRef(_e),"circle-close":t.forwardRef(Ge),"circle-information":t.forwardRef(qe),"circle-minus":t.forwardRef($e),"circle-plus":t.forwardRef(Ke),"circle-questionmark":t.forwardRef(Ue),"circle-tick":t.forwardRef(We),"circle-warning":t.forwardRef(Je),"clamp-open":t.forwardRef(Ye),clamp:t.forwardRef(Qe),close:t.forwardRef(Xe),"column-freeze":t.forwardRef(Ze),"column-unfreeze":t.forwardRef(et),columns:t.forwardRef(tt),"connection-enable":t.forwardRef(nt),"connection-revoke":t.forwardRef(lt),contacts:t.forwardRef(at),copy:t.forwardRef(rt),courses:t.forwardRef(ot),credit:t.forwardRef(it),"delete-permanently":t.forwardRef(st),delete:t.forwardRef(ct),depecriate:t.forwardRef(ut),developer:t.forwardRef(dt),"distribution-template":t.forwardRef(mt),"document-approve":t.forwardRef(gt),"document-create-entry":t.forwardRef(ft),"document-cut":t.forwardRef(ht),"document-error":t.forwardRef(vt),"document-isolate-page":t.forwardRef(pt),"document-merge":t.forwardRef(wt),"document-move":t.forwardRef(bt),"document-preview":t.forwardRef(Et),"document-received":t.forwardRef(xt),"document-rejected-request":t.forwardRef(yt),"document-split":t.forwardRef(zt),"document-time":t.forwardRef(Rt),document:t.forwardRef(Ct),download:t.forwardRef(St),drag:t.forwardRef(Nt),"e-copedia":t.forwardRef(Ot),"e-signature":t.forwardRef(At),"edit-simple":t.forwardRef(It),edit:t.forwardRef(Lt),"ellipsis-horizontal":t.forwardRef(Ht),"ellipsis-vertical":t.forwardRef(Mt),"entries-on-account":t.forwardRef(kt),"entries-open":t.forwardRef(Vt),"entries-warning":t.forwardRef(jt),"entry-type-customer-invoice":t.forwardRef(Tt),"entry-type-customer-payment":t.forwardRef(Dt),"entry-type-journal-entry":t.forwardRef(Ft),"entry-type-manual-customer-invoice":t.forwardRef(Pt),"entry-type-supplier-invoice":t.forwardRef(Bt),"entry-type-supplier-payment":t.forwardRef(_t),"envelope-approved":t.forwardRef(Gt),"envelope-solid":t.forwardRef(qt),envelope:t.forwardRef($t),"expand-view":t.forwardRef(Kt),expenses:t.forwardRef(Ut),"export-to-excel":t.forwardRef(Wt),"export-to-pdf":t.forwardRef(Jt),export:t.forwardRef(Yt),"eye-off":t.forwardRef(Qt),"eye-on":t.forwardRef(Xt),"filter-solid":t.forwardRef(Zt),filter:t.forwardRef(en),"font-size":t.forwardRef(tn),"graph-solid":t.forwardRef(nn),hash:t.forwardRef(ln),"height-extra-tall":t.forwardRef(an),"height-medium":t.forwardRef(rn),"height-short":t.forwardRef(on),"height-tall":t.forwardRef(sn),home:t.forwardRef(cn),images:t.forwardRef(un),import:t.forwardRef(dn),"inbox-einvoicing":t.forwardRef(mn),"inbox-scanning":t.forwardRef(gn),"inbox-smart":t.forwardRef(fn),inbox:t.forwardRef(hn),info:t.forwardRef(vn),"inventory-matrix":t.forwardRef(pn),inventory:t.forwardRef(wn),"journal-pro":t.forwardRef(bn),"layout-both":t.forwardRef(En),"layout-first":t.forwardRef(xn),"layout-last":t.forwardRef(yn),"layout-none":t.forwardRef(zn),layout:t.forwardRef(Rn),"ledger-card-customer-reminder":t.forwardRef(Cn),"ledger-card-manual-customer-invoice":t.forwardRef(Sn),"ledger-card-obsolete-stock":t.forwardRef(Nn),"ledger-card-opening-entry":t.forwardRef(On),"ledger-card-reserved-entry":t.forwardRef(An),"ledger-card-shrinkage-pilferage":t.forwardRef(In),"ledger-card-stock-adjustment":t.forwardRef(Ln),"ledger-card-transferred-opening-entry":t.forwardRef(Hn),"ledger-card":t.forwardRef(Mn),lightbulb:t.forwardRef(kn),line:t.forwardRef(Vn),"list-bulleted":t.forwardRef(jn),"list-search":t.forwardRef(Tn),list:t.forwardRef(Dn),location:t.forwardRef(Fn),"lock-open":t.forwardRef(Pn),lock:t.forwardRef(Bn),"log-out":t.forwardRef(_n),log:t.forwardRef(Gn),market:t.forwardRef(qn),"match-amount":t.forwardRef($n),"match-entries":t.forwardRef(Kn),menu:t.forwardRef(Un),mileage:t.forwardRef(Wn),"modal-resize":t.forwardRef(Jn),"modal-shrink":t.forwardRef(Yn),"more-solid":t.forwardRef(Qn),more:t.forwardRef(Xn),move:t.forwardRef(Zn),"navigation-list":t.forwardRef(el),"note-follow-up":t.forwardRef(tl),"note-read":t.forwardRef(nl),note:t.forwardRef(ll),numbers:t.forwardRef(al),"partner-api":t.forwardRef(rl),"payment-paid":t.forwardRef(ol),"payment-unpaid":t.forwardRef(il),period:t.forwardRef(sl),"person-change":t.forwardRef(cl),"person-minus":t.forwardRef(ul),"person-plus":t.forwardRef(dl),"person-tick":t.forwardRef(ml),"phone-solid":t.forwardRef(gl),play:t.forwardRef(fl),"plus-minus":t.forwardRef(hl),print:t.forwardRef(vl),"process-payment":t.forwardRef(pl),"product-ledger-card":t.forwardRef(wl),profile:t.forwardRef(bl),"project-cards":t.forwardRef(El),projects:t.forwardRef(xl),"question-mark-bold":t.forwardRef(yl),"question-mark":t.forwardRef(zl),quicklinks:t.forwardRef(Rl),"rating-bankruptcy":t.forwardRef(Cl),"rating-payment-problems":t.forwardRef(Sl),reconciled:t.forwardRef(Nl),refresh:t.forwardRef(Ol),"report-solid":t.forwardRef(Al),report:t.forwardRef(Il),restore:t.forwardRef(Ll),"rotate-left":t.forwardRef(Hl),"rotate-right":t.forwardRef(Ml),sales:t.forwardRef(kl),"search-bold":t.forwardRef(Vl),search:t.forwardRef(jl),"secure-tick":t.forwardRef(Tl),secure:t.forwardRef(Dl),"settings-solid":t.forwardRef(Fl),settings:t.forwardRef(Pl),shortcuts:t.forwardRef(Bl),"show-all":t.forwardRef(_l),"show-less":t.forwardRef(Gl),"show-more":t.forwardRef(ql),"show-template":t.forwardRef($l),sliders:t.forwardRef(Kl),smartpay:t.forwardRef(Ul),"sort-by":t.forwardRef(Wl),"star-solid":t.forwardRef(Jl),star:t.forwardRef(Yl),subscriptions:t.forwardRef(Ql),"system-entries":t.forwardRef(Xl),tag:t.forwardRef(Zl),"template-override":t.forwardRef(ea),templates:t.forwardRef(ta),"thumb-both":t.forwardRef(na),"thumb-down-solid":t.forwardRef(la),"thumb-down":t.forwardRef(aa),"thumb-up-solid":t.forwardRef(ra),"thumb-up":t.forwardRef(oa),"tick-bold":t.forwardRef(ia),tick:t.forwardRef(sa),time:t.forwardRef(ca),"transfer-cancel":t.forwardRef(ua),"transfer-locked":t.forwardRef(da),transfer:t.forwardRef(ma),undo:t.forwardRef(ga),undock:t.forwardRef(fa),unreconciled:t.forwardRef(ha),warning:t.forwardRef(va),webshop:t.forwardRef(pa),website:t.forwardRef(wa),"workflow-template-basic":t.forwardRef(ba),workflow:t.forwardRef(Ea),zoom:t.forwardRef(xa)},za=n.forwardRef((function(e,t){var a;const{name:r,...o}=e,i=ya[r],s=l("inline-flex h-[1.715em] w-[1.715em] flex-shrink-0",e.className,{"p-[3px]":null===(a=e.className)||void 0===a?void 0:a.includes("rounded-full")});return i?n.createElement(i,Object.assign({},o,{className:s,"data-taco":"icon","data-icon-name":r,focusable:"false",ref:t,role:"img"})):null})),Ra=t.forwardRef((function(e,n){const{color:a,icon:r,subtle:o,small:i,...s}=e,c=l("rounded-full border overflow-hidden whitespace-nowrap inline-flex items-center justify-center border-transparent [&>*]:max-h-full",{"w-5 h-5":!i},{"w-4 h-4 text-xs":i},{[U(a)]:o,[W(a)]:!o},e.className);return t.createElement("span",Object.assign({},s,{"aria-label":"icon",className:c,"data-taco":"badge-icon",ref:n,role:"status",title:e["aria-label"]}),t.createElement(za,Object.assign({name:r},{strokeWidth:1,stroke:"currentColor"})))})),Ca=e=>{switch(e){case"information":return"info";case"warning":return"warning";case"error":return"close";case"success":return"tick";default:return"question-mark"}},Sa=n.forwardRef((function(e,t){const{children:a,title:r,state:o,onClose:i}=e,s=l("flex w-full flex-row items-start gap-2 rounded-md border-transparent p-3 "+U($(o)),e.className);return n.createElement("div",Object.assign({},e,{ref:t,className:s,"data-taco":"alert",role:"alert"}),n.createElement(Ra,{className:"flex-none",icon:Ca(o),color:$(o)}),n.createElement("div",{className:"grow text-sm"},r&&n.createElement("div",{className:"font-bold"},r),a),i&&n.createElement(za,{className:"flex-none cursor-pointer",name:"close",onClick:i}))})),Na=n.createContext({props:{},ref:null});function Oa(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}const Aa=t.forwardRef((function(e,l){const{ref:r,props:o}=n.useContext(Na),i=Oa([r,l]);return t.createElement(a.Trigger,Object.assign({},o,e,{ref:i,asChild:!0}))})),Ia=t.forwardRef((function(e,n){return t.createElement("div",Object.assign({},e,{className:"flex justify-end gap-2",ref:n}),e.children)})),La=t.forwardRef((function(e,n){return t.createElement(a.Cancel,Object.assign({},e,{ref:n,asChild:!0}))})),Ha=t.forwardRef((function(e,n){return t.createElement(a.Action,Object.assign({},e,{className:e.className,ref:n,asChild:!0}))})),Ma=t.forwardRef((function(e,n){const a=l("fixed inset-0 cursor-default overflow-y-auto bg-blue-900/[0.3] aria-hidden:invisible print:overflow-visible print:absolute",e.className);return t.createElement("div",Object.assign({},e,{className:a,"data-taco":"backdrop",ref:n}))})),ka=e=>{switch(e){case"dialog":return"w-128";case"xs":return"w-xs";case"sm":return"w-sm";case"md":return"w-md";case"lg":return"w-lg"}},Va=t.forwardRef((function(e,n){const r=l("text-center",e.className);return t.createElement(a.Title,Object.assign({},e,{className:r,ref:n}))})),ja=t.forwardRef((function(e,n){const r=l("p-6","mt-16 mx-auto","bg-white rounded animate-[fade-in_150ms] shadow-[0_6px_9px_0_rgba(89,85,98,0.3),0_0_1px_0_rgba(89,85,98,0.2)]",ka("dialog"));return t.createElement(a.Portal,null,t.createElement(a.Overlay,{asChild:!0},t.createElement(Ma,null,t.createElement(a.Content,Object.assign({},e,{ref:n,className:r,onEscapeKeyDown:e=>e.preventDefault()}),e.children))))})),Ta=t.forwardRef((function(e,n){const{defaultOpen:l,onChange:r,open:o,trigger:i,...s}=e,c=t.useMemo(()=>({props:s,ref:n}),[o,s]);return t.createElement(Na.Provider,{value:c},t.createElement(a.Root,Object.assign({},e,{defaultOpen:l,open:o,onOpenChange:r}),i&&t.createElement(Aa,null,i),e.children))}));Ta.Trigger=Aa,Ta.Content=ja,Ta.Title=Va,Ta.Cancel=La,Ta.Action=Ha,Ta.Footer=Ia;const Da=n.createContext({as:"h2"}),Fa=n.forwardRef((function(e,t){const a=!!e["aria-expanded"],r=l("w-full inline-flex justify-between items-center align-middle","focus:rounded-sm focus:border-blue-500 focus:yt-focus",e.className);return n.createElement("button",Object.assign({},e,{ref:t,className:r}),e.children,n.createElement(za,{name:a?"chevron-up":"chevron-down"}))})),Pa=n.forwardRef((function(e,t){const{children:l}=e,{as:a}=n.useContext(Da);return n.createElement(r.Header,{asChild:!0},n.createElement(a,{className:"my-3"},n.createElement(r.Trigger,{ref:t,asChild:!0},n.createElement(Fa,null,l))))})),Ba=n.forwardRef((function(e,t){return n.createElement(r.Content,Object.assign({},e,{ref:t}))})),_a=e=>{const{id:t,defaultId:a,onChange:o,as:i="h2",...s}=e,c=n.useMemo(()=>({as:i}),[i]);let u;u=a?{defaultValue:a||void 0}:{onValueChange:o,value:t||void 0};const d="string"==typeof u.defaultValue||"string"==typeof u.value?"single":"multiple",m=l("divide-y divide-grey-200",e.className);return n.createElement(Da.Provider,{value:c},n.createElement(r.Root,Object.assign({},s,u,{"data-taco":"accordion",className:m,type:d})))};_a.Item=e=>{const{id:t,...l}=e;return n.createElement(r.Item,Object.assign({},l,{value:t}))},_a.Trigger=Pa,_a.Content=Ba;const Ga=t.forwardRef((function(e,n){return t.createElement("span",Object.assign({},e,{className:"sr-only",ref:n}))})),qa=t.forwardRef((function(e,n){const{children:a,compact:r=!1,outline:o=!1,status:i=!1,subtle:s=!1,small:c=!1,color:u,...d}=e,m="transparent"===u,g=l("rounded-full border overflow-hidden whitespace-nowrap inline-flex items-center justify-center",{["border "+K(u)]:o,["border-transparent font-normal "+U(u)]:s,["border-transparent "+W(u)]:!o&&!s,"h-4 min-w-0 py-0 px-1 text-xs":c,"h-2 w-2 min-w-0":r,"font-bold":o||!s,"text-sm":!c,"h-5 py-0 px-1.5":!r&&!c,"!bg-grey-700":r&&m},e.className);return t.createElement("span",Object.assign({},d,{"aria-atomic":"true","aria-live":"polite",className:g,"data-taco":"badge",ref:n,role:"status",title:e["aria-label"]}),r?t.createElement(Ga,null,a):i?t.createElement(t.Fragment,null,t.createElement("div",{className:l("mr-1 h-2 w-2 rounded-full",W(u))}),a):a)})),$a=e=>{const t=n.useRef(null);return n.useEffect(()=>{e&&("function"==typeof e?e(t.current):e.current=t.current)},[e]),t},Ka=(e,t=0)=>{let n=0,l=null;const a=e.getBoundingClientRect();for(const r of Array.from(e.children)){if(r.getBoundingClientRect().right-a.left>a.width-t){l=n;break}n++}return l},Ua=e=>{switch(null==e?void 0:e.getAttribute("role")){case"dialog":return`[aria-controls='${e.id}']`;case"menu":return"#"+e.getAttribute("aria-labelledby");default:return}};function Wa(e,t){var n,l;const a=null!==(n=Ua(e))&&void 0!==n?n:Ua(null!==(l=null==e?void 0:e.closest("[role=dialog],[role=menu]"))&&void 0!==l?l:null);return a?!(null==t||!t.querySelector(a)):!(null==t||!t.contains(e))}function Ja(e){const t=e;return["A","BUTTON","INPUT","TEXTAREA","SELECT","LABEL","OPTION"].includes(t.tagName)&&!t.hidden&&!t.disabled&&!t.readOnly}function Ya(e){return Za()?e.metaKey:e.ctrlKey}function Qa(e,t){const n="string"==typeof t?{key:t,meta:!1,shift:!1}:t;return!(n.meta&&(Za()?!e.metaKey:!e.ctrlKey)||!n.meta&&(Za()?e.metaKey:e.ctrlKey)||n.shift&&!e.shiftKey||!1===n.shift&&e.shiftKey||e.key.toLowerCase()!==n.key.toLowerCase())}function Xa(e,t,n=!0){return function(l){var a;l.target!==l.currentTarget&&Ja(l.target)&&!Ya(l)||Qa(l,e)&&(n&&(l.stopPropagation(),null===(a=l.stopImmediatePropagation)||void 0===a||a.call(l)),t(l))}}const Za=()=>{var e;return null===(e=window)||void 0===e?void 0:e.navigator.userAgent.includes("Mac")},er=(e,t)=>{n.useEffect(()=>{let n;return e&&(n=Xa(e,t,!1),document.addEventListener("keydown",n)),()=>{n&&document.removeEventListener("keydown",n)}},[e,t])},tr=t.forwardRef((function(e,n){const{disabled:l,shortcut:a,target:r,type:o="button",...i}=e,s=$a(n);er(a,e=>{var t;null==e||e.preventDefault();const n=document.querySelector('[role="dialog"]');(!n||null!=n&&n.contains(s.current))&&(null===(t=s.current)||void 0===t||t.click())});const c=e.href?"a":"button";return t.createElement(c,Object.assign({},i,{"aria-disabled":l?"true":void 0,disabled:l,target:"a"===c?r:void 0,type:"a"!==c?o:void 0,ref:s}),t.Children.count(e.children)>1?t.Children.map(e.children,e=>"string"==typeof e?t.createElement("span",null,e):e):e.children)})),nr=t.forwardRef((function(e,n){const{title:a,children:r,placement:i,hide:s=!1,...c}=e,u=l(c.className);return s?r:t.createElement(o.Root,{delayDuration:250},t.createElement(o.Trigger,{asChild:!0,ref:n},r),t.createElement(o.Portal,null,t.createElement(o.Content,Object.assign({},c,{asChild:!0,className:u,side:i,sideOffset:3}),t.createElement("div",{className:"xs:max-w-[theme(spacing.56)] max-w-[theme(spacing.32)] animate-[fade-in_150ms] rounded-sm bg-blue-900 px-2 py-1 text-xs font-bold text-white print:hidden","data-taco":"tooltip",style:{transformOrigin:"var(--radix-tooltip-content-transform-origin)"}},t.createElement(o.Arrow,{className:"-mt-px fill-blue-900/90 stroke-blue-900/90"}),a))))})),lr=(e,t=!1)=>{switch(e){case"primary":return"wcag-blue-500 enabled:hover:wcag-blue-700 enabled:hover:active:wcag-blue-500 disabled:bg-blue-500/50";case"danger":return"wcag-red-500 enabled:hover:wcag-red-700 enabled:hover:active:wcag-red-500 disabled:bg-red-500/50";case"ghost":return"bg-white border border-blue-500 text-blue-500 enabled:hover:bg-blue-100 enabled:hover:text-blue-700 disabled:border-blue-500/50 disabled:text-blue-500/50";case"discrete":return t?"bg-transparent text-black enabled:hover:bg-[#000]/[0.08] disabled:text-black/30":"bg-transparent text-blue-500 enabled:hover:text-blue-700 disabled:text-blue-500/50";case"transparent":return"bg-transparent text-black enabled:hover:text-black enabled:hover:bg-[#000]/[0.08] disabled:text-black/30";default:return"wcag-grey-200 enabled:hover:wcag-grey-300 disabled:bg-grey-200/50 disabled:text-black/30"}},ar=(e,t,l)=>{const{tooltip:a,...r}=e,o=n.createElement(tr,Object.assign({},r,{className:t,ref:l}));return a?n.createElement(nr,{title:a},o):o},rr=(e,t)=>{const{dialog:n,drawer:l,hanger:a,menu:r,popover:o}=e;let i=t;return"function"==typeof n?i=n({trigger:i}):"function"==typeof l?i=l({trigger:i}):"function"==typeof r?i=r({trigger:i}):"function"==typeof o&&(i=o({trigger:i})),"function"==typeof a&&(i=a({anchor:i})),i},or=t.forwardRef((function(e,n){const{icon:a,rounded:r=!1,...o}=e,i=l("w-8","flex-shrink-0 min-h-[theme(spacing.8)] min-w-[theme(spacing.8)] gap-1 h-max leading-5 inline-flex items-center justify-center focus-visible:yt-focus disabled:cursor-not-allowed",lr(o.appearance,!0),{"rounded-full":r,rounded:!r},e.className);return a?ar({...o,children:t.createElement(za,{name:a,className:"m-0 p-0"}),"data-taco":"icon-button"},i,n):null})),ir=t.forwardRef((function(e,n){const{dialog:l,hanger:a,menu:r,popover:o,...i}=e,s=t.createElement(or,Object.assign({},i,{ref:n}));return rr({dialog:l,hanger:a,menu:r,popover:o},s)})),sr={banner:{close:"Close"},calendar:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],actions:{previousMonth:"Previous month",nextMonth:"Next month",previousYear:"Previous year",nextYear:"Next year",today:"Today"}},combobox:{tooltip:"Search in list"},datepicker:{calendar:"Calendar",clear:"Clear",expand:"Show calendar",shortcuts:"Shortcuts"},dialog:{close:"Close",drag:"Drag"},hanger:{close:"Close"},header:{addAgreement:"Add agreement",logout:"Log off",more:"More",new:"New",search:"Search for agreement..."},listbox:{loading:"Loading results...",empty:"No results found",allOption:"All"},pagination:{label:"Pagination",pageSize:"Items per page",showingXofYofTotal:"Showing [X] - [Y] of [total]",actions:{firstPage:"Goto first page",firstPageWithShortcut:"Goto first page (Home)",previousPage:"Goto previous page",previousPageWithShortcut:"Goto previous page (Page Up)",nextPage:"Goto next page",nextPageWithShortcut:"Goto next page (Page Down)",lastPage:"Goto last page",lastPageWithShortcut:"Goto last page (End)",pageX:"Goto page [X]"}},table:{actions:"Other actions",edit:"Edit (e)",copy:"Copy (c)",del:"Delete (del)",newSubRow:"New row (shift + n)",loading:"Loading..."},table3:{columns:{actions:{tooltip:"Row actions"},drag:{tooltip:"Drag row"},expansion:{collapse:"Collapse row",collapseAll:"Collapse all rows",expand:"Expand row",expandAll:"Expand all rows"},menu:{freezeFirstColumn:"Freeze the first column",freezeUptoColumn:"Freeze first [TOTAL] columns",freezeColumns:(e=1)=>1===e?"Freeze the first column":`Freeze first ${e} columns`,gotoRow:"Go to",hideColumn:"Hide column",unfreezeColumns:"Unfreeze all columns",sorting:"Sorting",sortingOrder:{ascending:"Ascending order",descending:"Descending order",unsorted:"No sorting"}},resize:{tooltip:"Resize column"},select:{deselect:"Deselect row",deselectAll:"Deselect all rows",select:"Select row",selectAll:"Select all rows"}},columnSettings:{search:"Search column...",tooltip:"Column settings",button:"Column settings",noResults:"No results"},editing:{actions:{tooltip:"Row actions",save:"Save",clear:"Clear changes",exit:"Exit edit mode"},buttons:{edit:{tooltip:"Edit table"}},rowIndicator:{rowWillMove:"Row will move due to sorting",rowWillBeHidden:"Row will hide due to filtering",rowWillMoveReasonSearch:"Due to a search filter applied to this table, this row will be hidden as soon as you select another row",rowWillMoveReasonFilter:"Due to a filter applied to the column '[COLUMN]', this row will be hidden as soon as you select another row",rowWillMoveReasonSorting:"Due to sorting applied to the column '[COLUMN]', this row will move position as soon as you select another row"},saving:{progress:"Saving...",complete:"Saved"},clearChangesConfirmationDialog:{title:"Discard changes",description:"Are you sure you want to discard changes on row ‘[ROW_IDENTIFIER] [ROW_IDENTIFIER_VALUE]’. Your changes will be lost.",cancel:"Continue edititng",confirm:"Discard"}},filters:{button:"Filters",buttons:{addFilter:"Add new filter",clearFilters:"Clear all filters"},comparators:{contains:"Contains",doesNotContain:"Does not contain",isEqualTo:"Is",isNotEqualTo:"Is not",isGreaterThan:"Is greater than",isLessThan:"Is less than",isBetween:"Is between",isOneOf:"Is one of",isNoneOf:"Is none of",isAllOf:"Is all of",isEmpty:"Is empty",isNotEmpty:"Is not empty",isBefore:"Is before",isAfter:"Is after",isOnOrBefore:"Is on or before",isOnOrAfter:"Is on or after",isLessThanOrEqualTo:"Is less than or equal to",isGreaterThanOrEqualTo:"Is greater than or equal to",hasAnyOf:"Has any of",hasAllOf:"Has all of",hasNoneOf:"Has none of"},conditions:{and:"And",where:"Where"},emptyFilter:{condition:"Condition",value:"Value"},hiddenColumn:"Hidden column",hiddenGroupedColumn:"Hidden grouped column",tooltip:"Apply filters",total:"Viewing [CURRENT] of [TOTAL]"},fontSize:{tooltip:"Font size",sizes:{small:"Small",medium:"Medium",large:"Large"}},footer:{summary:{count:"of",records:"Records:",selected:"Records selected:"}},print:{error:"An error occurred while creating a print preview",loading:"Creating a print preview",tooltip:"Print",warningDialog:{title:"Extra loading time",description:"Please note that printing a large amount of data may result in a slightly longer waiting time due to data loading.",checkboxVisibilityLabel:"Don't show again",cancelButtonText:"Cancel",printButtonText:"Print"},settingsDialog:{title:"Print settings",size:"Paper size",sizeA5:"A5",sizeA4:"A4",sizeA3:"A3",sizeLetter:"Letter",sizeLegal:"Legal",orientation:"Paper orientation",orientationLandscape:"Landscape",orientationPortrait:"Portrait",rows:"Print rows",rowsAll:"All",rowsSelected:"Selected",layout:"Page layout",layoutSplitGroups:"New page for each [COLUMN]"}},rowHeight:{tooltip:"Row height",sizes:{short:"Short",medium:"Medium",tall:"Tall",extraTall:"Extra tall"}},search:{excludeUnmatchedResults:"Show only search results",placeholder:"Search..."},shortcuts:{tooltip:"View keyboard shortcuts",search:"Search",filter:"Filter",previousRow:"Previous row",nextRow:"Next row",editCell:"Edit cell",previousColumn:"Previous column",nextColumn:"Next column",rowClick:"Activate current row",selectRow:"Select current row",selectAllRows:"Select all rows",expandRow:"Expand current row",collapseRow:"Collapse current row"},otherOptions:{tooltip:"Table settings"},validation:{index:"Index",alert:{unsavedEntries:(e=1)=>1===e?"unsaved entry:":"unsaved entries:",incompleteAndHavntBeenSaved:(e=1)=>1===e?"is incomplete and haven’t been saved.":"are incomplete and haven’t been saved."},resetFiltersDialog:{title:"Row is hidden",description:"The row is hidden due to filtering.",cancel:"Cancel",confirm:"Remove filters"}}},searchInput:{button:"Search",findNext:"Next",findPrevious:"Previous",placeholder:"Search...",clear:"Clear"},select:{allOptionsSelected:"All"},select2:{allSelect:"Select all",allDeselect:"Deselect all",cancel:"Cancel",chooseColor:"Pick a color",create:"Create",delete:"Delete",save:"Save",search:"Search...",searchOrCreate:"Search or create..."},toasts:{dismiss:"Dismiss"},tour:{back:"Back",close:"Close",skip:"Close and complete",last:"Done",next:"Next",open:"Open"},drawer:{close:"Close"}},cr={locale:"en-GB",texts:sr,formatting:{date:"dd.mm.yy"}},ur=t.createContext(cr),dr=({localization:e,children:n})=>t.createElement(ur.Provider,{value:null!=e?e:cr},n),mr=()=>t.useContext(ur),gr=t.forwardRef((function(e,a){const{children:r,state:o,onClose:i}=e,{texts:s}=mr(),c=l("bg-white relative flex items-center gap-2 py-2 px-4 leading-6 shadow-md z-10",e.className);return t.createElement("div",{className:c,"data-taco":"banner",ref:a},(u=o,n.createElement("div",{className:"mt-[5px] self-start"},(()=>{switch(u){case"success":return n.createElement(Ra,{icon:"tick",color:"green"});case"error":return n.createElement(Ra,{icon:"close",color:"red"});case"warning":return n.createElement(Ra,{icon:"warning",color:"yellow"});case"information":return n.createElement(Ra,{icon:"info",color:"blue"});default:return null}})())),r,i?t.createElement(ir,{"aria-label":s.banner.close,className:"-mr-2 ml-auto self-start",icon:"close",appearance:"discrete",onClick:i}):null);var u})),fr=t.forwardRef((function(e,t){const{appearance:n,fluid:a,...r}=e,o=l("flex-shrink-0 min-h-[theme(spacing.8)] min-w-[theme(spacing.8)] gap-1 h-max leading-5 inline-flex items-center justify-center focus-visible:yt-focus disabled:cursor-not-allowed",lr(n),"rounded px-3",{"w-full":a},e.className);return ar({...r,"data-taco":"button"},o,t)})),hr=t.forwardRef((function(e,n){const{dialog:l,drawer:a,hanger:r,menu:o,popover:i,...s}=e;let c=s.children;"function"==typeof o&&(c=Array.isArray(c)?[...c,t.createElement(za,{key:"chevron-down",name:"chevron-down"})]:[c,t.createElement(za,{key:"chevron-down",name:"chevron-down"})]);const u=t.createElement(fr,Object.assign({},s,{ref:n}),c);return rr({dialog:l,drawer:a,hanger:r,menu:o,popover:i},u)})),vr=(new Date).getFullYear(),pr=[];for(let e=vr-50;e<=vr+10;e+=1)pr.push(e);const wr=t.memo(({onMonthChange:e,onNextClick:n,onPreviousClick:l,value:a=new Date})=>{const{texts:{calendar:{actions:r,months:o}}}=mr(),i=function(t){const{year:n,month:l}=t.target.form;e(new Date(n.value,l.value))};return t.createElement("div",{className:"mb-1 flex items-center justify-between"},t.createElement("form",{className:"inline-flex space-x-1"},t.createElement("select",{className:"h-8 px-2",name:"month",onChange:i,value:a.getMonth()},o.map((e,n)=>t.createElement("option",{key:e,value:n},e))),t.createElement("select",{className:"h-8 px-2",name:"year",onChange:i,value:a.getFullYear()},pr.map(e=>t.createElement("option",{key:e,value:e},String(e))))),t.createElement("div",null,t.createElement(nr,{title:r.previousMonth},t.createElement(ir,{appearance:"discrete",icon:"chevron-left","aria-label":r.previousMonth,onClick:()=>l(),rounded:!0})),t.createElement(nr,{title:r.nextMonth},t.createElement(ir,{appearance:"discrete",icon:"chevron-right","aria-label":r.nextMonth,onClick:()=>n(),rounded:!0}))))}),br=t.forwardRef((function(e,n){const{onChange:a,value:r,disabledDays:o,...s}=e,{locale:c,texts:u}=mr(),[d,m]=t.useState(null!=r?r:new Date);t.useEffect(()=>{d!==r&&m(null!=r?r:new Date)},[r]);const g=l("flex bg-white text-xs p-2",s.className);return t.createElement("div",{"data-taco":"calendar"},t.createElement(i,Object.assign({},s,{className:g,month:d,selectedDays:r,locale:c.substring(0,2),firstDayOfWeek:1,months:u.calendar.months,weekdaysLong:u.calendar.weekdays,weekdaysShort:u.calendar.weekdaysShort,navbarElement:e=>t.createElement(wr,Object.assign({},e,{onMonthChange:m,value:d})),onDayClick:(e,t,n)=>{t.outside||t.disabled||a(e,n)},onMonthChange:m,onTodayButtonClick:()=>{const e=new Date;e.setHours(12),e.setMinutes(0),e.setSeconds(0),a(e)},captionElement:()=>null,todayButton:u.calendar.actions.today,numberOfMonths:1,ref:n,disabledDays:o})))})),Er=e=>null!==e&&e.offsetWidth<e.scrollWidth,xr=({children:e,tooltip:t})=>{const a=n.useRef(null),[r,o]=n.useState(!1),{isTruncated:i}=((e,t=[])=>{const[l,a]=n.useState(Er(e));return n.useEffect(()=>{a(Er(e))},[e,...t]),{isTruncated:l}})(a.current,[r]);n.useEffect(()=>(o(!0),()=>o(!1)),[]);const s=n.cloneElement(n.Children.only(e),{ref:a,className:l(e.props.className,"truncate",{"hover:cursor-pointer":i})});return i?n.createElement(nr,{title:t},s):s},yr=t.forwardRef((function(e,n){const{noPadding:a,...r}=e,o=l("flex-grow overflow-auto",{"mx-4 mb-4":!a},r.className);return t.createElement("div",Object.assign({},r,{className:o,ref:n}))})),zr=t.forwardRef((function(e,n){const{title:a,menu:r,children:o}=e,i=l('bg-white flex flex-col rounded-xl border border-solid border-radius-[12px] border-grey-300 hover:border-grey-500 [&_[data-taco="table2"]]:!border-0',e.className);return t.createElement("div",{className:i,"data-taco":"card",ref:n},t.createElement("div",{className:"mx-4 mb-2 mt-4 flex"},a&&t.createElement(xr,{tooltip:a},t.createElement("h4",{className:"mb-0 flex-grow truncate text-left"},a)),r?t.createElement(ir,{icon:"ellipsis-horizontal",appearance:"discrete",menu:r,className:"-mt-[4px]"}):null),o)}));zr.Content=yr;const Rr=e=>n.useMemo(()=>null!=e?e:c.v4(),[]),Cr=t.forwardRef((function(e,n){const{checked:a,indeterminate:r,invalid:o,label:i,onChange:c,...u}=e,d=Rr(e.id),m=l("bg-white h-5 w-5 border rounded text-sm flex-shrink-0 mt-[0.1rem] focus-visible:yt-focus disabled:cursor-not-allowed text-white",{"self-start":!!i},o?{"border-red-500 hover:border-red-700 aria-checked:border-red-500 aria-checked-mixed:border-red-500 aria-checked:bg-red-500 aria-checked-mixed:bg-red-500 aria-checked:hover:border-red-700 aria-checked-mixed:hover:border-red-700 aria-checked:hover:bg-red-700 aria-checked-mixed:hover:bg-red-700":!e.disabled,"border-red-500/50 aria-checked:wcag-red-500/50 aria-checked-mixed:wcag-red-500/50":e.disabled}:{"border-grey-500 hover:border-grey-700 aria-checked:border-blue-500 aria-checked-mixed:border-blue-500 aria-checked:bg-blue-500 aria-checked-mixed:bg-blue-500 aria-checked:hover:border-blue-700 aria-checked-mixed:hover:border-blue-700 aria-checked:hover:bg-blue-700 aria-checked-mixed:hover:bg-blue-700":!e.disabled,"border-grey-500/50 aria-checked:bg-blue-500/50 aria-checked-mixed:bg-blue-500/50":e.disabled},e.className);let g;c&&(g=e=>c("indeterminate"!==e&&e));let f=null;i&&(f={"aria-labelledby":d+"-label",id:d});const h=t.createElement(s.Root,Object.assign({},u,f,{"aria-invalid":o?"true":void 0,"data-taco":"checkbox",checked:r?"indeterminate":a,className:m,onCheckedChange:g,onKeyDown:e=>{"Enter"===e.key&&e.currentTarget.click()},ref:n}),t.createElement(s.Indicator,{className:"flex h-full w-full"},t.createElement(za,{name:r?"line":"tick",className:"!h-full !w-full"})));if(i){const n=l("flex items-center cursor-pointer gap-2",{"cursor-not-allowed text-grey-300":e.disabled});return t.createElement("span",{className:n,"data-taco":"checkbox-container"},h,t.createElement("label",{htmlFor:d,id:d+"-label"},i))}return h}));Cr.displayName="Checkbox";const Sr=e=>{const t=e.disabled||!!e["aria-disabled"],n=e.readOnly||!!e["aria-readonly"],a=e.invalid||!!e["aria-invalid"];return l("peer text-black text-sm border font-normal not-italic no-underline rounded flex items-center leading-6 px-2 relative w-full text-ellipsis transition-colors transition-opacity ease-in min-h-[theme(spacing.8)] focus-visible:yt-focus","[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",{"bg-white":!e.highlighted&&!n,"border-grey-300 enabled:hover:border-grey-500 disabled:border-grey-200":!a,"text-opacity-25 cursor-not-allowed placeholder:text-grey-700":t,"bg-yellow-100/50":e.highlighted&&t,"bg-yellow-100":e.highlighted&&!t,"border-red-500 enabled:hover:border-red-700 disabled:border-red-500/50":a,"cursor-not-allowed text-black bg-grey-200":n})},Nr=(e,t)=>{let n;return function(...l){clearTimeout(n),n=setTimeout(()=>e.apply(this,l),t)}},Or=e=>Boolean(e&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),Ar=(e,n)=>{const[l,a]=t.useState(void 0),r=Or(e.current),[o,i]=t.useState(r),s=()=>{var t;o&&a(null===(t=e.current)||void 0===t?void 0:t.getBoundingClientRect())};return t.useEffect(()=>{const e=setTimeout(s,0),t=Nr(s,250);return window.addEventListener("resize",t),()=>{clearTimeout(e),window.removeEventListener("resize",t)}},[e.current,o]),t.useEffect(()=>{const t=Or(e.current);o!==t&&i(t)}),t.useEffect(()=>{var t;n&&a(null===(t=e.current)||void 0===t?void 0:t.getBoundingClientRect())},n),l},Ir=["text","search","url","tel","password"],Lr=t.forwardRef((function(e,n){const{highlighted:a,invalid:r,onKeyDown:o,postfix:i,prefix:s,type:c="text",...u}=e,d=$a(n);t.useLayoutEffect(()=>{var e;d.current&&"number"===c&&(e=d.current.setSelectionRange,d.current.setSelectionRange=function(...t){"number"===this.type?(this.type="text",e.apply(this,t),this.type="number"):e.apply(this,t)})},[]);const m=t.useRef(null),g=Ar(m),f=t.useRef(null),h=Ar(f,[i]),v=l(Sr(e),{"pl-8":!!s,"pr-8":!!i},u.className),p={type:c};return"number"===c&&(p.onWheelCapture=e=>{document.activeElement===e.currentTarget&&requestAnimationFrame(()=>{e.target.focus()}),e.currentTarget.blur()}),t.createElement("div",{className:"relative inline-flex h-fit w-full","data-taco":"input-container",style:{opacity:.999}},t.createElement("input",Object.assign({},u,p,{"aria-invalid":r,className:v,"data-highlighted":a,"data-taco":"input",onKeyDown:e=>{if(1!==e.key.length||Ya(e)||e.stopPropagation(),Ir.includes(c)&&!e.shiftKey&&("Home"===e.key||"End"===e.key)){e.preventDefault();const t="End"===e.key?e.currentTarget.value.length:0;e.currentTarget.setSelectionRange(t,t)}"function"==typeof o&&o(e)},ref:d,style:{paddingLeft:g?g.width-1+"px":void 0,paddingRight:h?h.width-1+"px":void 0}})),s?t.createElement(Hr,{type:"prefix",children:s,disabled:u.disabled,ref:m}):null,i?t.createElement(Hr,{type:"postfix",children:i,disabled:u.disabled,ref:f}):null)})),Hr=t.memo(t.forwardRef((function(e,n){const{children:a,disabled:r,type:o}=e;return t.createElement("div",{className:l("group absolute top-0 flex h-full items-center justify-center px-2",'[&_[data-taco="icon"]]:!h-5 [&_[data-taco="icon"]]:!w-5',{"text-grey-300":r,"text-grey-700":!r,"left-0 [&>button]:!-ml-2":"prefix"===o,"right-0 [&>button]:!-mr-2":"postfix"===o}),"data-affix-type":o,ref:n},a)}))),Mr=t.forwardRef((function(e,n){var a;const{button:r,icon:o,...i}=e;let s;if(r){const e=r.props.disabled||i.disabled,n=l("items-center focus:z-10 flex justify-center rounded-l-none rounded-r h-full focus:rounded focus:outline-none",((e,t=!1)=>e?l("border border-red-500 group-peer-hover:enabled:border-red-700 transition-colors ease-in",{"border-red-500/30":t}):"border border-grey-300 group-peer-hover:enabled:border-grey-500 transition-colors transition-opacity ease-in")(i.invalid,e),r.props.className);s=t.cloneElement(r,{className:n,disabled:e})}else o&&(s="string"==typeof o?t.createElement(za,{name:o}):o);return t.createElement(Lr,Object.assign({},i,{postfix:null!==(a=i.postfix)&&void 0!==a?a:s,ref:n}))})),kr=(e,t,n,l="vertical")=>{switch(e){case"horizontal"===l?"ArrowLeft":"ArrowUp":return void 0!==n?n-1<0?0:n-1:n;case"horizontal"===l?"ArrowRight":"ArrowDown":return void 0!==n?n+1>=t?n:n+1:n;case"Home":return 0;case"End":return t-1;default:return}},Vr=(e,t)=>({scrollTo:n=>{if(e&&e.current)if(void 0!==n){const l=t[n];l&&l.current&&((e,t)=>{const n=e.clientHeight;if(e.scrollHeight>n){const l=e.scrollTop,a=t.offsetTop+t.offsetHeight;a>n+l?e.scrollTop=a-n:t.offsetTop<l&&(e.scrollTop=t.offsetTop)}})(e.current,l.current)}else e.current.scrollTop=0}}),jr=n.forwardRef((function(e,t){const{delay:a=350,label:r,...o}=e,[i,s]=n.useState(!a);if(n.useEffect(()=>{let e;return a&&(e=window.setTimeout(()=>s(!0),a)),()=>{e&&clearTimeout(e)}},[a]),!i)return null;const c=l("inline-flex flex-col relative items-center",o.className);return n.createElement("div",Object.assign({},o,{className:c,"data-taco":"spinner",ref:t}),n.createElement("svg",{className:"h-10 w-10 animate-[spinnerRotation_2s_linear_infinite]",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},n.createElement("circle",{cx:"50",cy:"50",r:"45"})),r&&n.createElement("span",{className:"mt-4"},r))})),Tr=(e,t)=>`${e}_${t}`,Dr=(e,t,n)=>{const l=kr(e.key,t.length,n);if(l){if(l===n)return n;if(t[l]&&t[l].disabled)return Dr(e,t,l)}return l},Fr=t.forwardRef((function(e,n){const{data:a,disabled:r,id:o,loading:i,onChange:s,onClick:c,onFocus:u,onKeyDown:d,readOnly:m,scrollOnFocus:g=!1,value:f,multiselect:h,selectedIndexes:v=[],allOptionsSelected:p=!1,...w}=e,b=$a(n),E=t.useMemo(()=>a.map(()=>t.createRef()),[a]),{texts:x}=mr(),{scrollTo:y}=Vr(b,E);t.useEffect(()=>{var e,t;f&&null!==(e=E[f])&&void 0!==e&&e.current&&(null===(t=E[f].current)||void 0===t||t.scrollIntoView({block:"center"}))},[]),t.useEffect(()=>{y(f)},[f]);const z=e=>t=>{s(e),c&&(t.persist(),c(t,e))},R=(e,t)=>"#ALL-OPTIONS#"===e?p:!(!e||!v)&&-1!==v.findIndex(e=>e===t),C=a.map((e,t)=>{const n=e.path?e.path.split(".").length-1:0;return{"aria-selected":h?R(String(e.value),t):f===t,"data-focused":f===t,children:e.text,className:l("flex items-center px-3 w-full cursor-pointer bg-white flex-[0_0_2rem] focus:wcag-blue-500 focus:border-blue-500",{"sticky top-0 font-bold":0===n&&!!e.hasChildren}),disabled:e.disabled,icon:e.icon,id:Tr(o,e.value),key:Tr(o,e.value),onClick:r||m?void 0:z(t),ref:E[t],role:"option",style:n>0?{paddingLeft:n+1+"rem"}:void 0}}),S={...w,className:l("inline-flex flex-col list-none !p-0 m-0 overflow-y-auto h-auto",Sr(e),{"yt-list--multiselect":h,"pointer-events-none":r,"cursor-not-allowed":r||m},w.className),disabled:r,id:o,onFocus:r||m?void 0:e=>{g&&y(f),u&&(e.persist(),u(e))},onKeyDown:r||m?void 0:e=>{const t=Dr(e,a,f);void 0!==t&&t!==f&&(e.preventDefault(),y(t),s(t)),d&&(e.persist(),d(e,void 0!==t?t:f)),e.stopPropagation()},readOnly:m,ref:b,role:C.length<=0||i?"presentation":"listbox",tabIndex:w.tabIndex||0};return t.createElement("ul",Object.assign({},S,{"data-taco":"scrollable-list"}),i?t.createElement("li",{className:"yt-list__empty"},t.createElement("span",null,t.createElement(jr,{delay:0})),t.createElement("span",null,x.listbox.loading)):C.length?C.map(({children:e,icon:n,...l})=>t.createElement("li",Object.assign({},l),n,t.createElement("span",{className:"flex-grow truncate text-left"},e),h&&t.createElement(Cr,{"aria-hidden":!0,tabIndex:-1,checked:l["aria-selected"],onChange:()=>null,className:"pointer-events-none ml-2 self-center p-px"}))):t.createElement("li",{className:"yt-list__empty"},t.createElement("span",null,x.listbox.empty)))})),Pr=e=>{let t;return"function"==typeof Event?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event"),t.initEvent(e,!0,!0)),t},Br=e=>{let t;return"function"==typeof KeyboardEvent?t=new KeyboardEvent(e.type,e):(t=document.createEvent("Event"),t.initEvent(e.type,!0,!0),t.key=e.key,t.charCode=e.charCode),t},_r=(e,t,n="change")=>{if(!e)return;const l=e.value;e.value=t||"";const a=e._valueTracker;a&&a.setValue(l),e.dispatchEvent(Pr(n))},Gr=e=>String(null!=e?e:""),qr=(e,t,n="change")=>{_r(e,Gr(t),n)},$r=(e,t)=>{const n=e.findIndex(e=>Gr(e.value)===Gr(t));return n>-1?n:void 0},Kr=(e,t)=>"string"!=typeof t?[]:t.split(",").map(t=>e.findIndex(e=>String(e.value)===t)).filter(e=>-1!==e),Ur=(e,t)=>e.find(e=>Gr(e.value)===Gr(t)),Wr=(e,t,n="includes")=>{try{var l,a,r;return"string"!=typeof e&&null!==(l=e.props)&&void 0!==l&&l.children?Array.isArray(null===(a=e.props)||void 0===a?void 0:a.children)?!!e.props.children.find(e=>Wr(e,t,n)):Wr(null===(r=e.props)||void 0===r?void 0:r.children,t,n):e.toString().toLowerCase()[n](String(t).toLowerCase())}catch{return!1}},Jr=(e,t,n,l=e.length)=>{const a=e.slice(n,l).findIndex(e=>!e.disabled&&Wr(e.text,t,"startsWith"));return a>-1?a+n:-1},Yr=(e,t,n)=>void 0!==t&&e[t]?Tr(n,e[t].value):void 0,Qr=e=>n.useMemo(()=>{const t=[],n=(e,l,a,r)=>{const o=a?`${a}.${l}`:""+l,i=r||e.disabled;t.push({...e,disabled:i,path:o,hasChildren:!!e.children}),e.children&&e.children.forEach((e,t)=>n(e,t,o,i))};return e.forEach((e,t)=>{n(e,t)}),t},[e]),Xr=e=>{if(e){const{...t}=e;return t}},Zr=(e,t)=>{var n;const l=null!==(n=null==t?void 0:t.split("."))&&void 0!==n?n:[];if(l.length>1){let t;return l.pop(),l.map(n=>(t=t?[t,n].join("."):n,Xr(e.find(e=>e.path===t))))}return null},eo=d(e=>e(),200),to=e=>String(null!=e?e:""),no=t.forwardRef((function(e,n){const{className:a,dialog:r,style:o,...i}=e,{combobox:s,button:d,input:m,popover:g,list:f}=(({"aria-labelledby":e,data:n=[],defaultValue:l,disabled:a,inline:r,onChange:o,onClick:i,onKeyDown:s,onSearch:u,readOnly:d,value:m,...g},f)=>{const h=$a(f),v=t.useRef(null),p=t.useRef(null),[w,b]=t.useState(!1),E=t.useMemo(()=>c.v4(),[]),[x,y]=t.useState(to(m)),z=!u&&(!r||r&&x!==to(m)),R=Qr(n),C=t.useMemo(()=>z?((e,t="")=>{if(""===t||null===t)return e;const n=new Set;return e.forEach(l=>{if((e=>!e.disabled&&Wr(e.text,String(t)))(l)){const t=Zr(e,l.path);n.add(l.value),null!==t&&t.forEach(e=>n.add(null==e?void 0:e.value))}}),e.filter(({value:e})=>n.has(e))})(R,x):R,[z,x,R]),[S,N]=t.useState(void 0!==x?$r(C,x):void 0),O=e=>{if(void 0!==e){const t=C[e];t&&!t.disabled&&qr(h.current,t.value,"focusout")}},A=e=>{void 0!==e&&(C[e].value!==m?O(e):y(to(m)))};return t.useEffect(()=>{l&&!m&&O($r(C,l))},[C]),t.useEffect(()=>{void 0!==m&&m!==x&&y(to(m))},[m]),t.useEffect(()=>{u&&eo(()=>{u(x)})},[x]),t.useEffect(()=>{const e=null!=m&&x===String(m);x&&C.length&&!e?(N(0),w||b(!0)):b(!1)},[x,C]),t.useEffect(()=>{N(w?$r(C,x)||0:void 0)},[w]),{combobox:{"aria-expanded":w,"aria-owns":E,"aria-haspopup":"listbox",role:"combobox"},input:{...g,"aria-controls":E,"aria-autocomplete":"list","aria-activedescendant":void 0!==S&&C[S]?Tr(E,String(C[S].value)):void 0,"aria-labelledby":e,disabled:a,onBlur:a||d?void 0:e=>{if(e.persist(),p.current&&e.relatedTarget===p.current)e.preventDefault();else{if(o&&e.target.value!==String(m)){const t=Ur(R,e.target.value);e.detail=Xr(t);const n=Zr(R,null==t?void 0:t.path);null!==n&&n.length>0&&(e.detail.parents=n),o(e)}g.onBlur&&g.onBlur(e)}},onChange:a||d?void 0:e=>{y(e.target.value)},onClick:a||d?void 0:e=>{(r||!w&&x&&C.length)&&b(!0),i&&(e.persist(),i(e))},onKeyDown:a||d?void 0:e=>{switch(e.persist(),e.key){case"Backspace":return;case"Escape":return e.preventDefault(),y(to(m)),void b(!1);case"Tab":case"Enter":return"Tab"!==e.key&&e.preventDefault(),A(S),void b(!1);case"ArrowDown":w?e.preventDefault():!r&&v.current&&v.current.click();break;case"ArrowUp":case"Home":case"End":w&&e.preventDefault()}if(p.current&&p.current.dispatchEvent(Br(e)),r&&!w&&("ArrowUp"===e.key||"ArrowDown"===e.key)){e.preventDefault();const t="ArrowUp"===e.key?C.length-1:0;N(void 0!==S?S:t),b(!0)}!e.isDefaultPrevented()&&s&&(e.persist(),s(e))},readOnly:d,ref:h,type:"text",value:null!=x?x:""},list:{"aria-labelledby":e,data:C,disabled:a,id:E,onChange:e=>{N(e)},onClick:(e,t)=>{e.preventDefault(),A(t),b(!1)},ref:p,scrollOnFocus:!1,tabIndex:-1,value:S},button:{ref:v},popover:{open:w,onOpenChange:b}}})(i,n),h=t.useRef(null),{texts:v}=mr(),p=Ar(h),w=l("inline-flex relative",{"yt-combobox--inline":e.inline},a);return t.createElement("span",{className:w,"data-taco":"combobox",style:o},t.createElement(u.Root,Object.assign({},g),t.createElement(u.Anchor,{asChild:!0,ref:h},t.createElement("div",Object.assign({},s,{className:"inline w-full",ref:n}),t.createElement(Mr,Object.assign({},m,{autoComplete:"off",button:e.inline?t.createElement(ir,{"aria-hidden":!0,appearance:"discrete",className:"!border-l-0 focus:!border-none focus:!shadow-none active:!border-none",icon:g.open?"chevron-up":"chevron-down",onClick:()=>{var e;g.onOpenChange(!0),null===(e=m.ref.current)||void 0===e||e.focus()},tabIndex:-1}):r?t.createElement(ir,{"aria-label":v.combobox.tooltip,icon:"list-search",disabled:e.readOnly||e.disabled,dialog:r,onFocus:e=>{var t;e.preventDefault(),null===(t=m.ref.current)||void 0===t||t.focus()},ref:d.ref,tabIndex:-1,tooltip:v.combobox.tooltip}):void 0})))),t.createElement(u.Portal,null,t.createElement(u.Content,{align:"start",onOpenAutoFocus:e=>{e.preventDefault()},sideOffset:4},t.createElement(Fr,Object.assign({},f,{className:l("max-h-[calc(12rem+2px)] w-auto max-w-[theme(spacing.96)] !border-blue-500"),style:{minWidth:null==p?void 0:p.width},tabIndex:g.open?0:-1}))))))})),lo=(e,t)=>e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDay()===t.getDay(),ao=(e,t="dd.mm.yy")=>{if(!e)return;const n=m.isDate(e)?e:m.toDate(e);if(!m.isValid(n))return;const l=e=>1===String(e).length?"0"+e:e.toString();return t.replace("dd",l(n.getDate())).replace("mm",l(n.getMonth()+1)).replace("yy",String(n.getFullYear()).slice(2))},ro=(e="",t="dd.mm.yy")=>{if(!e||!e.length)return;const n=t.split(/[^dmy]/),l=n.findIndex(e=>"dd"===e),a=n.findIndex(e=>"mm"===e),r=n.findIndex(e=>"yy"===e||"yyyy"===e);let o,i,s;const c=e=>e&&2===e.length?Number.parseInt(e,10)>50?"19"+e:"20"+e:e,u=e.split(/\D/);if(1===u.length){const e=u[0],n=t.replace(/[^dmy]/g,"");o=e.slice(n.indexOf("d"),n.lastIndexOf("d")+1),i=e.slice(n.indexOf("m"),n.lastIndexOf("m")+1),s=c(e.slice(n.indexOf("y"),n.lastIndexOf("y")+3))}else o=u[l],i=u[a],s=c(u[r]);o=Number.parseInt(o,10),i=Number.parseInt(i,10),s=Number.parseInt(s,10);const d=new Date;return new Date(Object.is(s,NaN)?d.getFullYear():s,Object.is(i,NaN)?d.getMonth():i-1,Object.is(o,NaN)?d.getDate():o,12,0)},oo=e=>{const t=new Date(e);return m.isValid(t)?ro(ao(new Date(e))):void 0},io=t.forwardRef((function(e,n){return t.createElement(u.Arrow,{className:"pointer-events-none -mt-px",asChild:!0,offset:2,width:30,height:11},t.createElement("svg",Object.assign({},e,{ref:n,viewBox:"0 19 30 11",style:{transform:"rotateZ(180deg)"}}),t.createElement("path",{className:"text-grey-300 fill-current group-focus:text-blue-300",d:"M23.7,27.1L17,19.9C16.5,19.3,15.8,19,15,19s-1.6,0.3-2.1,0.9l-6.6,7.2C5.3,28.1,3.4,29,2,29h26 C26.7,29,24.6,28.1,23.7,27.1z"}),t.createElement("path",{className:"fill-current",d:"M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z"})))})),so=t.createContext({props:{},ref:null}),co=t.forwardRef((function(e,n){return t.createElement(u.Anchor,Object.assign({},e,{asChild:!0,ref:n}))})),uo=t.forwardRef((function(e,n){var l;const{ref:a,props:r}=t.useContext(so),o=Oa([a,n]);let i=e.children;return t.isValidElement(e.children)&&"function"==typeof(null===(l=e.children)||void 0===l?void 0:l.type)&&(console.warn(`Popover.Trigger requires its child to forwardRef so that it can attach to the dom element. Did you mean to wrap '${e.children.type.name}' in React.forwardRef()? Taco has wrapped '${e.children.type.name}' in a 'span' to maintain functionality, but this may cause unintended behaviour`),i=t.createElement("span",null,e.children)),t.createElement(u.Trigger,Object.assign({},r,e,{ref:o,asChild:!0}),i)})),mo=t.forwardRef((function({children:e,onClick:t},n){return e({close:()=>{t(new CustomEvent("hide"))},ref:n})})),go=t.forwardRef((function(e,n){const{placement:a,...r}=e,o=l("bg-white focus:border-blue-300 border border-transparent rounded p-3 yt-shadow focus:yt-focus outline-none group",e.className);let i;return i="function"==typeof e.children?t.createElement(u.Close,{asChild:!0},t.createElement(mo,null,e.children)):e.children,t.createElement(u.Portal,null,t.createElement(u.Content,Object.assign({},r,{className:o,"data-taco":"popover",side:a,sideOffset:1,ref:n}),i,t.createElement(io,{className:"text-white"})))})),fo=t.forwardRef((e,n)=>t.createElement(u.Close,Object.assign({},e,{ref:n,asChild:!0}))),ho=t.forwardRef((function(e,n){const{anchor:l,children:a,defaultOpen:r,modal:o=!1,open:i,onChange:s,trigger:c,...d}=e,m=t.useMemo(()=>({props:d,ref:n}),[d]);return t.createElement(so.Provider,{value:m},t.createElement(u.Root,{defaultOpen:r,modal:o,open:i,onOpenChange:s},l?t.createElement(co,null,l):null,c&&!l?t.createElement(uo,null,c):null,a))}));ho.Anchor=co,ho.Trigger=uo,ho.Content=go,ho.Close=fo,ho.Portal=u.Portal;const vo=t.forwardRef((function(e,n){const{className:a,onReset:r,style:o,shortcuts:i,shortcutsText:s,...c}=e,{calendar:u,input:d}=(({calendar:e,onBlur:n,onChange:l,value:a,...r},o)=>{const i=$a(o),{formatting:s}=mr(),[c,u]=t.useState(a&&m.isValid(a)?ao(a,s.date):"");return t.useEffect(()=>{if(a&&m.isValid(a)){const e=ao(a,s.date);e!==c&&u(e)}else u("")},[a]),{input:{...r,autoComplete:"off",onBlur:e=>{e.persist();const t=ro(e.target.value),a=t&&ao(t)||"";e.target.value=a,l?(e.detail=t,l(e)):u(a),n&&n(e)},onChange:e=>{u(e.target.value)},onKeyDown:e=>{r.onKeyDown&&r.onKeyDown(e),e.isPropagationStopped()||e.isDefaultPrevented()||"Enter"!==e.key||e.target.dispatchEvent(new Event("focusout",{bubbles:!0}))},ref:i,type:"text",value:c},calendar:{...e,onChange:e=>{_r(i.current,ao(e,s.date),"focusout")},value:a}}})(c,n),{texts:g}=mr(),f=l("inline-flex w-full text-black font-normal",a);return t.createElement("span",{className:f,"data-taco":"datepicker",style:o},t.createElement(Mr,Object.assign({},d,{button:t.createElement(ir,{"aria-label":g.datepicker.expand,disabled:d.disabled||d.readOnly,icon:"calendar",tabIndex:-1,popover:e=>t.createElement(ho,Object.assign({},e),t.createElement(ho.Content,null,({close:e})=>t.createElement("div",{className:"-m-3 flex"},t.createElement(br,Object.assign({},u,{onChange:(t,n)=>{u.onChange(t,n),e()}})),i&&t.createElement("div",{className:"border-grey-300 flex flex-col border-l"},t.createElement("span",{className:"m-4 mb-3 flex h-8 w-32 items-center text-xs font-semibold"},null!=s?s:g.datepicker.shortcuts),t.createElement("ul",null,i.map(n=>t.createElement("li",{key:n.text},t.createElement("button",{type:"button",className:"hover:wcag-grey-200 flex w-full items-start px-4 py-1 text-xs",onClick:t=>{t.persist(),n.onClick(t),e()}},n.text)))),r&&t.createElement("button",{type:"button",className:"mx-auto my-4 mt-auto inline-flex cursor-pointer border-none bg-transparent text-xs text-blue-500 hover:text-blue-300",onClick:t=>{t.persist(),r(t),e()}},g.datepicker.clear))))),tooltip:g.datepicker.calendar})})))}));vo.displayName="Datepicker";const po=t.createContext({closeOnEscape:!0,draggable:!1,drawer:{open:!1,toggle:()=>{}},elements:{drawer:void 0,extra:void 0},onClose:()=>{},props:{},ref:null,showCloseButton:!0,size:"sm"}),wo=()=>t.useContext(po),bo=t.forwardRef((function(e,n){const{ref:l,props:a}=wo(),r=Oa([l,n]);return t.createElement(g.Trigger,Object.assign({},a,e,{ref:r,asChild:!0}))})),Eo=e=>{const[t,l]=n.useState({x:0,y:0}),[a,r]=n.useState(!1),{moveProps:o}=f.useMove({onMoveStart(){r(!0)},onMove(t){var n;const a=null===(n=e.current)||void 0===n?void 0:n.getBoundingClientRect();a&&(a.left+t.deltaX<0||a.right+t.deltaX>window.innerWidth||a.top+t.deltaY<0||a.bottom+t.deltaY>window.innerHeight)||l(({x:e,y:n})=>({x:e+=t.deltaX,y:n+=t.deltaY}))},onMoveEnd(){r(!1)}});return{position:t,dragging:a,handleProps:o,resetPosition:()=>{l({x:0,y:0})}}},xo=t.forwardRef((function(e,n){const a=l("text-center",e.className);return t.createElement(g.Title,Object.assign({},e,{className:a,ref:n}))})),yo=t.forwardRef((function(e,n){const a=l("mt-8 flex justify-end",e.className);return t.createElement("div",Object.assign({},e,{className:a,ref:n}),e.children)})),zo=t.forwardRef((function(e,n){const l=wo();return t.createElement(g.Close,Object.assign({onClick:l.onClose},e,{ref:n,asChild:!0}))})),Ro=t.forwardRef((function({children:e,onClick:t,renderProps:n},l){return e({close:()=>{t(new CustomEvent("close"))},ref:l,...n})})),Co=t.forwardRef((function(e,n){const a=wo(),r=$a(n),{position:o,dragging:i,handleProps:s}=Eo(r),{texts:c}=mr(),u=l("relative bg-white animate-[fade-in_150ms] rounded","mt-16 mx-auto",ka(a.size),"print:w-full print:h-full print:m-0 print:overflow-visible"),d=l("bg-white p-6 rounded relative z-10 shadow print:p-0 print:overflow-visible print:h-full",{"rounded-b-none":!!a.elements.extra},e.className);let m;return m="function"==typeof e.children?t.createElement(zo,null,t.createElement(Ro,{renderProps:{drawer:a.drawer}},e.children)):e.children,t.createElement(g.Portal,null,t.createElement(g.Overlay,{asChild:!0},t.createElement(Ma,null,t.createElement(g.Content,Object.assign({},e,{className:u,onEscapeKeyDown:e=>{a.closeOnEscape?a.onClose&&a.onClose():e.preventDefault()},onInteractOutside:e=>e.preventDefault(),ref:r,style:{...e.style,left:a.draggable?o.x+"px":void 0,top:a.draggable?o.y+"px":void 0}}),t.createElement("div",{className:d,"data-taco":"dialog"},m,a.draggable&&t.createElement("div",Object.assign({},s,{role:"button",draggable:!0,"aria-grabbed":i,"aria-label":c.dialog.drag,className:"yt-dialog__drag absolute-center-x bg-grey-100 top-1.5 h-3 w-24 cursor-move rounded text-center print:hidden"})),a.showCloseButton?t.createElement(g.Close,{onClick:a.onClose,asChild:!0},t.createElement(ir,{appearance:"discrete","aria-label":c.dialog.close,className:"absolute right-0 top-0 mr-2 mt-2 print:hidden",icon:"close"})):null),a.elements.drawer,a.elements.extra))))})),So=t.forwardRef((function(e,n){var a,r;const o=wo(),i=l("absolute top-0 -ml-[4px] hidden h-full w-full overflow-y-auto rounded-r bg-white p-6 text-left",e.className);return t.createElement(h.motion.div,Object.assign({},e,{className:i,"data-taco":"dialog-drawer","aria-hidden":!(null!==(a=o.drawer)&&void 0!==a&&a.open),variants:{visible:{left:"100%",display:"block",transition:{ease:"easeOut",duration:.2}},hidden:{left:"0%",transition:{ease:"easeOut",duration:.2},transitionEnd:{display:"none"}}},animate:null!==(r=o.drawer)&&void 0!==r&&r.open?"visible":"hidden",ref:n}),"function"==typeof e.children?e.children(o.drawer):e.children)}));So.displayName="DialogDrawer";const No=t.forwardRef((function(e,n){const a=l("wcag-grey-100 absolute top-full left-0 -mt-px w-full rounded-t-none rounded-b p-6 text-left",e.className);return t.createElement("div",Object.assign({},e,{className:a,"data-taco":"dialog-extra",ref:n}))}));No.displayName="DialogExtra";const Oo=t.forwardRef((function(e,n){const{children:l,closeOnEscape:a=!0,defaultOpen:r,draggable:o=!1,onChange:i,onClose:s,open:c,showCloseButton:u=!0,size:d="sm",trigger:m,...f}=e,[h,v,p]=(e=>t.useMemo(()=>{const n=[];let l,a;return t.Children.toArray(e).forEach(e=>{var t,r;(null===(t=e.type)||void 0===t?void 0:t.displayName)===So.displayName?l=e:(null===(r=e.type)||void 0===r?void 0:r.displayName)===No.displayName?a=e:n.push(e)}),[n,l,a]},[e]))(l),[w,b]=t.useState(!1),E=t.useMemo(()=>({closeOnEscape:a,draggable:o,drawer:{open:w,toggle:()=>b(e=>!e)},elements:{drawer:v,extra:p},onClose:s,props:f,showCloseButton:u,size:d,ref:n}),[a,w,o,v,p,c,f,u]);return t.createElement(po.Provider,{value:E},t.createElement(g.Root,{defaultOpen:r,open:c,onOpenChange:i},m&&t.createElement(bo,null,m),h))}));Oo.Trigger=bo,Oo.Content=Co,Oo.Title=xo,Oo.Footer=yo,Oo.Extra=No,Oo.Drawer=So,Oo.Close=zo;const Ao=t.forwardRef((function(e,n){const{as:a="span",orientation:r="horizontal",...o}=e,i=l('flex gap-2 [&:has([data-taco="tag"])]:!gap-1',{"flex-col ":"vertical"===r},e.className);return t.createElement(a,Object.assign({},o,{className:i,"data-taco":"group",ref:n}))})),Io=t.createContext(void 0),Lo=()=>t.useContext(Io),Ho=t.createContext({closeOnEscape:!0,showCloseButton:!0,onClose:()=>{},onResize:()=>{},props:{},ref:null,size:"md",variant:"embedded"}),Mo=()=>t.useContext(Ho),ko=e=>{const t=l("flex select-none touch-none transition-colors hover:bg-grey",{"w-[7px] hover:w-[14px] mr-[2px] hover:px-[2px] hover:mr-0":"vertical"===e.orientation,"flex-col h-[7px] hover:h-[14px] mb-[2px] hover:py-[2px] hover:mb-0":"horizontal"===e.orientation});return n.createElement(p.Scrollbar,Object.assign({},e,{className:t}))},Vo=e=>n.createElement(p.Thumb,Object.assign({},e,{className:"flex-[1] rounded bg-black opacity-50"})),jo=e=>n.createElement(p.Corner,Object.assign({},e,{className:"bg-grey-500"})),To=e=>{const{children:t,...a}=e;return n.createElement(p.Root,Object.assign({},a,{className:l("overflow-hidden",e.className),"data-taco":"scrollarea"}),n.createElement(p.Viewport,{className:"h-full w-full"},t),n.createElement(ko,{orientation:"vertical"},n.createElement(Vo,null)),n.createElement(ko,{orientation:"horizontal"},n.createElement(Vo,null)),n.createElement(jo,null))};var Do;!function(e){e.Visible="visible",e.Hidden="hidden"}(Do||(Do={}));const Fo=n.forwardRef((function({children:e,onClick:t,renderProps:n},l){return e({close:()=>{t(new CustomEvent("close"))},ref:l,...n})})),Po=n.forwardRef((function(e,t){const{className:a,children:r,...o}=e,i=l("grow-0 py-4 pl-4 justyfy-self-start mb-0 border-b-[1px] border-grey-300",a);return n.createElement(g.Title,Object.assign({className:i},o,{ref:t}),n.createElement("span",{className:"line-clamp-2 inline-block w-4/6 overflow-y-hidden"},r))})),Bo=n.forwardRef((function(e,t){const{...a}=e,r=l("mt-auto flex justify-end grow-0 p-4 border-t-[1px] border-grey-300",e.className);return n.createElement("div",Object.assign({},a,{className:r,ref:t}))})),_o=n.forwardRef((function(e,t){const{className:a,...r}=e,o=l("absolute top-0 right-10 mr-[8px] mt-4",a);return n.createElement(Ao,Object.assign({},r,{className:o,ref:t}))})),Go=n.forwardRef((function(e,t){const{onClose:l}=Mo();return n.createElement(g.Close,Object.assign({},e,{onClick:l,ref:t,asChild:!0}))})),qo=n.forwardRef((function(e,t){const{className:a,isScrollable:r=!0,children:o,...i}=e,s=l("grow flex flex-col",{"overflow-y-hidden":r,"p-4":!r},a);return n.createElement("div",Object.assign({},i,{className:s,ref:t}),r?n.createElement(To,{className:"w-full gap-y-0.5 p-4"},o):o)})),$o=e=>{const{children:t,...a}=e,{open:r=!1,variant:o,outlet:i}=Mo(),s=n.useMemo(()=>(e=>l({block:e,hidden:!e}))(r),[r]);return i?n.createElement(g.Portal,Object.assign({},a,{container:null!=i?i:void 0}),"overlay"===o?n.createElement(g.Overlay,{forceMount:!0},n.createElement(Ma,{className:s})):null,t):null},Ko=n.forwardRef((function(e,t){const{onEscape:l,children:a,...r}=e;return er("Escape",l),n.createElement("div",Object.assign({},r,{ref:t}),n.createElement(v.FocusScope,{autoFocus:!0,restoreFocus:!0},a))})),Uo=n.forwardRef((function(e,t){const{size:a,onClose:r,onResize:o,open:i=!1,closeOnEscape:s,variant:c,focusTrap:u,showCloseButton:d,setOpen:m}=Mo(),{className:f,style:h,children:v,...p}=e,{texts:w}=mr(),b=$a(t),E=Lo();let x;E&&(x=()=>{E.close()});const y=n.useMemo(()=>l((e=>l("bg-white mx-auto absolute h-full w-full flex flex-col ",{"shadow-[0_6px_9px_0_rgba(89,85,98,0.3),0_0_1px_0_rgba(89,85,98,0.2)]":"overlay"===e,"border-l border-grey h-full":"embedded"===e}))(c),f),[f]),{contentClassName:z,dragHandlerClassName:R}=n.useMemo(()=>({contentClassName:((e,t,n)=>l("bg-white h-full bottom-0 top-0 right-0 transition-none",{block:n,hidden:!n,fixed:"overlay"===t,"relative h-full overflow-hidden":"embedded"===t},(e=>{switch(e){case"lg":return"w-[600px]";case"md":default:return"w-[420px]"}})(e)))(a,c,i),dragHandlerClassName:l("border-[2px] absolute border-transparent top-0 w-2 h-full cursor-ew-resize left-0 hover:border-l-blue-500")}),[a,c,i]),C=e=>{var t;(null===(t=b.current)||void 0===t?void 0:t.contains(e.target))&&(s?(m&&m(!1),r&&r()):e.preventDefault())},[S,N]=n.useState(),O=n.useRef(null),{position:A,dragging:I,handleProps:L,resetPosition:H}=Eo($a(O)),M=n.useRef(null);n.useEffect(()=>{o&&o(A.x)},[A]),n.useEffect(()=>{var e;N(null===(e=M.current)||void 0===e?void 0:e.offsetWidth)},[M,i]);const k=n.useMemo(()=>{if(S)return Math.min(1e3,Math.max(360,S-A.x||0))},[S,A]);let V;n.useEffect(()=>{!I&&k&&(N(k),H())},[I]),V="function"==typeof v?n.createElement(Go,null,n.createElement(Fo,null,v)):v;const j=n.createElement("div",{ref:M,"data-taco":"drawer",className:y},V,n.createElement("div",Object.assign({className:R},L,{"data-testid":"resize-handler",ref:O}),I?n.createElement("div",{"data-testid":"resize-hit-area",className:"fixed bottom-0 left-0 right-0 top-0"}):null),d?n.createElement(Go,null,n.createElement(ir,{appearance:"discrete","aria-label":w.drawer.close,className:"absolute right-0 top-0 mr-2 mt-4",icon:"close"})):null),T={...h,width:k};return u?n.createElement(g.Content,Object.assign({forceMount:!0},p,{className:z,onEscapeKeyDown:C,onInteractOutside:"overlay"===c?void 0:e=>e.preventDefault(),onCloseAutoFocus:x,ref:b,style:T}),j):n.createElement(Ko,{onEscape:C,className:z,style:T,ref:b},j)})),Wo=n.forwardRef((function(e,t){const{children:l}=e;return n.createElement($o,null,n.createElement(Uo,Object.assign({},e,{ref:t}),l))})),Jo=t.forwardRef((function(e,n){return t.createElement(g.Trigger,Object.assign({},e,{ref:n,asChild:!0}))})),Yo=t.forwardRef((function(e,n){var a;const r=l("h-full ml-auto overflow-hidden flex-shrink-0",e.className);return t.createElement("div",Object.assign({},e,{className:r,"data-taco":"drawer-outlet","data-taco-outlet-name":null!==(a=e.name)&&void 0!==a?a:"default",ref:n}))}));let Qo;const Xo=t.forwardRef((function(e,n){const{open:l,defaultOpen:a,onChange:r=(()=>{}),variant:o="embedded",closeOnEscape:i=!0,onResize:s,onClose:c,size:u="md",trigger:d,children:m,focusTrap:f=void 0===e.focusTrap&&"overlay"===e.variant||e.focusTrap,showCloseButton:h=!0,outletName:v,...p}=e,[b,E]=w.useControllableState({prop:l,defaultProp:a,onChange:r}),[x,y]=t.useState(),z=t.useMemo(()=>({closeOnEscape:i,onClose:c,onResize:s,props:p,size:u,ref:n,open:b,setOpen:E,variant:o,focusTrap:f,showCloseButton:h,outlet:x}),[i,b,E,p,o,s,c,u,f,h,x]),R=t.useCallback(()=>{E(!1),c&&c()},[]);return t.useEffect(()=>{var e;const t=null!==(e=document.querySelector(`[data-taco="drawer-outlet"][data-taco-outlet-name="${null!=v?v:"default"}"]`))&&void 0!==e?e:document.body;y(t)},[v]),t.useEffect(()=>{b?(Qo&&Qo(),Qo=R):Qo===R&&(Qo=void 0)},[b]),t.createElement(Ho.Provider,{value:z},t.createElement(g.Root,{modal:"overlay"===o,open:b,onOpenChange:E},d&&t.createElement(Jo,null,d),m))}));Xo.Trigger=Jo,Xo.Content=Wo,Xo.InnerContent=qo,Xo.Title=Po,Xo.Footer=Bo,Xo.Close=Go,Xo.Actions=_o,Xo.Outlet=Yo;const Zo=t.forwardRef((function(e,n){const a=t.useRef(null),{disabled:r,children:o,invalid:i=!1,warning:s=!1,message:c,...u}=e,d=l("flex flex-col font-bold text-xs leading-loose pb-4 min-h-[theme(spacing.18)]",{"text-grey-300":r},e.className),m=l("h-4 text-xs text-left leading-normal font-normal truncate -mb-4",{"text-grey-700":!i&&!s,"text-red-500":i,"text-yellow-700":s&&!i,"opacity-50":r});return t.createElement("label",Object.assign({},u,{className:d,"data-taco":"label",ref:n}),o,c&&t.createElement(xr,{tooltip:c},t.createElement("span",{className:m,ref:a,role:i?"alert":void 0},c)))})),ei=t.forwardRef((function(e,n){const{horizontal:a=!1,...r}=e,o=l("yt-form",{"yt-form--horizontal flex flex-wrap":a},e.className);return t.createElement("form",Object.assign({},r,{className:o,"data-taco":"form",ref:n}))})),ti=t.createContext({onClose:void 0,props:{},ref:null}),ni=t.forwardRef((function(e,n){var l;const{ref:a,props:r}=t.useContext(ti),o=Oa([a,n]);let i=e.children;return t.isValidElement(e.children)&&"function"==typeof(null===(l=e.children)||void 0===l?void 0:l.type)&&(console.warn(`Hanger.Anchor requires its child to forwardRef so that it can attach to the dom element. Did you mean to wrap '${e.children.type.name}' in React.forwardRef()? Taco has wrapped '${e.children.type.name}' in a 'span' to maintain functionality, but this may cause unintended behaviour`),i=t.createElement("span",null,e.children)),t.createElement(u.Anchor,Object.assign({},r,e,{ref:o,asChild:!0}),i)})),li=t.forwardRef((function(e,n){const a=l("mb-1 text-base font-bold flex w-full",e.className);return t.createElement("span",Object.assign({},e,{className:a,ref:n}))})),ai=t.forwardRef((function(e,n){const{placement:a}=e,r=t.useContext(ti),{texts:o}=mr(),i=l("wcag-blue-500 border border-transparent rounded p-3 pr-12 yt-shadow focus:border-transparent max-w-sm",e.className);return t.createElement(u.Portal,null,t.createElement(u.Content,{className:i,"data-taco":"hanger",onInteractOutside:e=>{e.preventDefault()},side:a,sideOffset:1,ref:n},e.children,t.createElement(io,{className:"text-blue-500"}),t.createElement(u.Close,{asChild:!0},t.createElement(ir,{appearance:"primary","aria-label":o.hanger.close,className:"absolute right-0 top-0 ml-2 mr-2 mt-2 text-white",icon:"close",onClick:r.onClose}))))})),ri=t.forwardRef((function(e,n){const{anchor:l,children:a,defaultOpen:r=!0,onClose:o,...i}=e,s=t.useMemo(()=>({onClose:o,props:i,ref:n}),[o,i]),[c,d]=t.useState(!1);return t.useEffect(()=>{r&&d(r)},[]),t.createElement(ti.Provider,{value:s},t.createElement(u.Root,{key:String(c),defaultOpen:c},l&&t.createElement(ni,null,l),a))}));ri.Anchor=ni,ri.Content=ai,ri.Title=li;const oi=t.forwardRef((function(e,n){return t.createElement(b.Arrow,{className:"pointer-events-none -mt-px",asChild:!0,offset:2,width:30,height:11},t.createElement("svg",Object.assign({},e,{ref:n,viewBox:"0 19 30 11",style:{transform:"rotateZ(180deg)"}}),t.createElement("path",{className:"text-grey-300 fill-current group-focus:text-blue-300",d:"M23.7,27.1L17,19.9C16.5,19.3,15.8,19,15,19s-1.6,0.3-2.1,0.9l-6.6,7.2C5.3,28.1,3.4,29,2,29h26 C26.7,29,24.6,28.1,23.7,27.1z"}),t.createElement("path",{className:"fill-current",d:"M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z"})))})),ii=t.forwardRef((function(e,n){return t.createElement(b.Trigger,Object.assign({},e,{asChild:!0,ref:n}))})),si=t.forwardRef((function(e,n){const{placement:a}=e,r=l("bg-white focus:border-blue-300 border border-transparent rounded p-3 yt-shadow focus:yt-focus outline-none group","min-w-[theme(spacing.40)] max-w-[theme(spacing.96)]",e.className);return t.createElement(b.Portal,null,t.createElement(b.Content,{className:r,"data-taco":"hover-card",side:a,sideOffset:1,ref:n},e.children,t.createElement(oi,{className:"text-white"})))})),ci=e=>t.createElement(b.Root,Object.assign({},e,{openDelay:300}));function ui(e=0,n){const l=t.useRef(),[a,r]=t.useState({remaining:e,started:null});return t.useEffect(()=>(e&&(a.started?l.current=window.setTimeout(n,a.remaining):clearTimeout(l.current)),()=>{clearTimeout(l.current)}),[a.started]),{running:!!a.started,start:()=>{r({remaining:e,started:Date.now()})},pause:()=>{a.started&&r({remaining:a.remaining-(Date.now()-a.started),started:null})},resume:()=>{a.remaining&&!a.started&&r({remaining:a.remaining,started:Date.now()})}}}ci.Trigger=ii,ci.Content=si;const di=({data:e,currentIndex:n})=>{const l=t.useRef(),a=ui(1e3,()=>{l.current=void 0});return{getNextIndex:t=>{const r=(l.current?l.current+t:t).toLowerCase(),o=((e,t,n)=>{let l=Jr(e,t,void 0===n?0:n+1);return-1===l&&(l=Jr(e,t,0,n)),l})(e,r,n);return a.start(),l.current=r,o}}},mi=t.forwardRef((function(e,n){const{className:a,...r}=e,{list:o,input:i}=(({data:e=[],defaultValue:n,disabled:l,emptyValue:a,id:r,invalid:o,name:i,onChange:s,onFocus:u,onKeyDown:d,value:m=a,...g},f)=>{const h=Qr(void 0!==a?[{text:"",value:a},...e]:e),v=t.useMemo(()=>r||c.v4(),[r]),p=$a(f),w=void 0!==m?$r(h,m):void 0,{getNextIndex:b}=di({data:h,currentIndex:w}),E=e=>{if(void 0!==e){const t=h[e];t&&!t.disabled&&qr(p.current,t.value)}};return t.useEffect(()=>{if(h.length&&void 0===w)if(void 0!==n){const e=$r(h,n);void 0!==e&&E(e)}else E(0)},[h]),{list:{...g,"aria-activedescendant":Yr(h,w,v),data:h,disabled:l,id:v,invalid:o,onChange:e=>{E(e)},onFocus:e=>{void 0===w&&h.length&&E(0),u&&(e.persist(),u(e))},onKeyDown:e=>{const t=e.key;if(1===t.length&&/(\w)/g.test(t)){const e=b(t);e>-1&&e!==w&&E(e)}else d&&(e.persist(),d(e))},scrollOnFocus:!0,tabIndex:l?-1:g.tabIndex?g.tabIndex:0,value:w},input:{name:i,onChange:e=>{if(e.persist(),s){var t,n;const l=Ur(h,e.target.value);e.detail=Xr(l);const a=null!==(t=null==l||null===(n=l.path)||void 0===n?void 0:n.split("."))&&void 0!==t?t:[];if(a.length>1){let t;a.pop(),e.detail.parents=a.map(e=>(t=t?[t,e].join("."):e,Xr(h.find(e=>e.path===t))))}s(e)}},ref:p,tabIndex:-1,value:null!=m?m:""}}})(r,n),s=l("bg-white inline-flex relative w-full",a);return t.createElement("span",{"data-taco":"listbox",className:s},t.createElement(Fr,Object.assign({},o,{style:{...o.style,maxHeight:"calc(12rem + 2px)"}})),t.createElement("input",Object.assign({},i,{className:"hidden",type:"text"})))})),gi=t.forwardRef((function(e,n){const{className:a,...r}=e,{list:o,input:i}=(({data:e=[],defaultValue:n,disabled:l,id:a,name:r,onClick:o,onChange:i,onFocus:s,onKeyDown:u,value:d,...m},g)=>{const{texts:f}=mr(),h=t.useMemo(()=>a||c.v4(),[a]),v=$a(g),p=t.useMemo(()=>[{text:f.listbox.allOption,value:"#ALL-OPTIONS#"},...e],[e]),[w,b]=t.useState($r(p,d)||0),[E,x]=t.useState(!1),{getNextIndex:y}=di({data:p,currentIndex:w}),[z,R]=t.useState(Kr(p,d));t.useEffect(()=>{n&&!d&&qr(v.current,n.toString())},[]),t.useEffect(()=>{const e=p.filter(e=>!e.disabled).length-1;x(e===z.length)},[z,p]);const C=e=>{if(void 0!==e){const n=p[e];if(n&&!n.disabled){var t;let e="";const l=null===(t=v.current)||void 0===t?void 0:t.value,a=(null==l?void 0:l.split(","))||[],r=-1!==a.findIndex(e=>e===String(n.value));e="#ALL-OPTIONS#"===n.value?E?"":p.filter((e,t)=>0!==t&&!e.disabled).map(e=>e.value).join(","):r?a.filter(e=>e!==String(n.value)).join(","):l?`${l},${n.value}`:n.value,qr(v.current,e)}}};return{list:{...m,"aria-activedescendant":Yr(p,w,h),"aria-multiselectable":!0,data:p,disabled:l,id:h,onChange:()=>null,onClick:(e,t)=>{e.preventDefault(),p[t].disabled||(b(t),C(t)),o&&o(e)},onFocus:e=>{s&&(e.persist(),s(e))},onKeyDown:(e,t)=>{const n=e.key;if(1===n.length&&/(\w)/g.test(n)){const e=y(n);e>-1&&e!==w&&b(e)}else{switch(e.key){case" ":e.preventDefault(),C(t);break;case"Enter":C(t)}b(void 0!==t?t:0),u&&(e.persist(),u(e))}},scrollOnFocus:!1,tabIndex:l?-1:m.tabIndex?m.tabIndex:0,value:w,selectedIndexes:z,multiselect:!0,allOptionsSelected:E},input:{name:r,onChange:e=>{if(e.persist(),R(Kr(p,e.target.value)),i){const t=[];e.target.value.split(",").forEach(e=>{const n=Ur(p,e);n&&t.push(n)}),e.detail=t,i(e)}},ref:v,tabIndex:-1,value:null!=d?d:""}}})(r,n),s=l("bg-white inline-flex relative w-full",a);return t.createElement("span",{"data-taco":"listbox",className:s},t.createElement(Fr,Object.assign({},o,{style:{...o.style,maxHeight:"calc(12rem + 2px + 2px)"}})),t.createElement("input",Object.assign({},i,{className:"hidden",type:"text"})))})),fi=t.forwardRef((function(e,n){const a=$a(n),r=Lo(),{align:o="start",placement:i,...s}=e,c=l("border border-transparent rounded block outline-none p-1 yt-shadow wcag-white",e.className),u=t.useRef([]),d=t.Children.toArray(e.children).filter(e=>!!e).map((e,n)=>(u.current[n]=t.createRef(),t.cloneElement(e,{ref:u.current[n]})));return t.useEffect(()=>{const e=[];return d.forEach((t,n)=>{t.props.shortcut&&e.push(Xa(t.props.shortcut,e=>{e.preventDefault(),null==r||r.open(),setTimeout(()=>{var e,t;return null===(e=u.current[n])||void 0===e||null===(t=e.current)||void 0===t?void 0:t.click()},1)}))}),e.forEach(e=>document.addEventListener("keydown",e)),()=>{e.forEach(e=>document.removeEventListener("keydown",e))}},[d]),t.createElement(E.Portal,null,t.createElement(E.Content,Object.assign({},s,{align:o,className:c,"data-taco":"menu",side:i,sideOffset:3,style:{minWidth:null==r?void 0:r.minWidth},ref:a}),d))})),hi=e=>{switch(e){case"Escape":return"Esc";case"Delete":return"Del";case"Space":case" ":return"Space";case"ArrowLeft":return"◄";case"ArrowRight":return"►";case"ArrowUp":return"▲";case"ArrowDown":return"▼";default:return 1===e.length?e.toLocaleUpperCase():e}},vi=({keys:e,...t})=>{const a=l("inline-flex gap-0.5",t.className),r=(e=>{if(!e)return[];if("string"==typeof e)return[hi(e)];const t=[];return e.shift&&t.push(Za()?"⇧":"Shift"),e.meta&&t.push(Za()?"⌘":"Ctrl"),t.push(hi(e.key)),t})(e);return n.createElement("span",Object.assign({},t,{className:a}),r.map(e=>n.createElement("kbd",{key:e,className:"font-display text-grey-700 [[data-taco=tooltip]_&]:bg-grey-300/[0.25] rounded-sm bg-black/[0.09] px-1 text-center font-bold [[data-taco=tooltip]_&]:text-white"},e)))},pi=({name:e})=>t.createElement("span",{className:"absolute left-0 ml-1"},t.createElement(za,{className:"-ml-px -mt-px !h-5 !w-5",name:e})),wi=({disabled:e,indented:n,className:a})=>{const r=Lo();return t.useEffect(()=>{!n||null!=r&&r.indented||null==r||r.registerIndentation()},[n]),l("flex items-center justify-start h-8 pr-1.5 relative rounded w-full focus:outline-none group",{"pl-7":null==r?void 0:r.indented,"pl-1.5":!(null!=r&&r.indented),"cursor-pointer text-black hover:wcag-grey-200 data-[highlighted]:wcag-grey-200":!e,"cursor-not-allowed hover:bg-white text-grey-300":e},a)},bi=t.forwardRef((function(e,n){var l;const{dialog:a,icon:r,onClick:o,popover:i,shortcut:s,subMenu:c,...u}=e,d=Lo(),m=wi({disabled:e.disabled,indented:!!r,className:e.className});let g;if((null!==(l=e.disabled)&&void 0!==l?l:e["aria-disabled"])&&(g=e=>{e.preventDefault(),e.stopPropagation()}),c)return t.createElement(E.Sub,null,t.createElement(E.SubTrigger,Object.assign({},u,{className:m,onClick:g,ref:n}),r?t.createElement(pi,{name:r}):null,e.children,t.createElement(za,{className:"-mr-1.5 ml-auto !h-5 !w-5",name:"chevron-right"})),c());let f=t.createElement(E.Item,Object.assign({},u,{className:m,onClick:g,onSelect:t=>{o&&o(t),(e["aria-haspopup"]||"function"==typeof a||"function"==typeof i)&&t.preventDefault()},ref:n}),r?t.createElement(pi,{name:r}):null,e.children,s?t.createElement("span",{className:"ml-auto pl-5"},t.createElement(vi,{keys:s,className:"text-grey-700"})):null);return"function"==typeof a?f=a({trigger:f,onClose:null==d?void 0:d.close}):"function"==typeof i&&(f=i({trigger:f})),f})),Ei=t.forwardRef((function(e,n){const{href:l,icon:a,onClick:r,...o}=e,i=Lo(),s=wi({disabled:e.disabled,indented:!!a,className:e.className});return t.createElement(E.Item,Object.assign({},o,{asChild:!0,className:s,ref:n,onClick:e=>{null==r||r(e),null==i||i.close()}}),t.createElement("a",{href:l,target:"_blank"},a&&t.createElement(pi,{name:a}),e.children))})),xi=t.forwardRef((function(e,n){const l=Lo(),a=$a(n);return t.useEffect(()=>{a.current&&(null==l||l.setMinWidth(a.current.getBoundingClientRect().width))},[a]),t.createElement(E.Trigger,Object.assign({},e,{asChild:!0,ref:a}))})),yi=t.forwardRef((function(e,n){const{checked:l,children:a,onChange:r,...o}=e,i=wi({disabled:e.disabled,indented:!0,className:e.className});return t.createElement(E.CheckboxItem,Object.assign({},o,{checked:l,className:i,onCheckedChange:r,ref:n}),t.createElement(E.ItemIndicator,{className:"absolute left-0 ml-1.5"},t.createElement(za,{name:"tick",className:"-ml-px !h-4 !w-4"})),a)})),zi=(e=!1,t=!1)=>l("flex flex-shrink-0 items-center justify-center h-4 w-4 mt-[0.2rem] rounded-full bg-white border-2 focus-visible:yt-focus disabled:cursor-not-allowed hover:border-4",t?{"border-red-500 hover:border-red-700 aria-checked:bg-red-500 aria-checked:border-red-500 hover:aria-checked:border-red-700":!e,"border-red-500/50 aria-checked:bg-red-500/50 aria-checked:border-red-500/50":e}:{"border-grey-500 hover:border-grey-700 aria-checked:bg-blue-500 aria-checked:border-blue-500 hover:aria-checked:border-blue-700":!e,"border-grey-500/50 aria-checked:bg-blue-500/50 aria-checked:border-blue-500/50":e}),Ri=e=>String(null!=e?e:""),Ci=(e,t)=>e.find(e=>Ri(e)===t),Si=t.createContext({disabled:!1,invalid:!1}),Ni=t.forwardRef((function(e,n){const a=t.useContext(Si),{children:r,value:o,...i}=e,s=a.disabled||e.disabled,c=l("self-start",zi(s,a.invalid)),u=l("flex items-center gap-2",{"cursor-pointer":!s,"cursor-not-allowed text-grey-300":s},e.className);return t.createElement("label",{className:u},t.createElement(x.Item,Object.assign({},i,{className:c,disabled:s,ref:n,value:Ri(o)}),t.createElement(x.Indicator,{className:"h-2 w-2 rounded-full bg-white"})),r)})),Oi=e=>{const{children:n,defaultValue:l,disabled:a,invalid:r,onChange:o,orientation:i="vertical",value:s,...c}=e,u=t.useMemo(()=>{const e=[];return t.Children.forEach(n,n=>{t.isValidElement(n)&&e.push(n.props.value)}),e},[n]),d=t.useMemo(()=>({disabled:null!=a&&a,invalid:null!=r&&r}),[a,r]);let m;return m=void 0!==o?{onValueChange:e=>o(Ci(u,e)),value:void 0!==s?Ri(s):void 0}:{defaultValue:void 0!==l?Ri(l):void 0},{context:d,props:{...c,...m,children:n,disabled:a,orientation:i}}},Ai=t.forwardRef((function(e,n){const{context:a,props:r}=Oi(e),o=l("flex items-start gap-y-2",{"flex-wrap gap-x-4 ":"horizontal"===r.orientation,"flex-col":"vertical"===r.orientation},r.className);return t.createElement(Si.Provider,{value:a},t.createElement(x.Root,Object.assign({},r,{className:o,"data-taco":"radio-group",ref:n})))}));Ai.Item=Ni;const Ii=t.createContext({disabled:!1}),Li=t.forwardRef((function(e,n){const{context:a,props:r}=Oi(e),o=l("flex flex-col",e.className);return t.createElement(Ii.Provider,{value:a},t.createElement(E.RadioGroup,Object.assign({},r,{className:o,ref:n})))}));Li.Item=e=>{const n=t.useContext(Ii),{children:l,value:a,...r}=e,o=n.disabled||e.disabled,i=wi({disabled:o,indented:!0,className:e.className});return t.createElement(E.RadioItem,Object.assign({},r,{className:i,disabled:o,value:Ri(a)}),t.createElement(E.ItemIndicator,{className:"absolute left-0 ml-1.5"},t.createElement("span",{className:"ml-1 flex h-1.5 w-1.5 rounded-full bg-current "})),l)};const Hi=t.forwardRef((function(e,n){const a=Lo(),r=l("flex items-center justify-start h-7 pr-1.5 text-xs text-grey-700",{"pl-7":null==a?void 0:a.indented,"pl-1.5":!(null!=a&&a.indented)},e.className);return t.createElement(E.Label,Object.assign({},e,{className:r,ref:n}))})),Mi=t.forwardRef((function(e,n){const a=$a(n),{children:r,...o}=e,i=l("border border-transparent rounded block outline-none p-1 yt-shadow wcag-white",e.className);return t.createElement(E.Portal,null,t.createElement(E.SubContent,Object.assign({},o,{className:i,"data-taco":"menu-submenu",sideOffset:4,ref:a}),r))})),ki=t.forwardRef((function(e,n){const{children:l,defaultOpen:a,onChange:r,open:o,trigger:i,...s}=e,[c,u]=t.useState(!1),[d,m]=t.useState(void 0),[g,f]=w.useControllableState({defaultProp:a,onChange:r,prop:o}),h=t.useMemo(()=>({indented:c,registerIndentation:()=>u(!0),minWidth:d,setMinWidth:e=>m(e),open:()=>f(!0),close:()=>f(!1)}),[c,d]);return t.createElement(Io.Provider,{value:h},t.createElement(E.Root,Object.assign({},s,{modal:!1,open:g,onOpenChange:f}),i&&t.createElement(xi,{ref:n},i),l))}));ki.Trigger=xi,ki.Content=fi,ki.Item=bi,ki.Link=Ei,ki.Checkbox=yi,ki.Separator=()=>t.createElement(E.Separator,{className:"bg-grey-300 my-1 h-px"}),ki.Header=Hi,ki.RadioGroup=Li,ki.SubMenu=Mi;const Vi=t.forwardRef((function(e,n){const{onChange:a,...r}=e,o=l("group w-14 h-8 flex flex-shrink-0 rounded-full inline-flex focus-visible:yt-focus p-1",{"bg-grey-500 hover:bg-grey-700 aria-checked:bg-blue-500 aria-checked:hover:bg-blue-700":!e.disabled,"bg-grey-500 aria-checked:bg-blue-500 cursor-not-allowed opacity-50":e.disabled},e.className);return t.createElement(y.Root,Object.assign({},r,{className:o,"data-taco":"mode",onCheckedChange:a,ref:n}),t.createElement(y.Thumb,{className:"'will-change-transform flex h-6 w-6 items-center justify-center rounded-full bg-white transition-transform group-disabled:opacity-50 group-aria-checked:translate-x-[100%]"},t.createElement(za,{name:"edit-simple",className:"!h-5 !w-5"})))}));Vi.displayName="ModeSwitch";const ji=n.forwardRef((function(e,t){return n.createElement("a",Object.assign({},e,{ref:t}))})),Ti=n.forwardRef((function(e,t){const{children:a,className:r,expanded:o=!1,title:i,fixed:s,onClick:c,...u}=e,[d,m]=n.useState(s||o);n.useEffect(()=>{s||m(s||o)},[s,o]);const g=l("flex-col mb-0",{flex:d,hidden:!d}),f={...u,"aria-expanded":d,role:"treeitem",tabIndex:-1},h="function"==typeof r?r(d):r;return n.createElement("div",Object.assign({},f,{className:h,ref:t}),n.createElement("div",{onClick:e=>{const t=!d;s||m(t),c&&c(e,t)}},"function"==typeof i?i(d):i),n.createElement("ul",{role:"group",className:g},n.Children.toArray(a).filter(e=>!!e).map((e,t)=>n.createElement("li",{key:t,role:"none"},n.cloneElement(e,{role:"treeitem"})))))})),Di=n.forwardRef((function(e,t){return n.createElement("div",Object.assign({},e,{ref:t,role:"tree"}))}));Di.Group=Ti,Di.Item=ji;const Fi=e=>{const[t,l]=n.useState(!1),a=n.useCallback(e=>{e.preventDefault(),l(!0)},[]),r=n.useCallback(e=>{e.preventDefault(),(e.target===e.currentTarget||e.relatedTarget&&!e.currentTarget.contains(e.relatedTarget))&&l(!1)},[]),o=n.useCallback(e=>{e.preventDefault()},[]),i=n.useCallback(t=>{t.preventDefault(),t.persist(),l(!1),e&&e(t)},[e]);return[t,e?{onDragEnter:a,onDragLeave:r,onDragOver:o,onDrop:i}:void 0]},Pi=n.forwardRef((function(e,t){const{active:a,children:r,onDrop:o,postfix:i,prefix:s,role:c,...u}=e,d=$a(t),[m,g]=Fi(o),f="treeitem"===c,h=l("yt-navigation__item cursor-pointer",{"w-full mb-px py-1 px-3 flex items-center hover:bg-grey-300":f,"bg-white w-full h-10 px-3 flex-shrink-0 flex items-center justify-between cursor-pointer":!f,"yt-navigation__item--active":a&&!m,"bg-grey-300":f&&a&&!m,"yt-navigation__item--dropping bg-blue-500":m},e.className);return n.createElement("span",Object.assign({},g,{className:h,onClick:e=>{e.target instanceof HTMLAnchorElement||e.target instanceof HTMLButtonElement||d.current&&d.current.click()},role:c}),s&&n.createElement("span",{className:"yt-navigation__item__prefix flex items-center"},s),n.createElement("a",Object.assign({},u,{className:"block flex-grow truncate",ref:d}),r),i&&n.createElement("span",{className:"yt-navigation__item__postfix ml-1"},i))})),Bi=n.forwardRef((function(e,t){return n.createElement("div",Object.assign({},e,{className:l("w-full bg-white p-3",e.className),ref:t}))})),_i=n.forwardRef((function(e,t){const a=l("flex-shrink-0 space-y-1 outline-none",{"bg-white pb-2":e.fixed},"function"==typeof e.className?e.className(!1):e.className);return n.createElement(Di.Group,Object.assign({},e,{className:a,title:t=>{const a=l("bg-white h-10 pl-3 pr-1 flex items-center justify-between w-full",{"mb-1":t,"cursor-pointer hover:text-blue-500":!e.fixed});return n.createElement("span",{className:a},"function"==typeof e.title?e.title(t):e.title,!e.fixed&&n.createElement(za,{name:t?"chevron-up":"chevron-down"}))},ref:t}))})),Gi=n.forwardRef((function(e,t){const a=n.useMemo(()=>{const t=[];return n.Children.toArray(e.children).filter(e=>!!e).forEach(e=>{if(e.props.fixed)t.push(e);else{const n=t[t.length-1];Array.isArray(n)?n.push(e):t.push([e])}}),t},[e.children]);return n.createElement(Di,Object.assign({},e,{className:l("divide-grey-100 flex flex-grow flex-col divide-y-2 overflow-y-auto",e.className),ref:t}),a.map((e,t)=>Array.isArray(e)?n.createElement("div",{className:"divide-grey-100 flex h-0 flex-auto flex-shrink-0 flex-grow flex-col divide-y-2 overflow-y-auto",key:t},e):e))}));Gi.Group=_i;const qi=n.forwardRef((function(e,t){const{children:a,...r}=e,o=l("h-full flex flex-col bg-grey-100 divide-y-2 divide-grey-100",e.className);return n.createElement("div",Object.assign({},r,{className:o,"data-taco":"navigation",ref:t}),a)}));qi.Menu=Gi,qi.Item=Pi,qi.Panel=Bi;const $i=(e,t)=>{const[l,a]=n.useState({}),r=(e,t)=>{if(t.root){const n=Array.from(t.root.children),l={};e.forEach(e=>{l[n.indexOf(e.target)]=e.isIntersecting}),a(e=>({...e,...l}))}},o=n.useMemo(()=>{const e=Object.values(l).indexOf(!1);return e>-1?e:void 0},[l]),i=void 0!==o&&t;return n.useEffect(()=>{const n=new IntersectionObserver(r,{root:e.current,rootMargin:i?`0px -${t}px 0px 0px`:void 0,threshold:1});return n.root&&Array.from(n.root.children).forEach(e=>{e.hasAttribute("data-observer-ignore")||n.observe(e)}),()=>{n.disconnect()}},[i]),o},Ki=(e,t)=>{const l=e.props.to||e.props.href,a=l?ki.Link:ki.Item,{as:r,...o}=e.props,i={...o,key:t,target:l?l.startsWith("http")?"_blank":"_self":void 0};return r?n.cloneElement(e,{as:a,...i}):n.createElement(a,Object.assign({},i))},Ui=n.forwardRef((function(e,t){var a;const{moreButton:r,...o}=e,i=$a(t),[s,c]=n.useState(40),u=n.useCallback(e=>{var t;return c(null==e||null===(t=e.getBoundingClientRect())||void 0===t?void 0:t.width)},[]),{texts:d}=mr(),m=$i(i,s),g=n.Children.toArray(e.children),f=void 0!==m?g.slice(m):[],h=f.length,v=null!==(a=null==r?void 0:r(h?`${h} ${d.header.more}`:""))&&void 0!==a?a:n.createElement(ir,{icon:"more"}),p=l("flex overflow-hidden",e.className);return n.createElement("div",Object.assign({},o,{className:p,"data-taco":"overflow-group",ref:i}),g.map((e,t)=>n.cloneElement(e,{className:l(e.props.className,{visible:void 0===m||t<m,"invisible order-[100] pointer-events-none":void 0!==m&&t>=m})})),f.length?n.cloneElement(v,{className:l("sticky right-0 order-[99]",v.props.className),"data-observer-ignore":!0,menu:e=>n.createElement(ki,Object.assign({},e),n.createElement(ki.Content,null,f.map(Ki))),ref:u}):null)})),Wi=({currentPageIndex:e=0,onClick:n,pageCount:l})=>{const a=((e,t)=>{let n=Math.min(t,e),l=Math.min(t,e);for(let t=1;t<5&&t<e;)n>1&&(n--,t++),t<5&&l<e&&(l++,t++);const a=[];for(let e=n;e<=l;e++)a.push(e);return a})(l,e+1),{texts:r}=mr();return t.createElement(t.Fragment,null,a.map(l=>t.createElement(hr,{appearance:l===e+1?"primary":"default","aria-current":l===e+1?"page":void 0,key:l,onClick:()=>n(l-1),"aria-label":r.pagination.actions.pageX.replace("[X]",String(l)),tooltip:r.pagination.actions.pageX.replace("[X]",String(l))},l)))},Ji=t.forwardRef((function(e,n){const{autoFocus:a,className:r,style:o,...i}=e,{button:s,listbox:d,popover:m,input:g,text:f,more:h=0}=(({"aria-label":e,"aria-labelledby":n,data:a=[],defaultValue:r,disabled:o,emptyValue:i,id:s,multiselect:u,onBlur:d,onChange:m,readOnly:g,tabIndex:f,value:h,...v},p)=>{const{texts:w}=mr(),b=Qr(a),E=$a(p),[x,y]=t.useState(!1),z=t.useMemo(()=>s||"select_"+c.v4(),[s]),R=t.useRef(null),C=z+"-button",[S,N]=t.useState(h);t.useEffect(()=>{N(h)},[x]),t.useEffect(()=>{void 0===h?void 0!==r&&Ur(b,r)?qr(R.current,r):void 0!==i?qr(R.current,i):a.length>0&&qr(R.current,a[0].value):u||Ur(b,h)||(void 0!==i?qr(R.current,i):a.length>0&&qr(R.current,a[0].value))},[]);let O="",A=0;if(void 0!==h)if(u){const e=(null==h?void 0:h.toString().split(","))||[];var I,L;e.length===b.filter(e=>!e.disabled).length?O=w.select.allOptionsSelected:(O=null!==(I=null===(L=Ur(b,e[0]))||void 0===L?void 0:L.text)&&void 0!==I?I:"",A=e.length>1?e.length-1:0)}else{const e=Ur(b,h);e&&(O=e.icon?t.createElement(t.Fragment,null,t.cloneElement(e.icon,{className:l(e.icon.props.className,"mr-1 -mt-px")}),e.text):e.text)}return{button:{"aria-haspopup":"listbox","aria-label":e?`${e} ${O}`:void 0,"aria-labelledby":n?`${n} ${C}`:void 0,disabled:o||g,id:C,onKeyDown:o||g?void 0:e=>{"ArrowUp"!==e.key&&"ArrowDown"!==e.key||(e.preventDefault(),y(!0))},tabIndex:f,type:"button"},listbox:{...v,"aria-label":e,"aria-labelledby":n,data:a,disabled:o,emptyValue:i,onBlur:d,onClick:e=>{e.preventDefault(),u||(y(!1),d&&d(Pr("blur")))},onChange:e=>{qr(R.current,e.target.value)},onKeyDown:e=>{switch(e.key){case"Escape":e.preventDefault(),void 0!==S&&qr(E.current,S),y(!1);break;case"Tab":case"Enter":"Tab"!==e.key&&e.preventDefault(),y(!1)}v.onKeyDown&&v.onKeyDown(e)},ref:E,value:h},input:{onChange:e=>{if(e.persist(),m){var t,n;const l=Ur(b,e.target.value);e.detail=Xr(l);const a=null!==(t=null==l||null===(n=l.path)||void 0===n?void 0:n.split("."))&&void 0!==t?t:[];if(a.length>1){let t;a.pop(),e.detail.parents=a.map(e=>(t=t?[t,e].join("."):e,Xr(b.find(e=>e.path===t))))}m(e)}},ref:R,value:String(null!=h?h:"")},popover:{open:x,onOpenChange:e=>{!e&&d&&d(Pr("blur")),y(e)}},text:O,more:A}})(i,n),v=t.useRef(null),p=Ar(v),w=l("inline-flex relative w-full",{"yt-select--readonly":e.readOnly},r),b=l(Sr(e),"h-8 text-left !pr-0",{"border-blue-500":m.open});t.useEffect(()=>{a&&v.current&&v.current.focus()},[]);const E={...d,className:"w-auto",invalid:void 0,style:{minWidth:null==p?void 0:p.width},tabIndex:m.open?0:-1};return t.createElement("span",{className:w,"data-taco":"select",style:o},t.createElement(u.Root,Object.assign({},m),t.createElement(u.Trigger,Object.assign({},s,{className:b,ref:v}),e.multiselect?t.createElement(t.Fragment,null,t.createElement("span",{className:"flex-grow truncate text-left"},f),h>0&&t.createElement(qa,{className:"ml-2"},"+"+h)):t.createElement("span",{className:"flex-grow truncate text-left"},f),t.createElement("span",{className:"flex h-8 w-8 items-center justify-center"},t.createElement(za,{className:"pointer-events-none",name:m.open?"chevron-up":"chevron-down"}))),t.createElement(u.Portal,null,t.createElement(u.Content,{align:"start",sideOffset:4},t.createElement(e.multiselect?gi:mi,Object.assign({},E)))),t.createElement("input",Object.assign({},g,{className:"hidden",type:"text"}))))})),Yi=t.forwardRef((function(e,n){const{editable:l,...a}=e;return l?t.createElement(no,Object.assign({},a,{dialog:void 0,inline:!0,ref:n})):t.createElement(Ji,Object.assign({},a,{ref:n}))})),Qi=t.forwardRef((function(e,a){const{length:r,pageIndex:o,pageSize:i,pageSizes:s=[10,25,50,100,500],setPageIndex:c,setPageSize:u,showPageControls:d=!0,showPageNumbers:m=!0,showPageSize:g=!0,dangerouslyHijackGlobalKeyboardNavigation:f=!1,...h}=e,{texts:v}=mr(),p=Math.ceil(r/i)-1,w=f;(({setPageIndex:e,maxPageIndex:t,pageIndex:l,dangerouslyHijackGlobalKeyboardNavigation:a})=>{const r=n=>e&&"Home"===n.key?(n.preventDefault(),void e(0)):e&&"End"===n.key?(n.preventDefault(),void e(t)):e&&"PageUp"===n.key?(n.preventDefault(),void e(Math.max(0,l-1))):e&&"PageDown"===n.key?(n.preventDefault(),void e(Math.min(t,l+1))):void 0;n.useEffect(()=>(a&&window.addEventListener("keydown",r),()=>{a&&window.removeEventListener("keydown",r)}),[r,a])})({setPageIndex:c,maxPageIndex:p,pageIndex:o,dangerouslyHijackGlobalKeyboardNavigation:f});const b=Math.ceil(r/i),E=o>0,x=o<b-1,y=l("inline-flex relative justify-between items-center",e.className);return t.createElement("div",Object.assign({},h,{className:y,"data-taco":"pagination",ref:a}),g&&t.createElement("span",{className:"mr-4"},((e,t,n,l)=>{const a=(t+1)*n;return l.pagination.showingXofYofTotal.replace("[X]",0===e?"0":String(t*n+1)).replace("[Y]",String(a>e?e:a)).replace("[total]",String(e))})(r,o,i,v),t.createElement(Yi,{"aria-label":v.pagination.pageSize,className:"ml-4 !w-20",data:s.map(e=>({text:String(e),value:e})),onChange:e=>{c(0),u(Number(e.target.value))},value:i})),d&&t.createElement(Ao,{as:"nav","aria-label":v.pagination.label},t.createElement(ir,{appearance:"default",disabled:!E,icon:"arrow-start",onClick:()=>c(0),"aria-label":w?v.pagination.actions.firstPageWithShortcut:v.pagination.actions.firstPage,tooltip:w?v.pagination.actions.firstPageWithShortcut:v.pagination.actions.firstPage}),t.createElement(ir,{appearance:"default",disabled:!E,icon:"arrow-left",onClick:()=>c(o-1),"aria-label":w?v.pagination.actions.previousPageWithShortcut:v.pagination.actions.previousPage,tooltip:w?v.pagination.actions.previousPageWithShortcut:v.pagination.actions.previousPage}),m&&b>0&&t.createElement(Wi,{pageCount:b,currentPageIndex:o,onClick:c}),t.createElement(ir,{appearance:"default",disabled:!x,icon:"arrow-right",onClick:()=>c(o+1),"aria-label":w?v.pagination.actions.nextPageWithShortcut:v.pagination.actions.nextPage,tooltip:w?v.pagination.actions.nextPageWithShortcut:v.pagination.actions.nextPage}),t.createElement(ir,{appearance:"default",disabled:!x,icon:"arrow-end",onClick:()=>c(b-1),"aria-label":w?v.pagination.actions.lastPageWithShortcut:v.pagination.actions.lastPage,tooltip:w?v.pagination.actions.lastPageWithShortcut:v.pagination.actions.lastPage})))})),Xi=({content:e,lastUpdated:t,onClose:a,options:r,...o})=>{const{texts:i}=mr(),{autoClose:s,type:c="default"}=r,u=l("bg-white relative flex items-center py-1 px-2 mt-3 w-full rounded yt-shadow print:hidden",{"border border-grey-200":"default"===c||"loading"===c||!c,"border border-grey-500":"success"===c,"border border-blue-500":"information"===c,"border border-yellow-700":"warning"===c,"border border-red":"error"===c}),d=ui(s,a),m=h.useAnimation();return e||console.warn((e=>`Toast requires 'content' property, which can't be empty string, null or undefined. Current content value is set to ${""===e?"empty string":e}.`)(e)),n.useEffect(()=>{s&&d.start()},[s]),n.useEffect(()=>{t&&(function(){try{Promise.resolve(m.start({scale:1.05})).then((function(){return Promise.resolve(m.start({scale:1})).then((function(){}))}))}catch(e){return Promise.reject(e)}}(),d.running&&d.start())},[t]),n.createElement(h.motion.div,Object.assign({},o,{animate:m,className:u,"data-taco":"toast",onMouseEnter:d.pause,onMouseLeave:d.resume}),(e=>n.createElement("div",{className:"mr-2 mt-[5px] flex-shrink-0 self-start"},(()=>{switch(e){case"success":return n.createElement(Ra,{icon:"tick",color:"green"});case"error":return n.createElement(Ra,{icon:"close",color:"red"});case"warning":return n.createElement(Ra,{icon:"warning",color:"yellow"});case"information":return n.createElement(Ra,{icon:"info",color:"blue"});case"loading":return n.createElement(jr,{delay:0,className:"h-5 w-5"});default:return null}})()))(c),n.createElement("div",{className:"flex-grow"},e),n.createElement(ir,{appearance:"discrete",className:"text-grey-700 -mr-2 cursor-pointer self-start !px-0",icon:"close","aria-label":i.toasts.dismiss,onClick:a}))},Zi=t.createContext({}),es=(e,t,n,l,a)=>{const r=[...e],o=e.findIndex(e=>JSON.stringify(e.content)===JSON.stringify(n));return o>-1?(r[o].lastDuplicateId=t,r[o].lastUpdated=Date.now()):r.push({id:t,content:"function"==typeof n?n(a):n,options:l}),r},ts=({children:e,...n})=>{const[l,a]=t.useState([]),r=e=>{a(t=>t.filter(t=>t.id!==e))},o=t.useCallback((e,t)=>{const n=c.v4(),l=()=>r(n);a(a=>es(a,n,e,t,l));const o=(e,t)=>{a(a=>{const r=a.filter(e=>e.lastDuplicateId?e.lastDuplicateId!==n:e.id!==n);return es(r,c.v4(),e,t,l)})};return{success:(e,t)=>{o(e,{autoClose:7500,...t,type:"success"})},error:(e,t)=>{o(e,{...t,type:"error"})},warning:(e,t)=>{o(e,{...t,type:"warning"})},information:(e,t)=>{o(e,{...t,type:"information"})},loading:(e,t)=>{o(e,{...t,type:"loading"})},close:l}},[]);return t.useEffect(()=>{o.success=(e,t)=>o(e,{autoClose:7500,...t,type:"success"}),o.error=(e,t)=>o(e,{...t,type:"error"}),o.warning=(e,t)=>o(e,{...t,type:"warning"}),o.information=(e,t)=>o(e,{...t,type:"information"}),o.loading=(e,t)=>o(e,{...t,type:"loading"})},[]),t.createElement(Zi.Provider,Object.assign({},n,{value:o}),e,t.createElement(z.Portal,null,t.createElement("div",{id:"yt-toast__container",className:"pointer-events-all absolute !left-auto bottom-0 right-0 z-[1000] mb-4 mr-4 flex max-w-md flex-col items-end justify-end",role:"log"},t.createElement(h.AnimatePresence,{initial:!1},l.map(e=>t.createElement(h.motion.div,{key:e.id,transition:{type:"spring",damping:20,stiffness:300},initial:{opacity:0,y:10,scale:.5},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,scale:.5,transition:{duration:.2}}},t.createElement(Xi,Object.assign({},e,{onClose:()=>r(e.id)}))))))))},ns=()=>t.useContext(Zi),ls=t.createContext({uniqueUserIdentifier:""});var as;(as=exports.FontSizes||(exports.FontSizes={})).small="small",as.medium="medium",as.large="large";const rs=n.forwardRef;function os(e){return null==e?void 0:e.startsWith("__")}const is=(e="medium")=>{switch(e){case exports.FontSizes.small:return 57;case exports.FontSizes.large:return 83;default:case exports.FontSizes.medium:return 72}};function ss(e,t){return null==e?"":m.isDate(e)?null!==(n=ao(e))&&void 0!==n?n:"":"datetime"===t&&"string"==typeof e?null!==(l=ao(oo(e)))&&void 0!==l?l:"":String(e);var n,l}function cs(e,t,n=["__actions"]){const l=e.filter(e=>os(e.id)&&!n.includes(String(e.id))).map(e=>e.id),a=[],r=[];let o=e;Array.isArray(t)&&(o=e.slice().sort((e,n)=>(t.indexOf(e.id)>>>0)-(t.indexOf(n.id)>>>0))),o.forEach(e=>{var t;os(e.id)||(null!==(t=e.meta)&&void 0!==t&&t.enableOrdering?r.push(e.id):a.push(e.id))});const i=[...l,...a,...r];return n.forEach(t=>{e.findIndex(e=>e.id===t)>-1&&i.push(t)}),i}function us(e){var t;return null!==(t=null==e?void 0:e.filter(e=>os(e)&&"__actions"!==e))&&void 0!==t?t:[]}function ds(e,t){return t.slice(0,e+1)}var ms,gs;!function(e){e[e.Contains=0]="Contains",e[e.DoesNotContain=1]="DoesNotContain",e[e.IsEqualTo=2]="IsEqualTo",e[e.IsNotEqualTo=3]="IsNotEqualTo",e[e.IsGreaterThan=4]="IsGreaterThan",e[e.IsLessThan=5]="IsLessThan",e[e.IsBetween=6]="IsBetween",e[e.IsEmpty=7]="IsEmpty",e[e.IsNotEmpty=8]="IsNotEmpty",e[e.IsLessThanOrEqualTo=9]="IsLessThanOrEqualTo",e[e.IsGreaterThanOrEqualTo=10]="IsGreaterThanOrEqualTo",e[e.HasAnyOf=11]="HasAnyOf",e[e.HasAllOf=12]="HasAllOf",e[e.HasNoneOf=13]="HasNoneOf"}(ms||(ms={})),function(e){e[e.Incomplete=0]="Incomplete",e[e.Loading=1]="Loading",e[e.Completed=2]="Completed"}(gs||(gs={}));const fs=e=>String(null!=e?e:"").toLocaleLowerCase(),hs=(e,t)=>fs(e).includes(fs(t)),vs=(e,t)=>fs(e)===fs(t);function ps(e,t,n){try{if(e.original){var l,a;const r=null===(l=e._getAllCellsByColumnId()[t])||void 0===l||null===(a=l.column.columnDef.meta)||void 0===a?void 0:a.dataType,o=ss(e.original[t],r);return hs(o,n)}}catch{}return!1}function ws(e,t,n){return t.size&&(n[e]=t.size),{id:e,accessorKey:e,header:t.header,cell:t.renderer,enableColumnFilter:!1,enableGlobalFilter:!1,enableGrouping:!1,enableHiding:!1,enableResizing:!1,enableSorting:!1,size:t.size,minSize:t.size,meta:{...t.meta,enableOrdering:!1,enablePrinting:!1,enableTruncate:!1}}}function bs(e,t){var n,l,a,r,o,i;const s=e.enableRowSelection||e.enableRowSelectionSingle,c={defaultColumn:{enableColumnFilter:e.enableFiltering||!0,enableGrouping:!1,enableHiding:e.enableColumnHiding||!0,enableResizing:e.enableColumnResizing||!0,enableGlobalFilter:e.enableSearch||!0,enableSorting:e.enableSorting||!0,minSize:1,size:1},enableColumnFilters:null!==(n=e.enableFiltering)&&void 0!==n&&n,enableColumnResizing:null!==(l=e.enableColumnResizing)&&void 0!==l&&l,enableExpanding:null!==(a=e.enableRowExpansion)&&void 0!==a&&a,enableGrouping:!0,enableHiding:null!==(r=e.enableColumnHiding)&&void 0!==r&&r,enablePinning:null!==(o=e.enableColumnFreezing)&&void 0!==o&&o,enableRowSelection:null!=s&&s,enableMultiRowSelection:!0!==e.enableRowSelectionSingle&&s,enableSorting:null!==(i=e.enableSorting)&&void 0!==i&&i,getCoreRowModel:R.getCoreRowModel(),getExpandedRowModel:R.getExpandedRowModel(),getGroupedRowModel:R.getGroupedRowModel(),groupedColumnMode:!1};return c.enableColumnResizing&&(c.columnResizeMode="onChange"),c.enableColumnFilters&&(t.onChangeFilter||(c.getFilteredRowModel=R.getFilteredRowModel(),c.filterFns={tacoFilter:(e,t,n)=>function(e,t){try{if(t.comparator===ms.IsEmpty||t.comparator===ms.IsNotEmpty){const n=null==e||""===e;return t.comparator===ms.IsEmpty?n:!n}if(null==t.value||""===t.value)return!0;switch(t.comparator){case ms.Contains:return hs(e,t.value);case ms.DoesNotContain:return!hs(e,t.value);case ms.IsEqualTo:return m.isDate(e)?m.isDate(t.value)&&lo(e,t.value):"boolean"==typeof t.value?e===t.value:vs(e,t.value);case ms.IsNotEqualTo:return m.isDate(e)?m.isDate(t.value)&&!1===lo(e,t.value):"boolean"==typeof t.value?e!==t.value:!vs(e,t.value);case ms.IsGreaterThan:if(m.isDate(e))return m.isDate(t.value)&&m.isAfter(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>t.value}case ms.IsLessThan:if(m.isDate(e))return m.isDate(t.value)&&m.isBefore(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<t.value}case ms.IsLessThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isBefore(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<=t.value}case ms.IsGreaterThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isAfter(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>=t.value}case ms.IsBetween:{const[n,l]=t.value;if(m.isDate(e))return!(m.isDate(n)&&m.isBefore(e,n)||m.isDate(l)&&m.isAfter(e,l));{const t=parseInt(e);return!(isNaN(t)||void 0!==n&&t<n||void 0!==l&&t>l)}}case ms.HasAnyOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.some(t=>e.includes(t));case ms.HasNoneOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.every(t=>!1===e.includes(t));case ms.HasAllOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.filter(t=>e.includes(t)).length===t.value.length}return!1}catch(e){return console.error(e),!0}}(e.getValue(t),n)})),e.enableSearch&&(c.getFilteredRowModel=R.getFilteredRowModel(),c.globalFilterFn=ps,c.getColumnCanGlobalFilter=e=>{var t,n;return null===(t=null===(n=e.columnDef.meta)||void 0===n?void 0:n.enableSearch)||void 0===t||t}),c.enableSorting&&(t.onChangeSort?c.manualSorting=!0:c.getSortedRowModel=R.getSortedRowModel()),c}const Es={enableFiltering:!1,enableSearch:!1,enableSorting:!1,enableColumnFreezing:!1,enableColumnHiding:!1,enableColumnResizing:!1,enableRowExpansion:!1,enableRowSelection:!1,enableRowSelectionSingle:!1,enableColumnOrdering:!1,enableFontSize:!1,enableFooter:!1,enablePrinting:!1,enableRowActive:!0,enableRowActions:!1,enableRowClick:!1,enableRowGoto:!1,enableRowHeight:!1,enableSaveSettings:!1},xs={lite:{enableFiltering:!0,enableSearch:!0,enableSorting:!0,enableColumnFreezing:!0,enableColumnHiding:!1,enableColumnResizing:!0,enableRowExpansion:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableColumnOrdering:!1,enableFontSize:!1,enableFooter:!0,enablePrinting:!1,enableRowActive:!0,enableRowActions:!0,enableRowClick:!0,enableRowGoto:!0,enableRowHeight:!1,enableSaveSettings:!0},complex:{enableFiltering:!0,enableSearch:!0,enableSorting:!0,enableColumnFreezing:!0,enableColumnHiding:!0,enableColumnResizing:!0,enableRowExpansion:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableColumnOrdering:!0,enableFontSize:!0,enableFooter:!0,enablePrinting:!0,enableRowActive:!0,enableRowActions:!0,enableRowClick:!0,enableRowGoto:!0,enableRowHeight:!0,enableSaveSettings:!0}};function ys(e=!1){return{isEnabled:e}}function zs(e=!1,t="medium"){const[l,a]=n.useState(t);return{isEnabled:e,size:l,setSize:e?a:()=>{}}}const Rs=()=>{const[e,t]=n.useState(!1);return n.useEffect(()=>{const n=()=>t(!1);return e&&document.addEventListener("mousemove",n),()=>{document.removeEventListener("mousemove",n)}},[e]),[e,t]};function Cs(e){setTimeout(()=>{var t,n;null===(t=e.current)||void 0===t||null===(n=t.querySelector('[data-taco="table2-body"] [role="row"] [role="cell"]:first-child'))||void 0===n||n.focus()},1)}function Ss(e=!1,t){const[l,a]=n.useState(t),[r,o]=Rs(),i=(e,t,n)=>a(l=>{const a=void 0!==l?function(e,t,n){return-1===e?t-1>0?t-1:0:t+1<n?t+1:t}(e,l,t):0;return setTimeout(()=>n(a),1),a}),s=n.useCallback((t,n,l,r)=>{if(e&&!t.defaultPrevented)if("ArrowUp"!==t.key&&"ArrowDown"!==t.key||o(!0),"ArrowUp"!==t.key)if("ArrowDown"!==t.key);else{if(t.preventDefault(),t.ctrlKey||t.metaKey){const e=n-1;a(e),l(e)}else i(1,n,l);r&&Cs(r)}else{if(t.preventDefault(),t.ctrlKey||t.metaKey){const e=0;a(e),l(e)}else i(-1,n,l);r&&Cs(r)}},[e]),c=n.useCallback((t,n,r)=>{e&&!t.isDefaultPrevented()&&(t.target.closest("tbody")||t.target.closest('[data-taco="table2-body"]')||Wa(t.target,t.currentTarget)||void 0===l&&n>0&&a(e=>void 0===e?(r(0),0):e))},[l,length,e]);return{isEnabled:e,rowActiveIndex:l,setRowActiveIndex:e?a:()=>{},isHoverStatePaused:r,setHoverStatePaused:e?o:()=>{},handleFocus:e?c:()=>{},handleKeyDown:e?s:()=>{}}}function Ns(e=!1,t){const l=n.useCallback((function(n,l){if(e&&"function"==typeof t&&!n.defaultPrevented)return l&&"Enter"===n.key?(n.preventDefault(),void t(l)):void 0}),[e,t]),a=n.useCallback((function(n,l){e&&"function"==typeof t&&!n.defaultPrevented&&(n.preventDefault(),t(l))}),[e,t]);return{isEnabled:e,handleClick:a,handleKeyDown:l}}function Os(e=!1,t){return{isEnabled:e,handleGoto:e?t:void 0}}function As(e=!1,t="medium"){const[l,a]=n.useState(t);return{isEnabled:e,height:l,setHeight:e?a:()=>{}}}function Is(e=!1){const t=n.useRef(),l=n.useCallback((t,n)=>{if(!e||!n.options.enableRowSelection||t.defaultPrevented)return;const l=n.getRowModel().rows,a=n.options.meta;if(" "!==t.key)return(t.ctrlKey||t.metaKey)&&"a"===t.key?(t.preventDefault(),void n.toggleAllRowsSelected()):void 0;{t.preventDefault();const e=a.rowActive.rowActiveIndex;var r;void 0!==e&&(null===(r=l[e])||void 0===r||r.toggleSelected())}},[e]);return{isEnabled:e,handleKeyDown:e?l:()=>{},lastSelectedRowIndex:t}}function Ls(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}function Hs(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,n)}function Ms(e,t,l=100){const a=!!e&&!!t,[r,o]=n.useState(gs.Incomplete);let i,s;return"function"==typeof t&&(i=function(...e){try{const n=function(){if("function"==typeof t)return o(gs.Loading),Promise.resolve(t(...e)).then((function(){o(gs.Completed)}))}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},s=function(...e){try{const t=function(){var t;if(r===gs.Incomplete)return Promise.resolve(null===(t=i)||void 0===t?void 0:t(...e)).then((function(){}))}();return Promise.resolve(t&&t.then?t.then((function(){})):void 0)}catch(e){return Promise.reject(e)}}),{isEnabled:a,loadPage:e,loadAll:i,loadAllIfNeeded:s,loadAllStatus:r,pageSize:l}}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));const ks=(e,t)=>{const[l,a]=n.useState(()=>{if(!e)return t;try{const n=localStorage.getItem(e);return"string"!=typeof n?(localStorage.setItem(e,JSON.stringify(t)),t):JSON.parse(n||"null")}catch{return t}});return n.useEffect(()=>{if(e)try{const t=JSON.stringify(l);localStorage.setItem(e,t)}catch{}},[e,l]),[l,a,()=>{e&&localStorage.removeItem(e)}]};function Vs(){return n.useContext(ls)}const js={columnOrder:!0,columnPinning:!0,columnSizing:!0,columnVisibility:!0,excludeUnmatchedRecordsInSearch:!0,fontSize:!0,grouping:!0,rowHeight:!0,showWarningWhenPrintingLargeDataset:!0,sorting:!0};function Ts(e,t){const n={...e};return Object.keys(t).forEach(e=>{t[e]||delete n[e]}),n}function Ds(e,t){const l=n.useRef(!1);n.useEffect(()=>{l.current?e():l.current=!0},t)}function Fs(e){const t=e.options.meta,n=e.getRowModel().rows;Ds(()=>{const e=t.rowActive.rowActiveIndex;void 0!==e&&e>n.length&&t.rowActive.setRowActiveIndex(0)},[n.length])}function Ps(e,t){const n=e.getState().columnFilters;Ds(()=>{e.options.enableColumnFilters&&"function"==typeof t&&(t(n),e.options.enableRowSelection&&e.resetRowSelection())},[e.options.enableColumnFilters,n])}function Bs(e){const t=e.options.meta,l=n.useRef(t.fontSize.size);Ds(()=>{const n=function(e){switch(e){case`${exports.FontSizes.small}-${exports.FontSizes.medium}`:case`${exports.FontSizes.medium}-${exports.FontSizes.large}`:return 8;case`${exports.FontSizes.medium}-${exports.FontSizes.small}`:case`${exports.FontSizes.large}-${exports.FontSizes.medium}`:return-8;case`${exports.FontSizes.small}-${exports.FontSizes.large}`:return 16;case`${exports.FontSizes.large}-${exports.FontSizes.small}`:return-16;default:return 0}}(`${l.current}-${t.fontSize.size}`);e.setColumnSizing(e=>{const l=is(t.fontSize.size);return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,Math.max(l,t+n)]))}),l.current=t.fontSize.size},[t.fontSize.size])}function _s(e,t){const n=e.getState().rowSelection;Ds(()=>{const n=e.getSelectedRowModel().rows;var l,a;e.options.enableRowSelection&&"function"==typeof t&&t(e.options.enableMultiRowSelection?n.map(e=>e.original):null!==(l=[null===(a=n[0])||void 0===a?void 0:a.original])&&void 0!==l?l:[])},[e.options.enableRowSelection,e.options.enableMultiRowSelection,JSON.stringify(n)])}function Gs(e){const t=e.options.meta,n=e.getState();return{columnOrder:t.columnOrdering.isEnabled?n.columnOrder:void 0,columnPinning:n.columnPinning,columnSizing:n.columnSizing,columnVisibility:e.options.enableHiding?n.columnVisibility:void 0,excludeUnmatchedRecordsInSearch:t.search.excludeUnmatchedResults,fontSize:t.fontSize.isEnabled?t.fontSize.size:void 0,grouping:e.options.enableGrouping?n.grouping:void 0,rowHeight:t.rowHeight.isEnabled?t.rowHeight.height:void 0,showWarningWhenPrintingLargeDataset:t.printing.isWarningVisibleForLargeDatasets,sorting:n.sorting}}function qs(e,t){const l=e.options.meta,a=e.getRowModel().rows;n.useEffect(()=>{const e=Object.keys(null!=t?t:{}),n=[];if(t&&e.length&&void 0!==l.rowActive.rowActiveIndex){const r=a[l.rowActive.rowActiveIndex];e.forEach(e=>{const l=t[e];let a,o;"function"==typeof l?(a=l,o={key:e}):(a=l.handler,o={key:e,meta:l.meta,shift:l.shift}),n.push(Xa(o,e=>{e.preventDefault(),a(null==r?void 0:r.original)}))})}return n.forEach(e=>{document.addEventListener("keydown",e)}),()=>{n.forEach(e=>{document.removeEventListener("keydown",e)})}},[t,l.rowActive.rowActiveIndex,a.length])}function $s(e,t){const n=e.getState().sorting;Ds(()=>{e.options.enableSorting&&"function"==typeof t&&(t(n),e.options.enableRowSelection&&e.resetRowSelection())},[e.options.enableSorting,n])}function Ks(e,t){const l=e.getState().sorting,a=e.getState().columnFilters,r=e.getState().globalFilter;n.useEffect(()=>{t&&t(0,l,a,r)},[])}const Us=n.createContext({isHovered:!1,setIsHovered:()=>{},rowIndex:-1});function Ws(){return null}function Js(e){const{actions:t,actionsLength:a,data:r,fontSize:o,isActiveRow:i}=e,{texts:s}=mr(),c=t.map(e=>e(r)).filter(e=>!!e),u=c.length===a?c:c.slice(0,a-1),d=c.slice(c.length===a?a:a-1),m=l("-mb-2 flex justify-end text-right bg-[inherit] shadow-[-6px_0px_6px_var(--table-row-actions-shadow)] print:hidden",{"-mt-2":o===exports.FontSizes.small,"-mt-1.5":o!==exports.FontSizes.small});return n.createElement("span",{className:m},u.map((e,t)=>{var l,a;const r=String(null!==(l=null!==(a=e.props.tooltip)&&void 0!==a?a:e.props["aria-label"])&&void 0!==l?l:"");return n.cloneElement(e,{appearance:"transparent",key:t,tabIndex:i?0:-1,tooltip:e.props.shortcut?n.createElement(n.Fragment,null,r,n.createElement(vi,{className:"ml-2",keys:e.props.shortcut})):r})}),d.length?n.createElement(ir,{appearance:"transparent","aria-label":s.table3.columns.actions.tooltip,icon:"more",tabIndex:i?0:-1,menu:e=>n.createElement(ki,Object.assign({},e),n.createElement(ki.Content,null,d.map((e,t)=>n.createElement(ki.Item,Object.assign({key:t},e.props,{shortcut:e.props.shortcut}),e.props["aria-label"]))))}):null)}const Ys=n.memo((function(e){const{row:t,table:l}=e,{rowIndex:a}=n.useContext(Us),r=l.options.meta,o=r.rowActions.rowActions,i=r.rowActions.rowActionsLength,s=r.rowActive.rowActiveIndex===a,c=!!l.getState().columnSizingInfo.isResizingColumn,u=r.rowActive.isHoverStatePaused,{isHovered:d}=n.useContext(Us);return null!=o&&o.length&&(s||d&&!u&&!c)?n.createElement(Js,{actions:o,actionsLength:i,data:t.original,fontSize:r.fontSize.size,isActiveRow:s}):null}));function Qs(e){const{texts:t}=mr(),{table:l}=e,a=l.getIsSomeRowsExpanded(),r=a?t.table3.columns.expansion.collapseAll:t.table3.columns.expansion.expandAll;return n.createElement(nr,{title:r},n.createElement(ir,{appearance:"transparent",icon:a?"chevron-down-double":"chevron-right-double",onClick:e=>{e.stopPropagation(),l.toggleAllRowsExpanded(!a)},tabIndex:-1,title:r}))}function Xs(e){var t,l;const{texts:a}=mr(),r=e.table.options.meta;if(null===(t=(l=r.rowExpansion).rowExpansionRenderer)||void 0===t?void 0:t.call(l,e.row.original)){const t=r.rowActive.rowActiveIndex===e.row.index,l=e.row.getIsExpanded(),o=l?a.table3.columns.expansion.collapse:a.table3.columns.expansion.expand;return n.createElement(nr,{title:o},n.createElement(ir,{appearance:"discrete",icon:l?"chevron-down":"chevron-right",onClick:t=>{t.stopPropagation(),e.row.toggleExpanded()},tabIndex:t?0:-1,title:o}))}return null}function Zs(e){const{texts:t}=mr(),{table:l}=e,a=l.options.meta;if(l.options.enableMultiRowSelection){const e=l.getIsAllRowsSelected(),r=l.getIsSomeRowsSelected(),o=e?t.table3.columns.select.deselectAll:t.table3.columns.select.selectAll,i=function(e){try{function t(){l.toggleAllRowsSelected(e)}const n=function(){if(a.server.loadAllIfNeeded)return Promise.resolve(a.server.loadAllIfNeeded(l.getState().sorting,l.getState().columnFilters,void 0)).then((function(){}))}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}};return n.createElement(nr,{title:o},n.createElement(Cr,{"aria-label":o,className:"hover:border-blue !-mt-px",key:String(`${e}_${r}`),checked:e,indeterminate:r,onChange:i}))}return null}function ec(e){var t;const{texts:a}=mr(),{row:r,table:o}=e,i=o.options.meta;if(o.options.enableGrouping&&null!==(t=o.getState().grouping)&&void 0!==t&&t.length&&!r.getIsGrouped())return null;const s=r.getIsGrouped()?r.getIsAllSubRowsSelected():r.getIsSelected(),c=s?a.table3.columns.select.deselect:a.table3.columns.select.select;if(o.options.enableMultiRowSelection){const e=e=>{if(e.stopPropagation(),r.getIsGrouped())r.subRows.forEach(e=>e.toggleSelected());else if(e.shiftKey){var t;const[e,a]=(n=null!==(t=i.rowSelection.lastSelectedRowIndex.current)&&void 0!==t?t:0,[(l=r.index)<n?l:n,l>n?l:n]);o.getRowModel().rows.slice(e,a+1).forEach(e=>e.toggleSelected(!0))}else r.toggleSelected();var n,l;i.rowSelection.lastSelectedRowIndex.current=r.index};return n.createElement(nr,{title:n.createElement(n.Fragment,null,c,n.createElement(vi,{className:"ml-2",keys:"Space"}))},n.createElement(Cr,{"aria-label":c,className:"!mt-0",checked:s,onClick:e,onChange:()=>!1}))}{const e=l("!mt-0",zi());return n.createElement("button",{className:e,"aria-checked":s,onClick:e=>{e.stopPropagation(),r.toggleSelected(),i.rowSelection.lastSelectedRowIndex.current=r.index},role:"radio",type:"button"},s?n.createElement("span",{className:"h-2 w-2 rounded-full bg-white"}):null)}}const tc={asc:n.createElement(za,{name:"chevron-up-solid",className:"pointer-events-none -my-0.5"}),desc:n.createElement(za,{name:"chevron-down-solid",className:"pointer-events-none -my-0.5"})};function nc(e){var t;return null!==(t=tc[e.direction])&&void 0!==t?t:null}const lc={asc:"ascending",desc:"descending"};function ac(e){const{headerRef:t,id:a,isResizing:r,onResize:o,setColumnSizing:i,width:s}=e,{texts:c}=mr(),u=e=>{!Number.isInteger(s)&&t?(i(e=>({...e,[a]:t.getBoundingClientRect().width})),setTimeout(()=>{null==o||o(e)},1)):null==o||o(e)},d=n.createElement("div",{className:l("invisible absolute right-0 top-0 z-10 -mr-2 flex h-full w-4 cursor-col-resize touch-none select-none justify-center rounded py-0.5","group-hover/header:visible","[th:last-child>&]:!mr-0 [th:last-child>&]:w-2",{"!visible":r}),onClick:e=>{e.stopPropagation(),e.preventDefault()},onMouseDown:u,onTouchStart:u},n.createElement("div",{className:l("h-full w-1 rounded",{"!bg-blue-500":r,"bg-grey-500 hover:bg-grey-700":!r})}));return r?d:n.createElement(nr,{placement:"top",title:c.table3.columns.resize.tooltip},d)}const rc=t.forwardRef((function({onSearch:e,...n},l){const a=$a(l),{texts:r}=mr(),o=()=>{var t,n;null==e||e(null!==(t=null===(n=a.current)||void 0===n?void 0:n.value)&&void 0!==t?t:"")};return t.createElement(Mr,Object.assign({"aria-label":r.searchInput.placeholder,placeholder:r.searchInput.placeholder},n,{onKeyDown:t=>{var l;if(null===(l=n.onKeyDown)||void 0===l||l.call(n,t),!t.isDefaultPrevented())return"Enter"===t.key?(t.preventDefault(),void o()):void("Escape"!==t.key||null==e||e(""))},postfix:t.createElement(t.Fragment,null,n.disabled||n.readOnly||!n.value?null:t.createElement(ir,{"aria-hidden":!0,"aria-label":r.searchInput.clear,className:"group-peer-focus:visible group-peer-hover:visible !text-grey-700 invisible mr-0.5 !h-5 !min-h-[theme(spacing.4)] !w-5 !min-w-[theme(spacing.4)] text-xs hover:visible group-hover:visible",icon:"close",onClick:()=>{_r(a.current,"")},rounded:!0,tabIndex:-1,tooltip:r.searchInput.clear}),t.createElement(ir,{"aria-label":r.searchInput.button,icon:"search",className:"group-peer-focus:!border-transparent group-peer-focus:group-peer-active:!border-transparent -mr-2 !border-transparent !bg-transparent focus:!border-transparent",disabled:n.disabled||n.readOnly,onClick:o,tabIndex:-1,tooltip:r.searchInput.button})),ref:a,type:"search"}))}));function oc(e){const{onGoto:t,trigger:l,...a}=e,{texts:r}=mr();return n.createElement(ho,Object.assign({},a,{anchor:l}),n.createElement(ho.Content,null,n.createElement(rc,{"aria-label":r.table3.columns.menu.gotoRow,name:"query",onSearch:e=>t(e),onKeyDown:e=>e.stopPropagation(),placeholder:r.table3.columns.menu.gotoRow+"..."})))}function ic(e){const{canGoto:t,canHide:a,canPin:r,canSort:o,customMenu:i,index:s,onGoto:c,onHide:u,onPin:d,onSortToggle:m,setRowActiveIndex:g,sortDirection:f}=e,{texts:h}=mr(),[v,p]=n.useState(void 0);let w;if(v){const e=()=>p(void 0);switch(v){case"goto":if(c){const t=function(t){try{const n=Hs((function(){return Ls((function(){return Promise.resolve(c(t)).then((function(e){g(e)}))}),(function(e){console.error(e)}))}),(function(t,n){if(e(),t)throw n;return n}));return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};w=l=>n.createElement(oc,Object.assign({},l,{open:!0,onChange:e,onGoto:t}))}}}const b=n.useMemo(()=>{const e=[];if(a&&u&&e.push(n.createElement(ki.Item,{icon:"eye-off",onClick:e=>setTimeout(()=>u(e),1)},h.table3.columns.menu.hideColumn)),o&&e.push(n.createElement(ki.Item,{icon:"sort-by",subMenu:()=>n.createElement(ki.SubMenu,null,n.createElement(ki.RadioGroup,{onChange:m,value:f},n.createElement(ki.RadioGroup.Item,{value:"asc"},h.table3.columns.menu.sortingOrder.ascending),n.createElement(ki.RadioGroup.Item,{value:"desc"},h.table3.columns.menu.sortingOrder.descending),n.createElement(ki.RadioGroup.Item,{value:!1},h.table3.columns.menu.sortingOrder.unsorted)))},h.table3.columns.menu.sorting)),t&&e.push(n.createElement(ki.Item,{icon:"move",onClick:()=>p("goto"),shortcut:"g"},h.table3.columns.menu.gotoRow,"...")),r&&d&&(e.push(n.createElement(ki.Item,{icon:"column-freeze",onClick:()=>d(s)},0===s?h.table3.columns.menu.freezeFirstColumn:h.table3.columns.menu.freezeUptoColumn.replace("[TOTAL]",String(s+1)))),e.push(n.createElement(ki.Item,{icon:"column-unfreeze",onClick:()=>d(void 0)},h.table3.columns.menu.unfreezeColumns))),i){const t=i({trigger:void 0}),l=n.Children.toArray(t.props.children.props.children);l.length&&(e.length&&e.push(n.createElement(ki.Separator,null)),e.push(...l))}return e.map((e,t)=>n.cloneElement(e,{key:t}))},[t,a,r,o,i,c,m,s,f]),E=l("justify-end -mr-1 overflow-hidden","!h-6 !w-0 !min-h-[theme(spacing.6)] !min-w-0","group-hover/header:!w-6 group-hover/header:!min-w-[theme(spacing.6)]","aria-expanded:!w-6 aria-expanded:!min-w-[theme(spacing.6)]","focus:!w-6 focus:!min-w-[theme(spacing.6)]",{"!w-6 !min-w-[theme(spacing.6)]":!!w},e.className);return n.createElement(ir,{className:E,icon:"more",menu:w?void 0:e=>n.createElement(ki,Object.assign({},e),n.createElement(ki.Content,null,b)),popover:w,onClickCapture:e=>e.preventDefault()})}function sc(e){var t;if(e.column.getIsGrouped())return null;const{table:a}=e.getContext(),r=a.options.meta,o=null!==(t=e.column.columnDef.meta)&&void 0!==t?t:{},i=!!e.subHeaders.length,s=function(e){var t,n;return null!==(t=e.subHeaders)&&void 0!==t&&t.length?null===(n=e.subHeaders.find(e=>e.column.getIsPinned()))||void 0===n?void 0:n.column.getIsPinned():e.column.getIsPinned()}(e),c=!e.isPlaceholder&&!i&&e.column.getCanHide(),u=!!a.getRowModel().rows.length,d=!e.isPlaceholder&&!i&&e.column.getCanPin(),m=!e.isPlaceholder&&!i&&e.column.getCanResize(),g=!e.isPlaceholder&&!i&&e.column.getCanSort(),f=g&&!e.isPlaceholder&&!i&&r.rowGoto.isEnabled&&!!e.column.getIsSorted(),h=!os(e.id)&&(c||f||d||g||!!o.menu),v=a.getState().sorting,p=a.getState().columnFilters,w=a.getState().globalFilter,b={align:o.align,canHide:c,canGoto:f,canMeasureSize:u,canPin:d,canResize:m,canSort:g,className:l("group/header",o.headerClassName),children:R.flexRender(e.column.columnDef.header,e.getContext()),colSpan:e.colSpan,customMenu:o.menu,defaultWidth:o.defaultWidth,hasMenu:h,id:e.id,index:e.index,isGroup:i,isPinned:s,isPlaceholder:e.isPlaceholder,offset:e.column.getStart(s),setRowActiveIndex:r.rowActive.setRowActiveIndex,setColumnSizing:a.setColumnSizing,tooltip:o.tooltip,width:a.getState().columnSizing[e.id]};if(e.isPlaceholder){const t=e.headerGroup.headers[e.index+1];b.className=l("!bg-white before:!content-none",b.className,{"after:!content-none":null==t?void 0:t.isPlaceholder})}if(f&&(b.onGoto=t=>{var n,l;return null===(n=(l=r.rowGoto).handleGoto)||void 0===n?void 0:n.call(l,e.id,t,v,p,w)}),c&&(b.onHide=e.column.getToggleVisibilityHandler()),d&&(b.onPin=e=>{a.setColumnPinning(t=>({...t,left:void 0===e?us(t.left):ds(e,a.getAllLeafColumns().map(e=>e.id))}))}),m&&(b.isResizing=e.column.getIsResizing(),b.onResize=e.getResizeHandler()),g){const t=t=>{!1===t?e.column.clearSorting():e.column.toggleSorting("desc"===t)};b.onSort=e.column.getToggleSortingHandler(),b.onSortToggle=t,b.sortDirection=e.column.getIsSorted()}return n.createElement(cc,Object.assign({key:e.id},b))}const cc=n.memo((function(e){const{align:t,canGoto:a,canHide:r,canMeasureSize:o,canPin:i,canResize:s,canSort:c,children:u,className:d,colSpan:m,customMenu:g,defaultWidth:f,hasMenu:h,id:v,index:p,isGroup:w,isPinned:b,isPlaceholder:E,isResizing:x,offset:y,onGoto:z,onHide:R,onPin:C,onResize:S,onSort:N,onSortToggle:O,setRowActiveIndex:A,setColumnSizing:I,sortDirection:L,tooltip:H,width:M}=e,[k,V]=n.useState(null);!function(e,t,l,a,r,o){n.useEffect(()=>{r&&a&&!Number.isInteger(l)&&!os(e)&&"grow"!==t&&o(t=>({...t,[e]:a.getBoundingClientRect().width}))},[a,r,l])}(v,f,M,k,o,I);const j={};return m>1&&(j.gridColumn="span "+m),b&&(j[b]=y+"px"),n.createElement("th",Object.assign({},function(e,t,n){var l;return e?{"aria-sort":null!==(l=lc[n])&&void 0!==l?l:"none",onClick:e=>{!e.isDefaultPrevented()&&e.currentTarget.contains(e.target)&&(e.preventDefault(),null==t||t(e))}}:{}}(c,N,L),{className:d,"data-cell-align":w?"center":t,"data-cell-id":v,"data-cell-pinned":b||void 0,style:j,ref:V}),E?null:os(v)?u:n.createElement(nr,{title:String(null!=H?H:u),placement:"top"},n.createElement("span",{className:"truncate"},u)),L?n.createElement(nc,{direction:L}):null,h?n.createElement(ic,{canGoto:a,canHide:r,canPin:i,canSort:c,className:l({"ml-auto":"right"!==t,"ml-0":"right"===t}),customMenu:g,index:p,onGoto:z,onHide:R,onPin:C,onSortToggle:O,setRowActiveIndex:A,sortDirection:L}):null,s?n.createElement(ac,{headerRef:k,id:v,isResizing:x,onResize:S,setColumnSizing:I,width:M}):null)})),uc={accept:e=>!!e.closest('tr[data-row-active="true"]'),tabbable:!0};function dc(e){const{enableArrowKeyFocusing:t=!1,length:l,table:a,...r}=e,o=n.useRef(null),i=function(){const e=v.useFocusManager();return{focusPrevious:()=>e.focusPrevious(uc),focusNext:()=>e.focusNext(uc),focusFirst:()=>e.focusFirst(uc),focusLast:()=>e.focusLast(uc)}}(),s=a.options.meta,c=n.useRef(0);return n.createElement("tbody",Object.assign({},r,{onKeyDown:e=>{if(!e.isDefaultPrevented()&&!e.isPropagationStopped()&&void 0!==s.rowActive.rowActiveIndex){const n=0===s.rowActive.rowActiveIndex,a=s.rowActive.rowActiveIndex===l-1;if("Tab"===e.key||t&&("ArrowLeft"===e.key||"ArrowRight"===e.key)){if(s.rowActive.setHoverStatePaused(!0),e.shiftKey||"ArrowLeft"===e.key?i.focusPrevious():i.focusNext())return e.preventDefault(),void(c.current=c.current+1);e.shiftKey||"ArrowLeft"===e.key?n||0===c.current||(e.preventDefault(),s.rowActive.setRowActiveIndex(s.rowActive.rowActiveIndex-1),c.current=0,requestAnimationFrame(()=>i.focusLast())):a||0===c.current||(e.preventDefault(),s.rowActive.setRowActiveIndex(s.rowActive.rowActiveIndex+1),c.current=0,requestAnimationFrame(()=>i.focusFirst()))}}},ref:o}))}function mc(e){return n.createElement(gc,{key:e.id,footer:e})}const gc=n.memo((function(e){var t,l;const{footer:a}=e,r=a.column.columnDef.meta,o=null!==(t=a.subHeaders)&&void 0!==t&&t.length?null===(l=a.subHeaders.find(e=>e.column.getIsPinned()))||void 0===l?void 0:l.column.getIsPinned():a.column.getIsPinned(),i={};return o&&(i[o]=a.column.getStart(o)-1+"px"),n.createElement("td",{key:a.id,"data-cell-align":r.align,"data-cell-id":a.id,"data-cell-pinned":o||void 0,style:i},a.isPlaceholder?null:R.flexRender(a.column.columnDef.footer,a.getContext()))}));function fc(e){var t;const{length:l,table:a}=e,{locale:r,texts:o}=mr(),i=a.getRowModel().rows.length;let s,c;const u=a.getIsAllRowsSelected()?l:a.getSelectedRowModel().rows.length;return u>0?(s=o.table3.footer.summary.selected,c=n.createElement(n.Fragment,null,n.createElement("strong",null,new Intl.NumberFormat(r).format(u))," ",o.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(r).format(l)))):null!==(t=a.getState().columnFilters)&&void 0!==t&&t.length||a.getState().globalFilter&&a.options.enableGlobalFilter?(s=o.table3.footer.summary.records,c=n.createElement(n.Fragment,null,n.createElement("strong",null,i)," ",o.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(r).format(l)))):(s=o.table3.footer.summary.records,c=n.createElement("strong",null,new Intl.NumberFormat(r).format(l))),n.createElement("div",{className:"border-grey-300 sticky z-20 -mt-[2.63rem] ml-px flex h-10 w-fit items-center whitespace-nowrap rounded-bl border-t-2 bg-white px-4 !pr-3","data-taco":"table2-footer-summary"},s," ",c)}const hc=n.forwardRef((function(e,t){var a,r;const{findCurrent:o,findTotal:i,loading:s=!1,onChange:c,onClear:u,onClickFindNext:d,onClickFindPrevious:m,settingsContent:g,shortcut:f,value:h,...v}=e,p=$a(t),w=n.useRef(null),[b,E]=n.useState(!1),{texts:x}=mr(),y=null==h?void 0:h.length,z=d&&m&&void 0!==o&&void 0!==i;er(f,e=>{var t;document.activeElement!==p.current&&(e.preventDefault(),null===(t=p.current)||void 0===t||t.focus())});const R=e=>{var t,n;w.current&&(w.current===e.relatedTarget||null!==(t=w.current)&&void 0!==t&&t.contains(e.relatedTarget))||(E(!1),null===(n=v.onBlur)||void 0===n||n.call(v,e))},C=()=>{requestAnimationFrame(()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.blur()}),c(""),null==u||u()};let S;v.disabled||v.readOnly||!h&&!b?!f||b||h||(S=n.createElement(vi,{keys:f,onClickCapture:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.focus()}})):(h&&(S=n.createElement(ir,{"aria-label":x.searchInput.clear,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"close",onMouseDown:C,tabIndex:-1,tooltip:b?n.createElement(n.Fragment,null,x.searchInput.clear," ",n.createElement(vi,{keys:"Escape"})):x.searchInput.clear})),z&&y&&(S=n.createElement(n.Fragment,null,n.createElement("span",{className:"text-grey-700 flex h-4 items-center border-r border-black/[0.25] pr-2"},s?n.createElement(jr,{className:"h-4 w-4"}):`${null!=o?o:0}/${null!=i?i:0}`),o?n.createElement(n.Fragment,null,n.createElement(ir,{"aria-label":x.searchInput.findPrevious,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"chevron-up",onMouseDown:m,tabIndex:-1,tooltip:b?n.createElement(n.Fragment,null,x.searchInput.findPrevious," ",n.createElement(vi,{keys:{shift:!0,key:"Enter"}})):x.searchInput.findPrevious}),n.createElement(ir,{"aria-label":x.searchInput.findNext,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"chevron-down",onMouseDown:d,tabIndex:-1,tooltip:b?n.createElement(n.Fragment,null,x.searchInput.findNext," ",n.createElement(vi,{keys:"Enter"})):x.searchInput.findNext})):null,S)));const N=l("!pl-7 group-focus-within:!w-72 group-focus-within:yt-focus",z?{"!w-48":!h,"!w-72":h}:"!w-48",{"!wcag-blue-100":y},e.className),O=n.createElement(Mr,Object.assign({},v,{"aria-label":null!==(a=v["aria-label"])&&void 0!==a?a:x.searchInput.placeholder,className:N,"data-taco":"search-input2",onBlur:R,onChange:e=>c(e.target.value),onFocus:e=>{var t;E(!0),null===(t=v.onFocus)||void 0===t||t.call(v,e)},onKeyDown:t=>{var n;if(null===(n=e.onKeyDown)||void 0===n||n.call(e,t),!t.isDefaultPrevented())return"Enter"===t.key?(t.preventDefault(),void(z&&y&&(t.shiftKey?null==m||m():null==d||d()))):void("Escape"!==t.key||C())},placeholder:null!==(r=v.placeholder)&&void 0!==r?r:x.searchInput.placeholder,prefix:n.createElement(za,{"aria-label":x.searchInput.button,className:"-ml-0.5 scale-95",name:"search",onClickCapture:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.focus()}}),postfix:S,ref:p,value:null!=h?h:""}));if(g){const e=l("border-grey-300 absolute left-0 right-0 -mt-0.5 hidden top-full group-focus-within:flex focus-within:flex flex-col gap-y-4 rounded-b border border-t-0 bg-white p-3 shadow !pt-[calc(theme(spacing.3)_+_theme(spacing[0.5]))]");return n.createElement("div",{className:l("group relative",{"z-10 [&_[data-taco=input-container]]:z-10":b}),ref:w,style:{opacity:.999}},O,n.createElement("div",{onBlur:R,className:e,onClickCapture:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.focus()},tabIndex:-1},g))}return O})),vc=t.forwardRef((function(e,n){const{label:a,onChange:r,...o}=e,i=Rr(e.id),s=l("group h-5 w-9 flex flex-shrink-0 rounded-full inline-flex focus-visible:yt-focus",{"mr-2":!!a,"bg-grey-500 hover:bg-grey-700 aria-checked:bg-blue-500 aria-checked:hover:bg-blue-700":!e.disabled,"bg-grey-500/50 aria-checked:bg-blue-500/50 cursor-not-allowed":e.disabled},e.className);let c=null;a&&(c={"aria-labelledby":i+"-label",id:i});const u=t.createElement(y.Root,Object.assign({},o,c,{className:s,"data-taco":"switch",onCheckedChange:r,ref:n}),t.createElement(y.Thumb,{className:"'will-change-transform mt-0.5 h-4 w-4 translate-x-[0.15rem] rounded-full bg-white transition-transform group-disabled:opacity-50 group-aria-checked:translate-x-[1.1rem]"}));if(a){const n=l("flex self-start cursor-pointer",{"cursor-not-allowed text-grey-300":e.disabled});return t.createElement("span",{className:n,"data-taco":"switch-container"},u,t.createElement("label",{htmlFor:i,id:i+"-label"},a))}return u}));function pc(e){var t,l;const{scrollToIndex:a,table:r}=e,{texts:o}=mr(),i=n.useRef(null),s=r.options.meta,c=r.getState().globalFilter,u=e=>a(e,{align:"center"});n.useEffect(()=>{s.search.highlightedColumnIndexes.length&&u(s.search.highlightedColumnIndexes[0][0])},[s.search.highlightedColumnIndexes.length]);const d=n.createElement(vc,{label:o.table3.search.excludeUnmatchedResults,checked:!!r.options.enableGlobalFilter,onChange:e=>{s.search.setEnableGlobalFilter(e,r),requestAnimationFrame(()=>{var e;return null===(e=i.current)||void 0===e?void 0:e.focus()})}});return n.createElement(n.Fragment,null,n.createElement(hc,{findCurrent:void 0!==s.search.currentHighlightColumnIndex?s.search.currentHighlightColumnIndex+1:null,findTotal:null!==(t=null===(l=s.search.highlightedColumnIndexes)||void 0===l?void 0:l.length)&&void 0!==t?t:null,loading:s.server.loadAllStatus===gs.Loading,onClickFindPrevious:()=>{if(!s.search.highlightedColumnIndexes.length)return;const e=void 0===s.search.currentHighlightColumnIndex?0:0===s.search.currentHighlightColumnIndex?s.search.highlightedColumnIndexes.length-1:s.search.currentHighlightColumnIndex-1;s.search.setCurrentHighlightColumnIndex(e),u(s.search.highlightedColumnIndexes[e][0])},onClickFindNext:()=>{if(!s.search.highlightedColumnIndexes.length)return;const e=void 0===s.search.currentHighlightColumnIndex||s.search.currentHighlightColumnIndex===s.search.highlightedColumnIndexes.length-1?0:s.search.currentHighlightColumnIndex+1;s.search.setCurrentHighlightColumnIndex(e),u(s.search.highlightedColumnIndexes[e][0])},onChange:e=>{r.setGlobalFilter(String(null!=e?e:""))},onFocus:function(){try{const e=function(){if(s.server.loadAllIfNeeded)return Promise.resolve(s.server.loadAllIfNeeded(r.getState().sorting,r.getState().columnFilters,void 0)).then((function(){}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},placeholder:o.table3.search.placeholder,settingsContent:d,ref:i,shortcut:{key:"f",meta:!0,shift:!1},value:c}))}function wc(e,t){var l;const a=n.Children.toArray(e).filter(e=>"SortableList"===e.type.displayName),r=a.find(e=>e.props.id===t);return r?null==r?void 0:r.props:null===(l=a.find(e=>n.Children.toArray(e.props.children).findIndex(e=>e.props.id===t)>-1))||void 0===l?void 0:l.props}function bc(e){const{children:t,reorder:l,move:a}=e;return n.createElement(C.DndContext,Object.assign({collisionDetection:C.closestCenter},e,{onDragOver:function(e){const{active:n,over:l}=e;if(null==n||!n.id||null==l||!l.id)return;const r=wc(t,n.id),o=wc(t,l.id);null!=r&&r.id&&null!=o&&o.id&&r.id!==o.id&&a(n.id,null==r?void 0:r.id,o.id)},onDragEnd:function(e){const{active:n,over:a}=e;if(null==n||!n.id||null==a||!a.id)return;const r=wc(t,n.id),o=wc(t,a.id);null!=r&&r.id&&null!=o&&o.id&&r.id===o.id&&l(n.id,a.id,o.id)}}),t)}function Ec(e){const{asChild:t,children:l,disabled:a=!1,id:r}=e,{attributes:o,listeners:i,setNodeRef:s,transform:c,transition:u}=S.useSortable({disabled:a,id:r}),d={transform:N.CSS.Transform.toString(c),transition:u},m={...o,...i,onPointerDown:e=>{e.currentTarget.contains(e.target)&&!["BUTTON","INPUT","TEXTAREA","SELECT","FIELDSET"].includes(e.target.nodeName)&&(null==i||i.onPointerDown(e))},ref:s,style:d};return t?n.cloneElement(l,m):n.createElement("div",Object.assign({},m),l)}function xc(e){const{children:t,id:l,...a}=e,{setNodeRef:r}=C.useDroppable({id:l}),o=n.Children.toArray(t).map(e=>e.props);return n.createElement(S.SortableContext,{id:l,items:o,strategy:S.verticalListSortingStrategy},n.createElement("div",Object.assign({},a,{ref:l?r:void 0}),t))}vc.displayName="Switch",bc.displayName="SortableContainer",Ec.displayName="SortableListItem",xc.displayName="SortableList";const yc=n.forwardRef((function(e,t){var a,r,o;const{column:i,draggable:s=!1,...c}=e,u=i.getCanHide(),d=l("group/column flex items-center gap-x-2 rounded py-1 px-2",{"hover:bg-grey-200":u||s,"hover:cursor-pointer":u,"active:cursor-move active:bg-grey-300":s}),m=s?c:void 0,g=i.getIsVisible(),f=null===(a=i.parent)||void 0===a||null===(r=a.columnDef)||void 0===r?void 0:r.header;return n.createElement("div",Object.assign({},m,{className:d,onClick:()=>i.toggleVisibility(!g),ref:t}),s?n.createElement(za,{name:"drag",className:"text-grey-500 group-hover/column:text-grey-700 -mx-2 !h-5"}):null,n.createElement("span",{className:"flex-grow truncate"},null===(o=i.columnDef.meta)||void 0===o?void 0:o.header,f?n.createElement("span",{className:"italic"},"(",f,")"):null),u?n.createElement(Cr,{checked:g,onChange:()=>i.toggleVisibility(!g)}):null)}));function zc(e){const{table:t,trigger:l,...a}=e,{texts:r}=mr(),[o,i]=n.useState(""),s=t.getAllLeafColumns(),c=t.options.meta,u=n.useMemo(()=>s.filter(e=>!os(e.id)).filter(e=>{var t,n,l;return null==o||!o.length||(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header.toLowerCase().includes(o.toLowerCase()))||(null===(n=e.parent)||void 0===n||null===(l=n.columnDef.meta)||void 0===l?void 0:l.header.toLowerCase().includes(o.toLowerCase()))}),[s,o]),d="flex max-h-64 flex-col gap-y-px overflow-auto";return n.createElement(ho,Object.assign({},a,{anchor:l}),n.createElement(ho.Content,null,n.createElement("div",{className:"flex max-w-sm flex-col gap-2"},t.options.enableHiding?n.createElement(Mr,{onChange:e=>i(e.target.value),placeholder:r.table3.columnSettings.search,value:o}):null,!c.columnOrdering.isEnabled||!u.length||null!=o&&o.length?n.createElement("div",{className:d},u.length?u.map(e=>n.createElement(yc,{column:e,key:e.id})):r.table3.columnSettings.noResults):n.createElement(bc,{reorder:(e,n)=>{u.find(e=>{var t;return e.id===n&&!1===(null===(t=e.columnDef.meta)||void 0===t?void 0:t.enableOrdering)})||t.setColumnOrder((t=[])=>cs(s,S.arrayMove(t,t.findIndex(t=>t===e),t.findIndex(e=>e===n))))}},n.createElement(xc,{id:"columns",className:d},u.filter(e=>!e.getIsGrouped()).map(e=>{var t,l;return n.createElement(Ec,{key:e.id,id:e.id,disabled:!(null!==(t=e.columnDef.meta)&&void 0!==t&&t.enableOrdering),asChild:!0},n.createElement(yc,{column:e,draggable:null===(l=e.columnDef.meta)||void 0===l?void 0:l.enableOrdering}))}))))))}function Rc(e){const{customSettings:t,table:l}=e,{texts:a}=mr(),r=l.options.meta,o=l.options.enableHiding||r.columnOrdering.isEnabled,i=r.fontSize.isEnabled,s=r.rowHeight.isEnabled,[c,u]=n.useState(void 0);let d;if(c){const e=()=>u(void 0);switch(c){case"columnSettings":o&&(d=t=>n.createElement(zc,Object.assign({},t,{open:!0,onChange:e,table:l})))}}return n.createElement(ir,{"aria-label":a.table3.otherOptions.tooltip,icon:"sliders",menu:d?void 0:e=>n.createElement(ki,Object.assign({},e),n.createElement(ki.Content,{align:"end"},o?n.createElement(ki.Item,{icon:"columns",onClick:()=>u("columnSettings")},a.table3.columnSettings.button):null,o&&(s||i||t)?n.createElement(ki.Separator,null):null,s?n.createElement(ki.Item,{icon:"height-"+r.rowHeight.height,subMenu:()=>n.createElement(Sc,{tableMeta:r})},a.table3.rowHeight.tooltip):null,i?n.createElement(ki.Item,{icon:"font-size",subMenu:()=>n.createElement(Cc,{tableMeta:r})},a.table3.fontSize.tooltip):null,t?n.createElement(n.Fragment,null,s||i?n.createElement(ki.Separator,null):null,t(Gs(l)).map((e,t)=>n.createElement(n.Fragment,{key:t},e))):null)),popover:d,onClickCapture:e=>e.preventDefault(),tooltip:a.table3.otherOptions.tooltip})}function Cc({tableMeta:e}){const{texts:t}=mr();return n.createElement(ki.SubMenu,null,n.createElement(ki.RadioGroup,{onChange:e.fontSize.setSize,value:e.fontSize.size},n.createElement(ki.RadioGroup.Item,{value:exports.FontSizes.small},t.table3.fontSize.sizes.small),n.createElement(ki.RadioGroup.Item,{value:exports.FontSizes.medium},t.table3.fontSize.sizes.medium),n.createElement(ki.RadioGroup.Item,{disabled:"short"===e.rowHeight.height,value:exports.FontSizes.large},t.table3.fontSize.sizes.large)))}function Sc({tableMeta:e}){const{texts:t}=mr();return n.createElement(ki.SubMenu,null,n.createElement(ki.RadioGroup,{onChange:e.rowHeight.setHeight,value:e.rowHeight.height},n.createElement(ki.RadioGroup.Item,{value:"short"},t.table3.rowHeight.sizes.short),n.createElement(ki.RadioGroup.Item,{value:"medium"},t.table3.rowHeight.sizes.medium),n.createElement(ki.RadioGroup.Item,{value:"tall"},t.table3.rowHeight.sizes.tall),n.createElement(ki.RadioGroup.Item,{value:"extra-tall"},t.table3.rowHeight.sizes.extraTall)))}const Nc=e=>"Enter"===e.key||" "===e.key||"Tab"===e.key,Oc=e=>"ArrowUp"===e.key||"ArrowDown"===e.key||"Home"===e.key||"End"===e.key,Ac=(e,t)=>e.querySelectorAll(t),Ic=n.forwardRef((function(e,t){const{querySelector:l,tabIndex:a=0,...r}=e,o=$a(t),[i,s]=n.useState(),c=n.useRef(0),u=(e,t,n)=>{var l;null===(l=t.querySelector("[aria-current]"))||void 0===l||l.removeAttribute("aria-current"),n.setAttribute("aria-current","true"),n.scrollIntoView({block:"nearest"}),s(e)},d=n.useCallback(e=>{if(o.current&&e.matches(l)){const t=Ac(o.current,l),n=Array.from(t).indexOf(e);n>-1&&u(n,o.current,e)}},[o.current,l]);return n.useEffect(()=>{o.current&&(o.current.setActiveIndex=d)},[o.current]),n.useEffect(()=>{if(o.current){const e=Ac(o.current,l);if(e.length&&e.length!==c.current){let t=o.current.querySelectorAll('[aria-current="true"]');if(0===t.length&&(t=o.current.querySelectorAll("[aria-selected]")),1===t.length){if(e){const n=t.item(0),l=Array.from(e).indexOf(n);l>-1&&u(l,o.current,n)}}else u(0,o.current,e.item(0))}c.current=e.length}},[e.children]),n.createElement("div",Object.assign({},r,{onClick:e=>{const t=e.target;if(t.matches(l)){const n=Ac(e.currentTarget,l),a=Array.from(n).indexOf(t);a>-1&&u(a,e.currentTarget,t)}},onKeyDown:e=>{if(e.target!==e.currentTarget)return;if(r.onKeyDown&&r.onKeyDown(e),e.isDefaultPrevented())return;const t=Ac(e.currentTarget,l);if(t)if(Oc(e)){e.preventDefault(),e.stopPropagation();const n=Lc(e,t,i);void 0!==n&&n!==i&&u(n,e.currentTarget,t.item(n))}else if(void 0!==i&&t.item(i)){var n;null===(n=t.item(i))||void 0===n||n.dispatchEvent(Br(e))}},ref:o,tabIndex:a}))})),Lc=(e,t,n,l=!0)=>{const a=((e,t,n)=>{switch(e.key){case"ArrowUp":return void 0===n?t-1:n>0?n-1:n;case"ArrowDown":return void 0===n?0:n<t-1?n+1:n;case"Home":return 0;case"End":return t-1;default:return}})(e,t.length,n);if(void 0!==a){if(a===n)return n;if(t.item(a)&&Hc(t.item(a))){if(l){if(0===a)return Lc(new KeyboardEvent(e.type,{...e,key:"ArrowDown"}),t,a,!1);if(a===t.length-1)return Lc(new KeyboardEvent(e.type,{...e,key:"ArrowUp"}),t,a,!1)}return Lc(e,t,a,l)}}return a},Hc=e=>"presentation"===e.getAttribute("role")||!!e.hasAttribute("disabled")||!!e.getAttribute("aria-disabled")||!!e.getAttribute("aria-hidden");var Mc={__proto__:null,Root:Ic};const kc=n.createContext({}),Vc=n.forwardRef((function(e,t){const{children:l,customSelector:a,disabled:r=!1,id:o,multiple:i,readOnly:s=!1,setValue:c,value:u,...d}=e,m="listbox2-"+Rr(o),g=n.useMemo(()=>({disabled:r,readOnly:s,setValue:c,value:u}),[r,s,u]);return n.createElement(kc.Provider,{value:g},n.createElement("div",{"data-taco":"listbox2"},n.createElement(Ic,Object.assign({},d,{"aria-multiselectable":!!i||void 0,id:m,querySelector:a?'[role="option"], '+a:'[role="option"]',ref:t,role:"listbox"}),l)))})),jc=n.forwardRef((function(e,t){const{disabled:l,id:a,value:r,...o}=e,{disabled:i,readOnly:s,setValue:c,value:u}=n.useContext(kc),d="option-"+Rr(a),m=Array.isArray(u)?u.includes(r):u===r;return n.createElement("div",Object.assign({},o,{"aria-disabled":i||l?"true":void 0,"aria-selected":m?"true":void 0,id:d,onClick:t=>{l||i||s?t.stopPropagation():(c(r),"function"==typeof e.onClick&&e.onClick(t))},onKeyDown:t=>{l||i||s?t.stopPropagation():"Tab"===t.key&&m||(Nc(t)&&c(r),"function"==typeof e.onKeyDown&&e.onKeyDown(t))},ref:t,role:"option"}))})),Tc=n.forwardRef((function(e,t){const[l,a]=n.useState();return n.createElement(Dc.Provider,{value:{setLabelledById:a}},n.createElement("div",Object.assign({},e,{"aria-labelledby":l,ref:t,role:"group"})))})),Dc=n.createContext({}),Fc=n.forwardRef((function(e,t){const{id:l,...a}=e,{setLabelledById:r}=n.useContext(Dc),o=Rr(l);return n.useEffect(()=>{r(o)},[o]),n.createElement("div",Object.assign({},a,{id:o,ref:t,role:"presentation"}))})),Pc=n.forwardRef((e,t)=>{const{children:a,color:r,disabled:o,icon:i,readOnly:s,onDelete:c,...u}=e,d=n.useRef(null),m=l("inline-flex items-center rounded h-6 cursor-default",{"opacity-50":o,"hover:bg-opacity-75":!o,"cursor-pointer":!!u.onClick,"pointer-events-none":o||s},U(r),e.className);return n.createElement("span",Object.assign({},u,{className:m,ref:t,"data-taco":"tag"}),n.createElement("span",{className:"truncate px-2",ref:d},i?"string"==typeof i?n.createElement(za,{name:i,className:"-ml-1 -mt-0.5 mr-1 !h-5 !w-5"}):n.cloneElement(i,{className:"mr-1 -ml-1 -mt-0.5 !h-5 !w-5"}):null,a),c?n.createElement(za,{name:"close",onClick:c,className:"-ml-1.5 !h-6 !w-5 flex-shrink-0 cursor-pointer rounded-r p-0.5 hover:bg-black/5"}):null)}),Bc=(e=!1)=>l("group mb-px flex w-full text-sm flex-shrink-0 font-normal cursor-pointer items-center rounded bg-white px-2 leading-8 text-black aria-hidden:hidden gap-1.5 bg-white aria-current:wcag-grey-200 aria-disabled:text-black/25 aria-disabled:pointer-events-none",{"hover:wcag-grey-200":!e}),_c=n.createContext({}),Gc=()=>n.useContext(_c),qc=e=>{const{color:t,text:a,value:r,...o}=e,i=n.useRef(null),{onDelete:s,onEdit:c,searchRef:u,ref:d}=Gc(),{texts:m}=mr(),[g,f]=n.useState(a),[h,v]=n.useState(t),[p,w]=n.useState(),b=e=>{f(e.target.value),w(void 0)},E=e=>function(t){try{return t.stopPropagation(),"Escape"===t.key?e():"Enter"===t.key&&y(e)(t),Promise.resolve()}catch(e){return Promise.reject(e)}},x=e=>function(t){try{t.stopPropagation(),e();const n=function(){if(s)return Promise.resolve(s(r)).then((function(){}))}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},y=e=>function(n){try{const l=function(){if(!c||g===a&&h===t)e();else{const t=Ls((function(){return Promise.resolve(c(r,g,h)).then((function(){e()}))}),(function(e){var t;n.preventDefault(),n.stopPropagation(),w(e),null===(t=i.current)||void 0===t||t.focus()}));if(t&&t.then)return t.then((function(){}))}}();return Promise.resolve(l&&l.then?l.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},z=e=>{"Escape"===e.key||"Tab"===e.key||"Tab"===e.key&&e.shiftKey||e.stopPropagation()};return n.createElement(ho,Object.assign({},o),n.createElement(ho.Content,{onCloseAutoFocus:e=>{var n,l;e.preventDefault(),f(a),v(t),w(void 0),null!=u&&u.current?null===(n=u.current)||void 0===n||n.focus():null===(l=d.current)||void 0===l||l.focus()},onInteractOutside:()=>{f(a),v(t)},onClick:e=>e.stopPropagation(),onKeyDown:e=>{("Tab"===e.key||"Tab"===e.key&&e.shiftKey)&&e.stopPropagation()},placement:"right",tabIndex:-1,className:"focus:!shadow-none"},({close:e})=>n.createElement(n.Fragment,null,n.createElement("div",{className:"flex w-32 flex-col space-y-2"},c?n.createElement(n.Fragment,null,n.createElement(Zo,{className:l("!min-h-fit",{"!pb-0":!p}),invalid:!!p,message:null==p?void 0:p.message},n.createElement(Mr,{invalid:!!p,onChange:b,onKeyDown:E(e),ref:i,value:g})),t?n.createElement(n.Fragment,null,n.createElement("h5",null,"Colours"),n.createElement($c,{color:h,onChangeColor:v,onKeyDown:z})):null,n.createElement(Ao,null,n.createElement(hr,{onClick:e},m.select2.cancel),n.createElement(hr,{appearance:"primary",onClick:y(e)},m.select2.save))):null,c&&s?n.createElement("hr",null):null,s?n.createElement("button",{className:"hover:text-grey-700 flex items-center justify-start gap-1",onClick:x(e),onKeyDown:z},n.createElement(za,{className:"!h-5 !w-5",name:"delete-permanently"})," ",m.select2.delete):null))))},$c=e=>{const{color:t,onChangeColor:a,onClick:r,onKeyDown:o}=e,{texts:i}=mr();return n.createElement(x.Root,{"aria-label":i.select2.chooseColor,className:"grid grid-cols-4 gap-2 focus:outline-none",onClick:r,onKeyDown:o,onValueChange:e=>a(e),value:t},q.map(e=>n.createElement(x.Item,{"aria-label":t,className:l("flex h-6 w-6 cursor-pointer items-center justify-center rounded",U(e)),key:e,onFocus:()=>a(e),value:e},n.createElement(x.Indicator,{asChild:!0},n.createElement(za,{name:"tick",className:"!h-5 !w-5"})))))},Kc=/iPhone|iPad|iPod|Android/i,Uc=e=>!(null==e||!e.userAgent)&&Kc.test(e.userAgent),Wc=n.forwardRef((function(e,t){var a;const{children:r,color:o,description:i,prefix:s,postfix:c,className:u,...d}=e,{onDelete:m,onEdit:g,listboxRef:f,multiple:h,ref:v,setOpen:p,shouldPauseHoverState:w,tags:b,value:E,fontSize:x=exports.FontSizes.medium}=Gc(),y=l(Bc(w),{"text-xs":x===exports.FontSizes.small,"text-sm":x===exports.FontSizes.medium,"text-base":x===exports.FontSizes.large},u),z=Array.isArray(E)?!!E.length:void 0!==E,R=b&&!!o,C=""!==r&&(g||m)?t=>{var l,a;return n.createElement(qc,Object.assign({},t,{color:e.color,key:null!==(l=e.textValue)&&void 0!==l?l:String(e.children),text:null!==(a=e.textValue)&&void 0!==a?a:String(e.children),value:e.value}))}:void 0;return n.createElement(jc,Object.assign({},d,{className:y,onClick:()=>{var e;h?null===(e=v.current)||void 0===e||e.focus():p(!1)},onKeyDown:e=>{Nc(e)&&(h&&"Tab"!==e.key||p(!1))},ref:t}),z?n.createElement(za,{name:"tick",className:"pointer-events-none invisible -mx-0.5 !h-4 !w-4 group-aria-selected:visible"}):null,R?n.createElement(Pc,{className:"pointer-events-none my-1",color:o,icon:s},r):n.createElement(n.Fragment,null,s?"string"==typeof s?n.createElement(za,{name:s}):s:null,n.createElement("span",{className:"flex w-full justify-between"},n.createElement("span",{className:"flex flex-col"},n.createElement("span",null,r),i?n.createElement("span",{className:"text-grey-700 -mt-1.5 mb-1.5 text-xs"},i):null),n.createElement("span",{className:"flex flex-col self-center"},c?"string"==typeof c?n.createElement(za,{name:c}):c:null))),C?n.createElement(ir,{icon:"ellipsis-vertical",appearance:"discrete",className:l("group-aria-current:visible invisible -mr-1 ml-auto !h-5 min-h-[theme(spacing.6)] !w-5 min-w-[theme(spacing.6)] hover:!bg-black/[.08] focus:!shadow-none group-hover:visible",{"!visible":Uc(null===(a=window)||void 0===a?void 0:a.navigator)}),onClick:e=>{var t;e.stopPropagation(),null==f||null===(t=f.current)||void 0===t||t.setActiveIndex(e.currentTarget.parentElement)},popover:C,tabIndex:-1}):null)})),Jc=n.forwardRef((function(e,t){const{children:a,heading:r,hasSeparator:o,...i}=e,s=l("flex flex-col gap-px",{"last:after:content-none after:content-[''] after:bg-grey-300 after:mx-2 after:my-1 after:h-px":o&&a.length},e.className);return n.createElement(Tc,Object.assign({},i,{className:s,ref:t}),n.createElement(Fc,{className:"sticky top-0 bg-white px-2 font-bold leading-8"},r),a)})),Yc=n.forwardRef((function(e,t){const a=l("flex items-center text-xs pl-2 h-8",e.className);return n.createElement(Fc,Object.assign({},e,{className:a,ref:t}))})),Qc=n.forwardRef((function(e,t){const{multiple:l,value:a}=Gc();if(Array.isArray(a)||l){const l=Array.isArray(a)?a:void 0!==a?[a]:void 0;return n.createElement(eu,Object.assign({},e,{ref:t,values:l}))}return n.createElement(Zc,Object.assign({},e,{ref:t,value:a}))})),Xc=n.forwardRef((function(e,t){var a;const{children:r,onClick:o,tabIndex:i=0,fontSize:s,...c}=e,{disabled:u,highlighted:d,invalid:m,open:g,readOnly:f}=Gc(),h=l("cursor-pointer px-1.5 h-fit",Sr({...e,disabled:u,highlighted:d,invalid:m,readOnly:f}).replace("w-full","").replace("px-2",""),{"w-full":!(null!==(a=e.className)&&void 0!==a&&a.includes("w-")),"text-xs":s===exports.FontSizes.small,"text-sm":s===exports.FontSizes.medium,"text-base":s===exports.FontSizes.large},e.className);return n.createElement("button",Object.assign({},c,{"aria-invalid":!!m||void 0,"aria-readonly":!!f||void 0,className:h,disabled:u,onClick:e=>{u||f?e.preventDefault():"function"==typeof o&&o(e)},ref:t,role:"combobox",tabIndex:u||f?-1:i,type:"button"}),r,n.createElement(za,{name:g?"chevron-up":"chevron-down",className:"pointer-events-none -mr-1 ml-auto"}))})),Zc=n.forwardRef((function(e,t){const{children:a,emptyValue:r,value:o,placeholder:i,...s}=e,{disabled:c,readOnly:u,tags:d}=Gc(),m=l("truncate items-center gap-1"),g=a.find(nu(o));let f;return i&&void 0===g?f=n.createElement("div",{className:l({"text-grey-700":c,"text-grey-500":!c})},i):g&&(f=d&&r!==o?n.createElement(Pc,{className:"truncate",color:g.props.color,disabled:c,icon:g.props.prefix,readOnly:u},g.props.children):n.createElement(n.Fragment,null,g.props.prefix?"string"==typeof g.props.prefix?n.createElement(za,{name:g.props.prefix,className:"mr-1 !h-5 !w-5"}):g.props.prefix:null,g.props.children)),n.createElement(Xc,Object.assign({},s,{ref:t}),n.createElement("div",{className:m},f))})),eu=n.forwardRef((function(e,t){var a;const{children:r,values:o=[],placeholder:i,...s}=e,{disabled:c,open:u,readOnly:d,setValue:m,tags:g}=Gc(),f=$a(t),h=o.map(e=>r.find(t=>t.props.value===e)).filter(e=>!!e);let v,{className:p}=s;return u?(p=l("!absolute z-20 !h-fit",s.className),v=n.createElement(To,{className:"my-1 flex max-h-[5.5rem] flex-col"},n.createElement("div",{className:"flex flex-wrap gap-1"},0===h.length?n.createElement("div",{className:l({"text-grey-700":c,"text-grey-500":!c})},i):h.map(e=>n.createElement(Pc,{key:String(e.props.value),className:"truncate",color:g?e.props.color:void 0,disabled:c,icon:e.props.prefix,onDelete:t=>{null==t||t.stopPropagation(),null==t||t.preventDefault(),c||d||m(e.props.value)},readOnly:d},e.props.children))))):v=n.createElement(tu,{key:String(u),valuesAsChildren:h,placeholder:i}),n.createElement("div",{className:"relative inline-flex h-fit flex-grow","data-taco":"select2-container",style:{width:u?null===(a=f.current)||void 0===a?void 0:a.offsetWidth:void 0}},n.createElement(Xc,Object.assign({},s,{className:p,ref:f}),v))})),tu=({valuesAsChildren:e,placeholder:t})=>{const{disabled:a,open:r,readOnly:o,setValue:i,tags:s}=Gc(),[c,u]=n.useState(null),d=c?Ka(c,30):void 0;return n.createElement("div",{className:"relative flex items-center gap-1 overflow-hidden"},n.createElement("div",{className:"flex gap-1 truncate",ref:e=>u(e)},0===e.length?n.createElement("div",{className:l({"text-grey-700":a,"text-grey-500":!a})},t):e.map((e,t)=>{const c=n.createElement(Pc,{key:String(e.props.value),className:l("cursor-pointer",{truncate:t===d,hidden:null!=d&&t>d}),color:s?e.props.color:void 0,disabled:a,icon:e.props.prefix,onDelete:r?(u=e.props.value,e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),a||o||i(u)}):void 0,readOnly:o},e.props.children);var u;return t===d?n.createElement(nr,{key:String(e.props.value),title:String(e.props.children)},c):c})),null!=d&&d<e.length-1?n.createElement(nr,{title:e.slice(d+1).map(e=>e?String(e.props.children):"").join(", ")},n.createElement(qa,{className:"flex-shrink-0"},"+",e.length-(d+1))):null)},nu=e=>t=>Array.isArray(e)?e.includes(t.props.value):t.props.value===e,lu=e=>{const{value:t,...l}=e,a=n.useRef(null),r=function(e){const t=n.useRef(e);return n.useEffect(()=>{t.current=e},[e]),t.current}(t);return n.useEffect(()=>{const e=a.current,n=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(r!==t&&n){Array.isArray(t)?t.forEach(t=>{const n=e.querySelector(`option[value='${t}']`);n&&(n.selected=!0)}):n.call(e,t);const l=new Event("change",{bubbles:!0});e.dispatchEvent(l)}},[r,t]),n.createElement("select",Object.assign({},l,{defaultValue:t,ref:a,style:{display:"none"}}))},au=n.forwardRef((function(e,t){const{onTabKeyPress:a,...r}=e,{listboxRef:o,searchQuery:i,setSearchQuery:s,setValidationError:c,validationError:u,setOpen:d}=Gc();return n.createElement(Zo,{className:l("mx-1.5 mb-1.5 !min-h-fit ",{"!pb-0":!u}),invalid:!!u,message:null==u?void 0:u.message},n.createElement(Mr,Object.assign({},r,{"aria-hidden":!0,autoFocus:!0,invalid:!!u,onChange:e=>{u&&c(void 0),s(e.target.value)},onKeyDown:e=>{var t;if(" "!==e.key&&("Tab"===e.key&&(d(!1),a()),Nc(e)||"ArrowDown"===e.key||"ArrowUp"===e.key))return e.preventDefault(),void(null==o||null===(t=o.current)||void 0===t||t.dispatchEvent(Br(e)))},ref:t,value:i})))})),ru=e=>!!e.props.heading||!!e.props.hasSeparator,ou=(e,t)=>{var n,l;return!(null===(n=e.props.textValue)||void 0===n||!n.toLowerCase().includes(t.toLowerCase()))||!(null===(l=e.props.description)||void 0===l||!l.toLowerCase().includes(t.toLowerCase()))||String(e.props.children).toLowerCase().includes(t.toLowerCase())},iu=e=>{const{onCreate:t,options:a}=e,{multiple:r,searchQuery:o,setOpen:i,setSearchQuery:s,setValidationError:c,setValue:u}=Gc(),{texts:d}=mr(),m=n.useMemo(()=>(e=>{let t={};q.filter(e=>"transparent"!==e).forEach(e=>{t={...t,[e]:0}}),e.reduce((e,t)=>(t.props.color&&(e[t.props.color]=e[t.props.color]?e[t.props.color]+1:1),e),t);const n=Object.keys(t);if(n.length)return n.sort((e,n)=>t[e]-t[n])[0]})(a),[a]);if(!o)return null;const g=l("!w-[calc(100%_-_theme(spacing.3))] ml-1.5",Bc());return n.createElement("button",{className:g,onClick:function(){try{const e=Ls((function(){return Promise.resolve(t(o,m)).then((function(e){u(e.value),r?s(""):i(!1)}))}),(function(e){c(e)}));return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},onKeyDown:e=>{Nc(e)&&e.currentTarget.click()}},n.createElement("span",{className:"flex items-center gap-1.5"},d.select2.create,n.createElement(Pc,{color:m,className:"cursor-pointer"},o)))},su=e=>{const{children:t}=e;return n.createElement(To,{className:"flex max-h-[11.5rem] w-full flex-col gap-y-0.5 px-1.5"},t)},cu=n.forwardRef((function(e,t){const{children:a,defaultValue:r,disabled:o=!1,emptyValue:i,placeholder:s,highlighted:c=!1,invalid:d=!1,multiple:m=!1,name:g,onChange:f,onCreate:h,onDelete:v,onEdit:p,readOnly:b=!1,tags:E=!1,value:x,fontSize:y,...z}=e,R=n.useMemo(()=>{if(void 0!==i&&!m)return n.createElement(Wc,{key:"__empty",children:"",value:i,className:"h-8"})},[i,m]),C=n.useMemo(()=>R?[R,...a]:a,[R,a]),S=$a(t),N=n.useRef(null),O=n.useRef(null),{texts:A}=mr(),I=Ar(S),[L,H]=n.useState(!1),[M,k]=n.useState(!1),[V,j]=w.useControllableState({defaultProp:r,onChange:f,prop:x}),T=((e,t)=>n=>{t(t=>Array.isArray(n)?n:e?void 0===t?[n]:Array.isArray(t)?t.includes(n)?t.filter(e=>e!==n):[...t,n]:t===n?[]:[t,n]:n)})(m,j),[D,F]=n.useState(),[P,B]=Rs(),{flattenedChildren:_,filteredChildren:G,searchQuery:q,setSearchQuery:$}=(({children:e,emptyValue:t,multiple:l,open:a,setValue:r,value:o})=>{const[i,s]=n.useState(""),c=n.useMemo(()=>(null==e?void 0:e.map(e=>ru(e)?e.props.children:e).flatMap(e=>e))||[],[e]);n.useEffect(()=>{var e;l||void 0!==t||void 0!==o||r(null==c||null===(e=c[0])||void 0===e?void 0:e.props.value)},[]),n.useEffect(()=>{a||s("")},[a]);const u=n.useMemo(()=>e.map(e=>{if(ru(e)){const t=e.props.children.filter(e=>ou(e,i));return t.length?n.cloneElement(e,{},t):null}return ou(e,i)?e:null}).filter(e=>!!e),[c,i]);return{flattenedChildren:c,filteredChildren:u,searchQuery:i,setSearchQuery:s}})({children:C,emptyValue:i,multiple:m,open:M,setValue:T,value:V}),K={disabled:o,highlighted:c,invalid:d,listboxRef:N,multiple:m,onCreate:h,onDelete:v,onEdit:p,open:M,readOnly:b,ref:S,searchQuery:q,searchRef:O,setOpen:k,setSearchQuery:$,setValidationError:F,setValue:T,shouldPauseHoverState:P,setShouldPauseHoverState:B,tags:E,fontSize:y,validationError:D,value:V};let U;z.onBlur&&(U=e=>{var t;const n=e.relatedTarget;if(void 0===n)return;const l=null==n||null===(t=n.closest("[data-radix-popper-content-wrapper] > :first-child"))||void 0===t?void 0:t.id;var a;l&&e.currentTarget.getAttribute("aria-controls")===l||null===(a=z.onBlur)||void 0===a||a.call(z,e)});const W=l("border-grey-300 rounded border bg-white py-1.5 shadow-md outline-none","flex flex-col gap-px");return n.createElement(_c.Provider,{value:K},n.createElement(u.Root,{open:M,onOpenChange:k},n.createElement(uu,{emptyValue:i,multiple:m||E,name:g,options:_.map(e=>e.props.value),parentRef:S,setValue:T,value:V}),n.createElement(u.Trigger,{asChild:!0,"data-taco":"Select2"},n.createElement(Qc,Object.assign({},z,{"aria-haspopup":"listbox",emptyValue:i,onBlur:U,onKeyDown:e=>{var t;M?e.preventDefault():e.ctrlKey||e.metaKey||"ArrowDown"!==e.key&&!/^[a-z0-9]$/i.test(e.key)||k(!0),null===(t=N.current)||void 0===t||t.dispatchEvent(Br(e))},ref:S,fontSize:y,placeholder:s}),_)),n.createElement(u.Portal,null,n.createElement(u.Content,{asChild:!0,align:"start",onOpenAutoFocus:()=>{var e;null===(e=S.current)||void 0===e||e.focus()},onCloseAutoFocus:e=>{if(e.preventDefault(),e.stopPropagation(),L){const e=(e=>{if(!e)return null;const t=[...document.querySelectorAll('button:not([disabled]), [href]:not(link):not(script), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), details:not([disabled]), summary:not(:disabled)')],n=t.indexOf(e);return-1!==n&&n===t.length-1?null:t[n+1]})(S.current);e&&(e.focus(),H(!1))}else{var t;null===(t=S.current)||void 0===t||t.focus()}},sideOffset:4,tabIndex:-1},n.createElement("div",{className:W,style:{minWidth:null!=I&&I.width?I.width+"px":void 0}},_.length>0||h?n.createElement(au,{placeholder:h?A.select2.searchOrCreate:A.select2.search,ref:O,onTabKeyPress:()=>H(!0)}):null,_.length<=0?n.createElement("div",{className:"text-grey-700 -mt-0.5 flex h-8 items-center px-2",role:"presentation"},"No results found..."):n.createElement(Vc,{className:"flex flex-col gap-0.5",customSelector:":scope > button",disabled:o,multiple:m,onKeyDown:e=>{Oc(e)&&B(!0)},readOnly:b,ref:N,setValue:T,tabIndex:-1,value:V},n.createElement(su,null,""===q?C:G),h?n.createElement(iu,{onCreate:h,options:_}):null))))))}));cu.Option=Wc,cu.Group=Jc,cu.Title=Yc;const uu=e=>{const{emptyValue:l,multiple:a,name:r,options:o,parentRef:i,value:s,setValue:c}=e;let u;return((e,n)=>{const[l,a]=t.useState(!1);return t.useEffect(()=>{let t;var l;return e.current&&(t=e.current.closest("form"),a(!!t),n&&t&&t.addEventListener("reset",n),null===(l=e.current.closest("form"))||void 0===l||l.addEventListener("reset",n)),()=>{t&&t.removeEventListener("reset",n)}},[e.current]),l})(i,()=>c(a?[]:void 0))?(void 0!==s&&(u=a?Array.isArray(s)?s.map(String):[null===s?"":String(s)]:null===s?"":String(s)),n.createElement(lu,{"aria-hidden":!0,key:String(u),multiple:a,name:r,value:u},void 0!==l?n.createElement("option",{value:l}):null,o.map(e=>n.createElement("option",{key:String(e),value:String(e)})))):null};function du(e){var t,l;const{onAccept:a,table:r,orientation:o,setOrientation:i,size:s,setSize:c,allRows:u,setAllRows:d,splitGroups:m,setSplitGroups:g,...f}=e,{texts:h}=mr(),v=r.getVisibleFlatColumns(),p=r.getRowModel().rows.length*v.length,w=r.getState().grouping.length?null===(t=v.find(e=>e.id===r.getState().grouping[0]))||void 0===t||null===(l=t.columnDef.meta)||void 0===l?void 0:l.header:void 0;return n.createElement(Oo,Object.assign({},f,{size:"xs"}),n.createElement(Oo.Content,{"aria-label":h.table3.print.warningDialog.title},({close:e})=>n.createElement(n.Fragment,null,n.createElement(Oo.Title,null,h.table3.print.settingsDialog.title),n.createElement("div",{className:"mt-4 flex flex-col gap-2"},n.createElement("div",{className:"grid grid-cols-2 gap-4"},n.createElement(Zo,null,h.table3.print.settingsDialog.size,n.createElement(cu,{onChange:c,value:s},n.createElement(cu.Option,{value:"A5"},h.table3.print.settingsDialog.sizeA5),n.createElement(cu.Option,{value:"A4"},h.table3.print.settingsDialog.sizeA4),n.createElement(cu.Option,{value:"A3"},h.table3.print.settingsDialog.sizeA3),n.createElement(cu.Option,{value:"letter"},h.table3.print.settingsDialog.sizeLetter),n.createElement(cu.Option,{value:"legal"},h.table3.print.settingsDialog.sizeLegal))),n.createElement(Zo,null,h.table3.print.settingsDialog.orientation,n.createElement(cu,{onChange:i,value:o},n.createElement(cu.Option,{value:"landscape"},h.table3.print.settingsDialog.orientationLandscape),n.createElement(cu.Option,{value:"portrait"},h.table3.print.settingsDialog.orientationPortrait)))),r.options.enableRowSelection&&r.getIsSomeRowsSelected()?n.createElement(Zo,null,h.table3.print.settingsDialog.rows,n.createElement(Ai,{onChange:d,value:u},n.createElement(Ai.Item,{value:!0},h.table3.print.settingsDialog.rowsAll),n.createElement(Ai.Item,{value:!1},h.table3.print.settingsDialog.rowsSelected))):void 0,w?n.createElement(Zo,null,h.table3.print.settingsDialog.layout,n.createElement(Cr,{label:h.table3.print.settingsDialog.layoutSplitGroups.replace("[COLUMN]",w),checked:m,onChange:g})):null,p>1e4?n.createElement(Sa,{state:"warning"},h.table3.print.warningDialog.description):null),n.createElement(Oo.Footer,null,n.createElement(Ao,null,n.createElement(Oo.Close,null,n.createElement(hr,null,h.table3.print.warningDialog.cancelButtonText)),n.createElement(hr,{appearance:"primary",autoFocus:!0,onClick:()=>{e(),setTimeout(()=>a(),1)}},h.table3.print.warningDialog.printButtonText))))))}function mu(e){const{table:t,tableId:l,tableRef:a}=e,{texts:r}=mr(),o=n.useRef(null),i=n.useRef(),s=ns(),c=t.options.meta,u=n.useCallback(e=>{c.printing.setIsPrinting(e),a.current&&(e?i.current=a.current.scrollTop:void 0!==i.current&&(a.current.scrollTop=i.current,i.current=void 0))},[a.current]);n.useEffect(()=>{const e=()=>{u(!1)};return window.addEventListener("afterprint",e),()=>{window.removeEventListener("afterprint",e)}},[]);const d=function(){try{function e(){n.close(),setTimeout(()=>{u(!0),requestAnimationFrame(()=>{try{document.execCommand("print",!1,void 0)}catch{window.print()}})},150)}const n=s.loading(r.table3.print.loading),l=function(){if(c.server.isEnabled&&c.server.loadAllIfNeeded){const e=Ls((function(){return Promise.resolve(c.server.loadAllIfNeeded(t.getState().sorting,t.getState().columnFilters,void 0)).then((function(){}))}),(function(e){const t=`${r.table3.print.error}: ${e}`;console.error(t),n.error(t)}));if(e&&e.then)return e.then((function(){}))}}();return Promise.resolve(l&&l.then?l.then(e):e())}catch(e){return Promise.reject(e)}},[m,g]=n.useState("portrait"),[f,h]=n.useState("A4"),[v,p]=n.useState(!0),[w,b]=n.useState(!0),E=[`@page { size: ${f} ${m}; }`];v||E.push(`table[data-taco='report']#${l} tr:not([data-row-selected="true"]) { display: none; }`),w&&E.push(`table[data-taco='report']#${l} tr[data-row-group]:not(:first-child) { break-before: page; }`);const x={key:"p",meta:!0,shift:!1},y=n.createElement(n.Fragment,null,r.table3.print.tooltip,n.createElement(vi,{className:"ml-2",keys:x}));return n.createElement(n.Fragment,null,n.createElement("style",{media:"print"},E.join("\n")),n.createElement(ir,{icon:"print","aria-label":r.table3.print.tooltip,dialog:e=>n.createElement(du,Object.assign({},e,{table:t,onAccept:d,orientation:m,setOrientation:g,size:f,setSize:h,allRows:v,setAllRows:p,splitGroups:w,setSplitGroups:b})),ref:o,shortcut:x,tooltip:y}))}cu.displayName="Select2";const gu=(e,t=!1)=>{const[l,a]=n.useState(t),r=n.useCallback(e=>a(e.matches),[]);return n.useEffect(()=>{const t=window.matchMedia(e);return a(t.matches),t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}},[]),l},fu=()=>gu("(min-width: 1024px)",window.innerWidth>1024);function hu(e,t){var n,l,a,r;return null===(n=e.columnDef.meta)||void 0===n||null===(l=n.header)||void 0===l||null===(a=l.localeCompare)||void 0===a?void 0:a.call(l,null===(r=t.columnDef.meta)||void 0===r?void 0:r.header)}function vu(e){const{allColumns:t,filters:l,onChange:a,value:r=null,...o}=e,{texts:i}=mr(),s=t.find(e=>e.id===r),c=s&&!s.getIsVisible();return n.createElement("div",{className:"flex flex-col"},n.createElement(Zo,{message:c?i.table3.filters.hiddenColumn:void 0,warning:c,className:"min-h-[theme(spacing.8)]"},n.createElement(cu,Object.assign({},o,{className:"!w-32 flex-shrink-0",emptyValue:null,onChange:a,value:r}),t.map(e=>{var t,a,o;return n.createElement(cu.Option,{key:e.id,value:e.id,postfix:!e.getIsVisible()||e.getIsGrouped()?n.createElement(nr,{title:e.getIsGrouped()?i.table3.filters.hiddenGroupedColumn:i.table3.filters.hiddenColumn},n.createElement(za,{name:"eye-off",className:"text-grey-500 !h-5 !w-5"})):void 0,disabled:!(e.id===r||e.getCanFilter()&&!l.find(t=>t.id===e.id))},(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header)+(e.parent?` (${null===(a=e.parent)||void 0===a||null===(o=a.columnDef.meta)||void 0===o?void 0:o.header})`:""))}))))}function pu(e){const{column:t,onChange:l,value:a,...r}=e,{texts:o}=mr(),i=function(e){var t;const l=null!==(t=null==e?void 0:e.columnDef.meta)&&void 0!==t?t:{};if(Array.isArray(l.filters))return l.filters;if("function"==typeof l.control){const e=l.control({onBlur:()=>{},onFocus:()=>{},setValue:()=>{},value:void 0,disabled:!1,readOnly:!1,ref:void 0});if(n.isValidElement(e)){const{props:t,type:n}=e;if("Select2"===n.displayName)return t.multiple?[ms.HasAnyOf,ms.HasAllOf,ms.IsEqualTo,ms.HasNoneOf,ms.IsEmpty,ms.IsNotEmpty]:[ms.IsEqualTo,ms.IsNotEqualTo,ms.IsEmpty,ms.IsNotEmpty]}}return"number"===l.dataType?[ms.IsEqualTo,ms.IsNotEqualTo,ms.IsGreaterThan,ms.IsLessThan,ms.IsBetween,ms.IsEmpty,ms.IsNotEmpty]:"datepicker"===l.control||"datetime"===l.dataType?[ms.IsEqualTo,ms.IsNotEqualTo,ms.IsBetween,ms.IsLessThan,ms.IsGreaterThan,ms.IsEmpty,ms.IsNotEmpty,ms.IsLessThanOrEqualTo,ms.IsGreaterThanOrEqualTo]:"switch"===l.control?[ms.IsEqualTo]:[ms.Contains,ms.DoesNotContain,ms.IsEqualTo,ms.IsNotEqualTo,ms.IsEmpty,ms.IsNotEmpty]}(t);return n.useEffect(()=>{void 0!==a&&i.includes(a)||null==l||l(i[0])},[i]),n.createElement(cu,Object.assign({},r,{className:"!w-32 flex-shrink-0",disabled:!t,onChange:l,value:a}),i.map(e=>n.createElement(cu.Option,{key:e,value:e},function(e,t,n){var l,a;const r="datepicker"===(null==n||null===(l=n.columnDef)||void 0===l||null===(a=l.meta)||void 0===a?void 0:a.control);switch(e){case ms.Contains:return t.table3.filters.comparators.contains;case ms.DoesNotContain:return t.table3.filters.comparators.doesNotContain;case ms.IsEqualTo:return t.table3.filters.comparators.isEqualTo;case ms.IsNotEqualTo:return t.table3.filters.comparators.isNotEqualTo;case ms.IsGreaterThan:return r?t.table3.filters.comparators.isAfter:t.table3.filters.comparators.isGreaterThan;case ms.IsLessThan:return r?t.table3.filters.comparators.isBefore:t.table3.filters.comparators.isLessThan;case ms.IsBetween:return t.table3.filters.comparators.isBetween;case ms.IsEmpty:return t.table3.filters.comparators.isEmpty;case ms.IsNotEmpty:return t.table3.filters.comparators.isNotEmpty;case ms.IsLessThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrBefore:t.table3.filters.comparators.isLessThanOrEqualTo;case ms.IsGreaterThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrAfter:t.table3.filters.comparators.isGreaterThanOrEqualTo;case ms.HasAnyOf:return t.table3.filters.comparators.hasAnyOf;case ms.HasAllOf:return t.table3.filters.comparators.hasAllOf;case ms.HasNoneOf:return t.table3.filters.comparators.hasNoneOf;default:return""}}(e,o,t))))}function wu(e){const{column:t,comparator:l,onChange:a,value:r}=e,{texts:o}=mr();if(l===ms.IsEmpty||l===ms.IsNotEmpty)return null;if(l===ms.IsBetween){var i;const e=Array.isArray(r)?r[0]:void 0,l=Array.isArray(r)?r[1]:void 0;return void 0===t?n.createElement(Mr,{"aria-label":o.table3.filters.emptyFilter.value,className:"flex-grow",disabled:!0,value:o.table3.filters.emptyFilter.value}):"datetime"===(null===(i=t.columnDef.meta)||void 0===i?void 0:i.dataType)?n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(bu,{column:t,onChange:e=>a([e,l]),value:e}),n.createElement(bu,{column:t,onChange:t=>a([e,t]),value:l})):n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(bu,{column:t,onChange:e=>a([isNaN(e)?void 0:e,l]),placeholder:"from",value:null!=e?e:""}),n.createElement(bu,{column:t,onChange:t=>a([e,isNaN(t)?void 0:t]),placeholder:"to",value:null!=l?l:""}))}return n.createElement(bu,{comparator:l,column:t,onChange:a,value:r})}function bu(e){var l,a;const{column:r,onChange:o,value:i,...s}=e,c=null==r||null===(l=r.columnDef.meta)||void 0===l?void 0:l.control,u=null==r||null===(a=r.columnDef.meta)||void 0===a?void 0:a.dataType;return t.useEffect(()=>{"switch"===c&&o(!1)},[]),"function"==typeof c?c({...s,setValue:e=>o(e),value:i}):"datepicker"===c||"datetime"===u?n.createElement(vo,Object.assign({},s,{onChange:e=>o(e.detail),value:i})):"switch"===c?n.createElement(vc,Object.assign({},s,{className:"m-1.5",checked:Boolean(i),onChange:o})):n.createElement(Mr,"input"!==c&&void 0!==c||"number"!==u?Object.assign({disabled:!r},s,{className:"flex-grow",onChange:e=>o(e.target.value),value:String(null!=i?i:"")}):Object.assign({},s,{className:"flex-grow",type:"number",onChange:e=>o(e.target.valueAsNumber),value:String(null!=i?i:"")}))}function Eu(e){const{allColumns:t,filter:l,filters:a,onChange:r,onRemove:o,position:i}=e,{texts:s}=mr(),c=t.find(e=>e.id===l.id),{id:u,value:{comparator:d,value:m}}=l;return n.createElement("div",{className:"flex items-start gap-2"},n.createElement("div",{className:"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},i>0?s.table3.filters.conditions.and:s.table3.filters.conditions.where),n.createElement(vu,{allColumns:t,filters:a,onChange:e=>{var n,a;const o=t.find(e=>e.id===u),i=t.find(t=>t.id===e),s=(null==o||null===(n=o.columnDef.meta)||void 0===n?void 0:n.dataType)===(null==i||null===(a=i.columnDef.meta)||void 0===a?void 0:a.dataType)?l.value:{comparator:ms.Contains,value:void 0};r(u,{id:e,value:s})},value:u}),n.createElement(pu,{column:c,onChange:e=>{let t=l.value.value;e!==ms.IsEmpty&&e!==ms.IsNotEmpty||(t=void 0),r(u,{id:u,value:{comparator:e,value:t}})},value:d}),n.createElement(wu,{column:c,comparator:d,onChange:e=>{r(u,{id:u,value:{...l.value,value:e}})},value:m}),n.createElement(ir,{appearance:"discrete",className:"ml-auto",icon:"close",onClick:()=>o(u)}))}function xu(e){const{allColumns:t,filters:l,onCreate:a,onRemove:r,position:o}=e,{texts:i}=mr();return n.createElement("div",{className:"flex items-start gap-2"},n.createElement("div",{className:"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},o>0?i.table3.filters.conditions.and:i.table3.filters.conditions.where),n.createElement(vu,{allColumns:t,filters:l,onChange:a,value:null}),n.createElement(pu,null),n.createElement(Mr,{"aria-label":i.table3.filters.emptyFilter.value,className:"flex-grow",disabled:!0,value:i.table3.filters.emptyFilter.value}),r?n.createElement(ir,{appearance:"discrete",icon:"close",onClick:r}):null)}function yu(e){const{length:t,table:l,...a}=e,{locale:r,texts:o}=mr(),i=l.getAllLeafColumns().filter(e=>!os(e.id)).sort(hu),s=l.getState().columnFilters,[c,u]=n.useState(l.getState().columnFilters),[d,m]=n.useState(1);n.useEffect(()=>{0===s.length&&(u([]),m(1))},[s]);const g=(e,t)=>{u(n=>{const l=[...n];return l[l.findIndex(t=>t.id===e)]=t,l})},f=e=>{1===c.length&&0===d&&m(e=>e+1),u(t=>t.filter(t=>t.id!==e))},h=e=>{u(t=>[...t,{id:e,value:{comparator:ms.Contains,value:void 0}}]),v()},v=()=>{m(e=>e-1)};return n.createElement(ho,Object.assign({},a,{onChange:()=>{u(s),m(s.length?0:1)}}),n.createElement(ho.Content,null,n.createElement("div",{className:"flex w-[40rem] flex-col gap-4"},n.createElement("div",{className:"flex h-8"},n.createElement("div",{className:"flex w-full items-center gap-2"},n.createElement("h4",{className:"mb-0 inline-flex"},o.table3.filters.button),n.createElement("p",{className:"text-grey-700 mb-0 mr-auto mt-px inline-flex"},o.table3.filters.total.replace("[CURRENT]",new Intl.NumberFormat(r).format(l.getFilteredRowModel().rows.length)).replace("[TOTAL]",new Intl.NumberFormat(r).format(t))))),n.createElement("div",{className:"flex flex-col gap-2"},c.map((e,t)=>n.createElement(Eu,{key:"filter_"+t,allColumns:i,filter:e,filters:c,position:t,onChange:g,onRemove:f})),[...Array(d)].map((e,t)=>n.createElement(xu,{key:"placeholder_"+t,allColumns:i,filters:c,position:c.length+t,onCreate:h,onRemove:d>1||c.length>0?v:void 0})),n.createElement("div",{className:"justify-start"},n.createElement(hr,{appearance:"discrete",onClick:()=>{m(e=>e+1)}},"+ ",o.table3.filters.buttons.addFilter))),n.createElement(Ao,{className:"ml-auto"},n.createElement(ho.Close,null,n.createElement(hr,null,"Cancel")),n.createElement(hr,{onClick:()=>{l.resetColumnFilters(),u([]),m(1)}},"Clear"),n.createElement(hr,{appearance:"primary",onClick:()=>{l.setColumnFilters(()=>c.filter(e=>{var t,n;if(null===e.id)return!1;const l=null===(t=i.find(t=>t.id===e.id))||void 0===t||null===(n=t.columnDef.meta)||void 0===n?void 0:n.control;return e.value.comparator===ms.IsEmpty||e.value.comparator===ms.IsNotEmpty||"switch"===l||!!e.value.value}))}},"Apply")))))}function zu(e){const{length:t,table:l}=e,{texts:a}=mr(),r=fu(),o=l.getState().columnFilters,i={key:"f",meta:!0,shift:!0},s={"aria-label":a.table3.filters.tooltip,className:o.length?"!wcag-blue-100":void 0,popover:e=>n.createElement(yu,Object.assign({},e,{length:t,table:l})),shortcut:i,tooltip:n.createElement(n.Fragment,null,a.table3.filters.tooltip,n.createElement(vi,{className:"ml-2",keys:i}))};return r||o.length?n.createElement(hr,Object.assign({},s),n.createElement(za,{className:r?void 0:"-mr-1.5",name:o.length?"filter-solid":"filter"}),r?a.table3.filters.button:"",o.length?`(${o.length})`:""):n.createElement(ir,Object.assign({},s,{icon:"filter"}))}function Ru(e){const{customSettings:t,left:l,length:a,right:r,scrollToIndex:o,table:i,tableId:s,tableRef:c}=e,u=i.options.meta;if(!function(e,t){const{left:n,right:l,table:a}=e,r=a.options.meta;return a.options.enableColumnFilters||r.printing.isEnabled||Cu(a,t)||r.search.isEnabled||!!n||!!l}(e,t))return null;const d=i.options.enableColumnFilters,m=u.printing.isEnabled,g=Cu(i,t),f=u.search.isEnabled;return n.createElement("div",{className:"mb-4 flex flex-shrink flex-grow-0 flex-wrap gap-2 print:hidden","data-taco":"report-toolbar"},l,n.createElement(Ao,{className:"ml-auto flex-shrink-0 print:hidden"},d?n.createElement(zu,{length:a,table:i}):null,r,m?n.createElement(mu,{table:i,tableId:s,tableRef:c}):null,g?n.createElement(Rc,{customSettings:t,table:i}):null,f?n.createElement(pc,{scrollToIndex:o,table:i}):null))}function Cu(e,t){const n=e.options.meta;return e.options.enableHiding||n.columnOrdering.isEnabled||n.fontSize.isEnabled||n.rowHeight.isEnabled||"function"==typeof t}const Su={short:33,medium:41,tall:49,"extra-tall":57},Nu=Su.medium+2;function Ou(e){const{index:t,row:l,table:a}=e;return a.options.meta.server.isEnabled?n.createElement(Au,Object.assign({},e,{index:t})):n.createElement(Iu,{id:l.id,cells:l.getVisibleCells()})}function Au(e){const{index:t,row:l,table:a}=e,r=a.options.meta,o=Math.floor(t/r.server.pageSize)*r.server.pageSize/r.server.pageSize,{ref:i,inView:s}=A.useInView({threshold:0,triggerOnce:!0,initialInView:0===o});return n.useEffect(()=>{var e,t;s&&(null===(e=(t=r.server).loadPage)||void 0===e||e.call(t,o,a.getState().sorting,a.getState().columnFilters,a.getState().globalFilter))},[s]),n.createElement(Iu,{cells:l.getVisibleCells(),ref:i})}const Iu=n.forwardRef((function(e,t){const{cells:l}=e;return n.createElement(n.Fragment,null,n.createElement("tr",{ref:t},l.map(e=>n.createElement("td",{key:e.id},n.createElement("span",{className:"bg-grey-100 text-grey-700 h-4 w-full text-center text-xs"})))))}));function Lu(e,t){const n=e.column.columnDef.meta,l=e.column.getIsPinned(),a={"data-cell-align":null==n?void 0:n.align,"data-cell-highlighted":t,"data-cell-id":e.column.id,"data-cell-pinned":!!l||void 0,"data-cell-truncate":!!n.enableTruncate||void 0,className:"function"==typeof n.className?n.className(e.row.original):n.className,style:{}};return l&&(a.style[l]=e.column.getStart(l)+"px"),a}function Hu(e){const{cell:t,cellRef:l,isHighlighted:a}=e,r=t.getContext().table.options.meta,o=Lu(t,a),{isHovered:i,rowIndex:s}=n.useContext(Us);return n.createElement(Mu,Object.assign({},o,{cell:t,cellRef:l,canShowActions:r.rowActive.rowActiveIndex===s||i&&!r.rowActive.isHoverStatePaused,fontSize:r.fontSize.size,rowActions:r.rowGroups.rowActionsForGroup}))}const Mu=n.memo((function(e){const{canShowActions:t,cell:l,cellRef:a,fontSize:r,rowActions:o,...i}=e,s=l.row.getVisibleCells().filter(e=>!os(e.column.id)).length-1,c=l.getContext().row.subRows.map(e=>e.original);return n.createElement("td",Object.assign({},i,{ref:a,style:{gridColumn:`span ${s} / span ${s}`}}),n.createElement("span",{className:"grow"},R.flexRender(l.column.columnDef.cell,l.getContext())),null!=o&&o.length&&t?n.createElement(Js,{actions:o,actionsLength:4,data:c,fontSize:r,isActiveRow:!0}):null)})),ku=n.memo((function(e){const{cell:t,cellRef:l,isHighlighted:a}=e,r=t.column.columnDef.meta,o=Lu(t,a),i=!!r.enableTruncate,s=R.flexRender(t.column.columnDef.cell,t.getContext());return n.createElement("td",Object.assign({},o,{ref:l}),i?n.createElement("span",{className:"truncate print:overflow-visible print:whitespace-normal"},s):s)}));function Vu(e){const{cell:t,index:l}=e,a=n.useRef(null),r=function(e,t,l){const{rowIndex:a}=n.useContext(Us),r=e.getContext(),o=r.table.options.meta,i=e.column.columnDef.meta,s=n.useMemo(()=>{if(!e.column.columnDef.enableGlobalFilter||os(e.column.id)||e.getIsAggregated()||e.getIsPlaceholder())return;let n=!1;var l,s;if(r.table.getState().globalFilter&&(l=r.table.getState().globalFilter,n=null!=(s=e.getValue())&&String(ss(s,i.dataType)).toLocaleLowerCase().includes(l.toLocaleLowerCase())),!n||void 0===o.search.currentHighlightColumnIndex)return;const[c,u]=o.search.highlightedColumnIndexes[o.search.currentHighlightColumnIndex];return c!==a||u!==t||"current"},[e.getValue(),r.table.getState().globalFilter,o.search.highlightedColumnIndexes.length,o.search.currentHighlightColumnIndex]);return n.useEffect(()=>{l.current&&"current"===s&&(l.current.scrollIntoView({block:"nearest",inline:"nearest"}),setTimeout(()=>{if(l.current){const t=l.current.closest('table[data-taco="report"]');setTimeout(()=>{const n=null==t?void 0:t.querySelectorAll('thead tr:last-child th[data-cell-pinned="left"]');if(null!=n&&n.length){var l;const a=null===(l=n.item(n.length-1))||void 0===l?void 0:l.getBoundingClientRect();a&&e.column.getStart()<a.right&&(null==t||t.scrollTo(e.column.getStart()-a.right,t.scrollTop))}},1)}},1))},[s]),s}(t,l,a);if((t.getIsAggregated()||t.getIsPlaceholder())&&!os(t.column.id))return null;const o={cell:t,cellRef:a,isHighlighted:r};return t.getIsGrouped()?n.createElement(Hu,Object.assign({},o)):n.createElement(ku,Object.assign({},o))}const ju=n.memo((function(e){const{index:t,measureRow:a,row:r,table:o}=e,{setIsHovered:i}=n.useContext(Us),s=o.options.meta,c={"data-row-id":r.id,"data-row-index":t,onMouseEnter:n.useCallback(()=>i(!0),[]),onMouseLeave:n.useCallback(()=>i(!1),[]),tabIndex:-1},u=n.useCallback(e=>{var t;const n=e.target;null===(t=e.currentTarget)||void 0===t||!t.contains(e.target)||Tu.includes(n.tagName.toLowerCase())||n.closest(Tu.map(e=>"tr "+e).join(","))||s.rowClick.handleClick(e,r.original)},[r.original]),d=n.useCallback(()=>{requestAnimationFrame(()=>s.rowActive.setRowActiveIndex(t))},[]);let m;var g,f,h;s.rowActive.isEnabled&&(c["data-row-active"]=s.rowActive.rowActiveIndex===t||void 0,c.onClickCapture=d),s.rowClick.isEnabled&&(c.onClick=u),o.options.enableGrouping&&(c["data-row-group"]=!!r.getIsGrouped()||void 0),o.options.enableRowSelection&&(c["data-row-selected"]=!(!r.getIsSelected()&&!r.getIsAllSubRowsSelected())||void 0),s.rowExpansion.isEnabled&&r.getIsExpanded()&&(c["data-row-expanded"]=!0,m=null===(g=(f=s.rowExpansion).rowExpansionRenderer)||void 0===g||null===(h=g.call(f,r.original))||void 0===h?void 0:h());const v=r.original._meta;v&&v.layout&&(c["data-row-meta-layout"]=v.layout);const p=n.useRef(null),w=n.useRef(null);!function(e,t,l,a){n.useEffect(()=>{if(t){const n=t.getBoundingClientRect().height;a&&l?e(n,l.getBoundingClientRect().height):e(n)}},[a,t,l])}(a,p.current,w.current,!!c["data-row-expanded"]);const b=l("group/row",{"hover:cursor-pointer":"function"==typeof c.onClick});return n.createElement(n.Fragment,null,n.createElement("tr",Object.assign({},c,{className:b,ref:p}),r.getVisibleCells().map((e,t)=>n.createElement(Vu,{key:e.id,cell:e,index:t}))),m?n.createElement("tr",{"data-row-parent-id":r.id,ref:w},n.createElement("td",{className:"col-span-full"},m)):null)})),Tu=["input","button","a","select","option","label","textarea"];function Du(e){const[t,l]=n.useState(!1),a=n.useMemo(()=>({isHovered:t,setIsHovered:l,rowIndex:e.index}),[t]);return void 0===e.row.original?n.createElement(Ou,Object.assign({},e)):n.createElement(Us.Provider,{value:a},n.createElement(ju,Object.assign({},e)))}function Fu(e){const{emptyState:t=null,...l}=e;return n.createElement("tbody",Object.assign({},l,{className:"!auto-rows-fr"}),n.createElement("tr",{className:"!auto-rows-fr"},n.createElement("td",{className:"col-span-full !border-0 !p-0 hover:!bg-white"},t?n.createElement(t,null):null)))}const Pu=rs((function(e,t){var a,r;const o=$a(t),i=function(e,t){const a=function(e,t,l,a){var r,o;const i=e.id.replace(".","_"),s=function(e){var t,l,a,r,o,i,s,c,u,d,m,g,f,h,v,p,w,b,E,x;const y=e.preset?xs[e.preset]:Es,z=null!==(t=e.enableRowActions)&&void 0!==t?t:y.enableRowActions,R=null!==(l=e.enableRowClick)&&void 0!==l?l:y.enableRowClick,C=null!==(a=e.enableRowGoto)&&void 0!==a?a:y.enableRowGoto,S=null!==(r=e.enableRowExpansion)&&void 0!==r?r:y.enableRowExpansion,N=null!==(o=e.enableRowSelection)&&void 0!==o?o:y.enableRowSelection,O=null!==(i=e.enableRowSelectionSingle)&&void 0!==i?i:y.enableRowSelectionSingle;return n.useEffect(()=>{var t;!z||null!==(t=e.rowActions)&&void 0!==t&&t.length||console.warn(`Table (id: ${e.id}) - Row actions is enabled but no \`rowActions\` has been provided. Provide one to enable row actions or set \`enableRowActions\` to \`false\`.`),R&&!e.onRowClick&&console.warn(`Table (id: ${e.id}) - Row click is enabled but no \`onRowClick\` handler has been provided. Provide one to enable row click or set \`enableRowClick\` to \`false\`.`),C&&!e.onRowGoto&&console.warn(`Table (id: ${e.id}) - Row click is enabled but no \`onRowGoto\` handler has been provided. Provide one to enable row goto or set \`enableRowGoto\` to \`false\`.`),S&&!e.rowExpansionRenderer&&console.warn(`Table (id: ${e.id}) - Row expansion is enabled but no \`rowExpansionRenderer\` has been provided. Provide one to enable row expansion or set \`enableRowExpansion\` to \`false\`.`),N&&!e.onRowSelect&&console.warn(`Table (id: ${e.id}) - Row selection is enabled but no \`onRowSelect\` handler has been provided. Provide one to enable row selection or set \`enableRowSelection\` to \`false\`.`),O&&!e.onRowSelect&&console.warn(`Table (id: ${e.id}) - Row selection (single) is enabled but no \`onRowSelect\` handler has been provided. Provide one to enable row selection or set \`enableRowSelectionSingle\` to \`false\`.`)},[]),{enableFiltering:null!==(s=e.enableFiltering)&&void 0!==s?s:y.enableFiltering,enableSearch:null!==(c=e.enableSearch)&&void 0!==c?c:y.enableSearch,enableSorting:null!==(u=e.enableSorting)&&void 0!==u?u:y.enableSorting,enableColumnFreezing:null!==(d=e.enableColumnFreezing)&&void 0!==d?d:y.enableColumnFreezing,enableColumnHiding:null!==(m=e.enableColumnHiding)&&void 0!==m?m:y.enableColumnHiding,enableColumnResizing:null!==(g=e.enableColumnResizing)&&void 0!==g?g:y.enableColumnResizing,enableRowExpansion:S&&!!e.rowExpansionRenderer,enableRowSelection:N&&!!e.onRowSelect,enableRowSelectionSingle:O&&!!e.onRowSelect,enableColumnOrdering:null!==(f=e.enableColumnOrdering)&&void 0!==f?f:y.enableColumnOrdering,enableFontSize:null!==(h=e.enableFontSize)&&void 0!==h?h:y.enableFontSize,enableFooter:null!==(v=e.enableFooter)&&void 0!==v?v:y.enableFooter,enablePrinting:null!==(p=e.enablePrinting)&&void 0!==p?p:y.enablePrinting,enableRowActive:null!==(w=e.enableRowActive)&&void 0!==w?w:y.enableRowActive,enableRowActions:z&&!(null===(b=e.rowActions)||void 0===b||!b.length),enableRowClick:R&&!!e.onRowClick,enableRowGoto:C&&!!e.onRowGoto,enableRowHeight:null!==(E=e.enableRowHeight)&&void 0!==E?E:y.enableRowHeight,enableSaveSettings:null!==(x=e.enableSaveSettings)&&void 0!==x?x:y.enableSaveSettings}}(e),[c,u]=function(e=!1,t,l={},a){const r=(o=t,`taco.${Vs().uniqueUserIdentifier}.table.${o}.settings`);var o;const[i,s]=function(e){return n.useMemo(()=>{if(!1===e)return[Object.keys(js).reduce((e,t)=>({...e,[t]:!1}),{}),!1];if(!0===e)return[js,!0];const t={...js,...e};return[t,Object.values(t).some(e=>!0===e)]},[e])}(e),[c,u]=ks(s?r:void 0,Ts(l,i)),d=n.useCallback(e=>{if(!s)return;const t=Ts(e,i);u(t),"function"==typeof a&&a(t)},[s,a,JSON.stringify(i)]);return s?[c,d]:[l,()=>{}]}(s.enableSaveSettings,i,e.defaultSettings,e.onChangeSettings),d=function(e=!1){const[t,l]=n.useState(!1);return{isEnabled:e,isHorizontallyScrolled:t,handleScroll:e=>{e.currentTarget.scrollLeft>0&&!t?l(!0):0===e.currentTarget.scrollLeft&&t&&l(!1)}}}(s.enableColumnFreezing),m=ys(s.enableColumnOrdering),g=zs(s.enableFontSize,c.fontSize),f=function(e=!1){return{isEnabled:e}}(s.enableFooter),h=function(e=!1,t=!0){const[l,a]=n.useState(!1),[r,o]=n.useState(t);return{isEnabled:e,isPrinting:l,setIsPrinting:a,isWarningVisibleForLargeDatasets:r,setIsWarningVisibleForLargeDatasets:e?o:()=>{}}}(s.enablePrinting,c.showWarningWhenPrintingLargeDataset),v=Ss(s.enableRowActive,e.defaultRowActiveIndex),p=function(e=!1,t,n=4){return{isEnabled:e,rowActions:e?t:void 0,rowActionsLength:t?Math.min(t.length,n):0}}(s.enableRowActions,e.rowActions,e.rowActionsLength),w=Ns(s.enableRowClick,e.onRowClick),b=function(e=!1,t){return{isEnabled:e,rowExpansionRenderer:e?t:void 0}}(s.enableRowExpansion,e.rowExpansionRenderer),E=Os(s.enableRowGoto,e.onRowGoto),x={isEnabled:!0,rowActionsForGroup:e.rowActionsForGroup},y=As(s.enableRowHeight,c.rowHeight),z=Is(s.enableRowSelection),C=function(e=!1,t=!1){const[l,a]=n.useState(t),[r,o]=n.useState([]),[i,s]=n.useState(void 0);return{isEnabled:e,enableGlobalFilter:l,setEnableGlobalFilter:function(e,t){a(e);const n=t.getState().globalFilter;n&&setTimeout(()=>{t.setGlobalFilter(""),t.setGlobalFilter(n)},1)},highlightedColumnIndexes:r,setHighlightedColumnIndexes:o,currentHighlightColumnIndex:i,setCurrentHighlightColumnIndex:s}}(s.enableSearch,c.excludeUnmatchedRecordsInSearch),S=Ms(e.loadPage,e.loadAll,e.pageSize),{columns:N,...O}=function(e,t,l,a){const{children:r,defaultRowGroupColumnId:o}=e,i={},s=[],c={},u=n.Children.toArray(r).reduce((e,l)=>function e(t,l,a,r,o,i,s){const c=R.createColumnHelper();if(n.isValidElement(t)&&t.props.children){const{children:u,id:d,header:m}=t.props;l.push(c.group({id:d,header:m,columns:n.Children.toArray(u).reduce((t,n)=>e(n,t,a,r,o,i,s),[]),enableGrouping:!1}))}else if(n.isValidElement(t)&&(t.props.accessor||t.props.id)){const{id:e,accessor:n=e,renderer:c,aggregate:m,footer:g,header:f,aggregationFn:h,defaultHidden:v,defaultWidth:p,enableFiltering:w=!0,enableGrouping:b=!1,enableHiding:E=!0,enableOrdering:x=!0,enablePrinting:y=!0,enableResizing:z=!0,enableSearch:R=!0,enableSorting:C=!0,enableTruncate:S=!1,minWidth:N=is(i.fontSize),sort:O,sortFn:A,...I}=t.props;v&&E&&(o[e]=!1),p&&(a[e]=p),void 0!==t.props.sort&&r.push({id:e,desc:"desc"===O});const L=s===e,H={id:e,accessorKey:n,header:f,enableColumnFilter:w,enableGlobalFilter:R,enableGrouping:b,enableHiding:!L&&E,enableResizing:z,enableSorting:C,minSize:N,meta:{...I,defaultWidth:p,enableOrdering:!L&&x,enablePrinting:y,enableTruncate:S,header:f}};"function"==typeof c&&(H.cell=e=>c(e.getValue(),e.row.original)),"function"==typeof g&&(H.footer=t=>g(t.table.getRowModel().rows.map(t=>t.original[e]))),w&&(H.filterFn="tacoFilter"),b&&(H.aggregationFn=h,"function"==typeof m&&(H.aggregatedCell=e=>m(e.getValue(),e.row.original))),C&&(H.sortingFn=(u=t.props.dataType,"function"==typeof(d=A)?(e,t,n)=>d(e.original,t.original,n):d||(u&&"boolean"!==u&&"number"!==u?u:"auto")),H.sortDescFirst=!1,H.sortUndefined=1),l.push(H)}var u,d;return l}(l,e,i,s,c,t,o),[]);if(a){var d;if(l.enableRowExpansion&&e.rowExpansionRenderer&&a.rowExpansion){const e=ws("__expansion",a.rowExpansion,i);u.unshift(e)}if((l.enableRowSelection||l.enableRowSelectionSingle)&&a.rowSelection){const e=ws("__select",a.rowSelection,i);u.unshift(e)}if(l.enableRowActions&&null!==(d=e.rowActions)&&void 0!==d&&d.length&&a.rowActions){const e=ws("__actions",a.rowActions,i);u.push(e)}}return{columns:u,defaultSizing:i,defaultSorting:s,defaultVisibility:c}}(e,c,s,a),A=function(e,t,l,a){return n.useMemo(()=>{var n,r,o,i,s,c,u,d,m,g,f,h,v,p,w,b,E,x,y,z,R,C,S,N,O,A;const I=cs(t,null!==(n=l.columnOrder)&&void 0!==n?n:null===(r=e.defaultSettings)||void 0===r?void 0:r.columnOrder),L=null!==(o=null!==(i=l.columnPinning)&&void 0!==i?i:null===(s=e.defaultSettings)||void 0===s?void 0:s.columnPinning)&&void 0!==o?o:{};null!=L&&null!==(c=L.left)&&void 0!==c&&c.length||(L.left=e.defaultColumnFreezingIndex?ds(e.defaultColumnFreezingIndex,I):us(I));const H={columnFilters:null!==(u=null!==(d=l.columnFilters)&&void 0!==d?d:null===(m=e.defaultSettings)||void 0===m?void 0:m.columnFilters)&&void 0!==u?u:[],columnOrder:I,columnPinning:L,columnSizing:null!==(g=null!==(f=null!==(h=l.columnSizing)&&void 0!==h?h:null===(v=e.defaultSettings)||void 0===v?void 0:v.columnSizing)&&void 0!==f?f:a.defaultSizing)&&void 0!==g?g:{},columnVisibility:null!==(p=null!==(w=null!==(b=l.columnVisibility)&&void 0!==b?b:null===(E=e.defaultSettings)||void 0===E?void 0:E.columnVisibility)&&void 0!==w?w:a.defaultVisibility)&&void 0!==p?p:{},globalFilter:null!==(x=l.searchQuery)&&void 0!==x?x:null===(y=e.defaultSettings)||void 0===y?void 0:y.searchQuery,sorting:l.sorting?l.sorting.filter(e=>t.find(t=>t.id===e.id)):null!==(z=null===(R=e.defaultSettings)||void 0===R?void 0:R.sorting)&&void 0!==z?z:a.defaultSorting};return(null!==(C=null!==(S=null===(N=l.grouping)||void 0===N?void 0:N.length)&&void 0!==S?S:null===(O=e.defaultSettings)||void 0===O||null===(A=O.grouping)||void 0===A?void 0:A.length)&&void 0!==C?C:e.defaultRowGroupColumnId)&&(H.grouping=[e.defaultRowGroupColumnId],H.expanded=!0),H},[])}(e,N,c,O),I=R.useReactTable({data:e.data,columns:N,initialState:A,...bs(s,e),enableGlobalFilter:C.enableGlobalFilter,meta:{columnFreezing:d,columnOrdering:m,fontSize:g,footer:f,printing:h,rowActions:p,rowActive:v,rowClick:w,rowExpansion:b,rowGoto:E,rowGroups:x,rowHeight:y,rowSelection:z,search:C,server:S}});return Fs(I),Ps(I,e.onChangeFilter),Bs(I),function(e){const t=e.options.meta;Ds(()=>{"short"===t.rowHeight.height&&t.fontSize.size===exports.FontSizes.large&&t.fontSize.setSize(exports.FontSizes.medium)},[t.rowHeight.height])}(I),_s(I,e.onRowSelect),function(e){const t=e.options.meta;n.useEffect(()=>{t.search.isEnabled&&function(e,t){const n=t.options.meta;let l;if(e){const a=[],r=t.getVisibleLeafColumns(),o=t.getState().grouping;t.getRowModel().rows.forEach((t,n)=>{r.forEach((l,r)=>{try{let c=!0;if(null!=o&&o.length&&(t.getIsGrouped()?c=l.getIsGrouped():o.includes(l.id)&&(c=!1)),l.getIsVisible()&&l.columnDef.enableGlobalFilter&&c){var i,s;const o=ss(null===(i=t.original)||void 0===i?void 0:i[l.id],null===(s=l.columnDef.meta)||void 0===s?void 0:s.dataType);void 0!==o&&hs(o,e)&&a.push([n,r])}}catch(e){}})}),n.search.setHighlightedColumnIndexes(a),a.length?(l=a[0][0],n.search.setCurrentHighlightColumnIndex(0)):n.search.setCurrentHighlightColumnIndex(void 0)}else n.search.setHighlightedColumnIndexes([]),n.search.setCurrentHighlightColumnIndex(void 0);void 0!==l&&n.rowActive.setRowActiveIndex(l)}(e.getState().globalFilter,e)},[t.server.loadAllStatus,t.search.isEnabled,t.search.enableGlobalFilter,e.getRowModel().rows.length,e.getState().globalFilter,JSON.stringify(e.getState().sorting),JSON.stringify(e.getState().columnVisibility)])}(I),Ks(I,S.loadPage),function(e,t){const l=e.options.meta,a=e.getState();n.useEffect(()=>{let n;return"function"==typeof t&&(n=setTimeout(()=>{t(Gs(e))},250)),()=>clearTimeout(n)},[a.columnOrder,a.columnPinning,a.columnSizing,a.columnVisibility,l.search.excludeUnmatchedResults,l.fontSize.size,a.grouping,l.rowHeight.height,l.printing.isWarningVisibleForLargeDatasets,a.sorting])}(I,u),qs(I,e.shortcuts),$s(I,e.onChangeSort),function(e,t){n.useEffect(()=>{t.current&&(t.current.instance={resetFiltering:()=>e.resetColumnFilters(),resetRowExpansion:()=>e.resetExpanded(),resetRowSelection:()=>e.resetRowSelection(),resetSorting:()=>e.resetSorting()})},[e,t.current])}(I,t),{id:i,instance:I,length:null!==(r=e.length)&&void 0!==r?r:e.data.length,meta:null!==(o=I.options.meta)&&void 0!==o?o:{},state:I.getState()}}(e,t,0,n.useMemo(()=>({rowActions:{header:Ws,renderer:Ys,meta:{align:"right",className:l('print:opacity-0 !px-0 !pr-1 overflow-hidden [table_&]:group-[[data-row-active="true"]]/row:sticky [table[data-table-pause-hover="false"]_&]:group-hover/row:sticky right-0','group-[[data-row-active="true"][data-selected="false"]]/row:text-grey-200','group-[[data-row-selected="true"]]/row:text-blue-100','group-[[data-row-selected="false"]:hover]/row:text-grey-100'),header:""}},rowExpansion:{header:Qs,renderer:Xs,size:40,meta:{align:"center",header:"",headerClassName:"!p-0"}},rowSelection:{header:Zs,renderer:ec,size:40,meta:{align:"center",className:"!px-1",header:"",headerClassName:"!px-1"}}}),[]));return function(e,t){const l=e.options.meta;n.useEffect(()=>{if(void 0!==l.rowActive.rowActiveIndex){var e,n;const l=null!==(e=null===(n=t.current)||void 0===n?void 0:n.querySelector('tbody tr[data-row-active="true"]'))&&void 0!==e?e:null;var a;Wa(document.activeElement,l)||Ja(document.activeElement)||null==l||null===(a=l.focus)||void 0===a||a.call(l,{preventScroll:!0})}},[l.rowActive.rowActiveIndex])}(a.instance,t),a}(e,o),s=function(e,t,l){var a,r;const o=e.options.meta,i=e.getRowModel().rows,s=Nu*e.getHeaderGroups().length,{createRowMeasurer:c,estimateSize:u}=function(e){const t=e.options.meta,l=e.getRowModel().rows,a=e.getState().expanded,[r,o]=n.useState({}),i=n.useMemo(()=>{const e=Object.values(r);return e.length?e.reduce((e,t)=>e+t,0)/e.length:0},[r]);return{estimateSize:n.useCallback(e=>{var n,r;const o=t.rowHeight.height?Su[t.rowHeight.height]:Su.medium;return!0===a||null!==(n=l[e])&&void 0!==n&&null!==(r=n.getIsExpanded)&&void 0!==r&&r.call(n)?o+i:o},[t.rowHeight.height,i,a]),createRowMeasurer:n.useCallback((e,t)=>(n,l)=>{l&&o(e=>({...e,[t.index]:l})),e(t,n+(null!=l?l:0))},[])}}(e),d=function(e){const t=e.getRowModel().rows,l=!!e.getState().grouping.length,a=n.useMemo(()=>{const e=[];return l&&t.forEach((t,n)=>{t.getIsGrouped()&&e.push(n)}),e},[]),r=n.useCallback(e=>{var t;const n=null!==(t=[...a].reverse().find(t=>e.startIndex>=t))&&void 0!==t?t:a[0];return[...new Set([n,...O.defaultRangeExtractor(e)])].sort((e,t)=>e-t)},[a]);return l?r:void 0}(e),m=O.useVirtualizer({count:i.length,estimateSize:u,getScrollElement:()=>t.current,overscan:o.printing.isPrinting?i.length:void 0,rangeExtractor:d,scrollPaddingStart:null!==(a=e.getState().grouping)&&void 0!==a&&a.length?Nu:void 0,scrollPaddingEnd:s+36,paddingEnd:120}),g=m.getVirtualItems(),f=n.useCallback((e,n={align:"auto",behavior:"smooth"})=>{const l={...n,behavior:"auto"};t.current&&(0===e?m.scrollToOffset(0,l):e>=g.length-1?(m.scrollToIndex(e,l),setTimeout(()=>{m.scrollToIndex(e,l),setTimeout(()=>{m.scrollToIndex(e,l)},150)},150)):m.scrollToIndex(e,n))},[g.length,t.current]),[h,v]=g.length>0?[Math.max(0,(null!==(r=g[1])&&void 0!==r?r:g[0]).start-m.options.scrollMargin-g[0].size),Math.max(0,m.getTotalSize()-g[g.length-1].end)]:[0,0];n.useEffect(()=>{l&&f(l,{align:"center",behavior:"auto"})},[]);let p={},w=null;return i.length&&(p={height:m.getTotalSize()+"px",paddingBottom:v,paddingTop:h},w=g.map(t=>{const l=i[t.index],a=c(m.resizeItem,t);return n.createElement(Du,{key:l.id,row:l,index:t.index,table:e,measureRow:a})})),{rows:w,style:p,scrollToIndex:f}}(i.instance,o,e.defaultRowActiveIndex),c=function(e,t){const l=t.options.meta,a=function(e,t,l){const a=t.options.meta,r=t.getVisibleLeafColumns(),o=t.getState().columnSizing,i=is(l),s=t.getRowModel().rows.length?"min-content 1fr min-content":"min-content 1fr";return n.useMemo(()=>{let n="";const l=[],c=r.reduce((e,s,c)=>{var u,d;if(t.options.enableGrouping&&s.getIsGrouped())return e;const m=null!==(u=s.columnDef.minSize)&&void 0!==u?u:i,g=o[s.id];let f,h;return f="__actions"===s.id?`minmax(${32*a.rowActions.rowActionsLength+8}px, auto)`:void 0!==g?c===r.length-1?`minmax(${m}px, auto)`:"grow"===g||Number.isNaN(g)?`minmax(${m}px, 1fr)`:(g<m?m:g)+"px":`minmax(${m}px, auto)`,!1===(null===(d=s.columnDef.meta)||void 0===d?void 0:d.enablePrinting)?(h="",l.push(s.id)):h="auto",n=`${n} ${h}`.trim(),`${e} ${f}`.trim()},""),u=l.map(t=>`table[data-taco='report']#${e} > thead > tr > th[data-cell-id='${t}']\n,table[data-taco='report']#${e} > tbody > tr > td[data-cell-id='${t}']\n`).join(",");return`table[data-taco='report']#${e} { grid-template-columns: ${c}; grid-template-rows: ${s}; }\n@media print { table[data-taco='report']#${e} { grid-template-columns: ${n}; } ${u?u+" { display: none; }":""} }`},[r,o,i,a.rowActions.rowActionsLength])}(e,t,l.fontSize.size),r=function(e,t){const{columnPinning:l}=t.getState();return n.useMemo(()=>{const n=[],l=t.getFlatHeaders().filter(e=>!e.subHeaders.length).map(e=>e.id),a=t.getLeftFlatHeaders().filter(e=>!e.subHeaders.length).map(e=>e.id),r=t.getRightFlatHeaders().filter(e=>!e.subHeaders.length).map(e=>e.id);if(a.length){const t=l.indexOf(a[a.length-1]);n.push(`table[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1}),\n table[data-taco='report']#${e} > tbody > tr > td:nth-child(${t+1}) {\n border-right-width: 1px;\n }\ntable[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1})[data-cell-id^="__"],\n table[data-taco='report']#${e} > tbody > tr > td:nth-child(${t+1})[data-cell-id^="__"] {\n border-right-color: transparent;\n }\ntable[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1}):after {\n content: none;\n }\ntable[data-taco='report'][data-table-horizontally-scrolled="true"]#${e} > thead > tr > th:nth-child(${t+1}),\n table[data-taco='report'][data-table-horizontally-scrolled="true"]#${e} > tbody > tr > td:nth-child(${t+1}) {\n border-right-color: rgb(221, 221, 221);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 6px 0px 6px rgb(0 0 0/8%);\n }`)}if(r.length){const t=l.indexOf(r[r.length-1]);n.push(`table[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1}):not([data-cell-id^="__"]),\n table[data-taco='report']#${e} > tbody > tr > td:nth-child(${t+1}):not([data-cell-id^="__"]) {\n border-left-width: 1px;\n }`)}return n.join("\n")},[l])}(e,t),o=[`table[data-taco='report']#${e} {\n --table-header-group-depth: ${t.getHeaderGroups().length};\n --table-cell-padding-x: ${function(e){switch(e){case"small":return"8px";case"medium":return"12px";default:return"16px"}}(l.fontSize.size)};\n --table-cell-padding-y: ${function(e,t){switch(e){case"short":switch(t){case"small":return"8px";default:return"6px"}case"tall":switch(t){case"small":return"16px";case"large":return"12px";default:return"14px"}case"extra-tall":switch(t){case"small":return"22px";case"large":return"18px";default:return"20px"}default:switch(t){case"small":return"12px";case"large":return"8px";default:return"10px"}}}(l.rowHeight.height,l.fontSize.size)};\n }`,a,r].filter(e=>!!e).join("\n");return n.createElement("style",null,o)}(i.id,i.instance);!function(e,t,l){const a=e.options.meta,r=e.getRowModel().rows;n.useEffect(()=>{const n=n=>{const o=n.target.closest('[role="dialog"]');var i;(!o||null!=o&&o.contains(t.current))&&(a.rowActive.handleKeyDown(n,r.length,l,t),a.rowSelection.handleKeyDown(n,e),void 0!==a.rowActive.rowActiveIndex&&a.rowClick.handleKeyDown(n,null===(i=r[a.rowActive.rowActiveIndex])||void 0===i?void 0:i.original))};return document.addEventListener("keydown",n),()=>{document.removeEventListener("keydown",n)}},[t.current,a.rowActive.rowActiveIndex,l])}(i.instance,o,s.scrollToIndex);const u=void 0===i.meta.rowActive.rowActiveIndex?e=>{i.meta.rowActive.handleFocus(e,i.length,s.scrollToIndex)}:void 0;return n.createElement(n.Fragment,null,c,n.createElement(Ru,{customSettings:e.customSettings,left:e.toolbarLeft,length:i.length,right:e.toolbarRight,scrollToIndex:s.scrollToIndex,table:i.instance,tableId:i.id,tableRef:o}),e.toolbarPanel?n.createElement("div",{className:"mb-4"},e.toolbarPanel):void 0,n.createElement(v.FocusScope,null,n.createElement("table",{id:i.id,"data-taco":"report","data-table-font-size":i.meta.fontSize.size,"data-table-horizontally-scrolled":!!i.meta.columnFreezing.isHorizontallyScrolled||void 0,"data-table-pause-hover":!!i.meta.rowActive.isHoverStatePaused||void 0,"data-table-resizing":!!i.state.columnSizingInfo.isResizingColumn||void 0,"data-table-row-height":i.meta.rowHeight.height,"data-table-grouped":!(null===(a=i.state.grouping)||void 0===a||!a.length),onFocus:u,onScroll:i.meta.columnFreezing.handleScroll,ref:o,tabIndex:-1},n.createElement("thead",null,i.instance.getHeaderGroups().map(e=>n.createElement("tr",{key:e.id},e.headers.map(sc)))),null!==(r=s.rows)&&void 0!==r&&r.length?n.createElement(n.Fragment,null,n.createElement(dc,{length:i.length,table:i.instance,style:s.style},s.rows),i.meta.footer.isEnabled?n.createElement("tfoot",null,n.createElement("tr",null,i.instance.getFooterGroups()[0].headers.map(mc))):null):n.createElement(Fu,{emptyState:e.emptyState})),i.meta.footer.isEnabled?n.createElement(fc,{length:i.length,table:i.instance}):null))}));Pu.Column=function(e){return null},Pu.Group=function(e){return null};const Bu=(e,t)=>{var n;const l={index:e.index,indexPath:e.id,values:e.original};return(null===(n=e.subRows)||void 0===n?void 0:n.length)>0?(l.isExpanded=!!e.isExpanded,l.depth=e.depth,l.toggleRowExpanded=()=>e.toggleRowExpanded(!l.isExpanded)):t&&(l.isExpanded=!!e.isExpanded,l.toggleRowExpanded=()=>e.toggleRowExpanded(!l.isExpanded)),e.toggleRowEditing&&(l.isEditing=!!e.isEditing,l.toggleRowEditing=e.toggleRowEditing),l},_u=(e,t)=>{const l=[];return{columns:n.Children.toArray(e).filter(e=>!!e&&!e.props.hidden).map(({props:{children:e,...n}})=>{const a={...n};if(a.sortType=a.sortType||"auto",a.disableSortBy=a.disableSorting,n.title&&e){a.Header=n.title;const{columns:r,sortRules:o}=_u(e,t);a.columns=r,o.forEach(e=>l.push(e))}else a.accessor=n.accessor,a.Header=n.headRenderer||"",a.Cell=e=>{var l,a;const r={accessor:e.cell.column.id,row:Bu(e.cell.row,t),value:e.cell.value};return r.row.isEditing&&"function"==typeof n.editRenderer?n.editRenderer(r):"function"==typeof n.cellRenderer?null!==(l=n.cellRenderer(r))&&void 0!==l?l:null:null!==(a=r.value)&&void 0!==a?a:null},a.align=n.align,a.flex=n.flex,n.sort&&!n.disableSorting&&l.push({id:n.accessor,desc:"desc"===n.sort});return a}),sortRules:l}},Gu=e=>null==e?void 0:e.map(e=>({id:e.accessor,desc:e.desc})),qu=e=>{const t="string"==typeof e?new Date(e):e;return null!=t&&t.getTime?t.getTime():void 0},$u=(e="",t=",")=>{if("number"==typeof e)return e;if(null===e||!e.length)return;let n;return n=Number(","===t?e.replace(/\./g,"").replace(",","."):e.replace(/,/g,"")),Number.isNaN(n)?void 0:n},Ku=e=>{if(e)return String(e).toLowerCase()},Uu=e=>"boolean"==typeof e?e:isNaN(e)?Ku(e):Number(e),Wu=(e,t)=>void 0!==e&&void 0===t?1:e===t?0:e>t?1:-1,Ju=(e,t,n)=>e&&t?((e,t,n)=>{const l=e.localeCompare(t,n);return 0===l?0:l>0?1:-1})(e,t,n):Wu(e,t);function Yu(e,t){if(t.type===I.actions.init)return{allowEditing:!0,editingRowUniqueId:null,...e};if(t.type===I.actions.resetRowEditing||t.type===I.actions.resetPage||t.type===I.actions.gotoPage)return{...e,editingRowUniqueId:null};if(t.type===I.actions.toggleRowEditing){const{id:n}=t;return{...e,editingRowUniqueId:n}}return t.type===I.actions.toggleEditing?{...e,allowEditing:!e.allowEditing}:e}function Qu(e){const{dispatch:t}=e,l=n.useCallback(()=>{t({type:I.actions.resetRowEditing})},[t]),a=n.useCallback(e=>{t({type:I.actions.toggleRowEditing,id:e})},[t]),r=n.useCallback(()=>{t({type:I.actions.toggleEditing})},[t]);Object.assign(e,{resetRowEditing:l,toggleRowEditing:a,toggleEditing:r})}I.actions.resetRowEditing="resetRowEditing",I.actions.toggleRowEditing="toggleRowEditing",I.actions.toggleEditing="toggleEditing";const Xu=(e,t)=>{const n=[],l=[];if(e){let a=e.filter(e=>!!e&&"boolean"!=typeof e);t&&(a=a.filter(e=>void 0===e.visible||("function"==typeof e.visible?e.visible(t):e.visible))),a.forEach(e=>{e.showOnRow?n.push(e):l.push(e)})}return[n,l]},Zu=(e,t)=>({"aria-label":"function"==typeof e.tooltip?e.tooltip(t):e.tooltip,disabled:"function"==typeof e.disabled?e.disabled(t):e.disabled,onClick:n=>{e.onClick(t,n)}}),ed=()=>(n.useEffect(()=>{const e=e=>{var t,n;"Escape"===e.key&&null!==(t=e.target)&&void 0!==t&&null!==(n=t.form)&&void 0!==n&&n.reset&&(e.preventDefault(),e.target.form.reset())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[]),n.createElement("div",{className:"-mt-1 -mb-1 h-8 flex"},n.createElement(ir,{appearance:"primary",icon:"tick",type:"submit",className:"mr-2"}),n.createElement(ir,{appearance:"ghost",icon:"close",type:"reset"})));function td(e,t){if(t.type===I.actions.init)return{draggingRowIndexPath:null,...e};if(t.type===I.actions.resetRowDragging)return{...e,draggingRowIndexPath:null};if(t.type===I.actions.toggleRowDragging){const{indexPath:n}=t;return{...e,draggingRowIndexPath:n}}return e}I.actions.resetRowDragging="resetRowDragging",I.actions.toggleRowDragging="toggleRowDragging";const nd=(e,{instance:t})=>{var n;e.toggleRowDragging=()=>{t.dispatch(t.state.draggingRowIndexPath===e.id?{type:I.actions.resetRowDragging}:{type:I.actions.toggleRowDragging,indexPath:e.id})},e.isDragging=!(!t.state.draggingRowIndexPath||t.state.draggingRowIndexPath!==e.id&&(null===(n=t.state.selectedRowIds)||void 0===n||!n[e.id]))},ld=e=>[{id:"draggable",className:"yt-table__cell--draggable flex-col px-0",Cell:()=>n.createElement(za,{name:"drag",className:"text-grey-700 invisible w-[20px] cursor-grab"}),flex:"0 0 20px"},...e],ad=10,rd=(e,t)=>{var l;const{children:a,data:r,onRowClick:o,onRowDrag:i,onSelectedRows:s,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,selectedRows:m,disableSorting:g,manualSorting:f,onSort:h,sortRules:v,disablePagination:p=!0,length:b,onPaginate:E,pageSize:x=ad,pageIndex:y=0,inlineEditingUniqueId:z,onRowCreate:R,actions:C,onRowEdit:S,onRowCopy:N,onRowDelete:O,onRowActive:L,windowed:H=!1,...M}=e;if(s&&!m||!s&&m)throw new Error("Selected rows in a Table component are fully controlled - you must pass both the `onSelectedRows` and `selectedRows` props when using row selection");const{texts:k,locale:V}=mr(),{columns:j,sortRules:T}=n.useMemo(()=>_u(a,u),[a,u]),D=!p&&!!E&&!!b,{headerGroups:F,rows:P,sortedRows:B,prepareRow:_,state:G,page:q,gotoPage:$,setPageSize:K,...U}=I.useTable({columns:j,data:r,initialState:{sortBy:Gu(v)||T,pageSize:p?void 0:x,pageIndex:p?void 0:y},manualPagination:D,pageCount:D&&b?Math.ceil(b/x):-1,manualSortBy:f,disableSortBy:g,autoResetExpanded:!1,autoResetSelectedRows:!1,autoResetSortBy:!1,autoResetPage:!1,sortTypes:n.useMemo(()=>(e=>({datetime:(e,t,n)=>{const l=qu(e.values[n]),a=qu(t.values[n]);return Wu(l,a)},string:(t,n,l)=>{const a=Ku(t.values[l]),r=Ku(n.values[l]);return Ju(a,r,e)},number:(e,t,n)=>{const l=$u(e.values[n]),a=$u(t.values[n]);return Wu(l,a)},boolean:(e,t,n)=>Wu(!!e.values[n],!!t.values[n]),auto:(t,n,l)=>{const a=Uu(t.values[l]),r=Uu(n.values[l]);return"string"==typeof a&&"string"==typeof r?Ju(a,r,e):Wu(a,r)}}))(V),[]),useControlledState:e=>n.useMemo(()=>({...e,selectedRowIds:m||[]}),[e,m])},I.useRowState,I.useSortBy,I.useExpanded,I.usePagination,(e=>{const t=t=>{if(I.useRowSelect(t),e){const l=(t,n)=>e(e=>{const l={...e};return n?l[t]=!0:delete l[t],l});t.prepareRow.push(e=>{e.toggleRowSelected=()=>l(e.id,!e.isSelected)});const a=n.useRef();t.visibleColumns.push(t=>[{id:"selection",Header:({getToggleAllRowsSelectedProps:t,rows:l})=>{const{...a}=t();return n.createElement(Cr,Object.assign({},a,{onChange:t=>{e(t?Object.assign({},Array(l.length).fill(!0)):{})}}))},Cell:({row:e,rows:t})=>{const{...r}=e.getToggleRowSelectedProps(),o=t.findIndex(t=>t.index===e.index);return n.createElement(Cr,Object.assign({},r,{className:"!mt-2.5",onClick:n=>{if(n.shiftKey){const[e,n]=[(s=o)<(i=a.current||0)?s:i,s>i?s:i];for(let a=e;a<=n;a++)l(t[a].id,!0)}else l(e.id,!r.checked);var i,s;a.current=o},onChange:()=>!1}))},flex:"0 0 36px",className:"flex-col justify-start !py-0"},...t])}};return t.pluginName="useRowSelect",t})(s),(e=>{const t=t=>{e&&(t.stateReducers.push(td),t.prepareRow.push(nd),t.visibleColumns.push(ld),t.getRowProps.push((e=>(t,{instance:n,row:l})=>[t,{draggable:!0,onDragStart:t=>{t.persist(),l.toggleRowDragging();const a=[l.id,...Object.keys(n.state.selectedRowIds)],r=n.rows.filter(e=>a.includes(e.id)).map(Bu);e(r,e=>{const n=window.document.createElement("div");n.id="yt-table__drag__placeholder",n.innerText=e,window.document.body.appendChild(n),"function"==typeof DataTransfer.prototype.setDragImage&&t.dataTransfer.setDragImage(n,0,20)},t)},onDragEnd:()=>{const e=document.getElementById("yt-table__drag__placeholder");e&&e.parentNode&&e.parentNode.removeChild(e),l.toggleRowDragging()}}])(e)))};return t.pluginName="useRowDraggable",t})(i),(e=>{const t=t=>{e&&(t.stateReducers.push(Yu),t.useInstance.push(Qu),t.prepareRow.push((e=>(t,{instance:n})=>{const l=t.original[e];t.toggleRowEditing=()=>{n.state.editingRowUniqueId===l?n.resetRowEditing():n.toggleRowEditing(l)},t.isEditing=t.original._createKey?n.state.editingRowUniqueId===t.original._createKey:n.state.editingRowUniqueId===l,t.canEdit=n.state.allowEditing&&(t.isEditing||!n.state.editingRowUniqueId)})(e)))};return t.pluginName="useRowEditing",t})(z),((e,t,l,a,r,o=!1)=>{const i=!!e,s=((e,t,n)=>{const[l,a]=Xu(n);let r=l.length+(a.length?1:0);return t.onRowCreate&&r++,t.onRowCopy&&r++,t.onRowDelete&&r++,(e||t.onRowEdit)&&(r++,r<2&&r++),r})(e,t,l),c=c=>{((e,t,n)=>!!n||t.onRowCreate||t.onRowCopy||t.onRowDelete||!!e||t.onRowEdit)(e,t,l)&&c.visibleColumns.push(e=>[...e,{id:"_actions",className:"flex justify-end px-1 overflow-visible",flex:`0 0 calc((${s} * 2rem) + .5rem)`,Cell:({row:e})=>{if(e.isEditing)return n.createElement(ed,null);const s=Bu(e,a),[c,u]=Xu(l,s),d=n.createElement(n.Fragment,null,t.onRowCreate&&n.createElement(ir,{appearance:"discrete",icon:"circle-plus","aria-label":r.table.newSubRow,tooltip:r.table.newSubRow,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),n.persist(),e.setActive(),e.isExpanded||e.toggleRowExpanded(),t.onRowCreate(s,n)}}),(i||t.onRowEdit)&&n.createElement(ir,{appearance:"discrete",icon:"edit","aria-label":r.table.edit,tooltip:r.table.edit,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),e.setActive(),i?e.toggleRowEditing():t.onRowEdit&&(n.persist(),t.onRowEdit(s,n))}}),t.onRowCopy&&n.createElement(ir,{appearance:"discrete",icon:"copy","aria-label":r.table.copy,tooltip:r.table.copy,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),n.persist(),e.setActive(),t.onRowCopy(s,n)}}),t.onRowDelete&&n.createElement(ir,{appearance:"discrete",icon:"delete","aria-label":r.table.del,tooltip:r.table.del,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),n.persist(),e.setActive(),t.onRowDelete(s,n)}}),c.map((e,t)=>n.createElement(ir,Object.assign({},Zu(e,s),{key:t,appearance:"discrete",icon:"function"==typeof e.icon?e.icon(s):e.icon,tooltip:"function"==typeof e.tooltip?e.tooltip(s):e.tooltip}))),u.length?n.createElement(ki,null,n.createElement(ki.Trigger,null,n.createElement(ir,{appearance:"discrete",icon:"ellipsis-vertical","aria-label":r.table.actions,tooltip:r.table.actions,disabled:i&&!e.canEdit,onClick:t=>{t.stopPropagation(),e.setActive()}})),n.createElement(ki.Content,null,u.map((e,t)=>n.createElement(ki.Item,Object.assign({key:t,icon:"function"==typeof e.icon?e.icon(s):e.icon},Zu(e,s)),"function"==typeof e.text?e.text(s):e.text)))):null);return o?n.createElement("div",{className:"-mt-1 -mb-1 h-8 flex"},d):n.createElement(A.InView,{rootMargin:"100px 0px"},({inView:e,ref:t})=>n.createElement("div",{className:"-mt-1 -mb-1 h-8 flex",ref:t},e?d:null))}}])};return c.pluginName="useRowActions",c})(z,{onRowCreate:R,onRowEdit:S,onRowCopy:N,onRowDelete:O},C,u,k,H));((e,t,l)=>{n.useEffect(()=>{!e&&t&&t(l.pageIndex,l.pageSize)},[l.pageIndex,l.pageSize])})(p,E,G),((e,t,l,a,r)=>{n.useEffect(()=>{if(l){const n=r.sortBy.map(e=>({accessor:e.id,desc:e.desc}));if(a)l(n);else{let a;n.length&&null!=t&&t.length&&(a=t.map(e=>e.original)),l(n,a||e)}}},[l&&JSON.stringify(r.sortBy),a])})(r,B,h,!!f,G);const W=((e,t)=>{const l=n.useMemo(()=>({toggleAllRowsExpanded:e.toggleAllRowsExpanded,toggleHideAllColumns:e.toggleHideAllColumns,toggleHideColumn:e.toggleHideColumn,toggleEditing:e.toggleEditing,toggleRowEditing:e.toggleRowEditing,resetRowEditing:e.resetRowEditing,toggleRowExpanded:e.toggleRowExpanded,toggleSortBy:e.toggleSortBy}),[]);return n.useEffect(()=>{null!=t&&t.current&&(t.current.instance=l)},[t]),l})(U,t),J=p||D?P:q,[Y,Q,X,Z]=((e,t,l,a)=>{const r=e.dangerouslyHijackGlobalKeyboardNavigation,[o,i]=w.useControllableState({prop:e.activeIndex,defaultProp:void 0!==e.defaultActiveIndex?e.defaultActiveIndex:r?0:void 0,onChange:t=>{var n;void 0!==t&&(null===(n=e.onChangeActiveIndex)||void 0===n||n.call(e,t))}}),s=e=>{var n,s;const c=e.metaKey||e.ctrlKey||e.altKey||e.shiftKey;if(r&&document.activeElement!==a.current&&"search"!==(null===(n=document.activeElement)||void 0===n?void 0:n.getAttribute("type"))&&document.activeElement!==document.body&&"dialog"!==(null===(s=document.activeElement)||void 0===s?void 0:s.getAttribute("role")))return;if(!r&&document.activeElement!==a.current)return;if(void 0!==o){const n=t[o];if(n){const t=Bu(n,l.rowExpansionRenderer);if(l.onRowClick&&"Enter"===e.key)return e.preventDefault(),void l.onRowClick(t);if(n.toggleRowSelected&&" "===e.key)return e.preventDefault(),void n.toggleRowSelected();if(n.toggleRowExpanded){if(n.isExpanded&&"ArrowLeft"===e.key)return e.preventDefault(),void n.toggleRowExpanded();if(!n.isExpanded&&"ArrowRight"===e.key)return e.preventDefault(),void n.toggleRowExpanded()}if(n.toggleRowEditing&&n.canEdit&&!n.isEditing){if(l.onRowCreate&&e.shiftKey&&"n"===e.key)return e.preventDefault(),n.isExpanded||n.toggleRowExpanded(),void l.onRowCreate(t,e);if("e"===e.key)return e.preventDefault(),void n.toggleRowEditing()}if(l.onRowEdit&&"e"===e.key&&!c)return e.preventDefault(),void l.onRowEdit(t,e);if(l.onRowCopy&&"c"===e.key&&!c)return e.preventDefault(),void l.onRowCopy(t,e);if(l.onRowDelete&&"Delete"===e.key&&!c)return e.preventDefault(),void l.onRowDelete(t,e)}}const u=kr(e.key,t.length,o);void 0!==u&&(e.preventDefault(),i(u))};return n.useEffect(()=>(r&&window.addEventListener("keydown",s),()=>{r&&window.removeEventListener("keydown",s)}),[s]),[o,i,e=>{r||s(e.nativeEvent)},()=>{void 0===o&&t.length&&i(0)}]})(e,J,{onRowClick:o,onRowCreate:R,onRowEdit:S,onRowCopy:N,onRowDelete:O,rowExpansionRenderer:u},t);((e,t,l,a)=>{n.useEffect(()=>{if(void 0!==e&&t.length&&a){const n=t[e];if(n){const e=Bu(n,l);a(e)}}},[e,t])})(Y,P,u,L);const ee=n.useCallback((e,t)=>{_(e),e.setActive=()=>Q(t)},[_,Q]);return{rowProps:{activeIndex:Y,setActiveIndex:Q,onRowClick:o,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,inlineEditingUniqueId:z},tableProps:{...M,headerGroups:F,onFocus:Z,onKeyDown:X,tabIndex:null!==(l=M.tabIndex)&&void 0!==l?l:0},state:G,pagination:p?null:{length:D&&b?b:r.length,pageIndex:G.pageIndex,pageSize:G.pageSize,setPageIndex:$,setPageSize:K},rows:J,prepareRow:ee,instance:W}},od=(e,t)=>{const a={...e.getCellProps(),className:l("yt-table__cell flex-1 truncate p-2 align-middle",e.column.className,{"justify-start text-left":"left"===e.column.align,"justify-end text-right":"right"===e.column.align,"text-center":!e.column.align}),style:{...e.column.style,flex:"function"==typeof e.column.flex?e.column.flex(t):e.column.flex}};return n.createElement("div",Object.assign({},a,{role:"gridcell","data-taco":"table-cell"}),e.render("Cell")||null)},id=n.forwardRef((function({row:e,index:t,instance:a,...r},o){const{activeIndex:i,onRowClick:s,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,setActiveIndex:m,style:g,inlineEditingUniqueId:f}=r,h=Bu(e,u),p={...e.getRowProps(),style:{...g,minHeight:d?d+"px":void 0,paddingLeft:e.depth?2*e.depth+"rem":void 0},className:l("yt-table__row border-grey-300 flex border-b min-h-[2.5rem] hover:bg-grey-100",{"yt-table__row--active bg-grey-200 hover:bg-grey-200":i===t,"yt-table__row--clickable":!!s,"yt-table__row--dragging":!!e.isDragging,"yt-table__row--editing":!!e.isEditing},"function"==typeof c?c(h):c),onClick:s?e=>{(e.target===e.currentTarget||e.target.classList.contains("yt-table__cell"))&&(e.preventDefault(),e.persist(),m(t),s(h))}:()=>{m(t)}};let w=e.cells;e.depth>0&&(w=e.cells.filter(e=>!e.column.hiddenOnSubRows));const b=u&&e.isExpanded&&n.createElement("div",null,u(h,a)),E=n.useMemo(()=>n.createElement(n.Fragment,null,n.createElement(v.FocusScope,{key:e.original._createKey,contain:!0,restoreFocus:!0,autoFocus:!0},n.createElement("div",Object.assign({},p,{role:"row",ref:o}),n.createElement("input",{type:"hidden",name:"_rowIndexPath",value:e.id}),n.createElement("input",{type:"hidden",name:"_inlineEditingUniqueId",value:e.original[f]}),w.map(e=>od(e,h)))),b),[e.original._createKey]);return e.isEditing?E:n.createElement(n.Fragment,null,n.createElement("div",Object.assign({},p,{role:"row",ref:o}),w.map(e=>od(e,h))),b)})),sd=({cell:e})=>{const t={...e.getHeaderProps(),...e.getSortByToggleProps&&e.getSortByToggleProps({title:void 0}),className:l("yt-table__cell flex flex-1 truncate p-2 align-middle text-grey-700 hover:text-black",e.className,{"yt-table__cell__group":!!e.columns,"cursor-pointer":!e.disableSorting,"justify-start text-left":"left"===e.align,"justify-end text-right":"right"===e.align,"justify-center text-center":"center"===e.align||!e.align}),style:{...e.style,flex:e.flex}};return e.isSorted&&(t["aria-sort"]=e.isSortedDesc?"descending":"ascending"),n.createElement("div",Object.assign({},t,{key:e.id,"data-taco":"table-column"}),n.createElement("span",{className:"truncate"},e.render("Header")),e.isSorted?n.createElement(za,{name:e.isSortedDesc?"chevron-down-solid":"chevron-up-solid",className:"-mt-0.5"}):null)},cd=()=>null,ud=n.forwardRef((function(e,t){const a=$a(t),{autoFocus:r,children:o,headerGroups:i,headerRef:s,bodyRef:c,...u}=e;n.useEffect(()=>{r&&a.current&&a.current.focus()},[]);const d=l("yt-table flex flex-col focus:yt-focus focus:rounded-sm",e.className);return n.createElement("div",Object.assign({},u,{role:"table",className:d,ref:a}),n.createElement("div",{role:"rowgroup",className:"yt-table__head",ref:s},null==i?void 0:i.map((e,t)=>n.createElement("div",{key:t,role:"row",className:"border-grey-300 flex h-auto min-h-[2.5rem] w-full select-none border-b-2 border-t-0 font-bold"},e.headers.map((e,t)=>n.createElement(sd,{key:t,index:t,cell:e}))))),n.createElement("div",{role:"rowgroup",className:"yt-table__body",ref:c},o))})),dd=n.forwardRef((function(e,t){const{emptyStateRenderer:l=cd,...a}=e,r=$a(t),{rowProps:o,tableProps:i,rows:s,prepareRow:c,pagination:u,instance:d}=rd(a,r);let m;return u&&(m=n.createElement(Qi,{className:"my-4 w-full",length:u.length,pageIndex:u.pageIndex,pageSize:u.pageSize,setPageIndex:u.setPageIndex,setPageSize:u.setPageSize,showPageControls:u.length>u.pageSize,dangerouslyHijackGlobalKeyboardNavigation:e.dangerouslyHijackGlobalKeyboardNavigation})),n.createElement(n.Fragment,null,m,n.createElement(ud,Object.assign({},i,{ref:r}),s.length?s.map((e,t)=>(c(e,t),n.createElement(id,Object.assign({},o,{key:t,index:t,row:e,instance:d,headerGroups:i.headerGroups})))):l()),m)}));dd.Column=()=>null,dd.Group=()=>null;const md=n.forwardRef((function(e,t){return n.createElement(dd,Object.assign({},e,{disablePagination:!1,ref:t}))}));md.Column=()=>null,md.Group=()=>null;const gd=n.memo(({data:e,index:t,style:{...l}})=>{const{texts:a}=mr(),{rows:r,setRowHeight:o,rowProps:i,tableProps:s,instance:c,prepareRow:u,rowHeights:d}=e,m=r[t],g=n.useRef(null);return n.useEffect(()=>{null!=g&&g.current&&o(t,g.current.getBoundingClientRect().height)},[d[t]]),m?(u(m,t),n.createElement(id,Object.assign({},i,{style:l,key:t,index:t,row:m,instance:c,headerGroups:s.headerGroups,setRowHeight:o,ref:g}))):n.createElement("div",{className:"yt-table__row",role:"row",style:l},n.createElement("div",{className:"yt-table__cell text-grey-300"},a.table.loading))},L.areEqual),fd=(e={})=>{const t=Object.keys(e);return t.reduce((t,n)=>t+e[n],0)/t.length},hd=n.forwardRef((function(e,t){const a=$a(t),{emptyStateRenderer:r=cd,length:o,loadMore:i,...s}=e,{rowProps:c,tableProps:u,rows:d,prepareRow:m,instance:g,state:f}=rd({...s,windowed:!0},a),h=n.useRef(null),[v,p]=n.useState(null),w=Ar(a),b=Ar(h),E=w&&b?w.height-b.height:null,x=c.rowHeight||40,y=n.useRef({}),z=n.useCallback((e,t)=>{y.current[e]!==t&&(y.current={...y.current,[e]:t},v&&v.resetAfterIndex(0))},[]),R=n.useCallback(e=>y.current[e]||x,[]);n.useEffect(()=>{v&&void 0!==c.activeIndex&&v.scrollToItem(c.activeIndex,"start")},[v,c.activeIndex]),n.useEffect(()=>{y.current={},v&&v.resetAfterIndex(0)},[d.length]);const C=l(u.className,"yt-table--windowed",{"table-with-scrollbar":null!==E&&(x*e.data.length||0)>E});let S;if(E&&d.length){const e={height:E,itemData:{rows:d,setRowHeight:z,rowProps:c,tableProps:u,instance:g,prepareRow:m,state:f,rowHeights:y.current},estimatedItemSize:fd(y.current),itemSize:R,width:"100%"};S=i&&o?n.createElement(H,{isItemLoaded:e=>!!d[e],itemCount:o,loadMoreItems:i},({onItemsRendered:t,ref:l})=>n.createElement(L.VariableSizeList,Object.assign({},e,{itemCount:o,onItemsRendered:t,ref:e=>{l(e),p(e)}}),gd)):n.createElement(L.VariableSizeList,Object.assign({},e,{itemCount:d.length,ref:e=>{p(e)}}),gd)}return n.createElement(ud,Object.assign({},u,{className:C,headerRef:h,ref:a}),S||r())}));hd.Column=()=>null,hd.Group=()=>null;const vd=e=>{var t;return null!==(t=null==e?void 0:e.split(".").map(Number))&&void 0!==t?t:[]},pd=(e,t)=>{if(!t)return;const n=[...e],l=vd(String(t));if(l.length){const e=l.shift();return l.reduce((e,t)=>{var n;return null==e||null===(n=e.subRows)||void 0===n?void 0:n[t]},n[e])}},wd=e=>{let t;if(e){const n=vd(e);n.pop(),n.length&&(t=n.join("."))}return t},bd=(e,t,n={})=>{const l=JSON.parse(JSON.stringify(e));let a;if(t){var r;const e=vd(t),o=pd(l,e.join(".")),i=null!==(r=null==o?void 0:o.subRows)&&void 0!==r?r:[],s=e.map(e=>`[${e}]`).join(".subRows")+".subRows";i.unshift(n),M(l,s,i),e.push(0),a=e.join(".")}else l.unshift(n),a="0";return[l,a]},Ed=(e,t)=>{const n=JSON.parse(JSON.stringify(e)),l=vd(t),a=Number(l.shift());if(l.length){const e=l.map(e=>`subRows[${e}]`).join(".");k(n[a],e),l.pop();const t=l.length?l.map(e=>`subRows[${e}]`).join(".")+".subRows":"subRows";M(n[a],t,j(V(n[a],t)))}else T(n,a);return n};function xd(e){const{onGoto:t,trigger:l,...a}=e,{texts:r}=mr();return n.createElement(ho,Object.assign({},a,{anchor:l}),n.createElement(ho.Content,null,n.createElement(rc,{"aria-label":r.table3.columns.menu.gotoRow,name:"query",onSearch:e=>t(e),onKeyDown:e=>e.stopPropagation(),placeholder:r.table3.columns.menu.gotoRow+"..."})))}function yd(e,t,n,l=!1){var a;const r=null==t?void 0:t.closest('[role="row"]'),o=l?70:0;if(!r)return null;const i=null!==(a=Array.from(r.children))&&void 0!==a?a:[],s=i.indexOf(t);if(-1===s)return null;let c=0;const u=e.getBoundingClientRect(),d=t.getBoundingClientRect(),m=d.right>u.right-o,g=d.left<u.left;if(-1!==n&&s>n){var f;const t=null===(f=i[n])||void 0===f?void 0:f.getBoundingClientRect();if(t.right>d.left)return c=e.scrollLeft-(t.right-d.left),c;if(m)return c=e.scrollLeft+(d.right-u.right+0)+o,c}else{if(g)return c=e.scrollLeft-(u.left-d.left),c;if(m)return c=e.scrollLeft+(d.right-u.right+0)+o,c}return null}function zd(e,t){return!Ud(t.id)&&!!(e.options.meta.rowGoto.isEnabled&&t.column.getCanSort()&&t.column.getIsSorted())}function Rd(e,t){var n;return!Ud(t.id)&&(!(null===(n=t.column.columnDef.meta)||void 0===n||!n.menu)||!!e.options.meta.columnFreezing.isEnabled||!!e.options.enableHiding&&!!t.column.getCanHide()||zd(e,t))}function Cd(e){const{canFreeze:t,canHide:a,canSort:r,index:o,menu:i,onGoto:s,onHide:c,onSortToggle:u,scrollToIndex:d,sortDirection:m,table:g}=e,f=g.options.meta,{texts:h}=mr(),[v,p]=n.useState(void 0),[w,b]=n.useState(m),E=n.useRef(null);n.useEffect(()=>{const{frozenColumnIndex:e=-1,frozenInternalColumnCount:t=0}=f.columnFreezing,n=Xa("g",()=>{if(s){var n;const l=f.tableRef.current,a=e>-1?e+t:t-1,r=null===(n=E.current)||void 0===n?void 0:n.closest('[role="columnheader"]');if(!l||!r)return;const o=yd(l,r,a);null!==o&&(l.scrollLeft=o)}},!1);return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[f.columnFreezing.frozenColumnIndex,s]);const x=e=>{b(e),u(e)};let y;if(v){const e=()=>p(void 0);switch(v){case"goto":if(s){const t=function(t){try{const n=Hs((function(){return Ls((function(){return Promise.resolve(s(t)).then((function(e){f.rowActive.setRowActiveIndex(e),d(e+2,{align:"center"})}))}),(function(){}))}),(function(t,n){if(e(),t)throw n;return n}));return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};y=l=>n.createElement(xd,Object.assign({},l,{open:!0,onChange:e,onGoto:t}))}}}const z=l("-my-0.5 -mr-1 -ml-0.5 !h-6 !min-h-[theme(spacing.6)] flex-shrink-0 justify-end !w-0 !min-w-0 !overflow-hidden","aria-expanded:!min-w-[theme(spacing.6)] aria-expanded:!w-6 aria-expanded:!overflow-auto","focus:!min-w-[theme(spacing.6)] focus:!w-6 focus:!overflow-auto","group-hover/column:!min-w-[theme(spacing.6)] group-hover/column:!w-6 group-hover/column:!overflow-auto",{"!w-6 !min-w-[theme(spacing.6)] !overflow-auto":!!y},e.className),R=n.useMemo(()=>{const e=[];if(a&&e.push(n.createElement(ki.Item,{icon:"eye-off",onClick:e=>setTimeout(()=>c(e),1)},h.table3.columns.menu.hideColumn)),r&&e.push(n.createElement(ki.Item,{icon:"sort-by",subMenu:()=>n.createElement(ki.SubMenu,null,n.createElement(ki.RadioGroup,{onChange:x,value:w},n.createElement(ki.RadioGroup.Item,{value:Id.ASC},h.table3.columns.menu.sortingOrder.ascending),n.createElement(ki.RadioGroup.Item,{value:Id.DESC},h.table3.columns.menu.sortingOrder.descending),n.createElement(ki.RadioGroup.Item,{value:!1},h.table3.columns.menu.sortingOrder.unsorted)))},h.table3.columns.menu.sorting)),s&&e.push(n.createElement(ki.Item,{icon:"move",onClick:()=>p("goto"),shortcut:"g"},h.table3.columns.menu.gotoRow,"...")),t){const t=o-f.columnFreezing.frozenInternalColumnCount;e.push(n.createElement(ki.Item,{icon:"column-freeze",onClick:()=>f.columnFreezing.setFrozenColumnIndex(t)},0===t?h.table3.columns.menu.freezeFirstColumn:h.table3.columns.menu.freezeUptoColumn.replace("[TOTAL]",String(t+1)))),void 0!==f.columnFreezing.frozenColumnIndex&&e.push(n.createElement(ki.Item,{icon:"column-unfreeze",onClick:()=>{f.columnFreezing.setFrozenColumnIndex(void 0)}},h.table3.columns.menu.unfreezeColumns))}if(i){const t=i({trigger:void 0}),l=n.Children.toArray(t.props.children.props.children);l.length&&(e.length&&e.push(n.createElement(ki.Separator,null)),e.push(...l))}return e.map((e,t)=>n.cloneElement(e,{key:t}))},[i,o,t,a,r,s,u,m,f.columnFreezing.frozenColumnIndex]);return n.createElement(ir,{className:z,icon:"more",menu:y?void 0:e=>n.createElement(ki,Object.assign({},e),n.createElement(ki.Content,null,R)),popover:y,onClickCapture:e=>e.preventDefault(),ref:E})}function Sd(e){const{isResizing:t,onResize:a}=e,{texts:r}=mr(),o=n.createElement("div",{className:l("invisible absolute right-0 top-0 -mr-2 flex h-full w-4 cursor-col-resize touch-none select-none justify-center rounded py-0.5 group-hover/column:visible",'[[role="columnheader"]:last-child>&]:!mr-0 [[role="columnheader"]:last-child>&]:w-2',{"!visible":t}),onClick:e=>{e.stopPropagation(),e.preventDefault()},onMouseDown:a,onTouchStart:a},n.createElement("div",{className:l("h-full w-1 rounded",{"!bg-blue-500":t,"bg-grey-500 hover:bg-grey-700":!t})}));return t?o:n.createElement(nr,{placement:"top",title:r.table3.columns.resize.tooltip},o)}const Nd={asc:n.createElement(za,{name:"chevron-up-solid",className:"pointer-events-none -my-0.5"}),desc:n.createElement(za,{name:"chevron-down-solid",className:"pointer-events-none -my-0.5"})};function Od(e){var t;return null!==(t=Nd[e.direction])&&void 0!==t?t:null}const Ad={asc:"ascending",desc:"descending"},Id={ASC:"asc",DESC:"desc"};function Ld(e){const{children:t,column:l,header:a,hasSeparator:r,scrollToIndex:o,table:i}=e,s=i.options.meta,c=n.useMemo(()=>l.columnDef.meta,[]),u=l.getCanSort(),d=zd(i,a),m=n.useMemo(()=>a.column.getToggleVisibilityHandler(),[]),g=n.useMemo(()=>a.getResizeHandler(),[]),f=n.useMemo(()=>a.column.getToggleSortingHandler(),[]),h=n.useCallback(e=>{!1===e?a.column.clearSorting():a.column.toggleSorting(e===Id.DESC)},[]),v=i.getState().sorting,p=i.getState().columnFilters,w=i.getState().globalFilter,b=n.useMemo(()=>{if(d)return e=>{var t,n;return null===(t=(n=s.rowGoto).handleGoto)||void 0===t?void 0:t.call(n,a.id,e,v,p,w)}},[d,JSON.stringify(v),JSON.stringify(p),w]),E={align:c.align,canFreeze:s.columnFreezing.isEnabled,canHide:l.getCanHide(),canResize:l.getCanResize(),canSort:u,children:null!=t?t:c.header,colSpan:a.colSpan,hasMenu:Rd(i,a),hasSeparator:r,id:a.id,index:a.index,isFrozen:Wd(a,i),isPlaceholder:a.isPlaceholder,isPrinting:s.printing.isPrinting,isResizing:l.getIsResizing(),length:i.getRowModel().rows.length,meta:c,onGoto:b,onHide:m,onResize:g,onSort:f,onSortToggle:h,scrollToIndex:o,sortDirection:l.getIsSorted(),table:i};return n.createElement(Hd,Object.assign({},E))}function Hd(e){var t;const{align:a,children:r,canFreeze:o,canHide:i,canResize:s,canSort:c,colSpan:u,hasMenu:d,hasSeparator:m,id:g,index:f,isFrozen:h,isPlaceholder:v,isPrinting:p,isResizing:w,length:b,meta:E,onGoto:x,onHide:y,onResize:z,onSort:R,onSortToggle:C,scrollToIndex:S,sortDirection:N,table:O}=e,A=l("font-bold border-b-2 box-content group/column relative",'[[role="table"][data-resizing="true"]_&]:pointer-events-none',"px-[var(--table3-cell-padding-x)]",{"!border-white":v,"h-10 items-center sticky":!p,"pb-2":p,"cursor-pointer select-none":c,"hover:bg-grey-100":!v&&(c||s||d),"focus-within:bg-grey-100":d,"!pointer-events-all !bg-grey-100":!v&&w,"z-10 hover:z-20":!h&&!w,"z-20":!h&&w,"!z-30 hover:!z-40":h,"!z-40":h&&w},u>1?"col-span-"+u:"",E.headerClassName),[I,L]=n.useState(null);return n.useLayoutEffect(()=>{if(I&&b){if(Ud(g))return;O.setColumnSizing(e=>({...e,[g]:I.getBoundingClientRect().width}))}},[I,b]),O.options.debugAll&&console.log("header render",g),n.createElement("div",Object.assign({},c?function(e,t){var n;return{"aria-sort":null!==(n=Ad[t])&&void 0!==n?n:"none",onClick:t=>{!t.isDefaultPrevented()&&t.currentTarget.contains(t.target)&&(t.preventDefault(),e(t))}}}(R,N):void 0,{className:A,"data-align":a,"data-column-index":f,role:"columnheader",ref:L}),v?null:n.createElement(n.Fragment,null,Ud(g)?r:n.createElement(nr,{title:String(null!==(t=null==E?void 0:E.tooltip)&&void 0!==t?t:r),placement:"top"},n.createElement("span",{className:l({truncate:!p})},r)),c?n.createElement(Od,{direction:N}):null,d?n.createElement(Cd,{canFreeze:o,canHide:i,canSort:c,className:l({"ml-auto":"right"!==a,"ml-2":"right"===a}),index:f,menu:E.menu,onGoto:x,onHide:y,onSortToggle:C,scrollToIndex:S,sortDirection:N,table:O}):null),m?n.createElement(Md,null):null,!v&&s?n.createElement(Sd,{isResizing:w,onResize:z}):null)}function Md(){return n.createElement("div",{"data-taco":"header-separator",className:l("invisible absolute right-[0.5px] top-0 flex h-full w-2 touch-none select-none justify-center py-2 group-hover/header:visible")},n.createElement("div",{className:l("bg-grey-300 h-full w-[1px]")}))}const kd=n.createContext({isHovered:!1,setIsHovered:()=>{},rowIndex:0,hasError:!1}),Vd=()=>n.useContext(kd),jd=e=>{const{current:t,frozenColumnIndex:a,index:r,tableRef:o,...i}=e,{hasError:s}=Vd(),c=n.useRef(null),u=l("h-full flex [justify-content:inherit] [text-align:inherit]",e.className,{"bg-blue-200/25":!t&&!s,"bg-blue-200/75":t&&!s,"bg-[#eaeaf5]":!t&&s,"bg-[#dadaf5]":t&&s});return n.useEffect(()=>{c.current&&t&&function(e,t,n,l){if(void 0!==t&&e>t){const e=Jd(t,l),a=null==n?void 0:n.getBoundingClientRect(),r=null==e?void 0:e.getBoundingClientRect();if(a&&r&&a.left<r.left+r.width){const e=r.left+r.width;null==l||l.scrollTo(a.left-e,l.scrollTop)}}else n.scrollIntoView({block:"nearest",inline:"nearest"})}(r,a,c.current,o.current)},[t]),n.createElement("div",Object.assign({},i,{"data-taco":"highlight",className:u,ref:c}))};function Td(e){const{cell:t,className:a,column:r,value:o,index:i,row:s,table:c,tableRef:u,highlighted:d,highlightedAsCurrent:m}=e,g=n.useMemo(()=>r.columnDef.meta,[]),f=c.options.meta,h=n.useMemo(()=>{var n,r,d,m;return{align:g.align,children:null!==(n=null!==(r=null!==(d=e.children)&&void 0!==d?d:null===(m=g.renderer)||void 0===m?void 0:m.call(g,o,s.original))&&void 0!==r?r:o)&&void 0!==n?n:null,className:l(a,"function"==typeof g.className?g.className(s.original):g.className),data:s.original,debug:c.options.debugAll,enableTruncate:g.enableTruncate,frozenColumnIndex:f.columnFreezing.frozenColumnIndex,id:t.id,index:i,tableRef:u}},[s.original,e.children,o,f.columnFreezing.frozenColumnIndex,a]);return n.createElement(Dd,Object.assign({},h,{highlighted:d,highlightedAsCurrent:m}))}const Dd=n.memo((function(e){const{align:t="left",children:a,className:r,debug:o,enableTruncate:i,frozenColumnIndex:s,highlighted:c,highlightedAsCurrent:u=!1,id:d,index:m,tableRef:g}=e,f=l("py-[var(--table3-cell-padding-y)] px-[var(--table3-cell-padding-x)] focus:outline-none break-word hyphens-auto",r),h=c?void 0:f,v=i?n.createElement("span",{className:"truncate"},a):a;return o&&console.log("cell render",d),n.createElement("div",{className:h,"data-align":t,"data-column-index":m,"data-highlighted":c,role:"cell",tabIndex:-1},c?n.createElement(jd,{className:f,current:u,frozenColumnIndex:s,index:m,tableRef:g},v):v)}));function Fd(e){const{column:t,header:l,table:a}=e,r=n.useMemo(()=>t.columnDef.meta,[]),o={align:r.align,id:l.id,index:l.index,isFrozen:Wd(l,a),meta:r,table:a};return n.createElement(Pd,Object.assign({},o))}const Pd=n.memo((function(e){const{align:t,id:a,index:r,isFrozen:o,meta:i,table:s}=e,c=l("sticky bottom-0 border-t-2 font-bold h-10 box-content items-center group/column relative z-10",{"z-30":o});return s.options.debugAll&&console.log("footer render",a),n.createElement("div",{className:c,"data-align":t,"data-column-index":r,role:"columnheader"},"function"==typeof i.footer?n.createElement("span",{className:"flex-grow truncate"},i.footer(s.getRowModel().rows.map(e=>e.original[a]))):null)}));var Bd;!function(e){e.SEARCH="SEARCH",e.SORTING="SORTING",e.FILTER="FILTER"}(Bd||(Bd={}));const _d=({reason:e,columnName:t,mountNode:l,validationErrors:a})=>{const r=n.useMemo(()=>{const e=document.createElement("div");return e.className+="rounded-b-md items-center wcag-blue-500 absolute left-0 top-full ml-1 whitespace-nowrap px-1 py-0.5 text-xs font-bold shadow-sm",e},[]),o=(e=>{let t="",n="";const{texts:l}=mr();switch(e){case Bd.FILTER:t=l.table3.editing.rowIndicator.rowWillBeHidden,n=l.table3.editing.rowIndicator.rowWillMoveReasonFilter;break;case Bd.SEARCH:t=l.table3.editing.rowIndicator.rowWillBeHidden,n=l.table3.editing.rowIndicator.rowWillMoveReasonSearch;break;case Bd.SORTING:t=l.table3.editing.rowIndicator.rowWillMove,n=l.table3.editing.rowIndicator.rowWillMoveReasonSorting}return{title:t,description:n}})(e);return n.useEffect(()=>(null==l||l.classList.add("!z-[21]","relative"),null==l||l.appendChild(r),()=>{null==l||l.classList.remove("!z-[21]","relative"),null==l||l.removeChild(r)}),[!!a,l]),D.createPortal(n.createElement(nr,{title:o.description.replace("[COLUMN]",t)},n.createElement("span",{className:"flex gap-1 hover:cursor-pointer"},n.createElement(za,{name:"info",className:"!h-4 !w-4 rounded-full bg-white !p-0 text-blue-500"}),o.title)),r)};function Gd(e,t){return l("!border-blue !border-y-2 border-x-0",{"border-l-2 rounded-l":0===e,"border-r-2 rounded-r":e===t})}function qd(e,t,n){return t===e&&n}const $d=n.memo((function(e){const{actions:t,actionsLength:a,fontSize:r,isActiveRow:o,isEditing:i,isResizingColumn:s,isHoverStatePaused:c,row:u}=e,{isHovered:d}=n.useContext(kd),{texts:m}=mr(),g=n.useRef(null);let f;if(null!=t&&t.length&&!i&&(o||d&&!c&&!s)){const i=t.map(e=>e(u.original)).filter(e=>!!e),s=i.length===a?i:i.slice(0,a-1),c=i.slice(i.length===a?a:a-1),d=l("-mb-2 flex justify-end pl-2 text-right",{"-mt-2":r===exports.FontSizes.small,"-mt-1.5":r!==exports.FontSizes.small},e.className);f=n.createElement("span",{className:d,ref:g},s.map((e,t)=>{var l,a;const r=String(null!==(l=null!==(a=e.props.tooltip)&&void 0!==a?a:e.props["aria-label"])&&void 0!==l?l:"");return n.cloneElement(e,{appearance:"transparent",key:t,tabIndex:o?0:-1,tooltip:e.props.shortcut?n.createElement(n.Fragment,null,r,n.createElement(vi,{className:"ml-2",keys:e.props.shortcut})):r})}),c.length?n.createElement(ir,{appearance:"transparent","aria-label":m.table3.columns.actions.tooltip,icon:"more",tabIndex:o?0:-1,menu:e=>n.createElement(ki,Object.assign({},e),n.createElement(ki.Content,null,c.map((e,t)=>n.createElement(ki.Item,Object.assign({key:t},e.props,{shortcut:e.props.shortcut}),e.props["aria-label"]))))}):null)}return n.createElement(Td,Object.assign({},e),f)}));function Kd(e){const{rowIndex:t}=n.useContext(kd),l=e.table.options.meta,a=e.table.getVisibleLeafColumns(),r=a.length>0?a.length-1:0,o=qd(t,l.rowActive.rowActiveIndex,l.editing.rowMoveReason)?Gd(e.index,r):void 0;return n.createElement($d,Object.assign({},e,{actions:l.rowActions.actionsForRow,actionsLength:l.rowActions.actionsForRowLength,className:o,fontSize:l.fontSize.size,isActiveRow:l.rowActive.rowActiveIndex===t,isEditing:l.editing.isEditing,isResizingColumn:!!e.table.getState().columnSizingInfo.isResizingColumn,isHoverStatePaused:!!l.rowActive.isHoverStatePaused}))}const Ud=e=>e.startsWith("__"),Wd=(e,t)=>{var n;const l=t.options.meta;return!("__actions"===e.column.id||!Ud(e.column.id))||!(!l.columnFreezing.isEnabled||void 0===l.columnFreezing.frozenColumnIndex)&&l.columnFreezing.frozenColumnIndex+(null!==(n=l.columnFreezing.frozenInternalColumnCount)&&void 0!==n?n:0)>=e.index},Jd=(e,t)=>t.querySelector(`[data-current="true"] [data-column-index="${e}"`);function Yd(e,t){return null==e?"":m.isDate(e)?null!==(n=ao(e))&&void 0!==n?n:"":"datetime"===t&&"string"==typeof e?null!==(l=ao(oo(e)))&&void 0!==l?l:"":String(e);var n,l}const Qd=(e="left")=>l({"justify-start text-left":"left"===e,"justify-end text-right":"right"===e,"justify-center text-center":"center"===e}),Xd=is,Zd=()=>l("[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none"),em={enableColumnFreezing:!1,enableColumnHiding:!1,enableColumnOrdering:!1,enableColumnResizing:!1,enableFontSize:!1,enableFooter:!1,enablePrinting:!1,enableRowDrag:!1,enableRowDrop:!1,enableRowExpansion:!1,enableRowGoto:!1,enableRowHeight:!1,enableRowSelection:!1,enableRowSelectionSingle:!1,enableEditing:!1,enableFiltering:!1,enableSearch:!1,enableSorting:!1},tm={display:{enableColumnFreezing:!0,enableColumnHiding:!0,enableColumnOrdering:!0,enableColumnResizing:!0,enableFontSize:!0,enableFooter:!0,enablePrinting:!1,enableRowDrag:!0,enableRowDrop:!0,enableRowExpansion:!0,enableRowGoto:!0,enableRowHeight:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableEditing:!1,enableFiltering:!0,enableSearch:!0,enableSorting:!0},editable:{enableColumnFreezing:!0,enableColumnHiding:!0,enableColumnOrdering:!0,enableColumnResizing:!0,enableFontSize:!0,enableFooter:!0,enablePrinting:!1,enableRowDrag:!0,enableRowDrop:!0,enableRowExpansion:!0,enableRowGoto:!0,enableRowHeight:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableEditing:!0,enableFiltering:!0,enableSearch:!0,enableSorting:!0},card:{enableColumnFreezing:!1,enableColumnHiding:!1,enableColumnOrdering:!1,enableColumnResizing:!1,enableFontSize:!1,enableFooter:!1,enablePrinting:!1,enableRowDrag:!1,enableRowDrop:!1,enableRowExpansion:!1,enableRowGoto:!1,enableRowHeight:!1,enableRowSelection:!1,enableRowSelectionSingle:!1,enableEditing:!1,enableFiltering:!1,enableSearch:!1,enableSorting:!0}};var nm;!function(e){e[e.Contains=0]="Contains",e[e.DoesNotContain=1]="DoesNotContain",e[e.IsEqualTo=2]="IsEqualTo",e[e.IsNotEqualTo=3]="IsNotEqualTo",e[e.IsGreaterThan=4]="IsGreaterThan",e[e.IsLessThan=5]="IsLessThan",e[e.IsBetween=6]="IsBetween",e[e.IsEmpty=7]="IsEmpty",e[e.IsNotEmpty=8]="IsNotEmpty",e[e.IsLessThanOrEqualTo=9]="IsLessThanOrEqualTo",e[e.IsGreaterThanOrEqualTo=10]="IsGreaterThanOrEqualTo",e[e.HasAnyOf=11]="HasAnyOf",e[e.HasAllOf=12]="HasAllOf",e[e.HasNoneOf=13]="HasNoneOf"}(nm||(nm={}));const lm=e=>String(null!=e?e:"").toLocaleLowerCase(),am=(e,t)=>lm(e).includes(lm(t)),rm=(e,t)=>lm(e)===lm(t);function om(e,t){return am(e,t)}function im(e,t){try{if(t.comparator===nm.IsEmpty||t.comparator===nm.IsNotEmpty){const n=null==e||""===e;return t.comparator===nm.IsEmpty?n:!n}if(null==t.value||""===t.value)return!0;switch(t.comparator){case nm.Contains:return am(e,t.value);case nm.DoesNotContain:return!am(e,t.value);case nm.IsEqualTo:return m.isDate(e)?m.isDate(t.value)&&lo(e,t.value):"boolean"==typeof t.value?e===t.value:rm(e,t.value);case nm.IsNotEqualTo:return m.isDate(e)?m.isDate(t.value)&&!1===lo(e,t.value):"boolean"==typeof t.value?e!==t.value:!rm(e,t.value);case nm.IsGreaterThan:if(m.isDate(e))return m.isDate(t.value)&&m.isAfter(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>t.value}case nm.IsLessThan:if(m.isDate(e))return m.isDate(t.value)&&m.isBefore(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<t.value}case nm.IsLessThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isBefore(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<=t.value}case nm.IsGreaterThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isAfter(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>=t.value}case nm.IsBetween:{const[n,l]=t.value;if(m.isDate(e))return!(m.isDate(n)&&m.isBefore(e,n)||m.isDate(l)&&m.isAfter(e,l));{const t=parseInt(e);return!(isNaN(t)||void 0!==n&&t<n||void 0!==l&&t>l)}}case nm.HasAnyOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.some(t=>e.includes(t));case nm.HasNoneOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.every(t=>!1===e.includes(t));case nm.HasAllOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.filter(t=>e.includes(t)).length===t.value.length}return!1}catch(e){return console.error(e),!0}}const sm=["A","BUTTON","INPUT","TEXTAREA","SELECT","DETAILS"].join(", "),cm=(e,t)=>m.isDate(e)&&m.isDate(t)?!lo(e,t):Array.isArray(e)?JSON.stringify(e)!==JSON.stringify(t):e!==t;class um{constructor(){this._value="0"}get value(){return this._value}set value(e){this._value=e}}function dm(e){var t;return e?null===(t=e.closest("[role=cell]"))||void 0===t?void 0:t.getAttribute("data-column-index"):null}const mm={tabbable:!0,accept:e=>!!e.closest('[role="row"][data-current="true"]')};function gm(e){var t,l;const a=v.useFocusManager(),r=e.table.options.meta,o=r.rowActive.rowActiveIndex===e.index,i=r.rowDrag.dragging[e.row.id],s=0===e.index,[c,u]=n.useState(!1),d=!!Object.keys(null!==(t=null===(l=r.validation.errors)||void 0===l?void 0:l[e.row.id])&&void 0!==t?t:{}).length,m={data:e.row.original,"aria-grabbed":!!i||!r.rowDrag.isEnabled&&void 0,"data-current":o,"data-selected":e.row.getIsSelected(),"data-invalid":d,draggable:r.rowDrag.isEnabled,index:e.index,onClick:r.rowClick.handleClick,onDrop:r.rowDrop.isEnabled?r.rowDrop.handleDrop:void 0};let g=n.createElement(bm,Object.assign({},e,m,{onKeyDown:t=>{if(!t.isDefaultPrevented()&&!t.isPropagationStopped()&&"Tab"===t.key){let n;r.rowActive.setHoverStatePaused(!0),t.shiftKey?(n=a.focusPrevious(mm),n?t.preventDefault():s||(t.preventDefault(),r.rowActive.setRowActiveIndex(e.index-1),setTimeout(()=>a.focusLast(mm),1))):(n=a.focusNext(mm),n?t.preventDefault():e.isLastRow||(t.preventDefault(),r.rowActive.setRowActiveIndex(e.index+1),setTimeout(()=>a.focusFirst(mm),1)))}}}));r.editing.isEditing&&(o||c&&!r.rowActive.isHoverStatePaused)&&(g=n.createElement(pm,Object.assign({},e,m,{isFirstRow:s,setActiveRowIndex:r.rowActive.setRowActiveIndex})));const f=n.useMemo(()=>({isHovered:c,setIsHovered:u,rowIndex:e.index,hasError:d}),[c,d,e.index]);return n.createElement(kd.Provider,{value:f},g)}const fm=new um;let hm;const vm=e=>{if(void 0!==hm){var t;const n=new MouseEvent("mouseout",{view:window,bubbles:!0,cancelable:!0}),l=null==e||null===(t=e.current)||void 0===t?void 0:t.querySelector(`[data-row-index="${hm}"]`);null==l||l.dispatchEvent(n)}};function pm(e){const{isFirstRow:t,...l}=e,a=v.useFocusManager(),r=e.table.options.meta;return n.useEffect(()=>{r.rowActive.isHoverStatePaused&&vm(e.tableRef)},[r.rowActive.isHoverStatePaused]),n.useEffect(()=>{if(r.rowActive.rowActiveIndex===e.index&&!r.search.isSearching)if(null!==fm.value){var t;const n=null===(t=e.tableRef.current)||void 0===t?void 0:t.querySelector(`[role="row"][data-current="true"] [data-column-index="${fm.value}"]`),l=null==n?void 0:n.querySelector(sm);if(l)l.focus();else if(n){const e=a.focusFirst(mm);fm.value=dm(e)}}else{const e=a.focusFirst(mm);fm.value=dm(e)}},[r.rowActive.rowActiveIndex,r.search.isSearching]),n.createElement(bm,Object.assign({},l,{onClickCapture:e=>{fm.value=dm(e.target)},onKeyDown:n=>{n.isDefaultPrevented()||n.isPropagationStopped()||r.editing.detailModeEditing||r.shortcutsState.isPaused||((n=>{let l;("ArrowLeft"===n.key||"Tab"===n.key&&n.shiftKey)&&(n.stopPropagation(),n.preventDefault(),r.rowActive.setHoverStatePaused(!0),n.ctrlKey||n.metaKey?(n.target.blur(),l=a.focusFirst(mm),fm.value=dm(l)):(l=a.focusPrevious(mm),l?fm.value=dm(l):t&&n.currentTarget.contains(l)||(n.preventDefault(),r.rowActive.setHoverStatePaused(!0),r.rowActive.setRowActiveIndex(e.index-1),setTimeout(()=>{l=a.focusLast(mm),fm.value=dm(l)},1))))})(n),(t=>{let n;("ArrowRight"===t.key||"Tab"===t.key&&!t.shiftKey)&&(t.stopPropagation(),t.preventDefault(),r.rowActive.setHoverStatePaused(!0),t.ctrlKey||t.metaKey?(t.target.blur(),n=a.focusLast(mm),fm.value=dm(n)):(n=a.focusNext(mm),n?fm.value=dm(n):e.isLastRow||t.currentTarget.contains(n)||(t.preventDefault(),r.rowActive.setHoverStatePaused(!0),r.rowActive.setRowActiveIndex(e.index+1),setTimeout(()=>{n=a.focusFirst(mm),fm.value=dm(n)},1))))})(n))}}))}const wm=["input","button","a","select","option","label","textarea"],bm=n.memo((function(e){const{data:t,index:a,measureRef:r,onClick:o,onClickCapture:i,onDrop:s,row:c,table:u,tableRef:d,...m}=e,g=n.useRef(null),f=u.options.meta,{setIsHovered:h}=Vd();n.useEffect(()=>{var e;const t=null===(e=g.current)||void 0===e?void 0:e.querySelector("[role=cell]:first-child");t&&r(t)},[g.current]);const[v,p]=Fi(e=>null==s?void 0:s(e,c.original)),w=l("group/row contents",'[[role="table"][data-resizing="true"]_&]:pointer-events-none',{"hover:cursor-pointer":"function"==typeof o});return n.createElement("div",Object.assign({},m,s?p:void 0,{className:w,"data-row-index":a,"data-dragged-over":v,onClick:e=>{if("function"==typeof o){var n;const l=e.target;if(null===(n=g.current)||void 0===n||!n.contains(e.target)||wm.includes(l.tagName.toLowerCase())||l.closest(wm.map(e=>"[role=row] "+e).join(",")))return;o(e,t)}},onClickCapture:e=>{"function"==typeof i&&i(e),requestAnimationFrame(()=>f.rowActive.setRowActiveIndex(a))},onMouseEnter:()=>{void 0!==hm?hm!==a&&(vm(d),hm=a):hm=a,h(!0)},onMouseLeave:()=>{hm===a&&(hm=void 0),h(!1)},role:"row",ref:g}))}));var Em,xm,ym;function zm(e,t){switch(t.type){case ym.SET_SAVING_STATUS:return{...e,[t.payload.rowId]:t.payload.state};case ym.SET_SAVING_STATUSES:return{...e,...t.payload.states};case ym.RESET_SAVING_STATUS:{const n={...e};return null==n||delete n[t.payload.rowId],n}default:return e}}!function(e){e.Saving="saving",e.Saved="saved",e.Error="error"}(Em||(Em={})),function(e){e[e.SET_CELL_VALUE=0]="SET_CELL_VALUE",e[e.RESET_CHANGE=1]="RESET_CHANGE"}(xm||(xm={})),function(e){e[e.SET_SAVING_STATUS=0]="SET_SAVING_STATUS",e[e.SET_SAVING_STATUSES=1]="SET_SAVING_STATUSES",e[e.RESET_SAVING_STATUS=2]="RESET_SAVING_STATUS"}(ym||(ym={}));const Rm=n.memo((function(e){var t;const{className:a,editing:r,hasChanges:o,isActiveRow:i,row:s,rowIdentifier:c,table:u}=e,d=r.getSavingStatus(s.id),[m,g]=n.useState(!1),{texts:f}=mr(),[h,v]=n.useState(!1),p=u.getAllFlatColumns().find(e=>e.id===c),w=null==p||null===(t=p.columnDef.meta)||void 0===t?void 0:t.header,b=n.useRef(null),E=u.options.meta,x=ui(3e3,()=>{g(!1),r.resetSavingStatus(s.id)});let y;n.useEffect(()=>{d&&d===Em.Saved&&!m&&(g(!0),x.start())},[d]),n.useEffect(()=>{E.shortcutsState.pause(h)},[h]),d&&(d===Em.Saving?y=n.createElement(nr,{title:f.table3.editing.saving.progress},n.createElement(jr,{delay:0,className:"!text-grey-700 mr-1 !h-5 !w-5"})):m&&(y=n.createElement(nr,{title:f.table3.editing.saving.complete},n.createElement(za,{name:"tick",className:"!text-grey-700 mr-1 !h-5 !w-5"})))),r.isEditing&&i&&(y=n.createElement(n.Fragment,null,y,n.createElement(ir,{ref:b,appearance:"transparent","aria-label":f.table3.editing.actions.tooltip,icon:"more",menu:e=>n.createElement(ki,Object.assign({},e),n.createElement(ki.Content,null,n.createElement(ki.Item,{icon:"tick",disabled:!o,onClick:()=>r.saveChangesIfNeeded()},f.table3.editing.actions.save),n.createElement(ki.Item,{icon:"close",disabled:!o,onClick:()=>v(!0)},f.table3.editing.actions.clear),n.createElement(ki.Item,{icon:"undo",onClick:()=>r.toggleEditing(!1)},f.table3.editing.actions.exit))),tabIndex:i?0:-1}),n.createElement(Oo,{size:"xs",open:h,onClose:()=>{v(!1),requestAnimationFrame(()=>{b.current&&(b.current.focus(),fm.value=dm(b.current))})}},n.createElement(Oo.Content,{"aria-label":f.table3.editing.clearChangesConfirmationDialog.title},n.createElement(Oo.Title,null,f.table3.editing.clearChangesConfirmationDialog.title),n.createElement("p",null,f.table3.editing.clearChangesConfirmationDialog.description.replace("[ROW_IDENTIFIER]",c&&w?w:f.table3.validation.index).replace("[ROW_IDENTIFIER_VALUE]",c&&w?s.original[c]:s.index)),n.createElement(Oo.Footer,null,n.createElement(Ao,null,n.createElement(Oo.Close,null,n.createElement(hr,{tabIndex:0},f.table3.editing.clearChangesConfirmationDialog.cancel)),n.createElement(Oo.Close,null,n.createElement(hr,{tabIndex:0,appearance:"primary",autoFocus:!0,onClick:()=>r.resetChange(s.id)},f.table3.editing.clearChangesConfirmationDialog.confirm))))))));const z=l("flex items-center justify-end text-right",{"-mb-2 -mt-2":i});return n.createElement(Td,Object.assign({},e,{className:l(a,{"!sticky":!!y})}),y?n.createElement("span",{className:z},y):void 0)}));function Cm(e){const{rowIndex:t}=n.useContext(kd),l=e.table.options.meta,a=l.editing.changes?Object.keys(l.editing.changes):[],r=e.table.getVisibleLeafColumns(),o=r.length>0?r.length-1:0,i=qd(t,l.rowActive.rowActiveIndex,l.editing.rowMoveReason)?Gd(e.index,o):void 0;return n.createElement(Rm,Object.assign({},e,{className:i,editing:l.editing,hasChanges:a.indexOf(e.row.id)>=0,isActiveRow:l.rowActive.rowActiveIndex===t}))}const Sm=t.forwardRef((function(e,n){const{onKeyDown:a,...r}=e,o=l(Sr(e),"pt-[5px] pb-[7px] min-h-[75px] disabled:resize-none !leading-5",e.className);return t.createElement("textarea",Object.assign({},r,{className:o,"data-taco":"textarea",onKeyDown:e=>{if(1!==e.key.length||Ya(e)||e.stopPropagation(),"Home"===e.key||"End"===e.key){e.preventDefault();const t="End"===e.key?e.currentTarget.value.length:0;e.currentTarget.setSelectionRange(t,t),e.currentTarget.scrollTop="End"===e.key?e.currentTarget.scrollHeight:0}a&&a(e)},ref:n}))})),Nm={small:{min:24,max:86},medium:{min:32,max:100},large:{min:40,max:140}},Om=n.forwardRef((function(e,t){const{onKeyDown:a,onChange:r,onBlur:o,onFocus:i,column:s,isCellInDetailMode:c,align:u,isActiveRow:d,value:m,fontSize:g,...f}=e,h=Nm[g],v=s.columnDef.meta,p=$a(t);n.useEffect(()=>{null!=p&&p.current&&(null!=v&&v.enableTruncate?(null==p?void 0:p.current).style.height=h.min+"px":w(null==p?void 0:p.current))},[g]),n.useEffect(()=>{if(null!=p&&p.current&&null!=v&&v.enableTruncate){const e=null==p?void 0:p.current;c?w(e):e.style.height=h.min+"px"}},[c]);const w=e=>{const t=e.getBoundingClientRect();null!=v&&v.enableTruncate?t.height<h.max&&(e.style.height="inherit",e.style.height=Math.min(e.scrollHeight,h.max)+"px"):(e.style.height="inherit",e.style.height=e.scrollHeight+"px")},b=l("w-full",{"focus-within:absolute focus-within:left-0 focus-within:top-0 focus-within:z-[9]":null==v?void 0:v.enableTruncate});return n.createElement("div",{"data-taco":"input-container"},n.createElement("div",{style:{minHeight:h.min+"px"},className:"relative"},n.createElement("div",{className:b},n.createElement(Sm,Object.assign({},f,{onChange:e=>{r(e.target.value),w(e.target)},rows:1,onKeyDown:e=>{var t;(t=e).shiftKey&&"Enter"===t.key||a(t)},onBlur:e=>{null!=v&&v.enableTruncate&&(e.currentTarget.style.height=h.min+"px"),o(e)},onFocus:e=>{const t=null==p?void 0:p.current;t&&w(t),i(e)},className:l(Qd(u),"h-fit resize-none overflow-hidden focus:overflow-auto [&:not(:focus)]:whitespace-nowrap",{[`!min-h-[${h.min}px]`]:null==v?void 0:v.enableTruncate,"!yt-focus-dark":c,[`h-[${h.min}px]`]:!c&&(null==v?void 0:v.enableTruncate),"focus:resize-y":d&&(null==v?void 0:v.enableTruncate)}),ref:p,value:String(null!=m?m:"")})))))})),Am=n.forwardRef((function(e,t){var a;const{align:r,column:o,data:i,initialValue:s,onChange:c,table:u,tableRef:d,value:m,cell:g,error:f,...h}=e,v=u.options.meta,p=n.useRef(),w=Oa([p,t]),b=o.columnDef.meta,E=null==b?void 0:b.control,x=v.editing.detailModeEditing&&(null==p||null===(a=p.current)||void 0===a?void 0:a.contains(document.activeElement)),y=g.row.original,z="number"===(null==b?void 0:b.dataType),R=e=>{(e=>{if(Qa(e,{key:"e",meta:!0,shift:!1}))return void v.editing.toggleEditing(!1);const t=e.target;var n,l;if(!t.readOnly)if(!v.editing.detailModeEditing||"ArrowUp"!==e.key&&"ArrowDown"!==e.key||e.stopPropagation(),"Escape"!==e.key)"Enter"!==e.key||(e.preventDefault(),v.editing.detailModeEditing?null==t||null===(n=t.select)||void 0===n||n.call(t):(e=>{var t,n,l;const a="number"===e.type;a&&(e.type="text"),null===(t=e.setSelectionRange)||void 0===t||t.call(e,null===(n=e.value)||void 0===n?void 0:n.length,null===(l=e.value)||void 0===l?void 0:l.length),a&&(e.type="number")})(t),v.editing.setDetailModeEditing(!v.editing.detailModeEditing));else if(e.preventDefault(),v.editing.detailModeEditing){if(v.editing.setDetailModeEditing(!1),m!==s){const e={...v.editing.changes?v.editing.changes[g.row.id]:{},[g.column.id]:s};F.isEqual(g.row.original,e)?v.editing.resetChange(g.row.id):c(s)}}else v.editing.toggleEditing(!1),null===(l=d.current)||void 0===l||l.focus()})(e),/^[a-z0-9]$/i.test(e.key)&&v.editing.setDetailModeEditing(!0)},C=e=>{var t;const{frozenColumnIndex:n=-1,frozenInternalColumnCount:l=0}=v.columnFreezing,a=v.tableRef.current,r=n>-1?n+l:l-1,o=null===(t=e.target)||void 0===t?void 0:t.closest('[role="cell"]');if(!a||!o)return;const i=yd(a,o,r,!0);null!==i&&(a.scrollLeft=i)};if("function"==typeof E)return E({...h,invalid:!!f,onFocus:C,ref:w,setValue:e=>{e!==m&&c(e)},fontSize:v.fontSize.size,value:m},i);if("datepicker"===E){const e=e=>{const t=e.detail;cm(y[g.column.id],t)&&c(t)};return n.createElement(vo,Object.assign({},h,{invalid:!!f,className:l({"[&_input]:!yt-focus-dark":x}),onChange:e,onFocus:C,onKeyDown:R,ref:w,value:m}))}return"switch"===E?n.createElement(vc,Object.assign({},h,{checked:Boolean(m),onChange:c,onFocus:C,ref:w})):"textarea"===E?n.createElement(Om,Object.assign({},e,{invalid:!!f,isCellInDetailMode:x,onFocus:C,onKeyDown:R,ref:w,fontSize:v.fontSize.size})):n.createElement(Mr,Object.assign({},h,{invalid:!!f,className:l(Zd(),Qd(r),{"!yt-focus-dark":x}),onChange:e=>{c(e.target.value)},onFocus:C,onKeyDown:R,ref:w,type:z?"number":void 0,value:z?m:String(null!=m?m:"")}))}));function Im(e){const{cell:t,table:l}=e,{isHovered:a}=Vd(),r=l.options.meta,o=r.validation.getCellError(t);return n.createElement(Lm,Object.assign({},e,{error:o,isHovered:a,tableMeta:r}))}const Lm=n.memo((function(e){var t,a,r,o,i;const{cell:s,column:c,index:u,getValue:d,table:m,tableRef:g,row:f,tableMeta:h,error:v,highlighted:p,highlightedAsCurrent:w}=e,{rowIndex:b}=n.useContext(kd),E=c.columnDef.meta,x=n.useRef(null),y=n.useRef(null),z=null!==(t=h.editing.getCellValue(s))&&void 0!==t?t:d(),R=(null===(a=h.editing.rowMoveReason)||void 0===a?void 0:a[s.column.id])||null,C=m.getRowModel().rows,S=void 0!==h.rowActive.rowActiveIndex&&(null===(r=C[h.rowActive.rowActiveIndex])||void 0===r?void 0:r.id)===f.id,N=n.useMemo(()=>{var e,t;return null!==R&&S&&!v?null===(e=x.current)||void 0===e||null===(t=e.parentElement)||void 0===t?void 0:t.firstChild:null},[R,S,v,x]),O=()=>{h.editing.removeRowMoveReason()};n.useEffect(()=>{if(S){if(!v){if(cm(d(),z)){const e=function(e,t,n,l,a,r){var o;let i=null;const{globalFilter:s}=e.getState();return r&&!Object.values({...n,[l.id]:a}).some(()=>om(String(a),s?String(s):""))?i=Bd.SEARCH:l.column.getIsFiltered()&&!im(a,l.column.getFilterValue())?i=Bd.FILTER:!i&&l.column.getIsSorted()&&((e,t,n,l,a)=>{var r;const o=[{...t.row,original:{...t.row.original,[t.column.id]:e}}];o[0].getValue=()=>e;let i=0;n>0&&(o.unshift(l[n-1]),i=1),n<l.length-1&&o.push(l[n+1]);let s=[...o].sort((e,n)=>t.column.getSortingFn()(e,n,t.column.id));return a&&(s=s.reverse()),(null===(r=s[i])||void 0===r?void 0:r.id)!==t.row.id})(a,l,t,e.getRowModel().rows,!(null===(o=e.getState().sorting.find(e=>e.id===l.column.id))||void 0===o||!o.desc))&&(i=Bd.SORTING),i}(m,b,f.original,s,z,h.search.excludeUnmatchedResults);e&&h.editing.setRowMoveReason({[s.column.id]:e})}else O();return O}h.editing.rowMoveReason&&O()}},[z,h.rowActive.rowActiveIndex,h.search.excludeUnmatchedResults,v]);const A=null===(o=c.columnDef.meta)||void 0===o?void 0:o.control,I=l("py-[calc(var(--table3-cell-padding-y)_-_0.06rem_-_1px)]",{relative:"textarea"===A&&E.enableTruncate},e.className,"function"==typeof E.className?E.className(f.original):E.className),L=l("!min-h-0 w-full !pb-0",{"!pb-3":!!v}),H=n.createElement(Zo,{message:v,invalid:!!v,className:L},n.createElement(Am,{align:E.align,column:s.column,data:s.row.original,initialValue:d(),onBlur:()=>{var e;h.editing.setDetailModeEditing(!1),null!==(e=h.editing.changes)&&void 0!==e&&e[s.row.id]&&h.validation.validate(s.row.id,h.editing.changes[s.row.id],s.column.id)},onFocus:e=>{var t;const n=h.columnFreezing.frozenColumnIndex,l=g.current;if(l&&void 0!==n&&u>n){var a;const e=Jd(n,l),t=null===(a=x.current)||void 0===a?void 0:a.getBoundingClientRect(),r=null==e?void 0:e.getBoundingClientRect(),o=l.getBoundingClientRect();t&&r&&t.left<r.left+r.width?l.scrollTo(t.left-(r.left+r.width),l.scrollTop):t&&o&&t.right>o.right-60&&l.scrollTo(l.scrollLeft+60+10,l.scrollTop)}null!==(t=e.target)&&void 0!==t&&t.select&&requestAnimationFrame(()=>{e.target.select()})},onChange:e=>h.editing.setCellValue(s,e),ref:y,table:m,tableRef:g,value:z,cell:s,error:v,tabIndex:S?0:-1,isActiveRow:S}));return n.createElement(n.Fragment,null,null!==R&&N&&!v?n.createElement(_d,{reason:R,columnName:String(null===(i=c.columnDef.meta)||void 0===i?void 0:i.header),mountNode:N,validationErrors:[]}):null,n.createElement("div",{className:p?void 0:I,"data-align":E.align,"data-column-index":u,role:"cell","data-editable":!0,ref:x,"data-invalid":!!v,"data-highlighted":p},p?n.createElement(jd,{current:w,className:I,frozenColumnIndex:h.columnFreezing.frozenColumnIndex,index:u,tableRef:g},H):H))}));function Hm(e){var t;const{column:l,row:a,table:r,index:o,getValue:i,cell:s}=e,{isHovered:c,hasError:u,rowIndex:d}=Vd(),m=r.getRowModel().rows,g=r.options.meta,f=l.columnDef.meta,h=g.validation.errors?g.validation.errors[a.id]:null,v=u&&h&&!!h[l.id],p=g.rowActive.rowActiveIndex,w=void 0!==p&&(null===(t=m[p])||void 0===t?void 0:t.id)===a.id;let b=i();const E=r.getVisibleLeafColumns(),x=E.length>0?E.length-1:0,y=qd(d,p,g.editing.rowMoveReason)?Gd(o,x):void 0;if(g.editing.isEditing){const e=g.editing.getCellValue(s);b=null!=e?e:b}const z=n.useMemo(()=>{var e;return!(!g.search.isHighlightingEnabled||!f.enableSearch)&&!(null===(e=g.search.query)||void 0===e||!e.length)&&function(e,t,n){return null!=t&&String(Yd(t,n)).toLocaleLowerCase().includes(e.toLocaleLowerCase())}(g.search.query,b,f.dataType)},[b,g.search.isHighlightingEnabled,g.search.excludeUnmatchedResults,g.search.query]),R=n.useMemo(()=>{if(!g.search.isHighlightingEnabled||!z||void 0===g.search.currentHighlightColumnIndex)return!1;const[e,t]=g.search.highlightedColumnIndexes[g.search.currentHighlightColumnIndex];return e===d&&t===o},[z,g.search.highlightedColumnIndexes.length,g.search.currentHighlightColumnIndex]),C={highlighted:z,highlightedAsCurrent:R};return g.editing.isEditing&&f.control&&(w||c&&!g.rowActive.isHoverStatePaused||v)?n.createElement(Im,Object.assign({},e,C,{className:y})):n.createElement(Td,Object.assign({},e,C,{value:b,className:y}))}function Mm(e){const{texts:t}=mr();if(e.table.options.enableMultiRowSelection){const l=e.table.getIsAllRowsSelected(),a=e.table.getIsSomeRowsSelected(),r=l?t.table3.columns.select.deselectAll:t.table3.columns.select.selectAll;return n.createElement(Ld,Object.assign({},e),n.createElement(nr,{title:r},n.createElement(Cr,{"aria-label":r,className:"hover:border-blue !mt-0",key:String(`${l}_${a}`),checked:l,indeterminate:a,onChange:e.table.toggleAllRowsSelected,tabIndex:-1})))}return n.createElement(Ld,Object.assign({},e))}const km=n.memo((function(e){const{texts:t}=mr(),{rowIndex:a}=n.useContext(kd),r=e.table.options.meta,o=r.rowActive.rowActiveIndex===a,i=e.row.getIsSelected(),s=i?t.table3.columns.select.deselect:t.table3.columns.select.select;if(e.table.options.enableMultiRowSelection){const t=t=>{if(t.stopPropagation(),t.shiftKey){var n;const[t,i]=(l=null!==(n=r.rowSelection.lastSelectedRowIndex.current)&&void 0!==n?n:0,[(o=a)<l?o:l,o>l?o:l]);e.table.getRowModel().rows.slice(t,i+1).forEach(e=>e.toggleSelected(!0))}else e.row.toggleSelected();var l,o;r.rowSelection.lastSelectedRowIndex.current=a};return n.createElement(Td,Object.assign({},e),n.createElement(nr,{title:n.createElement(n.Fragment,null,s,n.createElement(vi,{className:"ml-2",keys:"Space"}))},n.createElement(Cr,{"aria-label":s,className:"!mt-0",checked:i,onClick:t,onChange:()=>!1,tabIndex:o?0:-1})))}{const t=l("!mt-0",zi()),o=t=>{t.stopPropagation(),e.row.toggleSelected(),r.rowSelection.lastSelectedRowIndex.current=a};return n.createElement(Td,Object.assign({},e),n.createElement("button",{className:t,"aria-checked":i,onClick:o,role:"radio",tabIndex:-1,type:"button"},i?n.createElement("span",{className:"h-2 w-2 rounded-full bg-white"}):null))}}),(function(e,t){return t.table.options.meta.rowActive.rowActiveIndex===e.table.options.meta.rowActive.rowActiveIndex&&t.row.getIsSelected()!==e.row.getIsSelected()}));function Vm(e){const{texts:t}=mr(),l=e.table.getIsSomeRowsExpanded(),a=l?t.table3.columns.expansion.collapseAll:t.table3.columns.expansion.expandAll;return n.createElement(Ld,Object.assign({},e),n.createElement(nr,{title:a},n.createElement(ir,{appearance:"transparent",icon:l?"chevron-down-double":"chevron-right-double",onClick:t=>{t.stopPropagation(),e.table.toggleAllRowsExpanded(!l)},tabIndex:-1,title:a})))}const jm=n.memo((function(e){const{expandedRowRenderer:t,isActiveRow:l,isExpanded:a,row:r,table:o}=e,{texts:i}=mr(),s=o.options.meta;let c;if(t(r.original)){const e=a?i.table3.columns.expansion.collapse:i.table3.columns.expansion.expand;c=n.createElement(nr,{title:e},n.createElement(ir,{appearance:"discrete",className:"-mt-1.5",icon:a?"chevron-down":"chevron-right",onClick:e=>{e.stopPropagation(),r.toggleExpanded()},tabIndex:l&&!s.editing.isEditing?0:-1,title:e}))}return n.createElement(Td,Object.assign({},e),c)}));function Tm(e){const{expandedRowRenderer:t,...l}=e,{rowIndex:a}=n.useContext(kd);return n.createElement(jm,Object.assign({},l,{expandedRowRenderer:t,isActiveRow:l.table.options.meta.rowActive.rowActiveIndex===a,isExpanded:l.row.getIsExpanded()}))}const Dm=n.memo((function(e){const{isSelected:t,onRowDrag:l,row:a,table:r}=e,{texts:o}=mr(),i=r.options.meta;return n.createElement(Td,Object.assign({},e),n.createElement("div",{draggable:!0,onDragStart:e=>{let n=[a];r.options.enableRowSelection&&(n=t?r.getSelectedRowModel().rows:[a,...r.getSelectedRowModel().rows]);const o=n.map(e=>e.original);i.rowDrag.setDragging(n.reduce((e,t)=>({...e,[t.id]:!0}),{})),e.dataTransfer.setData("text",JSON.stringify(o)),l(o,t=>{const n=document.createElement("div");n.id="taco_table_dragging",n.className="wcag-blue rounded flex w-48 p-4 absolute -ml-[100vw]",n.innerText=t,document.body.appendChild(n),e.dataTransfer.setDragImage(n,0,0)},t=>e.dataTransfer.setData("text",t))},onDragOver:e=>e.preventDefault(),onDragEnd:()=>{var e;null===(e=document.getElementById("taco_table_dragging"))||void 0===e||e.remove(),i.rowDrag.setDragging({})}},n.createElement(za,{"aria-label":o.table3.columns.drag.tooltip,name:"drag",className:"text-grey-darkest invisible -mt-1 w-[20px] cursor-grab active:cursor-grabbing group-hover/row:visible group-[[aria-grabbed='true']]/row:text-white"})))}));function Fm(e){const{children:t,column:l,header:a,table:r,hasSeparator:o}=e,i=n.useMemo(()=>l.columnDef.meta,[]),s={align:"center",children:null!=t?t:i.header,colSpan:a.colSpan,hasSeparator:o,id:a.id,index:a.index,isPrinting:r.options.meta.printing.isPrinting,length:r.getRowModel().rows.length,meta:i,table:r};return n.createElement(Pm,Object.assign({},s))}const Pm=n.memo((function(e){var t;const{align:a,children:r,colSpan:o,hasSeparator:i,id:s,isPrinting:c,meta:u,table:d}=e,m=l("px-2 z-10 hover:z-20",{sticky:!c}),g=l("font-bold box-content group/column relative","px-[var(--table3-cell-padding-x)]",{"h-10 items-center":!c,"pb-2":c,"border-b-2":!!r},u.headerClassName);return d.options.debugAll&&console.log("header group render",s),n.createElement("div",{className:m,style:o>1?{gridColumn:`span ${o} / span ${o}`}:void 0,"data-taco":"table3-column-group","data-align":a,role:"columnheader"},n.createElement("div",{className:g},n.createElement(nr,{title:String(null!==(t=null==u?void 0:u.tooltip)&&void 0!==t?t:r),placement:"top"},n.createElement("span",{className:l({truncate:!c})},r)),i?n.createElement(Md,null):null))}));function Bm(e,t,n){let l=e?{...e}:{};return l&&l[t]&&(n?(delete l[t][n],0===Object.keys(l[t]).length&&delete l[t]):delete l[t]),0===Object.keys(l).length&&(l=null),l}var _m;function Gm(e,t){var n,l;switch(t.type){case _m.SET_CELL_ERROR:return{...e,draftErrors:{...e.draftErrors,[t.payload.rowId]:{...null===(n=e.draftErrors)||void 0===n?void 0:n[t.payload.rowId],[t.payload.cellId]:t.payload.error}}};case _m.SET_ROW_ERROR:return{...e,draftErrors:{...e.draftErrors,[t.payload.rowId]:{...null===(l=e.draftErrors)||void 0===l?void 0:l[t.payload.rowId],...t.payload.errors}}};case _m.CONFIRN_ERRORS:{const n={...e.draftErrors},l={...n[t.payload.rowId]};return delete n[t.payload.rowId],{draftErrors:n,errors:{...e.errors,[t.payload.rowId]:l}}}case _m.RESET_ERRORS:{const n=Bm(e.draftErrors,t.payload.rowId,t.payload.cellId);return{errors:Bm(e.errors,t.payload.rowId,t.payload.cellId),draftErrors:n}}default:return e}}!function(e){e[e.SET_CELL_ERROR=0]="SET_CELL_ERROR",e[e.SET_ROW_ERROR=1]="SET_ROW_ERROR",e[e.CONFIRN_ERRORS=2]="CONFIRN_ERRORS",e[e.RESET_ERRORS=3]="RESET_ERRORS"}(_m||(_m={}));const qm=n.memo((function(e){var t;const{data:l,renderer:a,registerSize:r}=e,o=n.useRef(null);n.useEffect(()=>{o.current&&r&&r(o.current.getBoundingClientRect().height)},[]);const i=null===(t=a(l))||void 0===t?void 0:t();return i?n.createElement("div",{className:"border-grey-300 bg-grey-50 col-span-full border-b p-4",ref:o},i):null})),$m={short:33,medium:41,tall:49,"extra-tall":57};function Km(e){const{loadPage:t,pageIndex:l,table:a}=e,{ref:r,inView:o}=A.useInView({threshold:0,triggerOnce:!0,initialInView:0===l});return n.useEffect(()=>{o&&t(l,a.getState().sorting,a.getState().columnFilters,a.getState().globalFilter)},[o]),n.createElement("div",{className:"border-grey-300 flex h-10 items-center border-b px-2",ref:r},n.createElement("span",{className:"bg-grey-100 text-grey-700 h-4 w-full text-center text-xs"}))}function Um(e){const{columns:t,...l}=e;return n.createElement("div",{className:"contents"},t.map(e=>n.createElement(Km,Object.assign({key:e.id},l))))}function Wm(e,t,l,a,r,o){return()=>{if(t.length){var i,s,c,u;const d=r.virtualItems.length>0&&null!==(i=null===(s=r.virtualItems[0])||void 0===s?void 0:s.start)&&void 0!==i?i:0,m=r.virtualItems.length>0?r.totalSize-(null!==(c=null===(u=r.virtualItems[r.virtualItems.length-1])||void 0===u?void 0:u.end)&&void 0!==c?c:0):0,g=e=>t=>{o(n=>t!==n[e]?{...n,[e]:t}:n)};return n.createElement(n.Fragment,null,d?n.createElement("div",{style:{height:d},className:"col-span-full"}):null,r.virtualItems.map(r=>{const o=t[r.index];if(void 0===o.original&&e.pageSize){const t=Math.floor(r.index/e.pageSize)*e.pageSize/e.pageSize;return n.createElement(Um,{key:o.id,columns:l.getVisibleLeafColumns(),loadPage:e.loadPage,pageIndex:t,table:l})}return n.createElement(n.Fragment,{key:o.id},n.createElement(gm,{index:r.index,isLastRow:r.index===t.length-1,measureRef:r.measureRef,row:o,table:l,tableRef:a},o.getVisibleCells().map((e,t)=>n.createElement(n.Fragment,{key:e.id},R.flexRender(e.column.columnDef.cell,{...e.getContext(),index:t,tableRef:a})))),o.getIsExpanded()?n.createElement(qm,{data:o.original,renderer:e.expandedRowRenderer,registerSize:g(r.index)}):null)}),m?n.createElement("div",{style:{height:m},className:"col-span-full"}):null)}return null}}var Jm;function Ym(e){const{scrollToIndex:t,table:l}=e,{texts:a}=mr(),r=n.useRef(null),o=l.options.meta,[i,s]=n.useState(o.search.query),[c,u]=n.useState(Jm.Incomplete),[d,m]=n.useState(null),g=e=>t(e,{align:"center"});n.useEffect(()=>{var e;const t=function(e,t,n){const l=n.options.meta;let a;if(e&&t){const e=[],r=n.getVisibleLeafColumns();n.getRowModel().rows.forEach((n,l)=>{r.forEach((a,r)=>{try{var o;if(a.getIsVisible()&&null!==(o=a.columnDef.meta)&&void 0!==o&&o.enableSearch){var i,s;const o=Yd(null===(i=n.original)||void 0===i?void 0:i[a.id],null===(s=a.columnDef.meta)||void 0===s?void 0:s.dataType);void 0!==o&&om(o,t)&&e.push([l,r])}}catch(e){}})}),l.search.setHighlightedColumnIndexes(e),e.length?(a=e[0][0],l.search.setCurrentHighlightColumnIndex(0)):l.search.setCurrentHighlightColumnIndex(void 0)}else l.search.setHighlightedColumnIndexes([]),l.search.setCurrentHighlightColumnIndex(void 0);return void 0!==a&&l.rowActive.setRowActiveIndex(a),a}(o.search.isHighlightingEnabled,null===(e=r.current)||void 0===e?void 0:e.value,l);t&&g(t)},[o.search.query,o.search.excludeUnmatchedResults,l.getRowModel().rows.length,JSON.stringify(l.getState().sorting),JSON.stringify(l.getState().columnVisibility),c]),n.useEffect(()=>{o.search.query!==i&&s(o.search.query)},[o.search.query]),function(e,t,l=200){const a=n.useRef();n.useEffect(()=>(a.current=setTimeout(e,l),()=>{clearTimeout(a.current)}),t)}(()=>{o.search.setQuery(i),o.search.excludeUnmatchedResults&&(null!=i&&i.length?l.setGlobalFilter(i):l.resetGlobalFilter())},[i]);const f=()=>{var e,t;const n=null!==(e=o.search.currentHighlightColumnIndex)&&void 0!==e?e:0,a=null!==(t=o.search.highlightedColumnIndexes[n])&&void 0!==t?t:[],[r=null,i=null]=a,s=l.getRowModel().rows;if(o.search.setQuery(""),fm.value=String(i),null!==r){var c;const e=(null===(c=s[r])||void 0===c?void 0:c.id)||null;m(e)}},{globalFilter:h}=l.getState();n.useEffect(()=>{if(null!==d&&!h){const e=l.getRowModel().rows.findIndex(e=>e.id===d);o.search.setIsSearching(!1),o.rowActive.setRowActiveIndex(e),g(e),m(null)}},[d,h]);const v=n.createElement(vc,{label:a.table3.search.excludeUnmatchedResults,checked:o.search.excludeUnmatchedResults,onChange:e=>{var t,n;o.search.toggleExcludeUnmatchedResults(e),e&&null!==(t=r.current)&&void 0!==t&&t.value?l.setGlobalFilter(null===(n=r.current)||void 0===n?void 0:n.value):l.resetGlobalFilter(),requestAnimationFrame(()=>{var e;return null===(e=r.current)||void 0===e?void 0:e.focus()})}});return n.createElement(n.Fragment,null,n.createElement(hc,{findCurrent:void 0!==o.search.currentHighlightColumnIndex?o.search.currentHighlightColumnIndex+1:null,findTotal:o.search.highlightedColumnIndexes?o.search.highlightedColumnIndexes.length:null,loading:c===Jm.Loading,onClickFindPrevious:()=>{if(!o.search.highlightedColumnIndexes.length)return;const e=void 0===o.search.currentHighlightColumnIndex?0:0===o.search.currentHighlightColumnIndex?o.search.highlightedColumnIndexes.length-1:o.search.currentHighlightColumnIndex-1;o.search.setCurrentHighlightColumnIndex(e),g(o.search.highlightedColumnIndexes[e][0])},onClickFindNext:()=>{if(!o.search.highlightedColumnIndexes.length)return;const e=void 0===o.search.currentHighlightColumnIndex||o.search.currentHighlightColumnIndex===o.search.highlightedColumnIndexes.length-1?0:o.search.currentHighlightColumnIndex+1;o.search.setCurrentHighlightColumnIndex(e),g(o.search.highlightedColumnIndexes[e][0])},onChange:e=>{s(String(null!=e?e:""))},onFocus:function(){try{o.search.setIsSearching(!0);const e=function(){if(o.server.loadAll&&c===Jm.Incomplete)return u(Jm.Loading),Promise.resolve(o.server.loadAll(l.getState().sorting,l.getState().columnFilters,void 0)).then((function(){u(Jm.Completed)}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},onBlur:()=>{o.search.setIsSearching(!1)},onKeyDown:e=>{"Escape"===e.key&&(f(),e.preventDefault())},onClear:f,placeholder:a.table3.search.placeholder,settingsContent:v,ref:r,shortcut:{key:"f",meta:!0,shift:!1},value:i}))}function Qm(e){const{allColumns:t,filters:l,onChange:a,value:r=null,...o}=e,{texts:i}=mr(),s=t.find(e=>e.id===r),c=s&&!s.getIsVisible();return n.createElement("div",{className:"flex flex-col"},n.createElement(Zo,{message:c?i.table3.filters.hiddenColumn:void 0,warning:c,className:"min-h-[theme(spacing.8)]"},n.createElement(cu,Object.assign({},o,{className:"!w-32 flex-shrink-0",emptyValue:null,onChange:a,value:r}),t.map(e=>{var t,a,o;return n.createElement(cu.Option,{key:e.id,value:e.id,postfix:e.getIsVisible()?void 0:n.createElement(nr,{title:i.table3.filters.hiddenColumn},n.createElement(za,{name:"eye-off",className:"text-grey-500 !h-5 !w-5"})),disabled:!(e.id===r||e.getCanFilter()&&!l.find(t=>t.id===e.id))},(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header)+(e.parent?` (${null===(a=e.parent)||void 0===a||null===(o=a.columnDef.meta)||void 0===o?void 0:o.header})`:""))}))))}function Xm(e){const{column:t,onChange:l,value:a,...r}=e,{texts:o}=mr(),i=function(e){var t;const l=null!==(t=null==e?void 0:e.columnDef.meta)&&void 0!==t?t:{};if(Array.isArray(l.filters))return l.filters;if("function"==typeof l.control){const e=l.control({onBlur:()=>{},onFocus:()=>{},setValue:()=>{},value:void 0,disabled:!1,readOnly:!1,ref:void 0});if(n.isValidElement(e)){const{props:t,type:n}=e;if("Select2"===n.displayName)return t.multiple?[nm.HasAnyOf,nm.HasAllOf,nm.IsEqualTo,nm.HasNoneOf,nm.IsEmpty,nm.IsNotEmpty]:[nm.IsEqualTo,nm.IsNotEqualTo,nm.IsEmpty,nm.IsNotEmpty]}}return"number"===l.dataType?[nm.IsEqualTo,nm.IsNotEqualTo,nm.IsGreaterThan,nm.IsLessThan,nm.IsBetween,nm.IsEmpty,nm.IsNotEmpty]:"datepicker"===l.control||"datetime"===l.dataType?[nm.IsEqualTo,nm.IsNotEqualTo,nm.IsBetween,nm.IsLessThan,nm.IsGreaterThan,nm.IsEmpty,nm.IsNotEmpty,nm.IsLessThanOrEqualTo,nm.IsGreaterThanOrEqualTo]:"switch"===l.control?[nm.IsEqualTo]:[nm.Contains,nm.DoesNotContain,nm.IsEqualTo,nm.IsNotEqualTo,nm.IsEmpty,nm.IsNotEmpty]}(t);return n.useEffect(()=>{void 0!==a&&i.includes(a)||null==l||l(i[0])},[i]),n.createElement(cu,Object.assign({},r,{className:"!w-32 flex-shrink-0",disabled:!t,onChange:l,value:a}),i.map(e=>n.createElement(cu.Option,{key:e,value:e},function(e,t,n){var l,a;const r="datepicker"===(null==n||null===(l=n.columnDef)||void 0===l||null===(a=l.meta)||void 0===a?void 0:a.control);switch(e){case nm.Contains:return t.table3.filters.comparators.contains;case nm.DoesNotContain:return t.table3.filters.comparators.doesNotContain;case nm.IsEqualTo:return t.table3.filters.comparators.isEqualTo;case nm.IsNotEqualTo:return t.table3.filters.comparators.isNotEqualTo;case nm.IsGreaterThan:return r?t.table3.filters.comparators.isAfter:t.table3.filters.comparators.isGreaterThan;case nm.IsLessThan:return r?t.table3.filters.comparators.isBefore:t.table3.filters.comparators.isLessThan;case nm.IsBetween:return t.table3.filters.comparators.isBetween;case nm.IsEmpty:return t.table3.filters.comparators.isEmpty;case nm.IsNotEmpty:return t.table3.filters.comparators.isNotEmpty;case nm.IsLessThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrBefore:t.table3.filters.comparators.isLessThanOrEqualTo;case nm.IsGreaterThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrAfter:t.table3.filters.comparators.isGreaterThanOrEqualTo;case nm.HasAnyOf:return t.table3.filters.comparators.hasAnyOf;case nm.HasAllOf:return t.table3.filters.comparators.hasAllOf;case nm.HasNoneOf:return t.table3.filters.comparators.hasNoneOf;default:return""}}(e,o,t))))}function Zm(e){const{allColumns:t,filters:l,onCreate:a,onRemove:r,position:o}=e,{texts:i}=mr();return n.createElement("div",{className:"flex items-start gap-2"},n.createElement("div",{className:"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},o>0?i.table3.filters.conditions.and:i.table3.filters.conditions.where),n.createElement(Qm,{allColumns:t,filters:l,onChange:a,value:null}),n.createElement(Xm,null),n.createElement(Mr,{"aria-label":i.table3.filters.emptyFilter.value,className:"flex-grow",disabled:!0,value:i.table3.filters.emptyFilter.value}),r?n.createElement(ir,{appearance:"discrete",icon:"close",onClick:r}):null)}function eg(e){const{column:t,comparator:l,onChange:a,value:r}=e,{texts:o}=mr();if(l===nm.IsEmpty||l===nm.IsNotEmpty)return null;if(l===nm.IsBetween){var i;const e=Array.isArray(r)?r[0]:void 0,l=Array.isArray(r)?r[1]:void 0;return void 0===t?n.createElement(Mr,{"aria-label":o.table3.filters.emptyFilter.value,className:"flex-grow",disabled:!0,value:o.table3.filters.emptyFilter.value}):"datetime"===(null===(i=t.columnDef.meta)||void 0===i?void 0:i.dataType)?n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(tg,{column:t,onChange:e=>a([e,l]),value:e}),n.createElement(tg,{column:t,onChange:t=>a([e,t]),value:l})):n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(tg,{column:t,onChange:e=>a([isNaN(e)?void 0:e,l]),placeholder:"from",value:null!=e?e:""}),n.createElement(tg,{column:t,onChange:t=>a([e,isNaN(t)?void 0:t]),placeholder:"to",value:null!=l?l:""}))}return n.createElement(tg,{column:t,onChange:a,value:r})}function tg(e){var a,r;const{column:o,onChange:i,value:s,...c}=e,u=null==o||null===(a=o.columnDef.meta)||void 0===a?void 0:a.control,d=null==o||null===(r=o.columnDef.meta)||void 0===r?void 0:r.dataType;return t.useEffect(()=>{"switch"===u&&i(!1)},[]),"function"==typeof u?u({...c,setValue:e=>i(e),value:s}):"datepicker"===u||"datetime"===d?n.createElement(vo,Object.assign({},c,{onChange:e=>i(e.detail),value:s})):"switch"===u?n.createElement(vc,Object.assign({},c,{className:"m-1.5",checked:Boolean(s),onChange:i})):n.createElement(Mr,"input"!==u&&void 0!==u||"number"!==d?Object.assign({disabled:!o},c,{className:"flex-grow",onChange:e=>i(e.target.value),value:String(null!=s?s:"")}):Object.assign({},c,{className:l(Zd(),"flex-grow"),type:"number",onChange:e=>i(e.target.valueAsNumber),value:String(null!=s?s:"")}))}function ng(e){const{allColumns:t,filter:l,filters:a,onChange:r,onRemove:o,position:i}=e,{texts:s}=mr(),c=t.find(e=>e.id===l.id),{id:u,value:{comparator:d,value:m}}=l;return n.createElement("div",{className:"flex items-start gap-2"},n.createElement("div",{className:"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},i>0?s.table3.filters.conditions.and:s.table3.filters.conditions.where),n.createElement(Qm,{allColumns:t,filters:a,onChange:e=>{var n,a;const o=t.find(e=>e.id===u),i=t.find(t=>t.id===e),s=(null==o||null===(n=o.columnDef.meta)||void 0===n?void 0:n.dataType)===(null==i||null===(a=i.columnDef.meta)||void 0===a?void 0:a.dataType)?l.value:{comparator:null,value:null};r(u,{id:e,value:s})},value:u}),n.createElement(Xm,{column:c,onChange:e=>{let t=l.value.value;e!==nm.IsEmpty&&e!==nm.IsNotEmpty||(t=void 0),r(u,{id:u,value:{comparator:e,value:t}})},value:d}),n.createElement(eg,{column:c,comparator:d,onChange:e=>{r(u,{id:u,value:{...l.value,value:e}})},value:m}),n.createElement(ir,{appearance:"discrete",className:"ml-auto",icon:"close",onClick:()=>o(u)}))}function lg(e,t){var n,l,a,r;return null===(n=e.columnDef.meta)||void 0===n||null===(l=n.header)||void 0===l||null===(a=l.localeCompare)||void 0===a?void 0:a.call(l,null===(r=t.columnDef.meta)||void 0===r?void 0:r.header)}function ag(e){const{total:t,table:a}=e,{locale:r,texts:o}=mr(),i=n.useRef(null),s=fu(),c=a.getAllLeafColumns().filter(e=>!Ud(e.id)).sort(lg),u=a.getState().columnFilters,[d,m]=n.useState(u),[g,f]=n.useState(1),h=(e,t)=>{m(n=>{const l=[...n],a=l.findIndex(t=>t.id===e);return l[a]=t,l})},v=e=>{1===d.length&&0===g&&f(e=>e+1),m(t=>t.filter(t=>t.id!==e))},p=e=>{m(t=>[...t,{id:e,value:{comparator:nm.Contains,value:void 0}}]),b()},w=()=>{f(e=>e+1)},b=()=>{f(e=>e-1)},E=()=>{a.setColumnFilters(()=>d.filter(e=>{var t,n;if(null===e.id)return!1;const l=null===(t=c.find(t=>t.id===e.id))||void 0===t||null===(n=t.columnDef.meta)||void 0===n?void 0:n.control;return e.value.comparator===nm.IsEmpty||e.value.comparator===nm.IsNotEmpty||"switch"===l||!!e.value.value}))},x=()=>{a.resetColumnFilters(),m([]),f(1)},y=n.useCallback(e=>{e||(m(u),f(0===u.length?1:0))},[u]);n.useEffect(()=>{0===u.length&&(m([]),f(1))},[u]);const z={"aria-label":o.table3.filters.tooltip,className:l({"!wcag-blue-100":u.length}),shortcut:{key:"f",meta:!0,shift:!0},popover:e=>n.createElement(ho,Object.assign({},e,{onChange:y}),n.createElement(ho.Content,null,n.createElement("div",{className:"flex w-[40rem] flex-col gap-4"},n.createElement("div",{className:"flex h-8"},n.createElement("div",{className:"flex w-full items-center gap-2"},n.createElement("h4",{className:"mb-0 inline-flex"},o.table3.filters.button),n.createElement("p",{className:"text-grey-700 mb-0 mr-auto mt-px inline-flex"},o.table3.filters.total.replace("[CURRENT]",new Intl.NumberFormat(r).format(a.getFilteredRowModel().rows.length)).replace("[TOTAL]",new Intl.NumberFormat(r).format(t))))),n.createElement("div",{className:"flex flex-col gap-2"},d.map((e,t)=>n.createElement(ng,{key:"filter_"+t,allColumns:c,filter:e,filters:d,position:t,onChange:h,onRemove:v})),[...Array(g)].map((e,t)=>n.createElement(Zm,{key:"placeholder_"+t,allColumns:c,filters:d,position:d.length+t,onCreate:p,onRemove:g>1||d.length>0?b:void 0})),n.createElement("div",{className:"justify-start"},n.createElement(hr,{appearance:"discrete",onClick:w},"+ ",o.table3.filters.buttons.addFilter))),n.createElement(Ao,{className:"ml-auto"},n.createElement(ho.Close,null,n.createElement(hr,null,"Cancel")),n.createElement(hr,{onClick:x},"Clear"),n.createElement(hr,{appearance:"primary",onClick:E},"Apply"))))),ref:i,tooltip:n.createElement(n.Fragment,null,o.table3.filters.tooltip,n.createElement(vi,{className:"ml-2",keys:{key:"f",meta:!0,shift:!0}}))};return s||u.length?n.createElement(hr,Object.assign({},z),n.createElement(za,{className:l({"-mr-1.5":!s}),name:u.length?"filter-solid":"filter"}),s?o.table3.filters.button:"",u.length?`(${u.length})`:""):n.createElement(ir,Object.assign({},z,{icon:"filter"}))}function rg(e){const{texts:t}=mr(),l=e.table.options.meta;return n.createElement(nr,{title:n.createElement(n.Fragment,null,t.table3.editing.buttons.edit.tooltip,n.createElement(vi,{className:"ml-2",keys:{key:"e",meta:!0,shift:!1}}))},n.createElement(Vi,{"aria-pressed":l.editing.isEditing,checked:l.editing.isEditing,onChange:l.editing.toggleEditing}))}function og({onAfterPrint:e,onBeforePrint:t,tableProps:l}){const[a,r]=n.useState(null),[o,i]=n.useState(null),s=n.useMemo(()=>navigator.userAgent.toLowerCase().includes("firefox"),[]),c=n.useMemo(()=>navigator.userAgent.toLowerCase().includes("safari")&&!navigator.userAgent.toLowerCase().includes("chrome"),[]),u=null==a?void 0:a.contentWindow,d=function(e){const[t,l]=n.useState(!1);return n.useEffect(()=>{if(!e)return;const t=e.parent.document,n=e.document,a=n.createElement("style");a&&(a.innerHTML='\n@page {\n margin: 16px;\n}\n\n@media print {\n html, body, #root {\n // hides horizontal scrollbar\n overflow-x: none !important;\n overflow-y: auto !important;\n height: auto !important;\n width: auto !important;\n }\n\n #root {\n /* chrome sometimes crops the bottom content of page and this padding will make sure that we see the whole content*/\n padding-bottom: 20px;\n }\n\n [role="table"] {\n border-width: 0 !important;\n overflow-y: hidden !important;\n }\n\n // all column headers except column group column header\n [role="table"] [role="columnheader"]:not([data-taco=\'table3-column-group\']) {\n border-bottom-width: 1px !important;\n }\n\n /*\n * Summary row cells\n */\n [role="table"] [role="rowgroup"]:last-child [role="cell"] {\n border-width: 0 !important;\n }\n\n [role="table"] a {\n color: rgb(28 28 28);\n }\n\n [data-taco="alert"],\n [data-taco="banner"],\n [data-taco="hanger"],\n [data-taco="toast"],\n [data-taco="table3-toolbar"],\n [data-taco="tooltip"],\n /*\n * Tour components\n */\n [id^="react-joyride"]\n {\n display: none !important;\n }\n}\n',n.head.appendChild(a));const r=Array.from(t.querySelectorAll('style:not([data-taco="table3-column-freezing-styles"])')),o=Array.from(t.querySelectorAll('[rel="stylesheet"]'));r.forEach(e=>{const t=n.createElement("style");t.innerHTML=e.innerHTML,n.head.appendChild(t)}),o.forEach(e=>{var t;const l=n.createElement("link");l.setAttribute("rel","stylesheet"),l.setAttribute("href",null!==(t=e.getAttribute("href"))&&void 0!==t?t:""),n.head.appendChild(l)}),l(!0)},[e]),t}(u);n.useEffect(()=>{let n,l;return o&&d&&(n=setInterval((function(){try{const i=o,c=i.querySelector('[role="table"]');var r;return c&&n&&(clearInterval(n),null==t||t(),s&&(i.style.height=c.offsetHeight+"px"),null==a||null===(r=a.contentWindow)||void 0===r||r.print(),l=setTimeout(()=>{null==e||e()},0)),Promise.resolve()}catch(e){return Promise.reject(e)}}),1e3)),()=>{clearInterval(n),clearTimeout(l)}},[o,d]),n.useEffect(()=>{var e,t;if(!a||!u||!d)return;const n=null!==(e=null==a?void 0:a.closest("[role=dialog], [data-taco=drawer], main"))&&void 0!==e?e:u.parent.document.body,l=u.document;l.body.innerHTML=null!==(t=null==n?void 0:n.innerHTML)&&void 0!==t?t:"";const r=l.querySelector('[role="table"]'),o=l.querySelector('[data-taco="table3-column-freezing-styles"]'),m=l.createElement("div");var g;m.setAttribute("data-role","table-wrapper"),m.classList.add("h-fit"),m.classList.add('[&>[role="table"]]:!h-fit'),s&&m.classList.add('[&>[role="table"]]:!absolute'),m.classList.add(c?"w-full":"w-screen"),r?(null===(g=r.parentNode)||void 0===g||g.insertBefore(m,r),r.remove()):l.body.append(m),o&&o.remove();let f=m.parentNode;for(;null!==f&&f!==l.body;){var h;null===(h=f)||void 0===h||h.classList.add("!h-fit"),f=f.parentNode}i(m)},[u,d]);const m={...l,actionsForRow:void 0,defaultCurrentRowIndex:-1,defaultSettings:{...null==l?void 0:l.defaultSettings,rowHeight:"short"},enableColumnFreezing:!1,enableRowHeight:!0,enableRowSelection:!1,enableEditing:!1,enablePrinting:!1,enableRowDrag:!1,enableRowDrop:!1,enableRowSelectionSingle:!1,preset:void 0,onChangeSettings:()=>{}};return n.createElement("iframe",{className:"fixed -left-[6000px] -top-[6000px] -z-50 !h-0 !w-0",ref:r,src:"javascript:void(0);"},o&&d?D.createPortal(n.createElement(zg,Object.assign({},m)),o):null)}!function(e){e[e.Incomplete=0]="Incomplete",e[e.Loading=1]="Loading",e[e.Completed=2]="Completed"}(Jm||(Jm={}));const ig=({onAccept:e,onCancel:t,onClose:l,onVisibilityChange:a,...r})=>{const[o,i]=n.useState(!1),{texts:s}=mr(),c=()=>{l(),null==a||a(!o)};return n.createElement(Oo,Object.assign({},r,{closeOnEscape:!0,onClose:c,showCloseButton:!1,size:"xs"}),n.createElement(Oo.Content,{"aria-label":s.table3.print.warningDialog.title},n.createElement(Oo.Title,{className:"text-center"},n.createElement(Ra,{icon:"warning",color:"yellow",className:"mr-2"}),s.table3.print.warningDialog.title),n.createElement("p",null,s.table3.print.warningDialog.description),n.createElement(Oo.Footer,{className:"flex items-center justify-between"},n.createElement(Cr,{label:s.table3.print.warningDialog.checkboxVisibilityLabel,checked:o,onChange:i}),n.createElement(Ao,null,n.createElement(hr,{onClick:()=>{c(),t()}},s.table3.print.warningDialog.cancelButtonText),n.createElement(hr,{appearance:"primary",autoFocus:!0,onClick:()=>{c(),e()}},s.table3.print.warningDialog.printButtonText)))))};function sg(e){const{table:t,tableProps:l}=e,{texts:a}=mr(),r=ns(),[o,i]=n.useState(!1),[s,c]=n.useState(!1),u=n.useRef(null),d=n.useRef(null),m=t.options.meta,g=t.getState(),{isWarningVisibleForLargeDatasets:f}=m.printing,h=l.id+"_print",v=m.search.excludeUnmatchedResults,p=n.useMemo(()=>({columnFreezingIndex:m.columnFreezing.frozenColumnIndex,columnOrder:g.columnOrder,columnSizing:g.columnSizing,columnVisibility:g.columnVisibility,excludeUnmatchedRecordsInSearch:v,fontSize:m.fontSize.size,rowHeight:m.rowHeight.height,sorting:g.sorting,columnFilters:g.columnFilters,globalFilter:g.globalFilter}),[m.columnFreezing.frozenColumnIndex,g.columnOrder,g.columnSizing,g.columnVisibility,v,m.fontSize.size,m.rowHeight.height,g.sorting,g.columnFilters,g.globalFilter]),w=n.useMemo(()=>n.Children.toArray(l.children).filter(e=>{var t;const l=null===(t=e.props)||void 0===t?void 0:t.enablePrinting;return!n.isValidElement(e)||!1!==l}),[l.children]),b={...l,children:w,defaultSettings:p,id:h},E=e=>{var t;const n=`${a.table3.print.error}: ${e}`;console.error(n),null===(t=u.current)||void 0===t||t.error(n)},x=function(){try{const e=Ls((function(){var e,n;return Promise.resolve(null===(e=(n=m.server).loadAll)||void 0===e?void 0:e.call(n,t.getState().sorting,t.getState().columnFilters,void 0)).then((function(){}))}),(function(e){E(e)}));return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},y={key:"p",meta:!0,shift:!1};return n.createElement(n.Fragment,null,n.createElement(ir,{disabled:o,icon:"print",onClick:function(){try{let n=!1;function e(e){if(n)return e;s&&f?c(!0):i(!0)}u.current=r.loading(a.table3.print.loading);const o=e=>e.length?e.length*Object.keys(e[0]).length:0;let s=!1;const d=function(){if(m.server.loadAll){const e=Ls((function(){return Promise.resolve(m.server.loadAll(t.getState().sorting,t.getState().columnFilters,v?m.search.query:void 0)).then((function(){const{data:e}=l,t=o(e);s=t>1e4}))}),(function(e){E(e),n=!0}));if(e&&e.then)return e.then((function(){}))}else{const{data:e}=l,t=o(e);s=t>1e4}}();return Promise.resolve(d&&d.then?d.then(e):e(d))}catch(e){return Promise.reject(e)}},"aria-label":a.table3.print.tooltip,tooltip:n.createElement(n.Fragment,null,a.table3.print.tooltip,n.createElement(vi,{className:"ml-2",keys:y})),ref:d,shortcut:y}),o&&null!==b.data&&n.createElement(og,{onAfterPrint:function(){try{function e(){var e;i(!1),null===(e=u.current)||void 0===e||e.close()}const t=function(){if(m.server.loadAll&&v)return Promise.resolve(x()).then((function(){}))}();return Promise.resolve(t&&t.then?t.then(e):e())}catch(e){return Promise.reject(e)}},onBeforePrint:()=>{var e;null===(e=u.current)||void 0===e||e.close()},tableProps:b}),n.createElement(ig,{open:s,onAccept:()=>{i(!0)},onClose:()=>{var e;null===(e=u.current)||void 0===e||e.close(),c(!1)},onCancel:function(){try{const e=function(){if(m.server.loadAll&&v)return Promise.resolve(x()).then((function(){}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},onVisibilityChange:m.printing.setIsWarningVisibleForLargeDatasets}))}function cg(e){const{texts:t}=mr(),l=e.table.options.meta;return n.createElement(ki.SubMenu,null,n.createElement(ki.RadioGroup,{onChange:e=>{const t=e;l.rowHeight.setHeight(t),"short"===t&&l.fontSize.size===exports.FontSizes.large&&l.fontSize.setSize(exports.FontSizes.medium)},value:l.rowHeight.height},n.createElement(ki.RadioGroup.Item,{value:"short"},t.table3.rowHeight.sizes.short),n.createElement(ki.RadioGroup.Item,{value:"medium"},t.table3.rowHeight.sizes.medium),n.createElement(ki.RadioGroup.Item,{value:"tall"},t.table3.rowHeight.sizes.tall),n.createElement(ki.RadioGroup.Item,{value:"extra-tall"},t.table3.rowHeight.sizes.extraTall)))}const ug=n.forwardRef((function(e,t){var a,r,o;const{column:i,draggable:s=!1,...c}=e,u=i.getCanHide(),d=l("group/column flex items-center gap-x-2 rounded py-1 px-2",{"hover:bg-grey-200":u||s,"hover:cursor-pointer":u,"active:cursor-move active:bg-grey-300":s}),m=s?c:void 0,g=i.getIsVisible(),f=i.parent?null===(a=i.parent)||void 0===a||null===(r=a.columnDef.meta)||void 0===r?void 0:r.header:null;return n.createElement("div",Object.assign({},m,{key:i.id,className:d,onClick:()=>i.toggleVisibility(!g),ref:t}),s?n.createElement(za,{name:"drag",className:"text-grey-500 group-hover/column:text-grey-700 -mx-2 !h-5"}):null,n.createElement("span",{className:"flex-grow truncate"},null===(o=i.columnDef.meta)||void 0===o?void 0:o.header,f?n.createElement("span",{className:"italic"}," (",f,")"):null),u?n.createElement(Cr,{checked:g,onChange:()=>i.toggleVisibility(!g)}):null)}));function dg(e){const{table:t,trigger:l,...a}=e,{texts:r}=mr(),[o,i]=n.useState(""),s=t.getAllLeafColumns(),c=t.options.meta,u=n.useMemo(()=>s.filter(e=>!Ud(e.id)).filter(e=>{var t,n,l;return null==o||!o.length||(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header.toLowerCase().includes(o.toLowerCase()))||(null===(n=e.parent)||void 0===n||null===(l=n.columnDef.meta)||void 0===l?void 0:l.header.toLowerCase().includes(o.toLowerCase()))}),[s,o]),d="flex max-h-64 flex-col gap-y-px overflow-auto";return n.createElement(ho,Object.assign({},a,{anchor:l}),n.createElement(ho.Content,null,n.createElement("div",{className:"flex max-w-sm flex-col gap-2"},t.options.enableHiding?n.createElement(Mr,{onChange:e=>i(e.target.value),placeholder:r.table3.columnSettings.search,value:o}):null,!c.columnOrdering.isEnabled||!u.length||null!=o&&o.length?n.createElement("div",{className:d},u.length?u.map(e=>n.createElement(ug,{column:e,key:e.id})):r.table3.columnSettings.noResults):n.createElement(bc,{reorder:(e,n)=>{u.find(e=>{var t;return e.id===n&&!1===(null===(t=e.columnDef.meta)||void 0===t?void 0:t.enableOrdering)})||t.setColumnOrder(t=>cs(s,S.arrayMove(t,t.findIndex(t=>t===e),t.findIndex(e=>e===n)),["__actions","__editing_actions"]))}},n.createElement(xc,{id:"columns",className:d},u.map(e=>{var t,l;return n.createElement(Ec,{key:e.id,id:e.id,disabled:!(null!==(t=e.columnDef.meta)&&void 0!==t&&t.enableOrdering),asChild:!0},n.createElement(ug,{column:e,draggable:null===(l=e.columnDef.meta)||void 0===l?void 0:l.enableOrdering}))}))))))}function mg(e){const{texts:t}=mr(),l=e.table.options.meta;return n.createElement(ki.SubMenu,null,n.createElement(ki.RadioGroup,{onChange:e=>l.fontSize.setSize(e),value:l.fontSize.size},n.createElement(ki.RadioGroup.Item,{value:exports.FontSizes.small},t.table3.fontSize.sizes.small),n.createElement(ki.RadioGroup.Item,{value:exports.FontSizes.medium},t.table3.fontSize.sizes.medium),n.createElement(ki.RadioGroup.Item,{disabled:"short"===l.rowHeight.height,value:exports.FontSizes.large},t.table3.fontSize.sizes.large)))}function gg(e){const{customSettings:t,table:l}=e,{texts:a}=mr(),[r,o]=n.useState(void 0),i=l.options.meta,s=l.options.enableHiding||i.columnOrdering.isEnabled;let c;if(r){const e=()=>o(void 0);switch(r){case"columnSettings":s&&(c=t=>n.createElement(dg,Object.assign({},t,{open:!0,onChange:e,table:l})))}}return n.createElement(ir,{"aria-label":a.table3.otherOptions.tooltip,icon:"sliders",menu:c?void 0:e=>n.createElement(ki,Object.assign({},e),n.createElement(ki.Content,{align:"end"},l.options.enableHiding||i.columnOrdering.isEnabled?n.createElement(ki.Item,{icon:"columns",onClick:()=>o("columnSettings")},a.table3.columnSettings.button):null,i.rowHeight.isEnabled||i.fontSize.isEnabled?n.createElement(ki.Separator,null):null,i.rowHeight.isEnabled?n.createElement(ki.Item,{icon:"height-"+i.rowHeight.height,subMenu:()=>n.createElement(cg,{table:l})},a.table3.rowHeight.tooltip):null,i.fontSize.isEnabled?n.createElement(ki.Item,{icon:"font-size",subMenu:()=>n.createElement(mg,{table:l})},a.table3.fontSize.tooltip):null,t?n.createElement(n.Fragment,null,n.createElement(ki.Separator,null),t.map(e=>e(i.getSettings()))):null)),popover:c,onClickCapture:e=>e.preventDefault(),tooltip:a.table3.otherOptions.tooltip})}function fg(e){const{customSettings:t,left:l,right:a,scrollToIndex:r,table:o,tableProps:i,total:s}=e;if(!function(e){const{left:t,right:n,table:l}=e,a=l.options.meta;return l.options.enableHiding||a.columnOrdering.isEnabled||a.editing.isEnabled||a.printing.isEnabled||l.options.enableColumnFilters||a.fontSize.isEnabled||a.rowHeight.isEnabled||a.search.isEnabled||!!t||!!n}(e))return null;const c=o.options.meta;return n.createElement("div",{className:"mb-4 flex flex-shrink flex-grow-0 flex-wrap gap-2 empty:hidden","data-taco":"table3-toolbar"},l,n.createElement(Ao,{className:"ml-auto flex-shrink-0 print:hidden"},c.editing.isEnabled?n.createElement(rg,{table:o}):null,o.options.enableColumnFilters?n.createElement(ag,{table:o,total:s}):null,a,c.printing.isEnabled?n.createElement(sg,{table:o,tableProps:i}):null,function(e){const{table:t}=e,n=t.options.meta;return n.fontSize.isEnabled||n.rowHeight.isEnabled||n.columnOrdering.isEnabled}(e)?n.createElement(gg,{table:o,customSettings:t}):null,c.search.isEnabled?n.createElement(Ym,{scrollToIndex:r,table:o}):null))}function hg(e){var t;const{currentLength:l,length:a,table:r}=e,o=r.options.meta,{locale:i,texts:s}=mr();let c,u;const d=r.getIsAllRowsSelected()?a:r.getSelectedRowModel().rows.length;return d>0?(c=s.table3.footer.summary.selected,u=n.createElement(n.Fragment,null,n.createElement("strong",null,new Intl.NumberFormat(i).format(d))," ",s.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(i).format(a)))):null!==(t=r.getState().columnFilters)&&void 0!==t&&t.length||r.getState().globalFilter&&o.search.excludeUnmatchedResults?(c=s.table3.footer.summary.records,u=n.createElement(n.Fragment,null,n.createElement("strong",null,l)," ",s.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(i).format(a)))):(c=s.table3.footer.summary.records,u=n.createElement("strong",null,new Intl.NumberFormat(i).format(a))),n.createElement("div",{className:"sticky bottom-0 left-0 z-40 -mt-10 flex h-10 w-fit items-center whitespace-nowrap bg-white px-4 !pr-3 shadow-[6px_0px_6px_theme(colors.white)]","data-taco":"table2-footer-summary"},c," ",u)}const vg=(e,t)=>{switch(e){case"short":switch(t){case exports.FontSizes.small:return"8px";default:return"6px"}case"tall":switch(t){case exports.FontSizes.small:return"16px";case exports.FontSizes.large:return"12px";default:return"14px"}case"extra-tall":switch(t){case exports.FontSizes.small:return"22px";case exports.FontSizes.large:return"18px";default:return"20px"}default:switch(t){case exports.FontSizes.small:return"12px";case exports.FontSizes.large:return"8px";default:return"10px"}}},pg=e=>{switch(e){case exports.FontSizes.small:return"8px";case exports.FontSizes.medium:return"12px";default:return"16px"}};function wg(e){var l;const{table:a,tableRef:r,scrollToIndex:o,rowIdentifier:i}=e,s=a.options.meta,c=s.validation.errors,u=c?Object.keys(c):[],d=a.getRowModel().rows,m=a.getCoreRowModel().rows,{texts:g}=mr(),[f,h]=n.useState(!1),[v,p]=n.useState(null),[w,b]=n.useState(null),[E,x]=n.useState(!1),y=a.getAllFlatColumns().find(e=>e.id===i),z=null==y||null===(l=y.columnDef.meta)||void 0===l?void 0:l.header,R=e=>{s.rowActive.setRowActiveIndex(e),o(e,{align:"center"}),fm.value=void 0,requestAnimationFrame(()=>{(()=>{var e;const t=null===(e=r.current)||void 0===e?void 0:e.querySelector('[role="row"][data-current="true"] [role="cell"][data-invalid="true"]'),n=null==t?void 0:t.querySelector(sm);n&&(null==n||n.focus(),fm.value=null==t?void 0:t.getAttribute("data-column-index"))})()})};n.useEffect(()=>{null!==w&&w>=0&&R(w)},[w]),n.useEffect(()=>{if(E){const e=d.findIndex(e=>e.id===v);if(-1===e)return;b(e)}},[E]);const C=n.useCallback(e=>{const t=d.findIndex(t=>t.id===e);if(-1===t)return x(!1),h(!0),void p(e);t===w?R(t):b(t)},[d,w]),S=n.useCallback(e=>m.find(t=>t.id===e),[m]);return n.createElement("div",{className:"mb-4 empty:hidden"},u.length?n.createElement(Sa,{state:"error",className:"mb-1"},n.createElement(n.Fragment,null,n.createElement("b",null,u.length," ",g.table3.validation.alert.unsavedEntries(u.length))," "),z||g.table3.validation.index," ",u.map((e,l)=>{const a=S(e);return n.createElement(t.Fragment,{key:""+e},n.createElement(hr,{className:"!min-h-[theme(spacing.2)] !min-w-[theme(spacing.2)] !px-1",appearance:"discrete",onClick:()=>{C(e)}},i?null==a?void 0:a.original[i]:null==a?void 0:a.index),n.createElement("span",null,l<u.length-1?",":""))}),g.table3.validation.alert.incompleteAndHavntBeenSaved(u.length)):null,n.createElement(bg,{open:f,onClose:()=>{h(!1)},onConfirm:()=>{x(!0)},table:a}))}function bg(e){const{open:t,onClose:l,onConfirm:a,table:r}=e,o=r.options.meta,{texts:i}=mr(),s=n.useCallback(()=>{o.search.setQuery(""),r.resetGlobalFilter(),r.resetColumnFilters()},[r,o.search]);return n.createElement(Oo,{open:t,onClose:l,size:"xs"},n.createElement(Oo.Content,{"aria-label":"Create a new account"},n.createElement(Oo.Title,null,i.table3.validation.resetFiltersDialog.title),n.createElement("p",null,i.table3.validation.resetFiltersDialog.description),n.createElement(Oo.Footer,null,n.createElement(Ao,null,n.createElement(Oo.Close,null,n.createElement(hr,null,i.table3.validation.resetFiltersDialog.cancel)),n.createElement(hr,{appearance:"primary",onClick:()=>{s(),a(),l()}},i.table3.validation.resetFiltersDialog.confirm)))))}function Eg(e){return null}function xg(e){return null}Eg.displayName="Table3Column",xg.displayName="Table3Group";const yg=rs((function(e,t){const{emptyState:a,customSettings:r,toolbarLeft:o,toolbarRight:i,defaultCurrentRowIndex:s}=e,c=$a(t),{table:u,length:d}=function(e,t){var a,r;const[o,i]=function(e,t={},n){const l=(a=e,`taco.${Vs().uniqueUserIdentifier}.table3.${a}.settings`);var a;const[r,o]=ks(l,t);return Ds(()=>{n&&n(r)},[r]),[r,o]}(e.id,e.defaultSettings,e.onChangeSettings),s=function(e){var t,l,a,r,o,i,s,c,u,d,m,g,f,h,v,p,w,b;const E=e.preset?tm[e.preset]:em,x=null!==(t=e.enableRowExpansion)&&void 0!==t?t:E.enableRowExpansion,y=null!==(l=e.enableRowSelection)&&void 0!==l?l:E.enableRowSelection;return n.useEffect(()=>{x&&!e.expandedRowRenderer&&console.warn(`Table3 (id: ${e.id}) - Row expansion is enabled but no \`expandedRowRenderer\` has been provided. Provide one to enable row expansion or set \`enableRowExpansion\` to \`false\`.`),y&&!e.onRowSelect&&console.warn(`Table3 (id: ${e.id}) - Row selection is enabled but no \`onRowSelect\` handler has been provided. Provide one to enable row selection or set \`enableRowSelection\` to \`false\`.`)},[]),{enableColumnFreezing:null!==(a=e.enableColumnFreezing)&&void 0!==a?a:E.enableColumnFreezing,enableColumnHiding:null!==(r=e.enableColumnHiding)&&void 0!==r?r:E.enableColumnHiding,enableColumnOrdering:null!==(o=e.enableColumnOrdering)&&void 0!==o?o:E.enableColumnOrdering,enableColumnResizing:null!==(i=e.enableColumnResizing)&&void 0!==i?i:E.enableColumnResizing,enableFontSize:null!==(s=e.enableFontSize)&&void 0!==s?s:E.enableFontSize,enableFooter:null!==(c=e.enableFooter)&&void 0!==c?c:E.enableFooter,enablePrinting:null!==(u=e.enablePrinting)&&void 0!==u?u:E.enablePrinting,enableRowDrag:(null!==(d=e.enableRowDrag)&&void 0!==d?d:E.enableRowDrag)&&!!e.onRowDrag,enableRowDrop:(null!==(m=e.enableRowDrop)&&void 0!==m?m:E.enableRowDrop)&&!!e.onRowDrop,enableRowExpansion:x&&!!e.expandedRowRenderer,enableRowGoto:(null!==(g=e.enableRowGoto)&&void 0!==g?g:E.enableRowGoto)&&!!e.onRowGoto,enableRowHeight:null!==(f=e.enableRowHeight)&&void 0!==f?f:E.enableRowHeight,enableRowSelection:y&&!!e.onRowSelect,enableRowSelectionSingle:(null!==(h=e.enableRowSelectionSingle)&&void 0!==h?h:E.enableRowSelectionSingle)&&y&&!!e.onRowSelect,enableEditing:null!==(v=e.enableEditing)&&void 0!==v?v:E.enableEditing,enableFiltering:null!==(p=e.enableFiltering)&&void 0!==p?p:E.enableFiltering,enableSearch:null!==(w=e.enableSearch)&&void 0!==w?w:E.enableSearch,enableSorting:null!==(b=e.enableSorting)&&void 0!==b?b:E.enableSorting}}(e),c=function(e,t){const n={enableColumnFilters:t.enableFiltering,enableColumnResizing:t.enableColumnResizing,enableExpanding:t.enableRowExpansion,enableGlobalFilter:t.enableSearch,enableHiding:t.enableColumnHiding,enableRowSelection:t.enableRowSelection,enableMultiRowSelection:!t.enableRowSelectionSingle,enableSorting:t.enableSorting};return n.enableColumnResizing&&(n.columnResizeMode="onChange"),n.enableColumnFilters&&(e.onFilter||(n.filterFns={tacoFilter:(e,t,n)=>im(e.getValue(t),n)},n.getFilteredRowModel=R.getFilteredRowModel())),n.enableGlobalFilter&&(n.globalFilterFn=(e,t,n)=>{try{if(e.original){const l=e.getAllCells().find(e=>e.column.id===t),a=null==l?void 0:l.column.columnDef.meta;if(l&&l.column.getIsVisible()&&null!=a&&a.enableSearch){const l=Yd(e.original[t],null==a?void 0:a.dataType);if(void 0!==l)return om(l,n)}return!1}}catch{}return!1},n.getFilteredRowModel=R.getFilteredRowModel(),n.getColumnCanGlobalFilter=e=>{var t;return null===(t=e.columnDef.meta.enableSearch)||void 0===t||t}),t.enableSorting&&(e.onSort?n.manualSorting=!0:n.getSortedRowModel=R.getSortedRowModel()),n}(e,s),u=function(e,t){const[l,a]=n.useState(()=>e),[r,o]=n.useState(!1),i=n.useMemo(()=>function(e){let t=0;return e.enableRowDrag&&t++,e.enableRowSelection&&t++,e.enableRowExpansion&&t++,t}(t),[]);return{isEnabled:t.enableColumnFreezing,frozenInternalColumnCount:i,frozenColumnIndex:l,setFrozenColumnIndex:e=>a(null!=e?e:-1),horizontallyScrolled:r,handleScroll:e=>{e.currentTarget.scrollLeft>0&&!r?o(!0):0===e.currentTarget.scrollLeft&&r&&o(!1)}}}(null!==(a=o.columnFreezingIndex)&&void 0!==a?a:e.defaultColumnFreezingIndex,s),d=function(e,t){const[l,a]=n.useReducer(Gm,{errors:null,draftErrors:null});function r(e,t,n){a({type:_m.SET_CELL_ERROR,payload:{rowId:e,cellId:t,error:n}})}function o(e,t){a({type:_m.SET_ROW_ERROR,payload:{rowId:e,errors:t}})}function i(e,t){a({type:_m.RESET_ERRORS,payload:{rowId:e,cellId:t}})}return{validate:(n,l,a)=>{let s;return s=a&&e?e(l[a],a,l):t?t(l):new Promise(e=>{e()}),s.then(()=>{i(n,a)}).catch(e=>{((e,t,n)=>{n?r(t,n,e[n]):o(t,e)})(e,n,a)}),s},setCellError:r,setRowErrors:o,confirmErrors:function(e){a({type:_m.CONFIRN_ERRORS,payload:{rowId:e}})},getCellError:function(e){var t,n;return l.draftErrors&&(null===(t=l.draftErrors[e.row.id])||void 0===t?void 0:t[e.column.id])||(l.errors?null===(n=l.errors[e.row.id])||void 0===n?void 0:n[e.column.id]:void 0)},resetErrors:i,errors:l.errors,draftErrors:l.draftErrors}}(e.onCellValidate,e.onRowValidate),m=function(e,t,l,a){const[r,o]=n.useState(!1),[i,s]=n.useReducer(zm,null),[c,u]=n.useReducer((e,t)=>function(e,t){switch(t.type){case xm.SET_CELL_VALUE:return{...e,[t.payload.rowId]:{...(null==e?void 0:e[t.payload.rowId])||t.payload.originalValues,[t.payload.cellId]:t.payload.value}};case xm.RESET_CHANGE:{let n={...e};return n&&delete n[t.payload.rowId],0===Object.keys(n).length&&(n=null),n}default:return e}}(e,t),null),[d,m]=n.useState(!1);function g(e){u({type:xm.RESET_CHANGE,payload:{rowId:e}}),l.resetErrors(e)}const f=n.useCallback(e=>{e.defaultPrevented||(Qa(e,{key:"e",meta:!0,shift:!1})?o(e=>!e):Qa(e,{key:"s",meta:!0,shift:!1})&&(e.preventDefault(),v()))},[r]),h=n.useCallback(e=>{e.target===e.currentTarget&&v()},[]),v=function(){try{if(!c)return Promise.resolve();const e=Object.keys(c),t=function(){if(a&&e.length)return(()=>{const e=Object.keys(c||{}),t=F.reduce(e,(e,t)=>({...e,[t]:Em.Saving}),{});s({type:ym.SET_SAVING_STATUSES,payload:{states:t}})})(),Promise.resolve(Promise.allSettled(e.map(e=>new Promise((t,n)=>{const r=null==c?void 0:c[e];var o;r?null===(o=l.validate(e,r))||void 0===o||o.then(()=>{a(r).then(()=>{t()}).catch(t=>{t.errors&&l.setRowErrors(e,t.errors),n(t)})}).catch(()=>{l.confirmErrors(e),s({type:ym.SET_SAVING_STATUS,payload:{rowId:e,state:Em.Error}}),n()}):n()})))).then((function(t){t.forEach((t,n)=>{const l=e[n];"fulfilled"===t.status?(g(l),s({type:ym.SET_SAVING_STATUS,payload:{rowId:l,state:Em.Saved}})):s({type:ym.SET_SAVING_STATUS,payload:{rowId:l,state:Em.Error}})})}))}();return Promise.resolve(t&&t.then?t.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},[p,w]=n.useState(null),b=n.useCallback(e=>!!(r&&c&&Object.keys(c).length>0)&&(e.returnValue=!0,!0),[r,c]);return n.useEffect(()=>{const e=e=>{const n=e.target,l=n.closest('[role="dialog"], [role="menu"]');Wa(n,t.current)||Wa(l,t.current)||v()};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[v]),n.useEffect(()=>(window.addEventListener("beforeunload",b),()=>{window.removeEventListener("beforeunload",b)}),[b]),n.useEffect(()=>{r||(m(!1),fm.value=null)},[r]),{isEnabled:e,isEditing:r,toggleEditing:o,changes:c,getCellValue:function(e){var t;return c?null===(t=c[e.row.id])||void 0===t?void 0:t[e.column.id]:void 0},setCellValue:function(e,t){u({type:xm.SET_CELL_VALUE,payload:{rowId:e.row.id,cellId:e.column.id,value:t,originalValues:e.row.original}})},saveChangesIfNeeded:v,detailModeEditing:d,setDetailModeEditing:m,rowMoveReason:p,setRowMoveReason:w,removeRowMoveReason:()=>{w(null)},handleKeyDown:f,handleBlur:h,resetChange:g,getSavingStatus:function(e){return i&&i[e]},resetSavingStatus:e=>{s({type:ym.RESET_SAVING_STATUS,payload:{rowId:e}})}}}(s.enableEditing,t,d,e.onSave),g=function(e=!1,t=!0,l){const[a,r]=n.useState(t);return{isEnabled:e,isPrinting:l.endsWith("_print"),isWarningVisibleForLargeDatasets:a,setIsWarningVisibleForLargeDatasets:e?r:()=>{}}}(s.enablePrinting,o.showWarningWhenPrintingLargeDataset,e.id),f=function(e,t=4){return{actionsForRow:e,actionsForRowLength:t}}(e.actionsForRow,e.actionsForRowLength),h=function(e){const[t,l]=n.useState({});return{isEnabled:e,dragging:t,setDragging:e?l:()=>{}}}(s.enableRowDrag),v=(w=e.onRowDrop,{isEnabled:p=s.enableRowDrop,handleDrop:p&&w?w:()=>{}});var p,w;const b=function(e,t=!1){const[l,a]=n.useState(!1),[r,o]=n.useState(),[i,s]=n.useState(!0),[c,u]=n.useState(t),[d,m]=n.useState([]),[g,f]=n.useState(void 0);return{isEnabled:e,isHighlightingEnabled:i,toggleHighlighting:s,excludeUnmatchedResults:c,toggleExcludeUnmatchedResults:u,query:r,setQuery:e?o:()=>{},highlightedColumnIndexes:d,setHighlightedColumnIndexes:m,currentHighlightColumnIndex:g,setCurrentHighlightColumnIndex:f,isSearching:l,setIsSearching:a}}(s.enableSearch,o.excludeUnmatchedRecordsInSearch),E=function(){const[e,t]=n.useState(!1);return{isPaused:e,pause:t}}(),x=ys(s.enableColumnOrdering),y=zs(s.enableFontSize,o.fontSize),z=Ss(!0,e.defaultCurrentRowIndex),C=Ns(!0,e.onRowClick),S=Os(s.enableRowGoto,e.onRowGoto),N=As(s.enableRowHeight,o.rowHeight),O=Is(s.enableRowSelection),A=Ms(e.loadPage,e.loadAll),{columns:I,defaultColumnSizing:L,defaultColumnVisibility:H,defaultSorting:M}=function(e,t,a){var r;const o=Xd(null==e||null===(r=e.defaultSettings)||void 0===r?void 0:r.fontSize);return n.useMemo(()=>{var r;const i=R.createColumnHelper(),s={},c={},u=[];function d(e){var l,a,r,d,g,f,h,v,p,w,b,E;return n.isValidElement(e)&&"Table3Column"===(null===(l=e.type)||void 0===l?void 0:l.displayName)&&e.props.accessor?(e.props.defaultWidth&&(s[e.props.accessor]="grow"===e.props.defaultWidth?"1fr":e.props.defaultWidth),e.props.defaultHidden&&t.enableColumnHiding&&(c[e.props.accessor]=!1),void 0!==e.props.sort&&u.push({id:e.props.accessor,desc:"desc"===e.props.sort}),{accessorKey:e.props.accessor,id:e.props.accessor,header:Ld,cell:Hm,footer:Fd,minSize:o,enableResizing:null===(r=e.props.enableResizing)||void 0===r||r,enableColumnFilter:null===(d=e.props.enableFiltering)||void 0===d||d,filterFn:"tacoFilter",enableSorting:null===(g=e.props.enableSorting)||void 0===g||g,sortingFn:(b=e.props.dataType,E=e.props.sortFn,"function"==typeof E?(e,t,n)=>E(e.original,t.original,n):E||(b&&"boolean"!==b&&"number"!==b?b:"auto")),sortDescFirst:!1,sortUndefined:1,enableHiding:null===(f=e.props.enableHiding)||void 0===f||f,meta:{align:e.props.align,className:e.props.className,control:e.props.control,dataType:e.props.dataType,enableOrdering:null===(h=e.props.enableOrdering)||void 0===h||h,enablePrinting:null===(v=e.props.enablePrinting)||void 0===v||v,enableSearch:null===(p=e.props.enableSearch)||void 0===p||p,enableTruncate:null!==(w=e.props.enableTruncate)&&void 0!==w&&w,filters:e.props.filters,footer:e.props.footer,header:e.props.header,headerClassName:e.props.headerClassName,menu:e.props.menu,renderer:e.props.renderer,tooltip:e.props.tooltip}}):n.isValidElement(e)&&"Table3Group"===(null===(a=e.type)||void 0===a?void 0:a.displayName)&&e.props.children?i.group({id:e.props.id,header:Fm,columns:m(e.props.children),meta:{align:"center",enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:e.props.header}}):void 0}function m(e){return n.Children.toArray(e).map(d).filter(e=>!!e)}const g=m(e.children);var f,h,v;return t.enableRowExpansion&&e.expandedRowRenderer&&g.unshift(i.display((f=e.expandedRowRenderer,{id:"__expansion",header:Vm,cell:e=>n.createElement(Tm,Object.assign({},e,{expandedRowRenderer:f})),footer:Fd,meta:{align:"center",className:"!p-0 !pt-[var(--table3-cell-padding-y)]",enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1,size:40}))),t.enableRowSelection&&g.unshift(i.display(function(e,t){const n=e&&t?22:40;return{id:"__select",header:Mm,cell:km,footer:Fd,meta:{align:"center",className:l("!pt-[var(--table3-cell-padding-y)] !justify-end !p-0",{"!pr-0.5":t,"!pr-3":!t}),enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:l("items-center !justify-end !p-0",{"!pr-0.5":t,"!pr-3":!t})},enableResizing:!1,size:n,minSize:n}}(!(!t.enableRowDrag||!e.onRowDrag),!!e.expandedRowRenderer))),t.enableRowDrag&&e.onRowDrag&&g.unshift(i.display((h=e.onRowDrag,{id:"__drag",header:Ld,cell:e=>n.createElement(Dm,Object.assign({},e,{isSelected:e.row.getIsSelected(),onRowDrag:h})),footer:Fd,meta:{align:"center",className:"!p-0 !pt-[var(--table3-cell-padding-y)]",enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1,size:20,minSize:20}))),null!==(r=e.actionsForRow)&&void 0!==r&&r.length&&g.push(i.display({id:"__actions",header:Ld,cell:Kd,footer:Fd,meta:{align:"right",className:l('!pt-[var(--table3-cell-padding-y)] print:opacity-0 [[role="table"][data-editing="false"]_&]:group-[[data-current="true"]]/row:sticky [[role="table"][data-pause-hover="false"][data-editing="false"]_&]:group-hover/row:sticky right-0 !pl-1 !pr-1',"shadow-[-6px_0px_6px_var(--table3-row-actions-shadow)]",'group-[[data-current="true"][data-selected="false"]]/row:text-grey-200','group-[[data-selected="true"]]/row:text-blue-100','group-[[data-selected="false"]:hover]/row:text-grey-100'),enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1})),a.isEnabled&&a.isEditing&&g.push(i.display((v=e.rowIdentifier,{id:"__editing_actions",header:Ld,cell:e=>n.createElement(Cm,Object.assign({},e,{rowIdentifier:v})),footer:Fd,meta:{align:"right",className:l('items-center print:opacity-0 [[role="table"][data-editing="true"]_&]:group-[[data-current="true"]]/row:sticky right-0 !pl-0 !pr-1','[[role="table"][data-editing="true"]_&]:group-[[data-current="true"]]/row:shadow-[-6px_0px_6px_var(--table3-row-actions-shadow)]','group-[[data-current="true"][data-selected="false"]]/row:text-grey-200','group-[[data-selected="true"]]/row:text-blue-100','group-[[data-selected="false"]:hover]/row:text-grey-100'),enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1,size:60,minSize:60}))),{columns:g,defaultColumnSizing:s,defaultColumnVisibility:c,defaultSorting:u}},[a.isEditing])}(e,s,m),k=n.useMemo(()=>{var t,n,l,a;const r={columnOrder:cs(I,o.columnOrder,["__actions","__editing_actions"]),columnSizing:null!==(t=o.columnSizing)&&void 0!==t?t:L,columnVisibility:null!==(n=o.columnVisibility)&&void 0!==n?n:H,sorting:o.sorting?o.sorting.filter(e=>I.find(t=>t.id===e.id)):M};var i,s;return null!==(l=e.defaultSettings)&&void 0!==l&&l.columnFilters&&(r.columnFilters=null===(i=e.defaultSettings)||void 0===i?void 0:i.columnFilters),null!==(a=e.defaultSettings)&&void 0!==a&&a.globalFilter&&(r.globalFilter=null===(s=e.defaultSettings)||void 0===s?void 0:s.globalFilter),r},[]),V=R.useReactTable({data:e.data,columns:I,getCoreRowModel:R.getCoreRowModel(),initialState:k,...c,meta:{columnFreezing:u,columnOrdering:x,editing:m,enableFooter:s.enableFooter,fontSize:y,getSettings:()=>{const e=V.getState();return{columnFreezingIndex:u.frozenColumnIndex,columnOrder:x.isEnabled?e.columnOrder:void 0,columnSizing:V.options.enableColumnResizing?e.columnSizing:void 0,columnVisibility:V.options.enableHiding?e.columnVisibility:void 0,excludeUnmatchedRecordsInSearch:b.excludeUnmatchedResults,fontSize:y.isEnabled?y.size:void 0,rowHeight:N.isEnabled?N.height:void 0,showWarningWhenPrintingLargeDataset:g.isWarningVisibleForLargeDatasets,sorting:e.sorting}},isPrinting:e.id.endsWith("_print"),isUsingServer:!!e.loadPage,printing:g,rowActions:f,rowActive:z,rowClick:C,rowDrag:h,rowDrop:v,rowGoto:S,rowHeight:N,rowSelection:O,search:b,server:A,shortcutsState:E,tableRef:t,validation:d}});return function(e){const t=e.options.meta;n.useEffect(()=>{t.editing.isEnabled&&t.editing.isEditing&&requestAnimationFrame(()=>{t.editing.saveChangesIfNeeded()})},[t.rowActive.rowActiveIndex]),n.useEffect(()=>{t.editing.isEnabled&&(t.editing.isEditing?void 0===t.rowActive.rowActiveIndex&&t.rowActive.setRowActiveIndex(0):requestAnimationFrame(()=>{t.editing.saveChangesIfNeeded()}))},[t.editing.isEditing])}(V),function(e,t){const l=e.options.meta,a=e.getState();n.useEffect(()=>{let e;return"function"==typeof t&&(e=setTimeout(()=>{t(l.getSettings())},250)),()=>clearTimeout(e)},[l.columnFreezing.frozenColumnIndex,a.columnOrder,a.columnSizing,a.columnVisibility,l.search.excludeUnmatchedResults,l.fontSize.size,l.rowHeight.height,l.printing.isWarningVisibleForLargeDatasets,a.sorting])}(V,i),Fs(V),Ps(V,e.onFilter),Bs(V),_s(V,e.onRowSelect),Ks(V,e.loadPage),qs(V,e.shortcuts),$s(V,e.onSort),{table:V,length:null!==(r=e.length)&&void 0!==r?r:e.data.length}}(e,c);!function(e,t){n.useEffect(()=>{if(t.current){const n=e.options.meta;t.current.instance={resetFiltering:()=>e.resetColumnFilters(),resetRowExpansion:()=>e.resetExpanded(),resetRowSelection:()=>e.resetRowSelection(),resetSorting:()=>e.resetSorting(),toggleEditing:e=>n.editing.toggleEditing(null!=e?e:e=>!e)}}},[e,t.current])}(u,c),n.useEffect(()=>{var t;e.autoFocus&&(null===(t=c.current)||void 0===t||t.focus())},[]);const{renderBody:m,scrollToIndex:g}=function(e,t,l){return function(e,t,l){const a=t.options.meta,r=t.getRowModel().rows,o=t.getState().expanded,[i,s]=n.useState({}),c=n.useMemo(()=>{const e=Object.values(i);return e.length?e.reduce((e,t)=>e+t,0)/e.length:0},[i]),u=n.useCallback(e=>{const t=a.rowHeight.height?$m[a.rowHeight.height]:$m.medium;var n,l;return!0===o||null!=o&&o[e]?t+(null!==(n=null!==(l=i[e])&&void 0!==l?l:c)&&void 0!==n?n:0):t},[a.rowHeight.height,i,o]),d=P.useVirtual({parentRef:l,size:r.length,estimateSize:u}),m=n.useCallback((e,t)=>{if(l.current)if(e<=0)l.current.scrollTo(l.current.scrollLeft,0);else if(e>=r.length-1){var n;null===(n=l.current)||void 0===n||n.scrollTo(0,l.current.scrollHeight)}else d.scrollToIndex(e,t)},[r.length,l.current]);return{renderBody:Wm(e,r,t,l,d,s),scrollToIndex:m}}(e,t,l)}(e,u,c),f=u.options.meta,h=u.getState(),p=n.useRef(null);n.useEffect(()=>{const e=requestAnimationFrame(()=>{s&&g(s,{align:"center"})});return()=>{cancelAnimationFrame(e)}},[]),n.useEffect(()=>{const e=e=>{const t=e.target,n=t.closest('[role="dialog"]');if(t.closest('[role="combobox"]:not([data-taco="Select2"])')||n&&(null==n||!n.contains(c.current))||f.shortcutsState.isPaused)return;const l=u.getRowModel().rows;var a;f.rowActive.handleKeyDown(e,l.length,g,f.editing.isEditing?void 0:c),void 0!==f.rowActive.rowActiveIndex&&f.rowClick.handleKeyDown(e,null===(a=l[f.rowActive.rowActiveIndex])||void 0===a?void 0:a.original),f.rowSelection.handleKeyDown(e,u),f.editing.handleKeyDown(e)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[g,f.editing.isEditing,c.current,f.rowActive.rowActiveIndex]);const w=f.editing.isEnabled?e=>{f.editing.handleBlur(e)}:void 0,b=void 0===f.rowActive.rowActiveIndex?e=>{f.rowActive.handleFocus(e,u.getRowModel().rows.length,g)}:void 0,E=l("border-grey-300 relative grid h-full w-full flex-grow overflow-auto rounded border bg-white scroll-mt-[41px] focus-visible:outline-none",'[&[data-resizing="true"]]:select-none',{"text-xs":f.fontSize.size===exports.FontSizes.small,"text-sm":f.fontSize.size===exports.FontSizes.medium,"text-base":f.fontSize.size===exports.FontSizes.large}),{style:x}=((e,t=!1,l=0,a)=>{const r=e.getVisibleLeafColumns(),o=e.getState().columnSizing,i=e.getRowModel().rows.length+Object.keys(e.getState().expanded).length,s=Xd(a);return{style:{gridTemplateColumns:n.useMemo(()=>r.reduce((e,n,a)=>{let i;const c=a===r.length-1,u=o[n.id],d=Ud(n.id);return i=t?`minmax(20px, ${d?n.getSize()+"px":"1fr"})`:d?"__actions"===n.id?`minmax(${32*l+8+8}px, auto)`:n.getSize()+"px":void 0!==u?"1fr"===u?"minmax(max-content, 1fr)":c?`minmax(${u}px, auto)`:u<s?s+"px":u+"px":"minmax(max-content, auto)",`${e} ${i}`.trim()},""),[r,o,s]),gridTemplateRows:n.useMemo(()=>`min-content repeat(${i}, min-content) 1fr min-content`,[i])}}})(u,f.printing.isPrinting,f.rowActions.actionsForRowLength,f.fontSize.size),{style:y}=(z=f.rowHeight.height,{style:{"--table3-cell-padding-x":pg(C=f.fontSize.size),"--table3-cell-padding-y":vg(z,C)}});var z,C;const S={...y,...x,opacity:.999},N=function(e,t){var l;const{columnOrder:a,columnSizing:r,columnSizingInfo:o,columnVisibility:i}=t.getState(),s=t.options.meta,c=(s.columnFreezing.isEnabled&&null!==(l=s.columnFreezing.frozenColumnIndex)&&void 0!==l?l:-1)+s.columnFreezing.frozenInternalColumnCount;return n.useMemo(()=>{if(s.columnFreezing.frozenInternalColumnCount>0||s.columnFreezing.isEnabled&&void 0!==c){var n;const l=t.getVisibleLeafColumns().slice(0,c+1),a=l.filter(e=>!Ud(e.id));if(a.length&&a.every(e=>void 0===r[e.id]))return;const o=[l.map((t,n)=>`#${e} [role="row"] > :nth-child(${n+1}) { left: ${t.getStart()}px }`).join("\n"),`#${e} [role="row"] > :not(:nth-child(n+${c+2})) {\n position: sticky;\n z-index: 20;\n }`,`#${e}[data-horizontally-scrolled="true"] [role="row"] > :nth-child(${c+1}) {\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 6px 0px 6px rgb(0 0 0/8%), 1px 0px 0px #DDDDDD;\n }`],i=null===(n=l[c])||void 0===n?void 0:n.id;return i&&!Ud(i)&&o.push(`#${e}[data-horizontally-scrolled="false"] [role="row"] > :nth-child(${c+1}) {\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 1px 0px 0px #DDDDDD;\n }`),o.join("\n")}},[a,r,o,i,s.columnFreezing.isEnabled,c])}(e.id,u),O=function(e,t){const l=t.getFlatHeaders();return n.useMemo(()=>[...new Set(l.map(e=>e.depth))].map(t=>`#${e} [data-taco="table2-header"] [role="row"]:nth-child(${t}) [role="columnheader"],\n #${e} [data-taco="table2-header"] [role="row"]:nth-child(${t}) [data-taco="table3-column-group"]\n { top: ${function(e){return 42*(e-1)}(t)}px }`).join("\r\n"),[l,e])}(e.id,u),A=f.isUsingServer&&void 0===e.length;return n.createElement(n.Fragment,null,N?n.createElement("style",{"data-taco":"table3-column-freezing-styles"},N):null,O&&!f.printing.isPrinting?n.createElement("style",{"data-taco":"table3-column-header-offset-styles"},O):null,n.createElement(fg,{table:u,tableProps:e,total:d,left:o,right:i,customSettings:r,scrollToIndex:g}),n.createElement(wg,{table:u,tableRef:c,scrollToIndex:g,rowIdentifier:e.rowIdentifier}),n.createElement("div",{className:E,id:e.id,"data-font-size":f.fontSize.size,"data-editing":f.editing.isEditing,"data-horizontally-scrolled":f.columnFreezing.horizontallyScrolled,"data-pause-hover":null==f?void 0:f.rowActive.isHoverStatePaused,"data-resizing":!!h.columnSizingInfo.isResizingColumn,"data-taco":"table2",onBlur:w,onFocus:b,onScroll:function(e){try{return f.columnFreezing.handleScroll(e),Promise.resolve()}catch(e){return Promise.reject(e)}},ref:c,role:"table",style:S,tabIndex:-1},A?null:n.createElement("div",{className:"group/header contents","data-taco":"table2-header",role:"rowgroup"},u.getHeaderGroups().map(e=>n.createElement("div",{className:"contents",key:e.id,role:"row"},e.headers.map((t,l)=>{var a;const r=!(l===f.columnFreezing.frozenColumnIndex||l===e.headers.length-1||null!==(a=e.headers[l+1])&&void 0!==a&&a.isPlaceholder&&t.isPlaceholder);return n.createElement(n.Fragment,{key:t.id},R.flexRender(t.column.columnDef.header,{...t.getContext(),scrollToIndex:g,hasSeparator:r}))})))),u.getRowModel().rows.length?n.createElement(n.Fragment,null,n.createElement(v.FocusScope,{autoFocus:f.editing.isEditing},n.createElement("div",{className:"group/body contents","data-taco":"table2-body",role:"rowgroup",ref:p},m())),n.createElement("div",{className:l("border-grey-300 col-span-full border-t",{"translate-y-px":f.enableFooter})}),f.enableFooter?n.createElement("div",{className:"group/footer contents","data-taco":"table2-footer",role:"rowgroup"},u.getFooterGroups().slice(0,1).map(e=>n.createElement("div",{className:"contents",key:e.id,role:"row"},e.headers.map(e=>n.createElement(n.Fragment,{key:e.id},R.flexRender(e.column.columnDef.footer,e.getContext()))))),d?n.createElement(hg,{currentLength:u.getRowModel().rows.length,length:d,table:u}):null):null):n.createElement("div",{className:"col-span-full box-border min-h-[theme(spacing.8)]"},a?n.createElement(a,null):null)))})),zg=rs((function(e,t){const l=String(e.children),a=n.useMemo(()=>String("tableKey_"+l),[l]);return n.createElement(yg,Object.assign({},e,{key:a,ref:t}))}));zg.Column=Eg,zg.Group=xg;const Rg=t.forwardRef((function(e,n){const{id:a,defaultId:r,children:o,onChange:i,orientation:s="horizontal",...c}=e,u=l({"flex w-full":"vertical"===s},e.className);return t.createElement(B.Root,Object.assign({},c,{className:u,"data-taco":"tabs",defaultValue:r,dir:"ltr",onValueChange:i,orientation:s,ref:n,value:a}),o)})),Cg=t.forwardRef((function(e,n){const a=l("border-grey-300 flex flex-row m-0 mb-4","aria-orientation-horizontal:border-b","aria-orientation-vertical:border-r aria-orientation-vertical:m-0 aria-orientation-vertical:mr-4 aria-orientation-vertical:flex-col ",e.className);return t.createElement(B.List,Object.assign({},e,{className:a,ref:n}))})),Sg=t.forwardRef((function(e,n){const{children:a,id:r,disabled:o,tooltip:i,...s}=e,c=l("group relative p-0.5 outline-none disabled:cursor-not-allowed disabled:text-black/50",'[[aria-orientation="horizontal"]_&]:pb-1','[[aria-orientation="vertical"]_&]:pr-1'),u=l("flex-shrink-0 min-h-[theme(spacing.8)] min-w-[theme(spacing.8)] gap-1 h-max leading-5 inline-flex items-center justify-center focus-visible:yt-focus disabled:cursor-not-allowed","group-focus-visible:yt-focus-inset group-enabled:group-hover:wcag-grey-200 pointer-events-none rounded px-3"),d=l("pointer-events-none absolute hidden bg-blue-500 group-aria-selected:flex",'[[aria-orientation="horizontal"]_&]:rounded-t-sm [[aria-orientation="horizontal"]_&]:bottom-0 [[aria-orientation="horizontal"]_&]:left-0 [[aria-orientation="horizontal"]_&]:right-0 [[aria-orientation="horizontal"]_&]:-mb-px [[aria-orientation="horizontal"]_&]:h-0.5','[[aria-orientation="vertical"]_&]:rounded-l-sm [[aria-orientation="vertical"]_&]:right-0 [[aria-orientation="vertical"]_&]:top-0 [[aria-orientation="vertical"]_&]:bottom-0 [[aria-orientation="vertical"]_&]:-mr-px [[aria-orientation="vertical"]_&]:w-0.5'),m=t.createElement(B.Trigger,Object.assign({},s,{className:c,disabled:o,ref:n,value:r}),t.createElement("span",{className:u},a),t.createElement("span",{className:d}));return i?t.createElement(nr,{title:i},m):m})),Ng=t.forwardRef((function(e,n){const{id:a,...r}=e,o=l('[&[data-orientation="vertical"]]:grow outline-none',e.className);return t.createElement(B.Content,Object.assign({},r,{className:o,ref:n,value:a}))}));Rg.List=Cg,Rg.Trigger=Sg,Rg.Content=Ng;const Og=({continuous:e,index:n,isLastStep:l,step:a,backProps:r,primaryProps:o,skipProps:i,tooltipProps:s,size:c,locale:u,disableTourSkipOnEsc:d})=>{const m=t.useRef(null);return t.useEffect(()=>{const e=e=>{if(!d&&"Escape"===e.key&&null!==m.current)return e.preventDefault(),void m.current.click()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]),t.createElement("div",Object.assign({},s,{className:"yt-tour__step w-88 relative rounded bg-white p-4"}),t.createElement(ir,Object.assign({},i,{ref:m,appearance:"discrete",icon:"close",title:u.skip,"aria-label":u.skip,className:"absolute top-0 right-0 mt-1 mr-1"})),a.title&&t.createElement("h5",null,a.title),a.content,t.createElement(Ao,{className:"mt-4 justify-end"},n>0&&t.createElement(hr,Object.assign({},r,{appearance:"discrete"}),u.back),t.createElement(hr,Object.assign({},o,{appearance:"primary"}),e?l?`${u.last} (${n+1}/${c})`:`${u.next} (${n+1}/${c})`:u.close)))},Ag=e=>null,Ig=e=>{const{texts:{tour:n}}=mr(),{autoStart:l,onComplete:a,onClose:r,onReady:o,spotlightClicks:i,disableCloseOnEsc:s,disableScrollParentFix:c=!1,scrollOffset:u,...d}=e,m=t.useMemo(()=>t.Children.map(e.children,e=>({disableBeacon:!e.props.showBeacon,target:e.props.selector,placement:e.props.position,title:e.props.title,content:e.props.children})),[e.children]),g=t.useCallback(t=>{var n;return null===(n=e.children.find(e=>e.props.selector===t))||void 0===n?void 0:n.props},[e.children]);return t.createElement(G,Object.assign({},d,{run:l,steps:m,showProgress:!0,floaterProps:{disableAnimation:!0},tooltipComponent:e=>t.createElement(Og,Object.assign({},e,{locale:n,disableTourSkipOnEsc:s})),locale:n,spotlightPadding:8,spotlightClicks:i,disableScrollParentFix:c,callback:e=>{e.action===_.ACTIONS.SKIP&&e.lifecycle===_.LIFECYCLE.COMPLETE&&r&&r(g(e.step.target)),e.type===_.EVENTS.TOUR_END&&a&&a(),e.lifecycle===_.LIFECYCLE.READY&&o&&o(g(e.step.target))},scrollOffset:u,styles:{options:{primaryColor:"#6ba4ff"}},disableCloseOnEsc:!0}))};Ig.Step=Ag;const Lg=n.forwardRef((function(e,t){const{...a}=e,r=l(Hg(),e.className);return n.createElement(ir,Object.assign({},a,{appearance:"discrete",className:r,"data-taco":"header-button",ref:t}))})),Hg=(e=!0)=>l("!h-9 !w-9 flex-shrink-0 flex-grow-0 cursor-pointer relative","focus:!outline-none focus:!shadow-none focus-visible:!yt-focus-dark ","bg-transparent enabled:hover:bg-white/[.08] focus:bg-white/[.08] aria-current-page:bg-white/[.08]","text-white",{"!rounded-full":e}),Mg=n.forwardRef((function(e,t){const{children:a,icon:r,isNew:o,tooltip:i,...s}=e,{texts:c}=mr(),u=l(kg(r),"relative",e.className),d=n.createElement("a",Object.assign({},s,{className:u,"data-taco":"header-link",ref:t,tabIndex:0}),r?n.createElement(za,{name:r}):null,a,o?n.createElement(qa,{color:"blue",small:!0,className:"absolute right-0 top-0 -mr-2.5 -mt-1.5 !h-3 !px-0.5 text-[0.55rem] font-normal"},c.header.new):null);return i?n.createElement(nr,{title:i},d):d})),kg=e=>l("flex h-8 flex-shrink-0 flex-grow-0 cursor-pointer items-center justify-center ","focus:!shadow-none focus:!outline-none focus-visible:!yt-focus-dark","bg-transparent hover:bg-white/[.08] focus:bg-white/[.08] aria-current-page:bg-white/[.08]","text-white hover:text-white focus:text-white",{"!rounded-full !h-9 !w-9":e,"whitespace-nowrap px-3 rounded text-sm hidden lg:flex":!e}),Vg=n.forwardRef((function(e,t){const a=l("h-7 w-7 m-1 self-center justify-self-center flex-shrink-0 flex-grow-0",e.className);return n.createElement("svg",Object.assign({},e,{className:a,ref:t,viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("g",{className:"fill-brand-sunsetOrange"},n.createElement("path",{d:"M3.2496172 16.0366c-1.44938-.2893-2.857854.6517-3.1442248 2.1011-.2863702 1.4493.6516388 2.8578 2.1010248 3.1442 1.44938.2893 2.85786-.6517 3.14423-2.101.28929-1.4465-.65164-2.855-2.10103-3.1443z"}),n.createElement("path",{d:"M18.9911672 19.1692c-2.4137-.4792-4.7602 1.0871-5.2423 3.5037-.4793 2.4137 1.087 4.7602 3.5036 5.2423 2.4137.4793 4.7602-1.087 5.2424-3.5036.4792-2.4166-1.0871-4.7631-3.5037-5.2424z"}),n.createElement("path",{d:"M23.6958672.105135c-2.8988-.578585-5.7157 1.303275-6.2943 4.199125l-.5172 2.62116c-.3828 1.93446-2.2647 3.19098-4.1992 2.80819l-1.7474-.35651c-1.92569-.3828-3.18221-2.25589-2.79941-4.19035l.08766-.43832c.33021-1.68608-.7656-3.33417-2.45168-3.66438-1.69776-.336043-3.33709.75976-3.67606 2.45461-.33897 1.68607.76561 3.3254 2.45168 3.66437l.43833.09058c1.93446.3828 3.19098 2.26467 2.79941 4.19039l-.16948.8737c-.3828 1.9345.87372 3.8163 2.79945 4.1991 1.9344.3828 3.8163-.8737 4.1991-2.8082l.1695-.8737c.3828-1.9257 2.2646-3.1822 4.1903-2.7994l2.63.526c2.8987.5698 5.7157-1.31206 6.2855-4.20791.5844-2.90169-1.2974-5.718636-4.1962-6.288455z"})))})),jg=n.forwardRef((function(e,t){const a=l("-mr-[156px] xs:-mr-14 md:!mr-0 h-9 shrink-0 w-[180px] px-1",e.className);return n.createElement("svg",Object.assign({},e,{className:a,ref:t,viewBox:"0 0 127 13",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("g",{className:"fill-white"},n.createElement("path",{className:"fill-white",d:"M5.716016 1.34924242c3.029712.25015152 6.374384 1.74121213 8.2804 3.86060606 2.4384 2.71227273 1.603248 5.42454542-1.877568 6.05681822-3.480816.6322727-8.2804-1.0498485-10.720832-3.76212125C-.471424 5.42848485-.41656 3.35242424 1.27 2.2080303l9.67232 6.92742425-5.226304-7.78621213z",fillRule:"nonzero"}),n.createElement("g",{className:"hidden md:flex"},n.createElement("path",{d:"M53.67528 11.2509091l-1.2192-4.72727274c-.176784-.56333333-.24384-1.12666666-.36576-1.6880303h-.026416c-.107696.57515152-.148336 1.13848485-.308864 1.71363636l-1.22936 4.70954548h-2.101088l2.822448-9.87409093h1.647952l2.942336 9.86424243-2.162048.0019697z",fillRule:"nonzero"}),n.createElement("path",{d:"M21.553424 1.38469697l1.2192 4.72727273c.174752.56333333.241808 1.12469697.363728 1.6880303h.026416c.107696-.57515152.148336-1.13848485.310896-1.71363636l1.2192-4.70954546h2.105152L23.9776 11.2410606h-1.64592l-2.938272-9.85636363h2.160016z",fillRule:"nonzero"}),n.createElement("path",{fillRule:"nonzero",d:"M28.313888 1.38666667h2.01168v9.86424243h-2.01168z"}),n.createElement("path",{fillRule:"nonzero",d:"M41.694608 1.38666667l.983488 5.82045454h.026416l.808736-5.82045454h2.700528l1.0668 9.86424243h-2.064512l-.485648-7.10469698h-.028448l-.323088 2.43257576-.865632 4.67212122h-1.550416l-.98552-4.72333334L40.64 4.32939394v-.18318182h-.026416l-.296672 7.10469698h-2.160016l.890016-9.86424243z"}),n.createElement("path",{d:"M35.310064 1.38469697c-.3577988.27917284-.6303655.64756811-.788416 1.06560606-.526288 1.22909091.036576 2.16666667.534416 3.00575758.073152.12409091.148336.24818181.217424.37227272 1.085088 1.80424243 1.515872 3.13378788.705104 5.02863637-.056896.1339394-.191008.3939394-.191008.3939394h-2.424176c.3204254-.2482168.5741848-.5678542.739648-.9316667.556768-1.30196967-.099568-2.49166664-.735584-3.64393937-.764032-1.37878788-1.552448-2.81863636-.715264-4.78045455.079248-.18712121.254-.50424242.254-.50424242l2.403856-.00590909z",fillRule:"nonzero"}))),n.createElement("g",{className:"xs:flex xs:-translate-x-[40px] hidden md:!translate-x-0"},n.createElement("path",{className:"stroke-white",d:"M61.496448 0v12.8680303",strokeWidth:"1.68"}),n.createElement("g",{className:"fill-white"},n.createElement("path",{d:"M70.841616 9.70863636c-.999744 0-1.7888373-.29479798-2.36728-.88439394-.5784427-.58959596-.867664-1.40964646-.867664-2.46015151 0-1.05707071.2709333-1.89681818.8128-2.51924243.5304376-.61728629 1.3256457-.96197654 2.15392-.93363636.7626734-.03509605 1.5014967.26264579 2.013712.81151515.4944533.53969697.7410027 1.25272728.739648 2.13909091v.62833334h-4.659376c.022352.77015151.221488 1.35318181.6096 1.7530303.388112.39984848.916432.59090909 1.607312.59090909.743701-.00293405 1.4788698-.15377248 2.160016-.44318182v.88636364c-.3298144.14174433-.6736336.25063692-1.02616.325-.3855929.07188992-.7778273.1048941-1.170432.09848485m-.27432-5.95242425c-.4900374-.02138848-.9649513.16736328-1.298448.51606061-.3477231.40033357-.5485505.90121019-.570992 1.42409091h3.53568c0-.62636364-.14224-1.1069697-.430784-1.43984849-.3103282-.34233825-.7661196-.52691285-1.235456-.50030303",fillRule:"nonzero"}),n.createElement("path",{d:"M75.053952 6.25575758c-.0151689-.21657791.0536783-.43083638.19304-.60075758.1381463-.1429001.3347885-.21871211.536448-.20681818.2081607-.01140173.4114497.0638378.5588.20681818.2680858.35762602.2680858.84191943 0 1.19954545-.3018073.26987298-.7638609.27916874-1.07696.02166667-.1529999-.17086259-.2265151-.39533511-.2032-.62045454",fillRule:"nonzero"}),n.createElement("path",{d:"M81.586832 9.70863636c-.979424 0-1.73736-.29217171-2.273808-.87651515-.536448-.58434343-.8073813-1.41095959-.8128-2.47984848 0-1.09777778.2709333-1.94540404.8128-2.54287879.5418667-.59747475 1.318768-.89686869 2.330704-.89818182.3279782-.00003668.654999.03430434.97536.10242424.2639542.04817256.5206342.12824173.764032.23833334l-.31496.845c-.2397537-.0929503-.4871838-.16608946-.739648-.21863637-.2330197-.05435362-.4715521-.08342113-.7112-.08666666-1.373632 0-2.060448.84959596-2.060448 2.54878788 0 .80494949.1673013 1.42343434.501904 1.85545454.33528.42939394.83312.64606061 1.491488.64606061.5966181-.00678768 1.1861142-.12655871 1.735328-.35257576v.87848485c-.5339642.24467285-1.120715.3615322-1.710944.34075757",fillRule:"nonzero"}),n.createElement("path",{d:"M90.690192 6.30893939c0 1.06757576-.278384 1.90207071-.835152 2.50348485-.556768.60141414-1.3241867.90146465-2.302256.90015152-.5660565.00980534-1.1238362-.13269357-1.611376-.41166667-.4744234-.28111893-.8520726-.69243374-1.085088-1.18181818-.2674171-.5661279-.3987341-1.18372355-.384048-1.80621212 0-1.06888889.2756747-1.90207071.827024-2.49954546.5513493-.59747474 1.316736-.89555555 2.29616-.89424242.8559447-.03726298 1.6841715.29875604 2.257552.91590909.556768.61060606.8358293 1.43656566.837184 2.47787879m-5.155184 0c0 .83777778.17272 1.47595959.51816 1.91454545.34544.43858586.85344.65787879 1.524.65787879s1.1799147-.21863636 1.528064-.65590909.522224-1.07611111.522224-1.91651515c0-.83515152-.1740747-1.46873738-.522224-1.90075758-.3481493-.4320202-.861568-.64868687-1.540256-.65-.67056 0-1.176528.21469697-1.517904.64015152-.341376.42545454-.512064 1.06363636-.512064 1.91060606",fillRule:"nonzero"}),n.createElement("path",{d:"M96.989392 9.58848485V5.34575758c0-.53444445-.1253067-.9329798-.37592-1.19560606-.251968-.2639394-.644144-.3939394-1.180592-.3939394-.707136 0-1.225296.18580808-1.55448.55742424-.329184.37161617-.493776.98419192-.493776 1.83772728v3.43909091h-1.02616V3.03136364h.83312l.168656.89621212h.048768c.213947-.32669621.5199877-.58712571.881888-.75045455.3956439-.18075251.8285923-.27169306 1.265936-.26590909.8128 0 1.4257867.19040404 1.83896.57121212.4131733.38080808.6163733.99010101.6096 1.82787879v4.27818182h-1.016z",fillRule:"nonzero"}),n.createElement("path",{d:"M105.759504 6.30893939c0 1.06757576-.277707 1.90207071-.83312 2.50348485-.555413.60141414-1.322832.90146465-2.302256.90015152-.566147.01053143-1.124127-.1320188-1.611376-.41166667-.474546-.2815508-.852738-.69268701-1.08712-1.18181818-.2666505-.56630799-.397268-1.18388155-.382016-1.80621212 0-1.06888889.2756747-1.90207071.827024-2.49954546.551349-.59747474 1.316736-.89555555 2.29616-.89424242.948267 0 1.700107.30530303 2.25552.91590909.555413.61060606.834475 1.43525253.837184 2.47393939m-5.155184 0c0 .83777778.17272 1.4759596.51816 1.91454546.34544.43924242.855472.65787879 1.526032.65787879.589088.03526465 1.159066-.20939357 1.528064-.65590909.348149-.43727273.521547-1.07611112.520192-1.91651516-.001355-.84040404-.174752-1.4739899-.520192-1.90075757-.349504-.43333334-.861568-.65-1.540256-.65-.678688 0-1.17856.21469697-1.519936.64015151-.341376.42545455-.512064 1.06363637-.512064 1.91060606",fillRule:"nonzero"}),n.createElement("path",{d:"M116.1796 9.58848485V5.32409091c0-.52525253-.115147-.91919192-.34544-1.18181818-.229616-.26-.58928-.3939394-1.074928-.3939394-.635339 0-1.109472.1779293-1.4224.53378788-.312928.35585859-.465328.90212121-.4572 1.63878788v3.66166667h-1.016V5.32409091c0-.52525253-.115824-.91919192-.347472-1.18181818-.229616-.26-.58928-.3939394-1.078992-.3939394-.642112 0-1.113536.1969697-1.410208.55939394-.296672.36242425-.449072.98484849-.449072 1.83575758v3.43909091h-1.016V3.03136364h.83312l.166624.89621212h.0508c.192326-.31859024.474248-.57752095.8128-.74651515.36534-.18279258.771528-.27547583 1.182624-.26984849 1.05664 0 1.748197.3709596 2.074672 1.11287879h.048768c.20551-.34688729.509496-.62924665.875792-.81348485.403616-.20402984.853472-.30695163 1.308608-.29939394.765387 0 1.338411.19040404 1.719072.57121212.380661.38080808.570992.99010101.570992 1.82787879v4.27818182h-1.02616z",fillRule:"nonzero"}),n.createElement("path",{d:"M119.16664 1.25272727c-.016875-.18221767.045768-.36295537.17272-.49833333.243232-.21393452.614272-.21393452.857504 0 .129279.13353172.194239.31385023.178816.49636364.015568.18371514-.049334.36530074-.178816.50030303-.240531.22061195-.616973.22061195-.857504 0-.125769-.13683457-.188192-.31765204-.17272-.50030303v.00196969zm1.111504 8.33378788h-1.02616V3.03136364h1.02616v6.55515151z",fillRule:"nonzero"}),n.createElement("path",{d:"M125.091952 9.70863636c-.979424 0-1.738037-.29217171-2.27584-.87651515-.537803-.58434343-.808736-1.41095959-.8128-2.47984848 0-1.09777778.270933-1.94540404.8128-2.54287879.541867-.59747475 1.318768-.89686869 2.330704-.89818182.327978-.00003668.654999.03430434.97536.10242424.264596.04821437.521943.12827865.766064.23833334l-.31496.845c-.239852-.09267891-.487258-.16581103-.739648-.21863637-.233047-.05421-.471563-.08327549-.7112-.08666666-1.373632 0-2.061125.84959596-2.06248 2.54878788 0 .80494949.167979 1.42343434.503936 1.85545454.33528.42939394.83312.64606061 1.491488.64606061.595961-.00679074 1.184792-.12656681 1.733296-.35257576v.87848485c-.533172.24487796-1.119318.3617557-1.708912.34075757",fillRule:"nonzero"}))))})),Tg=n.forwardRef((function(e,t){const{texts:a}=mr(),r=$a(t),o=l("flex h-full w-full flex-grow items-center overflow-hidden active:outline-none relative",e.className);return n.createElement("nav",Object.assign({},e,{className:o,ref:r}),n.createElement(Ui,{className:"h-full flex-grow items-center gap-1 px-1",moreButton:()=>n.createElement(hr,{className:l(kg(),"!bg-transparent aria-expanded:!bg-white/[.08]")},a.header.more)},e.children))})),Dg=n.forwardRef((function(e,t){const a=l("flex h-full items-center gap-2 mb-0 flex-shrink-0 mr-2",e.className);return n.createElement("div",Object.assign({},e,{className:a,ref:t}))})),Fg=n.forwardRef((function(e,t){const a=l(Hg(!1),"mr-1 !bg-transparent hover:!bg-white/[.08] focus:!bg-white/[.08]] lg:hidden z-[2] !text-white");return n.createElement(ir,Object.assign({},e,{className:a,"data-taco":"header-toggle-sidebar",icon:"menu",ref:t}))})),Pg=n.forwardRef((function(e,t){const{src:a,fallbackSrc:r,...o}=e,[i,s]=n.useState(!1),c=l("h-9 w-9 rounded-full shrink-0 group-focus:yt-focus-dark xl:group-focus:shadow-none",{visible:i},e.className);return n.createElement("img",Object.assign({},o,{className:c,src:a,onLoad:()=>s(!0),onError:e=>{e.target.src=r},ref:t}))})),Bg=({agreement:e,...t})=>e.isAdministrator?n.createElement(qa,Object.assign({},t,{color:"blue",small:!0}),"Admin"):e.isDeveloper?n.createElement(qa,Object.assign({},t,{color:"blue",small:!0}),"Developer"):null,_g=e=>{const{children:t,className:a,fallbackImageSrc:r,...o}=e,i=l("w-full rounded flex px-2 gap-2 overflow-hidden text-left items-center",a);return n.createElement("span",{className:i},n.createElement(Pg,{fallbackSrc:r,src:o.imageSrc,title:`${o.name} - ${o.number} ${o.userId}`}),n.createElement("span",{className:"flex flex-col overflow-hidden"},n.createElement("span",{className:"flex truncate text-white",title:o.name},n.createElement("span",{className:"truncate"},o.name)," ",o.secure?n.createElement(za,{name:"secure-tick",className:"mb-0.5 ml-1 mt-0.5 !h-4 !w-4 flex-shrink-0 flex-grow-0"}):null),n.createElement("span",{className:"text-grey-100 whitespace-nowrap text-xs"},o.number," ",o.userId," ",n.createElement(Bg,{agreement:o}))),t)},Gg=e=>{const{children:t,currentAgreement:a,fallbackImageSrc:r}=e;if(gu("(min-width: 1280px)",window.innerWidth>1280)){const o=l("h-12 flex-grow xl:[button>&]:hover:bg-white/[0.16]",e.className);return n.createElement(_g,Object.assign({},a,{children:t,className:o,fallbackImageSrc:r}))}return n.createElement("span",{className:"relative flex h-12 flex-grow items-center pr-2"},n.createElement(Pg,{fallbackSrc:r,src:a.imageSrc,title:`${a.name} - ${a.number} ${a.userId}`}),n.createElement(Bg,{agreement:a,className:"absolute right-0 top-0 -mr-1 w-8 !justify-start"}))},qg=e=>n.createElement("div",{className:"-ml-2 flex flex-shrink-0 flex-grow-0 items-center gap-2 pr-2 xl:ml-auto xl:w-64","data-taco":"header-agreements"},n.createElement("span",{className:"hidden h-8 w-px flex-shrink-0 flex-grow-0 bg-white/[0.3] xl:flex"}),e.children),$g=e=>t=>{if(!e||!e.length)return!0;const n=String(t.number).indexOf(e)>-1,l=t.name.toLowerCase().indexOf(e.toLowerCase())>-1;return n||l},Kg=(e,t)=>e.number===t.number&&e.userId===t.userId,Ug=(e,t,l,a=!1)=>n.createElement("button",{"aria-current":a?"true":void 0,className:"focus:yt-focus-dark w-full rounded outline-none","data-taco":"header-agreements-agreement",key:`${e.number}_${e.userId}`,onClick:()=>l(e),onKeyDown:t=>{"Enter"===t.key&&l(e)},tabIndex:0},n.createElement(_g,Object.assign({},e,{className:"h-14 bg-white/[0.08] xl:hover:bg-white/[0.16] [[aria-current='true']>&]:bg-white/[0.16]",fallbackImageSrc:t}))),Wg=n.forwardRef((function(e,t){const a=l("bg-blue-900 flex h-16 w-full shrink-0 items-center gap-2 pl-4","[&>*:focus-visible]:yt-focus-dark [&>*]:rounded",e.className);return n.createElement("header",Object.assign({},e,{className:a,ref:t}))}));Wg.AgreementDisplay=function(e){const{currentAgreement:t,fallbackImageSrc:l}=e;return n.createElement(qg,null,n.createElement(Gg,{currentAgreement:t,fallbackImageSrc:l}))},Wg.AgreementSelector=function(e){const{agreements:t,currentAgreement:l,fallbackImageSrc:a,filterAgreement:r=(()=>!0),filterClientAgreement:o=(()=>!0),onAddAgreement:i,onChangeAgreement:s,onLogout:c,open:d,setOpen:m}=e,{texts:g}=mr(),f=n.useRef(null),[h,v]=w.useControllableState({onChange:m,prop:d}),[p,b]=n.useState("");n.useEffect(()=>{b("")},[h]);const E=e=>{s(e),v(!1)};return n.createElement(qg,null,n.createElement(u.Root,{open:h,onOpenChange:v},n.createElement(u.Trigger,{className:"xl:focus-visible:yt-focus-dark [&:focus-visible_img]:yt-focus-dark w-full rounded outline-none xl:[&:focus-visible_img]:shadow-none"},n.createElement(Gg,{currentAgreement:l,fallbackImageSrc:a},t?n.createElement(za,{className:"ml-auto hidden flex-shrink-0 flex-grow-0 text-white xl:flex",name:h?"chevron-up":"chevron-down"}):null)),n.createElement(u.Content,{className:"z-[996] mt-2 flex h-[calc(100vh_-_theme(spacing.16))] w-64 flex-col gap-1 bg-blue-900"},n.createElement(rc,{autoFocus:!0,className:"focus-visible:!yt-focus-dark mx-2 !border-transparent !bg-white/[0.08] !text-white hover:!bg-white/[0.16] hover:!shadow-none focus:!bg-white/[0.16] active:!bg-white/[0.16] [&+div>button]:!text-white",onChange:e=>b(e.target.value),onKeyDown:e=>{var t;"ArrowDown"!==e.key&&"ArrowUp"!==e.key&&"Enter"!==e.key||(e.preventDefault(),null===(t=f.current)||void 0===t||t.dispatchEvent(Br(e)))},placeholder:g.header.search}),n.createElement(Ic,{querySelector:"button",className:"-my-1 flex w-full flex-grow flex-col gap-1 overflow-auto px-2 py-1 outline-none",ref:f,tabIndex:-1},null==t?void 0:t.filter(e=>r(e,$g(p))).map(e=>{const t=Ug(e,a,E,Kg(e,l));return e.clients?n.createElement("span",{className:"flex flex-col gap-px [&>*:first-child>span]:!rounded-t [&>*:last-child>span]:!rounded-b [&>*>span]:!rounded-none",key:`${e.number}_${e.userId}_clients`},$g(p)(e)?t:null,e.clients.filter(e=>o(e,p,$g(p))).map(e=>Ug(e,a,E,Kg(e,l)))):t})),i?n.createElement(hr,{className:"focus-visible:!yt-focus-dark my-1 mx-2 !h-9 shrink-0 !bg-white/[0.08] !text-white hover:!bg-white/[0.16]",onClick:i},g.header.addAgreement):null,n.createElement("hr",{className:"my-0 h-px w-full bg-white/[0.08]"}),n.createElement("a",{className:"focus-visible:yt-focus-dark mx-2 mb-2 flex h-8 shrink-0 items-center justify-center rounded text-white hover:cursor-pointer hover:text-white hover:underline focus-visible:outline-none",onClick:c,tabIndex:0},g.header.logout))))},Wg.Button=Lg,Wg.Link=Mg,Wg.Logo=Vg,Wg.LogoLegacy=jg,Wg.PrimaryNavigation=Tg,Wg.SecondaryNavigation=Dg,Wg.MenuButton=Fg;const Jg=n.createContext({sidebarOpen:!1,setSidebarOpen:()=>{}}),Yg=n.forwardRef((function(e,t){const a=l("flex-grow overflow-y-auto print:overflow-visible print:h-full print:!p-0 bg-white flex flex-shrink flex-col relative",e.className);return n.createElement("main",Object.assign({},e,{className:a,ref:t}))})),Qg=h.motion(Ma),Xg=n.forwardRef((function(e,t){const{children:a,...r}=e,{sidebarOpen:o,setSidebarOpen:i}=n.useContext(Jg),s=fu(),c=!s,u=s||o;n.useEffect(()=>{i(s)},[s]),n.useEffect(()=>{const e=e=>{"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),i(!1))};return c&&o&&window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[c,o]);const d=c&&!0===o,[m,g]=n.useState(c),f=l("bg-grey-50 h-full w-64 flex-shrink-0 flex-grow-0 print:hidden",{"absolute z-10 aria-hidden:-translate-x-64 ":c,invisible:c&&!m,"transition-[transform] duration-300 visible":c&&m,"border-r-2 border-black/[.08] ":!d},e.className);n.useEffect(()=>{setTimeout(()=>{g(c)},1)},[c]);const v="function"==typeof a?a({isLargeScreen:s,open:o,toggleSidebar:()=>i(e=>!e)}):a;return v?n.createElement(n.Fragment,null,n.createElement("nav",Object.assign({},r,{"data-responsive":c,"aria-hidden":!u,className:f,ref:t}),v),n.createElement(h.AnimatePresence,null,d&&n.createElement(Qg,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"z-[1]",onClick:()=>i(!1)}))):null})),Zg=n.forwardRef((function(e,t){const a=l("flex flex-grow overflow-hidden print:overflow-visible print:h-full relative",e.className);return n.createElement("div",Object.assign({},e,{className:a,ref:t}))})),ef=n.forwardRef((function(e,t){const[a,r]=n.useState(!1),o=l("flex h-screen w-screen flex-col overflow-hidden print:overflow-visible print:h-full relative",e.className);return n.createElement(Jg.Provider,{value:{sidebarOpen:a,setSidebarOpen:r}},n.createElement("div",Object.assign({},e,{className:o,ref:t})))}));ef.Top=e=>{const{setSidebarOpen:t}=n.useContext(Jg);return"function"==typeof e.children?e.children({toggleSidebar:()=>t(e=>!e)}):e.children},ef.Page=Zg,ef.Sidebar=Xg,ef.Content=Yg;const tf=n.forwardRef((function(e,t){const{children:a,defaultExpanded:r=!1,heading:o,onClick:i,...s}=e,[c,u]=n.useState(r),d=l("flex w-full cursor-pointer items-center rounded px-3 font-bold text-left leading-8 hover:bg-black/[.06] focus-visible:yt-focus-dark",s.className);return n.createElement("li",Object.assign({},s,{role:"none",className:"[[role=menubar]>&]:px-3",ref:t}),n.createElement("button",{"aria-haspopup":"true","aria-expanded":c,"data-taco":"navigation2-group",className:d,onClick:e=>{u(!c),i&&i(e)},role:"menuitem"},n.createElement(za,{className:"-ml-2 !h-5 !w-5",name:c?"chevron-down-solid":"chevron-right-solid"}),n.createElement("span",{className:"flex-grow truncate"},o)),n.createElement("ul",{className:l("mb-0 flex flex-col gap-y-px pt-px",{hidden:!c}),role:"menu"},a))})),nf=()=>l("[[role=menubar]>[data-taco=navigation2-link-item]+&]:mt-2","[[role=menubar]>[data-taco='navigation2-link-item']+&]:border-t-2","[[role=menubar]>[data-taco='navigation2-link-item']+&]:pt-2 ","[[role=menubar]>[data-taco='navigation2-content']+&]:border-t-2","[[role=menubar]>[data-taco='navigation2-content']+&]:pt-2","[[role=menubar]>[data-taco='navigation2-section']+&]:border-t-2","[[role=menubar]>[data-taco='navigation2-section']+&]:pt-2"),lf=(e=!1)=>l("group relative flex w-full items-center rounded leading-8 !text-black px-2 focus-visible:yt-focus-dark","font-bold [[role=menu]>li>&]:font-normal [[role=menu]>li>&]:pl-5",'[&_[data-taco="icon"]]:!h-5 [&_[data-taco="icon"]]:!w-5','[&>span_[data-taco="badge"]]:mr-2.5 [[role=menu]>li>&>span_[data-taco="badge"]]:mr-2',{"hover:bg-black/[.06] aria-current-page:bg-blue-500/[.1]":!e,"!bg-blue-500 !text-white [&>*]:!text-white":e}),af=n.forwardRef((function(e,t){const{active:a,children:r,icon:o,menu:i,onDrop:s,total:c,...u}=e,[d,m]=Fi(s),g=l(lf(d),u.className),f=l("[[role=menubar]>&]:px-3 border-grey-200",nf(),{"[&>*]:pointer-events-none":d});return n.createElement("li",Object.assign({},m,{className:f,"data-taco":"navigation2-link-item",role:"none"}),n.createElement("a",Object.assign({},u,{"aria-current":a?"page":void 0,className:g,"data-taco":"navigation2-link",ref:t,role:"menuitem",tabIndex:0}),o?n.createElement(za,{className:"mr-1.5 [[role=menu]>li>a>&]:-ml-1.5 [[role=menu]>li>a>&]:mr-0.5",name:o}):null,n.createElement("span",{className:"flex flex-grow items-center truncate"},r),i?n.createElement(ir,{appearance:"discrete",icon:"more","aria-label":"More",rounded:!0,className:l("-mr-1.5 hidden flex-shrink-0 flex-grow-0 transition-none group-hover:flex aria-expanded:flex",{"absolute right-0 !mr-0.5":void 0!==c}),menu:i,onClick:e=>{e.preventDefault(),e.stopPropagation()}}):null,void 0!==c?n.createElement(qa,{className:l("flex-shrink-0 flex-grow-0 !font-normal",{'group-hover:hidden [[aria-expanded="true"]+&]:hidden ':i}),color:"transparent"},c):null))})),rf=n.forwardRef((function(e,t){const{children:a,heading:r,...o}=e,i=l("w-full overflow-auto px-3 py-2 flex-grow border-grey-200 bg-grey-50 [[role=menubar]>&:first-child]:pt-0",nf(),e.className);return n.createElement("li",Object.assign({},o,{className:i,"data-taco":"navigation2-section",ref:t,role:"none"}),r?n.createElement("span",{className:"text-grey-500 mb-px truncate pl-5 text-xs font-bold uppercase leading-8 lg:hidden"},r):null,n.createElement("ul",{className:"mb-0 flex flex-col gap-y-px"},a))})),of=n.forwardRef((function(e,t){const{children:a,...r}=e,o=l("w-full overflow-auto p-3 mt-auto border-grey-200 flex-shrink-0 z-10 bg-grey-50 [[role=menubar]>&:last-child]:pb-0",nf(),e.className);return n.createElement("li",Object.assign({},r,{className:o,"data-taco":"navigation2-content",ref:t,role:"none"}),a)})),sf=n.forwardRef((function(e,t){const{children:a,...r}=e,o=l("m-0 py-2 flex flex-col gap-y-px overflow-auto h-full w-full bg-grey-50",e.className);return n.createElement("ul",Object.assign({},r,{className:o,"data-taco":"navigation2",ref:t,role:"menubar",style:{opacity:.999}}),a)}));sf.Group=tf,sf.Link=af,sf.Section=rf,sf.Content=of,exports.Accordion=_a,exports.Alert=Sa,exports.AlertDialog=Ta,exports.Backdrop=Ma,exports.Badge=qa,exports.BadgeIcon=Ra,exports.Banner=gr,exports.Base=or,exports.Button=hr,exports.Calendar=br,exports.Card=zr,exports.Checkbox=Cr,exports.CollectionPrimitive=Mc,exports.Combobox=no,exports.DEFAULT_PAGE_SIZE=100,exports.Datepicker=vo,exports.Dialog=Oo,exports.Drawer=Xo,exports.Field=Zo,exports.Form=ei,exports.Group=Ao,exports.Hanger=ri,exports.Header=Wg,exports.HoverCard=ci,exports.Icon=za,exports.IconButton=ir,exports.Input=Mr,exports.Layout=ef,exports.Listbox=mi,exports.LocalizationContext=ur,exports.LocalizationProvider=dr,exports.Menu=ki,exports.ModeSwitch=Vi,exports.MultiListbox=gi,exports.Navigation=qi,exports.Navigation2=sf,exports.OverflowGroup=Ui,exports.PaginatedTable=md,exports.Pagination=Qi,exports.Popover=ho,exports.Progress=({duration:e,...t})=>{let a;e&&(a={animationDuration:e+"ms"});const r=l("bg-grey-100 rounded block h-1 overflow-hidden w-full",t.className),o=l("yt-progress__bar block h-1",{"w-full before:h-1 before:bg-grey-300 before:block before:animate-[progress-indeterminate_2s_cubic-bezier(0.4,0,0.2,1)_infinite] before:content-[' ']":!e,"w-0 bg-grey-300 animate-[progress_linear]":e});return n.createElement("span",Object.assign({},t,{"data-taco":"progress",className:r}),n.createElement("span",{className:o,"data-taco":"progress-bar",style:a}))},exports.Provider=e=>{const{children:n,localization:l,settings:a}=e,r=t.useMemo(()=>a,[JSON.stringify(a)]);return t.createElement(dr,{localization:l},t.createElement(ls.Provider,{value:r},t.createElement(o.Provider,null,t.createElement(ts,null,n))))},exports.RadioGroup=Ai,exports.Report=Pu,exports.SearchInput=rc,exports.SearchInput2=hc,exports.Select=Yi,exports.Select2=cu,exports.Shortcut=vi,exports.Spinner=jr,exports.Switch=vc,exports.Table=dd,exports.Table3=zg,exports.Tabs=Rg,exports.TacoContext=ls,exports.Tag=Pc,exports.Textarea=Sm,exports.Title=li,exports.ToastProvider=ts,exports.Tooltip=nr,exports.Tour=Ig,exports.TourStep=Ag,exports.Treeview=Di,exports.VisuallyHidden=Ga,exports.WindowedTable=hd,exports.convertRowIndexPathToNumberArray=vd,exports.createShortcutKeyDownHandler=Xa,exports.defaultLocalisationTexts=sr,exports.defaultLocalizationContext=cr,exports.findByValue=Ci,exports.fixedForwardRef=rs,exports.format=ao,exports.getByRowIndexPath=pd,exports.getNavigationLinkClasses=lf,exports.getNextIndexFromKey=kr,exports.getParentRowIndexPath=wd,exports.getRadioGroupItemValueAsString=Ri,exports.icons=ya,exports.insertChildTableRow=bd,exports.isMacOs=Za,exports.isPressingMetaKey=Ya,exports.isWeakEqual=lo,exports.mergeRefs=Oa,exports.parseFromCustomString=ro,exports.parseFromISOString=oo,exports.removeChildTableRow=Ed,exports.setByRowIndexPath=(e,t,n)=>{const l=[...e],a=vd(t),r=a.shift();if(a.length){const e=a.map(e=>`subRows[${e}]`).join(".");M(l[r],e,n)}else l[r]=n;return l},exports.shouldTriggerShortcut=Qa,exports.useBoundaryOverflowDetection=(e,t=[])=>{const[l,a]=n.useState(),r=Ar(e,t);return n.useEffect(()=>{if(e.current){const t=Ka(e.current);a(t)}},[e,null==r?void 0:r.width,...t]),l},exports.useBoundingClientRectListener=Ar,exports.useDropTarget=Fi,exports.useIntersectionObserver=$i,exports.useIsLargeScreen=fu,exports.useLazyEffect=Ds,exports.useListKeyboardNavigation=(e=0,t={direction:"vertical"})=>{const[l,a]=n.useState(t.initialIndex);return[l,a,n=>{const a=kr(n.key,e,l,t.direction);return void 0!==a&&n.preventDefault(),a}]},exports.useListScrollTo=Vr,exports.useLocalization=mr,exports.useMatchMedia=gu,exports.useMergedRef=$a,exports.useOnClickOutside=(e,t)=>{n.useEffect(()=>{const n=n=>{(Array.isArray(e)?e:[e]).some(e=>!e.current||e.current.contains(n.target))||t(n)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[e,t])},exports.usePagination=(e=0,t=10)=>{const[l,a]=n.useState(e),[r,o]=n.useState(t);return{pageIndex:l,pageSize:r,setPageIndex:a,setPageSize:o}},exports.useRadioGroup=Oi,exports.useTable3DataLoader=function(e,t,l={pageSize:100}){const{pageSize:a}=l,r=n.useRef(void 0),[o,i]=n.useState([]),s=n.useRef({}),c=n.useRef([]),u=n.useRef([]),d=n.useRef(),m=n.useRef(!1),g=function(t,n,l,o){try{let g=!1;if((m.current||o!==d.current||JSON.stringify(n)!==JSON.stringify(c.current)||JSON.stringify(l)!==JSON.stringify(u.current))&&(s.current={},g=!0),s.current[t])return Promise.resolve();s.current[t]=!0,m.current=!1,c.current=n,u.current=l,d.current=o;const f=Hs((function(){return Ls((function(){return Promise.resolve(e(t,a,n,l,o)).then((function(e){i(n=>{let l;return g||r.current!==e.length?(r.current=e.length,l=Array(r.current).fill(void 0)):l=[...n],l.splice(t*a,a,...e.data),l})}))}),(function(){}))}),(function(e,n){if(s.current[t]=!1,e)throw n;return n}));return Promise.resolve(f&&f.then?f.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};return[{data:o,length:r.current,loadAll:function(e,n,l){try{const a=Ls((function(){return Promise.resolve(t(e,n,l)).then((function(e){r.current=e.length,i(()=>{let t;return e.data.length!==e.length?(t=Array(e.length).fill(void 0),t.splice(0,e.data.length,...e.data)):t=[...e.data],t})}))}),(function(){}));return Promise.resolve(a&&a.then?a.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},loadPage:g,onFilter:function(e){try{return g(0,c.current,e,d.current)}catch(e){return Promise.reject(e)}},onSort:function(e){try{return g(0,e,u.current,d.current)}catch(e){return Promise.reject(e)}},pageSize:a},function(){try{return m.current=!0,g(0,c.current,u.current,d.current)}catch(e){return Promise.reject(e)}}]},exports.useTableDataLoader=function(e,t,l={pageSize:100}){const{pageSize:a}=l,r=n.useRef(void 0),[o,i]=n.useState([]),s=n.useRef({}),c=n.useRef([]),u=n.useRef([]),d=n.useRef(),m=n.useRef(!1),g=function(t,n,l,o){try{let g=!1;if((m.current||o!==d.current||JSON.stringify(n)!==JSON.stringify(c.current)||JSON.stringify(l)!==JSON.stringify(u.current))&&(s.current={},g=!0),s.current[t])return Promise.resolve();s.current[t]=!0,m.current=!1,c.current=n,u.current=l,d.current=o;const f=Hs((function(){return Ls((function(){return Promise.resolve(e(t,a,n,l,o)).then((function(e){i(n=>{let l;return g||r.current!==e.length?(r.current=e.length,l=Array(r.current).fill(void 0)):l=[...n],l.splice(t*a,a,...e.data),l})}))}),(function(){}))}),(function(e,n){if(s.current[t]=!1,e)throw n;return n}));return Promise.resolve(f&&f.then?f.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};return[{data:o,length:r.current,loadAll:function(e,n,l){try{const a=Ls((function(){return Promise.resolve(t(e,n,l)).then((function(e){r.current=e.length,i(()=>{let t;return e.data.length!==e.length?(t=Array(e.length).fill(void 0),t.splice(0,e.data.length,...e.data)):t=[...e.data],t})}))}),(function(){}));return Promise.resolve(a&&a.then?a.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},loadPage:g,onChangeFilter:function(e){try{return g(0,c.current,e,d.current)}catch(e){return Promise.reject(e)}},onChangeSort:function(e){try{return g(0,e,u.current,d.current)}catch(e){return Promise.reject(e)}},pageSize:a},function(){try{return m.current=!0,g(0,c.current,u.current,d.current)}catch(e){return Promise.reject(e)}}]},exports.useTableRowCreation=(e,t)=>{const[l,a]=n.useState(JSON.parse(JSON.stringify(e))),[r,o]=n.useState(void 0);return n.useEffect(()=>{if(void 0!==r){const n=pd(l,r),i=wd(r),[s,c]=bd(JSON.parse(JSON.stringify(e)),i,n);o(c),a(s),null!=t&&t.current&&t.current.instance.toggleRowEditing(null==n?void 0:n._createKey)}else a(e)},[JSON.stringify(e)]),{data:l,create:(e,n={})=>{const r=c.v4(),[i,s]=bd(l,e,{...n,_createKey:r});return o(s),a(i),null!=t&&t.current&&t.current.instance.toggleRowEditing(r),s},remove:e=>{const t=Ed(l,e);a(t),o(void 0)},isCreating:void 0!==r}},exports.useToast=ns;
|
1
|
+
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),n=e(t),l=e(require("clsx")),a=require("@radix-ui/react-alert-dialog"),r=require("@radix-ui/react-accordion"),o=require("@radix-ui/react-tooltip"),i=e(require("react-day-picker")),s=require("@radix-ui/react-checkbox"),c=require("uuid"),u=require("@radix-ui/react-popover"),d=e(require("lodash/debounce")),m=require("date-fns"),g=require("@radix-ui/react-dialog"),f=require("@react-aria/interactions"),h=require("framer-motion"),v=require("@react-aria/focus"),p=require("@radix-ui/react-scroll-area"),w=require("@radix-ui/react-use-controllable-state"),b=require("@radix-ui/react-hover-card"),E=require("@radix-ui/react-dropdown-menu"),x=require("@radix-ui/react-radio-group"),y=require("@radix-ui/react-switch"),z=require("@radix-ui/react-portal"),R=require("@tanstack/react-table"),C=require("@dnd-kit/core"),S=require("@dnd-kit/sortable"),N=require("@dnd-kit/utilities"),A=require("@tanstack/react-virtual"),O=require("react-intersection-observer"),I=require("react-table"),L=require("react-window"),H=e(require("react-window-infinite-loader")),M=e(require("lodash/set")),k=e(require("lodash/unset")),V=e(require("lodash/get")),j=e(require("lodash/compact")),T=e(require("lodash/pullAt")),D=e(require("react-dom")),F=e(require("lodash")),P=require("react-virtual"),B=require("@radix-ui/react-tabs"),_=require("react-joyride"),G=e(_);const q=["green","yellow","red","blue","purple","brown","pink","orange","grey","transparent"],$=e=>{switch(e){case"information":return"blue";case"warning":return"yellow";case"error":return"red";case"success":return"green";default:return"grey"}},K=e=>{switch(e){case"green":return"border-green-700 text-green-700";case"yellow":return"border-yellow-700 text-yellow-700";case"red":return"border-red-500 text-red-500";case"blue":return"border-blue-500 text-blue-500";case"purple":return"border-purple-700 text-purple-700";case"brown":return"border-brown-700 text-brown-700";case"pink":return"border-pink-700 text-pink-700";case"orange":return"border-orange-700 text-orange-700";case"transparent":case"grey":default:return"border-grey-700 text-grey-700"}},U=e=>{switch(e){case"green":return"wcag-green-100";case"yellow":return"wcag-yellow-100";case"red":return"wcag-red-100";case"blue":return"wcag-blue-100";case"purple":return"wcag-purple-100";case"brown":return"wcag-brown-100";case"pink":return"wcag-pink-100";case"orange":return"wcag-orange-100";case"transparent":return"wcag-transparent";case"grey":default:return"wcag-grey-200"}},W=e=>{switch(e){case"green":return"wcag-green-700";case"yellow":return"wcag-yellow-500";case"red":return"wcag-red-500";case"blue":return"wcag-blue-500";case"purple":return"wcag-purple-700";case"brown":return"wcag-brown-700";case"pink":return"wcag-pink-500";case"orange":return"wcag-orange-700";case"transparent":return"wcag-transparent";case"grey":default:return"wcag-grey-700"}};function J(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75V11h-1.5V4.75a.25.25 0 00-.193-.243L19.25 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75v14.5a.25.25 0 00.193.243l.057.007H11V21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-4.5 7.25a4.5 4.5 0 013.632 7.158l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.5 4.5 0 11-2.495-8.245zm0 1.5a3 3 0 100 6 3 3 0 000-6zm-7 3.25a.75.75 0 110 1.5h-.5a.75.75 0 110-1.5h.5zm0-4a.75.75 0 110 1.5h-.5a.75.75 0 110-1.5h.5zm9-4a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5zm-9 0a.75.75 0 010 1.5h-.5a.75.75 0 010-1.5h.5z",fill:"currentColor",fillRule:"evenodd"}))}function Y(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M4.5 16.25v3a.25.25 0 00.193.243l.057.007H13V21H4.75A1.75 1.75 0 013 19.25v-3h1.5zm4.946-6.103l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.718-1.72H3.75a.75.75 0 01-.102-1.493L3.75 13h6.44l-1.72-1.72a.75.75 0 01-.073-.976l.073-.084a.75.75 0 01.976-.073zM16.25 2a.75.75 0 01.75.75V3h2.25c.966 0 1.75.784 1.75 1.75V13h-1.5V8h-15v3.25H3v-6.5C3 3.784 3.784 3 4.75 3H7v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zM7 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75V6.5h15V4.75a.25.25 0 00-.193-.243L19.25 4.5H17v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5zm12.804 10.147a.75.75 0 011.049 1.05l-.073.083-1.969 1.97 1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073-1.97-1.969-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083 1.969-1.97-1.97-1.97a.75.75 0 01.977-1.133l.084.073 1.97 1.969 1.97-1.97.084-.072z",fill:"currentColor",fillRule:"evenodd"}))}function Q(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 2a.75.75 0 01.75.75V3h2.25c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25v-3h1.5v3a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V8h-15v3.25H3v-6.5C3 3.784 3.784 3 4.75 3H7v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zm-6.804 8.147l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H3.75a.75.75 0 01-.102-1.493L3.75 13h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM7 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75V6.5h15V4.75a.25.25 0 00-.193-.243L19.25 4.5H17v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5z",fill:"currentColor",fillRule:"evenodd"}))}function X(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h12.5zM13 17.5H6.5a.5.5 0 00-.492.41L6 18v1.5a.5.5 0 00.41.492L6.5 20H13a.5.5 0 00.492-.41l.008-.09V18a.5.5 0 00-.41-.492L13 17.5zm4.5 0h-2a.5.5 0 00-.492.41L15 18v1.5a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L18 19.5V18a.5.5 0 00-.41-.492l-.09-.008zm-9-3.5h-2a.5.5 0 00-.492.41L6 14.5V16a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L9 16v-1.5a.5.5 0 00-.41-.492L8.5 14zm9 0h-2a.5.5 0 00-.492.41L15 14.5V16a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L18 16v-1.5a.5.5 0 00-.41-.492L17.5 14zM13 14h-2a.5.5 0 00-.492.41l-.008.09V16a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L13.5 16v-1.5a.5.5 0 00-.41-.492L13 14zm-4.5-3.5h-2a.5.5 0 00-.492.41L6 11v1.5a.5.5 0 00.41.492L6.5 13h2a.5.5 0 00.492-.41L9 12.5V11a.5.5 0 00-.41-.492L8.5 10.5zm9 0h-2a.5.5 0 00-.492.41L15 11v1.5a.5.5 0 00.41.492l.09.008h2a.5.5 0 00.492-.41L18 12.5V11a.5.5 0 00-.41-.492l-.09-.008zm-4.5 0h-2a.5.5 0 00-.492.41L10.5 11v1.5a.5.5 0 00.41.492L11 13h2a.5.5 0 00.492-.41l.008-.09V11a.5.5 0 00-.41-.492L13 10.5zM17.5 4h-11a.5.5 0 00-.492.41L6 4.5V8a.5.5 0 00.41.492l.09.008h11a.5.5 0 00.492-.41L18 8V4.5a.5.5 0 00-.41-.492L17.5 4zm-1 1a.5.5 0 01.5.5V7a.5.5 0 01-.5.5h-1A.5.5 0 0115 7V5.5a.5.5 0 01.5-.5h1z",fill:"currentColor",fillRule:"evenodd"}))}function Z(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.823 2.122a.188.188 0 01.352 0l.874 2.364c.02.051.06.092.111.11l2.364.875a.188.188 0 010 .352l-2.364.875a.188.188 0 00-.11.11l-.875 2.364a.188.188 0 01-.352 0l-.875-2.364a.187.187 0 00-.11-.11l-2.364-.875a.188.188 0 010-.352l2.364-.874a.187.187 0 00.11-.111l.875-2.364zm1.667 7a.188.188 0 01.351 0l.515 1.39a.19.19 0 00.11.112l1.39.514a.188.188 0 010 .352l-1.39.514a.188.188 0 00-.11.111l-.515 1.39a.187.187 0 01-.351 0l-.515-1.39a.187.187 0 00-.11-.11l-1.391-.515a.188.188 0 010-.352l1.39-.514a.187.187 0 00.111-.111l.515-1.39zm-5.363-2.36c-.889-.328-1.014-1.455-.374-2.008a12.291 12.291 0 00-3.864-.606C5.979 4.148 2 6.884 2 10.26c0 2.393 1.999 4.463 4.91 5.467L4.513 19.99a.556.556 0 00.832.706l5.406-4.325.426-.003c3.493-.076 6.477-1.538 7.829-3.612l-.879-.325c-1.034-.383-1.034-1.845 0-2.228l.234-.086a1.168 1.168 0 01-.476-.595l-.745-2.013-2.013-.745z",fill:"currentColor"}))}function ee(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("mask",{id:"ai-stars_svg__a",fill:"#fff"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.324 2.476a.188.188 0 01.351 0l.875 2.364c.019.05.06.091.11.11l2.364.875a.188.188 0 010 .352l-2.363.874a.187.187 0 00-.111.11l-.875 2.365a.188.188 0 01-.351 0l-.875-2.364a.188.188 0 00-.11-.11l-2.364-.875a.188.188 0 010-.352l2.363-.875a.188.188 0 00.111-.11l.875-2.364zM8.226 4.931c.266-.719 1.281-.719 1.547 0l1.566 4.23 4.23 1.566c.719.266.719 1.282 0 1.547l-4.23 1.566-1.566 4.23c-.266.72-1.281.72-1.547 0L6.66 13.84l-4.23-1.566c-.719-.265-.719-1.281 0-1.547l4.23-1.566 1.566-4.23zM9 7.16L7.96 9.974a.825.825 0 01-.488.487L4.66 11.5l2.81 1.041a.825.825 0 01.488.487L9 15.84l1.04-2.812a.825.825 0 01.488-.487l2.811-1.04-2.81-1.04a.825.825 0 01-.488-.488L9 7.162zm8.675 7.315a.188.188 0 00-.351 0l-.875 2.364a.188.188 0 01-.11.11l-2.364.875a.188.188 0 000 .352l2.363.874c.052.02.092.06.111.11l.875 2.364c.06.164.291.164.351 0l.875-2.363a.187.187 0 01.11-.11l2.364-.875a.188.188 0 000-.352l-2.363-.875a.187.187 0 01-.111-.11l-.875-2.364z"})),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.324 2.476a.188.188 0 01.351 0l.875 2.364c.019.05.06.091.11.11l2.364.875a.188.188 0 010 .352l-2.363.874a.187.187 0 00-.111.11l-.875 2.365a.188.188 0 01-.351 0l-.875-2.364a.188.188 0 00-.11-.11l-2.364-.875a.188.188 0 010-.352l2.363-.875a.188.188 0 00.111-.11l.875-2.364zM8.226 4.931c.266-.719 1.281-.719 1.547 0l1.566 4.23 4.23 1.566c.719.266.719 1.282 0 1.547l-4.23 1.566-1.566 4.23c-.266.72-1.281.72-1.547 0L6.66 13.84l-4.23-1.566c-.719-.265-.719-1.281 0-1.547l4.23-1.566 1.566-4.23zM9 7.16L7.96 9.974a.825.825 0 01-.488.487L4.66 11.5l2.81 1.041a.825.825 0 01.488.487L9 15.84l1.04-2.812a.825.825 0 01.488-.487l2.811-1.04-2.81-1.04a.825.825 0 01-.488-.488L9 7.162zm8.675 7.315a.188.188 0 00-.351 0l-.875 2.364a.188.188 0 01-.11.11l-2.364.875a.188.188 0 000 .352l2.363.874c.052.02.092.06.111.11l.875 2.364c.06.164.291.164.351 0l.875-2.363a.187.187 0 01.11-.11l2.364-.875a.188.188 0 000-.352l-2.363-.875a.187.187 0 01-.111-.11l-.875-2.364z",fill:"currentColor"}),t.createElement("path",{d:"M17.675 2.476l.704-.26-.704.26zm-.351 0l-.704-.26.704.26zM18.55 4.84l.703-.26-.703.26zm.11.11l-.26.704.26-.704zm2.364.875l.26-.704-.26.704zm0 .352l-.26-.704.26.704zm-2.363.874l-.26-.703.26.703zm-.111.11l.703.261-.703-.26zm-.875 2.365l.704.26-.704-.26zm-.351 0l-.704.26.704-.26zm-.875-2.364l.703-.26-.703.26zm-.11-.11l.26-.704-.26.703zm-2.364-.875l-.26.703.26-.703zm0-.352l-.26-.704.26.704zm2.363-.875l.26.704-.26-.704zm.111-.11l.703.26-.703-.26zm-6.676.09l-.703.26.703-.26zm-1.547 0l.703.26-.703-.26zm3.113 4.231l-.704.26.12.324.323.12.26-.704zm4.23 1.566l-.26.703.26-.703zm0 1.547l-.26-.703.26.704zm-4.23 1.566l-.26-.703-.324.12-.12.323.704.26zm-1.566 4.23l-.703-.26.703.26zm-1.547 0l.703-.26-.703.26zM6.66 13.84l.704-.26-.12-.324-.324-.12-.26.704zm-4.23-1.566l.26-.703-.26.704zm0-1.547l.26.703-.26-.703zm4.23-1.566l.26.704.324-.12.12-.323-.704-.26zm1.3.812l.703.26-.704-.26zM9 7.162l.703-.26L9 5l-.704 1.9.704.26zM7.472 10.46l-.26-.703.26.704zM4.66 11.5l-.26-.703-1.901.704 1.9.703.26-.703zm2.81 1.041l.261-.703-.26.703zm.488.487l.704-.26-.704.26zM9 15.84l-.703.26L9 18l.703-1.9L9 15.84zm1.04-2.812l.704.26-.703-.26zm.488-.487l-.26-.703.26.703zm2.811-1.04l.26.703 1.901-.703-1.9-.704-.26.704zm-2.81-1.04l.26-.704-.26.704zm-.488-.488l.703-.26-.703.26zm7.284 4.503l-.704-.26.704.26zm.351 0l.704-.26-.704.26zM16.45 16.84l.703.26-.703-.26zm-.11.11l.26.704-.26-.704zm-2.364.875l-.26-.703.26.703zm0 .352l.26-.704-.26.704zm2.363.874l-.26.704.26-.704zm.111.11l.703-.26-.703.26zm.875 2.364l-.704.26.704-.26zm.351 0l.704.26-.704-.26zm.875-2.363l.703.26-.703-.26zm.11-.11l.261.703-.26-.704zm2.364-.875l.26.703-.26-.703zm0-.352l.26-.703-.26.703zm-2.363-.875l-.26.704.26-.704zm-.111-.11l.703-.26-.703.26zM18.38 2.216c-.302-.817-1.457-.817-1.759 0l1.407.52a.563.563 0 01-1.055 0l1.407-.52zm.874 2.363l-.874-2.363-1.407.52.875 2.364 1.406-.52zm-.332-.332a.562.562 0 01.332.332l-1.406.52a.937.937 0 00.553.555l.521-1.407zm2.364.874l-2.364-.874-.52 1.407 2.363.874.52-1.407zm0 1.759c.816-.302.816-1.456 0-1.759l-.521 1.407a.563.563 0 010-1.055l.52 1.407zm-2.364.875l2.364-.875-.521-1.407-2.363.875.52 1.407zm.332-.333a.562.562 0 01-.332.333l-.52-1.407a.937.937 0 00-.554.554l1.406.52zm-.874 2.364l.874-2.364-1.406-.52-.875 2.363 1.407.52zm-1.759 0c.302.816 1.457.816 1.759 0l-1.407-.52a.563.563 0 011.055 0l-1.407.52zm-.874-2.364l.874 2.364 1.407-.52-.875-2.364-1.406.52zm.332.333a.562.562 0 01-.332-.333l1.406-.52a.938.938 0 00-.553-.554l-.521 1.407zm-2.364-.875l2.364.875.52-1.407-2.363-.875-.52 1.407zm0-1.759c-.816.303-.816 1.457 0 1.759l.521-1.407c.49.181.49.874 0 1.055l-.52-1.407zm2.364-.874l-2.364.874.521 1.407 2.364-.874-.521-1.407zm-.332.332a.562.562 0 01.332-.332l.52 1.407a.938.938 0 00.555-.554l-1.407-.52zm.874-2.363l-.874 2.363 1.406.52.875-2.363-1.407-.52zM10.477 4.67c-.508-1.37-2.447-1.37-2.955 0l1.407.52a.1.1 0 01.015-.027.041.041 0 01.01-.01A.085.085 0 019 5.142c.021 0 .037.006.045.011a.041.041 0 01.01.01.1.1 0 01.015.028l1.407-.52zm1.565 4.231l-1.565-4.23-1.407.52 1.565 4.23 1.407-.52zm3.788 1.123L11.6 8.458l-.521 1.407 4.23 1.565.521-1.406zm0 2.954c1.371-.508 1.371-2.447 0-2.954l-.52 1.406a.103.103 0 01.028.015.044.044 0 01.009.01.084.084 0 01.011.046.084.084 0 01-.011.045.04.04 0 01-.01.01.102.102 0 01-.028.015l.521 1.407zm-4.23 1.565l4.23-1.565-.52-1.407-4.232 1.566.521 1.406zm-1.123 3.788l1.565-4.23-1.407-.521-1.565 4.23 1.407.521zm-2.955 0c.508 1.371 2.447 1.371 2.955 0l-1.407-.52a.1.1 0 01-.015.028.04.04 0 01-.01.009.085.085 0 01-.045.012.085.085 0 01-.046-.012.04.04 0 01-.01-.01.1.1 0 01-.015-.027l-1.407.52zm-1.565-4.23l1.565 4.23 1.407-.52-1.565-4.231-1.407.52zm-3.788-1.123l4.23 1.565.521-1.406-4.23-1.566-.521 1.407zm0-2.954c-1.371.507-1.371 2.446 0 2.954l.52-1.407a.1.1 0 01-.028-.015.04.04 0 01-.009-.01.085.085 0 01-.011-.045.09.09 0 01.011-.046.043.043 0 01.01-.01.099.099 0 01.028-.015l-.521-1.406zm4.23-1.566l-4.23 1.566.52 1.406L6.92 9.865 6.4 8.458zM7.523 4.67L5.957 8.901l1.407.52 1.565-4.23-1.407-.52zm1.14 5.563l1.04-2.81-1.406-.521-1.04 2.81 1.407.521zm-.93.93c.431-.159.771-.498.93-.93l-1.406-.52a.075.075 0 01-.044.044l.52 1.407zm-2.811 1.041l2.811-1.04-.52-1.407-2.812 1.04.52 1.407zm2.811-.366l-2.811-1.04-.52 1.406 2.81 1.04.521-1.406zm.93.93a1.574 1.574 0 00-.93-.93l-.52 1.406c.02.008.036.024.044.045l1.407-.52zm1.04 2.811l-1.04-2.81-1.406.52 1.04 2.81 1.407-.52zm-.366-2.81l-1.04 2.81 1.407.52 1.04-2.81-1.407-.52zm.93-.931c-.43.16-.77.499-.93.93l1.407.52a.075.075 0 01.044-.044l-.52-1.406zm2.812-1.04l-2.811 1.04.52 1.406 2.812-1.04-.52-1.407zm-2.811.366l2.811 1.04.52-1.407-2.81-1.04-.521 1.407zm-.93-.93c.159.43.499.77.93.93l.52-1.407a.075.075 0 01-.044-.044l-1.407.52zm-1.04-2.812l1.04 2.811 1.406-.52-1.04-2.811-1.407.52zm9.73 7.314a.563.563 0 01-1.055 0l1.407-.52c-.302-.816-1.457-.816-1.759 0l1.407.52zm-.875 2.364l.875-2.364-1.407-.52-.874 2.363 1.406.52zm-.553.554a.938.938 0 00.553-.554l-1.406-.52a.563.563 0 01.332-.333l.52 1.407zm-2.364.874l2.364-.874-.521-1.407-2.364.875.521 1.406zm0-1.055c.49.181.49.874 0 1.055l-.52-1.406c-.817.302-.817 1.456 0 1.758l.52-1.407zm2.364.875l-2.364-.875-.52 1.407 2.363.875.52-1.407zm.553.554a.938.938 0 00-.553-.554l-.521 1.407a.563.563 0 01-.332-.333l1.406-.52zm.875 2.363l-.875-2.363-1.406.52.874 2.364 1.407-.52zm-1.055 0a.563.563 0 011.055 0l-1.407.52c.302.817 1.457.817 1.759 0l-1.407-.52zm.875-2.363l-.875 2.363 1.407.52.874-2.363-1.406-.52zm.553-.554a.937.937 0 00-.553.554l1.406.52a.562.562 0 01-.332.333l-.52-1.407zm2.364-.875l-2.363.875.52 1.407 2.364-.875-.521-1.407zm0 1.055a.563.563 0 010-1.055l.52 1.407c.817-.302.817-1.456 0-1.758l-.52 1.406zm-2.363-.874l2.363.874.52-1.406-2.363-.875-.52 1.407zm-.554-.554a.938.938 0 00.553.554l.521-1.407a.562.562 0 01.332.332l-1.406.52zm-.875-2.364l.875 2.364 1.406-.52-.874-2.364-1.407.52z",fill:"currentColor",mask:"url(#ai-stars_svg__a)"}))}function te(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.25 18h7.5a.75.75 0 110 1.5h-7.5a.75.75 0 110-1.5zM12 4.5a.75.75 0 01.743.648l.007.102v8.189l2.22-2.22a.75.75 0 011.133.977l-.073.084-3.5 3.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012L12 16l-.029-.002h-.023l-.021-.003-.054-.006-.07-.015-.072-.024-.1-.047-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.22 2.219V5.25A.75.75 0 0112 4.5z",fill:"currentColor",fillRule:"evenodd"}))}function ne(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 6.25a.75.75 0 01.743.648L12.75 7l-.001 8.189 2.22-2.22a.75.75 0 011.134.977l-.073.084-3.5 3.5-.038.036-.046.037h-.002l-.008.007-.081.051-.134.056-.085.02-.084.011h-.103l-.12-.018-.12-.039-.078-.038-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.219 2.218L11.25 7a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function le(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.75 7.5a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zm-6.554.397l.084.073 3.5 3.5c.025.024.048.05.069.078l-.069-.078.04.042.04.052.068.114.038.098.02.084.012.088v.104l-.018.119-.03.098-.047.1-.032.051-.027.038-.064.072-3.5 3.5a.75.75 0 01-1.133-.976l.073-.084 2.219-2.22H5.25a.75.75 0 01-.102-1.493l.102-.007h8.189l-2.22-2.22a.75.75 0 01.977-1.133z",fill:"currentColor",fillRule:"evenodd"}))}function ae(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.03 7.97a.75.75 0 01.073.976l-.073.084-2.219 2.219L17 11.25a.75.75 0 01.102 1.493L17 12.75l-8.19-.001 2.22 2.22a.75.75 0 01-.976 1.134l-.084-.073-3.5-3.5-.08-.094-.051-.081-.05-.116-.027-.103-.01-.089v-.094l.018-.124.03-.099.047-.099.054-.082.069-.08 3.5-3.5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function re(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.946 7.897l.084.073 3.5 3.5.036.038.044.056.051.081.05.116.027.103.01.084v.103l-.018.12-.039.12-.038.078-.06.09-.063.071-3.5 3.5a.75.75 0 01-1.133-.976l.073-.084 2.218-2.22H7a.75.75 0 01-.102-1.493L7 11.25h8.189l-2.22-2.22a.75.75 0 01.977-1.133z",fill:"currentColor",fillRule:"evenodd"}))}function oe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.25 7.5a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zm7.53.47a.75.75 0 01.073.976l-.073.084-2.219 2.22h8.189a.75.75 0 01.102 1.493l-.102.007h-8.189l2.22 2.22a.75.75 0 01-.977 1.133l-.084-.073-3.5-3.5-.055-.06-.046-.065-.049-.088-.044-.12-.018-.089L8 11.965l.019-.136.03-.098.047-.1.054-.082.069-.08 3.5-3.5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function ie(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.86 8.013l.067-.01.125-.001.119.018.098.03.1.047.051.032.038.027.072.064 3.5 3.5a.75.75 0 01-.976 1.133l-.084-.073-2.22-2.219v8.189a.75.75 0 01-1.493.102l-.007-.102v-8.189l-2.22 2.22a.75.75 0 01-1.133-.977l.073-.084 3.5-3.5.042-.04.052-.04.114-.068.098-.038.084-.02zM15.75 4.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function se(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.864 6.262l.089-.01h.095l.123.018.12.039.078.038.09.06.071.063 3.5 3.5a.75.75 0 01-.976 1.133l-.084-.073-2.22-2.219V17a.75.75 0 01-1.493.102L11.25 17V8.81l-2.22 2.22a.75.75 0 01-1.133-.976l.073-.084 3.5-3.5.094-.08.081-.051.134-.056.085-.02z",fill:"currentColor",fillRule:"evenodd"}))}function ce(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.916 10.159l1.06 1.06-2.663 2.665a3.75 3.75 0 005.159 5.44l.144-.137 6.657-6.657a.75.75 0 011.128.984l-.067.077-6.657 6.657a5.25 5.25 0 01-7.575-7.269l.15-.156 2.664-2.664zm11.771-6.468a3.75 3.75 0 01.137 5.16l-.137.144-9.132 9.132a2.25 2.25 0 01-3.287-3.07l.105-.112 6.657-6.657a.75.75 0 011.128.984l-.067.076-6.657 6.657a.75.75 0 00.984 1.128l.077-.067 9.132-9.132a2.25 2.25 0 00-3.07-3.287l-.112.105-2.933 2.932-1.061-1.061 2.933-2.932a3.75 3.75 0 015.303 0zM4 9a2 2 0 002 2 2 2 0 00-1.995 1.85L4 13l-.004-.132A2 2 0 002 11a2 2 0 002-2zm6-2.5a2 2 0 002 2 2 2 0 00-1.995 1.85L10 10.5l-.004-.132A2 2 0 008 8.5a2 2 0 002-2zM6.5 2c0 2.21 2.015 4 4.5 4-2.412 0-4.381 1.687-4.495 3.806L6.5 10l-.01-.263C6.338 7.65 4.386 6 2 6c2.485 0 4.5-1.79 4.5-4z",fill:"currentColor",fillRule:"evenodd"}))}function ue(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.026 18.467a.75.75 0 01-.977 1.133l-.084-.073-2.288-2.288-3.005 3.006a5.25 5.25 0 01-7.574-7.269l.15-.156 3.005-3.005-2.288-2.288a.75.75 0 01.977-1.133l.084.073 12 12zm-9.713-7.592l-3.005 3.006a3.75 3.75 0 005.16 5.44l.144-.137 3.005-3.005-1.061-1.061-3.005 3.005a2.25 2.25 0 01-3.287-3.069l.105-.113 3.005-3.005-1.061-1.061zm2.122 2.122L8.43 16.002a.75.75 0 00.984 1.128l.076-.067 3.005-3.006-1.06-1.06zm7.894-.47a.75.75 0 01.067.984l-.067.077-1.53 1.53-1.061-1.061 1.53-1.53a.75.75 0 011.061 0zm.354-8.839a3.75 3.75 0 01.137 5.16l-.137.144-4.006 4.004-1.06-1.06 4.005-4.005a2.25 2.25 0 00-3.07-3.287l-.112.105-4.005 4.005-1.061-1.061 4.005-4.005a3.75 3.75 0 015.304 0zm-4.596 4.597a.75.75 0 01.067.983l-.067.077-1.531 1.53-1.061-1.061 1.53-1.53a.75.75 0 011.062 0z",fill:"currentColor",fillRule:"evenodd"}))}function de(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.38 3.688a3.75 3.75 0 015.44 5.16l-.137.144-9.132 9.131a2.25 2.25 0 01-3.287-3.069l.105-.113 6.657-6.656a.75.75 0 011.128.983l-.068.077-6.656 6.657a.75.75 0 00.984 1.128l.076-.067 9.132-9.132a2.25 2.25 0 00-3.07-3.287l-.112.105-9.132 9.132a3.75 3.75 0 005.16 5.44l.144-.137 1.934-1.935a6.062 6.062 0 00.09 2.031l-.964.965a5.25 5.25 0 01-7.574-7.269l.15-.156 9.131-9.132zM22 18a4.5 4.5 0 10-9 0 4.5 4.5 0 009 0zm-5.243-2.852a.75.75 0 011.493.102v3.5l-.007.102a.75.75 0 01-1.493-.102v-3.5l.007-.102zM17.5 20a.75.75 0 100 1.5.75.75 0 000-1.5z",fill:"currentColor"}))}function me(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.38 3.688a3.75 3.75 0 015.44 5.16l-.137.144-9.132 9.131a2.25 2.25 0 01-3.287-3.069l.105-.113 6.657-6.656a.75.75 0 011.128.983l-.067.077-6.657 6.657a.75.75 0 00.984 1.128l.076-.067 9.132-9.132a2.25 2.25 0 00-3.07-3.287l-.112.105-9.132 9.132a3.75 3.75 0 005.16 5.44l.144-.137 6.657-6.657a.75.75 0 011.127.984l-.067.077-6.657 6.657a5.25 5.25 0 01-7.574-7.269l.15-.156 9.131-9.132z",fill:"currentColor",fillRule:"evenodd"}))}function ge(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.75 5.75a.25.25 0 00-.193-.243L14.5 5.5H14a.75.75 0 01-.102-1.493L14 4h.5c.372 0 .718.116 1.001.315.242-.17.53-.28.841-.308L16.5 4h.5l.102.007a.75.75 0 010 1.486L17 5.5h-.5l-.057.007a.25.25 0 00-.184.175l-.009.068V8h4c.966 0 1.75.784 1.75 1.75v4.5A1.75 1.75 0 0120.25 16h-4v2.25l.007.057a.25.25 0 00.175.184l.068.009h.5l.102.007a.75.75 0 010 1.486L17 20h-.5l-.144-.006a1.74 1.74 0 01-.856-.308 1.734 1.734 0 01-.856.308L14.5 20H14a.75.75 0 01-.102-1.493L14 18.5h.5a.25.25 0 00.243-.193l.007-.057V5.75zm5.5 3.75h-4v5h4a.25.25 0 00.243-.193l.007-.057v-4.5a.25.25 0 00-.193-.243L20.25 9.5zM6 11a1 1 0 110 2 1 1 0 010-2zm3.5 0a1 1 0 110 2 1 1 0 010-2zm3.5 0c.087 0 .17.011.25.032v1.936A1.002 1.002 0 0112 12a1 1 0 011-1zm-9.25 5A1.75 1.75 0 012 14.25v-4.5C2 8.784 2.784 8 3.75 8h9.5v1.5h-9.5a.25.25 0 00-.243.193L3.5 9.75v4.5a.25.25 0 00.193.243l.057.007h9.5V16h-9.5z",fill:"currentColor",fillRule:"evenodd"}))}function fe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 8c.966 0 1.75.784 1.75 1.75v4.5A1.75 1.75 0 0120.25 16H3.75A1.75 1.75 0 012 14.25v-4.5C2 8.784 2.784 8 3.75 8h16.5zm0 1.5H3.75a.25.25 0 00-.243.193L3.5 9.75v4.5a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057v-4.5a.25.25 0 00-.193-.243L20.25 9.5zM6 11a1 1 0 110 2 1 1 0 010-2z",fill:"currentColor",fillRule:"evenodd"}))}function he(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.5 12.25l1.5 1.5V21a1 1 0 01-1 1H5a1 1 0 01-1-1v-7.25l1.5-1.5v8.25h13v-8.25zm-6.875.582l.375.375.375-.375a1.591 1.591 0 112.25 2.25L12 17.707l-2.625-2.625a1.591 1.591 0 012.25-2.25zm.821-10.685l.084.073L17 6.689V5.5a.5.5 0 01.5-.5h.5a.5.5 0 01.5.5v2.689l3.03 3.03a.75.75 0 01-.976 1.134l-.084-.073L12 3.811l-8.47 8.47a.75.75 0 01-.976.072l-.084-.073a.75.75 0 01-.073-.976l.073-.084 9-9a.75.75 0 01.976-.073z",fill:"currentColor",fillRule:"evenodd"}))}function ve(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M15.25 18.999V21h-2.5v-2.001h2.5zM21 16.75v2.5A1.75 1.75 0 0119.25 21h-2.5v-2.001H19V16.75h2zm-11.5-4c.966 0 1.75.784 1.75 1.75v4.75A1.75 1.75 0 019.5 21H4.75A1.75 1.75 0 013 19.25V14.5c0-.966.784-1.75 1.75-1.75H9.5zm11.5 0v2.5h-2v-2.5h2zm0-4v2.5h-2v-2.5h2zm-16 0v2.5H3v-2.5h2zM19.25 3c.966 0 1.75.784 1.75 1.75v2.5h-2V4.999h-2.25V3h2.5zm-12 0v1.999H5V7.25H3v-2.5C3 3.784 3.784 3 4.75 3h2.5zm4 0v1.999h-2.5V3h2.5zm4 0v1.999h-2.5V3h2.5z",fill:"currentColor",fillRule:"evenodd"}))}function pe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 19.5a2.5 2.5 0 01-4.995.164L9.5 19.5h5zM12 2c.915 0 1.686.767 1.924 1.815A6.002 6.002 0 0118 9.5V15l1.6 1.2A1 1 0 0119 18H5a1 1 0 01-.6-1.8L6 15V9.5a6.003 6.003 0 014.077-5.685C10.314 2.767 11.085 2 12 2z",fill:"currentColor",fillRule:"evenodd"}))}function we(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17 4.5c1.583 0 3.165.45 4.748 1.352a.5.5 0 01.252.435V19.15a.5.5 0 01-.728.445C19.848 18.865 18.424 18.5 17 18.5c-1.667 0-3.333.5-5 1.5-1.667-1-3.333-1.5-5-1.5-1.424 0-2.848.365-4.272 1.095A.5.5 0 012 19.15V6.287a.5.5 0 01.252-.435C3.835 4.951 5.417 4.5 7 4.5c1.667 0 3.333.5 5 1.5 1.667-1 3.333-1.5 5-1.5zM17 6c-1.284 0-2.586.363-3.92 1.108l-.308.178L12 7.75l-.772-.463C9.786 6.421 8.383 6 7 6c-1.11 0-2.232.271-3.378.825l-.122.062v10.739l.056-.02a10.363 10.363 0 013.059-.598L7 17c1.585 0 3.156.382 4.704 1.134l.296.149.296-.149c1.429-.694 2.878-1.073 4.339-1.127L17 17c1.027 0 2.05.16 3.065.48l.435.147V6.887l-.122-.062c-1.041-.504-2.064-.773-3.075-.818L17 6zm0 7.75c.836 0 1.669.115 2.5.344v1.567a7.98 7.98 0 00-2.5-.411c-1.16 0-2.325.266-3.501.804v-1.627A9.628 9.628 0 0117 13.75zm0-3c.836 0 1.669.115 2.5.344v1.567a7.98 7.98 0 00-2.5-.411c-1.16 0-2.325.266-3.501.804v-1.627A9.628 9.628 0 0117 10.75zm0-3c.836 0 1.669.115 2.5.344v1.567A7.98 7.98 0 0017 9.25c-1.16 0-2.325.266-3.501.804V8.427A9.628 9.628 0 0117 7.75z",fill:"currentColor",fillRule:"evenodd"}))}function be(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 2a.75.75 0 01.743.648L20 2.75v18.5a.75.75 0 01-.648.743L19.25 22H6.75a2.75 2.75 0 01-2.739-3H4V5l.043.001A.749.749 0 014 4.75a2.75 2.75 0 012.582-2.745L6.75 2h12.5zm-.75 16H6.75a1.25 1.25 0 00-.128 2.494l.128.006H18.5v-.75H6.75a.5.5 0 110-1H18.5V18zM5.506 4.622L5.5 4.75a.749.749 0 01-.043.251L5.5 5v11.8a2.732 2.732 0 011-.289V3.525a1.25 1.25 0 00-.994 1.097zM18.5 3.5h-11v13h11v-13zM14.25 9a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm2-3a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ee(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.75 11c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0110.75 22h-6A1.75 1.75 0 013 20.25v-7.5c0-.966.784-1.75 1.75-1.75h6zm.25 8.5H9.5v1H11v-1zm-2.5 0h-4v1h4v-1zM14.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v9.836A1.75 1.75 0 0119.25 20H13.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L14 7.25V3.499L8.25 3.5a.25.25 0 00-.243.193L8 3.75V10H6.5V3.75C6.5 2.784 7.284 2 8.25 2h6.336zM11 17.5H9.5v1H11v-1zm-2.5 0H7v1h1.5v-1zm-2.5 0H4.5v1H6v-1zm10.016-6.984c.152 0 .333.058.371.263l.008.084v.242c.554.063 1.043.247 1.34.536.21.203.32.418.32.644 0 .29-.239.492-.516.492-.242 0-.437-.074-.648-.234-.328-.25-.586-.348-.93-.348-.379 0-.61.23-.61.48 0 .226.168.369.56.457l.14.028.687.121c1 .176 1.508.68 1.508 1.508 0 .908-.638 1.554-1.67 1.741l-.185.029v.175c0 .27-.207.352-.375.352-.157 0-.34-.065-.38-.269l-.007-.083v-.164c-.649-.047-1.211-.242-1.543-.558-.2-.196-.316-.41-.316-.645 0-.347.265-.543.59-.543.159 0 .308.044.495.162l.118.08c.343.254.726.395 1.043.395.48 0 .722-.203.722-.5 0-.217-.177-.353-.617-.458l-.14-.03-.672-.133c-.996-.192-1.489-.703-1.489-1.54 0-.885.638-1.523 1.633-1.683l.18-.023v-.23c0-.274.21-.348.383-.348zM11 15.5H9.5v1H11v-1zm-2.5 0H7v1h1.5v-1zm-2.5 0H4.5v1H6v-1zm5-3H4.5v2H11v-2zm4.5-7.881V7.25a.25.25 0 00.193.243l.057.007h2.631L15.5 4.619z",fill:"currentColor",fillRule:"evenodd"}))}function xe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 2c.414 0 .75.294.75.656V3h2.25c.966 0 1.75.83 1.75 1.853v14.294C21 20.17 20.216 21 19.25 21H4.75C3.784 21 3 20.17 3 19.147V4.853C3 3.83 3.784 3 4.75 3H7v-.344C7 2.294 7.336 2 7.75 2s.75.294.75.656V3h7v-.344c0-.362.336-.656.75-.656zm3.25 6h-15v11.147c0 .125.082.23.193.258l.057.007h14.5a.254.254 0 00.243-.204l.007-.06V8zm-11 7a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm-9-4.5a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2A.5.5 0 016 12v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zm4.5 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h2zM7 4.588H4.75a.254.254 0 00-.243.204l-.007.06V6.5h15V4.853a.262.262 0 00-.193-.258l-.057-.007H17v.256c0 .362-.336.656-.75.656s-.75-.294-.75-.656v-.256h-7v.256c0 .362-.336.656-.75.656S7 5.206 7 4.844v-.256z",fill:"currentColor",fillRule:"evenodd"}))}function ye(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 8a2 2 0 012 2v9a2 2 0 01-2 2H8a2 2 0 01-2-2v-9a2 2 0 012-2h12zm.5 5h-13v6a.5.5 0 00.41.492L8 19.5h12a.5.5 0 00.492-.41L20.5 19v-6zM12 15a.5.5 0 01.5.5V17a.5.5 0 01-.5.5h-2a.5.5 0 01-.5-.5v-1.5a.5.5 0 01.5-.5h2zm4.607-10.568L17.294 7h-1.553l-.583-2.18a.5.5 0 00-.524-.369l-.089.016L3.92 7.314a.5.5 0 00-.369.523l.016.089L5 13.276v3.905a1.992 1.992 0 01-.812-1.14l-2.07-7.727a2 2 0 011.414-2.45l10.625-2.846a2 2 0 012.45 1.414zM20 9.5H8a.5.5 0 00-.492.41L7.5 10v1.5h13V10a.5.5 0 00-.41-.492L20 9.5z",fill:"currentColor"}))}function ze(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zM13 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm-1.143 6.234c.215 0 .434.097.48.36l.009.107v.387c.714.091 1.353.338 1.75.725.301.285.463.602.463.902 0 .355-.28.602-.618.602-.29 0-.51-.102-.779-.333-.456-.435-.843-.607-1.38-.607-.634 0-1.037.36-1.037.811 0 .372.266.62.843.762l.15.033 1.016.21c1.353.263 2.02.934 2.02 2.035 0 1.218-.86 2.076-2.251 2.304l-.193.027v.338c0 .344-.247.468-.49.468-.214 0-.437-.098-.484-.361l-.01-.107v-.327c-.816-.07-1.535-.322-1.981-.736-.301-.274-.473-.585-.473-.908 0-.419.306-.655.688-.655.236 0 .43.075.735.333.478.435 1.005.66 1.547.66.758 0 1.166-.338 1.166-.853 0-.374-.264-.605-.921-.77l-.159-.036-1.01-.22c-1.3-.269-1.955-.967-1.955-2.063 0-1.187.855-2.034 2.199-2.223l.186-.022v-.376c0-.349.247-.467.489-.467zM14.5 4.62v2.63a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Re(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 4.75a.75.75 0 00-1.5 0v14.5c0 .414.336.75.75.75h18.5a.75.75 0 000-1.5h-1.5V6a.75.75 0 00-1.14-.64l-6.88 4.188-3.045-2.682a.75.75 0 00-.921-.055L3.5 9.745V4.75zm0 6.816V18.5h14.75V7.335l-6.211 3.782a.75.75 0 01-.886-.078l-3.02-2.66L3.5 11.565z",fill:"currentColor"}))}function Ce(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 17.75A1.75 1.75 0 009.25 16h-4.5A1.75 1.75 0 003 17.75v1.5c0 .966.784 1.75 1.75 1.75h4.5A1.75 1.75 0 0011 19.25v-1.5zm6-6.5a1.75 1.75 0 00-1.75-1.75H4.75A1.75 1.75 0 003 11.25v1.5c0 .966.784 1.75 1.75 1.75h10.5A1.75 1.75 0 0017 12.75v-1.5zm4-6.5A1.75 1.75 0 0019.25 3H4.75A1.75 1.75 0 003 4.75v1.5C3 7.216 3.784 8 4.75 8h14.5A1.75 1.75 0 0021 6.25v-1.5zm-11.5 13v1.5a.25.25 0 01-.193.243l-.057.007h-4.5a.25.25 0 01-.243-.193L4.5 19.25v-1.5a.25.25 0 01.193-.243l.057-.007h4.5a.25.25 0 01.243.193l.007.057zm6-6.5v1.5a.25.25 0 01-.193.243L15.25 13H4.75a.25.25 0 01-.243-.193L4.5 12.75v-1.5a.25.25 0 01.193-.243L4.75 11h10.5a.25.25 0 01.243.193l.007.057zm4-6.5v1.5a.25.25 0 01-.193.243l-.057.007H4.75a.25.25 0 01-.243-.193L4.5 6.25v-1.5a.25.25 0 01.193-.243L4.75 4.5h14.5a.25.25 0 01.243.193l.007.057z",fill:"currentColor"}))}function Se(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 4.75a.75.75 0 00-1.5 0v14.5c0 .414.336.75.75.75h18.5a.75.75 0 000-1.5H3.5V4.75zm18.06 2.53a.75.75 0 10-1.06-1.06l-5.97 5.97-3.47-3.47a.75.75 0 00-1.06 0l-4.47 4.47a.75.75 0 001.061 1.06l3.94-3.94L14 13.78a.75.75 0 001.06 0l6.5-6.5z",fill:"currentColor"}))}function Ne(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.25 4.25A.75.75 0 0111 5v8h8a.75.75 0 01.743.648l.007.102c0 4.97-4.03 8.5-9 8.5a9 9 0 01-9-9c0-4.97 3.53-9 8.5-9zM9.5 5.787l-.209.024c-3.69.47-6.041 3.622-6.041 7.439a7.5 7.5 0 007.5 7.5c3.817 0 6.968-2.352 7.44-6.041l.022-.209H10.25a.75.75 0 01-.743-.648L9.5 13.75V5.787zm3.75-4.037a9 9 0 019 9 .75.75 0 01-.75.75h-8.25a.75.75 0 01-.75-.75V2.5a.75.75 0 01.75-.75zM14 3.287V10h6.712l-.023-.209a7.504 7.504 0 00-6.48-6.48L14 3.287z",fill:"currentColor"}))}function Ae(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 4.5h15v3.75h-15V4.5zM3 9.75V4.5A1.5 1.5 0 014.5 3h15A1.5 1.5 0 0121 4.5v15a1.5 1.5 0 01-1.5 1.5h-15A1.5 1.5 0 013 19.5V9.75zM4.5 14V9.75h4V14h-4zm0 1.5v4h4v-4h-4zm5.5 4h4v-4h-4v4zm5.5 0h4v-4h-4v4zm4-5.5V9.75h-4V14h4zM10 9.75h4V14h-4V9.75z",fill:"currentColor"}))}function Oe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.557 13.056c1.474.7 2.443 1.881 2.443 3.222 0 1.294-.903 2.44-2.292 3.147l.89 1.582a.556.556 0 01-.748.761l-.084-.055-2.059-1.647a7.87 7.87 0 01-1.263.1c-2.853 0-5.205-1.506-5.52-3.444 2.666-.007 5.071-.766 6.817-1.966a7.924 7.924 0 001.802-1.682l.014-.018zM10.889 3.5c4.91 0 8.889 2.736 8.889 6.111 0 3.309-3.825 6.004-8.601 6.108l-.426.003-5.406 4.324a.556.556 0 01-.832-.706l2.398-4.262C3.999 14.074 2 12.003 2 9.61 2 6.236 5.98 3.5 10.889 3.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ie(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.313 12.156c.59.664.937 1.466.937 2.344 0 1.01-.467 1.944-1.272 2.68l-.21.179.885 1.77c.174.348.174.753.01 1.096l-.068.125-.084.118c-.352.44-.948.585-1.501.347l-.127-.062-.129-.09-2.446-1.955-.233.021-.19.012-.385.009c-2.065 0-3.908-.798-4.923-2.035a13.97 13.97 0 002.216-.108c.728.397 1.667.643 2.707.643.209 0 .415-.01.619-.03l.303-.037.323-.047 2.059 1.649-.969-1.94.582-.36c.86-.533 1.333-1.252 1.333-1.985 0-.371-.122-.733-.343-1.065.3-.336.562-.69.781-1.06l.125-.219zM11 3.25c4.786 0 8.75 2.725 8.75 6.25 0 3.455-3.81 6.143-8.47 6.247l-.139.001-4.662 3.73a1.25 1.25 0 01-1.567-.004l-.1-.09-.09-.102a1.25 1.25 0 01-.174-1.27l.06-.124 1.737-3.087-.23-.106c-2.193-1.046-3.646-2.768-3.842-4.737l-.017-.228-.006-.23c0-3.525 3.964-6.25 8.75-6.25zm0 1.5c-4.05 0-7.25 2.2-7.25 4.75 0 1.679 1.397 3.263 3.66 4.119l.255.092.85.293-1.969 3.498 4.072-3.255.267.002.384-.002c3.922-.095 6.981-2.253 6.981-4.747 0-2.55-3.2-4.75-7.25-4.75z",fill:"currentColor",fillRule:"evenodd"}))}function Le(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.47 6.47a.75.75 0 01.976-.073l.084.073L12 10.939l4.47-4.47a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 010-1.06zm0 5a.75.75 0 01.976-.073l.084.073L12 15.939l4.47-4.47a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 010-1.06z",fill:"currentColor",fillRule:"evenodd"}))}function He(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.854 9.354l5.792 5.792a.5.5 0 00.708 0l5.792-5.792a.5.5 0 00-.353-.854H6.207a.5.5 0 00-.353.854z",fill:"currentColor",fillRule:"evenodd"}))}function Me(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.47 10.03a.75.75 0 01.976-1.133l.084.073L12 13.439l4.47-4.47a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-5-5z",fill:"currentColor",fillRule:"evenodd"}))}function ke(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17.53 6.47a.75.75 0 01.073.976l-.073.084L13.061 12l4.47 4.47a.75.75 0 01.072.976l-.073.084a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 01-.073-.976l.073-.084 5-5a.75.75 0 011.06 0zm-5 0a.75.75 0 01.073.976l-.073.084L8.061 12l4.47 4.47a.75.75 0 01.072.976l-.073.084a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 01-.073-.976l.073-.084 5-5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Ve(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5 6.207a.5.5 0 00-.854-.353l-5.792 5.792a.5.5 0 000 .708l5.792 5.792a.5.5 0 00.854-.353V6.207z",fill:"currentColor"}))}function je(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.97 6.47a.75.75 0 011.133.976l-.073.084L10.561 12l4.47 4.47a.75.75 0 01.072.976l-.073.084a.75.75 0 01-.976.073l-.084-.073-5-5a.75.75 0 01-.073-.976l.073-.084 5-5z",fill:"currentColor",fillRule:"evenodd"}))}function Te(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.47 6.47a.75.75 0 01.976-.073l.084.073 5 5 .073.084a.75.75 0 01.007.882l-.08.094-5 5-.084.073a.75.75 0 01-.882.007l-.094-.08-.073-.084a.75.75 0 01-.007-.882l.08-.094L15.939 12l-4.47-4.47-.072-.084a.75.75 0 01.073-.976zm-5 0a.75.75 0 01.976-.073l.084.073 5 5 .073.084a.75.75 0 01.007.882l-.08.094-5 5-.084.073a.75.75 0 01-.882.007l-.094-.08-.073-.084a.75.75 0 01-.007-.882l.08-.094L10.939 12l-4.47-4.47-.072-.084a.75.75 0 01.073-.976z",fill:"currentColor",fillRule:"evenodd"}))}function De(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 17.793a.5.5 0 00.854.353l5.792-5.792a.5.5 0 000-.708L9.354 5.854a.5.5 0 00-.854.353v11.586z",fill:"currentColor"}))}function Fe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.03 6.47a.75.75 0 00-1.133.976l.073.084L13.439 12l-4.47 4.47a.75.75 0 00-.072.976l.073.084a.75.75 0 00.976.073l.084-.073 5-5a.75.75 0 00.073-.976l-.073-.084-5-5z",fill:"currentColor",fillRule:"evenodd"}))}function Pe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.47 12.53a.75.75 0 01-.073-.976l.073-.084 5-5 .084-.073a.75.75 0 01.882-.007l.094.08 5 5 .073.084a.75.75 0 01.007.882l-.08.094-.084.073a.75.75 0 01-.882.007l-.094-.08L12 8.061l-4.47 4.47-.084.072a.75.75 0 01-.976-.073zm0 5a.75.75 0 01-.073-.976l.073-.084 5-5 .084-.073a.75.75 0 01.882-.007l.094.08 5 5 .073.084a.75.75 0 01.007.882l-.08.094-.084.073a.75.75 0 01-.882.007l-.094-.08L12 13.061l-4.47 4.47-.084.072a.75.75 0 01-.976-.073z",fill:"currentColor",fillRule:"evenodd"}))}function Be(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.854 14.646l5.792-5.792a.5.5 0 01.708 0l5.792 5.792a.5.5 0 01-.353.854H6.207a.5.5 0 01-.353-.854z",fill:"currentColor",fillRule:"evenodd"}))}function _e(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17.53 13.97a.75.75 0 01-.976 1.133l-.084-.073L12 10.561l-4.47 4.47a.75.75 0 01-.976.072l-.084-.073a.75.75 0 01-.073-.976l.073-.084 5-5a.75.75 0 01.976-.073l.084.073 5 5z",fill:"currentColor",fillRule:"evenodd"}))}function Ge(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zM8.641 8.641a.75.75 0 01.984-.067l.077.067L12 10.94l2.298-2.298a.75.75 0 011.128.984l-.067.077L13.06 12l2.298 2.298a.75.75 0 01-.984 1.128l-.077-.067L12 13.06l-2.298 2.298a.75.75 0 01-1.128-.984l.067-.077L10.94 12 8.641 9.702a.75.75 0 010-1.06z"}))}function qe(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm-.267 5.753a1 1 0 10-.001-2.001 1 1 0 00.001 2.001zM14 16.754a.75.75 0 000-1.502h-1.267V11.5a.752.752 0 00-.75-.751H10a.75.75 0 000 1.502h1.233v3H10a.75.75 0 000 1.503h4z",fill:"currentColor"}))}function $e(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm4 7.75c.934 0 1.027 1.366.102 1.493-8 0 0 0-8.102.007-.934 0-1.027-1.366-.102-1.493z",fill:"currentColor",fillRule:"evenodd"}))}function Ke(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm0 3.75a.75.75 0 01.743.648L12.75 8v3.25H16a.75.75 0 01.102 1.493L16 12.75h-3.25V16a.75.75 0 01-1.493.102L11.25 16v-3.25H8a.75.75 0 01-.102-1.493L8 11.25h3.25V8a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function Ue(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm.58 10.15a.71.71 0 00.226-.543v-1.272a.306.306 0 01.045-.143.522.522 0 01.136-.133 3.91 3.91 0 01.285-.18l.028-.016c.112-.066.242-.143.387-.237.706-.454 1.156-1.012 1.156-1.838 0-.673-.37-1.19-.887-1.53-.513-.336-1.183-.508-1.845-.508-.552 0-1.234.096-1.79.317a2.441 2.441 0 00-.574.315c-.09.069-.174.146-.245.232a1.15 1.15 0 00-.154.238 1.474 1.474 0 00-.148.625c0 .075.01.118.02.167.036.159.12.3.254.401a.77.77 0 00.47.147.768.768 0 00.745-.517l.004-.013c.053-.17.226-.306.517-.4.282-.09.611-.116.852-.116.267 0 .575.078.809.213.241.139.345.298.345.44 0 .188-.051.32-.152.444-.11.136-.285.27-.55.444h-.002l-.136.091h-.001c-.232.153-.49.322-.695.513-.252.234-.467.537-.467.938v1.38c0 .226.087.421.248.556.155.13.357.185.56.185.21 0 .41-.064.558-.2zm-.559 3.1c.504 0 .924-.4.924-.904 0-.512-.423-.9-.924-.9a.908.908 0 00-.92.9c0 .504.42.904.92.904z",fill:"currentColor"}))}function We(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm4.403 3.867a.75.75 0 01.282.938l-.052.098-5.091 8a.75.75 0 01-1.145.145l-.074-.08-2.909-3.636a.75.75 0 011.096-1.018l.076.081 2.253 2.817 4.528-7.115a.75.75 0 011.036-.23z",fill:"currentColor",fillRule:"evenodd"}))}function Je(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zm0 3.75a.97.97 0 00-.974.989L11.2 12.5c.01.417.352.749.771.749a.768.768 0 00.77-.74l.23-4.26a.97.97 0 00-.97-1zm0 9.5a1 1 0 100-2 1 1 0 000 2z",fill:"currentColor"}))}function Ye(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.03 12.97a.75.75 0 01.073.976l-.073.084-5.72 5.72H8.5a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743l-.102.007-5.051-.002-.12-.018-.068-.019-.06-.023-.07-.035-.082-.054-.08-.07a.749.749 0 01-.096-.118l-.05-.09-.04-.103a.737.737 0 01-.026-.116L2.75 20.5v-5a.75.75 0 011.493-.102l.007.102-.001 3.189 5.72-5.72a.75.75 0 011.061 0zm4.368-10.213l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L19.75 8.5V5.31l-5.72 5.72a.75.75 0 01-1.133-.976l.073-.084 5.718-5.72H15.5a.75.75 0 01-.743-.648L14.75 3.5a.75.75 0 01.648-.743z",fill:"currentColor",fillRule:"evenodd"}))}function Qe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.398 12.757l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L9.75 18.5v-3.19l-5.72 5.72a.75.75 0 01-1.133-.976l.073-.084 5.718-5.72H5.5a.75.75 0 01-.743-.648L4.75 13.5a.75.75 0 01.648-.743zM21.03 2.97a.75.75 0 01.073.976l-.073.084-5.72 5.72h3.19a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743l-.102.007-5.051-.002-.12-.018-.068-.019-.06-.023-.07-.035-.082-.054-.08-.07a.749.749 0 01-.096-.118l-.05-.09-.04-.103a.737.737 0 01-.026-.116l-.007-.102v-5a.75.75 0 011.493-.102l.007.102v3.188l5.72-5.718a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Xe(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.554 6.397a.75.75 0 011.049 1.05l-.073.083L13.061 12l4.47 4.47a.75.75 0 01-.977 1.133l-.084-.073L12 13.061l-4.47 4.47-.084.072a.75.75 0 01-1.049-1.05l.073-.083L10.939 12l-4.47-4.47a.75.75 0 01.977-1.133l.084.073L12 10.939l4.47-4.47.084-.072z",fill:"currentColor",fillRule:"evenodd"}))}function Ze(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 4.5h-4v15h4v-15zm1.5 0v15h3.75a.25.25 0 00.25-.25V4.75a.25.25 0 00-.25-.25H15.5zM4.75 3A1.75 1.75 0 003 4.75v14.5c0 .966.784 1.75 1.75 1.75h14.5A1.75 1.75 0 0021 19.25V4.75A1.75 1.75 0 0019.25 3H4.75z",fill:"currentColor"}))}function et(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6 4.5H14v15h-2.378a2.26 2.26 0 010 1.5h7.628A1.75 1.75 0 0021 19.25V4.75A1.75 1.75 0 0019.25 3H4.75A1.75 1.75 0 003 4.75v6.75c.576 0 1.152.22 1.591.659l1.659 1.659 1.659-1.659a2.244 2.244 0 011.691-.657V4.5zm5.9 15v-15h3.75a.25.25 0 01.25.25v14.5a.25.25 0 01-.25.25H15.5zM2.47 20.78a.75.75 0 010-1.06L5.19 17l-2.72-2.72a.75.75 0 111.06-1.06l2.72 2.72 2.72-2.72a.75.75 0 111.06 1.06L7.31 17l2.72 2.72a.75.75 0 11-1.06 1.06l-2.72-2.72-2.72 2.72a.75.75 0 01-1.06 0z",fill:"currentColor"}))}function tt(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 4.5h-4v15h4v-15zm1.5 0v15h3.75a.25.25 0 00.25-.25V4.75a.25.25 0 00-.25-.25H15.5zm-10.75 0H8.5v15H4.75a.25.25 0 01-.25-.25V4.75a.25.25 0 01.25-.25zm0-1.5A1.75 1.75 0 003 4.75v14.5c0 .966.784 1.75 1.75 1.75h14.5A1.75 1.75 0 0021 19.25V4.75A1.75 1.75 0 0019.25 3H4.75z",fill:"currentColor"}))}function nt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19 9a3 3 0 11-2.877 3.854H7.877A3.001 3.001 0 012 12a3 3 0 015.93-.647h8.14A3.001 3.001 0 0119 9zM5 10.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm14 0a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor"}))}function lt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.66 4.174a.75.75 0 01.32.933l-.045.091-8.298 14.373a.75.75 0 01-1.344-.659l.045-.091 8.298-14.373a.75.75 0 011.025-.274zM5 9a3.001 3.001 0 012.935 2.374.685.685 0 01.169-.02h1.814l-.866 1.5h-.948a.75.75 0 01-.22-.033A2.998 2.998 0 012 12a3 3 0 013-3zm14 0a3 3 0 11-2.877 3.854h-1.875l.866-1.5.956-.001A3.001 3.001 0 0119 9zM5 10.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm14 0a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor"}))}function at(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V18h-.5a.75.75 0 110-1.5H4v-3.75h-.5a.75.75 0 110-1.5H4V8h-.5a.75.75 0 010-1.5H4V3.75C4 2.784 4.784 2 5.75 2h12.5zm0 1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6.5H6A.75.75 0 016 8h-.5v3.25H6a.75.75 0 110 1.5h-.5v3.75H6A.75.75 0 116 18h-.5v2.25a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5zM11.866 12c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0114.482 18H9.25a1.75 1.75 0 01-1.724-2.05c.46-2.634 1.906-3.95 4.34-3.95zm0-5.5c1.104 0 2 1.12 2 2.5s-.896 2.5-2 2.5c-1.105 0-2-1.12-2-2.5s.895-2.5 2-2.5z",fill:"currentColor",fillRule:"evenodd"}))}function rt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6 5v1.5h-.25a.25.25 0 00-.243.193L5.5 6.75v13.5a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057V20H17v.25A1.75 1.75 0 0115.25 22h-9.5A1.75 1.75 0 014 20.25V6.75C4 5.784 4.784 5 5.75 5H6zm7.586-3a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v8.836A1.75 1.75 0 0118.25 19h-9.5A1.75 1.75 0 017 17.25V3.75C7 2.784 7.784 2 8.75 2h4.836zM13 3.5H8.75a.25.25 0 00-.243.193L8.5 3.75v13.5a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm1.5 1.121V7.25a.25.25 0 00.193.243l.057.007h2.629L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ot(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.441 3.441a1.25 1.25 0 01.983-.058l.135.058 9.598 4.799a.85.85 0 01.464.859l-.001 6.151a.75.75 0 11-1.5 0v-4.971L19 11.339V17.5c0 1.657-3.134 3-7 3-3.772 0-6.847-1.278-6.994-2.88L5 17.5v-6.162L1.842 9.76a.85.85 0 01-.421-1.042l.041-.098a.85.85 0 01.286-.325l.094-.055 9.598-4.799zm-4.942 8.647v5.395c.009.095.385.448 1.217.791C8.82 18.73 10.351 19 12 19c1.689 0 3.253-.284 4.359-.757.472-.203.822-.425 1.023-.629l.11-.117c.003-.003.005-.004.006-.003l.002.006v-5.411l-4.941 2.47a1.25 1.25 0 01-.983.058l-.135-.058-4.942-2.471zM12 4.838L3.677 8.999l8.322 4.162 8.323-4.162L12 4.838z",fill:"currentColor"}))}function it(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.499 15l.001 5.25a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057V20H18v.25A1.75 1.75 0 0116.25 22h-9.5A1.75 1.75 0 015 20.25L4.999 15h1.5zm8.087-13a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v8.836A1.75 1.75 0 0119.25 19h-9.5A1.75 1.75 0 018 17.25L7.999 15h1.5l.001 2.25a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193l.007-.057L19.499 9H15.75a1.75 1.75 0 01-1.744-1.606L14 7.25l-.001-3.75H9.75a.25.25 0 00-.243.193L9.5 3.75 9.499 5h-1.5L8 3.75C8 2.784 8.784 2 9.75 2h4.836zM4.392 8.956a.5.5 0 01.55-.147l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082L4.341 9.03l.051-.074zM8.25 6a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.6.221l-.083-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528A2.5 2.5 0 006.711 8.03a.75.75 0 11-.925-1.181A3.985 3.985 0 018.25 6zm7.249-1.38l.001 2.63a.25.25 0 00.193.243l.057.007h2.629l-2.88-2.88z",fill:"currentColor",fillRule:"evenodd"}))}function st(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2a4.5 4.5 0 014.472 4h-1.514a3 3 0 00-5.917 0H20.25a.75.75 0 110 1.5h-.75V18a4 4 0 01-4 4h-7a4 4 0 01-4-4V7.5h-.75a.75.75 0 010-1.5h3.777A4.5 4.5 0 0112 2zm6 5.5H6V18a2.5 2.5 0 002.336 2.495l.164.005h7a2.5 2.5 0 002.495-2.336L18 18V7.5zm-3.946 3.397a.75.75 0 011.049 1.05l-.073.083L13.061 14l1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073L12 15.061l-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083L10.939 14l-1.97-1.97a.75.75 0 01.977-1.133l.084.073L12 12.939l1.97-1.97.084-.072z",fill:"currentColor",fillRule:"evenodd"}))}function ct(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2a4.5 4.5 0 014.472 4h3.778a.75.75 0 110 1.5h-.75V18a4 4 0 01-4 4h-7a4 4 0 01-4-4V7.5h-.75a.75.75 0 010-1.5h3.777A4.5 4.5 0 0112 2zm6 5.5H6V18a2.5 2.5 0 002.336 2.495l.164.005h7a2.5 2.5 0 002.495-2.336L18 18V7.5zm-8.25 2a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zm4.5 0a.75.75 0 01.75.75v7.5a.75.75 0 11-1.5 0v-7.5a.75.75 0 01.75-.75zM12 3.5A3 3 0 009.041 6h5.917A3 3 0 0012 3.5z",fill:"currentColor",fillRule:"evenodd"}))}function ut(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 2a.75.75 0 01.75.75V3h2.25c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H17v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V8h-15v11.25a.25.25 0 00.193.243l.057.007H7V21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3H7v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zM12 11.25a.75.75 0 01.743.648l.007.102v6.439l1.72-1.72a.75.75 0 01.976-.072l.084.073a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-.976.073l-.084-.073-3-3a.75.75 0 01.976-1.133l.084.073 1.72 1.719V12a.75.75 0 01.75-.75zM7 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75V6.5h15V4.75a.25.25 0 00-.193-.243L19.25 4.5H17v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5z",fill:"currentColor",fillRule:"evenodd"}))}function dt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.303 2.787a1.25 1.25 0 01.934 1.39l-.024.126-4 16a1.25 1.25 0 01-2.45-.48l.024-.126 4-16a1.25 1.25 0 011.516-.91zM7.05 5.04a1.25 1.25 0 01.242 1.65l-.082.11L2.877 12l4.333 5.2a1.25 1.25 0 01-.06 1.667l-.1.093a1.25 1.25 0 01-1.667-.06l-.093-.1-5-6a1.25 1.25 0 01-.083-1.49l.083-.11 5-6a1.25 1.25 0 011.76-.16zm9.9 0a1.25 1.25 0 011.667.06l.093.1 5 6 .083.11a1.25 1.25 0 010 1.38l-.083.11-5 6-.093.1a1.25 1.25 0 01-1.558.142l-.11-.082-.1-.093a1.25 1.25 0 01-.14-1.558l.08-.11L21.124 12 16.79 6.8l-.082-.11a1.25 1.25 0 01.242-1.65z",fill:"currentColor",fillRule:"evenodd"}))}function mt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.5 17a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4a.5.5 0 01-.5-.5v-4a.5.5 0 01.5-.5h4zm-1 1.5h-2v2h2v-2zm-5-14.75a.75.75 0 01.102 1.493l-.102.007H13a.25.25 0 00-.243.193l-.007.057v5.75h1.75a.75.75 0 01.102 1.493l-.102.007h-1.75v5.75a.25.25 0 00.193.243l.057.007h1.5a.75.75 0 01.102 1.493l-.102.007H13a1.75 1.75 0 01-1.744-1.606l-.006-.144v-5.75H9.5a.75.75 0 01-.102-1.493l.102-.007h1.75V5.5a1.75 1.75 0 011.606-1.744L13 3.75h1.5zm6 5.75a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4a.5.5 0 01-.5-.5v-4a.5.5 0 01.5-.5h4zm-13 0a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4A.5.5 0 013 14v-4a.5.5 0 01.5-.5h4zm12 1.5h-2v2h2v-2zm-13 0h-2v2h2v-2zm14-9a.5.5 0 01.5.5v4a.5.5 0 01-.5.5h-4a.5.5 0 01-.5-.5v-4a.5.5 0 01.5-.5h4zm-1 1.5h-2v2h2v-2z",fill:"currentColor",fillRule:"evenodd"}))}function gt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V14h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H10V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm6.194 13.72a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-3-3a.75.75 0 01.976-1.133l.084.073 2.47 2.469 4.47-4.47a.75.75 0 011.06 0zm-2.4-8.22L14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63z",fill:"currentColor",fillRule:"evenodd"}))}function ft(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V13h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H12V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm2.164 11.5a.75.75 0 01.743.648l.007.102V17h2.75a.75.75 0 01.102 1.493l-.102.007H16.5v2.75a.75.75 0 01-1.493.102L15 21.25V18.5h-2.75a.75.75 0 01-.102-1.493L12.25 17H15v-2.75a.75.75 0 01.75-.75zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ht(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11.95 11.146l2.219 3.843.868.234a2.5 2.5 0 111.826 2.042l-1.633-.438.845 1.464a2.5 2.5 0 11-2.444-1.235l-.45-.778-4.287-1.148a.75.75 0 11.388-1.45l2.839.761-1.47-2.545a.75.75 0 011.3-.75zM13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V11h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H10V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm-.176 16.675a1 1 0 101 1.732 1 1 0 00-1-1.732zm3.134-4.084a1 1 0 101.932.518 1 1 0 00-1.932-.518zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function vt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zM13 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm-1 12.91c.516 0 .935.333.935.849 0 .515-.42.848-.935.848-.516 0-.94-.333-.94-.848 0-.516.424-.849.94-.849zm0-5.978c.509 0 .883.352.917.807l.001.106-.15 3.62a.754.754 0 01-.768.736.757.757 0 01-.768-.632l-.01-.104-.135-3.62c-.022-.505.37-.913.913-.913zm2.5-5.811V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function pt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707v4.336h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h5V22h-5A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm5.664 12.25a.75.75 0 01.743.648L20 15v4.5a.75.75 0 01-1.493.102L18.5 19.5v-2.69l-4.97 4.97a.75.75 0 01-1.133-.976l.073-.084 4.968-4.97H14.75a.75.75 0 01-.743-.648L14 15a.75.75 0 01.648-.743l.102-.007h4.5zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function wt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.586 2a1 1 0 01.707.293l3.414 3.414a1 1 0 01.293.707v8.836A1.75 1.75 0 0119.25 17H15v3.25A1.75 1.75 0 0113.25 22h-8.5A1.75 1.75 0 013 20.25V8.75C3 7.784 3.784 7 4.75 7H9V3.75C9 2.784 9.784 2 10.75 2h5.836zM15.5 3.499l-4.75.001a.25.25 0 00-.243.193l-.007.057V7h1v1.5h-1V10H9V8.5H4.75a.25.25 0 00-.243.193L4.5 8.75v11.5a.25.25 0 00.193.243l.057.007h8.5a.25.25 0 00.243-.193l.007-.057V17h-1v-1.5h1V14H15v1.5h4.25a.25.25 0 00.243-.193l.007-.057V7.5h-2.25a1.75 1.75 0 01-1.744-1.606L15.5 5.75V3.499zM10.5 14v1.25a.25.25 0 00.193.243l.057.007h.75V17h-.75A1.75 1.75 0 019 15.25V14h1.5zm4.5-3v2h-1.5v-2H15zm-4.5 0v2H9v-2h1.5zm2-4h.75c.966 0 1.75.784 1.75 1.75V10h-1.5V8.75a.25.25 0 00-.193-.243L13.25 8.5h-.75V7zM17 4.12v1.63a.25.25 0 00.193.243L17.25 6h1.631L17 4.12z",fill:"currentColor",fillRule:"evenodd"}))}function bt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V12h1.5v8.25a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5h-2V2h2.586zM4.433 7.25a.5.5 0 01-.717.661l-.07-.057-1-1-.057-.07a.5.5 0 010-.568l.057-.07 1-1 .07-.057a.5.5 0 01.568 0l.07.057.057.07a.5.5 0 01.022.535L6.25 5.75V3.933a.5.5 0 01-.534-.022l-.07-.057a.5.5 0 01-.057-.638l.057-.07 1-1 .07-.057a.5.5 0 01.568 0l.07.057 1 1 .057.07a.5.5 0 010 .568l-.057.07-.07.057a.5.5 0 01-.534.022V5.75h1.817a.5.5 0 01.022-.534l.057-.07a.5.5 0 01.638-.057l.07.057 1 1a.5.5 0 01.057.638l-.057.07-1 1a.5.5 0 01-.787-.604H7.75v1.817a.5.5 0 01.534.022l.07.057a.5.5 0 01.057.638l-.057.07-1 1a.5.5 0 01-.638.057l-.07-.057-1-1a.5.5 0 01.605-.787L6.25 7.25H4.433zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Et(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V12h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H10V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm.164 10.75a3 3 0 100 6 3 3 0 000-6zm.75-8.129V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621zm-.75 15.629a4.5 4.5 0 113.632-1.842l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.479 4.479 0 01-2.495.755z",fill:"currentColor",fillRule:"evenodd"}))}function xt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V12.5h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V17H20v3.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm-.032 9.147a.75.75 0 01.882-.007l.094.08.073.084a.75.75 0 01.007.882l-.08.094L12.811 14h6.439l.102.007a.75.75 0 010 1.486l-.102.007h-6.439l1.72 1.72.072.084a.75.75 0 01-1.05 1.049l-.083-.073-3-3-.073-.084a.75.75 0 01-.007-.882l.08-.094 3-3 .084-.073zm.946-6.526V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"}))}function yt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V14h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007H12V22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm5.218 13.647a.75.75 0 011.049 1.05l-.073.083-1.969 1.97 1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073-1.97-1.969-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083 1.969-1.97-1.97-1.97a.75.75 0 01.977-1.133l.084.073 1.97 1.969 1.97-1.97.084-.072zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"}))}function zt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 14v6.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V14h4v1.5H5.5v4.75a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V15.5H16V14h4zm-6 0v1.5h-4V14h4zm0-3v1.5h-4V11h4zm.5-6.379V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621zM4 3.75C4 2.784 4.784 2 5.75 2h7.836a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V12.5h-4V11h2.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V11H8v1.5H4V3.75z",fill:"currentColor",fillRule:"evenodd"}))}function Rt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V10H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM10 10a6 6 0 110 12 6 6 0 010-12zm0 1.5a4.5 4.5 0 100 9 4.5 4.5 0 000-9zm0 .75a.75.75 0 01.743.648l.007.102v3a.75.75 0 01-.648.743L10 16.75H8a.75.75 0 01-.102-1.493L8 15.25l1.25-.001V13a.75.75 0 01.648-.743L10 12.25zm4.5-7.629V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Ct(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zM13 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5zm2.5 12.25a.75.75 0 01.102 1.493l-.102.007h-7a.75.75 0 01-.102-1.493l.102-.007h7zm0-4a.75.75 0 01.102 1.493l-.102.007h-7a.75.75 0 01-.102-1.493l.102-.007h7zm-1-7.129V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"}))}function St(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 16.25a.75.75 0 01.743.648L21 17v1.25a3.75 3.75 0 01-3.55 3.745l-.2.005H6.75a3.75 3.75 0 01-3.745-3.55L3 18.25V17a.75.75 0 011.493-.102L4.5 17v1.25a2.25 2.25 0 002.096 2.245l.154.005h10.5a2.25 2.25 0 002.245-2.096l.005-.154V17a.75.75 0 01.75-.75zm-3.5.75a.75.75 0 110 1.5h-9.5a.75.75 0 110-1.5h9.5zM12 2a.75.75 0 01.743.648l.007.102v9.189l2.22-2.22a.75.75 0 011.133.977l-.073.084-3.5 3.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012L12 14.5l-.052-.002-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.22 2.219V2.75A.75.75 0 0112 2z",fill:"currentColor",fillRule:"evenodd"}))}function Nt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M9.5 15.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-5-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-5-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function At(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17 4c1.583 0 3.165.45 4.748 1.352a.5.5 0 01.252.435V18.65a.5.5 0 01-.728.445C19.848 18.365 18.424 18 17 18c-1.667 0-3.333.5-5 1.5-1.667-1-3.333-1.5-5-1.5-1.424 0-2.848.365-4.272 1.095A.5.5 0 012 18.65V5.787a.5.5 0 01.252-.435C3.835 4.451 5.417 4 7 4c1.667 0 3.333.5 5 1.5 1.667-1 3.333-1.5 5-1.5zM7 13.5c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928C9.289 13.677 8.226 13.5 7 13.5zm10 0c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928c-.897-.359-1.96-.536-3.186-.536zm-10-3c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928C9.289 10.677 8.226 10.5 7 10.5zm10 0c-1.227 0-2.289.177-3.186.536a.5.5 0 10.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928c-.897-.359-1.96-.536-3.186-.536zm-10-3c-1.227 0-2.289.177-3.186.536a.5.5 0 00.372.928C4.956 8.656 5.893 8.5 7 8.5s2.044.156 2.814.464a.5.5 0 10.372-.928C9.289 7.677 8.226 7.5 7 7.5zm10 0c-1.227 0-2.289.177-3.186.536a.5.5 0 00.372.928c.77-.308 1.707-.464 2.814-.464s2.044.156 2.814.464a.5.5 0 10.372-.928C19.289 7.677 18.226 7.5 17 7.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ot(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13 2v5.25l.006.144a1.75 1.75 0 001.593 1.6L14.75 9H20v11.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2H13zm-3 7.75c-1.572 0-2.858 1.745-3.337 3.877l-.048.23-.039.217c-.138.832-.124 1.608.046 2.26l.07.238.055.148-.191.101c-.33.166-.672.305-1.025.413a.75.75 0 00.339 1.457l.1-.023.281-.092c.35-.122.691-.268 1.02-.435l.325-.174.098-.059.02.014c.302.18.66.293 1.074.32L9 18.25l.255-.004c1.076-.038 1.983-.315 2.706-.82l.193-.145.124-.104.014.052c.044.14.098.262.164.369l.069.102.086.107c.579.665 1.275.432 2.018-.32l.117-.122.102-.115.021.104c.043.2.09.356.163.512.209.456.598.755 1.132.708.582-.052 1.196-.55 2.042-1.612l.162-.206.32-.425.17-.23a.75.75 0 00-1.144-.965l-.071.085-.293.396-.28.362-.251.308-.22.256-.187.205-.11.112-.082-.493-.042-.199-.024-.09c-.083-.294-.201-.52-.436-.692-.598-.437-1.122-.163-1.695.514l-.258.312-.107.118-.007-.214a12.73 12.73 0 01.094-1.533c.1-.89-1.135-1.152-1.438-.372l-.033.103-.057.203c-.397 1.321-1.216 2.03-2.562 2.195l-.217.022-.176.009.199-.19a8.876 8.876 0 001.813-2.556c1.013-2.18.695-4.247-1.274-4.247zm0 1.5c.406 0 .531.695-.005 1.934l-.081.181-.116.237a7.434 7.434 0 01-1.401 1.893l-.25.236-.105.089-.032-.177c-.06-.406-.037-.911.077-1.5C8.402 12.53 9.306 11.25 10 11.25zm4.5-4V2L20 7.5h-5.25l-.057-.007a.25.25 0 01-.184-.175L14.5 7.25z",fill:"currentColor",fillRule:"evenodd"}))}function It(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.013 4.513a1.75 1.75 0 012.35-.114l.124.114 1.586 1.585a1.75 1.75 0 01.114 2.35l-.114.125L8.061 20.586H4v-4.06L16.013 4.512zm-1.514 3.633l-8.999 9v1.94h1.938l9-9.001-1.939-1.939zm2.928-2.573a.25.25 0 00-.3-.04l-.054.04-1.513 1.512 1.939 1.939 1.514-1.511a.25.25 0 00.065-.24l-.025-.06-.04-.054-1.586-1.586z",fill:"currentColor"}))}function Lt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 20.5a.75.75 0 110 1.5H3.75a.75.75 0 110-1.5h16.5zM16.013 2.927a1.75 1.75 0 012.35-.114l.124.114 1.586 1.586a1.75 1.75 0 01.114 2.35l-.114.124L8.061 19H4v-4.06L16.013 2.926zM14.499 6.56l-8.999 9v1.94h1.938l9-9-1.939-1.94zm2.928-2.573a.25.25 0 00-.3-.04l-.054.04L15.56 5.5l1.939 1.94 1.514-1.512a.25.25 0 00.065-.24l-.025-.06-.04-.054-1.586-1.586z",fill:"currentColor",fillRule:"evenodd"}))}function Ht(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 10.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm10 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function Mt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 15.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm0-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm0-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function kt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-2.25 9.5a.75.75 0 110 1.5H6.75a.75.75 0 110-1.5h10.5zm0-3.5a.75.75 0 110 1.5H6.75a.75.75 0 110-1.5h10.5zm0-3.5a.75.75 0 110 1.5H6.75a.75.75 0 010-1.5h10.5z",fill:"currentColor",fillRule:"evenodd"}))}function Vt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-7.25 2a.5.5 0 01.5.5v9a.5.5 0 01-.5.5h-.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h.5zm-3.5 7.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 010 1.5h-2a.75.75 0 010-1.5h2zm8.5 0a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2z",fill:"currentColor",fillRule:"evenodd"}))}function jt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.75 12.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm.5-9.5c.966 0 1.75.784 1.75 1.75l.001 6.687a5.96 5.96 0 00-1.5-.39L19.5 6h-15v13.25a.25.25 0 00.193.243l.057.007h8.544a5.99 5.99 0 00.985 1.5H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-.5 16a.75.75 0 100 1.5.75.75 0 000-1.5zm0-5.5a.75.75 0 00-.743.648L18 14.25v3.5a.75.75 0 001.493.102l.007-.102v-3.5a.75.75 0 00-.75-.75zM12.25 8a.5.5 0 01.5.5v9a.5.5 0 01-.5.5h-.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h.5zm-3.5 7.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm0-3.5a.75.75 0 010 1.5h-2a.75.75 0 010-1.5h2zm8.5 0a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2z",fill:"currentColor",fillRule:"evenodd"}))}function Tt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zm.25-12.5a.25.25 0 00-.243.193L7.5 3.75V9.5c-.54 0-1.053.164-1.5.464V3.75C6 2.784 6.784 2 7.75 2h7.525c.464 0 .91.184 1.238.513l3.974 3.974c.329.329.513.774.513 1.238V18.25A1.75 1.75 0 0119.25 20h-6.038l-.01-.063a11.184 11.184 0 00-.369-1.437h6.417a.25.25 0 00.243-.193l.007-.057v-10h-3a1.75 1.75 0 01-1.744-1.606L14.75 6.5v-3h-7zm-.25 7c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm9.75 3a.75.75 0 110 1.5h-5.5a.75.75 0 110-1.5h5.5zm0-3a.75.75 0 110 1.5h-6a.75.75 0 110-1.5h6zm1.378-3.75L16.25 4.371V6.5a.25.25 0 00.193.243l.057.007h2.128z",fill:"currentColor",fillRule:"evenodd"}))}function Dt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zm14.263-3.75c.155.24.237.491.237.75 0 1.272-1.978 2.358-4.77 2.795l-.516.072c-.7.087-1.443.133-2.214.133-1.25 0-2.43-.122-3.466-.339a4.583 4.583 0 00-1.063-.672c.175-.294.313-.626.404-.984.945.25 2.042.417 3.225.474l.612.019.288.002.453-.006c3.293-.078 6.014-1.006 6.81-2.243zM7.5 10.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm14.263-1.75c.155.24.237.491.237.75 0 1.272-1.978 2.358-4.77 2.795l-.516.072c-.7.087-1.443.133-2.214.133-1.524 0-2.941-.182-4.125-.494a3.637 3.637 0 00-.68-1.398 3.187 3.187 0 00-.47-.478c1.163.463 2.705.773 4.423.85l.564.018.288.002.453-.006c3.293-.078 6.014-1.006 6.81-2.243zM14.5 3c.77 0 1.514.046 2.214.133l.516.072C20.022 3.642 22 4.728 22 6s-1.978 2.358-4.77 2.795l-.516.072c-.7.087-1.443.133-2.214.133-.77 0-1.514-.046-2.214-.133l-.516-.072C8.978 8.358 7 7.272 7 6s1.978-2.358 4.77-2.795l.516-.072A18.02 18.02 0 0114.5 3zm0 1.5c-1.835 0-3.538.288-4.746.771-.456.183-.81.381-1.042.57L8.538 6l.082.078c.225.212.613.442 1.134.65 1.208.484 2.91.772 4.746.772 1.835 0 3.538-.288 4.746-.771.456-.183.81-.381 1.042-.57L20.461 6l-.081-.078c-.225-.212-.613-.442-1.134-.65-1.208-.484-2.91-.772-4.746-.772z",fill:"currentColor",fillRule:"evenodd"}))}function Ft(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.275 17.75c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zM14.25 3c.966 0 1.75.784 1.75 1.75V9c-.516 0-1.018.026-1.5.074V5.5h-11v10.75a.25.25 0 00.193.243l.057.007H9V18H3.75A1.75 1.75 0 012 16.25V4.75C2 3.784 2.784 3 3.75 3h10.5zm-3.975 11.75c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zM16 10c3.314 0 6 1.12 6 2.5S19.314 15 16 15s-6-1.12-6-2.5 2.686-2.5 6-2.5zm-8.25 3a.75.75 0 110 1.5h-1.5a.75.75 0 110-1.5h1.5zM16 11.5c-1.425 0-2.742.232-3.666.617a3.354 3.354 0 00-.65.347l-.048.036.048.036c.126.091.292.186.493.278l.157.07c.924.384 2.24.616 3.666.616 1.425 0 2.742-.232 3.666-.617.273-.114.492-.233.65-.347l.047-.037-.047-.035a3.044 3.044 0 00-.493-.278l-.157-.07c-.924-.384-2.24-.616-3.666-.616zM8.25 10a.75.75 0 110 1.5h-2a.75.75 0 110-1.5h2zm3.5-3a.75.75 0 110 1.5h-5.5a.75.75 0 010-1.5h5.5z",fill:"currentColor",fillRule:"evenodd"}))}function Pt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.371 18.835l1.564 1.565a.998.998 0 010 1.414l-.392.393a.996.996 0 01-1.414 0l-1.565-1.565 1.807-1.807zM7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zm7.5 2.5l1.498 1.5h-3.286l-.01-.063a11.184 11.184 0 00-.369-1.437H15zm.453-4.586l4.212 4.213-1.808 1.808-4.21-4.213-.005-1.762 1.811-.046zM15.275 2c.464 0 .91.184 1.238.513l3.974 3.974c.329.329.513.774.513 1.238v10.334l-1.5-1.501V8.25h-3a1.75 1.75 0 01-1.744-1.606L14.75 6.5v-3h-7a.25.25 0 00-.243.193L7.5 3.75V9.5c-.54 0-1.053.164-1.5.464V3.75C6 2.784 6.784 2 7.75 2h7.525zM7.5 10.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm7.25 1a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm1.5-7.129V6.5a.25.25 0 00.193.243l.057.007h2.128L16.25 4.371z",fill:"currentColor",fillRule:"evenodd"}))}function Bt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.5 8l3 3v8.25A1.75 1.75 0 0120.75 21h-7.5a1.75 1.75 0 01-1.75-1.75v-9.5c0-.966.784-1.75 1.75-1.75h6.25zm-1 1.5h-5.25a.25.25 0 00-.243.193L13 9.75v9.5a.25.25 0 00.193.243l.057.007h7.5a.25.25 0 00.243-.193L21 19.25V12h-2.5V9.5zm.25 7a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zM6.25 14a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM18 3a1.75 1.75 0 011.744 1.606l.006.144V7h-6.27a3.11 3.11 0 00-1.955.675l-.152.13a2.654 2.654 0 00-.866 1.757l-.007.188v5.5H8.738a2.5 2.5 0 00-2.324-2.245L6.25 13a2.5 2.5 0 00-2.488 2.25H2.25l-.102-.007a.75.75 0 01-.641-.641L1.5 14.5V9.929l.008-.108a.75.75 0 01.112-.3l.066-.086 3-3.429.076-.075a.75.75 0 01.381-.173l.107-.008h2.5v-1a1.75 1.75 0 011.606-1.744L9.5 3H18zm.75 10.5a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zM7 7.25H5.59L4 9.068V10h3V7.25z",fill:"currentColor",fillRule:"evenodd"}))}function _t(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.775 17.75c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zm0-3c.702.931 2.675 1.627 5.072 1.735l.378.012.275.003.356-.005c2.53-.061 4.638-.776 5.37-1.745.178.236.274.489.274.75 0 1.38-2.686 2.5-6 2.5s-6-1.12-6-2.5c0-.261.096-.514.275-.75zM6.25 14a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM18 3a1.75 1.75 0 011.744 1.606l.006.144.001 4.617A13.959 13.959 0 0016.5 9c-1.809 0-3.443.316-4.627.81-.695.289-1.247.646-1.628 1.029-.458.46-.695.97-.738 1.488L9.5 12.5v2.75h-.762a2.5 2.5 0 00-2.324-2.245L6.25 13a2.5 2.5 0 00-2.488 2.25H2.25l-.102-.007a.75.75 0 01-.641-.641L1.5 14.5V9.929l.008-.108a.75.75 0 01.112-.3l.066-.086 3-3.429.076-.075a.75.75 0 01.381-.173l.107-.008h2.5v-1a1.75 1.75 0 011.606-1.744L9.5 3H18zm-1.5 7c3.314 0 6 1.12 6 2.5s-2.686 2.5-6 2.5-6-1.12-6-2.5 2.686-2.5 6-2.5zm0 1.5c-1.425 0-2.742.232-3.666.617a3.354 3.354 0 00-.65.347l-.048.036.048.036c.126.091.292.186.493.278l.157.07c.924.384 2.24.616 3.666.616 1.425 0 2.742-.232 3.666-.617.273-.114.492-.233.65-.347l.047-.037-.047-.035a3.044 3.044 0 00-.493-.278l-.157-.07c-.924-.384-2.24-.616-3.666-.616zM7 7.25H5.59L4 9.068V10h3V7.25z",fill:"currentColor",fillRule:"evenodd"}))}function Gt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 4c.966 0 1.75.784 1.75 1.75v6.14l-1.5-.001v-5.55l-8.04 6.253a.75.75 0 01-.826.062l-.094-.062L3.5 6.339V18.25a.25.25 0 00.193.243l.057.007H12V20H3.75A1.75 1.75 0 012 18.25V5.75C2 4.784 2.784 4 3.75 4h16.5zm1.53 9.72a.75.75 0 01.073.976l-.073.084-5 5a.75.75 0 01-.976.073l-.084-.073-3-3a.75.75 0 01.976-1.133l.084.073 2.47 2.469 4.47-4.47a.75.75 0 011.06 0zM19.134 5.5H4.865L12 11.049 19.134 5.5z",fill:"currentColor",fillRule:"evenodd"}))}function qt(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.137 5.07l8.77 7.016a1.75 1.75 0 002.186 0l8.77-7.016c.088.209.137.439.137.68v12.5A1.75 1.75 0 0120.25 20H3.75A1.75 1.75 0 012 18.25V5.75c0-.241.049-.471.137-.68zM3.28 4.064c.15-.042.307-.064.47-.064h16.5c.163 0 .32.022.47.064l-8.564 6.85a.25.25 0 01-.312 0L3.28 4.064z",fill:"currentColor"}))}function $t(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 4c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0120.25 20H3.75A1.75 1.75 0 012 18.25V5.75C2 4.784 2.784 4 3.75 4h16.5zm.25 2.339l-8.04 6.253a.75.75 0 01-.826.062l-.094-.062L3.5 6.339V18.25a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057V6.339zM19.134 5.5H4.865L12 11.049 19.134 5.5z",fill:"currentColor",fillRule:"evenodd"}))}function Kt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H13.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V4.75a.25.25 0 00-.193-.243L19.25 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75v5.75H3V4.75C3 3.784 3.784 3 4.75 3h14.5zm-9 9c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0110.25 21h-5.5A1.75 1.75 0 013 19.25v-5.5c0-.966.784-1.75 1.75-1.75h5.5zm0 1.5h-5.5a.25.25 0 00-.243.193l-.007.057v5.5a.25.25 0 00.193.243l.057.007h5.5a.25.25 0 00.243-.193l.007-.057v-5.5a.25.25 0 00-.193-.243l-.057-.007zm7.25-7.75a.75.75 0 01.743.648l.007.102V10a.75.75 0 01-1.493.102L16.75 10V8.31l-3.22 3.22a.75.75 0 01-1.133-.976l.073-.084 3.218-3.22H14a.75.75 0 01-.743-.648L13.25 6.5a.75.75 0 01.648-.743L14 5.75h3.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ut(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2a1.75 1.75 0 011.744 1.606L20 3.75v16a.75.75 0 01-.177.484l-.074.076-1.813 1.613a.75.75 0 01-.908.068l-.089-.068-1.314-1.17-1.314 1.17a.75.75 0 01-.811.121l-.097-.053-.089-.068L12 20.753l-1.314 1.17a.75.75 0 01-.811.121l-.097-.053-.089-.068-1.314-1.17-1.314 1.17a.75.75 0 01-.811.121l-.097-.053-.089-.068-1.813-1.613a.75.75 0 01-.243-.454L4 19.75v-16a1.75 1.75 0 011.606-1.744L5.75 2h12.5zm0 1.5H5.75a.25.25 0 00-.243.193L5.5 3.75v15.662l1.063.946 1.313-1.168a.75.75 0 01.812-.122l.096.053.09.069 1.314 1.168 1.313-1.168a.75.75 0 01.812-.122l.096.053.09.069 1.314 1.168 1.313-1.168a.75.75 0 01.812-.122l.096.053.09.069 1.314 1.168 1.062-.945V3.75a.25.25 0 00-.13-.22l-.063-.023-.057-.007zm-2.5 9.5a.75.75 0 110 1.5h-7.5a.75.75 0 110-1.5h7.5zm-3-3.5a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5zm3-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function Wt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H12.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v8.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM4.648 14.507l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L9 20.25v-3.19l-4.72 4.72a.75.75 0 01-1.133-.976l.073-.084L7.938 16H4.75a.75.75 0 01-.743-.648L4 15.25a.75.75 0 01.648-.743zM16.5 16.5v2h-4v-2h4zm0-3v2h-4v-2h4zm-5-3v2h-4v-2h4zm5 0v2h-4v-2h4zm-2-5.879V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Jt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H12.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v8.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM4.648 14.507l.102-.007h5l.07.003.101.017.068.019.06.023.07.035.082.054.08.07a.749.749 0 01.096.118l.05.09.04.103c.012.037.02.076.026.116l.007.102v5a.75.75 0 01-1.493.102L9 20.25v-3.19l-4.72 4.72a.75.75 0 01-1.133-.976l.073-.084L7.938 16H4.75a.75.75 0 01-.743-.648L4 15.25a.75.75 0 01.648-.743zM14.5 4.62v2.63a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function Yt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.5 7.999V9.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5H15.5V7.999L18.25 8c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8l2.75-.001zM11.992 2l.1.006.076.013.08.023.107.047.091.058.084.073 3 3a.75.75 0 01-.976 1.133l-.084-.073-1.72-1.719V15.25a.75.75 0 01-1.493.102l-.007-.102V4.561l-1.72 1.72a.75.75 0 01-1.133-.977l.073-.084 3-3a.753.753 0 01.125-.101l.088-.049.119-.043.106-.021A.754.754 0 0111.992 2z",fill:"currentColor",fillRule:"evenodd"}))}function Qt(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.53 2.47a.75.75 0 00-1.06 1.06l3.605 3.605a10.258 10.258 0 00-4.097 6.208.75.75 0 101.466.314 8.757 8.757 0 013.71-5.443l1.987 1.988a4 4 0 005.656 5.656l5.673 5.672a.75.75 0 101.06-1.06l-18-18zm10.207 12.328l-3.535-3.535a2.5 2.5 0 003.535 3.535zM12.061 9L16 12.94A4 4 0 0012.06 9zM8.815 5.754l1.218 1.218a8.753 8.753 0 0110.523 6.685.75.75 0 101.467-.314C21.032 8.718 16.922 5.25 12 5.25c-1.112 0-2.182.177-3.185.504z",fill:"currentColor"}))}function Xt(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.444 13.657a8.753 8.753 0 0117.112 0 .75.75 0 101.466-.314C21.033 8.718 16.922 5.25 12 5.25c-4.922 0-9.031 3.468-10.022 8.093a.75.75 0 101.466.314zM14.5 13a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm1.5 0a4 4 0 11-8 0 4 4 0 018 0z",fill:"currentColor"}))}function Zt(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 2a.75.75 0 01.75.75v2a.75.75 0 01-.15.45l-5.7 7.6a.75.75 0 00-.15.45v6.725a.75.75 0 01-.494.705l-4 1.454A.75.75 0 019.5 21.43v-8.163a.75.75 0 00-.168-.473L3.168 5.207A.75.75 0 013 4.734V2.75A.75.75 0 013.75 2h16.5z",fill:"currentColor",fillRule:"evenodd"}))}function en(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 2a.75.75 0 01.75.75v2a.75.75 0 01-.15.45l-5.7 7.6a.75.75 0 00-.15.45v6.725a.75.75 0 01-.494.705l-4 1.454A.75.75 0 019.5 21.43v-8.163a.75.75 0 00-.168-.473L3.168 5.207A.75.75 0 013 4.734V2.75A.75.75 0 013.75 2h16.5zm-.75 1.5h-15v.967l5.996 7.38c.285.351.457.779.496 1.226l.008.193v7.092l2.5-.91V13.25c0-.426.12-.842.347-1.2l.103-.15 5.55-7.401V3.5z",fill:"currentColor",fillRule:"evenodd"}))}function tn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.75 3.75A.75.75 0 019.5 3h12a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0V4.5h-4.5v15h1.25a.75.75 0 010 1.5h-4a.75.75 0 010-1.5h1.25v-15h-4.5v.75a.75.75 0 01-1.5 0v-1.5zM6.5 9.25h4a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-.75h-2.5v8.75H8.5a.75.75 0 010 1.5h-4a.75.75 0 010-1.5h1.25v-8.75h-2.5v.75a.75.75 0 01-1.5 0V10a.75.75 0 01.75-.75h4z",fill:"currentColor"}))}function nn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-.925 3.324a.75.75 0 00-.95.263l-.051.088-4.124 8.591-2.924-6.09-.057-.1a.751.751 0 00-1.238 0l-.057.1-1.724 3.59-.524-1.09-.05-.09a.75.75 0 00-1.34.644l.038.095 1.2 2.5.057.1a.751.751 0 001.238 0l.057-.1L9.6 11.233l2.924 6.092.057.1a.751.751 0 001.238 0l.057-.1 4.8-10 .038-.095a.75.75 0 00-.39-.906z",fill:"currentColor",fillRule:"evenodd"}))}function ln(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.158 2.017a.75.75 0 01.59.79l-.015.102-1.047 4.841H20a.75.75 0 01.102 1.493L20 9.25h-2.638l-1.189 5.5H18.5a.75.75 0 01.102 1.493l-.102.007h-2.652l-1.115 5.159a.75.75 0 01-1.48-.216l.014-.101 1.046-4.842H7.848l-1.115 5.159a.75.75 0 01-1.48-.216l.014-.101 1.046-4.842H4a.75.75 0 01-.102-1.493L4 14.75h2.637l1.189-5.5H5.5a.75.75 0 01-.102-1.493L5.5 7.75h2.651l1.116-5.158a.75.75 0 011.48.216l-.014.1L9.686 7.75h6.465l1.116-5.158a.75.75 0 01.891-.575zM14.637 14.75l1.189-5.5H9.362l-1.189 5.5h6.464z",fill:"currentColor",fillRule:"evenodd"}))}function an(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM3 19.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zM2.25 12a.75.75 0 01.75-.75h8.5a.75.75 0 010 1.5H3a.75.75 0 01-.75-.75zM3 3.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function rn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM2.25 7.5A.75.75 0 013 6.75h8.5a.75.75 0 010 1.5H3a.75.75 0 01-.75-.75zM3 11.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zm0 4.5a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function on(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM2.25 9A.75.75 0 013 8.25h8.5a.75.75 0 010 1.5H3A.75.75 0 012.25 9zM3 11.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zm0 3a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function sn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.53 2.97a.75.75 0 00-1.06 0l-3 3a.75.75 0 001.06 1.06l1.72-1.72v13.38l-1.72-1.72a.75.75 0 10-1.06 1.06l3 3a.75.75 0 001.06 0l3-3a.75.75 0 10-1.06-1.06l-1.72 1.72V5.31l1.72 1.72a.75.75 0 101.06-1.06l-3-3zM2.25 6A.75.75 0 013 5.25h8.5a.75.75 0 010 1.5H3A.75.75 0 012.25 6zM3 11.25a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3zm0 6a.75.75 0 000 1.5h8.5a.75.75 0 000-1.5H3z",fill:"currentColor"}))}function cn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 6l8 8v7a1 1 0 01-1 1h-5v-5a1 1 0 00-.883-.993L13 16h-2a1 1 0 00-.993.883L10 17v5H5a1 1 0 01-1-1v-7l8-8zm.613-3.79l.094.083L17 6.585V4.75a.5.5 0 01.5-.5h1a.5.5 0 01.5.5v3.835l2.707 2.708a1 1 0 01-1.32 1.497l-.094-.083L12 4.415l-8.293 8.292a1 1 0 01-1.32.083l-.094-.083a1 1 0 01-.083-1.32l.083-.094 9-9a1 1 0 011.32-.083z",fill:"currentColor",fillRule:"evenodd"}))}function un(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.25 6c.966 0 1.75.784 1.75 1.75v11.5A1.75 1.75 0 0116.25 21H4.75A1.75 1.75 0 013 19.25V7.75C3 6.784 3.784 6 4.75 6h11.5zm0 1.5H4.75a.25.25 0 00-.243.193L4.5 7.75v11.5a.25.25 0 00.193.243l.057.007h11.5a.25.25 0 00.243-.193l.007-.057V7.75a.25.25 0 00-.193-.243L16.25 7.5zm-4.264 6.889l3.164 3.961h-9.5l2.375-3.164 1.605 2.148 2.356-2.945zM19.25 3a1.75 1.75 0 011.744 1.606L21 4.75v12.5a.75.75 0 01-1.493.102l-.007-.102V4.75a.25.25 0 00-.193-.243L19.25 4.5H6.75a.75.75 0 01-.102-1.493L6.75 3h12.5z",fill:"currentColor",fillRule:"evenodd"}))}function dn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.5 8v1.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5H15.5V8h2.75c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8H8.5zM12 2a.75.75 0 01.743.648l.007.102v10.689l1.72-1.72a.75.75 0 011.133.977l-.073.084-3 3a.753.753 0 01-.125.101l-.088.049-.119.043-.106.021-.041.004-.07.002-.073-.006-.076-.013-.08-.023-.1-.043a.75.75 0 01-.182-.135l-3-3a.75.75 0 01.976-1.133l.084.073 1.72 1.719V2.75A.75.75 0 0112 2z",fill:"currentColor",fillRule:"evenodd"}))}function mn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.997v2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.221a1 1 0 00.916.598h3.694a1 1 0 00.915-.598l.976-2.22a1 1 0 01.915-.599h3.228l-.525-1.5h2.118l.428 1.22c.065.185.098.38.098.578v3.952a1.75 1.75 0 01-1.607 1.744l-.143.006H3.75A1.75 1.75 0 012 18.247v-3.952c0-.197.033-.393.098-.578L5.09 5.169a1.75 1.75 0 011.652-1.172H12zM17.966 1c2.373 0 4.052 1.688 4.052 3.99 0 .988-.267 1.349-1.03 1.386l-.14.003h-4.72v.404c.01 1.301.836 2.136 2.216 2.136.64 0 1.114-.139 1.502-.41l.403-.307c.267-.196.425-.276.705-.276.483 0 .817.334.817.844 0 .367-.2.72-.554 1.016l-.278.216c-.63.455-1.627.727-2.745.727-2.653 0-4.32-1.515-4.416-4.023l-.005-.23V5.27c0-2.547 1.688-4.27 4.193-4.27zM18 2.763c-1.09 0-1.805.769-1.868 1.932l-.004.186h3.674v-.017c0-1.275-.703-2.101-1.802-2.101z",fill:"currentColor"}))}function gn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5 4v2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.22a1 1 0 00.916.599h3.694a1 1 0 00.915-.598l.976-2.221a1 1 0 01.915-.598h3.228l-.525-1.5h2.118l.428 1.22c.065.185.098.38.098.577v3.953a1.75 1.75 0 01-1.607 1.744L20.25 20H3.75A1.75 1.75 0 012 18.25v-3.953c0-.197.033-.392.098-.578L5.09 5.172A1.75 1.75 0 016.742 4H13.5zM20 1l3 3v6c0 .51-.388.935-.884.993L22 11h-6.005a.998.998 0 01-.988-.884L15 10l.005-8a1 1 0 01.879-.993L16 1h4zm-1 1v3h3l-3-3z",fill:"currentColor"}))}function fn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4v2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.22a1 1 0 00.916.599h3.694a1 1 0 00.915-.598l.976-2.221a1 1 0 01.915-.598h3.228l-.525-1.5h2.118l.428 1.22c.065.185.098.38.098.577v3.953a1.75 1.75 0 01-1.607 1.744L20.25 20H3.75A1.75 1.75 0 012 18.25v-3.953c0-.197.033-.392.098-.578L5.09 5.172A1.75 1.75 0 016.742 4H12zm6.167-2.76a.35.35 0 01.631-.074l.036.074 1.145 3.115 3.183.179c.283.016.421.342.286.57l-.043.058-.037.036-2.476 2.104.823 3.226c.073.288-.182.527-.43.46l-.068-.025-.042-.024L18.5 9.121l-2.674 1.816c-.24.163-.535-.018-.552-.286l.003-.075.01-.049.821-3.226-2.475-2.104a.384.384 0 01.088-.637l.068-.02.05-.007 3.183-.179 1.145-3.115z",fill:"currentColor"}))}function hn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.258 4c.744 0 1.407.47 1.652 1.172l2.992 8.547c.065.186.098.382.098.578v3.953a1.75 1.75 0 01-1.607 1.744L20.25 20H3.75A1.75 1.75 0 012 18.25v-3.953c0-.197.033-.392.098-.578L5.09 5.172A1.75 1.75 0 016.742 4h10.516zm-.177 2H6.918l-2.8 8h3.229a1 1 0 01.916.598l.974 2.22a1 1 0 00.916.599h3.694a1 1 0 00.915-.598l.976-2.221a1 1 0 01.915-.598h3.228l-2.8-8z",fill:"currentColor"}))}function vn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.75 18.249A.75.75 0 0114 19h-4a.75.75 0 010-1.503h1.233V11H10a.75.75 0 010-1.503h1.983a.75.75 0 01.75.752v7.248H14a.75.75 0 01.75.752z",fill:"currentColor"}),t.createElement("path",{d:"M12.733 6.002a1 1 0 11-2.001.001 1 1 0 012.001-.001z",fill:"currentColor"}))}function pn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-8 12.25H4.5v4a.25.25 0 00.193.243l.057.007h6.5v-4.25zm8.25-5h-6.75v9.25h6.5a.25.25 0 00.243-.193l.007-.057v-9zm-2.996 2.383c.419 0 .71.26.755.67l.007.115v3.945c0 .442-.23.688-.637.688-.373 0-.597-.207-.635-.573l-.006-.115v-3.511h-.015l-.41.277c-.204.129-.313.168-.442.168a.431.431 0 01-.445-.445c0-.165.086-.314.256-.445l.091-.063.637-.426c.305-.195.582-.285.844-.285zM11.25 4.5h-6.5a.25.25 0 00-.243.193L4.5 4.75v9h6.75V4.5zM7.883 6.57c1.074 0 1.86.657 1.86 1.551 0 .505-.224.954-.764 1.519l-1.268 1.282v.055h1.625c.363 0 .59.195.59.515 0 .285-.18.468-.484.502L9.336 12H6.664c-.379 0-.629-.215-.629-.543 0-.208.102-.392.399-.699l.12-.121 1.352-1.39c.418-.427.594-.708.594-1.005 0-.383-.277-.64-.688-.64-.332 0-.574.168-.746.515-.171.266-.32.367-.546.367-.31 0-.524-.21-.524-.507 0-.727.82-1.407 1.887-1.407zM19.25 4.5h-6.5v4.25h6.75v-4a.25.25 0 00-.193-.243L19.25 4.5z",fill:"currentColor",fillRule:"evenodd"}))}function wn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 15a3.5 3.5 0 110 7 3.5 3.5 0 010-7zm0 2.25a1.25 1.25 0 100 2.5 1.25 1.25 0 000-2.5zm11.518-1.94l.04.121a1.25 1.25 0 01-.762 1.492l-.122.04-6.175 1.654.001-.117a4.48 4.48 0 00-.633-2.302l6.16-1.65a1.25 1.25 0 011.491.762zm-3.375-9.442l1.812 6.762a1 1 0 01-.707 1.224l-5.943 1.592a4.496 4.496 0 00-2.268-1.326L9.45 8.197a1 1 0 01.707-1.224l6.761-1.812a1 1 0 011.225.707zM3.657 1.536l.128.049 2.69 1.184c.304.133.54.381.66.686l.044.134L9.97 14l-.18.005a4.475 4.475 0 00-2.218.706L4.919 4.815l-2.141-.942a1.25 1.25 0 01-.69-1.52l.05-.128c.259-.59.918-.879 1.519-.689zM15.44 7.37a.75.75 0 00-.819-.55l-.1.02-1.449.388a.75.75 0 00.288 1.469l.1-.02 1.45-.388a.75.75 0 00.53-.919z",fill:"currentColor",fillRule:"evenodd"}))}function bn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.737 3.668c-.055 1.093.226 2.033.894 2.7.668.669 1.608.95 2.7.897a18.08 18.08 0 01-3.09 4.184 27.666 27.666 0 01-3.127 2.706v3.318a.553.553 0 01-.162.39l-3.975 3.975a.553.553 0 01-.943-.39V18.32a.55.55 0 01.162-.39l1.24-1.24a.553.553 0 00.161-.39v-.133c-1.238.463-2.218.487-2.735-.03-.517-.517-.493-1.497-.03-2.735H7.7a.553.553 0 00-.325.105l-.066.057-1.24 1.24a.553.553 0 01-.303.154l-.087.007H2.553a.553.553 0 01-.455-.867l.064-.076 3.975-3.975a.553.553 0 01.304-.155l.086-.007h3.318a27.666 27.666 0 012.706-3.126 18.078 18.078 0 014.186-3.092zM21.93 2.07c.104.105.095.547-.048 1.212l-.083.35-.107.386-.061.204-.142.43c-.154.444-.345.928-.575 1.436-1.073.193-1.96.04-2.501-.5-.523-.523-.684-1.37-.52-2.395l.019-.107a16.762 16.762 0 011.654-.649l.416-.13.197-.055.368-.095c.76-.18 1.27-.2 1.383-.087z",fill:"currentColor",fillRule:"evenodd"}))}function En(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 3a1 1 0 011 1v16a1 1 0 01-1 1H4a1 1 0 01-1-1V4a1 1 0 011-1h6zm10 0a1 1 0 011 1v16a1 1 0 01-1 1h-6a1 1 0 01-1-1V4a1 1 0 011-1h6z",fill:"currentColor",fillRule:"evenodd"}))}function xn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 3a1 1 0 011 1v16a1 1 0 01-1 1h-6a1 1 0 01-1-1V4a1 1 0 011-1h6zM10 3a1 1 0 011 1v16a1 1 0 01-1 1H4a1 1 0 01-1-1V4a1 1 0 011-1h6zm9.5 1.5h-5v15h5v-15z",fill:"currentColor",fillRule:"evenodd"}))}function yn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 3a1 1 0 01.993.883L11 4v16a1 1 0 01-.883.993L10 21H4a1 1 0 01-.993-.883L3 20V4a1 1 0 01.883-.993L4 3h6zm10 0a1 1 0 01.993.883L21 4v16a1 1 0 01-.883.993L20 21h-6a1 1 0 01-.993-.883L13 20V4a1 1 0 01.883-.993L14 3h6zM9.5 4.5h-5v15h5v-15z",fill:"currentColor",fillRule:"evenodd"}))}function zn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20 3a1 1 0 011 1v16a1 1 0 01-1 1h-6a1 1 0 01-1-1V4a1 1 0 011-1h6zM10 3a1 1 0 01.993.883L11 4v16a1 1 0 01-.883.993L10 21H4a1 1 0 01-.993-.883L3 20V4a1 1 0 01.883-.993L4 3h6zm9.5 1.5h-5v15h5v-15zm-10 0h-5v15h5v-15z",fill:"currentColor",fillRule:"evenodd"}))}function Rn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 20.5V22h-5v-1.5h5zm-9-2.5v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zM20 18v2.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V18H20zm0-5.25v3.75h-1.5v-3.75H20zm-14.5 0v3.75H4v-3.75h1.5zM16.326 2.676a1.752 1.752 0 012.349-.113l.125.113.594.593c.59.589.676 1.502.21 2.216l-.094.131-.115.128-7.504 7.5-3 .008-.078-3.067 7.513-7.509zm-.796 2.916l-5.202 5.199.025.957.914-.002 5.209-5.207-.946-.947zM20 9v2.25h-1.5V9H20zM5.5 7.5v3.75H4V7.5h1.5zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm9.687 1.697a.252.252 0 00-.248 0l-.053.04-.796.795.946.947.82-.82a.248.248 0 00.043-.216l-.021-.053-.044-.06-.594-.593-.053-.04zM13 2v1.499L9.5 3.5V2H13z",fill:"currentColor",fillRule:"evenodd"}))}function Cn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.69 0 3.093.4 4.212 1.198a4.49 4.49 0 00-.83 1.255C12.996 13.307 11.875 13 10.5 13c-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007h6.506L12.5 22H5.993a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm8.725 9.474A1.259 1.259 0 0118 22c-.605 0-1.11-.44-1.225-1.026h2.45zM18 12c.456 0 .841.392.961.927A3 3 0 0121 15.769v2.898l.835.642a.5.5 0 01-.213.888l-.092.008h-7.06a.5.5 0 01-.305-.896l.835-.642v-2.898c0-1.32.854-2.442 2.04-2.843.119-.534.504-.926.96-.926zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function Sn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-8.75 9.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 010-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4z",fill:"currentColor",fillRule:"evenodd"}))}function Nn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.25 16.5V18h-2.5a.75.75 0 110-1.5h2.5zm12 0a.75.75 0 110 1.5h-2.5v-1.5h2.5zm-7.75 0V18H8.25v-1.5h3.25zm4.25 0V18H12.5v-1.5h3.25zm-8.5-3.501v1.5l-2.5.001a.75.75 0 110-1.5l2.5-.001zm12 .001a.75.75 0 110 1.5l-2.5-.001v-1.5l2.5.001zm-7.75-.001v1.5H8.25v-1.5h3.25zm4.25 0v1.5H12.5v-1.5h3.25zM7.25 9.5V11h-2.5a.75.75 0 110-1.5h2.5zm12 0a.75.75 0 110 1.5h-2.5V9.5h2.5zm-7.75 0V11H8.25V9.5h3.25zm4.25 0V11H12.5V9.5h3.25zM7.25 6v1.5h-2.5a.75.75 0 010-1.5h2.5zm12 0a.75.75 0 110 1.5h-2.5V6h2.5zM11.5 6v1.5H8.25V6h3.25zm4.25 0v1.5H12.5V6h3.25z",fill:"currentColor",fillRule:"evenodd"}))}function An(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.567 12.105a.4.4 0 01.1.309l-.29 2.798 2.434 1.41a.4.4 0 01-.116.737l-2.752.587-.587 2.752a.4.4 0 01-.738.116L15.21 18.38l-2.798.292a.4.4 0 01-.339-.666l1.88-2.092-1.141-2.571a.4.4 0 01.528-.528l2.57 1.141 2.093-1.88a.4.4 0 01.565.03zM19.25 3c.966 0 1.75.784 1.75 1.75V11h-1.5V6h-15v13.25a.25.25 0 00.193.243l.057.007H11V21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm-8.5 12.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm0-3.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm0-3.5a.75.75 0 110 1.5h-4a.75.75 0 010-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4z",fill:"currentColor",fillRule:"evenodd"}))}function On(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75a1.75 1.75 0 01-1.732-1.499L19.25 19.5a.25.25 0 00.243-.193l.007-.057L19.499 6h-15v3.5h-1.5L3 4.75C3 3.784 3.784 3 4.75 3h14.5zM6.28 10.97a.75.75 0 01.073.976l-.073.084-1.719 1.719 5.689.001a.75.75 0 110 1.5l-5.69-.001 1.72 1.72a.75.75 0 01-.976 1.134l-.084-.073-3-3-.08-.094-.051-.081-.05-.116-.027-.103-.01-.089v-.094l.018-.124.03-.099.047-.099.054-.082.069-.08 3-3a.75.75 0 011.06 0zm10.97 4.53a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-3.5a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-3.5a.75.75 0 110 1.5h-8.5a.75.75 0 010-1.5h8.5z",fill:"currentColor",fillRule:"evenodd"}))}function In(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 15.25a.75.75 0 01.743.648l.007.102v3.439l1.22-1.22a.75.75 0 011.133.977l-.073.084-2.5 2.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.116.026-.056.006h-.104l-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-2.5-2.5a.75.75 0 01.977-1.133l.084.073 1.22 1.219V16a.75.75 0 01.75-.75zm-4.75-2.751v1.5L4.75 14a.75.75 0 110-1.5l2.5-.001zm12 .001a.75.75 0 110 1.5l-2.5-.001v-1.5l2.5.001zm-7.75-.001v1.5H8.25v-1.5h3.25zm4.25 0v1.5H12.5v-1.5h3.25zm-8.5-3.5v1.5l-2.5.001a.75.75 0 110-1.5l2.5-.001zm12 .001a.75.75 0 110 1.5l-2.5-.001v-1.5l2.5.001zm-7.75-.001v1.5H8.25v-1.5h3.25zm4.25 0v1.5H12.5v-1.5h3.25zm3.5-3.499a.75.75 0 110 1.5H4.75a.75.75 0 010-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 010-1.5h14.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ln(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 20.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-3.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm-2.5-8a.75.75 0 01.743.648l.007.102v3.439l1.22-1.22a.75.75 0 011.133.977l-.073.084-2.5 2.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012-.052.002-.052-.002-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-2.5-2.5a.75.75 0 01.977-1.133l.084.073L16 6.189V2.75a.75.75 0 01.75-.75zm-9.576.004l.128-.002.119.018.098.03.1.047.051.032.038.027.072.064 2.5 2.5a.75.75 0 01-.976 1.133L9.22 5.78 7.999 4.56 8 8a.75.75 0 01-1.493.102L6.5 8l-.001-3.438L5.28 5.78a.75.75 0 01-1.133-.976l.073-.084 2.5-2.5.042-.04.052-.04.114-.068.098-.038.084-.02a.75.75 0 01.064-.01z",fill:"currentColor",fillRule:"evenodd"}))}function Hn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.567 12.105a.4.4 0 01.1.309l-.29 2.798 2.434 1.41a.4.4 0 01-.116.737l-2.752.587-.587 2.752a.4.4 0 01-.738.116L15.21 18.38l-2.798.292a.4.4 0 01-.339-.666l1.88-2.092-1.141-2.571a.4.4 0 01.528-.528l2.57 1.141 2.093-1.88a.4.4 0 01.565.03zM4.5 15v4.25a.25.25 0 00.193.243l.057.007H11V21H4.75A1.75 1.75 0 013 19.25V15h1.5zm6.28-1.72l-3 3-.084.073a.75.75 0 01-1.049-1.05l.073-.083 1.718-1.72H2.75a.75.75 0 110-1.5h5.689l-1.72-1.72a.75.75 0 01.977-1.133l.084.073 3 3a.754.754 0 01.092.11l.054.095.035.086.027.103.01.084-.001.121-.017.102-.019.068-.023.06-.035.07-.06.09-.063.071zM19.25 3c.966 0 1.75.784 1.75 1.75V11h-1.5V6h-15v4.5H3V4.75C3 3.784 3.784 3 4.75 3h14.5z",fill:"currentColor",fillRule:"evenodd"}))}function Mn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0110.116 22H4.884a1.75 1.75 0 01-1.724-2.05C3.62 17.315 5.066 16 7.5 16zM19.25 2c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 20h-6.038l-.01-.063a11.184 11.184 0 00-.369-1.437h6.417a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L19.25 3.5H7.75a.25.25 0 00-.243.193L7.5 3.75V9.5c-.54 0-1.053.164-1.5.464V3.75C6 2.784 6.784 2 7.75 2h11.5zM7.5 10.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zm9.75 3.5a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5zm0-4a.75.75 0 110 1.5h-6a.75.75 0 110-1.5h6zm0-4a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function kn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.598 20.501a2.999 2.999 0 01-5.196 0h5.196zm.152-2.251a.75.75 0 110 1.5h-5.5a.75.75 0 110-1.5h5.5zM12 4.5c3.314 0 6 2.716 6 6.067 0 1.502-.517 2.528-1.087 3.398l-.265.392-.39.561c-.418.614-.761 1.208-.82 1.929l-.01.22c0 .256-.112.4-.338.428L15 17.5H9c-.254 0-.395-.114-.423-.342l-.006-.091c0-.774-.328-1.414-.75-2.064l-.262-.392-.273-.402-.24-.364C6.492 12.978 6 11.973 6 10.567 6 7.217 8.686 4.5 12 4.5zM12 6c-2.482 0-4.5 2.04-4.5 4.567 0 .931.245 1.599.876 2.573l.647.96.152.234c.322.512.56.988.709 1.474l.052.192h4.128l.054-.192c.126-.402.314-.796.561-1.208l.156-.25.235-.352.408-.587c.736-1.07 1.022-1.78 1.022-2.844C16.5 8.04 14.482 6 12 6zm-5.846 7.875a.75.75 0 01-.19.968l-.084.057-.866.5a.75.75 0 01-.835-1.243l.085-.057.866-.5a.75.75 0 011.024.275zm12.625-.32l.091.045.866.5a.75.75 0 01-.658 1.344l-.092-.044-.866-.5a.75.75 0 01.659-1.344zm2.33-4.661a.75.75 0 01-.509.844l-.099.025-.985.173a.75.75 0 01-.36-1.453l.1-.024.985-.174a.75.75 0 01.868.609zm-17.451-.62l.101.011.985.174a.75.75 0 01-.159 1.488l-.101-.01-.985-.174a.75.75 0 01.159-1.489zm14.288-4.86a.75.75 0 01.152.974l-.06.083-.643.766a.75.75 0 01-1.209-.882l.06-.082.643-.766a.75.75 0 011.057-.093zM7.04 3.433l.07.074.644.766A.75.75 0 016.675 5.31l-.07-.073-.643-.766A.75.75 0 017.04 3.433zM12 1.25a.75.75 0 01.743.648L12.75 2v1a.75.75 0 01-1.493.102L11.25 3V2a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function Vn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18 11.25a.75.75 0 01.102 1.493L18 12.75H6a.75.75 0 01-.102-1.493L6 11.25h12z",fill:"currentColor",fillRule:"evenodd"}))}function jn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.25 16a.75.75 0 01.75.75v2.5a.75.75 0 01-.75.75h-2.5a.75.75 0 01-.75-.75v-2.5a.75.75 0 01.75-.75h2.5zm14 1.25a.75.75 0 01.102 1.493l-.102.007H10a.75.75 0 01-.102-1.493L10 17.25h10.25zM6.25 10a.75.75 0 01.75.75v2.5a.75.75 0 01-.75.75h-2.5a.75.75 0 01-.75-.75v-2.5a.75.75 0 01.75-.75h2.5zm14 1.25a.75.75 0 01.102 1.493l-.102.007H10a.75.75 0 01-.102-1.493L10 11.25h10.25zM6.25 4a.75.75 0 01.75.75v2.5a.75.75 0 01-.75.75h-2.5A.75.75 0 013 7.25v-2.5A.75.75 0 013.75 4h2.5zm14 1.25a.75.75 0 01.102 1.493l-.102.007H10a.75.75 0 01-.102-1.493L10 5.25h10.25z",fill:"currentColor",fillRule:"evenodd"}))}function Tn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17.5 11a4.5 4.5 0 013.632 7.158l.036-.05 1.862 1.862a.75.75 0 01-.976 1.133l-.084-.073-1.863-1.862-.112.077A4.5 4.5 0 1117.5 11zm-6.25 7.5a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5zm6.25-6a3 3 0 100 6 3 3 0 000-6zm-7.25 1.167a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5zm3-4.834a.75.75 0 110 1.5H2.75a.75.75 0 110-1.5h10.5zm8-4.833a.75.75 0 110 1.5H2.75a.75.75 0 010-1.5h18.5z",fill:"currentColor",fillRule:"evenodd"}))}function Dn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 18a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-4.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-4.5a.75.75 0 110 1.5H4.75a.75.75 0 110-1.5h14.5zm0-4.5a.75.75 0 110 1.5H4.75a.75.75 0 010-1.5h14.5z",fill:"currentColor",fillRule:"evenodd"}))}function Fn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.843 4.568a8.707 8.707 0 0112.314 12.314l-1.187 1.174c-.875.858-2.01 1.962-3.406 3.312a2.25 2.25 0 01-3.128 0l-3.491-3.396c-.44-.431-.806-.794-1.102-1.09a8.707 8.707 0 010-12.314zm11.253 1.06A7.207 7.207 0 106.903 15.822l1.488 1.468c.818.801 1.848 1.801 3.088 3a.75.75 0 001.042 0l3.395-3.3c.47-.461.863-.85 1.18-1.168a7.207 7.207 0 000-10.192zM12 7.999a3.002 3.002 0 110 6.004A3.002 3.002 0 0112 8zm0 1.5a1.502 1.502 0 100 3.004A1.502 1.502 0 0012 9.5z",fill:"currentColor"}))}function Pn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 1a5.001 5.001 0 014.87 3.863.75.75 0 01-1.461.34 3.502 3.502 0 00-6.904.605L8.5 6v2h9.75c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8H7V6a5 5 0 015-5zm6.25 8.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5zM12 13a1.5 1.5 0 01.751 2.799l-.001.951a.75.75 0 11-1.5 0v-.95A1.5 1.5 0 0112 13z",fill:"currentColor",fillRule:"evenodd"}))}function Bn(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1a5 5 0 015 5v2h1.25c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V9.75C4 8.784 4.784 8 5.75 8H7V6a5 5 0 015-5zm6.25 8.5H5.75a.25.25 0 00-.243.193L5.5 9.75v10.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9.75a.25.25 0 00-.193-.243L18.25 9.5zM12 13a1.5 1.5 0 01.751 2.799l-.001.951a.75.75 0 01-1.5 0v-.95A1.5 1.5 0 0112 13zm0-10.5a3.5 3.5 0 00-3.495 3.308L8.5 6v2h7V6a3.5 3.5 0 00-3.308-3.495L12 2.5z",fill:"currentColor"}))}function _n(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.25 4.5H6.5v15h6.75a1.25 1.25 0 110 2.5h-7A2.25 2.25 0 014 19.75V4.25A2.25 2.25 0 016.25 2h7a1.25 1.25 0 110 2.5zm6.384 2.616l-.102-.091a1.25 1.25 0 00-1.666 1.859l1.867 1.866H11.75l-.128.007a1.25 1.25 0 00.128 2.493h7.982l-1.866 1.866-.091.102a1.25 1.25 0 001.859 1.666l4-4 .08-.089.05-.063.068-.106.058-.112.049-.127.03-.108.016-.088.012-.112L24 12l-.004-.096-.016-.13-.03-.127-.03-.087-.046-.107-.046-.086-.065-.1a1.267 1.267 0 00-.13-.15l-4-4zm4.084 4.094l-.084-.094c.03.03.058.061.084.094z",fill:"currentColor"}))}function Gn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V10.5h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v16.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V19H20v1.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V3.75C4 2.784 4.784 2 5.75 2h7.836zm-.105 10.074c1.447 0 2.3.875 2.367 2.279l.004.178v.621c0 1.5-.863 2.446-2.371 2.446-1.444 0-2.304-.872-2.371-2.268l-.004-.178v-.62c0-1.516.871-2.458 2.375-2.458zm5.362 0c1.328 0 2.058.776 2.172 1.653l.012.132h-1.25c-.074-.414-.406-.734-.945-.734-.638 0-1.007.443-1.05 1.222l-.005.16v.626c0 .805.293 1.414 1.09 1.414.598 0 .914-.34.956-.745l.005-.095v-.234h-.93v-.903h2.14v1.04c0 1.038-.667 1.988-2.199 1.988-1.57 0-2.3-.987-2.355-2.296l-.004-.165v-.64c0-1.427.84-2.423 2.363-2.423zm-10.182.094v4.262h2.141v1.07H7.376v-5.332h1.285zm4.82.95c-.597 0-1.012.415-1.062 1.23l-.005.168v.64c0 .926.43 1.399 1.067 1.399.593 0 1.008-.416 1.057-1.23l.005-.169v-.64c0-.926-.43-1.399-1.062-1.399zM14.5 4.62v2.63a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function qn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7 17.5a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5H3.5a.5.5 0 01-.5-.5V18a.5.5 0 01.5-.5H7zm5.5 0a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5H9a.5.5 0 01-.5-.5V18a.5.5 0 01.5-.5h3.5zm5.5 0a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5h-3.5a.5.5 0 01-.5-.5V18a.5.5 0 01.5-.5H18zM7 12a.5.5 0 01.5.5V16a.5.5 0 01-.5.5H3.5A.5.5 0 013 16v-3.5a.5.5 0 01.5-.5H7zm5.5 0a.5.5 0 01.5.5V16a.5.5 0 01-.5.5H9a.5.5 0 01-.5-.5v-3.5A.5.5 0 019 12h3.5zm6.97-2.523l.906 3.381a.5.5 0 01-.353.612l-3.381.906a.5.5 0 01-.612-.353l-.906-3.381a.5.5 0 01.353-.612l3.381-.906a.5.5 0 01.612.353zM7 6.5a.5.5 0 01.5.5v3.5a.5.5 0 01-.5.5H3.5a.5.5 0 01-.5-.5V7a.5.5 0 01.5-.5H7zm3.642-2.376l3.38.906a.5.5 0 01.354.612l-.906 3.38a.5.5 0 01-.612.354l-3.38-.906a.5.5 0 01-.354-.612l.906-3.38a.5.5 0 01.612-.354zM20 2a.5.5 0 01.5.5V6a.5.5 0 01-.5.5h-3.5A.5.5 0 0116 6V2.5a.5.5 0 01.5-.5H20z",fill:"currentColor",fillRule:"evenodd"}))}function $n(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H13l-.001-1.5h5.251a.25.25 0 00.243-.193l.007-.057L18.499 9H14.75a1.75 1.75 0 01-1.744-1.606L13 7.25l-.001-3.75H5.75a.25.25 0 00-.243.193L5.5 3.75 5.499 13H4V3.75C4 2.784 4.784 2 5.75 2h7.836zM4.142 16.956a.5.5 0 01.55-.147l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082 1.238-2.143.051-.074zM8 14a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.6.221l-.083-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.033-1.798.75.75 0 11-.925-1.181A3.985 3.985 0 018 14zm6.499-9.38l.001 2.63a.25.25 0 00.193.243l.057.007h2.629l-2.88-2.88z",fill:"currentColor",fillRule:"evenodd"}))}function Kn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3a1.75 1.75 0 011.744 1.606L21 4.75v14.5a1.75 1.75 0 01-1.606 1.744L19.25 21H12v-1.5h7.25a.25.25 0 00.243-.193l.007-.057V5.996L19.406 6H4.5l.001 6H3V4.75a1.75 1.75 0 011.606-1.744L4.75 3h14.5zM3.696 15.809l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082 1.238-2.143.051-.074a.5.5 0 01.55-.147zM7.002 13a4.001 4.001 0 013.92 3.197l.357-.62a.5.5 0 01.602-.221l.081.038a.5.5 0 01.221.601l-.038.082-1.237 2.143a.5.5 0 01-.601.221l-.082-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.034-1.798.75.75 0 11-.924-1.181A3.985 3.985 0 017.002 13zm10.248 2a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm-.125-3.5c.483 0 .875.336.875.75s-.392.75-.875.75h-5.25c-.483 0-.875-.336-.875-.75s.392-.75.875-.75h5.25zM17.25 8a.75.75 0 110 1.5H6.75a.75.75 0 010-1.5h10.5z",fill:"currentColor",fillRule:"evenodd"}))}function Un(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M4 19h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-6h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z",fill:"currentColor"}))}function Wn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10 0 1.806-.479 3.5-1.316 4.962L20.66 17a.75.75 0 01-.933.32l-.091-.045-1.516-.875a.75.75 0 01.659-1.344l.091.044.84.485c.406-.874.67-1.83.757-2.834l-.967-.001a.75.75 0 01-.102-1.493l.102-.007h.967a8.447 8.447 0 00-.757-2.834l-.84.484a.75.75 0 01-.835-1.243l.085-.057.838-.483a8.548 8.548 0 00-2.075-2.075l-.483.838a.75.75 0 01-1.344-.659l.044-.091.484-.84a8.447 8.447 0 00-2.833-.757l-.001.967a.75.75 0 01-1.493.102L11.25 4.5v-.967a8.447 8.447 0 00-2.834.757l.484.84a.75.75 0 01-1.243.835L7.6 5.88l-.483-.838a8.548 8.548 0 00-2.075 2.075l.838.483a.75.75 0 01-.659 1.344L5.13 8.9l-.84-.484a8.447 8.447 0 00-.757 2.834H4.5a.75.75 0 01.102 1.493l-.102.007h-.967a8.427 8.427 0 00.758 2.835l.839-.485a.75.75 0 01.835 1.243l-.085.057-1.516.875A.75.75 0 013.34 17l-.02-.04-.003.003A9.954 9.954 0 012 12C2 6.477 6.477 2 12 2zm4.03 5.97a.75.75 0 01.073.976l-.073.084-2.792 2.794a1.25 1.25 0 11-1.061-1.061L14.97 7.97a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Jn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 15.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm-10 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm5 0a1.5 1.5 0 110 3 1.5 1.5 0 010-3zm0-5a1.5 1.5 0 110 3 1.5 1.5 0 010-3z",fill:"currentColor",fillRule:"evenodd"}))}function Yn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H13.5v-1.5h5.75a.25.25 0 00.243-.193l.007-.057V4.75a.25.25 0 00-.193-.243L19.25 4.5H4.75a.25.25 0 00-.243.193L4.5 4.75v5.75H3V4.75C3 3.784 3.784 3 4.75 3h14.5zm-9 9c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0110.25 21h-5.5A1.75 1.75 0 013 19.25v-5.5c0-.966.784-1.75 1.75-1.75h5.5zm0 1.5h-5.5a.25.25 0 00-.243.193l-.007.057v5.5a.25.25 0 00.193.243l.057.007h5.5a.25.25 0 00.243-.193l.007-.057v-5.5a.25.25 0 00-.193-.243l-.057-.007zm7.78-7.53a.75.75 0 01.073.976l-.073.084-3.22 3.22h1.69a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743l-.102.007H13a.75.75 0 01-.743-.648L12.25 11V7.5a.75.75 0 011.493-.102l.007.102v1.688l3.22-3.218a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function Qn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 8.5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm0 5a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm0-10a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor",fillRule:"evenodd"}))}function Xn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 10a2 2 0 110 4 2 2 0 010-4zm0 6.5a2 2 0 110 4 2 2 0 010-4zm0-13a2 2 0 110 4 2 2 0 010-4z",fill:"currentColor",fillRule:"evenodd"}))}function Zn(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.924 6.254l.128-.002.119.018.098.03.1.047.051.032.038.027.072.064 3.5 3.5a.75.75 0 01-.976 1.133l-.084-.073-2.22-2.219V17a.75.75 0 01-1.493.102L6.25 17V8.811l-2.22 2.22a.75.75 0 01-1.133-.977l.073-.084 3.5-3.5.042-.04.052-.04.114-.068.098-.038.084-.02a.75.75 0 01.064-.01zM17 6.25a.75.75 0 01.743.648L17.75 7l-.001 8.19 2.22-2.22a.75.75 0 011.134.976l-.073.084-3.5 3.5a.754.754 0 01-.078.069l.078-.069-.042.04-.052.04-.114.068-.098.038-.084.02-.088.012-.052.002-.052-.002-.119-.018-.098-.03-.1-.047-.082-.054-.08-.069-3.5-3.5a.75.75 0 01.977-1.133l.084.073 2.219 2.218L16.25 7a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function el(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.5 22v-.018A1.75 1.75 0 014 20.25V3.75c0-.882.652-1.61 1.5-1.732V2h12.75c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H5.5zM9 18.3H5.5v1.95a.25.25 0 00.193.243l.057.007H9v-2.2zm9.25-14.8H10.5v17h7.75a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5zM9 14.6H5.5v2.2H9v-2.2zm0-3.7H5.5v2.2H9v-2.2zm0-3.7H5.5v2.2H9V7.2zm0-3.7H5.75a.25.25 0 00-.243.193L5.5 3.75V5.7H9V3.5z",fill:"currentColor",fillRule:"evenodd"}))}function tl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H14v-1.5h4.25a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V11H4V3.75C4 2.784 4.784 2 5.75 2h12.5zM9.225 20.974A1.259 1.259 0 018 22c-.605 0-1.11-.44-1.225-1.026h2.45zM8 12c.456 0 .841.392.961.927A3 3 0 0111 15.769v2.898l.835.642a.5.5 0 01-.305.896H4.47a.5.5 0 01-.305-.896L5 18.667v-2.898c0-1.32.854-2.442 2.04-2.843.119-.534.504-.926.96-.926zm7.25 2.5a.75.75 0 110 1.5h-1.5a.75.75 0 110-1.5h1.5zm0-3.5a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-3.5a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5z",fill:"currentColor",fillRule:"evenodd"}))}function nl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.75 2a.75.75 0 01.75.75V3h1.75a1.75 1.75 0 011.744 1.606L21 4.75v14.5a1.75 1.75 0 01-1.606 1.744L19.25 21H4.75a1.75 1.75 0 01-1.744-1.606L3 19.25V4.75a1.75 1.75 0 011.606-1.744L4.75 3H6.5v-.25a.75.75 0 011.5 0V3h3.25v-.25a.75.75 0 111.5 0V3H16v-.25a.75.75 0 01.75-.75zM6.499 4.5H4.75l-.057.007a.25.25 0 00-.184.175L4.5 4.75v14.5l.007.057a.25.25 0 00.175.184l.068.009h14.5l.057-.007a.25.25 0 00.184-.175l.009-.068V4.75l-.007-.057a.25.25 0 00-.175-.184L19.25 4.5H17.5v.25a.75.75 0 11-1.5 0V4.5h-3.25v.25a.75.75 0 11-1.5 0V4.5H7.999L8 4.75a.75.75 0 01-1.5 0l-.001-.25zM16.25 12a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5zm0-3a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5z",fill:"currentColor",fillRule:"evenodd"}))}function ll(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.75 2a.75.75 0 01.75.75V3h1.75a1.75 1.75 0 011.744 1.606L21 4.75V14h-1.5V4.75l-.007-.057a.25.25 0 00-.175-.184L19.25 4.5H17.5v.25a.75.75 0 11-1.5 0V4.5h-3.25v.25a.75.75 0 11-1.5 0V4.5H7.999L8 4.75a.75.75 0 01-1.5 0l-.001-.25H4.75l-.057.007a.25.25 0 00-.184.175L4.5 4.75v14.5l.007.057a.25.25 0 00.175.184l.068.009H14V21H4.75a1.75 1.75 0 01-1.744-1.606L3 19.25V4.75a1.75 1.75 0 011.606-1.744L4.75 3H6.5v-.25a.75.75 0 011.5 0V3h3.25v-.25a.75.75 0 111.5 0V3H16v-.25a.75.75 0 01.75-.75zm-3.94 7.75l7.513 7.513a1.75 1.75 0 01.114 2.35l-.114.124-.586.586a1.75 1.75 0 01-2.35.114l-.124-.114-7.513-7.512V9.75h3.06zm5.697 7.818l-.938.94.754.755a.25.25 0 00.24.065l.06-.025.054-.04.586-.586a.25.25 0 00.04-.3l-.04-.054-.756-.755zm-6.318-6.318h-.939v.939l5.258 5.258.938-.94-5.257-5.257z",fill:"currentColor",fillRule:"evenodd"}))}function al(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.203 16.625c0 .602.328.96.875.96.555 0 .875-.35.875-.96V7.898c0-.671-.437-1.132-1.078-1.132-.375 0-.742.14-1.273.515L1.125 8.344c-.367.25-.54.508-.54.789 0 .367.282.656.65.656.195 0 .382-.07.663-.266l1.258-.898h.047v8zm4.149.031c0 .516.414.844 1.046.844h5.22c.53 0 .843-.281.843-.734 0-.461-.328-.743-.844-.743H9.648v-.101l2.665-2.953c1.367-1.492 1.812-2.313 1.812-3.36 0-1.742-1.43-2.984-3.422-2.984-2.086 0-3.492 1.375-3.492 2.742 0 .485.312.813.766.813.367 0 .617-.211.804-.657.266-.906.93-1.43 1.82-1.43 1.063 0 1.774.665 1.774 1.657 0 .688-.344 1.313-1.21 2.266l-3.071 3.406c-.563.601-.742.89-.742 1.234zm8.562-1.375c0 1.242 1.555 2.446 3.617 2.446 2.274 0 3.867-1.297 3.867-3.141 0-1.352-.992-2.484-2.296-2.617v-.11c1.078-.171 1.953-1.257 1.953-2.421 0-1.649-1.461-2.813-3.524-2.813-1.984 0-3.414 1.156-3.414 2.39 0 .454.305.766.742.766.344 0 .578-.164.782-.578.367-.742 1.007-1.156 1.851-1.156 1.086 0 1.828.648 1.828 1.61 0 .952-.758 1.64-1.804 1.64h-.813c-.43 0-.726.305-.726.71 0 .423.304.735.726.735h.86c1.25 0 2.085.719 2.085 1.79 0 1.077-.82 1.765-2.093 1.765-.961 0-1.711-.422-2.14-1.188-.25-.414-.47-.57-.782-.57-.422 0-.719.313-.719.742z",fill:"currentColor"}))}function rl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M9.884 11.616a1.25 1.25 0 01.091 1.666l-.091.102-1.868 1.866H19a1.25 1.25 0 01.128 2.494L19 17.75H8.017l1.867 1.866a1.25 1.25 0 01-1.666 1.859l-.102-.091-4-4a1.26 1.26 0 01-.13-.152l-.068-.106-.042-.079-.046-.107-.03-.087-.03-.127-.016-.126-.004-.1.002-.08.013-.111.016-.088.03-.108.05-.127.086-.16.062-.088.064-.076 4.043-4.046a1.25 1.25 0 011.768 0zm5.898-9.091l.102.091 4 4c.03.03.058.061.084.094l-.084-.094c.048.048.09.099.13.152l.064.099.046.086.046.107.03.087.03.127.016.13.004.096-.002.08-.013.111-.016.088-.03.108-.05.127-.057.112-.069.106-.048.063-.081.089-4 4a1.25 1.25 0 01-1.859-1.666l.091-.102 1.866-1.866H5a1.25 1.25 0 01-.128-2.494L5 6.25h10.983l-1.867-1.866a1.25 1.25 0 011.666-1.859z",fill:"currentColor",fillRule:"evenodd"}))}function ol(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.535 6.5h2.715a.25.25 0 01.25.25v2.715A3.502 3.502 0 0117.535 6.5zm-11.07 0H3.75a.25.25 0 00-.25.25v2.715A3.502 3.502 0 006.465 6.5zm1.51 0A5.002 5.002 0 013.5 10.975v2.05A5.002 5.002 0 017.975 17.5H14.5V19H3.75A1.75 1.75 0 012 17.25V6.75C2 5.784 2.784 5 3.75 5h16.5c.966 0 1.75.784 1.75 1.75v4.75h-1.5v-.525A5.002 5.002 0 0116.025 6.5h-8.05zM3.5 17.25v-2.715A3.502 3.502 0 016.465 17.5H3.75a.25.25 0 01-.25-.25zM14 12a2 2 0 11-4 0 2 2 0 014 0zm1.5 0a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm5.095 1.608a.86.86 0 011.049-.14c.344.201.467.603.306.937l-.057.098-3.118 4.152-.07.087a.859.859 0 01-1.17.059l-.079-.08-1.878-2.164-.068-.092a.713.713 0 01.194-.962.863.863 0 011.06.035l.081.082 1.169 1.345 2.51-3.268.071-.089z",fill:"currentColor"}))}function il(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.535 6.5h2.715a.25.25 0 01.25.25v2.715A3.502 3.502 0 0117.535 6.5zm-11.07 0H3.75a.25.25 0 00-.25.25v2.715A3.502 3.502 0 006.465 6.5zm1.51 0A5.002 5.002 0 013.5 10.975v2.05A5.002 5.002 0 017.975 17.5H14.5V19H3.75A1.75 1.75 0 012 17.25V6.75C2 5.784 2.784 5 3.75 5h16.5c.966 0 1.75.784 1.75 1.75v4.75h-1.5v-.525A5.002 5.002 0 0116.025 6.5h-8.05zM3.5 17.25v-2.715A3.502 3.502 0 016.465 17.5H3.75a.25.25 0 01-.25-.25zM14 12a2 2 0 11-4 0 2 2 0 014 0zm1.5 0a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm6.297 1.203a.692.692 0 00-.901-.067l-.078.067L19 15.02l-1.818-1.818-.078-.067a.692.692 0 00-.901 1.046L18.02 16l-1.818 1.818-.067.078a.692.692 0 00.968.968l.078-.067L19 16.98l1.818 1.818.078.067a.692.692 0 00.901-1.046L19.98 16l1.818-1.818.067-.078a.692.692 0 00-.067-.901z",fill:"currentColor"}))}function sl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 6c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0120.25 22H7.75A1.75 1.75 0 016 20.25V19h1.5v1.25a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V7.75a.25.25 0 00-.193-.243L20.25 7.5H19V6h1.25zm-7-5a.75.75 0 01.75.75V2h2.25c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0116.25 18H3.75A1.75 1.75 0 012 16.25V3.75C2 2.784 2.784 2 3.75 2H6v-.25a.75.75 0 011.5 0V2h5v-.25a.75.75 0 01.75-.75zm3.25 6.5h-13v8.75a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V7.5zm-6.195 1.277c.38 0 .62.21.662.554l.006.107v4.554c0 .356-.235.59-.582.59-.313 0-.538-.19-.58-.487l-.006-.103V9.957H9.78l-.824.574a.48.48 0 01-.312.106.402.402 0 01-.415-.422c0-.15.05-.267.172-.377l.082-.065L9.602 9a1.09 1.09 0 01.703-.223zM6 3.5H3.75a.25.25 0 00-.243.193L3.5 3.75V6h13V3.75a.25.25 0 00-.193-.243L16.25 3.5H14v.25a.75.75 0 11-1.5 0V3.5h-5v.25a.75.75 0 01-1.5 0V3.5z",fill:"currentColor",fillRule:"evenodd"}))}function cl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.75 11.5c4.166 0 6.596 2.43 7.291 7.29A2.813 2.813 0 0119.257 22h-9.014a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm0 1.5c-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007h9.014a1.313 1.313 0 001.3-1.498C19.96 14.84 18.12 13 14.75 13zM6.446 6.397l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H1.75a.75.75 0 01-.102-1.493l.102-.007h5.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM14.75 2c1.933 0 3.5 1.903 3.5 4.25s-1.567 4.25-3.5 4.25-3.5-1.903-3.5-4.25S12.817 2 14.75 2zm0 1.5c-1.033 0-2 1.174-2 2.75s.967 2.75 2 2.75 2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function ul(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.486 0 2.751.31 3.796.928-.462.29-.881.644-1.246 1.047-.726-.32-1.574-.475-2.55-.475-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007 6.31.001a6.027 6.027 0 001.23 1.5L5.992 22a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm7 1.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm2.25 3.75h-4.5a.75.75 0 00-.102 1.493l.102.007h4.5a.75.75 0 00.102-1.493l-.102-.007zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function dl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.486 0 2.751.31 3.796.928-.462.29-.881.644-1.246 1.047-.726-.32-1.574-.475-2.55-.475-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007 6.31.001a6.027 6.027 0 001.23 1.5L5.992 22a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm7 1.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm0 1.5a.75.75 0 00-.743.648l-.007.102v1.5h-1.5a.75.75 0 00-.743.648l-.007.102c0 .38.282.693.648.743l.102.007h1.5v1.5c0 .38.282.693.648.743l.102.007a.75.75 0 00.743-.648l.007-.102v-1.5h1.5a.75.75 0 00.743-.648l.007-.102a.75.75 0 00-.648-.743l-.102-.007h-1.5v-1.5a.75.75 0 00-.648-.743L17.5 14.5zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function ml(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.5 11.5c1.486 0 2.751.31 3.796.928-.462.29-.881.644-1.246 1.047-.726-.32-1.574-.475-2.55-.475-3.37 0-5.211 1.84-5.806 6.002a1.313 1.313 0 001.165 1.491l.134.007 6.31.001a6.027 6.027 0 001.23 1.5L5.992 22a2.813 2.813 0 01-2.784-3.21c.695-4.86 3.125-7.29 7.291-7.29zm7 1.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9zm2.403 1.867a.75.75 0 00-.97.141l-.066.09-1.983 3.114-.798-.999-.076-.081a.75.75 0 00-1.159.927l.063.091 1.455 1.819.073.079a.75.75 0 001.081-.059l.064-.086 2.546-4 .052-.098a.75.75 0 00-.282-.938zM10.5 2C12.433 2 14 3.903 14 6.25s-1.567 4.25-3.5 4.25S7 8.597 7 6.25 8.567 2 10.5 2zm0 1.5c-1.033 0-2 1.174-2 2.75S9.467 9 10.5 9s2-1.174 2-2.75-.967-2.75-2-2.75z",fill:"currentColor",fillRule:"evenodd"}))}function gl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.357 4.384l.891-.58c.835-.542 1.942-.323 2.586.513l1.28 1.663c.56.724.628 1.734.17 2.496l-1.273 2.12c.372.965.962 1.855 1.77 2.67a8.253 8.253 0 002.701 1.844l1.876-1.253c.711-.475 1.645-.398 2.317.19l1.565 1.373c.782.685.99 1.862.487 2.755l-.538.957c-.536.952-1.517 1.508-2.576 1.46-2.498-.115-5.197-1.718-8.096-4.811-2.903-3.098-4.408-5.983-4.514-8.655-.045-1.125.47-2.168 1.354-2.742z",fill:"currentColor"}))}function fl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 1.5a8.5 8.5 0 100 17 8.5 8.5 0 000-17zM9.8 8a.7.7 0 011.05-.606l.084.057 4.86 3.84a.7.7 0 01.081 1.023l-.081.075-4.86 3.84a.7.7 0 01-1.127-.449l-.007-.1V8zm1.4 1.445v4.789l3.03-2.395-3.03-2.394z",fill:"currentColor",fillRule:"evenodd"}))}function hl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.169 17.055c.43 0 .734-.305.734-.75V13.43h2.649c.453 0 .757-.297.757-.72 0-.429-.304-.726-.757-.726H6.903V9.258c0-.445-.304-.758-.734-.758s-.727.313-.727.758v2.726H2.825c-.445 0-.758.297-.758.727 0 .422.313.719.758.719h2.617v2.875c0 .445.305.75.727.75zm5.598 2.453c.352 0 .64-.211.735-.555l3.453-12.25a1.17 1.17 0 00.047-.258c.007-.406-.336-.75-.766-.75-.36 0-.648.211-.742.547l-3.446 12.25a.749.749 0 00.719 1.016zm9.388-6.11c.578 0 .882-.32.882-.78 0-.462-.304-.766-.882-.766h-3.68c-.57 0-.883.312-.883.765 0 .461.305.781.883.781h3.68z",fill:"currentColor",fillRule:"evenodd"}))}function vl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.75 2c.966 0 1.75.784 1.75 1.75v1.758A3.75 3.75 0 0122 9.25v7.5a1.75 1.75 0 01-1.75 1.75H18.5v1.75A1.75 1.75 0 0116.75 22h-9.5a1.75 1.75 0 01-1.75-1.75V18.5H3.75A1.75 1.75 0 012 16.75v-7.5a3.75 3.75 0 013.5-3.742V3.75C5.5 2.784 6.284 2 7.25 2h9.5zM17 14.5H7v5.75a.25.25 0 00.193.243l.057.007h9.5a.25.25 0 00.243-.193L17 20.25V14.5zM18.25 7H5.75a2.25 2.25 0 00-2.245 2.096L3.5 9.25v7.5a.25.25 0 00.193.243L3.75 17H5.5v-3.25a.75.75 0 01.75-.75h11.5a.75.75 0 01.75.75V17h1.75a.25.25 0 00.243-.193l.007-.057v-7.5a2.25 2.25 0 00-2.096-2.245L18.25 7zm-.5 3a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm-1-6.5h-9.5a.25.25 0 00-.243.193L7 3.75V5.5h10V3.75a.25.25 0 00-.193-.243L16.75 3.5z",fill:"currentColor",fillRule:"evenodd"}))}function pl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.247 2a.75.75 0 01.75.75l-.001.25h2.25c.967 0 1.75.784 1.75 1.75v14.5a1.75 1.75 0 01-1.75 1.75h-7.25v-1.5h7.25a.25.25 0 00.244-.193l.007-.057L19.496 8h-15v4h-1.5V4.75c0-.966.784-1.75 1.75-1.75h2.25v-.25a.75.75 0 011.5 0V3h7v-.25a.75.75 0 01.75-.75zM3.139 15.956a.5.5 0 01.631-.11l2.144 1.238.073.052a.5.5 0 01.11.631l-.052.074a.5.5 0 01-.631.11l-.878-.506a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.814-.574l1.237-2.143zM6.997 13a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.601.221l-.082-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.033-1.798.75.75 0 11-.925-1.181A3.985 3.985 0 016.997 13zm-.001-8.5h-2.25a.25.25 0 00-.243.193l-.006.057-.001 1.75h15V4.75a.25.25 0 00-.192-.243l-.057-.007h-2.251v.25a.75.75 0 11-1.5 0V4.5h-7v.25a.75.75 0 01-1.5 0V4.5z",fill:"currentColor",fillRule:"evenodd"}))}function wl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.797 9c.464 0 .91.184 1.237.513l6.229 6.228a1.75 1.75 0 010 2.475l-4.047 4.047a1.75 1.75 0 01-2.475 0l-6.228-6.229A1.75 1.75 0 012 14.797V10.75C2 9.784 2.784 9 3.75 9h4.047zM18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H14.5v-1.5h3.75a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75V8H4V3.75C4 2.784 4.784 2 5.75 2h12.5zM7.797 10.5H3.75a.25.25 0 00-.243.193l-.007.057v4.047a.25.25 0 00.033.125l.04.052 6.228 6.228a.25.25 0 00.3.04l.054-.04 4.047-4.047a.25.25 0 00.04-.3l-.04-.054-6.228-6.228a.25.25 0 00-.112-.064l-.065-.009zm-2.504 1.793a1 1 0 111.414 1.414 1 1 0 01-1.414-1.414zM15.75 9.5a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm0-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function bl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12a9.97 9.97 0 003.047 7.187A9.967 9.967 0 0012 22a9.967 9.967 0 006.953-2.813A9.97 9.97 0 0022 12zM5.704 16.936A7.986 7.986 0 0012 20a7.986 7.986 0 006.296-3.064A7 7 0 0012 13a7 7 0 00-6.296 3.936zM12 12a3.5 3.5 0 100-7 3.5 3.5 0 000 7z",fill:"currentColor"}))}function El(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm0 1.5H4.75a.25.25 0 00-.243.193L4.5 4.75v14.5a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V4.75a.25.25 0 00-.193-.243L19.25 4.5zM8.25 15a.75.75 0 01.75.75v1a.75.75 0 01-.75.75h-1a.75.75 0 01-.75-.75v-1a.75.75 0 01.75-.75h1zm8.5 1a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5zm0-3.167a.75.75 0 010 1.5h-4.5a.75.75 0 110-1.5h4.5zm0-3.166a.75.75 0 110 1.5h-4.5a.75.75 0 010-1.5h4.5zM8.25 6.5a.75.75 0 01.75.75v1a.75.75 0 01-.75.75h-1a.75.75 0 01-.75-.75v-1a.75.75 0 01.75-.75h1zm8.5 0a.75.75 0 110 1.5h-4.5a.75.75 0 110-1.5h4.5z",fill:"currentColor",fillRule:"evenodd"}))}function xl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm0 3a1 1 0 00-.993.883L11 6v6.02l.01.118.022.113.023.077.03.075.047.093.062.096.07.085.072.071.096.075.099.06.075.036 3.5 1.5.11.04a1 1 0 00.782-1.826l-.104-.052L13 11.34V6l-.007-.117A1 1 0 0012 5z",fill:"currentColor",fillRule:"evenodd"}))}function yl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.367 7.727a.476.476 0 00.484.48h3.147c.274 0 .492-.222.537-.493.184-1.108.965-1.9 2.266-1.9 1.161 0 2.252.623 2.252 2.053 0 1.246-.864 1.841-2.195 2.705-1.714 1.09-2.634 2.534-2.422 4.715l.008.173a.5.5 0 00.5.478h3a.5.5 0 00.5-.5v-.18c0-1.514.665-1.953 2.322-3.072 1.374-.934 2.86-2.025 2.86-4.545 0-3.569-3.002-5.325-6.556-5.325-3.361 0-6.618 1.557-6.703 5.411zm3.432 12.247c0 1.388 1.09 2.322 2.776 2.322 1.741 0 2.817-.934 2.817-2.322 0-1.416-1.09-2.35-2.817-2.35-1.7 0-2.776.934-2.776 2.35z",fill:"currentColor"}))}function zl(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 14.489c.5 0 .838-.302.832-.764v-1.998c.052-.665.604-.8 1.548-1.413C15.415 9.649 16 8.885 16 7.78 16 6.011 14.077 5 12.139 5c-.822 0-1.831.145-2.639.466a3.39 3.39 0 00-.803.438 1.94 1.94 0 00-.317.3c-.076.09-.14.188-.189.29a1.904 1.904 0 00-.132.356c-.04.153-.059.304-.059.448a.65.65 0 00.022.173c.076.335.34.55.748.55a.806.806 0 00.792-.55c.278-.902 1.709-1.078 2.502-1.078.96 0 2.183.555 2.183 1.405 0 .764-.44 1.163-1.268 1.706-.856.573-1.848 1.137-1.848 2.074v2.147c0 .492.369.764.869.764zM12 19c.579 0 1.047-.457 1.047-1.018 0-.566-.468-1.012-1.047-1.012-.573 0-1.042.446-1.042 1.012 0 .561.47 1.018 1.042 1.018z",fill:"currentColor"}))}function Rl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M7.102 11.125c.753 0 1.472.295 2.007.817l.142.148 4.806 5.407c.183.206.434.337.705.37l.136.008h3.416L17.22 16.78l-.073-.084a.75.75 0 011.05-1.049l.083.073 2.5 2.5a.753.753 0 01.097.118l.053.094.028.07.023.08.013.075.006.102-.002.042-.009.075-.027.111-.043.102-.038.066-.027.04-.035.043-.039.042-2.5 2.5-.084.073a.75.75 0 01-1.049-1.05l.073-.083 1.095-1.096-3.417.001a2.875 2.875 0 01-2.007-.817l-.142-.148-4.806-5.407a1.125 1.125 0 00-.705-.37l-.136-.008H3.75a.875.875 0 01-.11-1.743l.11-.007h3.352zm11.094-8.978l.084.073 2.5 2.5a.63.63 0 01.101.125l.049.088.043.119.021.106.004.042.002.069-.006.073-.013.076-.023.08-.047.107-.058.091-.073.084-2.5 2.5a.75.75 0 01-1.133-.976l.073-.084 1.095-1.096-3.426.001-.136.008c-.223.027-.433.12-.603.268l-.096.095-2.905 3.215-.085.083a.875.875 0 01-1.287-1.162l.074-.094 2.904-3.215.141-.146a2.875 2.875 0 011.79-.795l.203-.007 3.424-.001L17.22 3.28a.75.75 0 01.976-1.133z",fill:"currentColor",fillRule:"evenodd"}))}function Cl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm.035 4.982c-.264 0-.533.13-.533.51v.41C9.92 8.05 8.9 8.998 8.9 10.352c0 1.135.646 1.88 1.926 2.202l1.309.288c.844.181 1.178.44 1.178.879 0 .562-.446.931-1.272.931-.592 0-1.166-.246-1.687-.72-.334-.282-.545-.364-.803-.364-.416 0-.75.258-.75.715 0 .352.187.692.515.99.487.452 1.272.727 2.163.803v.358c0 .375.275.51.539.51.263 0 .533-.135.533-.51v-.37c1.64-.193 2.666-1.154 2.666-2.543 0-1.143-.66-1.862-1.997-2.176l-1.314-.273c-.744-.146-1.084-.427-1.084-.867 0-.492.44-.885 1.131-.885.586 0 1.008.188 1.506.662.293.252.533.364.85.364.369 0 .673-.27.673-.657 0-.328-.175-.673-.503-.984-.434-.422-1.131-.691-1.91-.79v-.423c0-.375-.27-.51-.534-.51z",fill:"currentColor",fillRule:"evenodd"}))}function Sl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M21.25 11.25A.75.75 0 0122 12c0 5.523-4.477 10-10 10a9.986 9.986 0 01-7.638-3.545l-.038 1.071a.75.75 0 01-1.496.05l-.003-.102.099-2.827a.75.75 0 01.775-.723l2.827.098a.75.75 0 01.05 1.496l-.102.004-.966-.034A8.5 8.5 0 0020.5 12a.75.75 0 01.75-.75zm-9.215-4.268c.237 0 .48.11.526.405l.007.105v.422c.78.1 1.477.37 1.91.791.329.31.504.656.504.984 0 .387-.304.657-.673.657-.317 0-.557-.112-.85-.364-.498-.474-.92-.662-1.506-.662-.691 0-1.13.393-1.13.885 0 .406.289.677.919.831l.164.036 1.108.229c1.476.287 2.203 1.02 2.203 2.22 0 1.331-.942 2.27-2.464 2.515l-.202.028v.37c0 .375-.27.51-.533.51-.238 0-.485-.11-.532-.405l-.007-.105v-.358c-.891-.076-1.676-.351-2.163-.803-.328-.298-.515-.638-.515-.99 0-.457.334-.715.75-.715.258 0 .469.082.803.364.521.474 1.095.72 1.687.72.826 0 1.271-.369 1.271-.931 0-.41-.29-.662-1.015-.842l-.162-.037-1.102-.24c-1.418-.293-2.133-1.055-2.133-2.25 0-1.298.937-2.223 2.407-2.427l.195-.023v-.41c0-.38.27-.51.533-.51zM12 2c3 0 5.77 1.332 7.639 3.545l.037-1.071a.75.75 0 011.496-.05l.003.102-.099 2.827a.75.75 0 01-.674.72l-.101.003-2.827-.098a.75.75 0 01-.05-1.496l.102-.004.966.034A8.5 8.5 0 003.5 12 .75.75 0 112 12C2 6.477 6.477 2 12 2z",fill:"currentColor",fillRule:"evenodd"}))}function Nl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M17 7a5 5 0 01.217 9.995L17 17h-2.5a.75.75 0 01-.102-1.493l.102-.007H17a3.5 3.5 0 00.192-6.995L17 8.5h-2.5a.75.75 0 01-.102-1.493L14.5 7H17zM9.5 7a.75.75 0 01.102 1.493L9.5 8.5H7a3.5 3.5 0 00-.192 6.995L7 15.5h2.5a.75.75 0 01.102 1.493L9.5 17H7a5 5 0 01-.217-9.995L7 7h2.5zm7.5 4.25a.75.75 0 110 1.5H7a.75.75 0 110-1.5h10z",fill:"currentColor",fillRule:"evenodd"}))}function Al(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.268 21.246L12 21.25l-.323-.006-.32-.016-.3-.025-.329-.04a9.166 9.166 0 01-2.067-.534l-.288-.117-.353-.16-.237-.117-.358-.193-.385-.233-.263-.173-.3-.215-.23-.177-.238-.196-.356-.319a9.308 9.308 0 01-.345-.343l-.151-.162a9.197 9.197 0 01-1.662-2.58l-.126-.311-.134-.372-.087-.268-.08-.285A9.229 9.229 0 012.75 12c0-.893.127-1.757.363-2.574l.137-.431.077-.218.169-.421a9.17 9.17 0 01.768-1.431l.171-.25c.213-.303.447-.595.701-.876l.168-.18c.174-.183.356-.36.545-.528l.197-.17.345-.278.328-.239.302-.202.117-.072a8.88 8.88 0 01.664-.375l.484-.23.37-.152.427-.153.353-.11.263-.071.145-.036A9.232 9.232 0 0112 2.75l.24.003.317.014.389.031.284.033.487.079.43.091.287.073.39.116.293.099.336.127.17.07.379.172.259.129.25.135.416.248.255.166a9.12 9.12 0 011.14.911V3.222a.75.75 0 01.638-.742l.111-.008a.75.75 0 01.742.639l.008.11v3.83a.75.75 0 01-.64.741l-.11.008h-3.828a.75.75 0 01-.111-1.492l.11-.008h2.009l-.197-.177-.22-.182-.131-.102-.2-.147-.225-.156-.235-.15-.236-.139-.149-.081-.222-.115-.268-.126-.121-.053a7.709 7.709 0 00-1.013-.352l-.263-.067-.258-.055-.262-.047-.278-.04-.349-.036-.353-.02L12 4.25l-.183.002-.376.018-.294.026-.248.032-.335.055-.344.073-.243.061-.202.058a7.72 7.72 0 00-.54.183l-.282.114-.204.09-.317.156-.24.13a7.755 7.755 0 00-.629.397l-.383.285-.21.174-.075.064a7.796 7.796 0 00-.195.178l-.18.174-.239.25-.175.198-.152.184a7.778 7.778 0 00-.59.84l-.174.305-.116.222-.112.232a7.079 7.079 0 00-.15.346l-.11.29-.122.368-.046.16c-.084.304-.15.612-.197.923l-.05.409.01-.098c-.05.453-.06.91-.03 1.364l.024.285c.031.307.081.611.15.913l.073.3.058.204c.072.245.157.486.255.724l.085.2c.05.112.102.223.156.332l.091.175.137.245.148.246.058.088a7.766 7.766 0 00.436.604l.141.173.093.107.174.191.174.18.18.175.246.22.324.264.349.255.123.083.24.151.2.118.259.14.257.128.33.146.24.095c.195.073.393.139.594.196l.359.094.136.03.124.026.297.053.329.045.246.024.097.008c.091.006.183.011.275.014l.275.005A7.75 7.75 0 0019.75 12a.75.75 0 111.5 0 9.25 9.25 0 01-8.982 9.246z",fill:"currentColor"}))}function Ol(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.5 12a1 1 0 011 1v6a1 1 0 01-1 1H4a1 1 0 01-1-1v-6a1 1 0 011-1h2.5zm6.75-5a1 1 0 011 1v11a1 1 0 01-1 1h-2.5a1 1 0 01-1-1V8a1 1 0 011-1h2.5zM20 4a1 1 0 011 1v14a1 1 0 01-1 1h-2.5a1 1 0 01-1-1V5a1 1 0 011-1H20z",fill:"currentColor",fillRule:"evenodd"}))}function Il(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.25 12c.966 0 1.75.784 1.75 1.75v4.5A1.75 1.75 0 016.25 20h-1.5A1.75 1.75 0 013 18.25v-4.5c0-.966.784-1.75 1.75-1.75h1.5zm6.5-5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0112.75 20h-1.5a1.75 1.75 0 01-1.75-1.75v-9.5c0-.966.784-1.75 1.75-1.75h1.5zm6.5-3c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0119.25 20h-1.5A1.75 1.75 0 0116 18.25V5.75c0-.966.784-1.75 1.75-1.75h1.5zm-13 9.5h-1.5a.25.25 0 00-.243.193l-.007.057v4.5a.25.25 0 00.193.243l.057.007h1.5a.25.25 0 00.243-.193l.007-.057v-4.5a.25.25 0 00-.193-.243L6.25 13.5zm6.5-5h-1.5a.25.25 0 00-.243.193L11 8.75v9.5a.25.25 0 00.193.243l.057.007h1.5a.25.25 0 00.243-.193L13 18.25v-9.5a.25.25 0 00-.193-.243L12.75 8.5zm6.5-3h-1.5a.25.25 0 00-.243.193l-.007.057v12.5a.25.25 0 00.193.243l.057.007h1.5a.25.25 0 00.243-.193l.007-.057V5.75a.25.25 0 00-.193-.243L19.25 5.5z",fill:"currentColor",fillRule:"evenodd"}))}function Ll(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18 9.25a.75.75 0 01.743.648l.007.102v8.25a3.75 3.75 0 01-3.55 3.745L15 22h-5a3.75 3.75 0 01-3.745-3.55l-.005-.2V10a.75.75 0 01.648-.743L7 9.25h11zm-.75 1.5h-9.5v7.5a2.25 2.25 0 001.938 2.229l.158.016.154.005h5a2.25 2.25 0 002.245-2.096l.005-.154v-7.5zm-6.75 1.5a.75.75 0 01.743.648l.007.102v5.25a.75.75 0 01-1.493.102l-.007-.102V13a.75.75 0 01.75-.75zm4 0a.75.75 0 01.743.648l.007.102v5.25a.75.75 0 01-1.493.102l-.007-.102V13a.75.75 0 01.75-.75zm2.372-9.849a3.847 3.847 0 012.03 4.45l2.668 1.302a.75.75 0 01-.563 1.386l-.094-.038L9.086 3.732a.75.75 0 01.563-1.386l.094.038 2.373 1.157a3.847 3.847 0 014.756-1.14zM3 4.25a.75.75 0 01.743.648L3.75 5v.63c2.434-1.684 5.714-1.245 7.542 1.11a.75.75 0 11-1.185.919C8.819 6 6.547 5.647 4.777 6.749l.723.001a.75.75 0 01.743.648l.007.102a.75.75 0 01-.648.743L5.5 8.25H3a.75.75 0 01-.743-.648L2.25 7.5V5A.75.75 0 013 4.25zm10.507-.031l4.005 1.953a2.347 2.347 0 00-4.005-1.953z",fill:"currentColor",fillRule:"evenodd"}))}function Hl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2.75a9.25 9.25 0 016.54 15.79.75.75 0 11-1.06-1.06 7.75 7.75 0 10-13.224-5.797l.714-.713.084-.073a.75.75 0 011.049 1.05l-.073.083-2 2-.084.073a.75.75 0 01-.882.007l-.094-.08-2-2-.073-.084a.75.75 0 01-.007-.882l.08-.094.084-.073a.75.75 0 01.882-.007l.094.08.725.724A9.25 9.25 0 0112 2.75z",fill:"currentColor"}))}function Ml(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 2.75a9.25 9.25 0 019.245 8.944l.725-.724a.75.75 0 01.976-.073l.084.073a.75.75 0 01.073.976l-.073.084-2 2a.75.75 0 01-.976.073l-.084-.073-2-2a.75.75 0 01.976-1.133l.084.073.714.712A7.75 7.75 0 106.52 17.48a.75.75 0 11-1.06 1.06A9.25 9.25 0 0112 2.75z",fill:"currentColor"}))}function kl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.021 23.316c.594 0 1.121-.33 1.121-1.12V21.14c3.546-.382 5.761-2.465 5.761-5.498 0-2.61-1.569-4.192-4.825-4.904l-2.676-.606C9.727 9.763 8.91 8.999 8.91 7.878c0-1.344 1.16-2.32 2.98-2.32 1.476 0 2.504.5 3.651 1.78.58.606 1.029.83 1.635.83.738 0 1.305-.514 1.305-1.279 0-.738-.435-1.542-1.173-2.267-.976-.923-2.439-1.53-4.087-1.74V1.787c0-.777-.527-1.107-1.134-1.107-.593 0-1.12.316-1.12 1.107v1.055c-3.415.317-5.59 2.36-5.59 5.287 0 2.557 1.569 4.258 4.575 4.93l2.676.62c1.951.461 2.755 1.147 2.755 2.307 0 1.503-1.173 2.452-3.27 2.452-1.568 0-2.873-.593-4.06-1.872-.672-.672-1.041-.817-1.542-.817-.805 0-1.411.514-1.411 1.397 0 .778.448 1.582 1.252 2.281 1.055.962 2.703 1.556 4.536 1.727v1.042c0 .79.527 1.12 1.133 1.12z",fill:"currentColor",fillRule:"evenodd"}))}function Vl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M9.75 2a7.75 7.75 0 016.292 12.275l5.592 5.591a1.25 1.25 0 01-1.666 1.859l-.102-.091-5.59-5.592A7.75 7.75 0 119.75 2zm0 2.5a5.25 5.25 0 100 10.5 5.25 5.25 0 000-10.5z",fill:"currentColor",fillRule:"evenodd"}))}function jl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 2.25a7.75 7.75 0 015.985 12.674l5.545 5.546a.75.75 0 01-.976 1.133l-.084-.073-5.546-5.545A7.75 7.75 0 1110 2.25zm0 1.5a6.25 6.25 0 100 12.5 6.25 6.25 0 000-12.5z",fill:"currentColor",fillRule:"evenodd"}))}function Tl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.01 2.25a.75.75 0 01.665.402c.72 1.376 3.174 2.323 7.389 2.683a.75.75 0 01.686.748c0 7.747-1.54 11.378-5.945 14.213l-.502.312-.525.306a26.51 26.51 0 01-.834.452l-.29.148-.323.16a.75.75 0 01-.654.003c-6.293-3-8.427-6.542-8.427-15.594a.75.75 0 01.686-.748c4.215-.36 6.67-1.307 7.389-2.683a.75.75 0 01.56-.395l.126-.007zM12 4.245l-.064.067C10.702 5.54 8.479 6.317 5.277 6.705l-.523.058.01.54c.012.53.033 1.039.063 1.525l.052.713c.472 5.577 2.312 8.141 6.618 10.372l.272.139.228.113.262-.133c4.685-2.43 6.538-5.033 6.915-11.21l.038-.743.025-.778.007-.402.001-.136-.522-.058c-3.068-.372-5.238-1.1-6.5-2.242l-.159-.15L12 4.244zm4.903 4.104l.077.067a.75.75 0 01.067.984l-.067.077-5.52 5.52-3.382-3.38a.75.75 0 01.984-1.129l.076.067 2.32 2.322 4.461-4.46a.75.75 0 01.984-.068z",fill:"currentColor",fillRule:"evenodd"}))}function Dl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.01 2.25a.75.75 0 01.665.402c.72 1.376 3.174 2.323 7.389 2.683a.75.75 0 01.686.748c0 7.747-1.54 11.378-5.945 14.213l-.502.312-.525.306a26.51 26.51 0 01-.834.452l-.29.148-.323.16a.75.75 0 01-.654.003c-6.293-3-8.427-6.542-8.427-15.594a.75.75 0 01.686-.748c4.215-.36 6.67-1.307 7.389-2.683a.75.75 0 01.56-.395l.126-.007zM12 4.245l-.064.067C10.702 5.54 8.479 6.317 5.277 6.705l-.523.058.01.54c.012.53.033 1.039.063 1.525l.052.713c.472 5.577 2.312 8.141 6.618 10.372l.272.139.228.113.262-.133c4.685-2.43 6.538-5.033 6.915-11.21l.038-.743.025-.778.007-.402.001-.136-.522-.058c-3.068-.372-5.238-1.1-6.5-2.242l-.159-.15L12 4.244zM12 8l.15.005a2 2 0 01.98 3.645L14 16h-4l.87-4.35a2 2 0 01.982-3.644L11.999 8z",fill:"currentColor",fillRule:"evenodd"}))}function Fl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13 2a1 1 0 011 1v1.77a7.44 7.44 0 011.698.703l1.252-1.251a1 1 0 011.414 0l1.414 1.414a1 1 0 010 1.414l-1.251 1.252c.3.53.538 1.099.703 1.698H21a1 1 0 011 1v2a1 1 0 01-1 1h-1.77a7.454 7.454 0 01-.703 1.698l1.251 1.252a1 1 0 010 1.414l-1.414 1.414a1 1 0 01-1.414 0l-1.252-1.251a7.47 7.47 0 01-1.697.703L14 21a1 1 0 01-1 1h-2a1 1 0 01-1-1v-1.77a7.454 7.454 0 01-1.698-.703L7.05 19.778a1 1 0 01-1.414 0l-1.414-1.414a1 1 0 010-1.414l1.251-1.252A7.454 7.454 0 014.77 14H3a1 1 0 01-1-1v-2a1 1 0 011-1h1.77a7.44 7.44 0 01.703-1.698L4.222 7.05a1 1 0 010-1.414l1.414-1.414a1 1 0 011.414 0l1.252 1.251c.53-.3 1.099-.538 1.698-.703V3a1 1 0 011-1h2zm-1 6a4 4 0 100 8 4 4 0 000-8z",fill:"currentColor",fillRule:"evenodd"}))}function Pl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.056 2c.918 0 1.67.707 1.744 1.606l.006.144v.787l.243.093.154.063.093.042.554-.553a1.75 1.75 0 012.217-.212l.133.1.125.113 1.492 1.492a1.75 1.75 0 01.114 2.35l-.113.125-.524.523.046.1.068.156.064.157.039.108h.74a1.75 1.75 0 011.725 1.459l.018.148.006.143v2.112a1.75 1.75 0 01-1.606 1.744l-.144.006h-.739l-.04.108-.063.158-.068.156-.047.098.524.524c.553.551.663 1.389.29 2.08l-.08.136-.095.131-.115.128-1.492 1.492c-.59.59-1.502.676-2.216.21l-.131-.095-.128-.115-.554-.554-.093.043-.154.064-.243.092v.789a1.752 1.752 0 01-1.459 1.725l-.148.018-.143.006h-2.111A1.75 1.75 0 019.2 20.393l-.006-.143v-.848l-.08-.03-.148-.06-.214-.097-.602.603a1.75 1.75 0 01-2.217.212l-.133-.1-.125-.113-1.492-1.492a1.75 1.75 0 01-.114-2.35l.114-.125.632-.634-.09-.204-.079-.206h-.897a1.752 1.752 0 01-1.725-1.459l-.018-.148L2 13.056v-2.112A1.75 1.75 0 013.606 9.2l.144-.006h.896l.08-.206.089-.205-.632-.633a1.75 1.75 0 01-.213-2.217l.099-.133.114-.125 1.492-1.492c.59-.59 1.502-.676 2.216-.21l.131.095.128.115.602.601.214-.095.149-.062.079-.03V3.75c0-.791.528-1.469 1.294-1.684l.146-.035.151-.023.16-.008h2.111zm-2.069 1.499l-.073.003a.25.25 0 00-.212.186l-.007.062v1.377a.75.75 0 01-.528.717c-.417.129-.818.3-1.2.51a.75.75 0 01-.809-.054l-.083-.071-.952-.954-.058-.053a.25.25 0 00-.27-.023l-.059.044-1.493 1.493a.25.25 0 00-.04.3l.04.054 1.009 1.008a.75.75 0 01.132.883c-.2.375-.361.769-.483 1.177a.75.75 0 01-.61.528l-.108.008H3.75a.25.25 0 00-.243.193l-.007.057v2.11c0 .12.083.22.193.245l.057.007h1.433a.75.75 0 01.719.537c.121.408.283.802.482 1.176a.75.75 0 01-.061.8l-.071.083-1.009 1.008a.25.25 0 00-.04.3l.04.054 1.493 1.493a.25.25 0 00.3.04l.054-.04.985-.986a.75.75 0 01.893-.126c.38.21.782.382 1.199.511a.75.75 0 01.52.609l.008.108v1.377a.25.25 0 00.192.243l.057.007h2.111a.251.251 0 00.244-.193l.007-.057v-1.331a.75.75 0 01.545-.721 6.398 6.398 0 001.247-.503.75.75 0 01.8.06l.083.072.896.898.058.053a.25.25 0 00.27.023l.059-.044 1.462-1.46.052-.057a.25.25 0 00.023-.27l-.044-.06-.907-.905a.75.75 0 01-.126-.894 6.4 6.4 0 00.533-1.269.75.75 0 01.61-.528l.108-.008h1.275a.25.25 0 00.243-.193l.007-.057v-2.111a.25.25 0 00-.193-.244l-.057-.007h-1.275a.75.75 0 01-.718-.536 6.4 6.4 0 00-.533-1.269.75.75 0 01.055-.81l.071-.083.907-.906a.25.25 0 00.04-.3l-.04-.054-1.493-1.493a.25.25 0 00-.3-.04l-.054.04-.93.93a.75.75 0 01-.882.132 6.398 6.398 0 00-1.247-.503.75.75 0 01-.536-.611l-.008-.11-.001-1.33a.251.251 0 00-.194-.244l-.056-.007-2.069-.001zM12 7.533a4.467 4.467 0 110 8.934 4.467 4.467 0 010-8.934zm0 1.5a2.967 2.967 0 100 5.934 2.967 2.967 0 000-5.934z",fill:"currentColor",fillRule:"evenodd"}))}function Bl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0120.25 19H3.75A1.75 1.75 0 012 17.25V6.75C2 5.784 2.784 5 3.75 5h16.5zm0 1.5H3.75a.25.25 0 00-.243.193L3.5 6.75v10.5a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057V6.75a.25.25 0 00-.193-.243L20.25 6.5zM6.5 14a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm9 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-7a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h7zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm-12-3a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm-12-3a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1zm3 0a.5.5 0 01.5.5v1a.5.5 0 01-.5.5h-1a.5.5 0 01-.5-.5v-1a.5.5 0 01.5-.5h1z",fill:"currentColor",fillRule:"evenodd"}))}function _l(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 6a1.75 1.75 0 011.744 1.606L21 7.75V11h-1.5V7.75l-.007-.057a.25.25 0 00-.175-.184L19.25 7.5H7.75l-.057.007a.25.25 0 00-.184.175L7.5 7.75v11.5l.007.057a.25.25 0 00.175.184l.068.009H11V21H7.75a1.75 1.75 0 01-1.744-1.606L6 19.25V7.75a1.75 1.75 0 011.606-1.744L7.75 6h11.5zm-2-3l.102.007a.75.75 0 010 1.486l-.102.007H4.75l-.057.007a.25.25 0 00-.184.175L4.5 4.75v12.5l-.007.102a.75.75 0 01-1.486 0L3 17.25V4.75l.006-.144a1.75 1.75 0 011.593-1.6L4.75 3h12.5zm-2.5 8.75a3 3 0 100 6 3 3 0 000-6zm0 7.5a4.5 4.5 0 113.632-1.842l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.479 4.479 0 01-2.495.755z",fill:"currentColor",fillRule:"evenodd"}))}function Gl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.75 4a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 013.75 4zm3.5 0a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 017.25 4zm7.78 3.97a.75.75 0 01.073.976l-.073.084-2.219 2.22h7.439a.75.75 0 01.102 1.493l-.102.007h-7.439l2.22 2.22a.75.75 0 01-.977 1.133l-.084-.073-3.5-3.5-.055-.06-.046-.065-.049-.088-.044-.12-.018-.089-.007-.143.019-.136.03-.098.047-.1.054-.082.069-.08 3.5-3.5a.75.75 0 011.06 0z",fill:"currentColor",fillRule:"evenodd"}))}function ql(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.75 4a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 013.75 4zm3.5 0a.75.75 0 01.75.75v14.5a.75.75 0 11-1.5 0V4.75A.75.75 0 017.25 4zm3.5 0a.75.75 0 01.75.75v6.5h6.939l-2.22-2.22a.75.75 0 01.977-1.133l.084.073 3.5 3.5c.025.024.048.05.069.078l-.069-.078.04.042.04.052.068.114.038.098.02.084.012.088v.104l-.003.02-.006.055-.015.07-.024.072-.047.1-.032.051-.027.038-.064.072-3.5 3.5a.75.75 0 01-1.133-.976l.073-.084 2.219-2.22h-6.94l.001 6.5a.75.75 0 11-1.5 0V4.75a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function $l(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.5 18v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zm8.25-5.25a3 3 0 100 6 3 3 0 000-6zm-8.25 0v3.75H4v-3.75h1.5zM20 7.5v3.75h-1.5V7.5H20zm-14.5 0v3.75H4V7.5h1.5zM18.25 2c.966 0 1.75.784 1.75 1.75V6h-1.5V3.75a.25.25 0 00-.193-.243L18.25 3.5 16 3.499V2h2.25zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm6.5 0v1.499l-5 .001V2h5zm-.75 18.25a4.5 4.5 0 113.632-1.842l.036-.05 2.362 2.362a.75.75 0 01-.976 1.133l-.084-.073-2.363-2.362-.112.077a4.479 4.479 0 01-2.495.755z",fill:"currentColor",fillRule:"evenodd"}))}function Kl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M2.5 12.75H7a.75.75 0 110 1.5H5.5v7a.75.75 0 11-1.5 0v-7H2.5a.75.75 0 110-1.5zm9.5-2a.75.75 0 01.75.75v9.75a.75.75 0 11-1.5 0V11.5a.75.75 0 01.75-.75zm9.5 4a.75.75 0 110 1.5H20v5a.75.75 0 11-1.5 0v-5H17a.75.75 0 110-1.5h4.5zM19.25 2a.75.75 0 01.75.75v9.75a.75.75 0 11-1.5 0V2.75a.75.75 0 01.75-.75zM4.75 2a.75.75 0 01.75.75v7.75a.75.75 0 11-1.5 0V2.75A.75.75 0 014.75 2zM12 2a.75.75 0 01.75.75v5h1.5a.75.75 0 110 1.5h-4.5a.75.75 0 010-1.5h1.5v-5A.75.75 0 0112 2z",fill:"currentColor",fillRule:"evenodd"}))}function Ul(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75V7.5h-5a5 5 0 00-4.995 4.783L11 12.5a5 5 0 004.783 4.995L16 17.5h5v1.75A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm1.5 6c.69 0 1.25.56 1.25 1.25v4.5c0 .69-.56 1.25-1.25 1.25H16a3.5 3.5 0 010-7h4.75zM16 11a1.5 1.5 0 100 3 1.5 1.5 0 000-3z",fill:"currentColor",fillRule:"evenodd"}))}function Wl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.25 18a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm12.5-13.5a.75.75 0 01.743.648l.007.102v11.689l2.22-2.22a.75.75 0 011.133.977l-.073.084-3.5 3.5a.753.753 0 01-.125.101l-.088.049-.119.043-.106.021-.041.004-.07.002-.073-.006-.076-.013-.08-.023-.1-.043a.75.75 0 01-.182-.135l-3.5-3.5a.75.75 0 01.976-1.133l.084.073L17 16.939V5.25a.75.75 0 01.75-.75zm-9.5 9a.75.75 0 110 1.5h-5.5a.75.75 0 110-1.5h5.5zm3-4.5a.75.75 0 110 1.5h-8.5a.75.75 0 110-1.5h8.5zm3-4.5a.75.75 0 110 1.5H2.75a.75.75 0 010-1.5h11.5z",fill:"currentColor",fillRule:"evenodd"}))}function Jl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.895 8.726l-6.683.358-.105.012c-.608.114-.833.91-.328 1.319l5.197 4.217-1.725 6.467-.02.098c-.085.616.605 1.08 1.152.725L12 18.28l5.617 3.64.087.05c.56.27 1.214-.242 1.045-.872l-1.726-6.467 5.198-4.217.077-.072c.425-.45.14-1.225-.51-1.26l-6.684-.357L12.7 2.481a.75.75 0 00-1.4 0L8.895 8.726z",fill:"currentColor",fillRule:"evenodd"}))}function Yl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M8.895 8.726l-6.683.358-.105.012c-.608.114-.833.91-.328 1.319l5.197 4.217-1.725 6.467-.02.098c-.085.616.605 1.08 1.152.725L12 18.28l5.617 3.64.087.05c.56.27 1.214-.242 1.045-.872l-1.726-6.467 5.198-4.217.077-.072c.425-.45.14-1.225-.51-1.26l-6.684-.357L12.7 2.481a.75.75 0 00-1.4 0L8.895 8.726zM12 4.836l1.88 4.883.046.1a.75.75 0 00.614.38l5.223.278-4.062 3.297-.08.075a.75.75 0 00-.172.7l1.349 5.055-4.39-2.845-.096-.053a.75.75 0 00-.72.053l-4.391 2.845 1.35-5.054.02-.108a.75.75 0 00-.272-.668l-4.063-3.297 5.224-.278a.75.75 0 00.66-.48L12 4.836z",fill:"currentColor",fillRule:"evenodd"}))}function Ql(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18.25 2c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0118.25 22H13l-.001-1.5h5.251a.25.25 0 00.243-.193l.007-.057V3.75a.25.25 0 00-.193-.243L18.25 3.5H5.75a.25.25 0 00-.243.193L5.5 3.75 5.499 13H4V3.75C4 2.784 4.784 2 5.75 2h12.5zM4.142 16.956a.5.5 0 01.55-.147l.082.038 2.143 1.237.074.052a.5.5 0 01.147.55l-.038.081-.052.074a.5.5 0 01-.55.147l-.081-.038-.878-.505a2.5 2.5 0 004 1.525.75.75 0 11.925 1.181 4.002 4.002 0 01-6.343-2.173l-.402.695-.052.074a.5.5 0 01-.852-.492l.038-.082 1.238-2.143.051-.074zM8 14a4.001 4.001 0 013.92 3.197l.358-.62a.5.5 0 01.6-.221l.083.038a.5.5 0 01.22.601l-.037.082-1.238 2.143a.5.5 0 01-.6.221l-.083-.038-2.143-1.237a.5.5 0 01.418-.904l.082.038.914.528a2.5 2.5 0 00-4.033-1.798.75.75 0 11-.925-1.181A3.985 3.985 0 018 14zm7.75-1a.75.75 0 110 1.5h-2.5a.75.75 0 110-1.5h2.5zm0-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 110-1.5h7.5zm0-3.5a.75.75 0 110 1.5h-7.5a.75.75 0 010-1.5h7.5z",fill:"currentColor",fillRule:"evenodd"}))}function Xl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.25 3c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0119.25 21H4.75A1.75 1.75 0 013 19.25V4.75C3 3.784 3.784 3 4.75 3h14.5zm.25 3h-15v13.25a.25.25 0 00.193.243l.057.007h14.5a.25.25 0 00.243-.193l.007-.057V6zm-8.75 9.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4zm-6.5-3.5a.75.75 0 110 1.5h-4a.75.75 0 010-1.5h4zm6.5 0a.75.75 0 110 1.5h-4a.75.75 0 110-1.5h4z",fill:"currentColor",fillRule:"evenodd"}))}function Zl(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10.356 2c.464 0 .909.184 1.237.513l9.92 9.919a1.75 1.75 0 010 2.475l-6.606 6.606a1.75 1.75 0 01-2.475 0l-9.92-9.92A1.75 1.75 0 012 10.356V3.75C2 2.784 2.784 2 3.75 2h6.606zm0 1.5H3.75a.25.25 0 00-.243.193L3.5 3.75v6.606a.25.25 0 00.033.125l.04.051 9.92 9.92a.25.25 0 00.3.04l.053-.04 6.606-6.606a.25.25 0 00.04-.3l-.04-.053-9.92-9.92a.25.25 0 00-.111-.064l-.065-.009zm1.57 5.394c.365-.007.652.086.852.287.256.255.225.645-.02.89-.215.215-.453.322-.78.366-.512.07-.826.211-1.13.515-.335.335-.335.742-.114.963.203.203.484.176.923-.106l.123-.084.715-.5c1.04-.729 1.934-.732 2.666 0 .809.809.81 1.956.044 3.041l-.12.163.155.155c.238.238.128.494-.02.642-.14.14-.364.246-.581.093l-.072-.062-.145-.145c-.615.532-1.285.857-1.858.87-.349.004-.642-.082-.85-.29-.306-.307-.244-.714.042-1 .145-.146.32-.24.605-.301l.151-.028c.529-.08.991-.293 1.271-.573.425-.425.46-.818.197-1.08-.193-.194-.473-.155-.963.148l-.139.09-.71.476c-1.05.711-1.938.694-2.677-.045-.789-.79-.783-1.929-.026-2.957l.12-.154-.204-.203c-.242-.242-.121-.494.03-.646.138-.137.353-.246.57-.09l.073.062.214.214c.546-.435 1.14-.704 1.657-.71zM6.042 6.043a1 1 0 111.414 1.414 1 1 0 01-1.414-1.414z",fill:"currentColor",fillRule:"evenodd"}))}function ea(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 20.5V22h-5v-1.5h5zm-9-2.5v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zM20 18v2.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V18H20zm0-5.25v3.75h-1.5v-3.75H20zm-14.5 0v3.75H4v-3.75h1.5zM20 7.5v3.75h-1.5V7.5H20zM4 11.25V7.5h9.25a.75.75 0 01.75.75v2.25a.75.75 0 01-.75.75H4zM18.25 2c.966 0 1.75.784 1.75 1.75V6h-1.5V3.75a.25.25 0 00-.193-.243L18.25 3.5 16 3.499V2h2.25zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm6.5 0v1.499l-5 .001V2h5z",fill:"currentColor",fillRule:"evenodd"}))}function ta(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.5 20.5V22h-5v-1.5h5zm-9-2.5v2.25a.25.25 0 00.193.243l.057.007H8V22H5.75A1.75 1.75 0 014 20.25V18h1.5zM20 18v2.25A1.75 1.75 0 0118.25 22H16v-1.5h2.25a.25.25 0 00.243-.193l.007-.057V18H20zm0-5.25v3.75h-1.5v-3.75H20zm-14.5 0v3.75H4v-3.75h1.5zM12.25 14a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zm0-4a.75.75 0 110 1.5h-3.5a.75.75 0 110-1.5h3.5zM20 7.5v3.75h-1.5V7.5H20zm-14.5 0v3.75H4V7.5h1.5zM15.25 6a.75.75 0 110 1.5h-6.5a.75.75 0 010-1.5h6.5zm3-4c.966 0 1.75.784 1.75 1.75V6h-1.5V3.75a.25.25 0 00-.193-.243L18.25 3.5 16 3.499V2h2.25zM8 2v1.5H5.75a.25.25 0 00-.243.193L5.5 3.75V6H4V3.75C4 2.784 4.784 2 5.75 2H8zm6.5 0v1.499l-5 .001V2h5z",fill:"currentColor",fillRule:"evenodd"}))}function na(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M18 11.25a1.75 1.75 0 011.744 1.606l.006.144v4.586c0 .406-.141.797-.396 1.109l-.117.128-3.304 3.305a1.25 1.25 0 01-2.114-1.11l.032-.133.642-2.135H12.5a1.75 1.75 0 01-1.726-1.458l-.018-.148L10.75 17c0-.173.026-.345.076-.51l.059-.163 1.666-4a1.75 1.75 0 011.465-1.07l.15-.007H18zm0 1.5h-3.833a.25.25 0 00-.202.102l-.03.052-1.666 4a.25.25 0 00.174.34l.057.006h2.866a.85.85 0 01.838.99l-.024.104-.606 2.023 2.603-2.604a.25.25 0 00.064-.112l.009-.065V13a.25.25 0 00-.193-.243L18 12.75zm4-1.5c.513 0 .94.441.994 1.003l.006.122v4.5c0 .619-.45 1.125-1 1.125-.513 0-.94-.441-.994-1.003L21 16.875v-4.5c0-.619.45-1.125 1-1.125zM2 6c.513 0 .94.441.994 1.003L3 7.125v4.5c0 .619-.45 1.125-1 1.125-.513 0-.94-.441-.994-1.003L1 11.625v-4.5C1 6.506 1.45 6 2 6zm6.067-4.128a1.25 1.25 0 012.114 1.11l-.032.133-.642 2.135H11.5c.867 0 1.587.63 1.726 1.458l.018.148.006.144c0 .173-.026.345-.076.51l-.059.163-1.666 4a1.75 1.75 0 01-1.465 1.07l-.15.007H6a1.75 1.75 0 01-1.744-1.606L4.25 11V6.414c0-.406.141-.797.396-1.109l.117-.128 3.304-3.305zm.359 1.761L5.823 6.237a.25.25 0 00-.064.112l-.009.065V11a.25.25 0 00.193.243L6 11.25h3.833a.25.25 0 00.202-.102l.03-.052 1.666-4a.25.25 0 00-.174-.34L11.5 6.75H8.634c-.123-.006-.123-.006-.244-.036a.85.85 0 01-.594-.954l.024-.104.606-2.023z",fill:"currentColor",fillRule:"evenodd"}))}function la(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.839 4c.935 0 1.709.754 1.784 1.705l.006.152v9.277c0 .438-.149.86-.414 1.19l-.105.12-4.96 5.144a1.298 1.298 0 01-1.888.01 1.427 1.427 0 01-.389-1.118l.022-.155.85-4.253H4.687c-1.868 0-3.145-1.925-2.531-3.719l.06-.163 2.919-7.066c.266-.63.84-1.06 1.495-1.117L6.782 4h8.057zm5.37 0c.936 0 1.71.754 1.785 1.705l.006.152v7.43c0 1.02-.806 1.856-1.79 1.856-.936 0-1.71-.754-1.785-1.705l-.006-.152V5.857c0-1.021.806-1.857 1.79-1.857z",fill:"currentColor",fillRule:"evenodd"}))}function aa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.839 4c.935 0 1.709.754 1.784 1.705l.006.152v9.277c0 .438-.149.86-.414 1.19l-.105.12-4.96 5.144a1.298 1.298 0 01-1.888.01 1.427 1.427 0 01-.389-1.118l.022-.155.85-4.253H4.687c-1.868 0-3.145-1.925-2.531-3.719l.06-.163 2.919-7.066c.266-.63.84-1.06 1.495-1.117L6.782 4h8.057zm0 1.5H6.782a.284.284 0 00-.223.129l-.038.067-2.916 7.062c-.34.83.192 1.728.97 1.808l.112.006h6.888l-1.114 5.57 4.569-4.74a.373.373 0 00.092-.19l.007-.078V5.857c0-.18-.112-.318-.237-.35L14.84 5.5zm5.37-1.5c.936 0 1.71.754 1.785 1.705l.006.152v7.43c0 1.02-.806 1.856-1.79 1.856-.936 0-1.71-.754-1.785-1.705l-.006-.152V5.857c0-1.021.806-1.857 1.79-1.857z",fill:"currentColor",fillRule:"evenodd"}))}function ra(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12.85 2.412a1.298 1.298 0 011.888-.01c.287.298.425.705.389 1.118l-.022.155-.85 4.253h5.058c1.868 0 3.145 1.925 2.531 3.719l-.06.163-2.919 7.066a1.811 1.811 0 01-1.495 1.117l-.152.007H9.161c-.935 0-1.709-.754-1.784-1.705l-.006-.152V8.866c0-.438.149-.86.414-1.19l.105-.12 4.96-5.144zM3.79 8.857c.936 0 1.71.754 1.785 1.705l.006.152v7.429C5.58 19.164 4.775 20 3.79 20c-.936 0-1.71-.754-1.785-1.705L2 18.143v-7.43c0-1.02.806-1.856 1.79-1.856z",fill:"currentColor",fillRule:"evenodd"}))}function oa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M14.738 2.403c.287.297.425.704.389 1.117l-.022.155-.85 4.253h5.058c1.868 0 3.145 1.925 2.531 3.719l-.06.163-2.919 7.066a1.811 1.811 0 01-1.495 1.117l-.152.007H9.161c-.935 0-1.709-.754-1.784-1.705l-.006-.152V8.866c0-.438.149-.86.414-1.19l.105-.12 4.96-5.144a1.298 1.298 0 011.888-.01zM3.79 8.857c.936 0 1.71.754 1.785 1.705l.006.152v7.429C5.58 19.164 4.775 20 3.79 20c-.936 0-1.71-.754-1.785-1.705L2 18.143v-7.43c0-1.02.806-1.856 1.79-1.856zm9.749-4.999L8.97 8.598a.373.373 0 00-.092.19l-.007.078v9.277c0 .18.112.318.237.35l.053.007h8.057c.08 0 .166-.047.223-.129l.038-.067 2.916-7.062c.34-.83-.192-1.728-.97-1.808l-.112-.006h-6.888l1.114-5.57z",fill:"currentColor",fillRule:"evenodd"}))}function ia(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.832 4.752a1.5 1.5 0 01.416 2.08l-8 12a1.5 1.5 0 01-2.496 0l-4-6a1.5 1.5 0 112.496-1.664L10 15.296l6.752-10.128a1.5 1.5 0 012.08-.416z",fill:"currentColor"}))}function sa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.867 6.097a.75.75 0 011.318.708l-.052.098-7 11a.75.75 0 01-1.145.145l-.074-.08-4-5A.75.75 0 017.01 11.95l.076.081 3.344 4.181 6.437-10.115z",fill:"currentColor",fillRule:"evenodd"}))}function ca(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M16.5 16c2.434 0 3.88 1.316 4.34 3.95A1.75 1.75 0 0119.116 22h-5.232a1.75 1.75 0 01-1.724-2.05c.46-2.634 1.906-3.95 4.34-3.95zM12 2c5.523 0 10 4.477 10 10a9.96 9.96 0 01-1.005 4.374 5.097 5.097 0 00-1.182-1.017A8.488 8.488 0 0020.5 12a8.5 8.5 0 10-9.996 8.369c.02.578.196 1.118.487 1.58C5.942 21.444 2 17.183 2 12 2 6.477 6.477 2 12 2zm4.5 8.5c1.105 0 2 1.12 2 2.5s-.895 2.5-2 2.5-2-1.12-2-2.5.895-2.5 2-2.5zM12 5.25a.75.75 0 01.743.648L12.75 6v6a.75.75 0 01-.648.743L12 12.75H7.5a.75.75 0 01-.102-1.493l.102-.007h3.75V6a.75.75 0 01.75-.75z",fill:"currentColor",fillRule:"evenodd"}))}function ua(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("g",{fill:"none",fillRule:"evenodd"},t.createElement("path",{d:"M18.804 15.647a.75.75 0 011.049 1.05l-.073.083-1.969 1.97 1.97 1.97a.75.75 0 01-.977 1.133l-.084-.073-1.97-1.969-1.97 1.97-.084.072a.75.75 0 01-1.049-1.05l.073-.083 1.969-1.97-1.97-1.97a.75.75 0 01.977-1.133l.084.073 1.97 1.969 1.97-1.97.084-.072z",fill:"#CF3C16",fillRule:"nonzero"}),t.createElement("path",{d:"M5.5 16.5v3.75a.25.25 0 00.193.243l.057.007H12V22H5.75A1.75 1.75 0 014 20.25V16.5h1.5zm2.946-6.103l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H2.75a.75.75 0 01-.102-1.493l.102-.007h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V14h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v7.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zm.914 2.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor"})))}function da(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M5.5 16.5v3.75a.25.25 0 00.193.243l.057.007h4.75V22H5.75A1.75 1.75 0 014 20.25V16.5h1.5zM16 12a3 3 0 013 3v1a1 1 0 011 1v4a1 1 0 01-1 1h-6a1 1 0 01-1-1v-4a1 1 0 011-1v-1a3 3 0 013-3zm0 5.5a1 1 0 00-.5 1.866V20a.5.5 0 00.992.09L16.5 20l.001-.634A1 1 0 0016 17.5zm-7.554-7.103l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H2.75a.75.75 0 01-.102-1.493l.102-.007h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM16 13.5a1.5 1.5 0 00-1.493 1.356L14.5 15v1h3v-1a1.5 1.5 0 00-1.356-1.493L16 13.5zM13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V11.5h-1.5V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v7.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zm.914 2.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ma(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13.586 2a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V20.25A1.75 1.75 0 0118.25 22H5.75A1.75 1.75 0 014 20.25V16.5h1.5v3.75a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V9h-3.75a1.75 1.75 0 01-1.744-1.606L13 7.25V3.5H5.75a.25.25 0 00-.243.193L5.5 3.75v7.75H4V3.75C4 2.784 4.784 2 5.75 2h7.836zm-5.14 8.397l.084.073 3 3a.75.75 0 01.073.976l-.073.084-3 3a.75.75 0 01-1.133-.976l.073-.084 1.719-1.72H2.75a.75.75 0 01-.102-1.493l.102-.007h6.439l-1.72-1.72a.75.75 0 01-.072-.976l.073-.084a.75.75 0 01.976-.073zM14.5 4.621V7.25a.25.25 0 00.193.243l.057.007h2.63L14.5 4.621z",fill:"currentColor",fillRule:"evenodd"}))}function ga(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M6.75 4.75l-4 4 4 4",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M3 8.75h13c2.9 0 5.25 2.35 5.25 5.25v0c0 2.9-2.35 5.25-5.25 5.25h-5.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round"}))}function fa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M12 5v1.5H4.75a.25.25 0 00-.243.193L4.5 6.75v12.5a.25.25 0 00.193.243l.057.007h12.5a.25.25 0 00.243-.193l.007-.057V12H19v7.25A1.75 1.75 0 0117.25 21H4.75A1.75 1.75 0 013 19.25V6.75C3 5.784 3.784 5 4.75 5H12zm8.25-2a.75.75 0 01.743.648L21 3.75v4.5a.75.75 0 01-1.493.102L19.5 8.25V5.56l-4.97 4.97a.75.75 0 01-1.133-.976l.073-.084 4.968-4.97H15.75a.75.75 0 01-.743-.648L15 3.75a.75.75 0 01.648-.743L15.75 3h4.5z",fill:"currentColor",fillRule:"evenodd"}))}function ha(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M3.368 4.346l.092.062 18 14a.75.75 0 01-.828 1.246l-.092-.062-3.34-2.597L17 17h-2.5a.75.75 0 01-.102-1.493l.102-.007h.778l-3.536-2.75H7a.75.75 0 110-1.5h2.814l-3.46-2.69a3.501 3.501 0 00.454 6.935L7 15.5h2.5a.75.75 0 01.102 1.493L9.5 17H7a5 5 0 01-2.074-9.55L2.54 5.591a.75.75 0 01.828-1.246zM17 7a5 5 0 013.39 8.676l-1.208-.94a3.5 3.5 0 00-1.99-6.231L17 8.5h-2.5a.75.75 0 01-.102-1.493L14.5 7H17zm0 4.25a.75.75 0 110 1.5h-.372l-1.929-1.5H17z",fill:"currentColor",fillRule:"evenodd"}))}function va(e,n){return t.createElement("svg",Object.assign({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M13 18a1 1 0 11-2 0 1 1 0 012 0zM11.055 5.99A.97.97 0 0112.03 5a.97.97 0 01.971 1l-.23 7.76a.768.768 0 01-.77.74.768.768 0 01-.77-.748l-.175-7.763z",fill:"currentColor"}))}function pa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M11 15.5a2.25 2.25 0 110 4.5 2.25 2.25 0 010-4.5zm5.831 0a2.25 2.25 0 110 4.5 2.25 2.25 0 010-4.5zM11 17a.75.75 0 100 1.5.75.75 0 000-1.5zm5.831 0a.75.75 0 100 1.5.75.75 0 000-1.5zM5.287 4a1.75 1.75 0 011.56.955l.062.138 3.24 8a.25.25 0 00.173.15l.06.007h7.743a.25.25 0 00.204-.105l.028-.054 2.159-5.496a.25.25 0 00-.141-.324l-.045-.013-.047-.005-10.04-.003a.75.75 0 01-.102-1.493l.102-.007 10.04.003A1.75 1.75 0 0121.962 8l-.049.143-2.158 5.497a1.75 1.75 0 01-1.476 1.103l-.153.007h-7.743a1.75 1.75 0 01-1.56-.955l-.062-.138-3.24-8a.25.25 0 00-.173-.15l-.06-.007H2.75a.75.75 0 01-.102-1.493L2.75 4h2.537z",fill:"currentColor",fillRule:"evenodd"}))}function wa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M20.25 4c.966 0 1.75.784 1.75 1.75v12.5A1.75 1.75 0 0120.25 20H3.75A1.75 1.75 0 012 18.25V5.75C2 4.784 2.784 4 3.75 4h16.5zm.25 6h-17v8.25a.25.25 0 00.193.243l.057.007h16.5a.25.25 0 00.243-.193l.007-.057V10zm-.25-4.5H3.75a.25.25 0 00-.243.193L3.5 5.75V8.5h17V5.75a.25.25 0 00-.193-.243L20.25 5.5zM5.5 6.5v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1z",fill:"currentColor",fillRule:"evenodd"}))}function ba(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1l5.762 3.12v6.161L23 13.117v6.763L17.238 23 12 20.164 6.762 23 1 19.88v-6.762l5.238-2.837V4.137L12 1zM6.761 11.183l-4.144 2.244 4.144 2.243 4.143-2.243-4.143-2.244zm4.714 3.12l-4.19 2.269v4.96l4.19-2.27v-4.96zm1.048 4.96l4.19 2.268v-4.96l-4.19-2.268v4.96zm.57-5.837l4.144 2.244 4.144-2.243-4.144-2.244-4.143 2.244zm8.858.877l-4.19 2.269v4.96l4.19-2.27v-4.96zm-9.428-1.753l4.19-2.269V5.305l-4.19 2.27v4.975zm-1.048-4.975l-4.19-2.256v4.962l4.19 2.27V7.574zm-3.62-3.133L12 6.672l4.144-2.243-4.142-2.243-4.145 2.256zm-1.618 17.09v-4.96l-4.19-2.27v4.96l4.19 2.27z",fill:"currentColor"}))}function Ea(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M19.144 16.292a2.853 2.853 0 00-2.754 2.144H7.722a2.857 2.857 0 01-2.856-2.858 2.857 2.857 0 012.856-2.859h1.53a2.842 2.842 0 005.508 0h1.529a4.286 4.286 0 004.283-4.287 4.286 4.286 0 00-4.283-4.288H7.62A2.856 2.856 0 002 4.859a2.856 2.856 0 005.62.715h8.669a2.857 2.857 0 012.855 2.858 2.857 2.857 0 01-2.855 2.858h-1.53a2.842 2.842 0 00-5.508 0h-1.53a4.286 4.286 0 00-4.283 4.288 4.286 4.286 0 004.284 4.287h8.668a2.85 2.85 0 005.6-.964 2.852 2.852 0 00-2.846-2.609zM4.866 6.288a1.429 1.429 0 11.002-2.857 1.429 1.429 0 01-.002 2.857zm7.14 4.287a1.429 1.429 0 11-.002 2.857 1.429 1.429 0 01.001-2.857zm7.138 10.005a1.429 1.429 0 11.002-2.857 1.429 1.429 0 01-.002 2.857z",fill:"currentColor"}))}function xa(e,n){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:n},e),t.createElement("path",{d:"M10 2.25a7.75 7.75 0 015.985 12.674l5.545 5.546a.75.75 0 01-.976 1.133l-.084-.073-5.546-5.545A7.75 7.75 0 1110 2.25zm0 1.5a6.25 6.25 0 100 12.5 6.25 6.25 0 000-12.5zm0 2.75a.75.75 0 01.75.75v2h2a.75.75 0 110 1.5h-2v2a.75.75 0 11-1.5 0v-2h-2a.75.75 0 110-1.5h2v-2A.75.75 0 0110 6.5z",fill:"currentColor",fillRule:"evenodd"}))}const ya={"account-preview":t.forwardRef(J),"accounting-year-cancel":t.forwardRef(Y),"accounting-year":t.forwardRef(Q),accounting:t.forwardRef(X),"ai-chat-solid":t.forwardRef(Z),"ai-stars":t.forwardRef(ee),"arrow-bottom":t.forwardRef(te),"arrow-down":t.forwardRef(ne),"arrow-end":t.forwardRef(le),"arrow-left":t.forwardRef(ae),"arrow-right":t.forwardRef(re),"arrow-start":t.forwardRef(oe),"arrow-top":t.forwardRef(ie),"arrow-up":t.forwardRef(se),"attach-auto":t.forwardRef(ce),"attach-cancel":t.forwardRef(ue),"attach-warning":t.forwardRef(de),attach:t.forwardRef(me),"autotext-insert":t.forwardRef(ge),autotext:t.forwardRef(fe),"basic-tabs":t.forwardRef(he),basic:t.forwardRef(ve),"bell-solid":t.forwardRef(pe),book:t.forwardRef(we),booking:t.forwardRef(be),budget:t.forwardRef(Ee),calendar:t.forwardRef(xe),"cash-account":t.forwardRef(ye),"cash-reports":t.forwardRef(ze),"chart-area":t.forwardRef(Re),"chart-bar":t.forwardRef(Ce),"chart-line":t.forwardRef(Se),"chart-pie":t.forwardRef(Ne),"chart-table":t.forwardRef(Ae),"chat-solid":t.forwardRef(Oe),chat:t.forwardRef(Ie),"chevron-down-double":t.forwardRef(Le),"chevron-down-solid":t.forwardRef(He),"chevron-down":t.forwardRef(Me),"chevron-left-double":t.forwardRef(ke),"chevron-left-solid":t.forwardRef(Ve),"chevron-left":t.forwardRef(je),"chevron-right-double":t.forwardRef(Te),"chevron-right-solid":t.forwardRef(De),"chevron-right":t.forwardRef(Fe),"chevron-up-double":t.forwardRef(Pe),"chevron-up-solid":t.forwardRef(Be),"chevron-up":t.forwardRef(_e),"circle-close":t.forwardRef(Ge),"circle-information":t.forwardRef(qe),"circle-minus":t.forwardRef($e),"circle-plus":t.forwardRef(Ke),"circle-questionmark":t.forwardRef(Ue),"circle-tick":t.forwardRef(We),"circle-warning":t.forwardRef(Je),"clamp-open":t.forwardRef(Ye),clamp:t.forwardRef(Qe),close:t.forwardRef(Xe),"column-freeze":t.forwardRef(Ze),"column-unfreeze":t.forwardRef(et),columns:t.forwardRef(tt),"connection-enable":t.forwardRef(nt),"connection-revoke":t.forwardRef(lt),contacts:t.forwardRef(at),copy:t.forwardRef(rt),courses:t.forwardRef(ot),credit:t.forwardRef(it),"delete-permanently":t.forwardRef(st),delete:t.forwardRef(ct),depecriate:t.forwardRef(ut),developer:t.forwardRef(dt),"distribution-template":t.forwardRef(mt),"document-approve":t.forwardRef(gt),"document-create-entry":t.forwardRef(ft),"document-cut":t.forwardRef(ht),"document-error":t.forwardRef(vt),"document-isolate-page":t.forwardRef(pt),"document-merge":t.forwardRef(wt),"document-move":t.forwardRef(bt),"document-preview":t.forwardRef(Et),"document-received":t.forwardRef(xt),"document-rejected-request":t.forwardRef(yt),"document-split":t.forwardRef(zt),"document-time":t.forwardRef(Rt),document:t.forwardRef(Ct),download:t.forwardRef(St),drag:t.forwardRef(Nt),"e-copedia":t.forwardRef(At),"e-signature":t.forwardRef(Ot),"edit-simple":t.forwardRef(It),edit:t.forwardRef(Lt),"ellipsis-horizontal":t.forwardRef(Ht),"ellipsis-vertical":t.forwardRef(Mt),"entries-on-account":t.forwardRef(kt),"entries-open":t.forwardRef(Vt),"entries-warning":t.forwardRef(jt),"entry-type-customer-invoice":t.forwardRef(Tt),"entry-type-customer-payment":t.forwardRef(Dt),"entry-type-journal-entry":t.forwardRef(Ft),"entry-type-manual-customer-invoice":t.forwardRef(Pt),"entry-type-supplier-invoice":t.forwardRef(Bt),"entry-type-supplier-payment":t.forwardRef(_t),"envelope-approved":t.forwardRef(Gt),"envelope-solid":t.forwardRef(qt),envelope:t.forwardRef($t),"expand-view":t.forwardRef(Kt),expenses:t.forwardRef(Ut),"export-to-excel":t.forwardRef(Wt),"export-to-pdf":t.forwardRef(Jt),export:t.forwardRef(Yt),"eye-off":t.forwardRef(Qt),"eye-on":t.forwardRef(Xt),"filter-solid":t.forwardRef(Zt),filter:t.forwardRef(en),"font-size":t.forwardRef(tn),"graph-solid":t.forwardRef(nn),hash:t.forwardRef(ln),"height-extra-tall":t.forwardRef(an),"height-medium":t.forwardRef(rn),"height-short":t.forwardRef(on),"height-tall":t.forwardRef(sn),home:t.forwardRef(cn),images:t.forwardRef(un),import:t.forwardRef(dn),"inbox-einvoicing":t.forwardRef(mn),"inbox-scanning":t.forwardRef(gn),"inbox-smart":t.forwardRef(fn),inbox:t.forwardRef(hn),info:t.forwardRef(vn),"inventory-matrix":t.forwardRef(pn),inventory:t.forwardRef(wn),"journal-pro":t.forwardRef(bn),"layout-both":t.forwardRef(En),"layout-first":t.forwardRef(xn),"layout-last":t.forwardRef(yn),"layout-none":t.forwardRef(zn),layout:t.forwardRef(Rn),"ledger-card-customer-reminder":t.forwardRef(Cn),"ledger-card-manual-customer-invoice":t.forwardRef(Sn),"ledger-card-obsolete-stock":t.forwardRef(Nn),"ledger-card-opening-entry":t.forwardRef(An),"ledger-card-reserved-entry":t.forwardRef(On),"ledger-card-shrinkage-pilferage":t.forwardRef(In),"ledger-card-stock-adjustment":t.forwardRef(Ln),"ledger-card-transferred-opening-entry":t.forwardRef(Hn),"ledger-card":t.forwardRef(Mn),lightbulb:t.forwardRef(kn),line:t.forwardRef(Vn),"list-bulleted":t.forwardRef(jn),"list-search":t.forwardRef(Tn),list:t.forwardRef(Dn),location:t.forwardRef(Fn),"lock-open":t.forwardRef(Pn),lock:t.forwardRef(Bn),"log-out":t.forwardRef(_n),log:t.forwardRef(Gn),market:t.forwardRef(qn),"match-amount":t.forwardRef($n),"match-entries":t.forwardRef(Kn),menu:t.forwardRef(Un),mileage:t.forwardRef(Wn),"modal-resize":t.forwardRef(Jn),"modal-shrink":t.forwardRef(Yn),"more-solid":t.forwardRef(Qn),more:t.forwardRef(Xn),move:t.forwardRef(Zn),"navigation-list":t.forwardRef(el),"note-follow-up":t.forwardRef(tl),"note-read":t.forwardRef(nl),note:t.forwardRef(ll),numbers:t.forwardRef(al),"partner-api":t.forwardRef(rl),"payment-paid":t.forwardRef(ol),"payment-unpaid":t.forwardRef(il),period:t.forwardRef(sl),"person-change":t.forwardRef(cl),"person-minus":t.forwardRef(ul),"person-plus":t.forwardRef(dl),"person-tick":t.forwardRef(ml),"phone-solid":t.forwardRef(gl),play:t.forwardRef(fl),"plus-minus":t.forwardRef(hl),print:t.forwardRef(vl),"process-payment":t.forwardRef(pl),"product-ledger-card":t.forwardRef(wl),profile:t.forwardRef(bl),"project-cards":t.forwardRef(El),projects:t.forwardRef(xl),"question-mark-bold":t.forwardRef(yl),"question-mark":t.forwardRef(zl),quicklinks:t.forwardRef(Rl),"rating-bankruptcy":t.forwardRef(Cl),"rating-payment-problems":t.forwardRef(Sl),reconciled:t.forwardRef(Nl),refresh:t.forwardRef(Al),"report-solid":t.forwardRef(Ol),report:t.forwardRef(Il),restore:t.forwardRef(Ll),"rotate-left":t.forwardRef(Hl),"rotate-right":t.forwardRef(Ml),sales:t.forwardRef(kl),"search-bold":t.forwardRef(Vl),search:t.forwardRef(jl),"secure-tick":t.forwardRef(Tl),secure:t.forwardRef(Dl),"settings-solid":t.forwardRef(Fl),settings:t.forwardRef(Pl),shortcuts:t.forwardRef(Bl),"show-all":t.forwardRef(_l),"show-less":t.forwardRef(Gl),"show-more":t.forwardRef(ql),"show-template":t.forwardRef($l),sliders:t.forwardRef(Kl),smartpay:t.forwardRef(Ul),"sort-by":t.forwardRef(Wl),"star-solid":t.forwardRef(Jl),star:t.forwardRef(Yl),subscriptions:t.forwardRef(Ql),"system-entries":t.forwardRef(Xl),tag:t.forwardRef(Zl),"template-override":t.forwardRef(ea),templates:t.forwardRef(ta),"thumb-both":t.forwardRef(na),"thumb-down-solid":t.forwardRef(la),"thumb-down":t.forwardRef(aa),"thumb-up-solid":t.forwardRef(ra),"thumb-up":t.forwardRef(oa),"tick-bold":t.forwardRef(ia),tick:t.forwardRef(sa),time:t.forwardRef(ca),"transfer-cancel":t.forwardRef(ua),"transfer-locked":t.forwardRef(da),transfer:t.forwardRef(ma),undo:t.forwardRef(ga),undock:t.forwardRef(fa),unreconciled:t.forwardRef(ha),warning:t.forwardRef(va),webshop:t.forwardRef(pa),website:t.forwardRef(wa),"workflow-template-basic":t.forwardRef(ba),workflow:t.forwardRef(Ea),zoom:t.forwardRef(xa)},za=n.forwardRef((function(e,t){var a;const{name:r,...o}=e,i=ya[r],s=l("inline-flex h-[1.715em] w-[1.715em] flex-shrink-0",e.className,{"p-[3px]":null===(a=e.className)||void 0===a?void 0:a.includes("rounded-full")});return i?n.createElement(i,Object.assign({},o,{className:s,"data-taco":"icon","data-icon-name":r,focusable:"false",ref:t,role:"img"})):null})),Ra=t.forwardRef((function(e,n){const{color:a,icon:r,subtle:o,small:i,...s}=e,c=l("rounded-full border overflow-hidden whitespace-nowrap inline-flex items-center justify-center border-transparent [&>*]:max-h-full",{"w-5 h-5":!i},{"w-4 h-4 text-xs":i},{[U(a)]:o,[W(a)]:!o},e.className);return t.createElement("span",Object.assign({},s,{"aria-label":"icon",className:c,"data-taco":"badge-icon",ref:n,role:"status",title:e["aria-label"]}),t.createElement(za,Object.assign({name:r},{strokeWidth:1,stroke:"currentColor"})))})),Ca=e=>{switch(e){case"information":return"info";case"warning":return"warning";case"error":return"close";case"success":return"tick";default:return"question-mark"}},Sa=n.forwardRef((function(e,t){const{children:a,title:r,state:o,onClose:i}=e,s=l("flex w-full flex-row items-start gap-2 rounded-md border-transparent p-3 "+U($(o)),e.className);return n.createElement("div",Object.assign({},e,{ref:t,className:s,"data-taco":"alert",role:"alert"}),n.createElement(Ra,{className:"flex-none",icon:Ca(o),color:$(o)}),n.createElement("div",{className:"grow text-sm"},r&&n.createElement("div",{className:"font-bold"},r),a),i&&n.createElement(za,{className:"flex-none cursor-pointer",name:"close",onClick:i}))})),Na=n.createContext({props:{},ref:null});function Aa(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}const Oa=t.forwardRef((function(e,l){const{ref:r,props:o}=n.useContext(Na),i=Aa([r,l]);return t.createElement(a.Trigger,Object.assign({},o,e,{ref:i,asChild:!0}))})),Ia=t.forwardRef((function(e,n){return t.createElement("div",Object.assign({},e,{className:"flex justify-end gap-2",ref:n}),e.children)})),La=t.forwardRef((function(e,n){return t.createElement(a.Cancel,Object.assign({},e,{ref:n,asChild:!0}))})),Ha=t.forwardRef((function(e,n){return t.createElement(a.Action,Object.assign({},e,{className:e.className,ref:n,asChild:!0}))})),Ma=t.forwardRef((function(e,n){const a=l("fixed inset-0 cursor-default overflow-y-auto bg-blue-900/[0.3] aria-hidden:invisible print:overflow-visible print:absolute",e.className);return t.createElement("div",Object.assign({},e,{className:a,"data-taco":"backdrop",ref:n}))})),ka=e=>{switch(e){case"dialog":return"w-128";case"xs":return"w-xs";case"sm":return"w-sm";case"md":return"w-md";case"lg":return"w-lg"}},Va=t.forwardRef((function(e,n){const r=l("text-center",e.className);return t.createElement(a.Title,Object.assign({},e,{className:r,ref:n}))})),ja=t.forwardRef((function(e,n){const r=l("p-6","mt-16 mx-auto","bg-white rounded animate-[fade-in_150ms] shadow-[0_6px_9px_0_rgba(89,85,98,0.3),0_0_1px_0_rgba(89,85,98,0.2)]",ka("dialog"));return t.createElement(a.Portal,null,t.createElement(a.Overlay,{asChild:!0},t.createElement(Ma,null,t.createElement(a.Content,Object.assign({},e,{ref:n,className:r,onEscapeKeyDown:e=>e.preventDefault()}),e.children))))})),Ta=t.forwardRef((function(e,n){const{defaultOpen:l,onChange:r,open:o,trigger:i,...s}=e,c=t.useMemo(()=>({props:s,ref:n}),[o,s]);return t.createElement(Na.Provider,{value:c},t.createElement(a.Root,Object.assign({},e,{defaultOpen:l,open:o,onOpenChange:r}),i&&t.createElement(Oa,null,i),e.children))}));Ta.Trigger=Oa,Ta.Content=ja,Ta.Title=Va,Ta.Cancel=La,Ta.Action=Ha,Ta.Footer=Ia;const Da=n.createContext({as:"h2"}),Fa=n.forwardRef((function(e,t){const a=!!e["aria-expanded"],r=l("w-full inline-flex justify-between items-center align-middle","focus:rounded-sm focus:border-blue-500 focus:yt-focus",e.className);return n.createElement("button",Object.assign({},e,{ref:t,className:r}),e.children,n.createElement(za,{name:a?"chevron-up":"chevron-down"}))})),Pa=n.forwardRef((function(e,t){const{children:l}=e,{as:a}=n.useContext(Da);return n.createElement(r.Header,{asChild:!0},n.createElement(a,{className:"my-3"},n.createElement(r.Trigger,{ref:t,asChild:!0},n.createElement(Fa,null,l))))})),Ba=n.forwardRef((function(e,t){return n.createElement(r.Content,Object.assign({},e,{ref:t}))})),_a=e=>{const{id:t,defaultId:a,onChange:o,as:i="h2",...s}=e,c=n.useMemo(()=>({as:i}),[i]);let u;u=a?{defaultValue:a||void 0}:{onValueChange:o,value:t||void 0};const d="string"==typeof u.defaultValue||"string"==typeof u.value?"single":"multiple",m=l("divide-y divide-grey-200",e.className);return n.createElement(Da.Provider,{value:c},n.createElement(r.Root,Object.assign({},s,u,{"data-taco":"accordion",className:m,type:d})))};_a.Item=e=>{const{id:t,...l}=e;return n.createElement(r.Item,Object.assign({},l,{value:t}))},_a.Trigger=Pa,_a.Content=Ba;const Ga=t.forwardRef((function(e,n){return t.createElement("span",Object.assign({},e,{className:"sr-only",ref:n}))})),qa=t.forwardRef((function(e,n){const{children:a,compact:r=!1,outline:o=!1,status:i=!1,subtle:s=!1,small:c=!1,color:u,...d}=e,m="transparent"===u,g=l("rounded-full border overflow-hidden whitespace-nowrap inline-flex items-center justify-center",{["border "+K(u)]:o,["border-transparent font-normal "+U(u)]:s,["border-transparent "+W(u)]:!o&&!s,"h-4 min-w-0 py-0 px-1 text-xs":c,"h-2 w-2 min-w-0":r,"font-bold":o||!s,"text-sm":!c,"h-5 py-0 px-1.5":!r&&!c,"!bg-grey-700":r&&m},e.className);return t.createElement("span",Object.assign({},d,{"aria-atomic":"true","aria-live":"polite",className:g,"data-taco":"badge",ref:n,role:"status",title:e["aria-label"]}),r?t.createElement(Ga,null,a):i?t.createElement(t.Fragment,null,t.createElement("div",{className:l("mr-1 h-2 w-2 rounded-full",W(u))}),a):a)})),$a=e=>{const t=n.useRef(null);return n.useEffect(()=>{e&&("function"==typeof e?e(t.current):e.current=t.current)},[e]),t},Ka=(e,t=0)=>{let n=0,l=null;const a=e.getBoundingClientRect();for(const r of Array.from(e.children)){if(r.getBoundingClientRect().right-a.left>a.width-t){l=n;break}n++}return l},Ua=e=>{switch(null==e?void 0:e.getAttribute("role")){case"dialog":return`[aria-controls='${e.id}']`;case"menu":return"#"+e.getAttribute("aria-labelledby");default:return}};function Wa(e,t){var n,l;const a=null!==(n=Ua(e))&&void 0!==n?n:Ua(null!==(l=null==e?void 0:e.closest("[role=dialog],[role=menu]"))&&void 0!==l?l:null);return a?!(null==t||!t.querySelector(a)):!(null==t||!t.contains(e))}function Ja(e){return!(null==e||!e.closest("[role=dialog],[role=menu]"))}function Ya(e,t){var n;return!(null==e||null===(n=e.closest("[role=dialog],[role=menu]"))||void 0===n||!n.contains(t))}function Qa(e){return!!e&&["A","BUTTON","INPUT","TEXTAREA","SELECT","LABEL","OPTION"].includes(e.tagName)&&!e.hidden&&!e.disabled&&!e.readOnly}function Xa(e){return tr()?e.metaKey:e.ctrlKey}function Za(e,t){const n="string"==typeof t?{key:t,meta:!1,shift:!1}:t;return!(n.meta&&(tr()?!e.metaKey:!e.ctrlKey)||!n.meta&&(tr()?e.metaKey:e.ctrlKey)||n.shift&&!e.shiftKey||!1===n.shift&&e.shiftKey||e.key.toLowerCase()!==n.key.toLowerCase())}function er(e,t,n=!0){return function(l){var a;l.target!==l.currentTarget&&Qa(l.target)&&!Xa(l)||Za(l,e)&&(n&&(l.stopPropagation(),null===(a=l.stopImmediatePropagation)||void 0===a||a.call(l)),t(l))}}const tr=()=>{var e;return null===(e=window)||void 0===e?void 0:e.navigator.userAgent.includes("Mac")},nr=(e,t)=>{n.useEffect(()=>{let n;return e&&(n=er(e,t,!1),document.addEventListener("keydown",n)),()=>{n&&document.removeEventListener("keydown",n)}},[e,t])},lr=t.forwardRef((function(e,n){const{disabled:l,shortcut:a,target:r,type:o="button",...i}=e,s=$a(n);nr(a,e=>{var t;null==e||e.preventDefault();const n=document.querySelector('[role="dialog"]');(!n||null!=n&&n.contains(s.current))&&(null===(t=s.current)||void 0===t||t.click())});const c=e.href?"a":"button";return t.createElement(c,Object.assign({},i,{href:l?void 0:e.href,"aria-disabled":l?"true":void 0,disabled:l,target:"a"===c?r:void 0,type:"a"!==c?o:void 0,ref:s}),t.Children.count(e.children)>1?t.Children.map(e.children,e=>"string"==typeof e?t.createElement("span",null,e):e):e.children)})),ar=t.forwardRef((function(e,n){const{title:a,children:r,placement:i,hide:s=!1,...c}=e,u=l(c.className);return s?r:t.createElement(o.Root,{delayDuration:250},t.createElement(o.Trigger,{asChild:!0,ref:n},r),t.createElement(o.Portal,null,t.createElement(o.Content,Object.assign({},c,{asChild:!0,className:u,side:i,sideOffset:3}),t.createElement("div",{className:"xs:max-w-[theme(spacing.56)] max-w-[theme(spacing.32)] animate-[fade-in_150ms] rounded-sm bg-blue-900 px-2 py-1 text-xs font-bold text-white print:hidden","data-taco":"tooltip",style:{transformOrigin:"var(--radix-tooltip-content-transform-origin)"}},t.createElement(o.Arrow,{className:"-mt-px fill-blue-900/90 stroke-blue-900/90"}),a))))})),rr=(e,t=!1)=>{switch(e){case"primary":return"wcag-blue-500 visited:wcag-blue-500 hover:wcag-blue-700 hover:active:wcag-blue-500 aria-disabled:bg-blue-500/50 aria-disabled:active:bg-blue-500/50";case"danger":return"wcag-red-500 visited:wcag-red-500 hover:wcag-red-700 hover:active:wcag-red-500 aria-disabled:bg-red-500/50 aria-disabled:active:bg-red-500/50";case"ghost":return"bg-white border border-blue-500 text-blue-500 visited:text-blue-500 hover:bg-blue-100 hover:text-blue-700 aria-disabled:border-blue-500/50 aria-disabled:text-blue-500/50 aria-disabled:bg-white";case"discrete":return t?"bg-transparent text-black visited:text-black hover:bg-[#000]/[0.08] aria-disabled:text-black/30":"bg-transparent text-blue-500 visited:text-blue-500 hover:text-blue-700 aria-disabled:text-blue-500/50";case"transparent":return"bg-transparent text-black visited:text-black hover:text-black hover:bg-[#000]/[0.08] aria-disabled:text-black/30 aria-disabled:bg-transparent";default:return"wcag-grey-200 visited:wcag-grey-200 hover:wcag-grey-300 aria-disabled:bg-grey-200/50 aria-disabled:text-black/30"}},or=(e,t,l)=>{const{tooltip:a,...r}=e,o=n.createElement(lr,Object.assign({},r,{className:t,ref:l}));return a?n.createElement(ar,{title:a},o):o},ir=(e,t)=>{const{dialog:n,drawer:l,hanger:a,menu:r,popover:o}=e;let i=t;return"function"==typeof n?i=n({trigger:i}):"function"==typeof l?i=l({trigger:i}):"function"==typeof r?i=r({trigger:i}):"function"==typeof o&&(i=o({trigger:i})),"function"==typeof a&&(i=a({anchor:i})),i},sr=t.forwardRef((function(e,n){const{icon:a,rounded:r=!1,...o}=e,i=l("w-8","flex-shrink-0 min-h-[theme(spacing.8)] min-w-[theme(spacing.8)] gap-1 h-max leading-5 inline-flex items-center justify-center focus-visible:yt-focus aria-disabled:cursor-not-allowed",rr(o.appearance,!0),{"rounded-full":r,rounded:!r},e.className);return a?or({...o,children:t.createElement(za,{name:a,className:"m-0 p-0"}),"data-taco":"icon-button"},i,n):null})),cr=t.forwardRef((function(e,n){const{dialog:l,hanger:a,menu:r,popover:o,...i}=e,s=t.createElement(sr,Object.assign({},i,{ref:n}));return ir({dialog:l,hanger:a,menu:r,popover:o},s)})),ur={banner:{close:"Close"},calendar:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],actions:{previousMonth:"Previous month",nextMonth:"Next month",previousYear:"Previous year",nextYear:"Next year",today:"Today"}},combobox:{tooltip:"Search in list"},datepicker:{calendar:"Calendar",clear:"Clear",expand:"Show calendar",shortcuts:"Shortcuts"},dialog:{close:"Close",drag:"Drag"},hanger:{close:"Close"},header:{addAgreement:"Add agreement",logout:"Log off",more:"More",new:"New",search:"Search for agreement..."},listbox:{loading:"Loading results...",empty:"No results found",allOption:"All"},pagination:{label:"Pagination",pageSize:"Items per page",showingXofYofTotal:"Showing [X] - [Y] of [total]",actions:{firstPage:"Goto first page",firstPageWithShortcut:"Goto first page (Home)",previousPage:"Goto previous page",previousPageWithShortcut:"Goto previous page (Page Up)",nextPage:"Goto next page",nextPageWithShortcut:"Goto next page (Page Down)",lastPage:"Goto last page",lastPageWithShortcut:"Goto last page (End)",pageX:"Goto page [X]"}},table:{actions:"Other actions",edit:"Edit (e)",copy:"Copy (c)",del:"Delete (del)",newSubRow:"New row (shift + n)",loading:"Loading..."},table3:{columns:{actions:{tooltip:"Row actions"},drag:{tooltip:"Drag row"},expansion:{collapse:"Collapse row",collapseAll:"Collapse all rows",expand:"Expand row",expandAll:"Expand all rows"},menu:{editFilter:"Edit filter",filter:"Filter",freezeFirstColumn:"Freeze the first column",freezeUptoColumn:"Freeze first [TOTAL] columns",freezeColumns:(e=1)=>1===e?"Freeze the first column":`Freeze first ${e} columns`,gotoRow:"Go to",hideColumn:"Hide column",unfreezeColumns:"Unfreeze all columns",sorting:"Sorting",sortingOrder:{ascending:"Ascending order",descending:"Descending order",unsorted:"No sorting"}},resize:{tooltip:"Resize column"},select:{deselect:"Deselect row",deselectAll:"Deselect all rows",select:"Select row",selectAll:"Select all rows"}},columnSettings:{search:"Search column...",tooltip:"Column settings",button:"Column settings",noResults:"No results"},editing:{actions:{tooltip:"Row actions",save:"Save",clear:"Clear changes",exit:"Exit edit mode"},buttons:{edit:{tooltip:"Edit table"}},rowIndicator:{rowWillMove:"Row will move due to sorting",rowWillBeHidden:"Row will hide due to filtering",rowWillMoveReasonSearch:"Due to a search filter applied to this table, this row will be hidden as soon as you select another row",rowWillMoveReasonFilter:"Due to a filter applied to the column '[COLUMN]', this row will be hidden as soon as you select another row",rowWillMoveReasonSorting:"Due to sorting applied to the column '[COLUMN]', this row will move position as soon as you select another row"},saving:{progress:"Saving...",complete:"Saved"},clearChangesConfirmationDialog:{title:"Discard changes",description:"Are you sure you want to discard changes on row ‘[ROW_IDENTIFIER] [ROW_IDENTIFIER_VALUE]’. Your changes will be lost.",cancel:"Continue edititng",confirm:"Discard"}},filters:{button:"Filters",buttons:{addFilter:"Add new filter",clearFilters:"Clear all filters"},comparators:{contains:"Contains",doesNotContain:"Does not contain",isEqualTo:"Is",isNotEqualTo:"Is not",isGreaterThan:"Is greater than",isLessThan:"Is less than",isBetween:"Is between",isOneOf:"Is one of",isNoneOf:"Is none of",isAllOf:"Is all of",isEmpty:"Is empty",isNotEmpty:"Is not empty",isBefore:"Is before",isAfter:"Is after",isOnOrBefore:"Is on or before",isOnOrAfter:"Is on or after",isLessThanOrEqualTo:"Is less than or equal to",isGreaterThanOrEqualTo:"Is greater than or equal to",hasAnyOf:"Has any of",hasAllOf:"Has all of",hasNoneOf:"Has none of"},conditions:{and:"And",where:"Where"},emptyFilter:{condition:"Condition",value:"Value"},hiddenColumn:"Hidden column",hiddenGroupedColumn:"Hidden grouped column",tooltip:"Apply filters",total:"Viewing [CURRENT] of [TOTAL]"},fontSize:{tooltip:"Font size",sizes:{small:"Small",medium:"Medium",large:"Large"}},footer:{summary:{count:"of",records:"Records:",selected:"Records selected:"}},print:{error:"An error occurred while creating a print preview",loading:"Creating a print preview",tooltip:"Print",warningDialog:{title:"Extra loading time",description:"Please note that printing a large amount of data may result in a slightly longer waiting time due to data loading.",checkboxVisibilityLabel:"Don't show again",cancelButtonText:"Cancel",printButtonText:"Print"},settingsDialog:{title:"Print settings",size:"Paper size",sizeA5:"A5",sizeA4:"A4",sizeA3:"A3",sizeLetter:"Letter",sizeLegal:"Legal",orientation:"Paper orientation",orientationLandscape:"Landscape",orientationPortrait:"Portrait",rows:"Print rows",rowsAll:"All",rowsSelected:"Selected",layout:"Page layout",layoutSplitGroups:"New page for each [COLUMN]"}},rowHeight:{tooltip:"Row height",sizes:{short:"Short",medium:"Medium",tall:"Tall",extraTall:"Extra tall"}},search:{excludeUnmatchedResults:"Show only search results",placeholder:"Search..."},shortcuts:{tooltip:"View keyboard shortcuts",search:"Search",filter:"Filter",previousRow:"Previous row",nextRow:"Next row",editCell:"Edit cell",previousColumn:"Previous column",nextColumn:"Next column",rowClick:"Activate current row",selectRow:"Select current row",selectAllRows:"Select all rows",expandRow:"Expand current row",collapseRow:"Collapse current row"},otherOptions:{tooltip:"Table settings"},validation:{index:"Index",alert:{unsavedEntries:(e=1)=>1===e?"unsaved entry:":"unsaved entries:",incompleteAndHavntBeenSaved:(e=1)=>1===e?"is incomplete and haven’t been saved.":"are incomplete and haven’t been saved."},resetFiltersDialog:{title:"Row is hidden",description:"The row is hidden due to filtering.",cancel:"Cancel",confirm:"Remove filters"}}},searchInput:{button:"Search",findNext:"Next",findPrevious:"Previous",placeholder:"Search...",clear:"Clear"},select:{allOptionsSelected:"All"},select2:{allSelect:"Select all",allDeselect:"Deselect all",cancel:"Cancel",chooseColor:"Pick a color",create:"Create",delete:"Delete",save:"Save",search:"Search...",searchOrCreate:"Search or create...",selectAll:"Select all",selectAllResults:"Select all results",deselectAll:"Deselect all",deselectAllResults:"Deselect all results"},toasts:{dismiss:"Dismiss"},tour:{back:"Back",close:"Close",skip:"Close and complete",last:"Done",next:"Next",open:"Open"},drawer:{close:"Close"}},dr={locale:"en-GB",texts:ur,formatting:{date:"dd.mm.yy"}},mr=t.createContext(dr),gr=({localization:e,children:n})=>t.createElement(mr.Provider,{value:null!=e?e:dr},n),fr=()=>t.useContext(mr),hr=t.forwardRef((function(e,a){const{children:r,state:o,onClose:i}=e,{texts:s}=fr(),c=l("bg-white relative flex items-center gap-2 py-2 px-4 leading-6 shadow-md z-10",e.className);return t.createElement("div",{className:c,"data-taco":"banner",ref:a},(u=o,n.createElement("div",{className:"mt-[5px] self-start"},(()=>{switch(u){case"success":return n.createElement(Ra,{icon:"tick",color:"green"});case"error":return n.createElement(Ra,{icon:"close",color:"red"});case"warning":return n.createElement(Ra,{icon:"warning",color:"yellow"});case"information":return n.createElement(Ra,{icon:"info",color:"blue"});default:return null}})())),r,i?t.createElement(cr,{"aria-label":s.banner.close,className:"-mr-2 ml-auto self-start",icon:"close",appearance:"discrete",onClick:i}):null);var u})),vr=t.forwardRef((function(e,t){const{appearance:n,fluid:a,...r}=e,o=l("flex-shrink-0 min-h-[theme(spacing.8)] min-w-[theme(spacing.8)] gap-1 h-max leading-5 inline-flex items-center justify-center focus-visible:yt-focus aria-disabled:cursor-not-allowed",rr(n),"rounded px-3",{"w-full":a},e.className);return or({...r,"data-taco":"button"},o,t)})),pr=t.forwardRef((function(e,n){const{dialog:l,drawer:a,hanger:r,menu:o,popover:i,...s}=e;let c=s.children;"function"==typeof o&&(c=Array.isArray(c)?[...c,t.createElement(za,{key:"chevron-down",name:"chevron-down"})]:[c,t.createElement(za,{key:"chevron-down",name:"chevron-down"})]);const u=t.createElement(vr,Object.assign({},s,{ref:n}),c);return ir({dialog:l,drawer:a,hanger:r,menu:o,popover:i},u)})),wr=(new Date).getFullYear(),br=[];for(let e=wr-50;e<=wr+10;e+=1)br.push(e);const Er=t.memo(({onMonthChange:e,onNextClick:n,onPreviousClick:l,value:a=new Date})=>{const{texts:{calendar:{actions:r,months:o}}}=fr(),i=function(t){const{year:n,month:l}=t.target.form;e(new Date(n.value,l.value))};return t.createElement("div",{className:"mb-1 flex items-center justify-between"},t.createElement("form",{className:"inline-flex space-x-1"},t.createElement("select",{className:"h-8 px-2",name:"month",onChange:i,value:a.getMonth()},o.map((e,n)=>t.createElement("option",{key:e,value:n},e))),t.createElement("select",{className:"h-8 px-2",name:"year",onChange:i,value:a.getFullYear()},br.map(e=>t.createElement("option",{key:e,value:e},String(e))))),t.createElement("div",null,t.createElement(ar,{title:r.previousMonth},t.createElement(cr,{appearance:"discrete",icon:"chevron-left","aria-label":r.previousMonth,onClick:()=>l(),rounded:!0})),t.createElement(ar,{title:r.nextMonth},t.createElement(cr,{appearance:"discrete",icon:"chevron-right","aria-label":r.nextMonth,onClick:()=>n(),rounded:!0}))))}),xr=t.forwardRef((function(e,n){const{onChange:a,value:r,disabledDays:o,...s}=e,{locale:c,texts:u}=fr(),[d,m]=t.useState(null!=r?r:new Date);t.useEffect(()=>{d!==r&&m(null!=r?r:new Date)},[r]);const g=l("flex bg-white text-xs p-2",s.className);return t.createElement("div",{"data-taco":"calendar"},t.createElement(i,Object.assign({},s,{className:g,month:d,selectedDays:r,locale:c.substring(0,2),firstDayOfWeek:1,months:u.calendar.months,weekdaysLong:u.calendar.weekdays,weekdaysShort:u.calendar.weekdaysShort,navbarElement:e=>t.createElement(Er,Object.assign({},e,{onMonthChange:m,value:d})),onDayClick:(e,t,n)=>{t.outside||t.disabled||a(e,n)},onMonthChange:m,onTodayButtonClick:()=>{const e=new Date;e.setHours(12),e.setMinutes(0),e.setSeconds(0),a(e)},captionElement:()=>null,todayButton:u.calendar.actions.today,numberOfMonths:1,ref:n,disabledDays:o})))})),yr=e=>null!==e&&e.offsetWidth<e.scrollWidth,zr=({children:e,tooltip:t})=>{const a=n.useRef(null),[r,o]=n.useState(!1),{isTruncated:i}=((e,t=[])=>{const[l,a]=n.useState(yr(e));return n.useEffect(()=>{a(yr(e))},[e,...t]),{isTruncated:l}})(a.current,[r]);n.useEffect(()=>(o(!0),()=>o(!1)),[]);const s=n.cloneElement(n.Children.only(e),{ref:a,className:l(e.props.className,"truncate",{"hover:cursor-pointer":i})});return i?n.createElement(ar,{title:t},s):s},Rr=t.forwardRef((function(e,n){const{noPadding:a,...r}=e,o=l("flex-grow overflow-auto",{"mx-4 mb-4":!a},r.className);return t.createElement("div",Object.assign({},r,{className:o,"data-taco":"card-content",ref:n}))})),Cr=t.forwardRef((function(e,n){const{title:a,menu:r,children:o}=e,i=l("bg-white flex flex-col rounded-xl border border-solid border-radius-[12px] border-grey-300 hover:border-grey-500",e.className);return t.createElement("div",{className:i,"data-taco":"card",ref:n},t.createElement("div",{className:"mx-4 mb-2 mt-4 flex"},a&&t.createElement(zr,{tooltip:a},t.createElement("h4",{className:"mb-0 flex-grow truncate text-left"},a)),r?t.createElement(cr,{icon:"ellipsis-horizontal",appearance:"discrete",menu:r,className:"-mt-[4px]"}):null),o)}));Cr.Content=Rr;const Sr=e=>n.useMemo(()=>null!=e?e:c.v4(),[]),Nr=n.forwardRef((function(e,t){const{delay:a=350,label:r,...o}=e,[i,s]=n.useState(!a);if(n.useEffect(()=>{let e;return a&&(e=window.setTimeout(()=>s(!0),a)),()=>{e&&clearTimeout(e)}},[a]),!i)return null;const c=l("inline-flex flex-col relative items-center",o.className);return n.createElement("div",Object.assign({},o,{className:c,"data-taco":"spinner",ref:t}),n.createElement("svg",{className:"h-10 w-10 animate-[spinnerRotation_2s_linear_infinite]",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},n.createElement("circle",{cx:"50",cy:"50",r:"45"})),r&&n.createElement("span",{className:"mt-4"},r))})),Ar=t.forwardRef((function(e,n){const{checked:a,indeterminate:r,invalid:o,label:i,loading:c,onChange:u,...d}=e,m=Sr(e.id),g=l("bg-white h-5 w-5 border rounded text-sm flex-shrink-0 mt-[0.1rem] focus-visible:yt-focus disabled:cursor-not-allowed text-white",{"self-start":!!i},o?{"border-red-500 hover:border-red-700 aria-checked:border-red-500 aria-checked-mixed:border-red-500 aria-checked:bg-red-500 aria-checked-mixed:bg-red-500 aria-checked:hover:border-red-700 aria-checked-mixed:hover:border-red-700 aria-checked:hover:bg-red-700 aria-checked-mixed:hover:bg-red-700":!e.disabled,"border-red-500/50 aria-checked:wcag-red-500/50 aria-checked-mixed:wcag-red-500/50":e.disabled}:{"border-grey-500 hover:border-grey-700 aria-checked:border-blue-500 aria-checked-mixed:border-blue-500 aria-checked:bg-blue-500 aria-checked-mixed:bg-blue-500 aria-checked:hover:border-blue-700 aria-checked-mixed:hover:border-blue-700 aria-checked:hover:bg-blue-700 aria-checked-mixed:hover:bg-blue-700":!e.disabled,"border-grey-500/50 aria-checked:bg-blue-500/50 aria-checked-mixed:bg-blue-500/50":e.disabled},e.className);let f;u&&(f=e=>u("indeterminate"!==e&&e));let h=null;i&&(h={"aria-labelledby":m+"-label",id:m});const v=l("m-0.5 !h-[calc(100%-theme('spacing.1'))] !w-[calc(100%-theme('spacing.1'))]",{"text-blue-500":!a&&!r}),p=t.createElement(s.Root,Object.assign({},d,h,{"aria-invalid":o?"true":void 0,"data-taco":"checkbox",checked:r?"indeterminate":a,className:g,onCheckedChange:f,onKeyDown:e=>{"Enter"===e.key&&e.currentTarget.click()},ref:n}),c?t.createElement(Nr,{className:v}):t.createElement(s.Indicator,{className:"flex h-full w-full"},t.createElement(za,{name:r?"line":"tick",className:"!h-full !w-full"})));if(i){const n=l("flex items-center cursor-pointer gap-2",{"cursor-not-allowed text-grey-300":e.disabled});return t.createElement("span",{className:n,"data-taco":"checkbox-container"},p,t.createElement("label",{htmlFor:m,id:m+"-label"},i))}return p}));Ar.displayName="Checkbox";const Or=e=>{const t=e.disabled||!!e["aria-disabled"],n=e.readOnly||!!e["aria-readonly"],a=e.invalid||!!e["aria-invalid"];return l("peer text-black text-sm border font-normal not-italic no-underline rounded flex items-center leading-6 px-2 relative w-full text-ellipsis transition-colors transition-opacity ease-in min-h-[theme(spacing.8)] focus-visible:yt-focus","[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",{"bg-white":!e.highlighted&&!n,"border-grey-300 enabled:hover:border-grey-500 disabled:border-grey-200":!a,"text-opacity-25 cursor-not-allowed placeholder:text-grey-700":t,"bg-yellow-100/50":e.highlighted&&t,"bg-yellow-100":e.highlighted&&!t,"border-red-500 enabled:hover:border-red-700 disabled:border-red-500/50":a,"cursor-not-allowed text-black bg-grey-200":n})},Ir=(e,t)=>{let n;return function(...l){clearTimeout(n),n=setTimeout(()=>e.apply(this,l),t)}},Lr=e=>Boolean(e&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),Hr=(e,n)=>{const[l,a]=t.useState(void 0),r=Lr(e.current),[o,i]=t.useState(r),s=()=>{var t;o&&a(null===(t=e.current)||void 0===t?void 0:t.getBoundingClientRect())};return t.useEffect(()=>{const e=setTimeout(s,0),t=Ir(s,250);return window.addEventListener("resize",t),()=>{clearTimeout(e),window.removeEventListener("resize",t)}},[e.current,o]),t.useEffect(()=>{const t=Lr(e.current);o!==t&&i(t)}),t.useEffect(()=>{var t;n&&a(null===(t=e.current)||void 0===t?void 0:t.getBoundingClientRect())},n),l},Mr=["text","search","url","tel","password"],kr=t.forwardRef((function(e,n){const{highlighted:a,invalid:r,onKeyDown:o,postfix:i,prefix:s,type:c="text",...u}=e,d=$a(n);t.useLayoutEffect(()=>{var e;d.current&&"number"===c&&(e=d.current.setSelectionRange,d.current.setSelectionRange=function(...t){"number"===this.type?(this.type="text",e.apply(this,t),this.type="number"):e.apply(this,t)})},[]);const m=t.useRef(null),g=Hr(m),f=t.useRef(null),h=Hr(f,[i]),v=l(Or(e),{"pl-8":!!s,"pr-8":!!i},u.className),p={type:c};return"number"===c&&(p.onWheelCapture=e=>{document.activeElement===e.currentTarget&&requestAnimationFrame(()=>{e.target.focus()}),e.currentTarget.blur()}),t.createElement("div",{className:"relative inline-flex h-fit w-full","data-taco":"input-container",style:{opacity:.999}},t.createElement("input",Object.assign({},u,p,{"aria-invalid":r,className:v,"data-highlighted":a,"data-taco":"input",onKeyDown:e=>{if(1!==e.key.length||Xa(e)||e.stopPropagation(),Mr.includes(c)&&!e.shiftKey&&("Home"===e.key||"End"===e.key)){e.preventDefault();const t="End"===e.key?e.currentTarget.value.length:0;e.currentTarget.setSelectionRange(t,t)}"function"==typeof o&&o(e)},ref:d,style:{paddingLeft:g?g.width-1+"px":void 0,paddingRight:h?h.width-1+"px":void 0}})),s?t.createElement(Vr,{type:"prefix",children:s,disabled:u.disabled,ref:m}):null,i?t.createElement(Vr,{type:"postfix",children:i,disabled:u.disabled,ref:f}):null)})),Vr=t.memo(t.forwardRef((function(e,n){const{children:a,disabled:r,type:o}=e;return t.createElement("div",{className:l("group absolute top-0 flex h-full items-center justify-center px-2",'[&_[data-taco="icon"]]:!h-5 [&_[data-taco="icon"]]:!w-5',{"text-grey-300":r,"text-grey-700":!r,"left-0 [&>button]:!-ml-2":"prefix"===o,"right-0 [&>button]:!-mr-2":"postfix"===o}),"data-affix-type":o,ref:n},a)}))),jr=t.forwardRef((function(e,n){var a;const{button:r,icon:o,...i}=e;let s;if(r){const e=r.props.disabled||i.disabled,n=l("items-center focus:z-10 flex justify-center rounded-l-none rounded-r h-full focus:rounded focus:outline-none",((e,t=!1)=>e?l("border border-red-500 group-peer-hover:enabled:border-red-700 transition-colors ease-in",{"border-red-500/30":t}):"border border-grey-300 group-peer-hover:enabled:border-grey-500 transition-colors transition-opacity ease-in")(i.invalid,e),r.props.className);s=t.cloneElement(r,{className:n,disabled:e})}else o&&(s="string"==typeof o?t.createElement(za,{name:o}):o);return t.createElement(kr,Object.assign({},i,{postfix:null!==(a=i.postfix)&&void 0!==a?a:s,ref:n}))})),Tr=(e,t,n,l="vertical")=>{switch(e){case"horizontal"===l?"ArrowLeft":"ArrowUp":return void 0!==n?n-1<0?0:n-1:n;case"horizontal"===l?"ArrowRight":"ArrowDown":return void 0!==n?n+1>=t?n:n+1:n;case"Home":return 0;case"End":return t-1;default:return}},Dr=(e,t)=>({scrollTo:n=>{if(e&&e.current)if(void 0!==n){const l=t[n];l&&l.current&&((e,t)=>{const n=e.clientHeight;if(e.scrollHeight>n){const l=e.scrollTop,a=t.offsetTop+t.offsetHeight;a>n+l?e.scrollTop=a-n:t.offsetTop<l&&(e.scrollTop=t.offsetTop)}})(e.current,l.current)}else e.current.scrollTop=0}}),Fr=(e,t)=>`${e}_${t}`,Pr=(e,t,n)=>{const l=Tr(e.key,t.length,n);if(l){if(l===n)return n;if(t[l]&&t[l].disabled)return Pr(e,t,l)}return l},Br=t.forwardRef((function(e,n){const{data:a,disabled:r,id:o,loading:i,onChange:s,onClick:c,onFocus:u,onKeyDown:d,readOnly:m,scrollOnFocus:g=!1,value:f,multiselect:h,selectedIndexes:v=[],allOptionsSelected:p=!1,...w}=e,b=$a(n),E=t.useMemo(()=>a.map(()=>t.createRef()),[a]),{texts:x}=fr(),{scrollTo:y}=Dr(b,E);t.useEffect(()=>{var e,t;f&&null!==(e=E[f])&&void 0!==e&&e.current&&(null===(t=E[f].current)||void 0===t||t.scrollIntoView({block:"center"}))},[]),t.useEffect(()=>{y(f)},[f]);const z=e=>t=>{s(e),c&&(t.persist(),c(t,e))},R=(e,t)=>"#ALL-OPTIONS#"===e?p:!(!e||!v)&&-1!==v.findIndex(e=>e===t),C=a.map((e,t)=>{const n=e.path?e.path.split(".").length-1:0;return{"aria-selected":h?R(String(e.value),t):f===t,"data-focused":f===t,children:e.text,className:l("flex items-center px-3 w-full cursor-pointer bg-white flex-[0_0_2rem] focus:wcag-blue-500 focus:border-blue-500",{"sticky top-0 font-bold":0===n&&!!e.hasChildren}),disabled:e.disabled,icon:e.icon,id:Fr(o,e.value),key:Fr(o,e.value),onClick:r||m?void 0:z(t),ref:E[t],role:"option",style:n>0?{paddingLeft:n+1+"rem"}:void 0}}),S={...w,className:l("inline-flex flex-col list-none !p-0 m-0 overflow-y-auto h-auto",Or(e),{"yt-list--multiselect":h,"pointer-events-none":r,"cursor-not-allowed":r||m},w.className),disabled:r,id:o,onFocus:r||m?void 0:e=>{g&&y(f),u&&(e.persist(),u(e))},onKeyDown:r||m?void 0:e=>{const t=Pr(e,a,f);void 0!==t&&t!==f&&(e.preventDefault(),y(t),s(t)),d&&(e.persist(),d(e,void 0!==t?t:f)),e.stopPropagation()},readOnly:m,ref:b,role:C.length<=0||i?"presentation":"listbox",tabIndex:w.tabIndex||0};return t.createElement("ul",Object.assign({},S,{"data-taco":"scrollable-list"}),i?t.createElement("li",{className:"yt-list__empty"},t.createElement("span",null,t.createElement(Nr,{delay:0})),t.createElement("span",null,x.listbox.loading)):C.length?C.map(({children:e,icon:n,...l})=>t.createElement("li",Object.assign({},l),n,t.createElement("span",{className:"flex-grow truncate text-left"},e),h&&t.createElement(Ar,{"aria-hidden":!0,tabIndex:-1,checked:l["aria-selected"],onChange:()=>null,className:"pointer-events-none ml-2 self-center p-px"}))):t.createElement("li",{className:"yt-list__empty"},t.createElement("span",null,x.listbox.empty)))})),_r=e=>{let t;return"function"==typeof Event?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event"),t.initEvent(e,!0,!0)),t},Gr=e=>{let t;return"function"==typeof KeyboardEvent?t=new KeyboardEvent(e.type,e):(t=document.createEvent("Event"),t.initEvent(e.type,!0,!0),t.key=e.key,t.charCode=e.charCode),t},qr=(e,t,n="change")=>{if(!e)return;const l=e.value;e.value=t||"";const a=e._valueTracker;a&&a.setValue(l),e.dispatchEvent(_r(n))},$r=e=>String(null!=e?e:""),Kr=(e,t,n="change")=>{qr(e,$r(t),n)},Ur=(e,t)=>{const n=e.findIndex(e=>$r(e.value)===$r(t));return n>-1?n:void 0},Wr=(e,t)=>"string"!=typeof t?[]:t.split(",").map(t=>e.findIndex(e=>String(e.value)===t)).filter(e=>-1!==e),Jr=(e,t)=>e.find(e=>$r(e.value)===$r(t)),Yr=(e,t,n="includes")=>{try{var l,a,r;return"string"!=typeof e&&null!==(l=e.props)&&void 0!==l&&l.children?Array.isArray(null===(a=e.props)||void 0===a?void 0:a.children)?!!e.props.children.find(e=>Yr(e,t,n)):Yr(null===(r=e.props)||void 0===r?void 0:r.children,t,n):e.toString().toLowerCase()[n](String(t).toLowerCase())}catch{return!1}},Qr=(e,t,n,l=e.length)=>{const a=e.slice(n,l).findIndex(e=>!e.disabled&&Yr(e.text,t,"startsWith"));return a>-1?a+n:-1},Xr=(e,t,n)=>void 0!==t&&e[t]?Fr(n,e[t].value):void 0,Zr=e=>n.useMemo(()=>{const t=[],n=(e,l,a,r)=>{const o=a?`${a}.${l}`:""+l,i=r||e.disabled;t.push({...e,disabled:i,path:o,hasChildren:!!e.children}),e.children&&e.children.forEach((e,t)=>n(e,t,o,i))};return e.forEach((e,t)=>{n(e,t)}),t},[e]),eo=e=>{if(e){const{...t}=e;return t}},to=(e,t)=>{var n;const l=null!==(n=null==t?void 0:t.split("."))&&void 0!==n?n:[];if(l.length>1){let t;return l.pop(),l.map(n=>(t=t?[t,n].join("."):n,eo(e.find(e=>e.path===t))))}return null},no=d(e=>e(),200),lo=e=>String(null!=e?e:""),ao=t.forwardRef((function(e,n){const{className:a,dialog:r,style:o,...i}=e,{combobox:s,button:d,input:m,popover:g,list:f}=(({"aria-labelledby":e,data:n=[],defaultValue:l,disabled:a,inline:r,onChange:o,onClick:i,onKeyDown:s,onSearch:u,readOnly:d,value:m,...g},f)=>{const h=$a(f),v=t.useRef(null),p=t.useRef(null),[w,b]=t.useState(!1),E=t.useMemo(()=>c.v4(),[]),[x,y]=t.useState(lo(m)),z=!u&&(!r||r&&x!==lo(m)),R=Zr(n),C=t.useMemo(()=>z?((e,t="")=>{if(""===t||null===t)return e;const n=new Set;return e.forEach(l=>{if((e=>!e.disabled&&Yr(e.text,String(t)))(l)){const t=to(e,l.path);n.add(l.value),null!==t&&t.forEach(e=>n.add(null==e?void 0:e.value))}}),e.filter(({value:e})=>n.has(e))})(R,x):R,[z,x,R]),[S,N]=t.useState(void 0!==x?Ur(C,x):void 0),A=e=>{if(void 0!==e){const t=C[e];t&&!t.disabled&&Kr(h.current,t.value,"focusout")}},O=e=>{void 0!==e&&(C[e].value!==m?A(e):y(lo(m)))};return t.useEffect(()=>{l&&!m&&A(Ur(C,l))},[C]),t.useEffect(()=>{void 0!==m&&m!==x&&y(lo(m))},[m]),t.useEffect(()=>{u&&no(()=>{u(x)})},[x]),t.useEffect(()=>{const e=null!=m&&x===String(m);x&&C.length&&!e?(N(0),w||b(!0)):b(!1)},[x,C]),t.useEffect(()=>{N(w?Ur(C,x)||0:void 0)},[w]),{combobox:{"aria-expanded":w,"aria-owns":E,"aria-haspopup":"listbox",role:"combobox"},input:{...g,"aria-controls":E,"aria-autocomplete":"list","aria-activedescendant":void 0!==S&&C[S]?Fr(E,String(C[S].value)):void 0,"aria-labelledby":e,disabled:a,onBlur:a||d?void 0:e=>{if(e.persist(),p.current&&e.relatedTarget===p.current)e.preventDefault();else{if(o&&e.target.value!==String(m)){const t=Jr(R,e.target.value);e.detail=eo(t);const n=to(R,null==t?void 0:t.path);null!==n&&n.length>0&&(e.detail.parents=n),o(e)}g.onBlur&&g.onBlur(e)}},onChange:a||d?void 0:e=>{y(e.target.value)},onClick:a||d?void 0:e=>{(r||!w&&x&&C.length)&&b(!0),i&&(e.persist(),i(e))},onKeyDown:a||d?void 0:e=>{switch(e.persist(),e.key){case"Backspace":return;case"Escape":return e.preventDefault(),y(lo(m)),void b(!1);case"Tab":case"Enter":return"Tab"!==e.key&&e.preventDefault(),O(S),void b(!1);case"ArrowDown":w?e.preventDefault():!r&&v.current&&v.current.click();break;case"ArrowUp":case"Home":case"End":w&&e.preventDefault()}if(p.current&&p.current.dispatchEvent(Gr(e)),r&&!w&&("ArrowUp"===e.key||"ArrowDown"===e.key)){e.preventDefault();const t="ArrowUp"===e.key?C.length-1:0;N(void 0!==S?S:t),b(!0)}!e.isDefaultPrevented()&&s&&(e.persist(),s(e))},readOnly:d,ref:h,type:"text",value:null!=x?x:""},list:{"aria-labelledby":e,data:C,disabled:a,id:E,onChange:e=>{N(e)},onClick:(e,t)=>{e.preventDefault(),O(t),b(!1)},ref:p,scrollOnFocus:!1,tabIndex:-1,value:S},button:{ref:v},popover:{open:w,onOpenChange:b}}})(i,n),h=t.useRef(null),{texts:v}=fr(),p=Hr(h),w=l("inline-flex relative",{"yt-combobox--inline":e.inline},a);return t.createElement("span",{className:w,"data-taco":"combobox",style:o},t.createElement(u.Root,Object.assign({},g),t.createElement(u.Anchor,{asChild:!0,ref:h},t.createElement("div",Object.assign({},s,{className:"inline w-full",ref:n}),t.createElement(jr,Object.assign({},m,{autoComplete:"off",button:e.inline?t.createElement(cr,{"aria-hidden":!0,appearance:"discrete",className:"!border-l-0 focus:!border-none focus:!shadow-none active:!border-none",icon:g.open?"chevron-up":"chevron-down",onClick:()=>{var e;g.onOpenChange(!0),null===(e=m.ref.current)||void 0===e||e.focus()},tabIndex:-1}):r?t.createElement(cr,{"aria-label":v.combobox.tooltip,icon:"list-search",disabled:e.readOnly||e.disabled,dialog:r,onFocus:e=>{var t;e.preventDefault(),null===(t=m.ref.current)||void 0===t||t.focus()},ref:d.ref,tabIndex:-1,tooltip:v.combobox.tooltip}):void 0})))),t.createElement(u.Portal,null,t.createElement(u.Content,{align:"start",onOpenAutoFocus:e=>{e.preventDefault()},sideOffset:4},t.createElement(Br,Object.assign({},f,{className:l("max-h-[calc(12rem+2px)] w-auto max-w-[theme(spacing.96)] !border-blue-500"),style:{minWidth:null==p?void 0:p.width},tabIndex:g.open?0:-1}))))))})),ro=(e,t)=>e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDay()===t.getDay(),oo=(e,t="dd.mm.yy")=>{if(!e)return;const n=m.isDate(e)?e:m.toDate(e);if(!m.isValid(n))return;const l=e=>1===String(e).length?"0"+e:e.toString();return t.replace("dd",l(n.getDate())).replace("mm",l(n.getMonth()+1)).replace("yy",String(n.getFullYear()).slice(2))},io=(e="",t="dd.mm.yy")=>{if(!e||!e.length)return;const n=t.split(/[^dmy]/),l=n.findIndex(e=>"dd"===e),a=n.findIndex(e=>"mm"===e),r=n.findIndex(e=>"yy"===e||"yyyy"===e);let o,i,s;const c=e=>e&&2===e.length?Number.parseInt(e,10)>50?"19"+e:"20"+e:e,u=e.split(/\D/);if(1===u.length){const e=u[0],n=t.replace(/[^dmy]/g,"");o=e.slice(n.indexOf("d"),n.lastIndexOf("d")+1),i=e.slice(n.indexOf("m"),n.lastIndexOf("m")+1),s=c(e.slice(n.indexOf("y"),n.lastIndexOf("y")+3))}else o=u[l],i=u[a],s=c(u[r]);o=Number.parseInt(o,10),i=Number.parseInt(i,10),s=Number.parseInt(s,10);const d=new Date;return new Date(Object.is(s,NaN)?d.getFullYear():s,Object.is(i,NaN)?d.getMonth():i-1,Object.is(o,NaN)?d.getDate():o,12,0)},so=e=>{const t=new Date(e);return m.isValid(t)?io(oo(new Date(e))):void 0},co=t.forwardRef((function(e,n){return t.createElement(u.Arrow,{className:"pointer-events-none -mt-px",asChild:!0,offset:2,width:30,height:11},t.createElement("svg",Object.assign({},e,{ref:n,viewBox:"0 19 30 11",style:{transform:"rotateZ(180deg)"}}),t.createElement("path",{className:"text-grey-300 fill-current group-focus:text-blue-300",d:"M23.7,27.1L17,19.9C16.5,19.3,15.8,19,15,19s-1.6,0.3-2.1,0.9l-6.6,7.2C5.3,28.1,3.4,29,2,29h26 C26.7,29,24.6,28.1,23.7,27.1z"}),t.createElement("path",{className:"fill-current",d:"M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z"})))})),uo=t.createContext({props:{},ref:null}),mo=t.forwardRef((function(e,n){return t.createElement(u.Anchor,Object.assign({},e,{asChild:!0,ref:n}))})),go=t.forwardRef((function(e,n){var l;const{ref:a,props:r}=t.useContext(uo),o=Aa([a,n]);let i=e.children;return t.isValidElement(e.children)&&"function"==typeof(null===(l=e.children)||void 0===l?void 0:l.type)&&(console.warn(`Popover.Trigger requires its child to forwardRef so that it can attach to the dom element. Did you mean to wrap '${e.children.type.name}' in React.forwardRef()? Taco has wrapped '${e.children.type.name}' in a 'span' to maintain functionality, but this may cause unintended behaviour`),i=t.createElement("span",null,e.children)),t.createElement(u.Trigger,Object.assign({},r,e,{ref:o,asChild:!0}),i)})),fo=t.forwardRef((function({children:e,onClick:t},n){return e({close:()=>{t(new CustomEvent("hide"))},ref:n})})),ho=t.forwardRef((function(e,n){const{placement:a,...r}=e,o=l("bg-white focus:border-blue-300 border border-transparent rounded p-3 yt-shadow focus:yt-focus outline-none group",e.className);let i;return i="function"==typeof e.children?t.createElement(u.Close,{asChild:!0},t.createElement(fo,null,e.children)):e.children,t.createElement(u.Portal,null,t.createElement(u.Content,Object.assign({},r,{className:o,"data-taco":"popover",side:a,sideOffset:1,ref:n}),i,t.createElement(co,{className:"text-white"})))})),vo=t.forwardRef((e,n)=>t.createElement(u.Close,Object.assign({},e,{ref:n,asChild:!0}))),po=t.forwardRef((function(e,n){const{anchor:l,children:a,defaultOpen:r,modal:o=!1,open:i,onChange:s,trigger:c,...d}=e,m=t.useMemo(()=>({props:d,ref:n}),[d]);return t.createElement(uo.Provider,{value:m},t.createElement(u.Root,{defaultOpen:r,modal:o,open:i,onOpenChange:s},l?t.createElement(mo,null,l):null,c&&!l?t.createElement(go,null,c):null,a))}));po.Anchor=mo,po.Trigger=go,po.Content=ho,po.Close=vo,po.Portal=u.Portal;const wo=t.forwardRef((function(e,n){const{className:a,onReset:r,style:o,shortcuts:i,shortcutsText:s,...c}=e,{calendar:u,input:d}=(({calendar:e,onBlur:n,onChange:l,value:a,...r},o)=>{const i=$a(o),{formatting:s}=fr(),[c,u]=t.useState(a&&m.isValid(a)?oo(a,s.date):"");return t.useEffect(()=>{if(a&&m.isValid(a)){const e=oo(a,s.date);e!==c&&u(e)}else u("")},[a]),{input:{...r,autoComplete:"off",onBlur:e=>{e.persist();const t=io(e.target.value),a=t&&oo(t)||"";e.target.value=a,l?(e.detail=t,l(e)):u(a),n&&n(e)},onChange:e=>{u(e.target.value)},onKeyDown:e=>{r.onKeyDown&&r.onKeyDown(e),e.isPropagationStopped()||e.isDefaultPrevented()||"Enter"!==e.key||e.target.dispatchEvent(new Event("focusout",{bubbles:!0}))},ref:i,type:"text",value:c},calendar:{...e,onChange:e=>{qr(i.current,oo(e,s.date),"focusout")},value:a}}})(c,n),{texts:g}=fr(),f=l("inline-flex w-full text-black font-normal",a);return t.createElement("span",{className:f,"data-taco":"datepicker",style:o},t.createElement(jr,Object.assign({},d,{button:t.createElement(cr,{"aria-label":g.datepicker.expand,disabled:d.disabled||d.readOnly,icon:"calendar",tabIndex:-1,popover:e=>t.createElement(po,Object.assign({},e),t.createElement(po.Content,null,({close:e})=>t.createElement("div",{className:"-m-3 flex"},t.createElement(xr,Object.assign({},u,{onChange:(t,n)=>{u.onChange(t,n),e()}})),i&&t.createElement("div",{className:"border-grey-300 flex flex-col border-l"},t.createElement("span",{className:"m-4 mb-3 flex h-8 w-32 items-center text-xs font-semibold"},null!=s?s:g.datepicker.shortcuts),t.createElement("ul",null,i.map(n=>t.createElement("li",{key:n.text},t.createElement("button",{type:"button",className:"hover:wcag-grey-200 flex w-full items-start px-4 py-1 text-xs",onClick:t=>{t.persist(),n.onClick(t),e()}},n.text)))),r&&t.createElement("button",{type:"button",className:"mx-auto my-4 mt-auto inline-flex cursor-pointer border-none bg-transparent text-xs text-blue-500 hover:text-blue-300",onClick:t=>{t.persist(),r(t),e()}},g.datepicker.clear))))),tooltip:g.datepicker.calendar})})))}));wo.displayName="Datepicker";const bo=t.createContext({closeOnEscape:!0,draggable:!1,drawer:{open:!1,toggle:()=>{}},elements:{drawer:void 0,extra:void 0},onClose:()=>{},props:{},ref:null,showCloseButton:!0,size:"sm"}),Eo=()=>t.useContext(bo),xo=t.forwardRef((function(e,n){const{ref:l,props:a}=Eo(),r=Aa([l,n]);return t.createElement(g.Trigger,Object.assign({},a,e,{ref:r,asChild:!0}))})),yo=e=>{const[t,l]=n.useState({x:0,y:0}),[a,r]=n.useState(!1),{moveProps:o}=f.useMove({onMoveStart(){r(!0)},onMove(t){var n;const a=null===(n=e.current)||void 0===n?void 0:n.getBoundingClientRect();a&&(a.left+t.deltaX<0||a.right+t.deltaX>window.innerWidth||a.top+t.deltaY<0||a.bottom+t.deltaY>window.innerHeight)||l(({x:e,y:n})=>({x:e+=t.deltaX,y:n+=t.deltaY}))},onMoveEnd(){r(!1)}});return{position:t,dragging:a,handleProps:o,resetPosition:()=>{l({x:0,y:0})}}},zo=t.forwardRef((function(e,n){const a=l("text-center",e.className);return t.createElement(g.Title,Object.assign({},e,{className:a,ref:n}))})),Ro=t.forwardRef((function(e,n){const a=l("mt-8 flex justify-end",e.className);return t.createElement("div",Object.assign({},e,{className:a,ref:n}),e.children)})),Co=t.forwardRef((function(e,n){const l=Eo();return t.createElement(g.Close,Object.assign({onClick:l.onClose},e,{ref:n,asChild:!0}))})),So=t.forwardRef((function({children:e,onClick:t,renderProps:n},l){return e({close:()=>{t(new CustomEvent("close"))},ref:l,...n})})),No=t.forwardRef((function(e,n){const a=Eo(),r=$a(n),{position:o,dragging:i,handleProps:s}=yo(r),{texts:c}=fr(),u=l("relative bg-white animate-[fade-in_150ms] rounded","mt-16 mx-auto",ka(a.size),"print:w-full print:h-full print:m-0 print:overflow-visible"),d=l("bg-white p-6 rounded relative z-10 shadow print:p-0 print:overflow-visible print:h-full",{"rounded-b-none":!!a.elements.extra},e.className);let m;return m="function"==typeof e.children?t.createElement(Co,null,t.createElement(So,{renderProps:{drawer:a.drawer}},e.children)):e.children,t.createElement(g.Portal,null,t.createElement(g.Overlay,{asChild:!0},t.createElement(Ma,null,t.createElement(g.Content,Object.assign({},e,{className:u,onEscapeKeyDown:e=>{a.closeOnEscape?a.onClose&&a.onClose():e.preventDefault()},onInteractOutside:e=>e.preventDefault(),ref:r,style:{...e.style,left:a.draggable?o.x+"px":void 0,top:a.draggable?o.y+"px":void 0}}),t.createElement("div",{className:d,"data-taco":"dialog"},m,a.draggable&&t.createElement("div",Object.assign({},s,{role:"button",draggable:!0,"aria-grabbed":i,"aria-label":c.dialog.drag,className:"yt-dialog__drag absolute-center-x bg-grey-100 top-1.5 h-3 w-24 cursor-move rounded text-center print:hidden"})),a.showCloseButton?t.createElement(g.Close,{onClick:a.onClose,asChild:!0},t.createElement(cr,{appearance:"discrete","aria-label":c.dialog.close,className:"absolute right-0 top-0 mr-2 mt-2 print:hidden",icon:"close"})):null),a.elements.drawer,a.elements.extra))))})),Ao=t.forwardRef((function(e,n){var a,r;const o=Eo(),i=l("absolute top-0 -ml-[4px] hidden h-full w-full overflow-y-auto rounded-r bg-white p-6 text-left",e.className);return t.createElement(h.motion.div,Object.assign({},e,{className:i,"data-taco":"dialog-drawer","aria-hidden":!(null!==(a=o.drawer)&&void 0!==a&&a.open),variants:{visible:{left:"100%",display:"block",transition:{ease:"easeOut",duration:.2}},hidden:{left:"0%",transition:{ease:"easeOut",duration:.2},transitionEnd:{display:"none"}}},animate:null!==(r=o.drawer)&&void 0!==r&&r.open?"visible":"hidden",ref:n}),"function"==typeof e.children?e.children(o.drawer):e.children)}));Ao.displayName="DialogDrawer";const Oo=t.forwardRef((function(e,n){const a=l("wcag-grey-100 absolute top-full left-0 -mt-px w-full rounded-t-none rounded-b p-6 text-left",e.className);return t.createElement("div",Object.assign({},e,{className:a,"data-taco":"dialog-extra",ref:n}))}));Oo.displayName="DialogExtra";const Io=t.forwardRef((function(e,n){const{children:l,closeOnEscape:a=!0,defaultOpen:r,draggable:o=!1,onChange:i,onClose:s,open:c,showCloseButton:u=!0,size:d="sm",trigger:m,...f}=e,[h,v,p]=(e=>t.useMemo(()=>{const n=[];let l,a;return t.Children.toArray(e).forEach(e=>{var t,r;(null===(t=e.type)||void 0===t?void 0:t.displayName)===Ao.displayName?l=e:(null===(r=e.type)||void 0===r?void 0:r.displayName)===Oo.displayName?a=e:n.push(e)}),[n,l,a]},[e]))(l),[w,b]=t.useState(!1),E=t.useMemo(()=>({closeOnEscape:a,draggable:o,drawer:{open:w,toggle:()=>b(e=>!e)},elements:{drawer:v,extra:p},onClose:s,props:f,showCloseButton:u,size:d,ref:n}),[a,w,o,v,p,c,f,u]);return t.createElement(bo.Provider,{value:E},t.createElement(g.Root,{defaultOpen:r,open:c,onOpenChange:i},m&&t.createElement(xo,null,m),h))}));Io.Trigger=xo,Io.Content=No,Io.Title=zo,Io.Footer=Ro,Io.Extra=Oo,Io.Drawer=Ao,Io.Close=Co;const Lo=t.forwardRef((function(e,n){const{as:a="span",orientation:r="horizontal",...o}=e,i=l('flex gap-2 [&:has([data-taco="tag"])]:!gap-1',{"flex-col ":"vertical"===r},e.className);return t.createElement(a,Object.assign({},o,{className:i,"data-taco":"group",ref:n}))})),Ho=t.createContext(void 0),Mo=()=>t.useContext(Ho),ko=t.createContext({closeOnEscape:!0,showCloseButton:!0,onClose:()=>{},onResize:()=>{},props:{},ref:null,size:"md",variant:"embedded"}),Vo=()=>t.useContext(ko),jo=e=>{const t=l("flex select-none touch-none transition-colors hover:bg-grey",{"w-[7px] hover:w-[14px] mr-[2px] hover:px-[2px] hover:mr-0":"vertical"===e.orientation,"flex-col h-[7px] hover:h-[14px] mb-[2px] hover:py-[2px] hover:mb-0":"horizontal"===e.orientation});return n.createElement(p.Scrollbar,Object.assign({},e,{className:t}))},To=e=>n.createElement(p.Thumb,Object.assign({},e,{className:"flex-[1] rounded bg-black opacity-50"})),Do=e=>n.createElement(p.Corner,Object.assign({},e,{className:"bg-grey-500"})),Fo=e=>{const{children:t,...a}=e;return n.createElement(p.Root,Object.assign({},a,{className:l("overflow-hidden",e.className),"data-taco":"scrollarea"}),n.createElement(p.Viewport,{className:"h-full w-full"},t),n.createElement(jo,{orientation:"vertical"},n.createElement(To,null)),n.createElement(jo,{orientation:"horizontal"},n.createElement(To,null)),n.createElement(Do,null))};var Po;!function(e){e.Visible="visible",e.Hidden="hidden"}(Po||(Po={}));const Bo=n.forwardRef((function({children:e,onClick:t,renderProps:n},l){return e({close:()=>{t(new CustomEvent("close"))},ref:l,...n})})),_o=n.forwardRef((function(e,t){const{className:a,children:r,...o}=e,i=l("grow-0 py-4 pl-4 justyfy-self-start mb-0 border-b-[1px] border-grey-300",a);return n.createElement(g.Title,Object.assign({className:i},o,{ref:t}),n.createElement("span",{className:"line-clamp-2 inline-block w-4/6 overflow-y-hidden"},r))})),Go=n.forwardRef((function(e,t){const{...a}=e,r=l("mt-auto flex justify-end grow-0 p-4 border-t-[1px] border-grey-300",e.className);return n.createElement("div",Object.assign({},a,{className:r,ref:t}))})),qo=n.forwardRef((function(e,t){const{className:a,...r}=e,o=l("absolute top-0 right-10 mr-[8px] mt-4",a);return n.createElement(Lo,Object.assign({},r,{className:o,ref:t}))})),$o=n.forwardRef((function(e,t){const{onClose:l}=Vo();return n.createElement(g.Close,Object.assign({},e,{onClick:l,ref:t,asChild:!0}))})),Ko=n.forwardRef((function(e,t){const{className:a,isScrollable:r=!0,children:o,...i}=e,s=l("grow flex flex-col",{"overflow-y-hidden":r,"p-4":!r},a);return n.createElement("div",Object.assign({},i,{className:s,ref:t}),r?n.createElement(Fo,{className:"w-full gap-y-0.5 p-4"},o):o)})),Uo=e=>{const{children:t,...a}=e,{open:r=!1,variant:o,outlet:i}=Vo(),s=n.useMemo(()=>(e=>l({block:e,hidden:!e}))(r),[r]);return i?n.createElement(g.Portal,Object.assign({},a,{container:null!=i?i:void 0}),"overlay"===o?n.createElement(g.Overlay,{forceMount:!0},n.createElement(Ma,{className:s})):null,t):null},Wo=n.forwardRef((function(e,t){const{onEscape:l,children:a,...r}=e;return nr("Escape",l),n.createElement("div",Object.assign({},r,{ref:t}),n.createElement(v.FocusScope,{autoFocus:!0,restoreFocus:!0},a))})),Jo=n.forwardRef((function(e,t){const{size:a,onClose:r,onResize:o,open:i=!1,closeOnEscape:s,variant:c,focusTrap:u,showCloseButton:d,setOpen:m}=Vo(),{className:f,style:h,children:v,...p}=e,{texts:w}=fr(),b=$a(t),E=Mo();let x;E&&(x=()=>{E.close()});const y=n.useMemo(()=>l((e=>l("bg-white mx-auto absolute h-full w-full flex flex-col ",{"shadow-[0_6px_9px_0_rgba(89,85,98,0.3),0_0_1px_0_rgba(89,85,98,0.2)]":"overlay"===e,"border-l border-grey h-full":"embedded"===e}))(c),f),[f]),{contentClassName:z,dragHandlerClassName:R}=n.useMemo(()=>({contentClassName:((e,t,n)=>l("bg-white h-full bottom-0 top-0 right-0 transition-none",{block:n,hidden:!n,fixed:"overlay"===t,"relative h-full overflow-hidden":"embedded"===t},(e=>{switch(e){case"lg":return"w-[600px]";case"md":default:return"w-[420px]"}})(e)))(a,c,i),dragHandlerClassName:l("border-[2px] absolute border-transparent top-0 w-2 h-full cursor-ew-resize left-0 hover:border-l-blue-500")}),[a,c,i]),C=e=>{var t;(null===(t=b.current)||void 0===t?void 0:t.contains(e.target))&&(s?(m&&m(!1),r&&r()):e.preventDefault())},[S,N]=n.useState(),A=n.useRef(null),{position:O,dragging:I,handleProps:L,resetPosition:H}=yo($a(A)),M=n.useRef(null);n.useEffect(()=>{o&&o(O.x)},[O]),n.useEffect(()=>{var e;N(null===(e=M.current)||void 0===e?void 0:e.offsetWidth)},[M,i]);const k=n.useMemo(()=>{if(S)return Math.min(1e3,Math.max(360,S-O.x||0))},[S,O]);let V;n.useEffect(()=>{!I&&k&&(N(k),H())},[I]),V="function"==typeof v?n.createElement($o,null,n.createElement(Bo,null,v)):v;const j=n.createElement("div",{ref:M,"data-taco":"drawer",className:y},V,n.createElement("div",Object.assign({className:R},L,{"data-testid":"resize-handler",ref:A}),I?n.createElement("div",{"data-testid":"resize-hit-area",className:"fixed bottom-0 left-0 right-0 top-0"}):null),d?n.createElement($o,null,n.createElement(cr,{appearance:"discrete","aria-label":w.drawer.close,className:"absolute right-0 top-0 mr-2 mt-4",icon:"close"})):null),T={...h,width:k};return u?n.createElement(g.Content,Object.assign({forceMount:!0},p,{className:z,onEscapeKeyDown:C,onInteractOutside:"overlay"===c?void 0:e=>e.preventDefault(),onCloseAutoFocus:x,ref:b,style:T}),j):n.createElement(Wo,{onEscape:C,className:z,style:T,ref:b},j)})),Yo=n.forwardRef((function(e,t){const{children:l}=e;return n.createElement(Uo,null,n.createElement(Jo,Object.assign({},e,{ref:t}),l))})),Qo=t.forwardRef((function(e,n){return t.createElement(g.Trigger,Object.assign({},e,{ref:n,asChild:!0}))})),Xo=t.forwardRef((function(e,n){var a;const r=l("h-full ml-auto overflow-hidden flex-shrink-0",e.className);return t.createElement("div",Object.assign({},e,{className:r,"data-taco":"drawer-outlet","data-taco-outlet-name":null!==(a=e.name)&&void 0!==a?a:"default",ref:n}))}));let Zo;const ei=t.forwardRef((function(e,n){const{open:l,defaultOpen:a,onChange:r=(()=>{}),variant:o="embedded",closeOnEscape:i=!0,onResize:s,onClose:c,size:u="md",trigger:d,children:m,focusTrap:f=void 0===e.focusTrap&&"overlay"===e.variant||e.focusTrap,showCloseButton:h=!0,outletName:v,...p}=e,[b,E]=w.useControllableState({prop:l,defaultProp:a,onChange:r}),[x,y]=t.useState(),z=t.useMemo(()=>({closeOnEscape:i,onClose:c,onResize:s,props:p,size:u,ref:n,open:b,setOpen:E,variant:o,focusTrap:f,showCloseButton:h,outlet:x}),[i,b,E,p,o,s,c,u,f,h,x]),R=t.useCallback(()=>{E(!1),c&&c()},[]);return t.useEffect(()=>{var e;const t=null!==(e=document.querySelector(`[data-taco="drawer-outlet"][data-taco-outlet-name="${null!=v?v:"default"}"]`))&&void 0!==e?e:document.body;y(t)},[v]),t.useEffect(()=>{b?(Zo&&Zo(),Zo=R):Zo===R&&(Zo=void 0)},[b]),t.createElement(ko.Provider,{value:z},t.createElement(g.Root,{modal:"overlay"===o,open:b,onOpenChange:E},d&&t.createElement(Qo,null,d),m))}));ei.Trigger=Qo,ei.Content=Yo,ei.InnerContent=Ko,ei.Title=_o,ei.Footer=Go,ei.Close=$o,ei.Actions=qo,ei.Outlet=Xo;const ti=t.forwardRef((function(e,n){const a=t.useRef(null),{disabled:r,children:o,invalid:i=!1,warning:s=!1,message:c,...u}=e,d=l("flex flex-col font-bold text-xs leading-loose pb-4 min-h-[theme(spacing.18)]",{"text-grey-300":r},e.className),m=l("h-4 text-xs text-left leading-normal font-normal truncate -mb-4",{"text-grey-700":!i&&!s,"text-red-500":i,"text-yellow-700":s&&!i,"opacity-50":r});return t.createElement("label",Object.assign({},u,{className:d,"data-taco":"label",ref:n}),o,c&&t.createElement(zr,{tooltip:c},t.createElement("span",{className:m,ref:a,role:i?"alert":void 0},c)))})),ni=t.forwardRef((function(e,n){const{horizontal:a=!1,...r}=e,o=l("yt-form",{"yt-form--horizontal flex flex-wrap":a},e.className);return t.createElement("form",Object.assign({},r,{className:o,"data-taco":"form",ref:n}))})),li=t.createContext({onClose:void 0,props:{},ref:null}),ai=t.forwardRef((function(e,n){var l;const{ref:a,props:r}=t.useContext(li),o=Aa([a,n]);let i=e.children;return t.isValidElement(e.children)&&"function"==typeof(null===(l=e.children)||void 0===l?void 0:l.type)&&(console.warn(`Hanger.Anchor requires its child to forwardRef so that it can attach to the dom element. Did you mean to wrap '${e.children.type.name}' in React.forwardRef()? Taco has wrapped '${e.children.type.name}' in a 'span' to maintain functionality, but this may cause unintended behaviour`),i=t.createElement("span",null,e.children)),t.createElement(u.Anchor,Object.assign({},r,e,{ref:o,asChild:!0}),i)})),ri=t.forwardRef((function(e,n){const a=l("mb-1 text-base font-bold flex w-full",e.className);return t.createElement("span",Object.assign({},e,{className:a,ref:n}))})),oi=t.forwardRef((function(e,n){const{placement:a}=e,r=t.useContext(li),{texts:o}=fr(),i=l("wcag-blue-500 border border-transparent rounded p-3 pr-12 yt-shadow focus:border-transparent max-w-sm",e.className);return t.createElement(u.Portal,null,t.createElement(u.Content,{className:i,"data-taco":"hanger",onInteractOutside:e=>{e.preventDefault()},side:a,sideOffset:1,ref:n},e.children,t.createElement(co,{className:"text-blue-500"}),t.createElement(u.Close,{asChild:!0},t.createElement(cr,{appearance:"primary","aria-label":o.hanger.close,className:"absolute right-0 top-0 ml-2 mr-2 mt-2 text-white",icon:"close",onClick:r.onClose}))))})),ii=t.forwardRef((function(e,n){const{anchor:l,children:a,defaultOpen:r=!0,onClose:o,...i}=e,s=t.useMemo(()=>({onClose:o,props:i,ref:n}),[o,i]),[c,d]=t.useState(!1);return t.useEffect(()=>{r&&d(r)},[]),t.createElement(li.Provider,{value:s},t.createElement(u.Root,{key:String(c),defaultOpen:c},l&&t.createElement(ai,null,l),a))}));ii.Anchor=ai,ii.Content=oi,ii.Title=ri;const si=t.forwardRef((function(e,n){return t.createElement(b.Arrow,{className:"pointer-events-none -mt-px",asChild:!0,offset:2,width:30,height:11},t.createElement("svg",Object.assign({},e,{ref:n,viewBox:"0 19 30 11",style:{transform:"rotateZ(180deg)"}}),t.createElement("path",{className:"text-grey-300 fill-current group-focus:text-blue-300",d:"M23.7,27.1L17,19.9C16.5,19.3,15.8,19,15,19s-1.6,0.3-2.1,0.9l-6.6,7.2C5.3,28.1,3.4,29,2,29h26 C26.7,29,24.6,28.1,23.7,27.1z"}),t.createElement("path",{className:"fill-current",d:"M23,27.8c1.1,1.2,3.4,2.2,5,2.2h2H0h2c1.7,0,3.9-1,5-2.2l6.6-7.2c0.7-0.8,2-0.8,2.7,0L23,27.8L23,27.8z"})))})),ci=t.forwardRef((function(e,n){return t.createElement(b.Trigger,Object.assign({},e,{asChild:!0,ref:n}))})),ui=t.forwardRef((function(e,n){const{placement:a}=e,r=l("bg-white focus:border-blue-300 border border-transparent rounded p-3 yt-shadow focus:yt-focus outline-none group","min-w-[theme(spacing.40)] max-w-[theme(spacing.96)]",e.className);return t.createElement(b.Portal,null,t.createElement(b.Content,{className:r,"data-taco":"hover-card",side:a,sideOffset:1,ref:n},e.children,t.createElement(si,{className:"text-white"})))})),di=e=>t.createElement(b.Root,Object.assign({},e,{openDelay:300}));function mi(e=0,n){const l=t.useRef(),[a,r]=t.useState({remaining:e,started:null});return t.useEffect(()=>(e&&(a.started?l.current=window.setTimeout(n,a.remaining):clearTimeout(l.current)),()=>{clearTimeout(l.current)}),[a.started]),{running:!!a.started,start:()=>{r({remaining:e,started:Date.now()})},pause:()=>{a.started&&r({remaining:a.remaining-(Date.now()-a.started),started:null})},resume:()=>{a.remaining&&!a.started&&r({remaining:a.remaining,started:Date.now()})}}}di.Trigger=ci,di.Content=ui;const gi=({data:e,currentIndex:n})=>{const l=t.useRef(),a=mi(1e3,()=>{l.current=void 0});return{getNextIndex:t=>{const r=(l.current?l.current+t:t).toLowerCase(),o=((e,t,n)=>{let l=Qr(e,t,void 0===n?0:n+1);return-1===l&&(l=Qr(e,t,0,n)),l})(e,r,n);return a.start(),l.current=r,o}}},fi=t.forwardRef((function(e,n){const{className:a,...r}=e,{list:o,input:i}=(({data:e=[],defaultValue:n,disabled:l,emptyValue:a,id:r,invalid:o,name:i,onChange:s,onFocus:u,onKeyDown:d,value:m=a,...g},f)=>{const h=Zr(void 0!==a?[{text:"",value:a},...e]:e),v=t.useMemo(()=>r||c.v4(),[r]),p=$a(f),w=void 0!==m?Ur(h,m):void 0,{getNextIndex:b}=gi({data:h,currentIndex:w}),E=e=>{if(void 0!==e){const t=h[e];t&&!t.disabled&&Kr(p.current,t.value)}};return t.useEffect(()=>{if(h.length&&void 0===w)if(void 0!==n){const e=Ur(h,n);void 0!==e&&E(e)}else E(0)},[h]),{list:{...g,"aria-activedescendant":Xr(h,w,v),data:h,disabled:l,id:v,invalid:o,onChange:e=>{E(e)},onFocus:e=>{void 0===w&&h.length&&E(0),u&&(e.persist(),u(e))},onKeyDown:e=>{const t=e.key;if(1===t.length&&/(\w)/g.test(t)){const e=b(t);e>-1&&e!==w&&E(e)}else d&&(e.persist(),d(e))},scrollOnFocus:!0,tabIndex:l?-1:g.tabIndex?g.tabIndex:0,value:w},input:{name:i,onChange:e=>{if(e.persist(),s){var t,n;const l=Jr(h,e.target.value);e.detail=eo(l);const a=null!==(t=null==l||null===(n=l.path)||void 0===n?void 0:n.split("."))&&void 0!==t?t:[];if(a.length>1){let t;a.pop(),e.detail.parents=a.map(e=>(t=t?[t,e].join("."):e,eo(h.find(e=>e.path===t))))}s(e)}},ref:p,tabIndex:-1,value:null!=m?m:""}}})(r,n),s=l("bg-white inline-flex relative w-full",a);return t.createElement("span",{"data-taco":"listbox",className:s},t.createElement(Br,Object.assign({},o,{style:{...o.style,maxHeight:"calc(12rem + 2px)"}})),t.createElement("input",Object.assign({},i,{className:"hidden",type:"text"})))})),hi=t.forwardRef((function(e,n){const{className:a,...r}=e,{list:o,input:i}=(({data:e=[],defaultValue:n,disabled:l,id:a,name:r,onClick:o,onChange:i,onFocus:s,onKeyDown:u,value:d,...m},g)=>{const{texts:f}=fr(),h=t.useMemo(()=>a||c.v4(),[a]),v=$a(g),p=t.useMemo(()=>[{text:f.listbox.allOption,value:"#ALL-OPTIONS#"},...e],[e]),[w,b]=t.useState(Ur(p,d)||0),[E,x]=t.useState(!1),{getNextIndex:y}=gi({data:p,currentIndex:w}),[z,R]=t.useState(Wr(p,d));t.useEffect(()=>{n&&!d&&Kr(v.current,n.toString())},[]),t.useEffect(()=>{const e=p.filter(e=>!e.disabled).length-1;x(e===z.length)},[z,p]);const C=e=>{if(void 0!==e){const n=p[e];if(n&&!n.disabled){var t;let e="";const l=null===(t=v.current)||void 0===t?void 0:t.value,a=(null==l?void 0:l.split(","))||[],r=-1!==a.findIndex(e=>e===String(n.value));e="#ALL-OPTIONS#"===n.value?E?"":p.filter((e,t)=>0!==t&&!e.disabled).map(e=>e.value).join(","):r?a.filter(e=>e!==String(n.value)).join(","):l?`${l},${n.value}`:n.value,Kr(v.current,e)}}};return{list:{...m,"aria-activedescendant":Xr(p,w,h),"aria-multiselectable":!0,data:p,disabled:l,id:h,onChange:()=>null,onClick:(e,t)=>{e.preventDefault(),p[t].disabled||(b(t),C(t)),o&&o(e)},onFocus:e=>{s&&(e.persist(),s(e))},onKeyDown:(e,t)=>{const n=e.key;if(1===n.length&&/(\w)/g.test(n)){const e=y(n);e>-1&&e!==w&&b(e)}else{switch(e.key){case" ":e.preventDefault(),C(t);break;case"Enter":C(t)}b(void 0!==t?t:0),u&&(e.persist(),u(e))}},scrollOnFocus:!1,tabIndex:l?-1:m.tabIndex?m.tabIndex:0,value:w,selectedIndexes:z,multiselect:!0,allOptionsSelected:E},input:{name:r,onChange:e=>{if(e.persist(),R(Wr(p,e.target.value)),i){const t=[];e.target.value.split(",").forEach(e=>{const n=Jr(p,e);n&&t.push(n)}),e.detail=t,i(e)}},ref:v,tabIndex:-1,value:null!=d?d:""}}})(r,n),s=l("bg-white inline-flex relative w-full",a);return t.createElement("span",{"data-taco":"listbox",className:s},t.createElement(Br,Object.assign({},o,{style:{...o.style,maxHeight:"calc(12rem + 2px + 2px)"}})),t.createElement("input",Object.assign({},i,{className:"hidden",type:"text"})))})),vi=t.forwardRef((function(e,n){const a=$a(n),r=Mo(),{align:o="start",placement:i,...s}=e,c=l("border border-transparent rounded block outline-none p-1 yt-shadow wcag-white",e.className),u=t.useRef([]),d=t.Children.toArray(e.children).filter(e=>!!e).map((e,n)=>(u.current[n]=t.createRef(),t.cloneElement(e,{ref:u.current[n]})));return t.useEffect(()=>{const e=[];return d.forEach((t,n)=>{t.props.shortcut&&e.push(er(t.props.shortcut,e=>{e.preventDefault(),null==r||r.open(),setTimeout(()=>{var e,t;return null===(e=u.current[n])||void 0===e||null===(t=e.current)||void 0===t?void 0:t.click()},1)}))}),e.forEach(e=>document.addEventListener("keydown",e)),()=>{e.forEach(e=>document.removeEventListener("keydown",e))}},[d]),t.createElement(E.Portal,null,t.createElement(E.Content,Object.assign({},s,{align:o,className:c,"data-taco":"menu",side:i,sideOffset:3,style:{minWidth:null==r?void 0:r.minWidth},ref:a}),d))})),pi=e=>{switch(e){case"Escape":return"Esc";case"Delete":return"Del";case"Space":case" ":return"Space";case"ArrowLeft":return"◄";case"ArrowRight":return"►";case"ArrowUp":return"▲";case"ArrowDown":return"▼";default:return 1===e.length?e.toLocaleUpperCase():e}},wi=({keys:e,...t})=>{const a=l("inline-flex gap-0.5",t.className),r=(e=>{if(!e)return[];if("string"==typeof e)return[pi(e)];const t=[];return e.shift&&t.push(tr()?"⇧":"Shift"),e.meta&&t.push(tr()?"⌘":"Ctrl"),t.push(pi(e.key)),t})(e);return n.createElement("span",Object.assign({},t,{className:a}),r.map(e=>n.createElement("kbd",{key:e,className:"font-display text-grey-700 [[data-taco=tooltip]_&]:bg-grey-300/[0.25] rounded-sm bg-black/[0.09] px-1 text-center font-bold [[data-taco=tooltip]_&]:text-white"},e)))},bi=({name:e})=>t.createElement("span",{className:"absolute left-0 ml-1"},t.createElement(za,{className:"-ml-px -mt-px !h-5 !w-5",name:e})),Ei=({disabled:e,indented:n,className:a})=>{const r=Mo();return t.useEffect(()=>{!n||null!=r&&r.indented||null==r||r.registerIndentation()},[n]),l("flex items-center justify-start h-8 pr-1.5 relative rounded w-full focus:outline-none group",{"pl-7":null==r?void 0:r.indented,"pl-1.5":!(null!=r&&r.indented),"cursor-pointer text-black hover:wcag-grey-200 data-[highlighted]:wcag-grey-200":!e,"cursor-not-allowed hover:bg-white text-grey-300":e},a)},xi=t.forwardRef((function(e,n){var l;const{dialog:a,icon:r,onClick:o,popover:i,shortcut:s,subMenu:c,...u}=e,d=Mo(),m=Ei({disabled:e.disabled,indented:!!r,className:e.className});let g;if((null!==(l=e.disabled)&&void 0!==l?l:e["aria-disabled"])&&(g=e=>{e.preventDefault(),e.stopPropagation()}),c)return t.createElement(E.Sub,null,t.createElement(E.SubTrigger,Object.assign({},u,{className:m,onClick:g,ref:n}),r?t.createElement(bi,{name:r}):null,e.children,t.createElement(za,{className:"-mr-1.5 ml-auto !h-5 !w-5",name:"chevron-right"})),c());let f=t.createElement(E.Item,Object.assign({},u,{className:m,onClick:g,onSelect:t=>{o&&o(t),(e["aria-haspopup"]||"function"==typeof a||"function"==typeof i)&&t.preventDefault()},ref:n}),r?t.createElement(bi,{name:r}):null,e.children,s?t.createElement("span",{className:"ml-auto pl-5"},t.createElement(wi,{keys:s,className:"text-grey-700"})):null);return"function"==typeof a?f=a({trigger:f,onClose:null==d?void 0:d.close}):"function"==typeof i&&(f=i({trigger:f})),f})),yi=t.forwardRef((function(e,n){const{href:l,icon:a,onClick:r,...o}=e,i=Mo(),s=Ei({disabled:e.disabled,indented:!!a,className:e.className});return t.createElement(E.Item,Object.assign({},o,{asChild:!0,className:s,ref:n,onClick:e=>{null==r||r(e),null==i||i.close()}}),t.createElement("a",{href:l,target:"_blank"},a&&t.createElement(bi,{name:a}),e.children))})),zi=t.forwardRef((function(e,n){const l=Mo(),a=$a(n);return t.useEffect(()=>{a.current&&(null==l||l.setMinWidth(a.current.getBoundingClientRect().width))},[a]),t.createElement(E.Trigger,Object.assign({},e,{asChild:!0,ref:a,onKeyDown:e=>{var t,n;const l=!(null===(t=a.current)||void 0===t||!t.closest('[data-taco="table2-body"]')),r=!(null===(n=a.current)||void 0===n||!n.closest('[data-taco="report-body"]'));var o,i;(l||r)&&"ArrowDown"===e.key&&(null==a||null===(o=a.current)||void 0===o||null===(i=o.parentNode)||void 0===i||i.dispatchEvent(Gr(e)))}}))})),Ri=t.forwardRef((function(e,n){const{checked:l,children:a,onChange:r,...o}=e,i=Ei({disabled:e.disabled,indented:!0,className:e.className});return t.createElement(E.CheckboxItem,Object.assign({},o,{checked:l,className:i,onCheckedChange:r,ref:n}),t.createElement(E.ItemIndicator,{className:"absolute left-0 ml-1.5"},t.createElement(za,{name:"tick",className:"-ml-px !h-4 !w-4"})),a)})),Ci=(e=!1,t=!1)=>l("flex flex-shrink-0 items-center justify-center h-4 w-4 mt-[0.2rem] rounded-full bg-white border-2 focus-visible:yt-focus disabled:cursor-not-allowed hover:border-4",t?{"border-red-500 hover:border-red-700 aria-checked:bg-red-500 aria-checked:border-red-500 hover:aria-checked:border-red-700":!e,"border-red-500/50 aria-checked:bg-red-500/50 aria-checked:border-red-500/50":e}:{"border-grey-500 hover:border-grey-700 aria-checked:bg-blue-500 aria-checked:border-blue-500 hover:aria-checked:border-blue-700":!e,"border-grey-500/50 aria-checked:bg-blue-500/50 aria-checked:border-blue-500/50":e}),Si=e=>String(null!=e?e:""),Ni=(e,t)=>e.find(e=>Si(e)===t),Ai=t.createContext({disabled:!1,invalid:!1}),Oi=t.forwardRef((function(e,n){const a=t.useContext(Ai),{children:r,value:o,...i}=e,s=a.disabled||e.disabled,c=l("self-start",Ci(s,a.invalid)),u=l("flex items-center gap-2",{"cursor-pointer":!s,"cursor-not-allowed text-grey-300":s},e.className);return t.createElement("label",{className:u},t.createElement(x.Item,Object.assign({},i,{className:c,disabled:s,ref:n,value:Si(o)}),t.createElement(x.Indicator,{className:"h-2 w-2 rounded-full bg-white"})),r)})),Ii=e=>{const{children:n,defaultValue:l,disabled:a,invalid:r,onChange:o,orientation:i="vertical",value:s,...c}=e,u=t.useMemo(()=>{const e=[];return t.Children.forEach(n,n=>{t.isValidElement(n)&&e.push(n.props.value)}),e},[n]),d=t.useMemo(()=>({disabled:null!=a&&a,invalid:null!=r&&r}),[a,r]);let m;return m=void 0!==o?{onValueChange:e=>o(Ni(u,e)),value:void 0!==s?Si(s):void 0}:{defaultValue:void 0!==l?Si(l):void 0},{context:d,props:{...c,...m,children:n,disabled:a,orientation:i}}},Li=t.forwardRef((function(e,n){const{context:a,props:r}=Ii(e),o=l("flex items-start gap-y-2",{"flex-wrap gap-x-4 ":"horizontal"===r.orientation,"flex-col":"vertical"===r.orientation},r.className);return t.createElement(Ai.Provider,{value:a},t.createElement(x.Root,Object.assign({},r,{className:o,"data-taco":"radio-group",ref:n})))}));Li.Item=Oi;const Hi=t.createContext({disabled:!1}),Mi=t.forwardRef((function(e,n){const{context:a,props:r}=Ii(e),o=l("flex flex-col",e.className);return t.createElement(Hi.Provider,{value:a},t.createElement(E.RadioGroup,Object.assign({},r,{className:o,ref:n})))}));Mi.Item=e=>{const n=t.useContext(Hi),{children:l,value:a,...r}=e,o=n.disabled||e.disabled,i=Ei({disabled:o,indented:!0,className:e.className});return t.createElement(E.RadioItem,Object.assign({},r,{className:i,disabled:o,value:Si(a)}),t.createElement(E.ItemIndicator,{className:"absolute left-0 ml-1.5"},t.createElement("span",{className:"ml-1 flex h-1.5 w-1.5 rounded-full bg-current "})),l)};const ki=t.forwardRef((function(e,n){const a=Mo(),r=l("flex items-center justify-start h-7 pr-1.5 text-xs text-grey-700",{"pl-7":null==a?void 0:a.indented,"pl-1.5":!(null!=a&&a.indented)},e.className);return t.createElement(E.Label,Object.assign({},e,{className:r,ref:n}))})),Vi=t.forwardRef((function(e,n){const a=$a(n),{children:r,...o}=e,i=l("border border-transparent rounded block outline-none p-1 yt-shadow wcag-white",e.className);return t.createElement(E.Portal,null,t.createElement(E.SubContent,Object.assign({},o,{className:i,"data-taco":"menu-submenu",sideOffset:4,ref:a}),r))})),ji=t.forwardRef((function(e,n){const{children:l,defaultOpen:a,onChange:r,open:o,trigger:i,...s}=e,[c,u]=t.useState(!1),[d,m]=t.useState(void 0),[g,f]=w.useControllableState({defaultProp:a,onChange:r,prop:o}),h=t.useMemo(()=>({indented:c,registerIndentation:()=>u(!0),minWidth:d,setMinWidth:e=>m(e),open:()=>f(!0),close:()=>f(!1)}),[c,d]);return t.createElement(Ho.Provider,{value:h},t.createElement(E.Root,Object.assign({},s,{modal:!1,open:g,onOpenChange:f}),i&&t.createElement(zi,{ref:n},i),l))}));ji.Trigger=zi,ji.Content=vi,ji.Item=xi,ji.Link=yi,ji.Checkbox=Ri,ji.Separator=()=>t.createElement(E.Separator,{className:"bg-grey-300 my-1 h-px"}),ji.Header=ki,ji.RadioGroup=Mi,ji.SubMenu=Vi;const Ti=t.forwardRef((function(e,n){const{onChange:a,...r}=e,o=l("group w-14 h-8 flex flex-shrink-0 rounded-full inline-flex focus-visible:yt-focus p-1",{"bg-grey-500 hover:bg-grey-700 aria-checked:bg-blue-500 aria-checked:hover:bg-blue-700":!e.disabled,"bg-grey-500 aria-checked:bg-blue-500 cursor-not-allowed opacity-50":e.disabled},e.className);return t.createElement(y.Root,Object.assign({},r,{className:o,"data-taco":"mode",onCheckedChange:a,ref:n}),t.createElement(y.Thumb,{className:"'will-change-transform flex h-6 w-6 items-center justify-center rounded-full bg-white transition-transform group-disabled:opacity-50 group-aria-checked:translate-x-[100%]"},t.createElement(za,{name:"edit-simple",className:"!h-5 !w-5"})))}));Ti.displayName="ModeSwitch";const Di=n.forwardRef((function(e,t){return n.createElement("a",Object.assign({},e,{ref:t}))})),Fi=n.forwardRef((function(e,t){const{children:a,className:r,expanded:o=!1,title:i,fixed:s,onClick:c,...u}=e,[d,m]=n.useState(s||o);n.useEffect(()=>{s||m(s||o)},[s,o]);const g=l("flex-col mb-0",{flex:d,hidden:!d}),f={...u,"aria-expanded":d,role:"treeitem",tabIndex:-1},h="function"==typeof r?r(d):r;return n.createElement("div",Object.assign({},f,{className:h,ref:t}),n.createElement("div",{onClick:e=>{const t=!d;s||m(t),c&&c(e,t)}},"function"==typeof i?i(d):i),n.createElement("ul",{role:"group",className:g},n.Children.toArray(a).filter(e=>!!e).map((e,t)=>n.createElement("li",{key:t,role:"none"},n.cloneElement(e,{role:"treeitem"})))))})),Pi=n.forwardRef((function(e,t){return n.createElement("div",Object.assign({},e,{ref:t,role:"tree"}))}));Pi.Group=Fi,Pi.Item=Di;const Bi=e=>{const[t,l]=n.useState(!1),a=n.useCallback(e=>{e.preventDefault(),l(!0)},[]),r=n.useCallback(e=>{e.preventDefault(),(e.target===e.currentTarget||e.relatedTarget&&!e.currentTarget.contains(e.relatedTarget))&&l(!1)},[]),o=n.useCallback(e=>{e.preventDefault()},[]),i=n.useCallback(t=>{t.preventDefault(),t.persist(),l(!1),e&&e(t)},[e]);return[t,e?{onDragEnter:a,onDragLeave:r,onDragOver:o,onDrop:i}:void 0]},_i=n.forwardRef((function(e,t){const{active:a,children:r,onDrop:o,postfix:i,prefix:s,role:c,...u}=e,d=$a(t),[m,g]=Bi(o),f="treeitem"===c,h=l("yt-navigation__item cursor-pointer",{"w-full mb-px py-1 px-3 flex items-center hover:bg-grey-300":f,"bg-white w-full h-10 px-3 flex-shrink-0 flex items-center justify-between cursor-pointer":!f,"yt-navigation__item--active":a&&!m,"bg-grey-300":f&&a&&!m,"yt-navigation__item--dropping bg-blue-500":m},e.className);return n.createElement("span",Object.assign({},g,{className:h,onClick:e=>{e.target instanceof HTMLAnchorElement||e.target instanceof HTMLButtonElement||d.current&&d.current.click()},role:c}),s&&n.createElement("span",{className:"yt-navigation__item__prefix flex items-center"},s),n.createElement("a",Object.assign({},u,{className:"block flex-grow truncate",ref:d}),r),i&&n.createElement("span",{className:"yt-navigation__item__postfix ml-1"},i))})),Gi=n.forwardRef((function(e,t){return n.createElement("div",Object.assign({},e,{className:l("w-full bg-white p-3",e.className),ref:t}))})),qi=n.forwardRef((function(e,t){const a=l("flex-shrink-0 space-y-1 outline-none",{"bg-white pb-2":e.fixed},"function"==typeof e.className?e.className(!1):e.className);return n.createElement(Pi.Group,Object.assign({},e,{className:a,title:t=>{const a=l("bg-white h-10 pl-3 pr-1 flex items-center justify-between w-full",{"mb-1":t,"cursor-pointer hover:text-blue-500":!e.fixed});return n.createElement("span",{className:a},"function"==typeof e.title?e.title(t):e.title,!e.fixed&&n.createElement(za,{name:t?"chevron-up":"chevron-down"}))},ref:t}))})),$i=n.forwardRef((function(e,t){const a=n.useMemo(()=>{const t=[];return n.Children.toArray(e.children).filter(e=>!!e).forEach(e=>{if(e.props.fixed)t.push(e);else{const n=t[t.length-1];Array.isArray(n)?n.push(e):t.push([e])}}),t},[e.children]);return n.createElement(Pi,Object.assign({},e,{className:l("divide-grey-100 flex flex-grow flex-col divide-y-2 overflow-y-auto",e.className),ref:t}),a.map((e,t)=>Array.isArray(e)?n.createElement("div",{className:"divide-grey-100 flex h-0 flex-auto flex-shrink-0 flex-grow flex-col divide-y-2 overflow-y-auto",key:t},e):e))}));$i.Group=qi;const Ki=n.forwardRef((function(e,t){const{children:a,...r}=e,o=l("h-full flex flex-col bg-grey-100 divide-y-2 divide-grey-100",e.className);return n.createElement("div",Object.assign({},r,{className:o,"data-taco":"navigation",ref:t}),a)}));Ki.Menu=$i,Ki.Item=_i,Ki.Panel=Gi;const Ui=(e,t)=>{const[l,a]=n.useState({}),r=(e,t)=>{if(t.root){const n=Array.from(t.root.children),l={};e.forEach(e=>{l[n.indexOf(e.target)]=e.isIntersecting}),a(e=>({...e,...l}))}},o=n.useMemo(()=>{const e=Object.values(l).indexOf(!1);return e>-1?e:void 0},[l]),i=void 0!==o&&t;return n.useEffect(()=>{const n=new IntersectionObserver(r,{root:e.current,rootMargin:i?`0px -${t}px 0px 0px`:void 0,threshold:1});return n.root&&Array.from(n.root.children).forEach(e=>{e.hasAttribute("data-observer-ignore")||n.observe(e)}),()=>{n.disconnect()}},[i]),o},Wi=(e,t)=>{const l=e.props.to||e.props.href,a=l?ji.Link:ji.Item,{as:r,...o}=e.props,i={...o,key:t,target:l?l.startsWith("http")?"_blank":"_self":void 0};return r?n.cloneElement(e,{as:a,...i}):n.createElement(a,Object.assign({},i))},Ji=n.forwardRef((function(e,t){var a;const{moreButton:r,...o}=e,i=$a(t),[s,c]=n.useState(40),u=n.useCallback(e=>{var t;return c(null==e||null===(t=e.getBoundingClientRect())||void 0===t?void 0:t.width)},[]),{texts:d}=fr(),m=Ui(i,s),g=n.Children.toArray(e.children),f=void 0!==m?g.slice(m):[],h=f.length,v=null!==(a=null==r?void 0:r(h?`${h} ${d.header.more}`:""))&&void 0!==a?a:n.createElement(cr,{icon:"more"}),p=l("flex overflow-hidden",e.className);return n.createElement("div",Object.assign({},o,{className:p,"data-taco":"overflow-group",ref:i}),g.map((e,t)=>n.cloneElement(e,{className:l(e.props.className,{visible:void 0===m||t<m,"invisible order-[100] pointer-events-none":void 0!==m&&t>=m})})),f.length?n.cloneElement(v,{className:l("sticky right-0 order-[99]",v.props.className),"data-observer-ignore":!0,menu:e=>n.createElement(ji,Object.assign({},e),n.createElement(ji.Content,null,f.map(Wi))),ref:u}):null)})),Yi=({currentPageIndex:e=0,onClick:n,pageCount:l})=>{const a=((e,t)=>{let n=Math.min(t,e),l=Math.min(t,e);for(let t=1;t<5&&t<e;)n>1&&(n--,t++),t<5&&l<e&&(l++,t++);const a=[];for(let e=n;e<=l;e++)a.push(e);return a})(l,e+1),{texts:r}=fr();return t.createElement(t.Fragment,null,a.map(l=>t.createElement(pr,{appearance:l===e+1?"primary":"default","aria-current":l===e+1?"page":void 0,key:l,onClick:()=>n(l-1),"aria-label":r.pagination.actions.pageX.replace("[X]",String(l)),tooltip:r.pagination.actions.pageX.replace("[X]",String(l))},l)))},Qi=t.forwardRef((function(e,n){const{autoFocus:a,className:r,style:o,...i}=e,{button:s,listbox:d,popover:m,input:g,text:f,more:h=0}=(({"aria-label":e,"aria-labelledby":n,data:a=[],defaultValue:r,disabled:o,emptyValue:i,id:s,multiselect:u,onBlur:d,onChange:m,readOnly:g,tabIndex:f,value:h,...v},p)=>{const{texts:w}=fr(),b=Zr(a),E=$a(p),[x,y]=t.useState(!1),z=t.useMemo(()=>s||"select_"+c.v4(),[s]),R=t.useRef(null),C=z+"-button",[S,N]=t.useState(h);t.useEffect(()=>{N(h)},[x]),t.useEffect(()=>{void 0===h?void 0!==r&&Jr(b,r)?Kr(R.current,r):void 0!==i?Kr(R.current,i):a.length>0&&Kr(R.current,a[0].value):u||Jr(b,h)||(void 0!==i?Kr(R.current,i):a.length>0&&Kr(R.current,a[0].value))},[]);let A="",O=0;if(void 0!==h)if(u){const e=(null==h?void 0:h.toString().split(","))||[];var I,L;e.length===b.filter(e=>!e.disabled).length?A=w.select.allOptionsSelected:(A=null!==(I=null===(L=Jr(b,e[0]))||void 0===L?void 0:L.text)&&void 0!==I?I:"",O=e.length>1?e.length-1:0)}else{const e=Jr(b,h);e&&(A=e.icon?t.createElement(t.Fragment,null,t.cloneElement(e.icon,{className:l(e.icon.props.className,"mr-1 -mt-px")}),e.text):e.text)}return{button:{"aria-haspopup":"listbox","aria-label":e?`${e} ${A}`:void 0,"aria-labelledby":n?`${n} ${C}`:void 0,disabled:o||g,id:C,onKeyDown:o||g?void 0:e=>{"ArrowUp"!==e.key&&"ArrowDown"!==e.key||(e.preventDefault(),y(!0))},tabIndex:f,type:"button"},listbox:{...v,"aria-label":e,"aria-labelledby":n,data:a,disabled:o,emptyValue:i,onBlur:d,onClick:e=>{e.preventDefault(),u||(y(!1),d&&d(_r("blur")))},onChange:e=>{Kr(R.current,e.target.value)},onKeyDown:e=>{switch(e.key){case"Escape":e.preventDefault(),void 0!==S&&Kr(E.current,S),y(!1);break;case"Tab":case"Enter":"Tab"!==e.key&&e.preventDefault(),y(!1)}v.onKeyDown&&v.onKeyDown(e)},ref:E,value:h},input:{onChange:e=>{if(e.persist(),m){var t,n;const l=Jr(b,e.target.value);e.detail=eo(l);const a=null!==(t=null==l||null===(n=l.path)||void 0===n?void 0:n.split("."))&&void 0!==t?t:[];if(a.length>1){let t;a.pop(),e.detail.parents=a.map(e=>(t=t?[t,e].join("."):e,eo(b.find(e=>e.path===t))))}m(e)}},ref:R,value:String(null!=h?h:"")},popover:{open:x,onOpenChange:e=>{!e&&d&&d(_r("blur")),y(e)}},text:A,more:O}})(i,n),v=t.useRef(null),p=Hr(v),w=l("inline-flex relative w-full",{"yt-select--readonly":e.readOnly},r),b=l(Or(e),"h-8 text-left !pr-0",{"border-blue-500":m.open});t.useEffect(()=>{a&&v.current&&v.current.focus()},[]);const E={...d,className:"w-auto",invalid:void 0,style:{minWidth:null==p?void 0:p.width},tabIndex:m.open?0:-1};return t.createElement("span",{className:w,"data-taco":"select",style:o},t.createElement(u.Root,Object.assign({},m),t.createElement(u.Trigger,Object.assign({},s,{className:b,ref:v}),e.multiselect?t.createElement(t.Fragment,null,t.createElement("span",{className:"flex-grow truncate text-left"},f),h>0&&t.createElement(qa,{className:"ml-2"},"+"+h)):t.createElement("span",{className:"flex-grow truncate text-left"},f),t.createElement("span",{className:"flex h-8 w-8 items-center justify-center"},t.createElement(za,{className:"pointer-events-none",name:m.open?"chevron-up":"chevron-down"}))),t.createElement(u.Portal,null,t.createElement(u.Content,{align:"start",sideOffset:4},t.createElement(e.multiselect?hi:fi,Object.assign({},E)))),t.createElement("input",Object.assign({},g,{className:"hidden",type:"text"}))))})),Xi=t.forwardRef((function(e,n){const{editable:l,...a}=e;return l?t.createElement(ao,Object.assign({},a,{dialog:void 0,inline:!0,ref:n})):t.createElement(Qi,Object.assign({},a,{ref:n}))})),Zi=t.forwardRef((function(e,a){const{length:r,pageIndex:o,pageSize:i,pageSizes:s=[10,25,50,100,500],setPageIndex:c,setPageSize:u,showPageControls:d=!0,showPageNumbers:m=!0,showPageSize:g=!0,dangerouslyHijackGlobalKeyboardNavigation:f=!1,...h}=e,{texts:v}=fr(),p=Math.ceil(r/i)-1,w=f;(({setPageIndex:e,maxPageIndex:t,pageIndex:l,dangerouslyHijackGlobalKeyboardNavigation:a})=>{const r=n=>e&&"Home"===n.key?(n.preventDefault(),void e(0)):e&&"End"===n.key?(n.preventDefault(),void e(t)):e&&"PageUp"===n.key?(n.preventDefault(),void e(Math.max(0,l-1))):e&&"PageDown"===n.key?(n.preventDefault(),void e(Math.min(t,l+1))):void 0;n.useEffect(()=>(a&&window.addEventListener("keydown",r),()=>{a&&window.removeEventListener("keydown",r)}),[r,a])})({setPageIndex:c,maxPageIndex:p,pageIndex:o,dangerouslyHijackGlobalKeyboardNavigation:f});const b=Math.ceil(r/i),E=o>0,x=o<b-1,y=l("inline-flex relative justify-between items-center",e.className);return t.createElement("div",Object.assign({},h,{className:y,"data-taco":"pagination",ref:a}),g&&t.createElement("span",{className:"mr-4"},((e,t,n,l)=>{const a=(t+1)*n;return l.pagination.showingXofYofTotal.replace("[X]",0===e?"0":String(t*n+1)).replace("[Y]",String(a>e?e:a)).replace("[total]",String(e))})(r,o,i,v),t.createElement(Xi,{"aria-label":v.pagination.pageSize,className:"ml-4 !w-20",data:s.map(e=>({text:String(e),value:e})),onChange:e=>{c(0),u(Number(e.target.value))},value:i})),d&&t.createElement(Lo,{as:"nav","aria-label":v.pagination.label},t.createElement(cr,{appearance:"default",disabled:!E,icon:"arrow-start",onClick:()=>c(0),"aria-label":w?v.pagination.actions.firstPageWithShortcut:v.pagination.actions.firstPage,tooltip:w?v.pagination.actions.firstPageWithShortcut:v.pagination.actions.firstPage}),t.createElement(cr,{appearance:"default",disabled:!E,icon:"arrow-left",onClick:()=>c(o-1),"aria-label":w?v.pagination.actions.previousPageWithShortcut:v.pagination.actions.previousPage,tooltip:w?v.pagination.actions.previousPageWithShortcut:v.pagination.actions.previousPage}),m&&b>0&&t.createElement(Yi,{pageCount:b,currentPageIndex:o,onClick:c}),t.createElement(cr,{appearance:"default",disabled:!x,icon:"arrow-right",onClick:()=>c(o+1),"aria-label":w?v.pagination.actions.nextPageWithShortcut:v.pagination.actions.nextPage,tooltip:w?v.pagination.actions.nextPageWithShortcut:v.pagination.actions.nextPage}),t.createElement(cr,{appearance:"default",disabled:!x,icon:"arrow-end",onClick:()=>c(b-1),"aria-label":w?v.pagination.actions.lastPageWithShortcut:v.pagination.actions.lastPage,tooltip:w?v.pagination.actions.lastPageWithShortcut:v.pagination.actions.lastPage})))})),es=({content:e,lastUpdated:t,onClose:a,options:r,...o})=>{const{texts:i}=fr(),{autoClose:s,type:c="default"}=r,u=l("bg-white relative flex items-center py-1 px-2 mt-3 w-full rounded yt-shadow print:hidden",{"border border-grey-200":"default"===c||"loading"===c||!c,"border border-grey-500":"success"===c,"border border-blue-500":"information"===c,"border border-yellow-700":"warning"===c,"border border-red":"error"===c}),d=mi(s,a),m=h.useAnimation();return e||console.warn((e=>`Toast requires 'content' property, which can't be empty string, null or undefined. Current content value is set to ${""===e?"empty string":e}.`)(e)),n.useEffect(()=>{s&&d.start()},[s]),n.useEffect(()=>{t&&(function(){try{Promise.resolve(m.start({scale:1.05})).then((function(){return Promise.resolve(m.start({scale:1})).then((function(){}))}))}catch(e){return Promise.reject(e)}}(),d.running&&d.start())},[t]),n.createElement(h.motion.div,Object.assign({},o,{animate:m,className:u,"data-taco":"toast",onMouseEnter:d.pause,onMouseLeave:d.resume}),(e=>n.createElement("div",{className:"mr-2 mt-[5px] flex-shrink-0 self-start"},(()=>{switch(e){case"success":return n.createElement(Ra,{icon:"tick",color:"green"});case"error":return n.createElement(Ra,{icon:"close",color:"red"});case"warning":return n.createElement(Ra,{icon:"warning",color:"yellow"});case"information":return n.createElement(Ra,{icon:"info",color:"blue"});case"loading":return n.createElement(Nr,{delay:0,className:"h-5 w-5"});default:return null}})()))(c),n.createElement("div",{className:"flex-grow"},e),n.createElement(cr,{appearance:"discrete",className:"text-grey-700 -mr-2 cursor-pointer self-start !px-0",icon:"close","aria-label":i.toasts.dismiss,onClick:a}))},ts=t.createContext({}),ns=(e,t,n,l,a)=>{const r=[...e],o=e.findIndex(e=>JSON.stringify(e.content)===JSON.stringify(n));return o>-1?(r[o].lastDuplicateId=t,r[o].lastUpdated=Date.now()):r.push({id:t,content:"function"==typeof n?n(a):n,options:l}),r},ls=({children:e,...n})=>{const[l,a]=t.useState([]),r=e=>{a(t=>t.filter(t=>t.id!==e))},o=t.useCallback((e,t)=>{const n=c.v4(),l=()=>r(n);a(a=>ns(a,n,e,t,l));const o=(e,t)=>{a(a=>{const r=a.filter(e=>e.lastDuplicateId?e.lastDuplicateId!==n:e.id!==n);return ns(r,c.v4(),e,t,l)})};return{success:(e,t)=>{o(e,{autoClose:7500,...t,type:"success"})},error:(e,t)=>{o(e,{...t,type:"error"})},warning:(e,t)=>{o(e,{...t,type:"warning"})},information:(e,t)=>{o(e,{...t,type:"information"})},loading:(e,t)=>{o(e,{...t,type:"loading"})},close:l}},[]);return t.useEffect(()=>{o.success=(e,t)=>o(e,{autoClose:7500,...t,type:"success"}),o.error=(e,t)=>o(e,{...t,type:"error"}),o.warning=(e,t)=>o(e,{...t,type:"warning"}),o.information=(e,t)=>o(e,{...t,type:"information"}),o.loading=(e,t)=>o(e,{...t,type:"loading"})},[]),t.createElement(ts.Provider,Object.assign({},n,{value:o}),e,t.createElement(z.Portal,null,t.createElement("div",{id:"yt-toast__container",className:"pointer-events-all absolute !left-auto bottom-0 right-0 z-[1000] mb-4 mr-4 flex max-w-md flex-col items-end justify-end",role:"log"},t.createElement(h.AnimatePresence,{initial:!1},l.map(e=>t.createElement(h.motion.div,{key:e.id,transition:{type:"spring",damping:20,stiffness:300},initial:{opacity:0,y:10,scale:.5},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,scale:.5,transition:{duration:.2}}},t.createElement(es,Object.assign({},e,{onClose:()=>r(e.id)}))))))))},as=()=>t.useContext(ts),rs=t.createContext({uniqueUserIdentifier:""});var os;(os=exports.FontSizes||(exports.FontSizes={})).small="small",os.medium="medium",os.large="large";const is=n.forwardRef;function ss(e){return null==e?void 0:e.startsWith("__")}const cs=(e="medium")=>{switch(e){case exports.FontSizes.small:return 57;case exports.FontSizes.large:return 83;default:case exports.FontSizes.medium:return 72}};function us(e,t){return null==e?"":m.isDate(e)?null!==(n=oo(e))&&void 0!==n?n:"":"datetime"===t&&"string"==typeof e?null!==(l=oo(so(e)))&&void 0!==l?l:"":String(e);var n,l}function ds(e,t,n=["__actions"]){const l=e.filter(e=>ss(e.id)&&!n.includes(String(e.id))).map(e=>e.id),a=[];let r=[],o=e;Array.isArray(t)&&(o=e.slice().sort((e,n)=>(t.indexOf(e.id)>>>0)-(t.indexOf(n.id)>>>0))),o.forEach(e=>{ss(e.id)||function e(t,{orderingDisabled:n,orderingEnabled:l}){const a=t;var r;Array.isArray(a.columns)&&a.columns.length>0?a.columns.forEach(t=>e(t,{orderingDisabled:n,orderingEnabled:l})):null!==(r=t.meta)&&void 0!==r&&r.enableOrdering?l.push(t.id):n.push(t.id)}(e,{orderingDisabled:a,orderingEnabled:r})}),t&&t.length>0&&(r=r.reduce((e,n)=>{const l=t.indexOf(n);return l>-1&&(e[l]=n),e},[]).filter(e=>!!e));const i=[...l,...a,...r];return n.forEach(t=>{e.findIndex(e=>e.id===t)>-1&&i.push(t)}),i}function ms(e){var t;return null!==(t=null==e?void 0:e.filter(e=>ss(e)&&"__actions"!==e))&&void 0!==t?t:[]}function gs(e,t){return t.slice(0,e+1)}var fs,hs;!function(e){e[e.Contains=0]="Contains",e[e.DoesNotContain=1]="DoesNotContain",e[e.IsEqualTo=2]="IsEqualTo",e[e.IsNotEqualTo=3]="IsNotEqualTo",e[e.IsGreaterThan=4]="IsGreaterThan",e[e.IsLessThan=5]="IsLessThan",e[e.IsBetween=6]="IsBetween",e[e.IsEmpty=7]="IsEmpty",e[e.IsNotEmpty=8]="IsNotEmpty",e[e.IsLessThanOrEqualTo=9]="IsLessThanOrEqualTo",e[e.IsGreaterThanOrEqualTo=10]="IsGreaterThanOrEqualTo",e[e.HasAnyOf=11]="HasAnyOf",e[e.HasAllOf=12]="HasAllOf",e[e.HasNoneOf=13]="HasNoneOf"}(fs||(fs={})),function(e){e[e.Incomplete=0]="Incomplete",e[e.Loading=1]="Loading",e[e.Completed=2]="Completed"}(hs||(hs={}));const vs=e=>String(null!=e?e:"").toLocaleLowerCase(),ps=(e,t)=>vs(e).includes(vs(t)),ws=(e,t)=>vs(e)===vs(t);function bs(e,t,n){try{if(e.original){var l,a;const r=null===(l=e._getAllCellsByColumnId()[t])||void 0===l||null===(a=l.column.columnDef.meta)||void 0===a?void 0:a.dataType,o=us(e.original[t],r);return ps(o,n)}}catch{}return!1}function Es(e,t,n){return t.size&&(n[e]=t.size),{id:e,accessorKey:e,header:t.header,cell:t.renderer,enableColumnFilter:!1,enableGlobalFilter:!1,enableGrouping:!1,enableHiding:!1,enableResizing:!1,enableSorting:!1,size:t.size,minSize:t.size,meta:{...t.meta,enableOrdering:!1,enablePrinting:!1,enableTruncate:!1}}}function xs(e,t){var n,l,a,r,o,i;const s=e.enableRowSelection||e.enableRowSelectionSingle,c={defaultColumn:{enableColumnFilter:e.enableFiltering||!0,enableGrouping:!1,enableHiding:e.enableColumnHiding||!0,enableResizing:e.enableColumnResizing||!0,enableGlobalFilter:e.enableSearch||!0,enableSorting:e.enableSorting||!0,minSize:1,size:1},enableColumnFilters:null!==(n=e.enableFiltering)&&void 0!==n&&n,enableColumnResizing:null!==(l=e.enableColumnResizing)&&void 0!==l&&l,enableExpanding:null!==(a=e.enableRowExpansion)&&void 0!==a&&a,enableGrouping:!0,enableHiding:null!==(r=e.enableColumnHiding)&&void 0!==r&&r,enablePinning:null!==(o=e.enableColumnFreezing)&&void 0!==o&&o,enableRowSelection:null!=s&&s,enableMultiRowSelection:!0!==e.enableRowSelectionSingle&&s,enableSorting:null!==(i=e.enableSorting)&&void 0!==i&&i,getCoreRowModel:R.getCoreRowModel(),getExpandedRowModel:R.getExpandedRowModel(),getGroupedRowModel:R.getGroupedRowModel(),groupedColumnMode:!1};return c.enableColumnResizing&&(c.columnResizeMode="onChange"),c.enableColumnFilters&&(t.onChangeFilter||(c.getFilteredRowModel=R.getFilteredRowModel(),c.filterFns={tacoFilter:(e,t,n)=>function(e,t){try{if(t.comparator===fs.IsEmpty||t.comparator===fs.IsNotEmpty){const n=null==e||""===e;return t.comparator===fs.IsEmpty?n:!n}if(null==t.value||""===t.value)return!0;switch(t.comparator){case fs.Contains:return ps(e,t.value);case fs.DoesNotContain:return!ps(e,t.value);case fs.IsEqualTo:return m.isDate(e)?m.isDate(t.value)&&ro(e,t.value):"boolean"==typeof t.value?e===t.value:ws(e,t.value);case fs.IsNotEqualTo:return m.isDate(e)?m.isDate(t.value)&&!1===ro(e,t.value):"boolean"==typeof t.value?e!==t.value:!ws(e,t.value);case fs.IsGreaterThan:if(m.isDate(e))return m.isDate(t.value)&&m.isAfter(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>t.value}case fs.IsLessThan:if(m.isDate(e))return m.isDate(t.value)&&m.isBefore(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<t.value}case fs.IsLessThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isBefore(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<=t.value}case fs.IsGreaterThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isAfter(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>=t.value}case fs.IsBetween:{const[n,l]=t.value;if(m.isDate(e))return!(m.isDate(n)&&m.isBefore(e,n)||m.isDate(l)&&m.isAfter(e,l));{const t=parseInt(e);return!(isNaN(t)||void 0!==n&&t<n||void 0!==l&&t>l)}}case fs.HasAnyOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.some(t=>e.includes(t));case fs.HasNoneOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.every(t=>!1===e.includes(t));case fs.HasAllOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.filter(t=>e.includes(t)).length===t.value.length}return!1}catch(e){return console.error(e),!0}}(e.getValue(t),n)})),e.enableSearch&&(c.getFilteredRowModel=R.getFilteredRowModel(),c.globalFilterFn=bs,c.getColumnCanGlobalFilter=e=>{var t,n;return null===(t=null===(n=e.columnDef.meta)||void 0===n?void 0:n.enableSearch)||void 0===t||t}),c.enableSorting&&(t.onChangeSort?c.manualSorting=!0:c.getSortedRowModel=R.getSortedRowModel()),c}const ys={enableFiltering:!1,enableSearch:!1,enableSorting:!1,enableColumnFreezing:!1,enableColumnHiding:!1,enableColumnResizing:!1,enableRowExpansion:!1,enableRowSelection:!1,enableRowSelectionSingle:!1,enableColumnOrdering:!1,enableFontSize:!1,enableFooter:!1,enablePrinting:!1,enableRowActive:!0,enableRowActions:!1,enableRowClick:!1,enableRowGoto:!1,enableRowHeight:!1,enableSaveSettings:!1},zs={lite:{enableFiltering:!0,enableSearch:!0,enableSorting:!0,enableColumnFreezing:!0,enableColumnHiding:!1,enableColumnResizing:!0,enableRowExpansion:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableColumnOrdering:!1,enableFontSize:!1,enableFooter:!0,enablePrinting:!1,enableRowActive:!0,enableRowActions:!0,enableRowClick:!0,enableRowGoto:!0,enableRowHeight:!1,enableSaveSettings:!0},complex:{enableFiltering:!0,enableSearch:!0,enableSorting:!0,enableColumnFreezing:!0,enableColumnHiding:!0,enableColumnResizing:!0,enableRowExpansion:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableColumnOrdering:!0,enableFontSize:!0,enableFooter:!0,enablePrinting:!0,enableRowActive:!0,enableRowActions:!0,enableRowClick:!0,enableRowGoto:!0,enableRowHeight:!0,enableSaveSettings:!0}};function Rs(e=!1){return{isEnabled:e}}function Cs(e=!1,t="medium"){const[l,a]=n.useState(t);return{isEnabled:e,size:l,setSize:e?a:()=>{}}}function Ss(){return n.useContext(rs)}const Ns=(e,t)=>{const[l,a]=n.useState(()=>{if(!e)return t;try{const n=localStorage.getItem(e);return"string"!=typeof n?(localStorage.setItem(e,JSON.stringify(t)),t):JSON.parse(n||"null")}catch{return t}});return n.useEffect(()=>{if(e)try{const t=JSON.stringify(l);localStorage.setItem(e,t)}catch{}},[e,l]),[l,a,()=>{e&&localStorage.removeItem(e)}]},As={size:"A4",orientation:"portrait",allRows:!0,splitGroups:!0},Os=()=>{const[e,t]=n.useState(!1);return n.useEffect(()=>{const n=()=>t(!1);return e&&document.addEventListener("mousemove",n),()=>{document.removeEventListener("mousemove",n)}},[e]),[e,t]};function Is(e){setTimeout(()=>{var t,n;null===(t=e.current)||void 0===t||null===(n=t.querySelector('[data-taco="table2-body"] [role="row"] [role="cell"]:first-child'))||void 0===n||n.focus()},1)}function Ls(e=!1,t){const[l,a]=n.useState(t),[r,o]=Os(),i=(e,t,n)=>a(l=>{const a=void 0!==l?function(e,t,n){return-1===e?t-1>0?t-1:0:t+1<n?t+1:t}(e,l,t):0;return setTimeout(()=>n(a),1),a}),s=n.useCallback((t,n,l,r)=>{if(e&&!t.defaultPrevented)if("ArrowUp"!==t.key&&"ArrowDown"!==t.key||o(!0),"ArrowUp"!==t.key)if("ArrowDown"!==t.key);else{if(t.preventDefault(),t.ctrlKey||t.metaKey){const e=n-1;a(e),l(e)}else i(1,n,l);r&&Is(r)}else{if(t.preventDefault(),t.ctrlKey||t.metaKey){const e=0;a(e),l(e)}else i(-1,n,l);r&&Is(r)}},[e]),c=n.useCallback((t,n,r)=>{e&&!t.isDefaultPrevented()&&(t.target.closest("tbody")||t.target.closest('[data-taco="table2-body"]')||Wa(t.target,t.currentTarget)||void 0===l&&n>0&&a(e=>void 0===e?(r(0),0):e))},[l,length,e]);return{isEnabled:e,rowActiveIndex:l,setRowActiveIndex:e?a:()=>{},isHoverStatePaused:r,setHoverStatePaused:e?o:()=>{},handleFocus:e?c:()=>{},handleKeyDown:e?s:()=>{}}}function Hs(e=!1,t){const l=n.useCallback((function(n,l){if(e&&"function"==typeof t&&!n.defaultPrevented)return l&&"Enter"===n.key?(n.preventDefault(),void t(l)):void 0}),[e,t]),a=n.useCallback((function(n,l){e&&"function"==typeof t&&!n.defaultPrevented&&(n.preventDefault(),t(l))}),[e,t]);return{isEnabled:e,handleClick:a,handleKeyDown:l}}function Ms(e=!1,t){return{isEnabled:e,handleGoto:e?t:void 0}}function ks(e=!1,t="medium"){const[l,a]=n.useState(t);return{isEnabled:e,height:l,setHeight:e?a:()=>{}}}function Vs(e=!1){const t=n.useRef(),l=n.useCallback((t,n)=>{if(!e||!n.options.enableRowSelection||t.defaultPrevented)return;const l=n.getRowModel().rows,a=n.options.meta;if(" "!==t.key)return(t.ctrlKey||t.metaKey)&&"a"===t.key?(t.preventDefault(),void n.toggleAllRowsSelected()):void 0;{t.preventDefault();const e=a.rowActive.rowActiveIndex;var r;void 0!==e&&(null===(r=l[e])||void 0===r||r.toggleSelected())}},[e]);return{isEnabled:e,handleKeyDown:e?l:()=>{},lastSelectedRowIndex:t}}function js(e,t){try{var n=e()}catch(e){return t(e)}return n&&n.then?n.then(void 0,t):n}function Ts(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,n)}function Ds(e,t,l=100){const a=!!e&&!!t,[r,o]=n.useState(hs.Incomplete);let i,s;return"function"==typeof t&&(i=function(...e){try{const n=function(){if("function"==typeof t)return o(hs.Loading),Promise.resolve(t(...e)).then((function(){o(hs.Completed)}))}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},s=function(...e){try{const t=function(){var t;if(r===hs.Incomplete)return Promise.resolve(null===(t=i)||void 0===t?void 0:t(...e)).then((function(){}))}();return Promise.resolve(t&&t.then?t.then((function(){})):void 0)}catch(e){return Promise.reject(e)}}),{isEnabled:a,loadPage:e,loadAll:i,loadAllIfNeeded:s,loadAllStatus:r,pageSize:l}}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));const Fs={columnOrder:!0,columnPinning:!0,columnSizing:!0,columnVisibility:!0,excludeUnmatchedRecordsInSearch:!0,fontSize:!0,grouping:!0,rowHeight:!0,sorting:!0};function Ps(e,t){const n={...e};return Object.keys(t).forEach(e=>{t[e]||delete n[e]}),n}function Bs(e,t){const l=n.useRef(!1);n.useEffect(()=>{l.current?e():l.current=!0},t)}function _s(e){const t=e.options.meta,n=e.getRowModel().rows;Bs(()=>{const e=t.rowActive.rowActiveIndex;void 0!==e&&e>n.length&&t.rowActive.setRowActiveIndex(0)},[n.length])}function Gs(e,t){const n=e.getState().columnFilters;Bs(()=>{e.options.enableColumnFilters&&"function"==typeof t&&(t(n),e.options.enableRowSelection&&e.resetRowSelection())},[e.options.enableColumnFilters,n])}function qs(e){const t=e.options.meta,l=n.useRef(t.fontSize.size);Bs(()=>{const n=function(e){switch(e){case`${exports.FontSizes.small}-${exports.FontSizes.medium}`:case`${exports.FontSizes.medium}-${exports.FontSizes.large}`:return 8;case`${exports.FontSizes.medium}-${exports.FontSizes.small}`:case`${exports.FontSizes.large}-${exports.FontSizes.medium}`:return-8;case`${exports.FontSizes.small}-${exports.FontSizes.large}`:return 16;case`${exports.FontSizes.large}-${exports.FontSizes.small}`:return-16;default:return 0}}(`${l.current}-${t.fontSize.size}`);e.setColumnSizing(e=>{const l=cs(t.fontSize.size);return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,Math.max(l,t+n)]))}),l.current=t.fontSize.size},[t.fontSize.size])}function $s(e,t){const n=e.getState().rowSelection;Bs(()=>{const n=e.getSelectedRowModel().rows;var l,a;e.options.enableRowSelection&&"function"==typeof t&&t(e.options.enableMultiRowSelection?n.map(e=>e.original):null!==(l=[null===(a=n[0])||void 0===a?void 0:a.original])&&void 0!==l?l:[])},[e.options.enableRowSelection,e.options.enableMultiRowSelection,JSON.stringify(n)])}function Ks(e){const t=e.options.meta,n=e.getState();return{columnOrder:t.columnOrdering.isEnabled?n.columnOrder:void 0,columnPinning:n.columnPinning,columnSizing:n.columnSizing,columnVisibility:e.options.enableHiding?n.columnVisibility:void 0,excludeUnmatchedRecordsInSearch:t.search.excludeUnmatchedResults,fontSize:t.fontSize.isEnabled?t.fontSize.size:void 0,grouping:e.options.enableGrouping?n.grouping:void 0,rowHeight:t.rowHeight.isEnabled?t.rowHeight.height:void 0,sorting:n.sorting}}function Us(e,t){const l=e.options.meta,a=e.getRowModel().rows;n.useEffect(()=>{const e=Object.keys(null!=t?t:{}),n=[];if(t&&e.length&&void 0!==l.rowActive.rowActiveIndex){const r=a[l.rowActive.rowActiveIndex];e.forEach(e=>{const l=t[e];let a,o;"function"==typeof l?(a=l,o={key:e}):(a=l.handler,o={key:e,meta:l.meta,shift:l.shift}),n.push(er(o,e=>{e.preventDefault(),a(null==r?void 0:r.original)}))})}return n.forEach(e=>{document.addEventListener("keydown",e)}),()=>{n.forEach(e=>{document.removeEventListener("keydown",e)})}},[t,l.rowActive.rowActiveIndex,a.length])}function Ws(e,t){const n=e.getState().sorting;Bs(()=>{e.options.enableSorting&&"function"==typeof t&&(t(n),e.options.enableRowSelection&&e.resetRowSelection())},[e.options.enableSorting,n])}function Js(e,t){const l=e.getState().sorting,a=e.getState().columnFilters,r=e.getState().globalFilter;n.useEffect(()=>{t&&t(0,l,a,r)},[])}const Ys=n.createContext({isHovered:!1,setIsHovered:()=>{},rowIndex:-1});function Qs(){return null}function Xs(e){const{actions:t,actionsLength:a,data:r,fontSize:o,isActiveRow:i}=e,{texts:s}=fr(),c=t.map(e=>e(r)).filter(e=>!!e),u=c.length===a?c:c.slice(0,a-1),d=c.slice(c.length===a?a:a-1),m=l("-mb-2 flex justify-end text-right bg-[inherit] shadow-[-6px_0px_6px_var(--table-row-actions-shadow)] print:hidden",{"-mt-2":o===exports.FontSizes.small,"-mt-1.5":o!==exports.FontSizes.small});return n.createElement("span",{className:m},u.map((e,t)=>{var l,a;const r=String(null!==(l=null!==(a=e.props.tooltip)&&void 0!==a?a:e.props["aria-label"])&&void 0!==l?l:"");return n.cloneElement(e,{appearance:"transparent",key:t,tabIndex:i?0:-1,tooltip:e.props.shortcut?n.createElement(n.Fragment,null,r,n.createElement(wi,{className:"ml-2",keys:e.props.shortcut})):r})}),d.length?n.createElement(cr,{appearance:"transparent","aria-label":s.table3.columns.actions.tooltip,icon:"more",tabIndex:i?0:-1,menu:e=>n.createElement(ji,Object.assign({},e),n.createElement(ji.Content,null,d.map((e,t)=>n.createElement(ji.Item,Object.assign({key:t},e.props,{shortcut:e.props.shortcut}),e.props["aria-label"]))))}):null)}const Zs=n.memo((function(e){const{row:t,table:l}=e,{rowIndex:a}=n.useContext(Ys),r=l.options.meta,o=r.rowActions.rowActions,i=r.rowActions.rowActionsLength,s=r.rowActive.rowActiveIndex===a,c=!!l.getState().columnSizingInfo.isResizingColumn,u=r.rowActive.isHoverStatePaused,{isHovered:d}=n.useContext(Ys);return null!=o&&o.length&&(s||d&&!u&&!c)?n.createElement(Xs,{actions:o,actionsLength:i,data:t.original,fontSize:r.fontSize.size,isActiveRow:s}):null}));function ec(e){const{texts:t}=fr(),{table:l}=e,a=l.getIsSomeRowsExpanded(),r=a?t.table3.columns.expansion.collapseAll:t.table3.columns.expansion.expandAll;return n.createElement(ar,{title:r},n.createElement(cr,{appearance:"transparent",icon:a?"chevron-down-double":"chevron-right-double",onClick:e=>{e.stopPropagation(),l.toggleAllRowsExpanded(!a)},tabIndex:-1,title:r}))}function tc(e){var t,l;const{texts:a}=fr(),r=e.table.options.meta;if(null===(t=(l=r.rowExpansion).rowExpansionRenderer)||void 0===t?void 0:t.call(l,e.row.original)){const t=r.rowActive.rowActiveIndex===e.row.index,l=e.row.getIsExpanded(),o=l?a.table3.columns.expansion.collapse:a.table3.columns.expansion.expand;return n.createElement(ar,{title:o},n.createElement(cr,{appearance:"discrete",icon:l?"chevron-down":"chevron-right",onClick:t=>{t.stopPropagation(),e.row.toggleExpanded()},tabIndex:t?0:-1,title:o}))}return null}function nc(e){const{texts:t}=fr(),{table:l}=e,a=l.options.meta;if(l.options.enableMultiRowSelection){const e=l.getIsAllRowsSelected(),r=l.getIsSomeRowsSelected(),o=e?t.table3.columns.select.deselectAll:t.table3.columns.select.selectAll,i=function(e){try{function t(){l.toggleAllRowsSelected(e)}const n=function(){if(a.server.loadAllIfNeeded)return Promise.resolve(a.server.loadAllIfNeeded(l.getState().sorting,l.getState().columnFilters,void 0)).then((function(){}))}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}};return n.createElement(ar,{title:o},n.createElement(Ar,{"aria-label":o,className:"hover:border-blue !-mt-px",key:String(`${e}_${r}`),checked:e,indeterminate:r,loading:a.server.loadAllStatus===hs.Loading,onChange:i}))}return null}function lc(e){var t;const{texts:a}=fr(),{row:r,table:o}=e,{rowIndex:i}=n.useContext(Ys),s=o.options.meta;if(o.options.enableGrouping&&null!==(t=o.getState().grouping)&&void 0!==t&&t.length&&!r.getIsGrouped())return null;const c=r.getIsGrouped()?r.getIsAllSubRowsSelected():r.getIsSelected(),u=c?a.table3.columns.select.deselect:a.table3.columns.select.select;if(o.options.enableMultiRowSelection){const e=function(e){try{function t(){s.rowSelection.lastSelectedRowIndex.current=r.index}e.stopPropagation();const n=function(){if(r.getIsGrouped())r.subRows.forEach(e=>e.toggleSelected());else{const t=function(){if(e.shiftKey){var t;function n(){o.setRowSelection(e=>({...e,...c.reduce((e,t)=>({...e,[t.id]:!0}),{})}))}const[e,r]=(l=null!==(t=s.rowSelection.lastSelectedRowIndex.current)&&void 0!==t?t:0,[(a=i)<l?a:l,a>l?a:l]),c=o.getRowModel().rows.slice(e,r+1),u=function(){if(s.server.loadAllIfNeeded&&c.some(e=>void 0===e.original))return Promise.resolve(s.server.loadAllIfNeeded(o.getState().sorting,o.getState().columnFilters,void 0)).then((function(){}))}();return u&&u.then?u.then(n):n()}var l,a;r.toggleSelected()}();if(t&&t.then)return t.then((function(){}))}}();return Promise.resolve(n&&n.then?n.then(t):t())}catch(e){return Promise.reject(e)}};return n.createElement(ar,{title:n.createElement(n.Fragment,null,u,n.createElement(wi,{className:"ml-2",keys:"Space"}))},n.createElement(Ar,{"aria-label":u,className:"!mt-0",checked:c,onClick:e,onChange:()=>!1}))}{const e=l("!mt-0",Ci());return n.createElement("button",{className:e,"aria-checked":c,onClick:e=>{e.stopPropagation(),r.toggleSelected(),s.rowSelection.lastSelectedRowIndex.current=r.index},role:"radio",type:"button"},c?n.createElement("span",{className:"h-2 w-2 rounded-full bg-white"}):null)}}const ac={asc:n.createElement(za,{name:"chevron-up-solid",className:"pointer-events-none -my-0.5"}),desc:n.createElement(za,{name:"chevron-down-solid",className:"pointer-events-none -my-0.5"})};function rc(e){var t;return null!==(t=ac[e.direction])&&void 0!==t?t:null}const oc={asc:"ascending",desc:"descending"};function ic(e){const{headerRef:t,id:a,isResizing:r,onResize:o,setColumnSizing:i,width:s}=e,{texts:c}=fr(),u=e=>{!Number.isInteger(s)&&t?(i(e=>({...e,[a]:t.getBoundingClientRect().width})),setTimeout(()=>{null==o||o(e)},1)):null==o||o(e)},d=n.createElement("div",{className:l("invisible absolute right-0 top-0 z-10 -mr-2 flex h-full w-4 cursor-col-resize touch-none select-none justify-center rounded py-0.5","group-hover/header:visible","[th:last-child>&]:!mr-0 [th:last-child>&]:w-2",{"!visible":r}),onClick:e=>{e.stopPropagation(),e.preventDefault()},onMouseDown:u,onTouchStart:u},n.createElement("div",{className:l("h-full w-1 rounded",{"!bg-blue-500":r,"bg-grey-500 hover:bg-grey-700":!r})}));return r?d:n.createElement(ar,{placement:"top",title:c.table3.columns.resize.tooltip},d)}const sc=t.forwardRef((function({onSearch:e,...n},l){const a=$a(l),{texts:r}=fr(),o=()=>{var t,n;null==e||e(null!==(t=null===(n=a.current)||void 0===n?void 0:n.value)&&void 0!==t?t:"")};return t.createElement(jr,Object.assign({"aria-label":r.searchInput.placeholder,placeholder:r.searchInput.placeholder},n,{onKeyDown:t=>{var l;if(null===(l=n.onKeyDown)||void 0===l||l.call(n,t),!t.isDefaultPrevented())return"Enter"===t.key?(t.preventDefault(),void o()):void("Escape"!==t.key||null==e||e(""))},postfix:t.createElement(t.Fragment,null,n.disabled||n.readOnly||!n.value?null:t.createElement(cr,{"aria-hidden":!0,"aria-label":r.searchInput.clear,className:"group-peer-focus:visible group-peer-hover:visible !text-grey-700 invisible mr-0.5 !h-5 !min-h-[theme(spacing.4)] !w-5 !min-w-[theme(spacing.4)] text-xs hover:visible group-hover:visible",icon:"close",onClick:()=>{qr(a.current,"")},rounded:!0,tabIndex:-1,tooltip:r.searchInput.clear}),t.createElement(cr,{"aria-label":r.searchInput.button,icon:"search",className:"group-peer-focus:!border-transparent group-peer-focus:group-peer-active:!border-transparent -mr-2 !border-transparent !bg-transparent focus:!border-transparent",disabled:n.disabled||n.readOnly,onClick:o,tabIndex:-1,tooltip:r.searchInput.button})),ref:a,type:"search"}))}));function cc(e){const{onGoto:t,trigger:l,...a}=e,{texts:r}=fr();return n.createElement(po,Object.assign({},a,{anchor:l}),n.createElement(po.Content,null,n.createElement(sc,{"aria-label":r.table3.columns.menu.gotoRow,name:"query",onSearch:e=>t(e),onKeyDown:e=>e.stopPropagation(),placeholder:r.table3.columns.menu.gotoRow+"..."})))}function uc(e){const{canFilter:t,canGoto:a,canHide:r,canPin:o,canSort:i,customMenu:s,index:c,isFiltered:u,onFilter:d,onGoto:m,onHide:g,onPin:f,onSortToggle:h,setRowActiveIndex:v,sortDirection:p}=e,{texts:w}=fr(),[b,E]=n.useState(void 0);let x;if(b){const e=()=>E(void 0);switch(b){case"goto":if(m){const t=function(t){try{const n=Ts((function(){return js((function(){return Promise.resolve(m(t)).then((function(e){v(e)}))}),(function(e){console.error(e)}))}),(function(t,n){if(e(),t)throw n;return n}));return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};x=l=>n.createElement(cc,Object.assign({},l,{open:!0,onChange:e,onGoto:t}))}}}const y=n.useMemo(()=>{const e=[];if(r&&g&&e.push(n.createElement(ji.Item,{icon:"eye-off",onClick:e=>setTimeout(()=>g(e),1)},w.table3.columns.menu.hideColumn)),i&&e.push(n.createElement(ji.Item,{icon:"sort-by",subMenu:()=>n.createElement(ji.SubMenu,null,n.createElement(ji.RadioGroup,{onChange:h,value:p},n.createElement(ji.RadioGroup.Item,{value:"asc"},w.table3.columns.menu.sortingOrder.ascending),n.createElement(ji.RadioGroup.Item,{value:"desc"},w.table3.columns.menu.sortingOrder.descending),n.createElement(ji.RadioGroup.Item,{value:!1},w.table3.columns.menu.sortingOrder.unsorted)))},w.table3.columns.menu.sorting)),a&&e.push(n.createElement(ji.Item,{icon:"move",onClick:()=>E("goto"),shortcut:"g"},w.table3.columns.menu.gotoRow,"...")),o&&f&&(e.push(n.createElement(ji.Item,{icon:"column-freeze",onClick:()=>f(c)},0===c?w.table3.columns.menu.freezeFirstColumn:w.table3.columns.menu.freezeUptoColumn.replace("[TOTAL]",String(c+1)))),e.push(n.createElement(ji.Item,{icon:"column-unfreeze",onClick:()=>f(void 0)},w.table3.columns.menu.unfreezeColumns))),t&&d&&e.push(n.createElement(ji.Item,{icon:u?"filter-solid":"filter",onClick:()=>d()},u?w.table3.columns.menu.editFilter:w.table3.columns.menu.filter)),s){const t=s({trigger:void 0}),l=n.Children.toArray(t.props.children.props.children);l.length&&(e.length&&e.push(n.createElement(ji.Separator,null)),e.push(...l))}return e.map((e,t)=>n.cloneElement(e,{key:t}))},[t,a,r,o,i,s,m,h,c,u,p]),z=l("justify-end -mr-1 overflow-hidden","!h-6 !w-0 !min-h-[theme(spacing.6)] !min-w-0","group-hover/header:!w-6 group-hover/header:!min-w-[theme(spacing.6)]","aria-expanded:!w-6 aria-expanded:!min-w-[theme(spacing.6)]","focus:!w-6 focus:!min-w-[theme(spacing.6)]",{"!w-6 !min-w-[theme(spacing.6)]":!!x},e.className);return n.createElement(cr,{className:z,icon:"more",menu:x?void 0:e=>n.createElement(ji,Object.assign({},e),n.createElement(ji.Content,null,y)),popover:x,onClickCapture:e=>e.preventDefault()})}function dc(e){var t;if(e.column.getIsGrouped())return null;const{table:a}=e.getContext(),r=a.options.meta,o=null!==(t=e.column.columnDef.meta)&&void 0!==t?t:{},i=!!e.subHeaders.length,s=function(e){var t,n;return null!==(t=e.subHeaders)&&void 0!==t&&t.length?null===(n=e.subHeaders.find(e=>e.column.getIsPinned()))||void 0===n?void 0:n.column.getIsPinned():e.column.getIsPinned()}(e),c=!e.isPlaceholder&&e.column.getCanFilter()&&!!a.options.enableColumnFilters,u=!e.isPlaceholder&&!i&&e.column.getCanHide(),d=!!a.getRowModel().rows.length,m=!e.isPlaceholder&&!i&&e.column.getCanPin(),g=!e.isPlaceholder&&!i&&e.column.getCanResize(),f=!e.isPlaceholder&&!i&&e.column.getCanSort(),h=f&&!e.isPlaceholder&&!i&&r.rowGoto.isEnabled&&!!e.column.getIsSorted(),v=!ss(e.id)&&(u||h||m||f||!!o.menu),p=a.getState().sorting,w=a.getState().columnFilters,b=a.getState().globalFilter,E={align:o.align,canFilter:c,canHide:u,canGoto:h,canMeasureSize:d,canPin:m,canResize:g,canSort:f,className:l("group/header",o.headerClassName),children:R.flexRender(e.column.columnDef.header,e.getContext()),colSpan:e.colSpan,customMenu:o.menu,defaultWidth:o.defaultWidth,hasMenu:v,id:e.id,isFiltered:e.column.getIsFiltered(),index:e.index,isGroup:i,isPinned:s,isPlaceholder:e.isPlaceholder,offset:e.column.getStart(s),setRowActiveIndex:r.rowActive.setRowActiveIndex,setColumnSizing:a.setColumnSizing,tooltip:o.tooltip,width:a.getState().columnSizing[e.id]};if(e.isPlaceholder){const t=e.headerGroup.headers[e.index+1];E.className=l("!bg-white before:!content-none",E.className,{"after:!content-none":null==t?void 0:t.isPlaceholder})}if(c&&(E.onFilter=()=>{e.column.setFilterValue({comparator:fs.Contains})}),h&&(E.onGoto=t=>{var n,l;return null===(n=(l=r.rowGoto).handleGoto)||void 0===n?void 0:n.call(l,e.id,t,p,w,b)}),u&&(E.onHide=e.column.getToggleVisibilityHandler()),m&&(E.onPin=e=>{a.setColumnPinning(t=>({...t,left:void 0===e?ms(t.left):gs(e,a.getAllLeafColumns().map(e=>e.id))}))}),g&&(E.isResizing=e.column.getIsResizing(),E.onResize=e.getResizeHandler()),f){const t=t=>{!1===t?e.column.clearSorting():e.column.toggleSorting("desc"===t)};E.onSort=e.column.getToggleSortingHandler(),E.onSortToggle=t,E.sortDirection=e.column.getIsSorted()}return n.createElement(mc,Object.assign({key:e.id},E))}const mc=n.memo((function(e){const{align:t,canFilter:a,canGoto:r,canHide:o,canMeasureSize:i,canPin:s,canResize:c,canSort:u,children:d,className:m,colSpan:g,customMenu:f,defaultWidth:h,hasMenu:v,id:p,index:w,isFiltered:b,isGroup:E,isPinned:x,isPlaceholder:y,isResizing:z,offset:R,onFilter:C,onGoto:S,onHide:N,onPin:A,onResize:O,onSort:I,onSortToggle:L,setRowActiveIndex:H,setColumnSizing:M,sortDirection:k,tooltip:V,width:j}=e,[T,D]=n.useState(null);!function(e,t,l,a,r,o){n.useEffect(()=>{r&&a&&!Number.isInteger(l)&&!ss(e)&&"grow"!==t&&o(t=>({...t,[e]:a.getBoundingClientRect().width}))},[a,r,l])}(p,h,j,T,i,M);const F={};return g>1&&(F.gridColumn="span "+g),x&&(F[x]=R+"px"),n.createElement("th",Object.assign({},function(e,t,n){var l;return e?{"aria-sort":null!==(l=oc[n])&&void 0!==l?l:"none",onClick:e=>{!e.isDefaultPrevented()&&e.currentTarget.contains(e.target)&&(e.preventDefault(),null==t||t(e))}}:{}}(u,I,k),{className:m,"data-cell-align":E?"center":t,"data-cell-id":p,"data-cell-pinned":x||void 0,style:F,ref:D}),y?null:ss(p)?d:n.createElement(ar,{title:String(null!=V?V:d),placement:"top"},n.createElement("span",{className:"truncate"},d)),k?n.createElement(rc,{direction:k}):null,v?n.createElement(uc,{canFilter:a,canGoto:r,canHide:o,canPin:s,canSort:u,className:l({"ml-auto":"right"!==t,"ml-0":"right"===t}),customMenu:f,index:w,isFiltered:b,onFilter:C,onGoto:S,onHide:N,onPin:A,onSortToggle:L,setRowActiveIndex:H,sortDirection:k}):null,c?n.createElement(ic,{headerRef:T,id:p,isResizing:z,onResize:O,setColumnSizing:M,width:j}):null)})),gc={accept:e=>!!e.closest('tr[data-row-active="true"]'),tabbable:!0};function fc(e){const{enableArrowKeyFocusing:t=!1,table:l,...a}=e,r=n.useRef(null),o=function(){const e=v.useFocusManager();return{focusPrevious:()=>e.focusPrevious(gc),focusNext:()=>e.focusNext(gc),focusFirst:()=>e.focusFirst(gc),focusLast:()=>e.focusLast(gc)}}(),i=l.options.meta,s=n.useRef(0);return n.createElement("tbody",Object.assign({"data-taco":"report-body"},a,{onKeyDown:e=>{if(!e.isDefaultPrevented()&&!e.isPropagationStopped()&&void 0!==i.rowActive.rowActiveIndex){const n=0===i.rowActive.rowActiveIndex,l=i.rowActive.rowActiveIndex===i.length-1;if("Tab"===e.key||t&&("ArrowLeft"===e.key||"ArrowRight"===e.key)){if(i.rowActive.setHoverStatePaused(!0),e.shiftKey||"ArrowLeft"===e.key?o.focusPrevious():o.focusNext())return e.preventDefault(),void(s.current=s.current+1);e.shiftKey||"ArrowLeft"===e.key?n||0===s.current||(e.preventDefault(),i.rowActive.setRowActiveIndex(i.rowActive.rowActiveIndex-1),s.current=0,requestAnimationFrame(()=>o.focusLast())):l||0===s.current||(e.preventDefault(),i.rowActive.setRowActiveIndex(i.rowActive.rowActiveIndex+1),s.current=0,requestAnimationFrame(()=>o.focusFirst()))}}},ref:r}))}function hc(e){var t;const{table:l}=e,{locale:a,texts:r}=fr(),o=l.options.meta.length,i=l.getRowModel().rows.length;let s,c;const u=l.getSelectedRowModel().rows.length;return u>0?(s=r.table3.footer.summary.selected,c=n.createElement(n.Fragment,null,n.createElement("strong",null,new Intl.NumberFormat(a).format(u))," ",r.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(a).format(o)))):null!==(t=l.getState().columnFilters)&&void 0!==t&&t.length||l.getState().globalFilter&&l.options.enableGlobalFilter?(s=r.table3.footer.summary.records,c=n.createElement(n.Fragment,null,n.createElement("strong",null,i)," ",r.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(a).format(o)))):(s=r.table3.footer.summary.records,c=n.createElement("strong",null,new Intl.NumberFormat(a).format(o))),n.createElement("div",{className:"sticky left-0 z-20 flex h-full w-fit items-center whitespace-nowrap bg-white pr-1 shadow-[12px_0px_6px_white]","data-taco":"table2-footer-summary"},s," ",c)}function vc(e){return n.createElement(pc,{key:e.id,footer:e})}const pc=n.memo((function(e){var t,l;const{footer:a}=e,r=a.column.columnDef.meta,o=null!==(t=a.subHeaders)&&void 0!==t&&t.length?null===(l=a.subHeaders.find(e=>e.column.getIsPinned()))||void 0===l?void 0:l.column.getIsPinned():a.column.getIsPinned(),i={};let s,c;return o&&(i[o]=a.column.getStart(o)-1+"px"),0===a.index?(c="left",s=n.createElement(hc,{table:a.getContext().table})):(c=r.align,s=a.isPlaceholder?null:R.flexRender(a.column.columnDef.footer,a.getContext())),n.createElement("td",{key:a.id,"data-cell-align":c,"data-cell-id":a.id,"data-cell-pinned":o||void 0,style:i},s)})),wc=n.forwardRef((function(e,t){var a,r;const{findCurrent:o,findTotal:i,loading:s=!1,onChange:c,onClear:u,onClickFindNext:d,onClickFindPrevious:m,settingsContent:g,shortcut:f,value:h,...v}=e,p=$a(t),w=n.useRef(null),[b,E]=n.useState(!1),{texts:x}=fr(),y=null==h?void 0:h.length,z=d&&m&&void 0!==o&&void 0!==i;nr(f,e=>{var t;document.activeElement!==p.current&&(e.preventDefault(),null===(t=p.current)||void 0===t||t.focus())});const R=e=>{var t,n;w.current&&(w.current===e.relatedTarget||null!==(t=w.current)&&void 0!==t&&t.contains(e.relatedTarget))||(E(!1),null===(n=v.onBlur)||void 0===n||n.call(v,e))},C=()=>{requestAnimationFrame(()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.blur()}),c(""),null==u||u()};let S;v.disabled||v.readOnly||!h&&!b?!f||b||h||(S=n.createElement(wi,{keys:f,onClickCapture:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.focus()}})):(h&&(S=n.createElement(cr,{"aria-label":x.searchInput.clear,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"close",onMouseDown:C,tabIndex:-1,tooltip:b?n.createElement(n.Fragment,null,x.searchInput.clear," ",n.createElement(wi,{keys:"Escape"})):x.searchInput.clear})),z&&y&&(S=n.createElement(n.Fragment,null,n.createElement("span",{className:"text-grey-700 flex h-4 items-center border-r border-black/[0.25] pr-2"},s?n.createElement(Nr,{className:"h-4 w-4"}):`${null!=o?o:0}/${null!=i?i:0}`),o?n.createElement(n.Fragment,null,n.createElement(cr,{"aria-label":x.searchInput.findPrevious,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"chevron-up",onMouseDown:m,tabIndex:-1,tooltip:b?n.createElement(n.Fragment,null,x.searchInput.findPrevious," ",n.createElement(wi,{keys:{shift:!0,key:"Enter"}})):x.searchInput.findPrevious}),n.createElement(cr,{"aria-label":x.searchInput.findNext,className:"scale-75 !bg-transparent hover:!bg-black/[0.08] [&>svg]:scale-125",icon:"chevron-down",onMouseDown:d,tabIndex:-1,tooltip:b?n.createElement(n.Fragment,null,x.searchInput.findNext," ",n.createElement(wi,{keys:"Enter"})):x.searchInput.findNext})):null,S)));const N=l("!pl-7 group-focus-within:!w-72 group-focus-within:yt-focus",z?{"!w-48":!h,"!w-72":h}:"!w-48",{"!wcag-blue-100":y},e.className),A=n.createElement(jr,Object.assign({},v,{"aria-label":null!==(a=v["aria-label"])&&void 0!==a?a:x.searchInput.placeholder,className:N,"data-taco":"search-input2",onBlur:R,onChange:e=>c(e.target.value),onFocus:e=>{var t;E(!0),null===(t=v.onFocus)||void 0===t||t.call(v,e)},onKeyDown:t=>{var n;if(null===(n=e.onKeyDown)||void 0===n||n.call(e,t),!t.isDefaultPrevented())return"Enter"===t.key?(t.preventDefault(),void(z&&y&&(t.shiftKey?null==m||m():null==d||d()))):"Escape"===t.key?(C(),void t.stopPropagation()):void 0},placeholder:null!==(r=v.placeholder)&&void 0!==r?r:x.searchInput.placeholder,prefix:n.createElement(za,{"aria-label":x.searchInput.button,className:"-ml-0.5 scale-95",name:"search",onClickCapture:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.focus()}}),postfix:S,ref:p,value:null!=h?h:""}));if(g){const e=l("border-grey-300 absolute left-0 right-0 -mt-0.5 hidden top-full group-focus-within:flex focus-within:flex flex-col gap-y-4 rounded-b border border-t-0 bg-white p-3 shadow !pt-[calc(theme(spacing.3)_+_theme(spacing[0.5]))]");return n.createElement("div",{className:l("group relative",{"z-10 [&_[data-taco=input-container]]:z-10":b}),ref:w,style:{opacity:.999}},A,n.createElement("div",{onBlur:R,className:e,onClickCapture:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.focus()},tabIndex:-1},g))}return A})),bc=t.forwardRef((function(e,n){const{label:a,onChange:r,...o}=e,i=Sr(e.id),s=l("group h-5 w-9 flex flex-shrink-0 rounded-full inline-flex focus-visible:yt-focus",{"mr-2":!!a,"bg-grey-500 hover:bg-grey-700 aria-checked:bg-blue-500 aria-checked:hover:bg-blue-700":!e.disabled,"bg-grey-500/50 aria-checked:bg-blue-500/50 cursor-not-allowed":e.disabled},e.className);let c=null;a&&(c={"aria-labelledby":i+"-label",id:i});const u=t.createElement(y.Root,Object.assign({},o,c,{className:s,"data-taco":"switch",onCheckedChange:r,ref:n}),t.createElement(y.Thumb,{className:"'will-change-transform mt-0.5 h-4 w-4 translate-x-[0.15rem] rounded-full bg-white transition-transform group-disabled:opacity-50 group-aria-checked:translate-x-[1.1rem]"}));if(a){const n=l("flex self-start cursor-pointer",{"cursor-not-allowed text-grey-300":e.disabled});return t.createElement("span",{className:n,"data-taco":"switch-container"},u,t.createElement("label",{htmlFor:i,id:i+"-label"},a))}return u}));function Ec(e){var t,l;const{scrollToIndex:a,table:r}=e,{texts:o}=fr(),i=n.useRef(null),s=r.options.meta,c=r.getState().globalFilter,u=e=>a(e,{align:"center"});n.useEffect(()=>{s.search.highlightedColumnIndexes.length&&u(s.search.highlightedColumnIndexes[0][0])},[s.search.highlightedColumnIndexes.length]);const d=n.createElement(bc,{label:o.table3.search.excludeUnmatchedResults,checked:!!r.options.enableGlobalFilter,onChange:e=>{s.search.setEnableGlobalFilter(e,r),requestAnimationFrame(()=>{var e;return null===(e=i.current)||void 0===e?void 0:e.focus()})}});return n.createElement(n.Fragment,null,n.createElement(wc,{findCurrent:void 0!==s.search.currentHighlightColumnIndex?s.search.currentHighlightColumnIndex+1:null,findTotal:null!==(t=null===(l=s.search.highlightedColumnIndexes)||void 0===l?void 0:l.length)&&void 0!==t?t:null,loading:s.server.loadAllStatus===hs.Loading,onClickFindPrevious:()=>{if(!s.search.highlightedColumnIndexes.length)return;const e=void 0===s.search.currentHighlightColumnIndex?0:0===s.search.currentHighlightColumnIndex?s.search.highlightedColumnIndexes.length-1:s.search.currentHighlightColumnIndex-1;s.search.setCurrentHighlightColumnIndex(e),u(s.search.highlightedColumnIndexes[e][0])},onClickFindNext:()=>{if(!s.search.highlightedColumnIndexes.length)return;const e=void 0===s.search.currentHighlightColumnIndex||s.search.currentHighlightColumnIndex===s.search.highlightedColumnIndexes.length-1?0:s.search.currentHighlightColumnIndex+1;s.search.setCurrentHighlightColumnIndex(e),u(s.search.highlightedColumnIndexes[e][0])},onChange:e=>{r.setGlobalFilter(String(null!=e?e:""))},onFocus:function(){try{const e=function(){if(s.server.loadAllIfNeeded)return Promise.resolve(s.server.loadAllIfNeeded(r.getState().sorting,r.getState().columnFilters,void 0)).then((function(){}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},placeholder:o.table3.search.placeholder,settingsContent:d,ref:i,shortcut:{key:"f",meta:!0,shift:!1},value:c}))}function xc(e,t){var l;const a=n.Children.toArray(e).filter(e=>"SortableList"===e.type.displayName),r=a.find(e=>e.props.id===t);return r?null==r?void 0:r.props:null===(l=a.find(e=>n.Children.toArray(e.props.children).findIndex(e=>e.props.id===t)>-1))||void 0===l?void 0:l.props}function yc(e){const{children:t,reorder:l,move:a}=e;return n.createElement(C.DndContext,Object.assign({collisionDetection:C.closestCenter},e,{onDragOver:function(e){const{active:n,over:l}=e;if(null==n||!n.id||null==l||!l.id)return;const r=xc(t,n.id),o=xc(t,l.id);null!=r&&r.id&&null!=o&&o.id&&r.id!==o.id&&a(n.id,null==r?void 0:r.id,o.id)},onDragEnd:function(e){const{active:n,over:a}=e;if(null==n||!n.id||null==a||!a.id)return;const r=xc(t,n.id),o=xc(t,a.id);null!=r&&r.id&&null!=o&&o.id&&r.id===o.id&&l(n.id,a.id,o.id)}}),t)}function zc(e){const{asChild:t,children:l,disabled:a=!1,id:r}=e,{attributes:o,listeners:i,setNodeRef:s,transform:c,transition:u}=S.useSortable({disabled:a,id:r}),d={transform:N.CSS.Transform.toString(c),transition:u},m={...o,...i,onPointerDown:e=>{e.currentTarget.contains(e.target)&&!["BUTTON","INPUT","TEXTAREA","SELECT","FIELDSET"].includes(e.target.nodeName)&&(null==i||i.onPointerDown(e))},ref:s,style:d};return t?n.cloneElement(l,m):n.createElement("div",Object.assign({},m),l)}function Rc(e){const{children:t,id:l,...a}=e,{setNodeRef:r}=C.useDroppable({id:l}),o=n.Children.toArray(t).map(e=>e.props);return n.createElement(S.SortableContext,{id:l,items:o,strategy:S.verticalListSortingStrategy},n.createElement("div",Object.assign({},a,{ref:l?r:void 0}),t))}bc.displayName="Switch",yc.displayName="SortableContainer",zc.displayName="SortableListItem",Rc.displayName="SortableList";const Cc=n.forwardRef((function(e,t){var a,r,o;const{column:i,draggable:s=!1,...c}=e,u=i.getCanHide(),d=l("group/column flex items-center gap-x-2 rounded py-1 px-2",{"hover:bg-grey-200":u||s,"hover:cursor-pointer":u,"active:cursor-move active:bg-grey-300":s}),m=s?c:void 0,g=i.getIsVisible(),f=null===(a=i.parent)||void 0===a||null===(r=a.columnDef)||void 0===r?void 0:r.header;return n.createElement("div",Object.assign({},m,{className:d,onClick:()=>i.toggleVisibility(!g),ref:t}),s?n.createElement(za,{name:"drag",className:"text-grey-500 group-hover/column:text-grey-700 -mx-2 !h-5"}):null,n.createElement("span",{className:"flex-grow truncate"},null===(o=i.columnDef.meta)||void 0===o?void 0:o.header,f?n.createElement("span",{className:"italic"},"(",f,")"):null),u?n.createElement(Ar,{checked:g,onChange:()=>i.toggleVisibility(!g)}):null)}));function Sc(e){const{table:t,trigger:l,...a}=e,{texts:r}=fr(),[o,i]=n.useState(""),s=t.getAllLeafColumns(),c=t.options.meta,u=n.useMemo(()=>s.filter(e=>!ss(e.id)).filter(e=>{var t,n,l;return null==o||!o.length||(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header.toLowerCase().includes(o.toLowerCase()))||(null===(n=e.parent)||void 0===n||null===(l=n.columnDef.meta)||void 0===l?void 0:l.header.toLowerCase().includes(o.toLowerCase()))}),[s,o]),d="flex max-h-64 flex-col gap-y-px overflow-auto";return n.createElement(po,Object.assign({},a,{anchor:l}),n.createElement(po.Content,null,n.createElement("div",{className:"flex max-w-sm flex-col gap-2"},t.options.enableHiding?n.createElement(jr,{onChange:e=>i(e.target.value),placeholder:r.table3.columnSettings.search,value:o}):null,!c.columnOrdering.isEnabled||!u.length||null!=o&&o.length?n.createElement("div",{className:d},u.length?u.map(e=>n.createElement(Cc,{column:e,key:e.id})):r.table3.columnSettings.noResults):n.createElement(yc,{reorder:(e,n)=>{u.find(e=>{var t;return e.id===n&&!1===(null===(t=e.columnDef.meta)||void 0===t?void 0:t.enableOrdering)})||t.setColumnOrder((t=[])=>ds(s,S.arrayMove(t,t.findIndex(t=>t===e),t.findIndex(e=>e===n))))}},n.createElement(Rc,{id:"columns",className:d},u.filter(e=>!e.getIsGrouped()).map(e=>{var t,l;return n.createElement(zc,{key:e.id,id:e.id,disabled:!(null!==(t=e.columnDef.meta)&&void 0!==t&&t.enableOrdering),asChild:!0},n.createElement(Cc,{column:e,draggable:null===(l=e.columnDef.meta)||void 0===l?void 0:l.enableOrdering}))}))))))}function Nc(e){const{customSettings:t,table:l}=e,{texts:a}=fr(),r=l.options.meta,o=l.options.enableHiding||r.columnOrdering.isEnabled,i=r.fontSize.isEnabled,s=r.rowHeight.isEnabled,[c,u]=n.useState(void 0);let d;if(c){const e=()=>u(void 0);switch(c){case"columnSettings":o&&(d=t=>n.createElement(Sc,Object.assign({},t,{open:!0,onChange:e,table:l})))}}return n.createElement(cr,{"aria-label":a.table3.otherOptions.tooltip,icon:"sliders",menu:d?void 0:e=>n.createElement(ji,Object.assign({},e),n.createElement(ji.Content,{align:"end"},o?n.createElement(ji.Item,{icon:"columns",onClick:()=>u("columnSettings")},a.table3.columnSettings.button):null,o&&(s||i||t)?n.createElement(ji.Separator,null):null,s?n.createElement(ji.Item,{icon:"height-"+r.rowHeight.height,subMenu:()=>n.createElement(Oc,{tableMeta:r})},a.table3.rowHeight.tooltip):null,i?n.createElement(ji.Item,{icon:"font-size",subMenu:()=>n.createElement(Ac,{tableMeta:r})},a.table3.fontSize.tooltip):null,t?n.createElement(n.Fragment,null,s||i?n.createElement(ji.Separator,null):null,t(Ks(l)).map((e,t)=>n.createElement(n.Fragment,{key:t},e))):null)),popover:d,onClickCapture:e=>e.preventDefault(),tooltip:a.table3.otherOptions.tooltip})}function Ac({tableMeta:e}){const{texts:t}=fr();return n.createElement(ji.SubMenu,null,n.createElement(ji.RadioGroup,{onChange:e.fontSize.setSize,value:e.fontSize.size},n.createElement(ji.RadioGroup.Item,{value:exports.FontSizes.small},t.table3.fontSize.sizes.small),n.createElement(ji.RadioGroup.Item,{value:exports.FontSizes.medium},t.table3.fontSize.sizes.medium),n.createElement(ji.RadioGroup.Item,{disabled:"short"===e.rowHeight.height,value:exports.FontSizes.large},t.table3.fontSize.sizes.large)))}function Oc({tableMeta:e}){const{texts:t}=fr();return n.createElement(ji.SubMenu,null,n.createElement(ji.RadioGroup,{onChange:e.rowHeight.setHeight,value:e.rowHeight.height},n.createElement(ji.RadioGroup.Item,{value:"short"},t.table3.rowHeight.sizes.short),n.createElement(ji.RadioGroup.Item,{value:"medium"},t.table3.rowHeight.sizes.medium),n.createElement(ji.RadioGroup.Item,{value:"tall"},t.table3.rowHeight.sizes.tall),n.createElement(ji.RadioGroup.Item,{value:"extra-tall"},t.table3.rowHeight.sizes.extraTall)))}const Ic=e=>"Enter"===e.key||" "===e.key||"Tab"===e.key,Lc=e=>"ArrowUp"===e.key||"ArrowDown"===e.key||"Home"===e.key||"End"===e.key,Hc=(e,t)=>e.querySelectorAll(t),Mc=n.forwardRef((function(e,t){const{querySelector:l,tabIndex:a=0,...r}=e,o=$a(t),[i,s]=n.useState(),c=n.useRef(0),u=(e,t,n)=>{var l;null===(l=t.querySelector("[aria-current]"))||void 0===l||l.removeAttribute("aria-current"),n.setAttribute("aria-current","true"),n.scrollIntoView({block:"nearest"}),s(e)},d=n.useCallback(e=>{if(o.current&&e.matches(l)){const t=Hc(o.current,l),n=Array.from(t).indexOf(e);n>-1&&u(n,o.current,e)}},[o.current,l]);return n.useEffect(()=>{o.current&&(o.current.setActiveIndex=d)},[o.current]),n.useEffect(()=>{if(o.current){const e=Hc(o.current,l);if(e.length&&e.length!==c.current){let t=o.current.querySelectorAll('[aria-current="true"]');if(0===t.length&&(t=o.current.querySelectorAll("[aria-selected]")),1===t.length){if(e){const n=t.item(0),l=Array.from(e).indexOf(n);l>-1&&u(l,o.current,n)}}else u(0,o.current,e.item(0))}c.current=e.length}},[e.children]),n.createElement("div",Object.assign({},r,{onClick:e=>{const t=e.target;if(t.matches(l)){const n=Hc(e.currentTarget,l),a=Array.from(n).indexOf(t);a>-1&&u(a,e.currentTarget,t)}},onKeyDown:e=>{if(e.target!==e.currentTarget)return;if(r.onKeyDown&&r.onKeyDown(e),e.isDefaultPrevented())return;const t=Hc(e.currentTarget,l);if(t)if(Lc(e)){e.preventDefault(),e.stopPropagation();const n=kc(e,t,i);void 0!==n&&n!==i&&u(n,e.currentTarget,t.item(n))}else if(void 0!==i&&t.item(i)){var n;null===(n=t.item(i))||void 0===n||n.dispatchEvent(Gr(e))}},ref:o,tabIndex:a}))})),kc=(e,t,n,l=!0)=>{const a=((e,t,n)=>{switch(e.key){case"ArrowUp":return void 0===n?t-1:n>0?n-1:n;case"ArrowDown":return void 0===n?0:n<t-1?n+1:n;case"Home":return 0;case"End":return t-1;default:return}})(e,t.length,n);if(void 0!==a){if(a===n)return n;if(t.item(a)&&Vc(t.item(a))){if(l){if(0===a)return kc(new KeyboardEvent(e.type,{...e,key:"ArrowDown"}),t,a,!1);if(a===t.length-1)return kc(new KeyboardEvent(e.type,{...e,key:"ArrowUp"}),t,a,!1)}return kc(e,t,a,l)}}return a},Vc=e=>"presentation"===e.getAttribute("role")||!!e.hasAttribute("disabled")||!!e.getAttribute("aria-disabled")||!!e.getAttribute("aria-hidden");var jc={__proto__:null,Root:Mc};const Tc=n.createContext({}),Dc=n.forwardRef((function(e,t){const{children:l,customSelector:a,disabled:r=!1,id:o,multiple:i,readOnly:s=!1,setValue:c,value:u,...d}=e,m="listbox2-"+Sr(o),g=n.useMemo(()=>({disabled:r,readOnly:s,setValue:c,value:u}),[r,s,u]);return n.createElement(Tc.Provider,{value:g},n.createElement("div",{"data-taco":"listbox2"},n.createElement(Mc,Object.assign({},d,{"aria-multiselectable":!!i||void 0,id:m,querySelector:a?'[role="option"], '+a:'[role="option"]',ref:t,role:"listbox"}),l)))})),Fc=n.forwardRef((function(e,t){const{disabled:l,id:a,value:r,...o}=e,{disabled:i,readOnly:s,setValue:c,value:u}=n.useContext(Tc),d="option-"+Sr(a),m=Array.isArray(u)?u.includes(r):u===r;return n.createElement("div",Object.assign({},o,{"aria-disabled":i||l?"true":void 0,"aria-selected":m?"true":void 0,id:d,onClick:t=>{l||i||s?t.stopPropagation():(c(r),"function"==typeof e.onClick&&e.onClick(t))},onKeyDown:t=>{l||i||s?t.stopPropagation():"Tab"===t.key&&m||(Ic(t)&&c(r),"function"==typeof e.onKeyDown&&e.onKeyDown(t))},ref:t,role:"option"}))})),Pc=n.forwardRef((function(e,t){const[l,a]=n.useState();return n.createElement(Bc.Provider,{value:{setLabelledById:a}},n.createElement("div",Object.assign({},e,{"aria-labelledby":l,ref:t,role:"group"})))})),Bc=n.createContext({}),_c=n.forwardRef((function(e,t){const{id:l,...a}=e,{setLabelledById:r}=n.useContext(Bc),o=Sr(l);return n.useEffect(()=>{r(o)},[o]),n.createElement("div",Object.assign({},a,{id:o,ref:t,role:"presentation"}))})),Gc=n.forwardRef((e,t)=>{const{children:a,color:r,disabled:o,icon:i,readOnly:s,onDelete:c,...u}=e,d=n.useRef(null),m=l("inline-flex items-center rounded h-6 cursor-default",{"opacity-50":o,"hover:bg-opacity-75":!o,"cursor-pointer":!!u.onClick,"pointer-events-none":o||s},U(r),e.className);return n.createElement("span",Object.assign({},u,{className:m,ref:t,"data-taco":"tag"}),n.createElement("span",{className:"truncate px-2",ref:d},i?"string"==typeof i?n.createElement(za,{name:i,className:"-ml-1 -mt-0.5 mr-1 !h-5 !w-5"}):n.cloneElement(i,{className:"mr-1 -ml-1 -mt-0.5 !h-5 !w-5"}):null,a),c?n.createElement(za,{name:"close",onClick:c,className:"-ml-1.5 !h-6 !w-5 flex-shrink-0 cursor-pointer rounded-r p-0.5 hover:bg-black/5"}):null)}),qc=(e=!1)=>l("group mb-px flex w-full text-sm flex-shrink-0 font-normal cursor-pointer items-center rounded bg-white px-2 leading-8 text-black aria-hidden:hidden gap-1.5 bg-white aria-current:wcag-grey-200 aria-disabled:text-black/25 aria-disabled:pointer-events-none",{"hover:wcag-grey-200":!e}),$c=n.createContext({}),Kc=()=>n.useContext($c),Uc=e=>{const{color:t,text:a,value:r,...o}=e,i=n.useRef(null),{onDelete:s,onEdit:c,searchRef:u,ref:d}=Kc(),{texts:m}=fr(),[g,f]=n.useState(a),[h,v]=n.useState(t),[p,w]=n.useState(),b=e=>{f(e.target.value),w(void 0)},E=e=>function(t){try{return t.stopPropagation(),"Escape"===t.key?e():"Enter"===t.key&&y(e)(t),Promise.resolve()}catch(e){return Promise.reject(e)}},x=e=>function(t){try{t.stopPropagation(),e();const n=function(){if(s)return Promise.resolve(s(r)).then((function(){}))}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},y=e=>function(n){try{const l=function(){if(!c||g===a&&h===t)e();else{const t=js((function(){return Promise.resolve(c(r,g,h)).then((function(){e()}))}),(function(e){var t;n.preventDefault(),n.stopPropagation(),w(e),null===(t=i.current)||void 0===t||t.focus()}));if(t&&t.then)return t.then((function(){}))}}();return Promise.resolve(l&&l.then?l.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},z=e=>{"Escape"===e.key||"Tab"===e.key||"Tab"===e.key&&e.shiftKey||e.stopPropagation()};return n.createElement(po,Object.assign({},o),n.createElement(po.Content,{onCloseAutoFocus:e=>{var n,l;e.preventDefault(),f(a),v(t),w(void 0),null!=u&&u.current?null===(n=u.current)||void 0===n||n.focus():null===(l=d.current)||void 0===l||l.focus()},onInteractOutside:()=>{f(a),v(t)},onClick:e=>e.stopPropagation(),onKeyDown:e=>{("Tab"===e.key||"Tab"===e.key&&e.shiftKey)&&e.stopPropagation()},placement:"right",tabIndex:-1,className:"focus:!shadow-none"},({close:e})=>n.createElement(n.Fragment,null,n.createElement("div",{className:"flex w-32 flex-col space-y-2"},c?n.createElement(n.Fragment,null,n.createElement(ti,{className:l("!min-h-fit",{"!pb-0":!p}),invalid:!!p,message:null==p?void 0:p.message},n.createElement(jr,{invalid:!!p,onChange:b,onKeyDown:E(e),ref:i,value:g})),t?n.createElement(n.Fragment,null,n.createElement("h5",null,"Colours"),n.createElement(Wc,{color:h,onChangeColor:v,onKeyDown:z})):null,n.createElement(Lo,null,n.createElement(pr,{onClick:e},m.select2.cancel),n.createElement(pr,{appearance:"primary",onClick:y(e)},m.select2.save))):null,c&&s?n.createElement("hr",null):null,s?n.createElement("button",{className:"hover:text-grey-700 flex items-center justify-start gap-1",onClick:x(e),onKeyDown:z},n.createElement(za,{className:"!h-5 !w-5",name:"delete-permanently"})," ",m.select2.delete):null))))},Wc=e=>{const{color:t,onChangeColor:a,onClick:r,onKeyDown:o}=e,{texts:i}=fr();return n.createElement(x.Root,{"aria-label":i.select2.chooseColor,className:"grid grid-cols-4 gap-2 focus:outline-none",onClick:r,onKeyDown:o,onValueChange:e=>a(e),value:t},q.map(e=>n.createElement(x.Item,{"aria-label":t,className:l("flex h-6 w-6 cursor-pointer items-center justify-center rounded",U(e)),key:e,onFocus:()=>a(e),value:e},n.createElement(x.Indicator,{asChild:!0},n.createElement(za,{name:"tick",className:"!h-5 !w-5"})))))},Jc=/iPhone|iPad|iPod|Android/i,Yc=e=>!(null==e||!e.userAgent)&&Jc.test(e.userAgent),Qc=n.forwardRef((function(e,t){var a;const{children:r,color:o,description:i,prefix:s,postfix:c,className:u,...d}=e,{onDelete:m,onEdit:g,listboxRef:f,multiple:h,ref:v,setOpen:p,shouldPauseHoverState:w,tags:b,value:E,fontSize:x=exports.FontSizes.medium}=Kc(),y=l(qc(w),{"text-xs":x===exports.FontSizes.small,"text-sm":x===exports.FontSizes.medium,"text-base":x===exports.FontSizes.large},u),z=Array.isArray(E)?!!E.length:void 0!==E,R=b&&!!o,C=""!==r&&(g||m)?t=>{var l,a;return n.createElement(Uc,Object.assign({},t,{color:e.color,key:null!==(l=e.textValue)&&void 0!==l?l:String(e.children),text:null!==(a=e.textValue)&&void 0!==a?a:String(e.children),value:e.value}))}:void 0;return n.createElement(Fc,Object.assign({},d,{className:y,onClick:()=>{var e;h?null===(e=v.current)||void 0===e||e.focus():p(!1)},onKeyDown:e=>{Ic(e)&&(h&&"Tab"!==e.key||p(!1))},ref:t}),z?n.createElement(za,{name:"tick",className:"pointer-events-none invisible -mx-0.5 !h-4 !w-4 group-aria-selected:visible"}):null,R?n.createElement(Gc,{className:"pointer-events-none my-1",color:o,icon:s},r):n.createElement(n.Fragment,null,s?"string"==typeof s?n.createElement(za,{name:s}):s:null,n.createElement("span",{className:"flex w-full justify-between"},n.createElement("span",{className:"flex flex-col"},n.createElement("span",null,r),i?n.createElement("span",{className:"text-grey-700 -mt-1.5 mb-1.5 text-xs"},i):null),n.createElement("span",{className:"flex flex-col self-center"},c?"string"==typeof c?n.createElement(za,{name:c}):c:null))),C?n.createElement(cr,{icon:"ellipsis-vertical",appearance:"discrete",className:l("group-aria-current:visible invisible -mr-1 ml-auto !h-5 min-h-[theme(spacing.6)] !w-5 min-w-[theme(spacing.6)] hover:!bg-black/[.08] focus:!shadow-none group-hover:visible",{"!visible":Yc(null===(a=window)||void 0===a?void 0:a.navigator)}),onClick:e=>{var t;e.stopPropagation(),null==f||null===(t=f.current)||void 0===t||t.setActiveIndex(e.currentTarget.parentElement)},popover:C,tabIndex:-1}):null)})),Xc=n.forwardRef((function(e,t){const{children:a,heading:r,hasSeparator:o,...i}=e,s=l("flex flex-col gap-px",{"last:after:content-none after:content-[''] after:bg-grey-300 after:mx-2 after:my-1 after:h-px":o&&a.length},e.className);return n.createElement(Pc,Object.assign({},i,{className:s,ref:t}),n.createElement(_c,{className:"sticky top-0 bg-white px-2 font-bold leading-8"},r),a)})),Zc=n.forwardRef((function(e,t){const a=l("flex items-center text-xs pl-2 h-8",e.className);return n.createElement(_c,Object.assign({},e,{className:a,ref:t}))})),eu=n.forwardRef((function(e,t){const{multiple:l,value:a}=Kc();if(Array.isArray(a)||l){const l=Array.isArray(a)?a:void 0!==a?[a]:void 0;return n.createElement(lu,Object.assign({},e,{ref:t,values:l}))}return n.createElement(nu,Object.assign({},e,{ref:t,value:a}))})),tu=n.forwardRef((function(e,t){var a;const{children:r,onClick:o,tabIndex:i=0,fontSize:s,...c}=e,{disabled:u,highlighted:d,invalid:m,open:g,readOnly:f}=Kc(),h=l("cursor-pointer px-1.5 h-fit",Or({...e,disabled:u,highlighted:d,invalid:m,readOnly:f}).replace("w-full","").replace("px-2",""),{"w-full":!(null!==(a=e.className)&&void 0!==a&&a.includes("w-")),"text-xs":s===exports.FontSizes.small,"text-sm":s===exports.FontSizes.medium,"text-base":s===exports.FontSizes.large},e.className);return n.createElement("button",Object.assign({},c,{"aria-invalid":!!m||void 0,"aria-readonly":!!f||void 0,className:h,disabled:u,onClick:e=>{u||f?e.preventDefault():"function"==typeof o&&o(e)},ref:t,role:"combobox",tabIndex:u||f?-1:i,type:"button"}),r,n.createElement(za,{name:g?"chevron-up":"chevron-down",className:"pointer-events-none -mr-1 ml-auto"}))})),nu=n.forwardRef((function(e,t){const{children:a,emptyValue:r,value:o,placeholder:i,...s}=e,{disabled:c,readOnly:u,tags:d}=Kc(),m=l("truncate items-center gap-1"),g=a.find(ru(o));let f;return i&&void 0===g?f=n.createElement("div",{className:l({"text-grey-700":c,"text-grey-500":!c})},i):g&&(f=d&&r!==o?n.createElement(Gc,{className:"truncate",color:g.props.color,disabled:c,icon:g.props.prefix,readOnly:u},g.props.children):n.createElement(n.Fragment,null,g.props.prefix?"string"==typeof g.props.prefix?n.createElement(za,{name:g.props.prefix,className:"mr-1 !h-5 !w-5"}):g.props.prefix:null,g.props.children)),n.createElement(tu,Object.assign({},s,{ref:t}),n.createElement("div",{className:m},f))})),lu=n.forwardRef((function(e,t){var a;const{children:r,values:o=[],placeholder:i,...s}=e,{disabled:c,open:u,readOnly:d,setValue:m,tags:g}=Kc(),f=$a(t),h=o.map(e=>r.find(t=>t.props.value===e)).filter(e=>!!e);let v,{className:p}=s;return u?(p=l("!absolute z-20 !h-fit",s.className),v=n.createElement(Fo,{className:"my-1 flex max-h-[5.5rem] flex-col"},n.createElement("div",{className:"flex flex-wrap gap-1"},0===h.length?n.createElement("div",{className:l({"text-grey-700":c,"text-grey-500":!c})},i):h.map(e=>n.createElement(Gc,{key:String(e.props.value),className:"truncate",color:g?e.props.color:void 0,disabled:c,icon:e.props.prefix,onDelete:t=>{null==t||t.stopPropagation(),null==t||t.preventDefault(),c||d||m(e.props.value)},readOnly:d},e.props.children))))):v=n.createElement(au,{key:String(u),valuesAsChildren:h,placeholder:i}),n.createElement("div",{className:"relative inline-flex h-fit flex-grow","data-taco":"select2-container",style:{width:u?null===(a=f.current)||void 0===a?void 0:a.offsetWidth:void 0}},n.createElement(tu,Object.assign({},s,{className:p,ref:f}),v))})),au=({valuesAsChildren:e,placeholder:t})=>{const{disabled:a,open:r,readOnly:o,setValue:i,tags:s}=Kc(),[c,u]=n.useState(null),d=c?Ka(c,30):void 0;return n.createElement("div",{className:"relative flex items-center gap-1 overflow-hidden"},n.createElement("div",{className:"flex gap-1 truncate",ref:e=>u(e)},0===e.length?n.createElement("div",{className:l({"text-grey-700":a,"text-grey-500":!a})},t):e.map((e,t)=>{const c=n.createElement(Gc,{key:String(e.props.value),className:l("cursor-pointer",{truncate:t===d,hidden:null!=d&&t>d}),color:s?e.props.color:void 0,disabled:a,icon:e.props.prefix,onDelete:r?(u=e.props.value,e=>{null==e||e.stopPropagation(),null==e||e.preventDefault(),a||o||i(u)}):void 0,readOnly:o},e.props.children);var u;return t===d?n.createElement(ar,{key:String(e.props.value),title:String(e.props.children)},c):c})),null!=d&&d<e.length-1?n.createElement(ar,{title:e.slice(d+1).map(e=>e?String(e.props.children):"").join(", ")},n.createElement(qa,{className:"flex-shrink-0"},"+",e.length-(d+1))):null)},ru=e=>t=>Array.isArray(e)?e.includes(t.props.value):t.props.value===e,ou=e=>{const{value:t,...l}=e,a=n.useRef(null),r=function(e){const t=n.useRef(e);return n.useEffect(()=>{t.current=e},[e]),t.current}(t);return n.useEffect(()=>{const e=a.current,n=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(r!==t&&n){Array.isArray(t)?t.forEach(t=>{const n=e.querySelector(`option[value='${t}']`);n&&(n.selected=!0)}):n.call(e,t);const l=new Event("change",{bubbles:!0});e.dispatchEvent(l)}},[r,t]),n.createElement("select",Object.assign({},l,{defaultValue:t,ref:a,style:{display:"none"}}))},iu=n.forwardRef((function(e,t){const{onTabKeyPress:a,...r}=e,{listboxRef:o,searchQuery:i,setSearchQuery:s,setValidationError:c,validationError:u,setOpen:d}=Kc();return n.createElement(ti,{className:l("mx-1.5 mb-1.5 !min-h-fit ",{"!pb-0":!u}),invalid:!!u,message:null==u?void 0:u.message},n.createElement(jr,Object.assign({},r,{"aria-hidden":!0,autoFocus:!0,invalid:!!u,onChange:e=>{u&&c(void 0),s(e.target.value)},onKeyDown:e=>{var t;if(" "!==e.key&&("Tab"===e.key&&(d(!1),a()),Ic(e)||"ArrowDown"===e.key||"ArrowUp"===e.key))return e.preventDefault(),void(null==o||null===(t=o.current)||void 0===t||t.dispatchEvent(Gr(e)))},ref:t,value:i})))})),su=e=>!!e.props.heading||!!e.props.hasSeparator,cu=(e,t)=>{var n,l;return!(null===(n=e.props.textValue)||void 0===n||!n.toLowerCase().includes(t.toLowerCase()))||!(null===(l=e.props.description)||void 0===l||!l.toLowerCase().includes(t.toLowerCase()))||String(e.props.children).toLowerCase().includes(t.toLowerCase())},uu=e=>{const{onCreate:t,options:a}=e,{multiple:r,searchQuery:o,setOpen:i,setSearchQuery:s,setValidationError:c,setValue:u}=Kc(),{texts:d}=fr(),m=n.useMemo(()=>(e=>{let t={};q.filter(e=>"transparent"!==e).forEach(e=>{t={...t,[e]:0}}),e.reduce((e,t)=>(t.props.color&&(e[t.props.color]=e[t.props.color]?e[t.props.color]+1:1),e),t);const n=Object.keys(t);if(n.length)return n.sort((e,n)=>t[e]-t[n])[0]})(a),[a]);if(!o)return null;const g=l("!w-[calc(100%_-_theme(spacing.3))] ml-1.5",qc());return n.createElement("button",{className:g,onClick:function(){try{const e=js((function(){return Promise.resolve(t(o,m)).then((function(e){u(e.value),r?s(""):i(!1)}))}),(function(e){c(e)}));return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},onKeyDown:e=>{Ic(e)&&e.currentTarget.click()}},n.createElement("span",{className:"flex items-center gap-1.5"},d.select2.create,n.createElement(Gc,{color:m,className:"cursor-pointer"},o)))},du=e=>{const{children:t}=e;return n.createElement(Fo,{className:"flex max-h-[11.5rem] w-full flex-col gap-y-0.5 px-1.5"},t)},mu=n.forwardRef((function(e,t){const{children:a,defaultValue:r,disabled:o=!1,emptyValue:i,placeholder:s,highlighted:c=!1,invalid:d=!1,multiple:m=!1,name:g,onChange:f,onCreate:h,onDelete:v,onEdit:p,readOnly:b=!1,tags:E=!1,value:x,fontSize:y,...z}=e,R=n.useMemo(()=>{if(void 0!==i&&!m)return n.createElement(Qc,{key:"__empty",children:"",value:i,className:"h-8"})},[i,m]),C=n.useMemo(()=>R?[R,...a]:a,[R,a]),S=$a(t),N=n.useRef(null),A=n.useRef(null),{texts:O}=fr(),I=Hr(S),[L,H]=n.useState(!1),[M,k]=n.useState(!1),[V,j]=w.useControllableState({defaultProp:r,onChange:f,prop:x}),T=((e,t)=>n=>{t(t=>Array.isArray(n)?n:e?void 0===t?[n]:Array.isArray(t)?t.includes(n)?t.filter(e=>e!==n):[...t,n]:t===n?[]:[t,n]:n)})(m,j),[D,F]=n.useState(),[P,B]=Os(),{flattenedChildren:_,filteredChildren:G,searchQuery:q,setSearchQuery:$}=(({children:e,emptyValue:t,multiple:l,open:a,setValue:r,value:o})=>{const[i,s]=n.useState(""),c=n.useMemo(()=>(null==e?void 0:e.map(e=>su(e)?e.props.children:e).flatMap(e=>e))||[],[e]);n.useEffect(()=>{var e;l||void 0!==t||void 0!==o||r(null==c||null===(e=c[0])||void 0===e?void 0:e.props.value)},[]),n.useEffect(()=>{a||s("")},[a]);const u=n.useMemo(()=>e.map(e=>{if(su(e)){const t=e.props.children.filter(e=>cu(e,i));return t.length?n.cloneElement(e,{},t):null}return cu(e,i)?e:null}).filter(e=>!!e),[c,i]);return{flattenedChildren:c,filteredChildren:u,searchQuery:i,setSearchQuery:s}})({children:C,emptyValue:i,multiple:m,open:M,setValue:T,value:V}),K={disabled:o,highlighted:c,invalid:d,listboxRef:N,multiple:m,onCreate:h,onDelete:v,onEdit:p,open:M,readOnly:b,ref:S,searchQuery:q,searchRef:A,setOpen:k,setSearchQuery:$,setValidationError:F,setValue:T,shouldPauseHoverState:P,setShouldPauseHoverState:B,tags:E,fontSize:y,validationError:D,value:V};let U;z.onBlur&&(U=e=>{var t;const n=e.relatedTarget;if(void 0===n)return;const l=null==n||null===(t=n.closest("[data-radix-popper-content-wrapper] > :first-child"))||void 0===t?void 0:t.id;var a;l&&e.currentTarget.getAttribute("aria-controls")===l||null===(a=z.onBlur)||void 0===a||a.call(z,e)});const W=""===q?_.map(e=>e.key):G.map(e=>su(e)?Array.isArray(e.props.children)&&e.props.children.map(e=>e.key):e.key).flatMap(e=>e)||[],J=Array.isArray(V)&&W.every(e=>V.includes(e)),Y=n.useMemo(()=>""===q?J?O.select2.deselectAll:O.select2.selectAll:J?O.select2.deselectAllResults:O.select2.selectAllResults,[J,q]),Q=l('border-grey-300 rounded border bg-white py-1.5 shadow-md outline-none"',"flex flex-col gap-px");return n.createElement($c.Provider,{value:K},n.createElement(u.Root,{open:M,onOpenChange:k},n.createElement(gu,{emptyValue:i,multiple:m||E,name:g,options:_.map(e=>e.props.value),parentRef:S,setValue:T,value:V}),n.createElement(u.Trigger,{asChild:!0,"data-taco":"Select2"},n.createElement(eu,Object.assign({},z,{"aria-haspopup":"listbox",emptyValue:i,onBlur:U,onKeyDown:e=>{var t;M?e.preventDefault():e.ctrlKey||e.metaKey||"ArrowDown"!==e.key&&!/^[a-z0-9]$/i.test(e.key)||k(!0),null===(t=N.current)||void 0===t||t.dispatchEvent(Gr(e))},ref:S,fontSize:y,placeholder:s}),_)),n.createElement(u.Portal,null,n.createElement(u.Content,{asChild:!0,align:"start",onOpenAutoFocus:()=>{var e;null===(e=S.current)||void 0===e||e.focus()},onCloseAutoFocus:e=>{if(e.preventDefault(),e.stopPropagation(),L){const e=(e=>{if(!e)return null;const t=[...document.querySelectorAll('button:not([disabled]), [href]:not(link):not(script), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), details:not([disabled]), summary:not(:disabled)')],n=t.indexOf(e);return-1!==n&&n===t.length-1?null:t[n+1]})(S.current);e&&(e.focus(),H(!1))}else{var t;null===(t=S.current)||void 0===t||t.focus()}},sideOffset:4,tabIndex:-1},n.createElement("div",{className:Q,style:{minWidth:null!=I&&I.width?I.width+"px":void 0}},_.length>0||h?n.createElement(n.Fragment,null,n.createElement(iu,{placeholder:h?O.select2.searchOrCreate:O.select2.search,ref:A,onTabKeyPress:()=>H(!0)}),m&&W.length>1&&n.createElement(n.Fragment,null,n.createElement(pr,{className:"!justify-start",appearance:"discrete",onClick:J?()=>{if(""===q)T([]);else{const e=Array.isArray(V)&&V.filter(e=>!W.includes(e));T(e)}}:()=>{if(Array.isArray(V)&&0!==V.length){const e=W.filter(e=>!V.includes(e));T([...V,...e])}else T(W)}},Y),n.createElement("div",{className:"border-grey-300 mx-3 rounded border-t"}))):null,_.length<=0?n.createElement("div",{className:"text-grey-700 -mt-0.5 flex h-8 items-center px-2",role:"presentation"},"No results found..."):n.createElement(Dc,{className:"flex flex-col gap-0.5",customSelector:":scope > button",disabled:o,multiple:m,onKeyDown:e=>{Lc(e)&&B(!0)},readOnly:b,ref:N,setValue:T,tabIndex:-1,value:V},n.createElement(du,null,""===q?C:G),h?n.createElement(uu,{onCreate:h,options:_}):null))))))}));mu.Option=Qc,mu.Group=Xc,mu.Title=Zc;const gu=e=>{const{emptyValue:l,multiple:a,name:r,options:o,parentRef:i,value:s,setValue:c}=e;let u;return((e,n)=>{const[l,a]=t.useState(!1);return t.useEffect(()=>{let t;var l;return e.current&&(t=e.current.closest("form"),a(!!t),n&&t&&t.addEventListener("reset",n),null===(l=e.current.closest("form"))||void 0===l||l.addEventListener("reset",n)),()=>{t&&t.removeEventListener("reset",n)}},[e.current]),l})(i,()=>c(a?[]:void 0))?(void 0!==s&&(u=a?Array.isArray(s)?s.map(String):[null===s?"":String(s)]:null===s?"":String(s)),n.createElement(ou,{"aria-hidden":!0,key:String(u),multiple:a,name:r,value:u},void 0!==l?n.createElement("option",{value:l}):null,o.map(e=>n.createElement("option",{key:String(e),value:String(e)})))):null};function fu(e){var t,l;const{onAccept:a,table:r,orientation:o,setOrientation:i,size:s,setSize:c,allRows:u,setAllRows:d,splitGroups:m,setSplitGroups:g,...f}=e,{texts:h}=fr(),v=r.getVisibleFlatColumns(),p=r.getRowModel().rows.length*v.length,w=r.getState().grouping.length?null===(t=v.find(e=>e.id===r.getState().grouping[0]))||void 0===t||null===(l=t.columnDef.meta)||void 0===l?void 0:l.header:void 0;return n.createElement(Io,Object.assign({},f,{size:"xs"}),n.createElement(Io.Content,{"aria-label":h.table3.print.warningDialog.title},({close:e})=>n.createElement(n.Fragment,null,n.createElement(Io.Title,null,h.table3.print.settingsDialog.title),n.createElement("div",{className:"mt-4 flex flex-col gap-2"},n.createElement("div",{className:"grid grid-cols-2 gap-4"},n.createElement(ti,null,h.table3.print.settingsDialog.size,n.createElement(mu,{onChange:c,value:s},n.createElement(mu.Option,{value:"A5"},h.table3.print.settingsDialog.sizeA5),n.createElement(mu.Option,{value:"A4"},h.table3.print.settingsDialog.sizeA4),n.createElement(mu.Option,{value:"A3"},h.table3.print.settingsDialog.sizeA3),n.createElement(mu.Option,{value:"letter"},h.table3.print.settingsDialog.sizeLetter),n.createElement(mu.Option,{value:"legal"},h.table3.print.settingsDialog.sizeLegal))),n.createElement(ti,null,h.table3.print.settingsDialog.orientation,n.createElement(mu,{onChange:i,value:o},n.createElement(mu.Option,{value:"landscape"},h.table3.print.settingsDialog.orientationLandscape),n.createElement(mu.Option,{value:"portrait"},h.table3.print.settingsDialog.orientationPortrait)))),r.options.enableRowSelection&&r.getIsSomeRowsSelected()?n.createElement(ti,null,h.table3.print.settingsDialog.rows,n.createElement(Li,{onChange:d,value:u},n.createElement(Li.Item,{value:!0},h.table3.print.settingsDialog.rowsAll),n.createElement(Li.Item,{value:!1},h.table3.print.settingsDialog.rowsSelected))):void 0,w?n.createElement(ti,null,h.table3.print.settingsDialog.layout,n.createElement(Ar,{label:h.table3.print.settingsDialog.layoutSplitGroups.replace("[COLUMN]",w),checked:m,onChange:g})):null,p>1e4?n.createElement(Sa,{state:"warning"},h.table3.print.warningDialog.description):null),n.createElement(Io.Footer,null,n.createElement(Lo,null,n.createElement(Io.Close,null,n.createElement(pr,null,h.table3.print.warningDialog.cancelButtonText)),n.createElement(pr,{appearance:"primary",autoFocus:!0,onClick:()=>{e(),setTimeout(()=>a(),1)}},h.table3.print.warningDialog.printButtonText))))))}function hu(e){const{table:t,tableId:l,tableRef:a}=e,{texts:r}=fr(),o=n.useRef(null),i=n.useRef(),s=as(),c=t.options.meta,{allRows:u,orientation:d,size:m,splitGroups:g}=c.printing.settings,f=n.useCallback(e=>{c.printing.setIsPrinting(e),a.current&&(e?i.current=a.current.scrollTop:void 0!==i.current&&(a.current.scrollTop=i.current,i.current=void 0))},[a.current]);n.useEffect(()=>{const e=()=>{f(!1)};return window.addEventListener("afterprint",e),()=>{window.removeEventListener("afterprint",e)}},[]);const h=function(){try{function e(){n.close(),setTimeout(()=>{f(!0),requestAnimationFrame(()=>{try{document.execCommand("print",!1,void 0)}catch{window.print()}})},150)}const n=s.loading(r.table3.print.loading),l=function(){if(c.server.isEnabled&&c.server.loadAllIfNeeded){const e=js((function(){return Promise.resolve(c.server.loadAllIfNeeded(t.getState().sorting,t.getState().columnFilters,void 0)).then((function(){}))}),(function(e){const t=`${r.table3.print.error}: ${e}`;console.error(t),n.error(t)}));if(e&&e.then)return e.then((function(){}))}}();return Promise.resolve(l&&l.then?l.then(e):e())}catch(e){return Promise.reject(e)}},v=[`@page { size: ${m} ${d}; }`];u||v.push(`table[data-taco='report']#${l} tr:not([data-row-selected="true"]) { display: none; }`),g&&v.push(`table[data-taco='report']#${l} tr[data-row-group]:not(:first-child) { break-before: page; }`);const p={key:"p",meta:!0,shift:!1},w=n.createElement(n.Fragment,null,r.table3.print.tooltip,n.createElement(wi,{className:"ml-2",keys:p}));return n.createElement(n.Fragment,null,n.createElement("style",{media:"print"},v.join("\n")),n.createElement(cr,{icon:"print","aria-label":r.table3.print.tooltip,dialog:e=>n.createElement(fu,Object.assign({},e,{table:t,onAccept:h,orientation:d,setOrientation:e=>c.printing.setSetting("orientation",e),size:m,setSize:e=>c.printing.setSetting("size",e),allRows:u,setAllRows:e=>c.printing.setSetting("allRows",e),splitGroups:g,setSplitGroups:e=>c.printing.setSetting("splitGroups",e)})),ref:o,shortcut:p,tooltip:w}))}mu.displayName="Select2";const vu=(e,t=!1)=>{const[l,a]=n.useState(t),r=n.useCallback(e=>a(e.matches),[]);return n.useEffect(()=>{const t=window.matchMedia(e);return a(t.matches),t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}},[]),l},pu=()=>vu("(min-width: 1024px)",window.innerWidth>1024);function wu(e,t){var n,l,a,r;return null===(n=e.columnDef.meta)||void 0===n||null===(l=n.header)||void 0===l||null===(a=l.localeCompare)||void 0===a?void 0:a.call(l,null===(r=t.columnDef.meta)||void 0===r?void 0:r.header)}function bu(e){return!e.value.hasOwnProperty("value")}const Eu=n.forwardRef((e,t)=>{const{allColumns:l,filters:a,onChange:r,value:o=null,...i}=e,{texts:s}=fr(),c=l.find(e=>e.id===o),u=c&&!c.getIsVisible();return n.createElement("div",{className:"flex flex-col"},n.createElement(ti,{message:u?s.table3.filters.hiddenColumn:void 0,warning:u,className:"min-h-[theme(spacing.8)]"},n.createElement(mu,Object.assign({},i,{ref:t,className:"focus:yt-focus !w-32 flex-shrink-0 ",emptyValue:null,onChange:r,value:o}),l.map(e=>{var t,l,r;return n.createElement(mu.Option,{key:e.id,value:e.id,postfix:!e.getIsVisible()||e.getIsGrouped()?n.createElement(ar,{title:e.getIsGrouped()?s.table3.filters.hiddenGroupedColumn:s.table3.filters.hiddenColumn},n.createElement(za,{name:"eye-off",className:"text-grey-500 !h-5 !w-5"})):void 0,disabled:!(e.id===o||e.getCanFilter()&&!a.find(t=>t.id===e.id))},(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header)+(e.parent?` (${null===(l=e.parent)||void 0===l||null===(r=l.columnDef.meta)||void 0===r?void 0:r.header})`:""))}))))});function xu(e){const{column:t,onChange:l,value:a,...r}=e,{texts:o}=fr(),i=function(e){var t;const l=null!==(t=null==e?void 0:e.columnDef.meta)&&void 0!==t?t:{};if(Array.isArray(l.filters))return l.filters;if("function"==typeof l.control){const e=l.control({onBlur:()=>{},onFocus:()=>{},setValue:()=>{},value:void 0,disabled:!1,readOnly:!1,ref:void 0});if(n.isValidElement(e)){const{props:t,type:n}=e;if("Select2"===n.displayName)return t.multiple?[fs.HasAnyOf,fs.HasAllOf,fs.IsEqualTo,fs.HasNoneOf,fs.IsEmpty,fs.IsNotEmpty]:[fs.IsEqualTo,fs.IsNotEqualTo,fs.IsEmpty,fs.IsNotEmpty]}}return"number"===l.dataType?[fs.IsEqualTo,fs.IsNotEqualTo,fs.IsGreaterThan,fs.IsLessThan,fs.IsBetween,fs.IsEmpty,fs.IsNotEmpty]:"datepicker"===l.control||"datetime"===l.dataType?[fs.IsEqualTo,fs.IsNotEqualTo,fs.IsBetween,fs.IsLessThan,fs.IsGreaterThan,fs.IsEmpty,fs.IsNotEmpty,fs.IsLessThanOrEqualTo,fs.IsGreaterThanOrEqualTo]:"switch"===l.control?[fs.IsEqualTo]:[fs.Contains,fs.DoesNotContain,fs.IsEqualTo,fs.IsNotEqualTo,fs.IsEmpty,fs.IsNotEmpty]}(t);return n.useEffect(()=>{void 0!==a&&i.includes(a)||null==l||l(i[0])},[i]),n.createElement(mu,Object.assign({},r,{className:"!w-32 flex-shrink-0",disabled:!t,onChange:l,value:a}),i.map(e=>n.createElement(mu.Option,{key:e,value:e},function(e,t,n){var l,a;const r="datepicker"===(null==n||null===(l=n.columnDef)||void 0===l||null===(a=l.meta)||void 0===a?void 0:a.control);switch(e){case fs.Contains:return t.table3.filters.comparators.contains;case fs.DoesNotContain:return t.table3.filters.comparators.doesNotContain;case fs.IsEqualTo:return t.table3.filters.comparators.isEqualTo;case fs.IsNotEqualTo:return t.table3.filters.comparators.isNotEqualTo;case fs.IsGreaterThan:return r?t.table3.filters.comparators.isAfter:t.table3.filters.comparators.isGreaterThan;case fs.IsLessThan:return r?t.table3.filters.comparators.isBefore:t.table3.filters.comparators.isLessThan;case fs.IsBetween:return t.table3.filters.comparators.isBetween;case fs.IsEmpty:return t.table3.filters.comparators.isEmpty;case fs.IsNotEmpty:return t.table3.filters.comparators.isNotEmpty;case fs.IsLessThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrBefore:t.table3.filters.comparators.isLessThanOrEqualTo;case fs.IsGreaterThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrAfter:t.table3.filters.comparators.isGreaterThanOrEqualTo;case fs.HasAnyOf:return t.table3.filters.comparators.hasAnyOf;case fs.HasAllOf:return t.table3.filters.comparators.hasAllOf;case fs.HasNoneOf:return t.table3.filters.comparators.hasNoneOf;default:return""}}(e,o,t))))}function yu(e){const{column:t,comparator:l,onChange:a,value:r}=e,{texts:o}=fr();if(l===fs.IsEmpty||l===fs.IsNotEmpty)return null;if(l===fs.IsBetween){var i;const e=Array.isArray(r)?r[0]:void 0,l=Array.isArray(r)?r[1]:void 0;return void 0===t?n.createElement(jr,{"aria-label":o.table3.filters.emptyFilter.value,className:"flex-grow","data-query-selector":"filter-value",disabled:!0,value:o.table3.filters.emptyFilter.value}):"datetime"===(null===(i=t.columnDef.meta)||void 0===i?void 0:i.dataType)?n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(zu,{column:t,"data-query-selector":"filter-value",onChange:e=>a([e,l]),value:e}),n.createElement(zu,{column:t,"data-query-selector":"filter-value",onChange:t=>a([e,t]),value:l})):n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(zu,{column:t,"data-query-selector":"filter-value",onChange:e=>a([isNaN(e)?void 0:e,l]),placeholder:"from",value:null!=e?e:""}),n.createElement(zu,{column:t,"data-query-selector":"filter-value",onChange:t=>a([e,isNaN(t)?void 0:t]),placeholder:"to",value:null!=l?l:""}))}return n.createElement(zu,{comparator:l,column:t,"data-query-selector":"filter-value",onChange:a,value:r})}function zu(e){var l,a;const{column:r,onChange:o,value:i,...s}=e,c=null==r||null===(l=r.columnDef.meta)||void 0===l?void 0:l.control,u=null==r||null===(a=r.columnDef.meta)||void 0===a?void 0:a.dataType;return t.useEffect(()=>{"switch"===c&&o(!1)},[]),"function"==typeof c?n.cloneElement(c({...s,setValue:e=>o(e),value:i}),{"data-query-selector":"filter-value",className:"focus:yt-focus"}):"datepicker"===c||"datetime"===u?n.createElement(wo,Object.assign({},s,{onChange:e=>o(e.detail),value:i})):"switch"===c?n.createElement(bc,Object.assign({},s,{className:"m-1.5",checked:Boolean(i),onChange:o})):n.createElement(jr,"input"!==c&&void 0!==c||"number"!==u?Object.assign({disabled:!r},s,{className:"flex-grow",onChange:e=>o(e.target.value),value:String(null!=i?i:"")}):Object.assign({},s,{className:"flex-grow",type:"number",onChange:e=>o(e.target.valueAsNumber),value:String(null!=i?i:"")}))}function Ru(e){const{allColumns:t,filter:l,filters:a,onChange:r,onRemove:o,position:i}=e,{texts:s}=fr(),c=t.find(e=>e.id===l.id),u=n.useRef(null),{id:d,value:{comparator:m,value:g}}=l;return n.useEffect(()=>{u.current&&!d&&u.current.focus()},[d]),n.createElement("div",{className:"flex items-start gap-2"},n.createElement("div",{className:"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},i>0?s.table3.filters.conditions.and:s.table3.filters.conditions.where),n.createElement(Eu,{allColumns:t,filters:a,onChange:e=>{var n,a;const o=t.find(e=>e.id===d),s=t.find(t=>t.id===e),c=(null==o||null===(n=o.columnDef.meta)||void 0===n?void 0:n.dataType)===(null==s||null===(a=s.columnDef.meta)||void 0===a?void 0:a.dataType)?l.value:{comparator:fs.Contains,value:void 0};r(i,{id:e,value:c})},value:d,ref:u}),n.createElement(xu,{column:c,onChange:e=>{let t=l.value.value;e!==fs.IsEmpty&&e!==fs.IsNotEmpty||(t=void 0),r(i,{id:d,value:{comparator:e,value:t}})},value:m}),n.createElement(yu,{column:c,comparator:m,onChange:e=>{r(i,{id:d,value:{...l.value,value:e}})},value:g}),o?n.createElement(cr,{appearance:"discrete",className:"ml-auto",icon:"close",onClick:()=>null==o?void 0:o(i)}):null)}const Cu={id:"",value:{comparator:fs.Contains,value:void 0}};function Su(e){const{length:t,table:l,...a}=e,{locale:r,texts:o}=fr(),i=l.getAllLeafColumns().filter(e=>!ss(e.id)).sort(wu),s=l.getState().columnFilters,[c,u]=n.useState(s.length?s:[Cu]);n.useEffect(()=>{u(0===s.length?[Cu]:s),requestAnimationFrame(()=>{const e=document.querySelectorAll('[data-query-selector="filter-value"]'),t=e.length?e[e.length-1]:void 0;null==t||t.focus()})},[s]);const d=(e,t)=>{u(n=>n.map((n,l)=>l===e?t:n))},m=e=>{u(1!==c.length?t=>t.filter((t,n)=>n!==e):[Cu])};return n.createElement(po,Object.assign({},a,{onChange:e=>{if(!e){const e=s.filter(e=>!bu(e));l.setColumnFilters(e),u(0===e.length?[Cu]:e)}}}),n.createElement(po.Content,null,n.createElement("div",{className:"flex w-[40rem] flex-col gap-4"},n.createElement("div",{className:"flex h-8"},n.createElement("div",{className:"flex w-full items-center gap-2"},n.createElement("h4",{className:"mb-0 inline-flex"},o.table3.filters.button),n.createElement("p",{className:"text-grey-700 mb-0 mr-auto mt-px inline-flex"},o.table3.filters.total.replace("[CURRENT]",new Intl.NumberFormat(r).format(l.getFilteredRowModel().rows.length)).replace("[TOTAL]",new Intl.NumberFormat(r).format(t))))),n.createElement("div",{className:"flex flex-col gap-2"},c.map((e,t)=>n.createElement(Ru,{key:"filter_"+t,allColumns:i,filter:e,filters:c,position:t,onChange:d,onRemove:c.length>0&&c.some(e=>e.id)||c.length>1?m:void 0})),n.createElement("div",{className:"justify-start"},n.createElement(pr,{appearance:"discrete",onClick:()=>{u(c.concat(Cu))}},"+ ",o.table3.filters.buttons.addFilter))),n.createElement(Lo,{className:"ml-auto"},n.createElement(po.Close,null,n.createElement(pr,null,"Cancel")),n.createElement(pr,{onClick:()=>{l.resetColumnFilters(),u([Cu])}},"Clear"),n.createElement(pr,{appearance:"primary",onClick:()=>{l.setColumnFilters(()=>c.filter(e=>{var t,n;if(null===e.id||""===e.id)return!1;const l=null===(t=i.find(t=>t.id===e.id))||void 0===t||null===(n=t.columnDef.meta)||void 0===n?void 0:n.control;return e.value.comparator===fs.IsEmpty||e.value.comparator===fs.IsNotEmpty||"switch"===l||!!e.value.value}))}},"Apply")))))}function Nu(e){const{length:t,table:l}=e,{texts:a}=fr(),r=pu(),o=l.getState().columnFilters,i=o.filter(e=>!bu(e)),s=n.useRef(null),c={key:"f",meta:!0,shift:!0},u={"aria-label":a.table3.filters.tooltip,className:i.length?"!wcag-blue-100":void 0,popover:e=>n.createElement(Su,Object.assign({},e,{length:t,table:l})),shortcut:c,ref:s,tooltip:n.createElement(n.Fragment,null,a.table3.filters.tooltip,n.createElement(wi,{className:"ml-2",keys:c}))};return n.useEffect(()=>{var e;o.find(bu)&&(null===(e=s.current)||void 0===e||e.click())},[o]),r||i.length?n.createElement(pr,Object.assign({},u),n.createElement(za,{className:r?void 0:"-mr-1.5",name:i.length?"filter-solid":"filter"}),r?a.table3.filters.button:"",i.length?`(${i.length})`:""):n.createElement(cr,Object.assign({},u,{icon:"filter"}))}function Au(e){const{customSettings:t,left:l,length:a,right:r,scrollToIndex:o,table:i,tableId:s,tableRef:c}=e,u=i.options.meta;if(!function(e,t){const{left:n,right:l,table:a}=e,r=a.options.meta;return a.options.enableColumnFilters||r.printing.isEnabled||Ou(a,t)||r.search.isEnabled||!!n||!!l}(e,t))return null;const d=i.options.enableColumnFilters,m=u.printing.isEnabled,g=Ou(i,t),f=u.search.isEnabled;return n.createElement("div",{className:"mb-4 flex flex-shrink flex-grow-0 flex-wrap gap-2 print:hidden","data-taco":"report-toolbar"},l,n.createElement(Lo,{className:"ml-auto flex-shrink-0 print:hidden"},d?n.createElement(Nu,{length:a,table:i}):null,r,m?n.createElement(hu,{table:i,tableId:s,tableRef:c}):null,g?n.createElement(Nc,{customSettings:t,table:i}):null,f?n.createElement(Ec,{scrollToIndex:o,table:i}):null))}function Ou(e,t){const n=e.options.meta;return e.options.enableHiding||n.columnOrdering.isEnabled||n.fontSize.isEnabled||n.rowHeight.isEnabled||"function"==typeof t}const Iu={short:33,medium:41,tall:49,"extra-tall":57},Lu=Iu.medium+2;function Hu(e){const{index:t,row:l,table:a}=e;return a.options.meta.server.isEnabled?n.createElement(Mu,Object.assign({},e,{index:t})):n.createElement(ku,{id:l.id,cells:l.getVisibleCells()})}function Mu(e){const{index:t,row:l,table:a}=e,r=a.options.meta,o=Math.floor(t/r.server.pageSize)*r.server.pageSize/r.server.pageSize,{ref:i,inView:s}=O.useInView({threshold:0,triggerOnce:!0,initialInView:0===o});return n.useEffect(()=>{var e,t;s&&(null===(e=(t=r.server).loadPage)||void 0===e||e.call(t,o,a.getState().sorting,a.getState().columnFilters,a.getState().globalFilter))},[s]),n.createElement(ku,{cells:l.getVisibleCells(),ref:i})}const ku=n.forwardRef((function(e,t){const{cells:l}=e;return n.createElement(n.Fragment,null,n.createElement("tr",{ref:t},l.map(e=>n.createElement("td",{key:e.id},n.createElement("span",{className:"bg-grey-100 text-grey-700 h-4 w-full text-center text-xs"})))))}));function Vu(e,t){const n=e.column.columnDef.meta,l=e.column.getIsPinned(),a={"data-cell-align":null==n?void 0:n.align,"data-cell-highlighted":t,"data-cell-id":e.column.id,"data-cell-pinned":!!l||void 0,"data-cell-truncate":!!n.enableTruncate||void 0,className:"function"==typeof n.className?n.className(e.row.original):n.className,style:{}};return l&&(a.style[l]=e.column.getStart(l)+"px"),a}function ju(e){const{cell:t,cellRef:l,isHighlighted:a}=e,r=t.getContext().table.options.meta,o=Vu(t,a),{isHovered:i,rowIndex:s}=n.useContext(Ys);return n.createElement(Tu,Object.assign({},o,{cell:t,cellRef:l,canShowActions:r.rowActive.rowActiveIndex===s||i&&!r.rowActive.isHoverStatePaused,fontSize:r.fontSize.size,rowActions:r.rowGroups.rowActionsForGroup}))}const Tu=n.memo((function(e){const{canShowActions:t,cell:l,cellRef:a,fontSize:r,rowActions:o,...i}=e,s=l.row.getVisibleCells().filter(e=>!ss(e.column.id)).length-1,c=l.getContext().row.subRows.map(e=>e.original);return n.createElement("td",Object.assign({},i,{ref:a,style:{gridColumn:`span ${s} / span ${s}`}}),n.createElement("span",{className:"grow"},R.flexRender(l.column.columnDef.cell,l.getContext())),null!=o&&o.length&&t?n.createElement(Xs,{actions:o,actionsLength:4,data:c,fontSize:r,isActiveRow:!0}):null)})),Du=n.memo((function(e){const{cell:t,cellRef:l,isHighlighted:a}=e,r=t.column.columnDef.meta,o=Vu(t,a),i=!!r.enableTruncate,s=R.flexRender(t.column.columnDef.cell,t.getContext());return n.createElement("td",Object.assign({},o,{ref:l}),i?n.createElement("span",{className:"truncate print:overflow-visible print:whitespace-normal"},s):s)}));function Fu(e){const{cell:t,index:l}=e,a=n.useRef(null),r=function(e,t,l){const{rowIndex:a}=n.useContext(Ys),r=e.getContext(),o=r.table.options.meta,i=e.column.columnDef.meta,s=n.useMemo(()=>{if(!e.column.columnDef.enableGlobalFilter||ss(e.column.id)||e.getIsAggregated()||e.getIsPlaceholder())return;let n=!1;var l,s;if(r.table.getState().globalFilter&&(l=r.table.getState().globalFilter,n=null!=(s=e.getValue())&&String(us(s,i.dataType)).toLocaleLowerCase().includes(l.toLocaleLowerCase())),!n||void 0===o.search.currentHighlightColumnIndex)return;const[c,u]=o.search.highlightedColumnIndexes[o.search.currentHighlightColumnIndex];return c!==a||u!==t||"current"},[e.getValue(),r.table.getState().globalFilter,o.search.highlightedColumnIndexes.length,o.search.currentHighlightColumnIndex]);return n.useEffect(()=>{l.current&&"current"===s&&(l.current.scrollIntoView({block:"nearest",inline:"nearest"}),setTimeout(()=>{if(l.current){const t=l.current.closest('table[data-taco="report"]');setTimeout(()=>{const n=null==t?void 0:t.querySelectorAll('thead tr:last-child th[data-cell-pinned="left"]');if(null!=n&&n.length){var l;const a=null===(l=n.item(n.length-1))||void 0===l?void 0:l.getBoundingClientRect();a&&e.column.getStart()<a.right&&(null==t||t.scrollTo(e.column.getStart()-a.right,t.scrollTop))}},1)}},1))},[s]),s}(t,l,a);if((t.getIsAggregated()||t.getIsPlaceholder())&&!ss(t.column.id))return null;const o={cell:t,cellRef:a,isHighlighted:r};return t.getIsGrouped()?n.createElement(ju,Object.assign({},o)):n.createElement(Du,Object.assign({},o))}const Pu=n.memo((function(e){const{index:t,measureRow:a,row:r,table:o}=e,{setIsHovered:i}=n.useContext(Ys),s=o.options.meta,c={"data-row-id":r.id,"data-row-index":t,onMouseEnter:n.useCallback(()=>i(!0),[]),onMouseLeave:n.useCallback(()=>i(!1),[]),tabIndex:-1},u=n.useCallback(e=>{var t;const n=e.target;null===(t=e.currentTarget)||void 0===t||!t.contains(e.target)||Bu.includes(n.tagName.toLowerCase())||n.closest(Bu.map(e=>"tr "+e).join(","))||s.rowClick.handleClick(e,r.original)},[r.original]),d=n.useCallback(()=>{requestAnimationFrame(()=>s.rowActive.setRowActiveIndex(t))},[]);let m;var g,f,h;s.rowActive.isEnabled&&(c["data-row-active"]=s.rowActive.rowActiveIndex===t||void 0,c.onClickCapture=d),s.rowClick.isEnabled&&(c.onClick=u),o.options.enableGrouping&&(c["data-row-group"]=!!r.getIsGrouped()||void 0),o.options.enableRowSelection&&(c["data-row-selected"]=!(!r.getIsSelected()&&!r.getIsAllSubRowsSelected())||void 0),s.rowExpansion.isEnabled&&r.getIsExpanded()&&(c["data-row-expanded"]=!0,m=null===(g=(f=s.rowExpansion).rowExpansionRenderer)||void 0===g||null===(h=g.call(f,r.original))||void 0===h?void 0:h());const v=r.original._meta;v&&v.layout&&(c["data-row-meta-layout"]=v.layout);const p=n.useRef(null),w=n.useRef(null);!function(e,t,l,a){n.useEffect(()=>{if(t){const n=t.getBoundingClientRect().height;a&&l?e(n,l.getBoundingClientRect().height):e(n)}},[a,t,l])}(a,p.current,w.current,!!c["data-row-expanded"]);const b=l("group/row",{"hover:cursor-pointer":"function"==typeof c.onClick});return n.createElement(n.Fragment,null,n.createElement("tr",Object.assign({},c,{className:b,ref:p}),r.getVisibleCells().map((e,t)=>n.createElement(Fu,{key:e.id,cell:e,index:t}))),m?n.createElement("tr",{"data-row-parent-id":r.id,ref:w},n.createElement("td",{className:"col-span-full"},m)):null)})),Bu=["input","button","a","select","option","label","textarea"];function _u(e){const[t,l]=n.useState(!1),a=n.useMemo(()=>({isHovered:t,setIsHovered:l,rowIndex:e.index}),[t]);return void 0===e.row.original?n.createElement(Hu,Object.assign({},e)):n.createElement(Ys.Provider,{value:a},n.createElement(Pu,Object.assign({},e)))}function Gu(e){const{emptyState:t=null,...l}=e;return n.createElement("tbody",Object.assign({},l,{className:"!auto-rows-fr"}),n.createElement("tr",{className:"!auto-rows-fr"},n.createElement("td",{className:"col-span-full !border-0 !p-0 hover:!bg-white"},t?n.createElement(t,null):null)))}const qu=is((function(e,t){var a,r;const o=$a(t),i=function(e,t){const a=function(e,t,l,a){var r,o,i;const s=e.id.replace(".","_"),c=function(e){var t,l,a,r,o,i,s,c,u,d,m,g,f,h,v,p,w,b,E,x;const y=e.preset?zs[e.preset]:ys,z=null!==(t=e.enableRowActions)&&void 0!==t?t:y.enableRowActions,R=null!==(l=e.enableRowClick)&&void 0!==l?l:y.enableRowClick,C=null!==(a=e.enableRowGoto)&&void 0!==a?a:y.enableRowGoto,S=null!==(r=e.enableRowExpansion)&&void 0!==r?r:y.enableRowExpansion,N=null!==(o=e.enableRowSelection)&&void 0!==o?o:y.enableRowSelection,A=null!==(i=e.enableRowSelectionSingle)&&void 0!==i?i:y.enableRowSelectionSingle;return n.useEffect(()=>{var t;!z||null!==(t=e.rowActions)&&void 0!==t&&t.length||console.warn(`Table (id: ${e.id}) - Row actions is enabled but no \`rowActions\` has been provided. Provide one to enable row actions or set \`enableRowActions\` to \`false\`.`),R&&!e.onRowClick&&console.warn(`Table (id: ${e.id}) - Row click is enabled but no \`onRowClick\` handler has been provided. Provide one to enable row click or set \`enableRowClick\` to \`false\`.`),C&&!e.onRowGoto&&console.warn(`Table (id: ${e.id}) - Row click is enabled but no \`onRowGoto\` handler has been provided. Provide one to enable row goto or set \`enableRowGoto\` to \`false\`.`),S&&!e.rowExpansionRenderer&&console.warn(`Table (id: ${e.id}) - Row expansion is enabled but no \`rowExpansionRenderer\` has been provided. Provide one to enable row expansion or set \`enableRowExpansion\` to \`false\`.`),N&&!e.onRowSelect&&console.warn(`Table (id: ${e.id}) - Row selection is enabled but no \`onRowSelect\` handler has been provided. Provide one to enable row selection or set \`enableRowSelection\` to \`false\`.`),A&&!e.onRowSelect&&console.warn(`Table (id: ${e.id}) - Row selection (single) is enabled but no \`onRowSelect\` handler has been provided. Provide one to enable row selection or set \`enableRowSelectionSingle\` to \`false\`.`)},[]),{enableFiltering:null!==(s=e.enableFiltering)&&void 0!==s?s:y.enableFiltering,enableSearch:null!==(c=e.enableSearch)&&void 0!==c?c:y.enableSearch,enableSorting:null!==(u=e.enableSorting)&&void 0!==u?u:y.enableSorting,enableColumnFreezing:null!==(d=e.enableColumnFreezing)&&void 0!==d?d:y.enableColumnFreezing,enableColumnHiding:null!==(m=e.enableColumnHiding)&&void 0!==m?m:y.enableColumnHiding,enableColumnResizing:null!==(g=e.enableColumnResizing)&&void 0!==g?g:y.enableColumnResizing,enableRowExpansion:S&&!!e.rowExpansionRenderer,enableRowSelection:N&&!!e.onRowSelect,enableRowSelectionSingle:A&&!!e.onRowSelect,enableColumnOrdering:null!==(f=e.enableColumnOrdering)&&void 0!==f?f:y.enableColumnOrdering,enableFontSize:null!==(h=e.enableFontSize)&&void 0!==h?h:y.enableFontSize,enableFooter:null!==(v=e.enableFooter)&&void 0!==v?v:y.enableFooter,enablePrinting:null!==(p=e.enablePrinting)&&void 0!==p?p:y.enablePrinting,enableRowActive:null!==(w=e.enableRowActive)&&void 0!==w?w:y.enableRowActive,enableRowActions:z&&!(null===(b=e.rowActions)||void 0===b||!b.length),enableRowClick:R&&!!e.onRowClick,enableRowGoto:C&&!!e.onRowGoto,enableRowHeight:null!==(E=e.enableRowHeight)&&void 0!==E?E:y.enableRowHeight,enableSaveSettings:null!==(x=e.enableSaveSettings)&&void 0!==x?x:y.enableSaveSettings}}(e),[u,d]=function(e=!1,t,l={},a){const r=(o=t,`taco.${Ss().uniqueUserIdentifier}.table.${o}.settings`);var o;const[i,s]=function(e){return n.useMemo(()=>{if(!1===e)return[Object.keys(Fs).reduce((e,t)=>({...e,[t]:!1}),{}),!1];if(!0===e)return[Fs,!0];const t={...Fs,...e};return[t,Object.values(t).some(e=>!0===e)]},[e])}(e),[c,u]=Ns(s?r:void 0,Ps(l,i)),d=n.useCallback(e=>{if(!s)return;const t=Ps(e,i);u(t),"function"==typeof a&&a(t)},[s,a,JSON.stringify(i)]);return s?[c,d]:[l,()=>{}]}(c.enableSaveSettings,s,e.defaultSettings,e.onChangeSettings),m=function(e=!1){const[t,l]=n.useState(!1);return{isEnabled:e,isHorizontallyScrolled:t,handleScroll:e=>{e.currentTarget.scrollLeft>0&&!t?l(!0):0===e.currentTarget.scrollLeft&&t&&l(!1)}}}(c.enableColumnFreezing),g=Rs(c.enableColumnOrdering),f=Cs(c.enableFontSize,u.fontSize),h=function(e=!1){return{isEnabled:e}}(c.enableFooter),v=function(e=!1,t){const[l,a]=n.useState(!1),[r,o]=function(e){const t=`taco.${Ss().uniqueUserIdentifier}.table.${e}.print.settings`,[n,l]=Ns(t,As);return[n,function(e,t){l(n=>({...n,[e]:t}))}]}(t);return{isEnabled:e,isPrinting:l,setIsPrinting:a,settings:r,setSetting:o}}(c.enablePrinting,s),p=Ls(c.enableRowActive,e.defaultRowActiveIndex),w=function(e=!1,t,n=4){return{isEnabled:e,rowActions:e?t:void 0,rowActionsLength:t?Math.min(t.length,n):0}}(c.enableRowActions,e.rowActions,e.rowActionsLength),b=Hs(c.enableRowClick,e.onRowClick),E=function(e=!1,t){return{isEnabled:e,rowExpansionRenderer:e?t:void 0}}(c.enableRowExpansion,e.rowExpansionRenderer),x=Ms(c.enableRowGoto,e.onRowGoto),y={isEnabled:!0,rowActionsForGroup:e.rowActionsForGroup},z=ks(c.enableRowHeight,u.rowHeight),C=Vs(c.enableRowSelection),S=function(e=!1,t=!1){const[l,a]=n.useState(t),[r,o]=n.useState([]),[i,s]=n.useState(void 0);return{isEnabled:e,enableGlobalFilter:l,setEnableGlobalFilter:function(e,t){a(e);const n=t.getState().globalFilter;n&&setTimeout(()=>{t.setGlobalFilter(""),t.setGlobalFilter(n)},1)},highlightedColumnIndexes:r,setHighlightedColumnIndexes:o,currentHighlightColumnIndex:i,setCurrentHighlightColumnIndex:s}}(c.enableSearch,u.excludeUnmatchedRecordsInSearch),N=Ds(e.loadPage,e.loadAll,e.pageSize),{columns:A,...O}=function(e,t,l,a){const{children:r,defaultRowGroupColumnId:o}=e,i={},s=[],c={},u=n.Children.toArray(r).reduce((e,l)=>function e(t,l,a,r,o,i,s){const c=R.createColumnHelper();if(n.isValidElement(t)&&t.props.children){const{children:u,id:d,header:m}=t.props;l.push(c.group({id:d,header:m,columns:n.Children.toArray(u).reduce((t,n)=>e(n,t,a,r,o,i,s),[]),enableGrouping:!1}))}else if(n.isValidElement(t)&&(t.props.accessor||t.props.id)){const{id:e,accessor:n=e,renderer:c,aggregate:m,footer:g,header:f,aggregationFn:h,defaultHidden:v,defaultWidth:p,enableFiltering:w=!0,enableGrouping:b=!1,enableHiding:E=!0,enableOrdering:x=!0,enablePrinting:y=!0,enableResizing:z=!0,enableSearch:R=!0,enableSorting:C=!0,enableTruncate:S=!1,minWidth:N=cs(i.fontSize),sort:A,sortFn:O,...I}=t.props;v&&E&&(o[e]=!1),p&&(a[e]=p),void 0!==t.props.sort&&r.push({id:e,desc:"desc"===A});const L=s===e,H={id:e,accessorKey:n,header:f,enableColumnFilter:w,enableGlobalFilter:R,enableGrouping:b,enableHiding:!L&&E,enableResizing:z,enableSorting:C,minSize:N,meta:{...I,defaultWidth:p,enableOrdering:!L&&x,enablePrinting:y,enableTruncate:S,header:f}};"function"==typeof c&&(H.cell=e=>c(e.getValue(),e.row.original)),"function"==typeof g&&(H.footer=t=>g(t.table.getRowModel().rows.map(t=>t.original[e]))),w&&(H.filterFn="tacoFilter"),b&&(H.aggregationFn=h,"function"==typeof m&&(H.aggregatedCell=e=>m(e.getValue(),e.row.original))),C&&(H.sortingFn=(u=t.props.dataType,"function"==typeof(d=O)?(e,t,n)=>d(e.original,t.original,n):d||(u&&"boolean"!==u&&"number"!==u?u:"auto")),H.sortDescFirst=!1,H.sortUndefined=1),l.push(H)}var u,d;return l}(l,e,i,s,c,t,o),[]);if(a){var d;if(l.enableRowExpansion&&e.rowExpansionRenderer&&a.rowExpansion){const e=Es("__expansion",a.rowExpansion,i);u.unshift(e)}if((l.enableRowSelection||l.enableRowSelectionSingle)&&a.rowSelection){const e=Es("__select",a.rowSelection,i);u.unshift(e)}if(l.enableRowActions&&null!==(d=e.rowActions)&&void 0!==d&&d.length&&a.rowActions){const e=Es("__actions",a.rowActions,i);u.push(e)}}return{columns:u,defaultSizing:i,defaultSorting:s,defaultVisibility:c}}(e,u,c,a),I=function(e,t,l,a){return n.useMemo(()=>{var n,r,o,i,s,c,u,d,m,g,f,h,v,p,w,b,E,x,y,z,R,C,S,N,A,O;const I=ds(t,null!==(n=l.columnOrder)&&void 0!==n?n:null===(r=e.defaultSettings)||void 0===r?void 0:r.columnOrder),L=null!==(o=null!==(i=l.columnPinning)&&void 0!==i?i:null===(s=e.defaultSettings)||void 0===s?void 0:s.columnPinning)&&void 0!==o?o:{};null!=L&&null!==(c=L.left)&&void 0!==c&&c.length||(L.left=e.defaultColumnFreezingIndex?gs(e.defaultColumnFreezingIndex,I):ms(I));const H={columnFilters:null!==(u=null!==(d=l.columnFilters)&&void 0!==d?d:null===(m=e.defaultSettings)||void 0===m?void 0:m.columnFilters)&&void 0!==u?u:[],columnOrder:I,columnPinning:L,columnSizing:null!==(g=null!==(f=null!==(h=l.columnSizing)&&void 0!==h?h:null===(v=e.defaultSettings)||void 0===v?void 0:v.columnSizing)&&void 0!==f?f:a.defaultSizing)&&void 0!==g?g:{},columnVisibility:null!==(p=null!==(w=null!==(b=l.columnVisibility)&&void 0!==b?b:null===(E=e.defaultSettings)||void 0===E?void 0:E.columnVisibility)&&void 0!==w?w:a.defaultVisibility)&&void 0!==p?p:{},globalFilter:null!==(x=l.searchQuery)&&void 0!==x?x:null===(y=e.defaultSettings)||void 0===y?void 0:y.searchQuery,sorting:l.sorting?l.sorting.filter(e=>t.find(t=>t.id===e.id)):null!==(z=null===(R=e.defaultSettings)||void 0===R?void 0:R.sorting)&&void 0!==z?z:a.defaultSorting};return(null!==(C=null!==(S=null===(N=l.grouping)||void 0===N?void 0:N.length)&&void 0!==S?S:null===(A=e.defaultSettings)||void 0===A||null===(O=A.grouping)||void 0===O?void 0:O.length)&&void 0!==C?C:e.defaultRowGroupColumnId)&&(H.grouping=[e.defaultRowGroupColumnId],H.expanded=!0),H},[])}(e,A,u,O),L=null!==(r=e.data)&&void 0!==r?r:[],H=null!==(o=e.length)&&void 0!==o?o:L.length,M=R.useReactTable({data:L,columns:A,initialState:I,...xs(c,e),enableGlobalFilter:S.enableGlobalFilter,meta:{columnFreezing:m,columnOrdering:g,fontSize:f,footer:h,length:H,printing:v,rowActions:w,rowActive:p,rowClick:b,rowExpansion:E,rowGoto:x,rowGroups:y,rowHeight:z,rowSelection:C,search:S,server:N}});return _s(M),Gs(M,e.onChangeFilter),qs(M),function(e){const t=e.options.meta;Bs(()=>{"short"===t.rowHeight.height&&t.fontSize.size===exports.FontSizes.large&&t.fontSize.setSize(exports.FontSizes.medium)},[t.rowHeight.height])}(M),$s(M,e.onRowSelect),function(e){const t=e.options.meta;n.useEffect(()=>{t.search.isEnabled&&function(e,t){const n=t.options.meta;let l;if(e){const a=[],r=t.getVisibleLeafColumns(),o=t.getState().grouping;t.getRowModel().rows.forEach((t,n)=>{r.forEach((l,r)=>{try{let c=!0;if(null!=o&&o.length&&(t.getIsGrouped()?c=l.getIsGrouped():o.includes(l.id)&&(c=!1)),l.getIsVisible()&&l.columnDef.enableGlobalFilter&&c){var i,s;const o=us(null===(i=t.original)||void 0===i?void 0:i[l.id],null===(s=l.columnDef.meta)||void 0===s?void 0:s.dataType);void 0!==o&&ps(o,e)&&a.push([n,r])}}catch(e){}})}),n.search.setHighlightedColumnIndexes(a),a.length?(l=a[0][0],n.search.setCurrentHighlightColumnIndex(0)):n.search.setCurrentHighlightColumnIndex(void 0)}else n.search.setHighlightedColumnIndexes([]),n.search.setCurrentHighlightColumnIndex(void 0);void 0!==l&&n.rowActive.setRowActiveIndex(l)}(e.getState().globalFilter,e)},[t.server.loadAllStatus,t.search.isEnabled,t.search.enableGlobalFilter,e.getRowModel().rows.length,e.getState().globalFilter,JSON.stringify(e.getState().sorting),JSON.stringify(e.getState().columnVisibility)])}(M),Js(M,N.loadPage),function(e,t){const l=e.options.meta,a=e.getState();n.useEffect(()=>{let n;return"function"==typeof t&&(n=setTimeout(()=>{t(Ks(e))},250)),()=>clearTimeout(n)},[a.columnOrder,a.columnPinning,a.columnSizing,a.columnVisibility,l.search.excludeUnmatchedResults,l.fontSize.size,a.grouping,l.rowHeight.height,a.sorting])}(M,d),Us(M,e.shortcuts),Ws(M,e.onChangeSort),function(e,t){n.useEffect(()=>{t.current&&(t.current.instance={resetFiltering:()=>e.resetColumnFilters(),resetRowExpansion:()=>e.resetExpanded(),resetRowSelection:()=>e.resetRowSelection(),resetSorting:()=>e.resetSorting()})},[e,t.current])}(M,t),{id:s,instance:M,meta:null!==(i=M.options.meta)&&void 0!==i?i:{},state:M.getState()}}(e,t,0,n.useMemo(()=>({rowActions:{header:Qs,renderer:Zs,meta:{align:"right",className:l('print:opacity-0 !px-0 !pr-1 overflow-hidden [table_&]:group-[[data-row-active="true"]]/row:sticky [table[data-table-pause-hover="false"]_&]:group-hover/row:sticky right-0','group-[[data-row-active="true"][data-selected="false"]]/row:text-grey-200','group-[[data-row-selected="true"]]/row:text-blue-100','group-[[data-row-selected="false"]:hover]/row:text-grey-100'),header:""}},rowExpansion:{header:ec,renderer:tc,size:40,meta:{align:"center",header:"",headerClassName:"!p-0"}},rowSelection:{header:nc,renderer:lc,size:40,meta:{align:"center",className:"!px-1",header:"",headerClassName:"!px-1"}}}),[]));return function(e,t){const l=e.options.meta;n.useEffect(()=>{if(void 0!==l.rowActive.rowActiveIndex){var e,n;const l=null!==(e=null===(n=t.current)||void 0===n?void 0:n.querySelector('tbody tr[data-row-active="true"]'))&&void 0!==e?e:null;var a;Wa(document.activeElement,l)||Qa(document.activeElement)||null==l||null===(a=l.focus)||void 0===a||a.call(l,{preventScroll:!0})}},[l.rowActive.rowActiveIndex])}(a.instance,t),a}(e,o),s=function(e,t,l){var a,r;const o=e.options.meta,i=e.getRowModel().rows,s=Lu*e.getHeaderGroups().length,{createRowMeasurer:c,estimateSize:u}=function(e){const t=e.options.meta,l=e.getRowModel().rows,a=e.getState().expanded,[r,o]=n.useState({}),i=n.useMemo(()=>{const e=Object.values(r);return e.length?e.reduce((e,t)=>e+t,0)/e.length:0},[r]);return{estimateSize:n.useCallback(e=>{var n,r;const o=t.rowHeight.height?Iu[t.rowHeight.height]:Iu.medium;return!0===a||null!==(n=l[e])&&void 0!==n&&null!==(r=n.getIsExpanded)&&void 0!==r&&r.call(n)?o+i:o},[t.rowHeight.height,i,a]),createRowMeasurer:n.useCallback((e,t)=>(n,l)=>{l&&o(e=>({...e,[t.index]:l})),e(t,n+(null!=l?l:0))},[])}}(e),d=function(e){const t=e.getRowModel().rows,l=!!e.getState().grouping.length,a=n.useMemo(()=>{const e=[];return l&&t.forEach((t,n)=>{t.getIsGrouped()&&e.push(n)}),e},[]),r=n.useCallback(e=>{var t;const n=null!==(t=[...a].reverse().find(t=>e.startIndex>=t))&&void 0!==t?t:a[0];return[...new Set([n,...A.defaultRangeExtractor(e)])].sort((e,t)=>e-t)},[a]);return l?r:void 0}(e),m=A.useVirtualizer({count:i.length,estimateSize:u,getScrollElement:()=>t.current,overscan:o.printing.isPrinting?i.length:void 0,rangeExtractor:d,scrollPaddingStart:null!==(a=e.getState().grouping)&&void 0!==a&&a.length?Lu:void 0,scrollPaddingEnd:s+36,paddingEnd:120}),g=m.getVirtualItems(),f=n.useCallback((e,n={align:"auto",behavior:"smooth"})=>{const l={...n,behavior:"auto"};t.current&&(0===e?m.scrollToOffset(0,l):e>=g.length-1?(m.scrollToIndex(e,l),setTimeout(()=>{m.scrollToIndex(e,l),setTimeout(()=>{m.scrollToIndex(e,l)},150)},150)):m.scrollToIndex(e,n))},[g.length,t.current]),[h,v]=g.length>0?[Math.max(0,(null!==(r=g[1])&&void 0!==r?r:g[0]).start-m.options.scrollMargin-g[0].size),Math.max(0,m.getTotalSize()-g[g.length-1].end)]:[0,0];n.useEffect(()=>{l&&f(l,{align:"center",behavior:"auto"})},[]);let p={},w=null;return i.length&&(p={height:m.getTotalSize()+"px",paddingBottom:v,paddingTop:h},w=g.map(t=>{const l=i[t.index],a=c(m.resizeItem,t);return n.createElement(_u,{key:l.id,row:l,index:t.index,table:e,measureRow:a})})),{rows:w,style:p,scrollToIndex:f}}(i.instance,o,e.defaultRowActiveIndex),c=function(e,t){const l=t.options.meta,a=function(e,t,l){const a=t.options.meta,r=t.getVisibleLeafColumns(),o=t.getState().columnSizing,i=cs(l),s=t.getRowModel().rows.length?"min-content 1fr min-content":"min-content 1fr";return n.useMemo(()=>{let n="";const l=[],c=r.reduce((e,s,c)=>{var u,d;if(t.options.enableGrouping&&s.getIsGrouped())return e;const m=null!==(u=s.columnDef.minSize)&&void 0!==u?u:i,g=o[s.id];let f,h;if("__actions"===s.id)f=`minmax(${32*a.rowActions.rowActionsLength+8}px, auto)`;else if(void 0!==g){const e=c===r.length-1;if("grow"===g||Number.isNaN(g)&&!e)f=`minmax(${m}px, 1fr)`;else{const t=g<m?m:g;f=e?`minmax(${t}px, auto)`:t+"px"}}else f=`minmax(${m}px, auto)`;return!1===(null===(d=s.columnDef.meta)||void 0===d?void 0:d.enablePrinting)?(h="",l.push(s.id)):h="auto",n=`${n} ${h}`.trim(),`${e} ${f}`.trim()},""),u=l.map(t=>`table[data-taco='report']#${e} > thead > tr > th[data-cell-id='${t}']\n,table[data-taco='report']#${e} > tbody > tr > td[data-cell-id='${t}']\n`).join(",");return`table[data-taco='report']#${e} { grid-template-columns: ${c}; grid-template-rows: ${s}; }\n@media print { table[data-taco='report']#${e} { grid-template-columns: ${n}; } ${u?u+" { display: none; }":""} }`},[r,o,i,a.rowActions.rowActionsLength])}(e,t,l.fontSize.size),r=function(e,t){const{columnPinning:l}=t.getState();return n.useMemo(()=>{const n=[],l=t.getFlatHeaders().filter(e=>!e.subHeaders.length).map(e=>e.id),a=t.getLeftFlatHeaders().filter(e=>!e.subHeaders.length).map(e=>e.id),r=t.getRightFlatHeaders().filter(e=>!e.subHeaders.length).map(e=>e.id);if(a.length){const t=l.indexOf(a[a.length-1]);n.push(`table[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1}),\n table[data-taco='report']#${e} > tbody > tr > td:nth-child(${t+1}) {\n border-right-width: 1px;\n }\ntable[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1})[data-cell-id^="__"],\n table[data-taco='report']#${e} > tbody > tr > td:nth-child(${t+1})[data-cell-id^="__"] {\n border-right-color: transparent;\n }\ntable[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1}):after {\n content: none;\n }\ntable[data-taco='report'][data-table-horizontally-scrolled="true"]#${e} > thead > tr > th:nth-child(${t+1}),\n table[data-taco='report'][data-table-horizontally-scrolled="true"]#${e} > tbody > tr > td:nth-child(${t+1}) {\n border-right-color: rgb(221, 221, 221);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 6px 0px 6px rgb(0 0 0/8%);\n }`)}if(r.length){const t=l.indexOf(r[r.length-1]);n.push(`table[data-taco='report']#${e} > thead > tr > th:nth-child(${t+1}):not([data-cell-id^="__"]),\n table[data-taco='report']#${e} > tbody > tr > td:nth-child(${t+1}):not([data-cell-id^="__"]) {\n border-left-width: 1px;\n }`)}return n.join("\n")},[l])}(e,t),o=[`table[data-taco='report']#${e} {\n --table-header-group-depth: ${t.getHeaderGroups().length};\n --table-cell-padding-x: ${function(e){switch(e){case"small":return"8px";case"medium":return"12px";default:return"16px"}}(l.fontSize.size)};\n --table-cell-padding-y: ${function(e,t){switch(e){case"short":switch(t){case"small":return"8px";default:return"6px"}case"tall":switch(t){case"small":return"16px";case"large":return"12px";default:return"14px"}case"extra-tall":switch(t){case"small":return"22px";case"large":return"18px";default:return"20px"}default:switch(t){case"small":return"12px";case"large":return"8px";default:return"10px"}}}(l.rowHeight.height,l.fontSize.size)};\n }`,a,r].filter(e=>!!e).join("\n");return n.createElement("style",null,o)}(i.id,i.instance);!function(e,t,l){const a=e.options.meta,r=e.getRowModel().rows;n.useEffect(()=>{const n=n=>{const o=n.target;var i;Ja(o)&&!Ya(o,t.current)||Qa(o)&&!Wa(o,t.current)||(a.rowActive.handleKeyDown(n,r.length,l,t),a.rowSelection.handleKeyDown(n,e),void 0!==a.rowActive.rowActiveIndex&&a.rowClick.handleKeyDown(n,null===(i=r[a.rowActive.rowActiveIndex])||void 0===i?void 0:i.original))};return document.addEventListener("keydown",n),()=>{document.removeEventListener("keydown",n)}},[t.current,a.rowActive.rowActiveIndex,l])}(i.instance,o,s.scrollToIndex);const u=void 0===i.meta.rowActive.rowActiveIndex?e=>{i.meta.rowActive.handleFocus(e,i.meta.length,s.scrollToIndex)}:void 0;return n.createElement(n.Fragment,null,c,n.createElement(Au,{customSettings:e.customSettings,left:e.toolbarLeft,length:i.meta.length,right:e.toolbarRight,scrollToIndex:s.scrollToIndex,table:i.instance,tableId:i.id,tableRef:o}),e.toolbarPanel?n.createElement("div",{className:"mb-4"},e.toolbarPanel):void 0,n.createElement(v.FocusScope,null,n.createElement("table",{id:i.id,"data-taco":"report","data-table-font-size":i.meta.fontSize.size,"data-table-horizontally-scrolled":!!i.meta.columnFreezing.isHorizontallyScrolled||void 0,"data-table-pause-hover":!!i.meta.rowActive.isHoverStatePaused||void 0,"data-table-resizing":!!i.state.columnSizingInfo.isResizingColumn||void 0,"data-table-row-height":i.meta.rowHeight.height,"data-table-grouped":!(null===(a=i.state.grouping)||void 0===a||!a.length),onFocus:u,onScroll:i.meta.columnFreezing.handleScroll,ref:o,tabIndex:-1},n.createElement("thead",null,i.instance.getHeaderGroups().map(e=>n.createElement("tr",{key:e.id},e.headers.map(dc)))),null!==(r=s.rows)&&void 0!==r&&r.length?n.createElement(n.Fragment,null,n.createElement(fc,{table:i.instance,style:s.style},s.rows),i.meta.footer.isEnabled?n.createElement("tfoot",null,n.createElement("tr",null,i.instance.getFooterGroups()[0].headers.map(vc))):null):n.createElement(Gu,{emptyState:e.emptyState}))))}));qu.Column=function(e){return null},qu.Group=function(e){return null};const $u=(e,t)=>{var n;const l={index:e.index,indexPath:e.id,values:e.original};return(null===(n=e.subRows)||void 0===n?void 0:n.length)>0?(l.isExpanded=!!e.isExpanded,l.depth=e.depth,l.toggleRowExpanded=()=>e.toggleRowExpanded(!l.isExpanded)):t&&(l.isExpanded=!!e.isExpanded,l.toggleRowExpanded=()=>e.toggleRowExpanded(!l.isExpanded)),e.toggleRowEditing&&(l.isEditing=!!e.isEditing,l.toggleRowEditing=e.toggleRowEditing),l},Ku=(e,t)=>{const l=[];return{columns:n.Children.toArray(e).filter(e=>!!e&&!e.props.hidden).map(({props:{children:e,...n}})=>{const a={...n};if(a.sortType=a.sortType||"auto",a.disableSortBy=a.disableSorting,n.title&&e){a.Header=n.title;const{columns:r,sortRules:o}=Ku(e,t);a.columns=r,o.forEach(e=>l.push(e))}else a.accessor=n.accessor,a.Header=n.headRenderer||"",a.Cell=e=>{var l,a;const r={accessor:e.cell.column.id,row:$u(e.cell.row,t),value:e.cell.value};return r.row.isEditing&&"function"==typeof n.editRenderer?n.editRenderer(r):"function"==typeof n.cellRenderer?null!==(l=n.cellRenderer(r))&&void 0!==l?l:null:null!==(a=r.value)&&void 0!==a?a:null},a.align=n.align,a.flex=n.flex,n.sort&&!n.disableSorting&&l.push({id:n.accessor,desc:"desc"===n.sort});return a}),sortRules:l}},Uu=e=>null==e?void 0:e.map(e=>({id:e.accessor,desc:e.desc})),Wu=e=>{const t="string"==typeof e?new Date(e):e;return null!=t&&t.getTime?t.getTime():void 0},Ju=(e="",t=",")=>{if("number"==typeof e)return e;if(null===e||!e.length)return;let n;return n=Number(","===t?e.replace(/\./g,"").replace(",","."):e.replace(/,/g,"")),Number.isNaN(n)?void 0:n},Yu=e=>{if(e)return String(e).toLowerCase()},Qu=e=>"boolean"==typeof e?e:isNaN(e)?Yu(e):Number(e),Xu=(e,t)=>void 0!==e&&void 0===t?1:e===t?0:e>t?1:-1,Zu=(e,t,n)=>e&&t?((e,t,n)=>{const l=e.localeCompare(t,n);return 0===l?0:l>0?1:-1})(e,t,n):Xu(e,t);function ed(e,t){if(t.type===I.actions.init)return{allowEditing:!0,editingRowUniqueId:null,...e};if(t.type===I.actions.resetRowEditing||t.type===I.actions.resetPage||t.type===I.actions.gotoPage)return{...e,editingRowUniqueId:null};if(t.type===I.actions.toggleRowEditing){const{id:n}=t;return{...e,editingRowUniqueId:n}}return t.type===I.actions.toggleEditing?{...e,allowEditing:!e.allowEditing}:e}function td(e){const{dispatch:t}=e,l=n.useCallback(()=>{t({type:I.actions.resetRowEditing})},[t]),a=n.useCallback(e=>{t({type:I.actions.toggleRowEditing,id:e})},[t]),r=n.useCallback(()=>{t({type:I.actions.toggleEditing})},[t]);Object.assign(e,{resetRowEditing:l,toggleRowEditing:a,toggleEditing:r})}I.actions.resetRowEditing="resetRowEditing",I.actions.toggleRowEditing="toggleRowEditing",I.actions.toggleEditing="toggleEditing";const nd=(e,t)=>{const n=[],l=[];if(e){let a=e.filter(e=>!!e&&"boolean"!=typeof e);t&&(a=a.filter(e=>void 0===e.visible||("function"==typeof e.visible?e.visible(t):e.visible))),a.forEach(e=>{e.showOnRow?n.push(e):l.push(e)})}return[n,l]},ld=(e,t)=>({"aria-label":"function"==typeof e.tooltip?e.tooltip(t):e.tooltip,disabled:"function"==typeof e.disabled?e.disabled(t):e.disabled,onClick:n=>{e.onClick(t,n)}}),ad=()=>(n.useEffect(()=>{const e=e=>{var t,n;"Escape"===e.key&&null!==(t=e.target)&&void 0!==t&&null!==(n=t.form)&&void 0!==n&&n.reset&&(e.preventDefault(),e.target.form.reset())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[]),n.createElement("div",{className:"-mt-1 -mb-1 h-8 flex"},n.createElement(cr,{appearance:"primary",icon:"tick",type:"submit",className:"mr-2"}),n.createElement(cr,{appearance:"ghost",icon:"close",type:"reset"})));function rd(e,t){if(t.type===I.actions.init)return{draggingRowIndexPath:null,...e};if(t.type===I.actions.resetRowDragging)return{...e,draggingRowIndexPath:null};if(t.type===I.actions.toggleRowDragging){const{indexPath:n}=t;return{...e,draggingRowIndexPath:n}}return e}I.actions.resetRowDragging="resetRowDragging",I.actions.toggleRowDragging="toggleRowDragging";const od=(e,{instance:t})=>{var n;e.toggleRowDragging=()=>{t.dispatch(t.state.draggingRowIndexPath===e.id?{type:I.actions.resetRowDragging}:{type:I.actions.toggleRowDragging,indexPath:e.id})},e.isDragging=!(!t.state.draggingRowIndexPath||t.state.draggingRowIndexPath!==e.id&&(null===(n=t.state.selectedRowIds)||void 0===n||!n[e.id]))},id=e=>[{id:"draggable",className:"yt-table__cell--draggable flex-col px-0",Cell:()=>n.createElement(za,{name:"drag",className:"text-grey-700 invisible w-[20px] cursor-grab"}),flex:"0 0 20px"},...e],sd=10,cd=(e,t)=>{var l;const{children:a,data:r,onRowClick:o,onRowDrag:i,onSelectedRows:s,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,selectedRows:m,disableSorting:g,manualSorting:f,onSort:h,sortRules:v,disablePagination:p=!0,length:b,onPaginate:E,pageSize:x=sd,pageIndex:y=0,inlineEditingUniqueId:z,onRowCreate:R,actions:C,onRowEdit:S,onRowCopy:N,onRowDelete:A,onRowActive:L,windowed:H=!1,...M}=e;if(s&&!m||!s&&m)throw new Error("Selected rows in a Table component are fully controlled - you must pass both the `onSelectedRows` and `selectedRows` props when using row selection");const{texts:k,locale:V}=fr(),{columns:j,sortRules:T}=n.useMemo(()=>Ku(a,u),[a,u]),D=!p&&!!E&&!!b,{headerGroups:F,rows:P,sortedRows:B,prepareRow:_,state:G,page:q,gotoPage:$,setPageSize:K,...U}=I.useTable({columns:j,data:r,initialState:{sortBy:Uu(v)||T,pageSize:p?void 0:x,pageIndex:p?void 0:y},manualPagination:D,pageCount:D&&b?Math.ceil(b/x):-1,manualSortBy:f,disableSortBy:g,autoResetExpanded:!1,autoResetSelectedRows:!1,autoResetSortBy:!1,autoResetPage:!1,sortTypes:n.useMemo(()=>(e=>({datetime:(e,t,n)=>{const l=Wu(e.values[n]),a=Wu(t.values[n]);return Xu(l,a)},string:(t,n,l)=>{const a=Yu(t.values[l]),r=Yu(n.values[l]);return Zu(a,r,e)},number:(e,t,n)=>{const l=Ju(e.values[n]),a=Ju(t.values[n]);return Xu(l,a)},boolean:(e,t,n)=>Xu(!!e.values[n],!!t.values[n]),auto:(t,n,l)=>{const a=Qu(t.values[l]),r=Qu(n.values[l]);return"string"==typeof a&&"string"==typeof r?Zu(a,r,e):Xu(a,r)}}))(V),[]),useControlledState:e=>n.useMemo(()=>({...e,selectedRowIds:m||[]}),[e,m])},I.useRowState,I.useSortBy,I.useExpanded,I.usePagination,(e=>{const t=t=>{if(I.useRowSelect(t),e){const l=(t,n)=>e(e=>{const l={...e};return n?l[t]=!0:delete l[t],l});t.prepareRow.push(e=>{e.toggleRowSelected=()=>l(e.id,!e.isSelected)});const a=n.useRef();t.visibleColumns.push(t=>[{id:"selection",Header:({getToggleAllRowsSelectedProps:t,rows:l})=>{const{...a}=t();return n.createElement(Ar,Object.assign({},a,{onChange:t=>{e(t?Object.assign({},Array(l.length).fill(!0)):{})}}))},Cell:({row:e,rows:t})=>{const{...r}=e.getToggleRowSelectedProps(),o=t.findIndex(t=>t.index===e.index);return n.createElement(Ar,Object.assign({},r,{className:"!mt-2.5",onClick:n=>{if(n.shiftKey){const[e,n]=[(s=o)<(i=a.current||0)?s:i,s>i?s:i];for(let a=e;a<=n;a++)l(t[a].id,!0)}else l(e.id,!r.checked);var i,s;a.current=o},onChange:()=>!1}))},flex:"0 0 36px",className:"flex-col justify-start !py-0"},...t])}};return t.pluginName="useRowSelect",t})(s),(e=>{const t=t=>{e&&(t.stateReducers.push(rd),t.prepareRow.push(od),t.visibleColumns.push(id),t.getRowProps.push((e=>(t,{instance:n,row:l})=>[t,{draggable:!0,onDragStart:t=>{t.persist(),l.toggleRowDragging();const a=[l.id,...Object.keys(n.state.selectedRowIds)],r=n.rows.filter(e=>a.includes(e.id)).map($u);e(r,e=>{const n=window.document.createElement("div");n.id="yt-table__drag__placeholder",n.innerText=e,window.document.body.appendChild(n),"function"==typeof DataTransfer.prototype.setDragImage&&t.dataTransfer.setDragImage(n,0,20)},t)},onDragEnd:()=>{const e=document.getElementById("yt-table__drag__placeholder");e&&e.parentNode&&e.parentNode.removeChild(e),l.toggleRowDragging()}}])(e)))};return t.pluginName="useRowDraggable",t})(i),(e=>{const t=t=>{e&&(t.stateReducers.push(ed),t.useInstance.push(td),t.prepareRow.push((e=>(t,{instance:n})=>{const l=t.original[e];t.toggleRowEditing=()=>{n.state.editingRowUniqueId===l?n.resetRowEditing():n.toggleRowEditing(l)},t.isEditing=t.original._createKey?n.state.editingRowUniqueId===t.original._createKey:n.state.editingRowUniqueId===l,t.canEdit=n.state.allowEditing&&(t.isEditing||!n.state.editingRowUniqueId)})(e)))};return t.pluginName="useRowEditing",t})(z),((e,t,l,a,r,o=!1)=>{const i=!!e,s=((e,t,n)=>{const[l,a]=nd(n);let r=l.length+(a.length?1:0);return t.onRowCreate&&r++,t.onRowCopy&&r++,t.onRowDelete&&r++,(e||t.onRowEdit)&&(r++,r<2&&r++),r})(e,t,l),c=c=>{((e,t,n)=>!!n||t.onRowCreate||t.onRowCopy||t.onRowDelete||!!e||t.onRowEdit)(e,t,l)&&c.visibleColumns.push(e=>[...e,{id:"_actions",className:"flex justify-end px-1 overflow-visible",flex:`0 0 calc((${s} * 2rem) + .5rem)`,Cell:({row:e})=>{if(e.isEditing)return n.createElement(ad,null);const s=$u(e,a),[c,u]=nd(l,s),d=n.createElement(n.Fragment,null,t.onRowCreate&&n.createElement(cr,{appearance:"discrete",icon:"circle-plus","aria-label":r.table.newSubRow,tooltip:r.table.newSubRow,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),n.persist(),e.setActive(),e.isExpanded||e.toggleRowExpanded(),t.onRowCreate(s,n)}}),(i||t.onRowEdit)&&n.createElement(cr,{appearance:"discrete",icon:"edit","aria-label":r.table.edit,tooltip:r.table.edit,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),e.setActive(),i?e.toggleRowEditing():t.onRowEdit&&(n.persist(),t.onRowEdit(s,n))}}),t.onRowCopy&&n.createElement(cr,{appearance:"discrete",icon:"copy","aria-label":r.table.copy,tooltip:r.table.copy,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),n.persist(),e.setActive(),t.onRowCopy(s,n)}}),t.onRowDelete&&n.createElement(cr,{appearance:"discrete",icon:"delete","aria-label":r.table.del,tooltip:r.table.del,disabled:i&&!e.canEdit,onClick:n=>{n.stopPropagation(),n.persist(),e.setActive(),t.onRowDelete(s,n)}}),c.map((e,t)=>n.createElement(cr,Object.assign({},ld(e,s),{key:t,appearance:"discrete",icon:"function"==typeof e.icon?e.icon(s):e.icon,tooltip:"function"==typeof e.tooltip?e.tooltip(s):e.tooltip}))),u.length?n.createElement(ji,null,n.createElement(ji.Trigger,null,n.createElement(cr,{appearance:"discrete",icon:"ellipsis-vertical","aria-label":r.table.actions,tooltip:r.table.actions,disabled:i&&!e.canEdit,onClick:t=>{t.stopPropagation(),e.setActive()}})),n.createElement(ji.Content,null,u.map((e,t)=>n.createElement(ji.Item,Object.assign({key:t,icon:"function"==typeof e.icon?e.icon(s):e.icon},ld(e,s)),"function"==typeof e.text?e.text(s):e.text)))):null);return o?n.createElement("div",{className:"-mt-1 -mb-1 h-8 flex"},d):n.createElement(O.InView,{rootMargin:"100px 0px"},({inView:e,ref:t})=>n.createElement("div",{className:"-mt-1 -mb-1 h-8 flex",ref:t},e?d:null))}}])};return c.pluginName="useRowActions",c})(z,{onRowCreate:R,onRowEdit:S,onRowCopy:N,onRowDelete:A},C,u,k,H));((e,t,l)=>{n.useEffect(()=>{!e&&t&&t(l.pageIndex,l.pageSize)},[l.pageIndex,l.pageSize])})(p,E,G),((e,t,l,a,r)=>{n.useEffect(()=>{if(l){const n=r.sortBy.map(e=>({accessor:e.id,desc:e.desc}));if(a)l(n);else{let a;n.length&&null!=t&&t.length&&(a=t.map(e=>e.original)),l(n,a||e)}}},[l&&JSON.stringify(r.sortBy),a])})(r,B,h,!!f,G);const W=((e,t)=>{const l=n.useMemo(()=>({toggleAllRowsExpanded:e.toggleAllRowsExpanded,toggleHideAllColumns:e.toggleHideAllColumns,toggleHideColumn:e.toggleHideColumn,toggleEditing:e.toggleEditing,toggleRowEditing:e.toggleRowEditing,resetRowEditing:e.resetRowEditing,toggleRowExpanded:e.toggleRowExpanded,toggleSortBy:e.toggleSortBy}),[]);return n.useEffect(()=>{null!=t&&t.current&&(t.current.instance=l)},[t]),l})(U,t),J=p||D?P:q,[Y,Q,X,Z]=((e,t,l,a)=>{const r=e.dangerouslyHijackGlobalKeyboardNavigation,[o,i]=w.useControllableState({prop:e.activeIndex,defaultProp:void 0!==e.defaultActiveIndex?e.defaultActiveIndex:r?0:void 0,onChange:t=>{var n;void 0!==t&&(null===(n=e.onChangeActiveIndex)||void 0===n||n.call(e,t))}}),s=e=>{var n,s;const c=e.metaKey||e.ctrlKey||e.altKey||e.shiftKey;if(r&&document.activeElement!==a.current&&"search"!==(null===(n=document.activeElement)||void 0===n?void 0:n.getAttribute("type"))&&document.activeElement!==document.body&&"dialog"!==(null===(s=document.activeElement)||void 0===s?void 0:s.getAttribute("role")))return;if(!r&&document.activeElement!==a.current)return;if(void 0!==o){const n=t[o];if(n){const t=$u(n,l.rowExpansionRenderer);if(l.onRowClick&&"Enter"===e.key)return e.preventDefault(),void l.onRowClick(t);if(n.toggleRowSelected&&" "===e.key)return e.preventDefault(),void n.toggleRowSelected();if(n.toggleRowExpanded){if(n.isExpanded&&"ArrowLeft"===e.key)return e.preventDefault(),void n.toggleRowExpanded();if(!n.isExpanded&&"ArrowRight"===e.key)return e.preventDefault(),void n.toggleRowExpanded()}if(n.toggleRowEditing&&n.canEdit&&!n.isEditing){if(l.onRowCreate&&e.shiftKey&&"n"===e.key)return e.preventDefault(),n.isExpanded||n.toggleRowExpanded(),void l.onRowCreate(t,e);if("e"===e.key)return e.preventDefault(),void n.toggleRowEditing()}if(l.onRowEdit&&"e"===e.key&&!c)return e.preventDefault(),void l.onRowEdit(t,e);if(l.onRowCopy&&"c"===e.key&&!c)return e.preventDefault(),void l.onRowCopy(t,e);if(l.onRowDelete&&"Delete"===e.key&&!c)return e.preventDefault(),void l.onRowDelete(t,e)}}const u=Tr(e.key,t.length,o);void 0!==u&&(e.preventDefault(),i(u))};return n.useEffect(()=>(r&&window.addEventListener("keydown",s),()=>{r&&window.removeEventListener("keydown",s)}),[s]),[o,i,e=>{r||s(e.nativeEvent)},()=>{void 0===o&&t.length&&i(0)}]})(e,J,{onRowClick:o,onRowCreate:R,onRowEdit:S,onRowCopy:N,onRowDelete:A,rowExpansionRenderer:u},t);((e,t,l,a)=>{n.useEffect(()=>{if(void 0!==e&&t.length&&a){const n=t[e];if(n){const e=$u(n,l);a(e)}}},[e,t])})(Y,P,u,L);const ee=n.useCallback((e,t)=>{_(e),e.setActive=()=>Q(t)},[_,Q]);return{rowProps:{activeIndex:Y,setActiveIndex:Q,onRowClick:o,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,inlineEditingUniqueId:z},tableProps:{...M,headerGroups:F,onFocus:Z,onKeyDown:X,tabIndex:null!==(l=M.tabIndex)&&void 0!==l?l:0},state:G,pagination:p?null:{length:D&&b?b:r.length,pageIndex:G.pageIndex,pageSize:G.pageSize,setPageIndex:$,setPageSize:K},rows:J,prepareRow:ee,instance:W}},ud=(e,t)=>{const a={...e.getCellProps(),className:l("yt-table__cell flex-1 truncate p-2 align-middle",e.column.className,{"justify-start text-left":"left"===e.column.align,"justify-end text-right":"right"===e.column.align,"text-center":!e.column.align}),style:{...e.column.style,flex:"function"==typeof e.column.flex?e.column.flex(t):e.column.flex}};return n.createElement("div",Object.assign({},a,{role:"gridcell","data-taco":"table-cell"}),e.render("Cell")||null)},dd=n.forwardRef((function({row:e,index:t,instance:a,...r},o){const{activeIndex:i,onRowClick:s,rowClassName:c,rowExpansionRenderer:u,rowHeight:d,setActiveIndex:m,style:g,inlineEditingUniqueId:f}=r,h=$u(e,u),p={...e.getRowProps(),style:{...g,minHeight:d?d+"px":void 0,paddingLeft:e.depth?2*e.depth+"rem":void 0},className:l("yt-table__row border-grey-300 flex border-b min-h-[2.5rem] hover:bg-grey-100",{"yt-table__row--active bg-grey-200 hover:bg-grey-200":i===t,"yt-table__row--clickable":!!s,"yt-table__row--dragging":!!e.isDragging,"yt-table__row--editing":!!e.isEditing},"function"==typeof c?c(h):c),onClick:s?e=>{(e.target===e.currentTarget||e.target.classList.contains("yt-table__cell"))&&(e.preventDefault(),e.persist(),m(t),s(h))}:()=>{m(t)}};let w=e.cells;e.depth>0&&(w=e.cells.filter(e=>!e.column.hiddenOnSubRows));const b=u&&e.isExpanded&&n.createElement("div",null,u(h,a)),E=n.useMemo(()=>n.createElement(n.Fragment,null,n.createElement(v.FocusScope,{key:e.original._createKey,contain:!0,restoreFocus:!0,autoFocus:!0},n.createElement("div",Object.assign({},p,{role:"row",ref:o}),n.createElement("input",{type:"hidden",name:"_rowIndexPath",value:e.id}),n.createElement("input",{type:"hidden",name:"_inlineEditingUniqueId",value:e.original[f]}),w.map(e=>ud(e,h)))),b),[e.original._createKey]);return e.isEditing?E:n.createElement(n.Fragment,null,n.createElement("div",Object.assign({},p,{role:"row",ref:o}),w.map(e=>ud(e,h))),b)})),md=({cell:e})=>{const t={...e.getHeaderProps(),...e.getSortByToggleProps&&e.getSortByToggleProps({title:void 0}),className:l("yt-table__cell flex flex-1 truncate p-2 align-middle text-grey-700 hover:text-black",e.className,{"yt-table__cell__group":!!e.columns,"cursor-pointer":!e.disableSorting,"justify-start text-left":"left"===e.align,"justify-end text-right":"right"===e.align,"justify-center text-center":"center"===e.align||!e.align}),style:{...e.style,flex:e.flex}};return e.isSorted&&(t["aria-sort"]=e.isSortedDesc?"descending":"ascending"),n.createElement("div",Object.assign({},t,{key:e.id,"data-taco":"table-column"}),n.createElement("span",{className:"truncate"},e.render("Header")),e.isSorted?n.createElement(za,{name:e.isSortedDesc?"chevron-down-solid":"chevron-up-solid",className:"-mt-0.5"}):null)},gd=()=>null,fd=n.forwardRef((function(e,t){const a=$a(t),{autoFocus:r,children:o,headerGroups:i,headerRef:s,bodyRef:c,...u}=e;n.useEffect(()=>{r&&a.current&&a.current.focus()},[]);const d=l("yt-table flex flex-col focus:yt-focus focus:rounded-sm",e.className);return n.createElement("div",Object.assign({},u,{role:"table",className:d,ref:a}),n.createElement("div",{role:"rowgroup",className:"yt-table__head",ref:s},null==i?void 0:i.map((e,t)=>n.createElement("div",{key:t,role:"row",className:"border-grey-300 flex h-auto min-h-[2.5rem] w-full select-none border-b-2 border-t-0 font-bold"},e.headers.map((e,t)=>n.createElement(md,{key:t,index:t,cell:e}))))),n.createElement("div",{role:"rowgroup",className:"yt-table__body",ref:c},o))})),hd=n.forwardRef((function(e,t){const{emptyStateRenderer:l=gd,...a}=e,r=$a(t),{rowProps:o,tableProps:i,rows:s,prepareRow:c,pagination:u,instance:d}=cd(a,r);let m;return u&&(m=n.createElement(Zi,{className:"my-4 w-full",length:u.length,pageIndex:u.pageIndex,pageSize:u.pageSize,setPageIndex:u.setPageIndex,setPageSize:u.setPageSize,showPageControls:u.length>u.pageSize,dangerouslyHijackGlobalKeyboardNavigation:e.dangerouslyHijackGlobalKeyboardNavigation})),n.createElement(n.Fragment,null,m,n.createElement(fd,Object.assign({},i,{ref:r}),s.length?s.map((e,t)=>(c(e,t),n.createElement(dd,Object.assign({},o,{key:t,index:t,row:e,instance:d,headerGroups:i.headerGroups})))):l()),m)}));hd.Column=()=>null,hd.Group=()=>null;const vd=n.forwardRef((function(e,t){return n.createElement(hd,Object.assign({},e,{disablePagination:!1,ref:t}))}));vd.Column=()=>null,vd.Group=()=>null;const pd=n.memo(({data:e,index:t,style:{...l}})=>{const{texts:a}=fr(),{rows:r,setRowHeight:o,rowProps:i,tableProps:s,instance:c,prepareRow:u,rowHeights:d}=e,m=r[t],g=n.useRef(null);return n.useEffect(()=>{null!=g&&g.current&&o(t,g.current.getBoundingClientRect().height)},[d[t]]),m?(u(m,t),n.createElement(dd,Object.assign({},i,{style:l,key:t,index:t,row:m,instance:c,headerGroups:s.headerGroups,setRowHeight:o,ref:g}))):n.createElement("div",{className:"yt-table__row",role:"row",style:l},n.createElement("div",{className:"yt-table__cell text-grey-300"},a.table.loading))},L.areEqual),wd=(e={})=>{const t=Object.keys(e);return t.reduce((t,n)=>t+e[n],0)/t.length},bd=n.forwardRef((function(e,t){const a=$a(t),{emptyStateRenderer:r=gd,length:o,loadMore:i,...s}=e,{rowProps:c,tableProps:u,rows:d,prepareRow:m,instance:g,state:f}=cd({...s,windowed:!0},a),h=n.useRef(null),[v,p]=n.useState(null),w=Hr(a),b=Hr(h),E=w&&b?w.height-b.height:null,x=c.rowHeight||40,y=n.useRef({}),z=n.useCallback((e,t)=>{y.current[e]!==t&&(y.current={...y.current,[e]:t},v&&v.resetAfterIndex(0))},[]),R=n.useCallback(e=>y.current[e]||x,[]);n.useEffect(()=>{v&&void 0!==c.activeIndex&&v.scrollToItem(c.activeIndex,"start")},[v,c.activeIndex]),n.useEffect(()=>{y.current={},v&&v.resetAfterIndex(0)},[d.length]);const C=l(u.className,"yt-table--windowed",{"table-with-scrollbar":null!==E&&(x*e.data.length||0)>E});let S;if(E&&d.length){const e={height:E,itemData:{rows:d,setRowHeight:z,rowProps:c,tableProps:u,instance:g,prepareRow:m,state:f,rowHeights:y.current},estimatedItemSize:wd(y.current),itemSize:R,width:"100%"};S=i&&o?n.createElement(H,{isItemLoaded:e=>!!d[e],itemCount:o,loadMoreItems:i},({onItemsRendered:t,ref:l})=>n.createElement(L.VariableSizeList,Object.assign({},e,{itemCount:o,onItemsRendered:t,ref:e=>{l(e),p(e)}}),pd)):n.createElement(L.VariableSizeList,Object.assign({},e,{itemCount:d.length,ref:e=>{p(e)}}),pd)}return n.createElement(fd,Object.assign({},u,{className:C,headerRef:h,ref:a}),S||r())}));bd.Column=()=>null,bd.Group=()=>null;const Ed=e=>{var t;return null!==(t=null==e?void 0:e.split(".").map(Number))&&void 0!==t?t:[]},xd=(e,t)=>{if(!t)return;const n=[...e],l=Ed(String(t));if(l.length){const e=l.shift();return l.reduce((e,t)=>{var n;return null==e||null===(n=e.subRows)||void 0===n?void 0:n[t]},n[e])}},yd=e=>{let t;if(e){const n=Ed(e);n.pop(),n.length&&(t=n.join("."))}return t},zd=(e,t,n={})=>{const l=JSON.parse(JSON.stringify(e));let a;if(t){var r;const e=Ed(t),o=xd(l,e.join(".")),i=null!==(r=null==o?void 0:o.subRows)&&void 0!==r?r:[],s=e.map(e=>`[${e}]`).join(".subRows")+".subRows";i.unshift(n),M(l,s,i),e.push(0),a=e.join(".")}else l.unshift(n),a="0";return[l,a]},Rd=(e,t)=>{const n=JSON.parse(JSON.stringify(e)),l=Ed(t),a=Number(l.shift());if(l.length){const e=l.map(e=>`subRows[${e}]`).join(".");k(n[a],e),l.pop();const t=l.length?l.map(e=>`subRows[${e}]`).join(".")+".subRows":"subRows";M(n[a],t,j(V(n[a],t)))}else T(n,a);return n};function Cd(e){const{onGoto:t,trigger:l,...a}=e,{texts:r}=fr();return n.createElement(po,Object.assign({},a,{anchor:l}),n.createElement(po.Content,null,n.createElement(sc,{"aria-label":r.table3.columns.menu.gotoRow,name:"query",onSearch:e=>t(e),onKeyDown:e=>e.stopPropagation(),placeholder:r.table3.columns.menu.gotoRow+"..."})))}function Sd(e,t,n,l=!1){var a;const r=null==t?void 0:t.closest('[role="row"]'),o=l?70:0;if(!r)return null;const i=null!==(a=Array.from(r.children))&&void 0!==a?a:[],s=i.indexOf(t);if(-1===s)return null;let c=0;const u=e.getBoundingClientRect(),d=t.getBoundingClientRect(),m=d.right>u.right-o,g=d.left<u.left;if(-1!==n&&s>n){var f;const t=null===(f=i[n])||void 0===f?void 0:f.getBoundingClientRect();if(t.right>d.left)return c=e.scrollLeft-(t.right-d.left),c;if(m)return c=e.scrollLeft+(d.right-u.right+0)+o,c}else{if(g)return c=e.scrollLeft-(u.left-d.left),c;if(m)return c=e.scrollLeft+(d.right-u.right+0)+o,c}return null}function Nd(e,t){return!Qd(t.id)&&!!(e.options.meta.rowGoto.isEnabled&&t.column.getCanSort()&&t.column.getIsSorted())}function Ad(e,t){var n;return!Qd(t.id)&&(!(null===(n=t.column.columnDef.meta)||void 0===n||!n.menu)||!!e.options.meta.columnFreezing.isEnabled||!!e.options.enableHiding&&!!t.column.getCanHide()||Nd(e,t))}function Od(e){const{canFreeze:t,canHide:a,canSort:r,index:o,menu:i,onGoto:s,onHide:c,onSortToggle:u,scrollToIndex:d,sortDirection:m,table:g}=e,f=g.options.meta,{texts:h}=fr(),[v,p]=n.useState(void 0),[w,b]=n.useState(m),E=n.useRef(null);n.useEffect(()=>{const{frozenColumnIndex:e=-1,frozenInternalColumnCount:t=0}=f.columnFreezing,n=er("g",()=>{if(s){var n;const l=f.tableRef.current,a=e>-1?e+t:t-1,r=null===(n=E.current)||void 0===n?void 0:n.closest('[role="columnheader"]');if(!l||!r)return;const o=Sd(l,r,a);null!==o&&(l.scrollLeft=o)}},!1);return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[f.columnFreezing.frozenColumnIndex,s]);const x=e=>{b(e),u(e)};let y;if(v){const e=()=>p(void 0);switch(v){case"goto":if(s){const t=function(t){try{const n=Ts((function(){return js((function(){return Promise.resolve(s(t)).then((function(e){f.rowActive.setRowActiveIndex(e),d(e+2,{align:"center"})}))}),(function(){}))}),(function(t,n){if(e(),t)throw n;return n}));return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};y=l=>n.createElement(Cd,Object.assign({},l,{open:!0,onChange:e,onGoto:t}))}}}const z=l("-my-0.5 -mr-1 -ml-0.5 !h-6 !min-h-[theme(spacing.6)] flex-shrink-0 justify-end !w-0 !min-w-0 !overflow-hidden","aria-expanded:!min-w-[theme(spacing.6)] aria-expanded:!w-6 aria-expanded:!overflow-auto","focus:!min-w-[theme(spacing.6)] focus:!w-6 focus:!overflow-auto","group-hover/column:!min-w-[theme(spacing.6)] group-hover/column:!w-6 group-hover/column:!overflow-auto",{"!w-6 !min-w-[theme(spacing.6)] !overflow-auto":!!y},e.className),R=n.useMemo(()=>{const e=[];if(a&&e.push(n.createElement(ji.Item,{icon:"eye-off",onClick:e=>setTimeout(()=>c(e),1)},h.table3.columns.menu.hideColumn)),r&&e.push(n.createElement(ji.Item,{icon:"sort-by",subMenu:()=>n.createElement(ji.SubMenu,null,n.createElement(ji.RadioGroup,{onChange:x,value:w},n.createElement(ji.RadioGroup.Item,{value:kd.ASC},h.table3.columns.menu.sortingOrder.ascending),n.createElement(ji.RadioGroup.Item,{value:kd.DESC},h.table3.columns.menu.sortingOrder.descending),n.createElement(ji.RadioGroup.Item,{value:!1},h.table3.columns.menu.sortingOrder.unsorted)))},h.table3.columns.menu.sorting)),s&&e.push(n.createElement(ji.Item,{icon:"move",onClick:()=>p("goto"),shortcut:"g"},h.table3.columns.menu.gotoRow,"...")),t){const t=o-f.columnFreezing.frozenInternalColumnCount;e.push(n.createElement(ji.Item,{icon:"column-freeze",onClick:()=>f.columnFreezing.setFrozenColumnIndex(t)},0===t?h.table3.columns.menu.freezeFirstColumn:h.table3.columns.menu.freezeUptoColumn.replace("[TOTAL]",String(t+1)))),void 0!==f.columnFreezing.frozenColumnIndex&&e.push(n.createElement(ji.Item,{icon:"column-unfreeze",onClick:()=>{f.columnFreezing.setFrozenColumnIndex(void 0)}},h.table3.columns.menu.unfreezeColumns))}if(i){const t=i({trigger:void 0}),l=n.Children.toArray(t.props.children.props.children);l.length&&(e.length&&e.push(n.createElement(ji.Separator,null)),e.push(...l))}return e.map((e,t)=>n.cloneElement(e,{key:t}))},[i,o,t,a,r,s,u,m,f.columnFreezing.frozenColumnIndex]);return n.createElement(cr,{className:z,icon:"more",menu:y?void 0:e=>n.createElement(ji,Object.assign({},e),n.createElement(ji.Content,null,R)),popover:y,onClickCapture:e=>e.preventDefault(),ref:E})}function Id(e){const{isResizing:t,onResize:a}=e,{texts:r}=fr(),o=n.createElement("div",{className:l("invisible absolute right-0 top-0 -mr-2 flex h-full w-4 cursor-col-resize touch-none select-none justify-center rounded py-0.5 group-hover/column:visible",'[[role="columnheader"]:last-child>&]:!mr-0 [[role="columnheader"]:last-child>&]:w-2',{"!visible":t}),onClick:e=>{e.stopPropagation(),e.preventDefault()},onMouseDown:a,onTouchStart:a},n.createElement("div",{className:l("h-full w-1 rounded",{"!bg-blue-500":t,"bg-grey-500 hover:bg-grey-700":!t})}));return t?o:n.createElement(ar,{placement:"top",title:r.table3.columns.resize.tooltip},o)}const Ld={asc:n.createElement(za,{name:"chevron-up-solid",className:"pointer-events-none -my-0.5"}),desc:n.createElement(za,{name:"chevron-down-solid",className:"pointer-events-none -my-0.5"})};function Hd(e){var t;return null!==(t=Ld[e.direction])&&void 0!==t?t:null}const Md={asc:"ascending",desc:"descending"},kd={ASC:"asc",DESC:"desc"};function Vd(e){const{children:t,column:l,header:a,hasSeparator:r,scrollToIndex:o,table:i}=e,s=i.options.meta,c=n.useMemo(()=>l.columnDef.meta,[]),u=l.getCanSort(),d=Nd(i,a),m=n.useMemo(()=>a.column.getToggleVisibilityHandler(),[]),g=n.useMemo(()=>a.getResizeHandler(),[]),f=n.useMemo(()=>a.column.getToggleSortingHandler(),[]),h=n.useCallback(e=>{!1===e?a.column.clearSorting():a.column.toggleSorting(e===kd.DESC)},[]),v=i.getState().sorting,p=i.getState().columnFilters,w=i.getState().globalFilter,b=n.useMemo(()=>{if(d)return e=>{var t,n;return null===(t=(n=s.rowGoto).handleGoto)||void 0===t?void 0:t.call(n,a.id,e,v,p,w)}},[d,JSON.stringify(v),JSON.stringify(p),w]),E={align:c.align,canFreeze:s.columnFreezing.isEnabled,canHide:l.getCanHide(),canResize:l.getCanResize(),canSort:u,children:null!=t?t:c.header,colSpan:a.colSpan,hasMenu:Ad(i,a),hasSeparator:r,id:a.id,index:a.index,isFrozen:Xd(a,i),isPlaceholder:a.isPlaceholder,isPrinting:s.printing.isPrinting,isResizing:l.getIsResizing(),length:i.getRowModel().rows.length,meta:c,onGoto:b,onHide:m,onResize:g,onSort:f,onSortToggle:h,scrollToIndex:o,sortDirection:l.getIsSorted(),table:i};return n.createElement(jd,Object.assign({},E))}function jd(e){var t;const{align:a,children:r,canFreeze:o,canHide:i,canResize:s,canSort:c,colSpan:u,hasMenu:d,hasSeparator:m,id:g,index:f,isFrozen:h,isPlaceholder:v,isPrinting:p,isResizing:w,length:b,meta:E,onGoto:x,onHide:y,onResize:z,onSort:R,onSortToggle:C,scrollToIndex:S,sortDirection:N,table:A}=e,O=l("font-bold border-b-2 box-content group/column relative",'[[role="table"][data-resizing="true"]_&]:pointer-events-none',"px-[var(--table3-cell-padding-x)]",{"!border-white":v,"h-10 items-center sticky":!p,"pb-2":p,"cursor-pointer select-none":c,"hover:bg-grey-100":!v&&(c||s||d),"focus-within:bg-grey-100":d,"!pointer-events-all !bg-grey-100":!v&&w,"z-10 hover:z-20":!h&&!w,"z-20":!h&&w,"!z-30 hover:!z-40":h,"!z-40":h&&w},u>1?"col-span-"+u:"",E.headerClassName),[I,L]=n.useState(null);return n.useLayoutEffect(()=>{if(I&&b){if(Qd(g))return;A.setColumnSizing(e=>({...e,[g]:I.getBoundingClientRect().width}))}},[I,b]),A.options.debugAll&&console.log("header render",g),n.createElement("div",Object.assign({},c?function(e,t){var n;return{"aria-sort":null!==(n=Md[t])&&void 0!==n?n:"none",onClick:t=>{!t.isDefaultPrevented()&&t.currentTarget.contains(t.target)&&(t.preventDefault(),e(t))}}}(R,N):void 0,{className:O,"data-align":a,"data-column-index":f,role:"columnheader",ref:L}),v?null:n.createElement(n.Fragment,null,Qd(g)?r:n.createElement(ar,{title:String(null!==(t=null==E?void 0:E.tooltip)&&void 0!==t?t:r),placement:"top"},n.createElement("span",{className:l({truncate:!p})},r)),c?n.createElement(Hd,{direction:N}):null,d?n.createElement(Od,{canFreeze:o,canHide:i,canSort:c,className:l({"ml-auto":"right"!==a,"ml-2":"right"===a}),index:f,menu:E.menu,onGoto:x,onHide:y,onSortToggle:C,scrollToIndex:S,sortDirection:N,table:A}):null),m?n.createElement(Td,null):null,!v&&s?n.createElement(Id,{isResizing:w,onResize:z}):null)}function Td(){return n.createElement("div",{"data-taco":"header-separator",className:l("invisible absolute right-[0.5px] top-0 flex h-full w-2 touch-none select-none justify-center py-2 group-hover/header:visible")},n.createElement("div",{className:l("bg-grey-300 h-full w-[1px]")}))}const Dd=n.createContext({isHovered:!1,setIsHovered:()=>{},rowIndex:0,hasError:!1}),Fd=()=>n.useContext(Dd),Pd=e=>{const{current:t,frozenColumnIndex:a,index:r,tableRef:o,...i}=e,{hasError:s}=Fd(),c=n.useRef(null),u=l("h-full flex [justify-content:inherit] [text-align:inherit]",e.className,{"bg-blue-200/25":!t&&!s,"bg-blue-200/75":t&&!s,"bg-[#eaeaf5]":!t&&s,"bg-[#dadaf5]":t&&s});return n.useEffect(()=>{c.current&&t&&function(e,t,n,l){if(void 0!==t&&e>t){const e=Zd(t,l),a=null==n?void 0:n.getBoundingClientRect(),r=null==e?void 0:e.getBoundingClientRect();if(a&&r&&a.left<r.left+r.width){const e=r.left+r.width;null==l||l.scrollTo(a.left-e,l.scrollTop)}}else n.scrollIntoView({block:"nearest",inline:"nearest"})}(r,a,c.current,o.current)},[t]),n.createElement("div",Object.assign({},i,{"data-taco":"highlight",className:u,ref:c}))};function Bd(e){const{cell:t,className:a,column:r,value:o,index:i,row:s,table:c,tableRef:u,highlighted:d,highlightedAsCurrent:m}=e,g=n.useMemo(()=>r.columnDef.meta,[]),f=c.options.meta,h=n.useMemo(()=>{var n,r,d,m;return{align:g.align,children:null!==(n=null!==(r=null!==(d=e.children)&&void 0!==d?d:null===(m=g.renderer)||void 0===m?void 0:m.call(g,o,s.original))&&void 0!==r?r:o)&&void 0!==n?n:null,className:l(a,"function"==typeof g.className?g.className(s.original):g.className),data:s.original,debug:c.options.debugAll,enableTruncate:g.enableTruncate,frozenColumnIndex:f.columnFreezing.frozenColumnIndex,id:t.id,index:i,tableRef:u}},[s.original,e.children,o,f.columnFreezing.frozenColumnIndex,a]);return n.createElement(_d,Object.assign({},h,{highlighted:d,highlightedAsCurrent:m}))}const _d=n.memo((function(e){const{align:t="left",children:a,className:r,debug:o,enableTruncate:i,frozenColumnIndex:s,highlighted:c,highlightedAsCurrent:u=!1,id:d,index:m,tableRef:g}=e,f=l("py-[var(--table3-cell-padding-y)] px-[var(--table3-cell-padding-x)] focus:outline-none break-word hyphens-auto",r),h=c?void 0:f,v=i?n.createElement("span",{className:"truncate"},a):a;return o&&console.log("cell render",d),n.createElement("div",{className:h,"data-align":t,"data-column-index":m,"data-highlighted":c,role:"cell",tabIndex:-1},c?n.createElement(Pd,{className:f,current:u,frozenColumnIndex:s,index:m,tableRef:g},v):v)}));function Gd(e){const{column:t,header:l,table:a}=e,r=n.useMemo(()=>t.columnDef.meta,[]),o={align:r.align,id:l.id,index:l.index,isFrozen:Xd(l,a),meta:r,table:a};return n.createElement(qd,Object.assign({},o))}const qd=n.memo((function(e){const{align:t,id:a,index:r,isFrozen:o,meta:i,table:s}=e,c=l("sticky bottom-0 border-t-2 font-bold h-10 box-content items-center group/column relative z-10",{"z-30":o});return s.options.debugAll&&console.log("footer render",a),n.createElement("div",{className:c,"data-align":t,"data-column-index":r,role:"columnheader"},"function"==typeof i.footer?n.createElement("span",{className:"flex-grow truncate"},i.footer(s.getRowModel().rows.map(e=>e.original[a]))):null)}));var $d;!function(e){e.SEARCH="SEARCH",e.SORTING="SORTING",e.FILTER="FILTER"}($d||($d={}));const Kd=({reason:e,columnName:t,mountNode:l,validationErrors:a})=>{const r=n.useMemo(()=>{const e=document.createElement("div");return e.className+="rounded-b-md items-center wcag-blue-500 absolute left-0 top-full ml-1 whitespace-nowrap px-1 py-0.5 text-xs font-bold shadow-sm",e},[]),o=(e=>{let t="",n="";const{texts:l}=fr();switch(e){case $d.FILTER:t=l.table3.editing.rowIndicator.rowWillBeHidden,n=l.table3.editing.rowIndicator.rowWillMoveReasonFilter;break;case $d.SEARCH:t=l.table3.editing.rowIndicator.rowWillBeHidden,n=l.table3.editing.rowIndicator.rowWillMoveReasonSearch;break;case $d.SORTING:t=l.table3.editing.rowIndicator.rowWillMove,n=l.table3.editing.rowIndicator.rowWillMoveReasonSorting}return{title:t,description:n}})(e);return n.useEffect(()=>(null==l||l.classList.add("!z-[21]","relative"),null==l||l.appendChild(r),()=>{null==l||l.classList.remove("!z-[21]","relative"),null==l||l.removeChild(r)}),[!!a,l]),D.createPortal(n.createElement(ar,{title:o.description.replace("[COLUMN]",t)},n.createElement("span",{className:"flex gap-1 hover:cursor-pointer"},n.createElement(za,{name:"info",className:"!h-4 !w-4 rounded-full bg-white !p-0 text-blue-500"}),o.title)),r)};function Ud(e,t){return l("!border-blue !border-y-2 border-x-0",{"border-l-2 rounded-l":0===e,"border-r-2 rounded-r":e===t})}function Wd(e,t,n){return t===e&&n}const Jd=n.memo((function(e){const{actions:t,actionsLength:a,fontSize:r,isActiveRow:o,isEditing:i,isResizingColumn:s,isHoverStatePaused:c,row:u}=e,{isHovered:d}=n.useContext(Dd),{texts:m}=fr(),g=n.useRef(null);let f;if(null!=t&&t.length&&!i&&(o||d&&!c&&!s)){const i=t.map(e=>e(u.original)).filter(e=>!!e),s=i.length===a?i:i.slice(0,a-1),c=i.slice(i.length===a?a:a-1),d=l("-mb-2 flex justify-end pl-2 text-right",{"-mt-2":r===exports.FontSizes.small,"-mt-1.5":r!==exports.FontSizes.small},e.className);f=n.createElement("span",{className:d,ref:g},s.map((e,t)=>{var l,a;const r=String(null!==(l=null!==(a=e.props.tooltip)&&void 0!==a?a:e.props["aria-label"])&&void 0!==l?l:"");return n.cloneElement(e,{appearance:"transparent",key:t,tabIndex:o?0:-1,tooltip:e.props.shortcut?n.createElement(n.Fragment,null,r,n.createElement(wi,{className:"ml-2",keys:e.props.shortcut})):r})}),c.length?n.createElement(cr,{appearance:"transparent","aria-label":m.table3.columns.actions.tooltip,icon:"more",tabIndex:o?0:-1,menu:e=>n.createElement(ji,Object.assign({},e),n.createElement(ji.Content,null,c.map((e,t)=>n.createElement(ji.Item,Object.assign({key:t},e.props,{shortcut:e.props.shortcut}),e.props["aria-label"]))))}):null)}return n.createElement(Bd,Object.assign({},e),f)}));function Yd(e){const{rowIndex:t}=n.useContext(Dd),l=e.table.options.meta,a=e.table.getVisibleLeafColumns(),r=a.length>0?a.length-1:0,o=Wd(t,l.rowActive.rowActiveIndex,l.editing.rowMoveReason)?Ud(e.index,r):void 0;return n.createElement(Jd,Object.assign({},e,{actions:l.rowActions.actionsForRow,actionsLength:l.rowActions.actionsForRowLength,className:o,fontSize:l.fontSize.size,isActiveRow:l.rowActive.rowActiveIndex===t,isEditing:l.editing.isEditing,isResizingColumn:!!e.table.getState().columnSizingInfo.isResizingColumn,isHoverStatePaused:!!l.rowActive.isHoverStatePaused}))}const Qd=e=>e.startsWith("__"),Xd=(e,t)=>{var n;const l=t.options.meta;return!("__actions"===e.column.id||!Qd(e.column.id))||!(!l.columnFreezing.isEnabled||void 0===l.columnFreezing.frozenColumnIndex)&&l.columnFreezing.frozenColumnIndex+(null!==(n=l.columnFreezing.frozenInternalColumnCount)&&void 0!==n?n:0)>=e.index},Zd=(e,t)=>t.querySelector(`[data-current="true"] [data-column-index="${e}"`);function em(e,t){return null==e?"":m.isDate(e)?null!==(n=oo(e))&&void 0!==n?n:"":"datetime"===t&&"string"==typeof e?null!==(l=oo(so(e)))&&void 0!==l?l:"":String(e);var n,l}const tm=(e="left")=>l({"justify-start text-left":"left"===e,"justify-end text-right":"right"===e,"justify-center text-center":"center"===e}),nm=cs,lm=()=>l("[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none"),am={enableColumnFreezing:!1,enableColumnHiding:!1,enableColumnOrdering:!1,enableColumnResizing:!1,enableFontSize:!1,enableFooter:!1,enablePrinting:!1,enableRowDrag:!1,enableRowDrop:!1,enableRowExpansion:!1,enableRowGoto:!1,enableRowHeight:!1,enableRowSelection:!1,enableRowSelectionSingle:!1,enableEditing:!1,enableFiltering:!1,enableSearch:!1,enableSorting:!1},rm={display:{enableColumnFreezing:!0,enableColumnHiding:!0,enableColumnOrdering:!0,enableColumnResizing:!0,enableFontSize:!0,enableFooter:!0,enablePrinting:!1,enableRowDrag:!0,enableRowDrop:!0,enableRowExpansion:!0,enableRowGoto:!0,enableRowHeight:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableEditing:!1,enableFiltering:!0,enableSearch:!0,enableSorting:!0},editable:{enableColumnFreezing:!0,enableColumnHiding:!0,enableColumnOrdering:!0,enableColumnResizing:!0,enableFontSize:!0,enableFooter:!0,enablePrinting:!1,enableRowDrag:!0,enableRowDrop:!0,enableRowExpansion:!0,enableRowGoto:!0,enableRowHeight:!0,enableRowSelection:!0,enableRowSelectionSingle:!1,enableEditing:!0,enableFiltering:!0,enableSearch:!0,enableSorting:!0},card:{enableColumnFreezing:!1,enableColumnHiding:!1,enableColumnOrdering:!1,enableColumnResizing:!1,enableFontSize:!1,enableFooter:!1,enablePrinting:!1,enableRowDrag:!1,enableRowDrop:!1,enableRowExpansion:!1,enableRowGoto:!1,enableRowHeight:!1,enableRowSelection:!1,enableRowSelectionSingle:!1,enableEditing:!1,enableFiltering:!1,enableSearch:!1,enableSorting:!0}};var om;!function(e){e[e.Contains=0]="Contains",e[e.DoesNotContain=1]="DoesNotContain",e[e.IsEqualTo=2]="IsEqualTo",e[e.IsNotEqualTo=3]="IsNotEqualTo",e[e.IsGreaterThan=4]="IsGreaterThan",e[e.IsLessThan=5]="IsLessThan",e[e.IsBetween=6]="IsBetween",e[e.IsEmpty=7]="IsEmpty",e[e.IsNotEmpty=8]="IsNotEmpty",e[e.IsLessThanOrEqualTo=9]="IsLessThanOrEqualTo",e[e.IsGreaterThanOrEqualTo=10]="IsGreaterThanOrEqualTo",e[e.HasAnyOf=11]="HasAnyOf",e[e.HasAllOf=12]="HasAllOf",e[e.HasNoneOf=13]="HasNoneOf"}(om||(om={}));const im=e=>String(null!=e?e:"").toLocaleLowerCase(),sm=(e,t)=>im(e).includes(im(t)),cm=(e,t)=>im(e)===im(t);function um(e,t){return sm(e,t)}function dm(e,t){try{if(t.comparator===om.IsEmpty||t.comparator===om.IsNotEmpty){const n=null==e||""===e;return t.comparator===om.IsEmpty?n:!n}if(null==t.value||""===t.value)return!0;switch(t.comparator){case om.Contains:return sm(e,t.value);case om.DoesNotContain:return!sm(e,t.value);case om.IsEqualTo:return m.isDate(e)?m.isDate(t.value)&&ro(e,t.value):"boolean"==typeof t.value?e===t.value:cm(e,t.value);case om.IsNotEqualTo:return m.isDate(e)?m.isDate(t.value)&&!1===ro(e,t.value):"boolean"==typeof t.value?e!==t.value:!cm(e,t.value);case om.IsGreaterThan:if(m.isDate(e))return m.isDate(t.value)&&m.isAfter(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>t.value}case om.IsLessThan:if(m.isDate(e))return m.isDate(t.value)&&m.isBefore(e,t.value);{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<t.value}case om.IsLessThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isBefore(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n<=t.value}case om.IsGreaterThanOrEqualTo:if(m.isDate(e))return m.isDate(t.value)&&(m.isAfter(e,t.value)||m.isEqual(e,t.value));{const n=parseInt(e);return!isNaN(n)&&void 0!==t.value&&n>=t.value}case om.IsBetween:{const[n,l]=t.value;if(m.isDate(e))return!(m.isDate(n)&&m.isBefore(e,n)||m.isDate(l)&&m.isAfter(e,l));{const t=parseInt(e);return!(isNaN(t)||void 0!==n&&t<n||void 0!==l&&t>l)}}case om.HasAnyOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.some(t=>e.includes(t));case om.HasNoneOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.every(t=>!1===e.includes(t));case om.HasAllOf:return!(!Array.isArray(t.value)||!Array.isArray(e))&&t.value.filter(t=>e.includes(t)).length===t.value.length}return!1}catch(e){return console.error(e),!0}}const mm=["A","BUTTON","INPUT","TEXTAREA","SELECT","DETAILS"].join(", "),gm=(e,t)=>m.isDate(e)&&m.isDate(t)?!ro(e,t):Array.isArray(e)?JSON.stringify(e)!==JSON.stringify(t):e!==t;class fm{constructor(){this._value="0"}get value(){return this._value}set value(e){this._value=e}}function hm(e){var t;return e?null===(t=e.closest("[role=cell]"))||void 0===t?void 0:t.getAttribute("data-column-index"):null}const vm={tabbable:!0,accept:e=>!!e.closest('[role="row"][data-current="true"]')};function pm(e){var t,l;const a=v.useFocusManager(),r=e.table.options.meta,o=r.rowActive.rowActiveIndex===e.index,i=r.rowDrag.dragging[e.row.id],s=0===e.index,[c,u]=n.useState(!1),d=!!Object.keys(null!==(t=null===(l=r.validation.errors)||void 0===l?void 0:l[e.row.id])&&void 0!==t?t:{}).length,m={data:e.row.original,"aria-grabbed":!!i||!r.rowDrag.isEnabled&&void 0,"data-current":o,"data-selected":e.row.getIsSelected(),"data-invalid":d,draggable:r.rowDrag.isEnabled,index:e.index,onClick:r.rowClick.handleClick,onDrop:r.rowDrop.isEnabled?r.rowDrop.handleDrop:void 0};let g=n.createElement(zm,Object.assign({},e,m,{onKeyDown:t=>{if(!t.isDefaultPrevented()&&!t.isPropagationStopped()&&"Tab"===t.key){let n;r.rowActive.setHoverStatePaused(!0),t.shiftKey?(n=a.focusPrevious(vm),n?t.preventDefault():s||(t.preventDefault(),r.rowActive.setRowActiveIndex(e.index-1),setTimeout(()=>a.focusLast(vm),1))):(n=a.focusNext(vm),n?t.preventDefault():e.isLastRow||(t.preventDefault(),r.rowActive.setRowActiveIndex(e.index+1),setTimeout(()=>a.focusFirst(vm),1)))}}}));r.editing.isEditing&&(o||c&&!r.rowActive.isHoverStatePaused)&&(g=n.createElement(xm,Object.assign({},e,m,{isFirstRow:s,setActiveRowIndex:r.rowActive.setRowActiveIndex})));const f=n.useMemo(()=>({isHovered:c,setIsHovered:u,rowIndex:e.index,hasError:d}),[c,d,e.index]);return n.createElement(Dd.Provider,{value:f},g)}const wm=new fm;let bm;const Em=e=>{if(void 0!==bm){var t;const n=new MouseEvent("mouseout",{view:window,bubbles:!0,cancelable:!0}),l=null==e||null===(t=e.current)||void 0===t?void 0:t.querySelector(`[data-row-index="${bm}"]`);null==l||l.dispatchEvent(n)}};function xm(e){const{isFirstRow:t,...l}=e,a=v.useFocusManager(),r=e.table.options.meta;return n.useEffect(()=>{r.rowActive.isHoverStatePaused&&Em(e.tableRef)},[r.rowActive.isHoverStatePaused]),n.useEffect(()=>{if(r.rowActive.rowActiveIndex===e.index&&!r.search.isSearching)if(null!==wm.value){var t;const n=null===(t=e.tableRef.current)||void 0===t?void 0:t.querySelector(`[role="row"][data-current="true"] [data-column-index="${wm.value}"]`),l=null==n?void 0:n.querySelector(mm);if(l)l.focus();else if(n){const e=a.focusFirst(vm);wm.value=hm(e)}}else{const e=a.focusFirst(vm);wm.value=hm(e)}},[r.rowActive.rowActiveIndex,r.search.isSearching]),n.createElement(zm,Object.assign({},l,{onClickCapture:e=>{wm.value=hm(e.target)},onKeyDown:n=>{n.isDefaultPrevented()||n.isPropagationStopped()||r.editing.detailModeEditing||r.shortcutsState.isPaused||((n=>{let l;("ArrowLeft"===n.key||"Tab"===n.key&&n.shiftKey)&&(n.stopPropagation(),n.preventDefault(),r.rowActive.setHoverStatePaused(!0),n.ctrlKey||n.metaKey?(n.target.blur(),l=a.focusFirst(vm),wm.value=hm(l)):(l=a.focusPrevious(vm),l?wm.value=hm(l):t&&n.currentTarget.contains(l)||(n.preventDefault(),r.rowActive.setHoverStatePaused(!0),r.rowActive.setRowActiveIndex(e.index-1),setTimeout(()=>{l=a.focusLast(vm),wm.value=hm(l)},1))))})(n),(t=>{let n;("ArrowRight"===t.key||"Tab"===t.key&&!t.shiftKey)&&(t.stopPropagation(),t.preventDefault(),r.rowActive.setHoverStatePaused(!0),t.ctrlKey||t.metaKey?(t.target.blur(),n=a.focusLast(vm),wm.value=hm(n)):(n=a.focusNext(vm),n?wm.value=hm(n):e.isLastRow||t.currentTarget.contains(n)||(t.preventDefault(),r.rowActive.setHoverStatePaused(!0),r.rowActive.setRowActiveIndex(e.index+1),setTimeout(()=>{n=a.focusFirst(vm),wm.value=hm(n)},1))))})(n))}}))}const ym=["input","button","a","select","option","label","textarea"],zm=n.memo((function(e){const{data:t,index:a,measureRef:r,onClick:o,onClickCapture:i,onDrop:s,row:c,table:u,tableRef:d,...m}=e,g=n.useRef(null),f=u.options.meta,{setIsHovered:h}=Fd();n.useEffect(()=>{var e;const t=null===(e=g.current)||void 0===e?void 0:e.querySelector("[role=cell]:first-child");t&&r(t)},[g.current]);const[v,p]=Bi(e=>null==s?void 0:s(e,c.original)),w=l("group/row contents",'[[role="table"][data-resizing="true"]_&]:pointer-events-none',{"hover:cursor-pointer":"function"==typeof o});return n.createElement("div",Object.assign({},m,s?p:void 0,{className:w,"data-row-index":a,"data-dragged-over":v,onClick:e=>{if("function"==typeof o){var n;const l=e.target;if(null===(n=g.current)||void 0===n||!n.contains(e.target)||ym.includes(l.tagName.toLowerCase())||l.closest(ym.map(e=>"[role=row] "+e).join(",")))return;o(e,t)}},onClickCapture:e=>{"function"==typeof i&&i(e),requestAnimationFrame(()=>f.rowActive.setRowActiveIndex(a))},onMouseEnter:()=>{void 0!==bm?bm!==a&&(Em(d),bm=a):bm=a,h(!0)},onMouseLeave:()=>{bm===a&&(bm=void 0),h(!1)},role:"row",ref:g}))}));var Rm,Cm,Sm;function Nm(e,t){switch(t.type){case Sm.SET_SAVING_STATUS:return{...e,[t.payload.rowId]:t.payload.state};case Sm.SET_SAVING_STATUSES:return{...e,...t.payload.states};case Sm.RESET_SAVING_STATUS:{const n={...e};return null==n||delete n[t.payload.rowId],n}default:return e}}!function(e){e.Saving="saving",e.Saved="saved",e.Error="error"}(Rm||(Rm={})),function(e){e[e.SET_CELL_VALUE=0]="SET_CELL_VALUE",e[e.RESET_CHANGE=1]="RESET_CHANGE"}(Cm||(Cm={})),function(e){e[e.SET_SAVING_STATUS=0]="SET_SAVING_STATUS",e[e.SET_SAVING_STATUSES=1]="SET_SAVING_STATUSES",e[e.RESET_SAVING_STATUS=2]="RESET_SAVING_STATUS"}(Sm||(Sm={}));const Am=n.memo((function(e){var t;const{className:a,editing:r,hasChanges:o,isActiveRow:i,row:s,rowIdentifier:c,table:u}=e,d=r.getSavingStatus(s.id),[m,g]=n.useState(!1),{texts:f}=fr(),[h,v]=n.useState(!1),p=u.getAllFlatColumns().find(e=>e.id===c),w=null==p||null===(t=p.columnDef.meta)||void 0===t?void 0:t.header,b=n.useRef(null),E=u.options.meta,x=mi(3e3,()=>{g(!1),r.resetSavingStatus(s.id)});let y;n.useEffect(()=>{d&&d===Rm.Saved&&!m&&(g(!0),x.start())},[d]),n.useEffect(()=>{E.shortcutsState.pause(h)},[h]),d&&(d===Rm.Saving?y=n.createElement(ar,{title:f.table3.editing.saving.progress},n.createElement(Nr,{delay:0,className:"!text-grey-700 mr-1 !h-5 !w-5"})):m&&(y=n.createElement(ar,{title:f.table3.editing.saving.complete},n.createElement(za,{name:"tick",className:"!text-grey-700 mr-1 !h-5 !w-5"})))),r.isEditing&&i&&(y=n.createElement(n.Fragment,null,y,n.createElement(cr,{ref:b,appearance:"transparent","aria-label":f.table3.editing.actions.tooltip,icon:"more",menu:e=>n.createElement(ji,Object.assign({},e),n.createElement(ji.Content,null,n.createElement(ji.Item,{icon:"tick",disabled:!o,onClick:()=>r.saveChangesIfNeeded()},f.table3.editing.actions.save),n.createElement(ji.Item,{icon:"close",disabled:!o,onClick:()=>v(!0)},f.table3.editing.actions.clear),n.createElement(ji.Item,{icon:"undo",onClick:()=>r.toggleEditing(!1)},f.table3.editing.actions.exit))),tabIndex:i?0:-1}),n.createElement(Io,{size:"xs",open:h,onClose:()=>{v(!1),requestAnimationFrame(()=>{b.current&&(b.current.focus(),wm.value=hm(b.current))})}},n.createElement(Io.Content,{"aria-label":f.table3.editing.clearChangesConfirmationDialog.title},n.createElement(Io.Title,null,f.table3.editing.clearChangesConfirmationDialog.title),n.createElement("p",null,f.table3.editing.clearChangesConfirmationDialog.description.replace("[ROW_IDENTIFIER]",c&&w?w:f.table3.validation.index).replace("[ROW_IDENTIFIER_VALUE]",c&&w?s.original[c]:s.index)),n.createElement(Io.Footer,null,n.createElement(Lo,null,n.createElement(Io.Close,null,n.createElement(pr,{tabIndex:0},f.table3.editing.clearChangesConfirmationDialog.cancel)),n.createElement(Io.Close,null,n.createElement(pr,{tabIndex:0,appearance:"primary",autoFocus:!0,onClick:()=>r.resetChange(s.id)},f.table3.editing.clearChangesConfirmationDialog.confirm))))))));const z=l("flex items-center justify-end text-right",{"-mb-2 -mt-2":i});return n.createElement(Bd,Object.assign({},e,{className:l(a,{"!sticky":!!y})}),y?n.createElement("span",{className:z},y):void 0)}));function Om(e){const{rowIndex:t}=n.useContext(Dd),l=e.table.options.meta,a=l.editing.changes?Object.keys(l.editing.changes):[],r=e.table.getVisibleLeafColumns(),o=r.length>0?r.length-1:0,i=Wd(t,l.rowActive.rowActiveIndex,l.editing.rowMoveReason)?Ud(e.index,o):void 0;return n.createElement(Am,Object.assign({},e,{className:i,editing:l.editing,hasChanges:a.indexOf(e.row.id)>=0,isActiveRow:l.rowActive.rowActiveIndex===t}))}const Im=t.forwardRef((function(e,n){const{onKeyDown:a,...r}=e,o=l(Or(e),"pt-[5px] pb-[7px] min-h-[75px] disabled:resize-none !leading-5",e.className);return t.createElement("textarea",Object.assign({},r,{className:o,"data-taco":"textarea",onKeyDown:e=>{if(1!==e.key.length||Xa(e)||e.stopPropagation(),"Home"===e.key||"End"===e.key){e.preventDefault();const t="End"===e.key?e.currentTarget.value.length:0;e.currentTarget.setSelectionRange(t,t),e.currentTarget.scrollTop="End"===e.key?e.currentTarget.scrollHeight:0}a&&a(e)},ref:n}))})),Lm={small:{min:24,max:86},medium:{min:32,max:100},large:{min:40,max:140}},Hm=n.forwardRef((function(e,t){const{onKeyDown:a,onChange:r,onBlur:o,onFocus:i,column:s,isCellInDetailMode:c,align:u,isActiveRow:d,value:m,fontSize:g,...f}=e,h=Lm[g],v=s.columnDef.meta,p=$a(t);n.useEffect(()=>{null!=p&&p.current&&(null!=v&&v.enableTruncate?(null==p?void 0:p.current).style.height=h.min+"px":w(null==p?void 0:p.current))},[g]),n.useEffect(()=>{if(null!=p&&p.current&&null!=v&&v.enableTruncate){const e=null==p?void 0:p.current;c?w(e):e.style.height=h.min+"px"}},[c]);const w=e=>{const t=e.getBoundingClientRect();null!=v&&v.enableTruncate?t.height<h.max&&(e.style.height="inherit",e.style.height=Math.min(e.scrollHeight,h.max)+"px"):(e.style.height="inherit",e.style.height=e.scrollHeight+"px")},b=l("w-full",{"focus-within:absolute focus-within:left-0 focus-within:top-0 focus-within:z-[9]":null==v?void 0:v.enableTruncate});return n.createElement("div",{"data-taco":"input-container"},n.createElement("div",{style:{minHeight:h.min+"px"},className:"relative"},n.createElement("div",{className:b},n.createElement(Im,Object.assign({},f,{onChange:e=>{r(e.target.value),w(e.target)},rows:1,onKeyDown:e=>{var t;(t=e).shiftKey&&"Enter"===t.key||a(t)},onBlur:e=>{null!=v&&v.enableTruncate&&(e.currentTarget.style.height=h.min+"px"),o(e)},onFocus:e=>{const t=null==p?void 0:p.current;t&&w(t),i(e)},className:l(tm(u),"h-fit resize-none overflow-hidden focus:overflow-auto [&:not(:focus)]:whitespace-nowrap",{[`!min-h-[${h.min}px]`]:null==v?void 0:v.enableTruncate,"!yt-focus-dark":c,[`h-[${h.min}px]`]:!c&&(null==v?void 0:v.enableTruncate),"focus:resize-y":d&&(null==v?void 0:v.enableTruncate)}),ref:p,value:String(null!=m?m:"")})))))})),Mm=n.forwardRef((function(e,t){var a;const{align:r,column:o,data:i,initialValue:s,onChange:c,table:u,tableRef:d,value:m,cell:g,error:f,...h}=e,v=u.options.meta,p=n.useRef(),w=Aa([p,t]),b=o.columnDef.meta,E=null==b?void 0:b.control,x=v.editing.detailModeEditing&&(null==p||null===(a=p.current)||void 0===a?void 0:a.contains(document.activeElement)),y=g.row.original,z="number"===(null==b?void 0:b.dataType),R=e=>{(e=>{if(Za(e,{key:"e",meta:!0,shift:!1}))return void v.editing.toggleEditing(!1);const t=e.target;var n,l;if(!t.readOnly)if(!v.editing.detailModeEditing||"ArrowUp"!==e.key&&"ArrowDown"!==e.key||e.stopPropagation(),"Escape"!==e.key)"Enter"!==e.key||(e.preventDefault(),v.editing.detailModeEditing?null==t||null===(n=t.select)||void 0===n||n.call(t):(e=>{var t,n,l;const a="number"===e.type;a&&(e.type="text"),null===(t=e.setSelectionRange)||void 0===t||t.call(e,null===(n=e.value)||void 0===n?void 0:n.length,null===(l=e.value)||void 0===l?void 0:l.length),a&&(e.type="number")})(t),v.editing.setDetailModeEditing(!v.editing.detailModeEditing));else if(e.preventDefault(),v.editing.detailModeEditing){if(v.editing.setDetailModeEditing(!1),m!==s){const e={...v.editing.changes?v.editing.changes[g.row.id]:{},[g.column.id]:s};F.isEqual(g.row.original,e)?v.editing.resetChange(g.row.id):c(s)}}else v.editing.toggleEditing(!1),null===(l=d.current)||void 0===l||l.focus()})(e),/^[a-z0-9]$/i.test(e.key)&&v.editing.setDetailModeEditing(!0)},C=e=>{var t;const{frozenColumnIndex:n=-1,frozenInternalColumnCount:l=0}=v.columnFreezing,a=v.tableRef.current,r=n>-1?n+l:l-1,o=null===(t=e.target)||void 0===t?void 0:t.closest('[role="cell"]');if(!a||!o)return;const i=Sd(a,o,r,!0);null!==i&&(a.scrollLeft=i)};if("function"==typeof E)return E({...h,invalid:!!f,onFocus:C,ref:w,setValue:e=>{e!==m&&c(e)},fontSize:v.fontSize.size,value:m},i);if("datepicker"===E){const e=e=>{const t=e.detail;gm(y[g.column.id],t)&&c(t)};return n.createElement(wo,Object.assign({},h,{invalid:!!f,className:l({"[&_input]:!yt-focus-dark":x}),onChange:e,onFocus:C,onKeyDown:R,ref:w,value:m}))}return"switch"===E?n.createElement(bc,Object.assign({},h,{checked:Boolean(m),onChange:c,onFocus:C,ref:w})):"textarea"===E?n.createElement(Hm,Object.assign({},e,{invalid:!!f,isCellInDetailMode:x,onFocus:C,onKeyDown:R,ref:w,fontSize:v.fontSize.size})):n.createElement(jr,Object.assign({},h,{invalid:!!f,className:l(lm(),tm(r),{"!yt-focus-dark":x}),onChange:e=>{c(e.target.value)},onFocus:C,onKeyDown:R,ref:w,type:z?"number":void 0,value:z?m:String(null!=m?m:"")}))}));function km(e){const{cell:t,table:l}=e,{isHovered:a}=Fd(),r=l.options.meta,o=r.validation.getCellError(t);return n.createElement(Vm,Object.assign({},e,{error:o,isHovered:a,tableMeta:r}))}const Vm=n.memo((function(e){var t,a,r,o,i;const{cell:s,column:c,index:u,getValue:d,table:m,tableRef:g,row:f,tableMeta:h,error:v,highlighted:p,highlightedAsCurrent:w}=e,{rowIndex:b}=n.useContext(Dd),E=c.columnDef.meta,x=n.useRef(null),y=n.useRef(null),z=null!==(t=h.editing.getCellValue(s))&&void 0!==t?t:d(),R=(null===(a=h.editing.rowMoveReason)||void 0===a?void 0:a[s.column.id])||null,C=m.getRowModel().rows,S=void 0!==h.rowActive.rowActiveIndex&&(null===(r=C[h.rowActive.rowActiveIndex])||void 0===r?void 0:r.id)===f.id,N=n.useMemo(()=>{var e,t;return null!==R&&S&&!v?null===(e=x.current)||void 0===e||null===(t=e.parentElement)||void 0===t?void 0:t.firstChild:null},[R,S,v,x]),A=()=>{h.editing.removeRowMoveReason()};n.useEffect(()=>{if(S){if(!v){if(gm(d(),z)){const e=function(e,t,n,l,a,r){var o;let i=null;const{globalFilter:s}=e.getState();return r&&!Object.values({...n,[l.id]:a}).some(()=>um(String(a),s?String(s):""))?i=$d.SEARCH:l.column.getIsFiltered()&&!dm(a,l.column.getFilterValue())?i=$d.FILTER:!i&&l.column.getIsSorted()&&((e,t,n,l,a)=>{var r;const o=[{...t.row,original:{...t.row.original,[t.column.id]:e}}];o[0].getValue=()=>e;let i=0;n>0&&(o.unshift(l[n-1]),i=1),n<l.length-1&&o.push(l[n+1]);let s=[...o].sort((e,n)=>t.column.getSortingFn()(e,n,t.column.id));return a&&(s=s.reverse()),(null===(r=s[i])||void 0===r?void 0:r.id)!==t.row.id})(a,l,t,e.getRowModel().rows,!(null===(o=e.getState().sorting.find(e=>e.id===l.column.id))||void 0===o||!o.desc))&&(i=$d.SORTING),i}(m,b,f.original,s,z,h.search.excludeUnmatchedResults);e&&h.editing.setRowMoveReason({[s.column.id]:e})}else A();return A}h.editing.rowMoveReason&&A()}},[z,h.rowActive.rowActiveIndex,h.search.excludeUnmatchedResults,v]);const O=null===(o=c.columnDef.meta)||void 0===o?void 0:o.control,I=l("py-[calc(var(--table3-cell-padding-y)_-_0.06rem_-_1px)]",{relative:"textarea"===O&&E.enableTruncate},e.className,"function"==typeof E.className?E.className(f.original):E.className),L=l("!min-h-0 w-full !pb-0",{"!pb-3":!!v}),H=n.createElement(ti,{message:v,invalid:!!v,className:L},n.createElement(Mm,{align:E.align,column:s.column,data:s.row.original,initialValue:d(),onBlur:()=>{var e;h.editing.setDetailModeEditing(!1),null!==(e=h.editing.changes)&&void 0!==e&&e[s.row.id]&&h.validation.validate(s.row.id,h.editing.changes[s.row.id],s.column.id)},onFocus:e=>{var t;const n=h.columnFreezing.frozenColumnIndex,l=g.current;if(l&&void 0!==n&&u>n){var a;const e=Zd(n,l),t=null===(a=x.current)||void 0===a?void 0:a.getBoundingClientRect(),r=null==e?void 0:e.getBoundingClientRect(),o=l.getBoundingClientRect();t&&r&&t.left<r.left+r.width?l.scrollTo(t.left-(r.left+r.width),l.scrollTop):t&&o&&t.right>o.right-60&&l.scrollTo(l.scrollLeft+60+10,l.scrollTop)}null!==(t=e.target)&&void 0!==t&&t.select&&requestAnimationFrame(()=>{e.target.select()})},onChange:e=>h.editing.setCellValue(s,e),ref:y,table:m,tableRef:g,value:z,cell:s,error:v,tabIndex:S?0:-1,isActiveRow:S}));return n.createElement(n.Fragment,null,null!==R&&N&&!v?n.createElement(Kd,{reason:R,columnName:String(null===(i=c.columnDef.meta)||void 0===i?void 0:i.header),mountNode:N,validationErrors:[]}):null,n.createElement("div",{className:p?void 0:I,"data-align":E.align,"data-column-index":u,role:"cell","data-editable":!0,ref:x,"data-invalid":!!v,"data-highlighted":p},p?n.createElement(Pd,{current:w,className:I,frozenColumnIndex:h.columnFreezing.frozenColumnIndex,index:u,tableRef:g},H):H))}));function jm(e){var t;const{column:l,row:a,table:r,index:o,getValue:i,cell:s}=e,{isHovered:c,hasError:u,rowIndex:d}=Fd(),m=r.getRowModel().rows,g=r.options.meta,f=l.columnDef.meta,h=g.validation.errors?g.validation.errors[a.id]:null,v=u&&h&&!!h[l.id],p=g.rowActive.rowActiveIndex,w=void 0!==p&&(null===(t=m[p])||void 0===t?void 0:t.id)===a.id;let b=i();const E=r.getVisibleLeafColumns(),x=E.length>0?E.length-1:0,y=Wd(d,p,g.editing.rowMoveReason)?Ud(o,x):void 0;if(g.editing.isEditing){const e=g.editing.getCellValue(s);b=null!=e?e:b}const z=n.useMemo(()=>{var e;return!(!g.search.isHighlightingEnabled||!f.enableSearch)&&!(null===(e=g.search.query)||void 0===e||!e.length)&&function(e,t,n){return null!=t&&String(em(t,n)).toLocaleLowerCase().includes(e.toLocaleLowerCase())}(g.search.query,b,f.dataType)},[b,g.search.isHighlightingEnabled,g.search.excludeUnmatchedResults,g.search.query]),R=n.useMemo(()=>{if(!g.search.isHighlightingEnabled||!z||void 0===g.search.currentHighlightColumnIndex)return!1;const[e,t]=g.search.highlightedColumnIndexes[g.search.currentHighlightColumnIndex];return e===d&&t===o},[z,g.search.highlightedColumnIndexes.length,g.search.currentHighlightColumnIndex]),C={highlighted:z,highlightedAsCurrent:R};return g.editing.isEditing&&f.control&&(w||c&&!g.rowActive.isHoverStatePaused||v)?n.createElement(km,Object.assign({},e,C,{className:y})):n.createElement(Bd,Object.assign({},e,C,{value:b,className:y}))}function Tm(e){const{texts:t}=fr();if(e.table.options.enableMultiRowSelection){const l=e.table.getIsAllRowsSelected(),a=e.table.getIsSomeRowsSelected(),r=l?t.table3.columns.select.deselectAll:t.table3.columns.select.selectAll,o=e.table.options.meta,i=o.server.loadAllStatus===hs.Loading,s=l&&i,c=void 0!==o.rowSelection.lastSelectedRowIndex&&i,u=function(){try{const t=function(){var t,n;if(!i)return Promise.resolve(null===(t=o.server)||void 0===t||null===(n=t.loadAllIfNeeded)||void 0===n?void 0:n.call(t,e.table.getState().sorting,e.table.getState().columnFilters,void 0)).then((function(){e.table.toggleAllRowsSelected(!l)}))}();return Promise.resolve(t&&t.then?t.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};return n.createElement(Vd,Object.assign({},e),n.createElement(ar,{title:r},n.createElement(Ar,{"aria-label":r,className:"hover:border-blue !mt-0",key:String(`${l}_${a}`),checked:l,indeterminate:a,onChange:u,tabIndex:-1,loading:s||c})))}return n.createElement(Vd,Object.assign({},e))}const Dm=n.memo((function(e){const{texts:t}=fr(),{rowIndex:a}=n.useContext(Dd),r=e.table.options.meta,o=r.rowActive.rowActiveIndex===a,i=e.row.getIsSelected(),s=i?t.table3.columns.select.deselect:t.table3.columns.select.select;if(e.table.options.enableMultiRowSelection)return n.createElement(Bd,Object.assign({},e),n.createElement(ar,{title:n.createElement(n.Fragment,null,s,n.createElement(wi,{className:"ml-2",keys:"Space"}))},n.createElement(Ar,{"aria-label":s,className:"!mt-0",checked:i,onClick:function(t){try{function n(){r.rowSelection.lastSelectedRowIndex.current=a}t.stopPropagation();const l=function(){if(t.shiftKey){var n;function l(){const t=e.table.getSelectedRowModel().rows,n=[...new Set(t.concat(c))].reduce((e,t)=>Object.assign(e,{[t.id]:!0}),{});e.table.setRowSelection(n)}const[t,s]=(o=null!==(n=r.rowSelection.lastSelectedRowIndex.current)&&void 0!==n?n:0,[(i=a)<o?i:o,i>o?i:o]),c=e.table.getRowModel().rows.slice(t,s+1),u=c.some(e=>void 0===e.original),d=function(){var t,n;if(u)return Promise.resolve(null===(t=r.server)||void 0===t||null===(n=t.loadAllIfNeeded)||void 0===n?void 0:n.call(t,e.table.getState().sorting,e.table.getState().columnFilters,void 0)).then((function(){}))}();return d&&d.then?d.then(l):l()}var o,i;e.row.toggleSelected()}();return Promise.resolve(l&&l.then?l.then(n):n())}catch(e){return Promise.reject(e)}},onChange:()=>!1,tabIndex:o?0:-1})));{const t=l("!mt-0",Ci()),o=t=>{t.stopPropagation(),e.row.toggleSelected(),r.rowSelection.lastSelectedRowIndex.current=a};return n.createElement(Bd,Object.assign({},e),n.createElement("button",{className:t,"aria-checked":i,onClick:o,role:"radio",tabIndex:-1,type:"button"},i?n.createElement("span",{className:"h-2 w-2 rounded-full bg-white"}):null))}}),(function(e,t){return t.table.options.meta.rowActive.rowActiveIndex===e.table.options.meta.rowActive.rowActiveIndex&&t.row.getIsSelected()!==e.row.getIsSelected()}));function Fm(e){const{texts:t}=fr(),l=e.table.getIsSomeRowsExpanded(),a=l?t.table3.columns.expansion.collapseAll:t.table3.columns.expansion.expandAll;return n.createElement(Vd,Object.assign({},e),n.createElement(ar,{title:a},n.createElement(cr,{appearance:"transparent",icon:l?"chevron-down-double":"chevron-right-double",onClick:t=>{t.stopPropagation(),e.table.toggleAllRowsExpanded(!l)},tabIndex:-1,title:a})))}const Pm=n.memo((function(e){const{expandedRowRenderer:t,isActiveRow:l,isExpanded:a,row:r,table:o}=e,{texts:i}=fr(),s=o.options.meta;let c;if(t(r.original)){const e=a?i.table3.columns.expansion.collapse:i.table3.columns.expansion.expand;c=n.createElement(ar,{title:e},n.createElement(cr,{appearance:"discrete",className:"-mt-1.5",icon:a?"chevron-down":"chevron-right",onClick:e=>{e.stopPropagation(),r.toggleExpanded()},tabIndex:l&&!s.editing.isEditing?0:-1,title:e}))}return n.createElement(Bd,Object.assign({},e),c)}));function Bm(e){const{expandedRowRenderer:t,...l}=e,{rowIndex:a}=n.useContext(Dd);return n.createElement(Pm,Object.assign({},l,{expandedRowRenderer:t,isActiveRow:l.table.options.meta.rowActive.rowActiveIndex===a,isExpanded:l.row.getIsExpanded()}))}const _m=n.memo((function(e){const{isSelected:t,onRowDrag:l,row:a,table:r}=e,{texts:o}=fr(),i=r.options.meta;return n.createElement(Bd,Object.assign({},e),n.createElement("div",{draggable:!0,onDragStart:e=>{let n=[a];r.options.enableRowSelection&&(n=t?r.getSelectedRowModel().rows:[a,...r.getSelectedRowModel().rows]);const o=n.map(e=>e.original);i.rowDrag.setDragging(n.reduce((e,t)=>({...e,[t.id]:!0}),{})),e.dataTransfer.setData("text",JSON.stringify(o)),l(o,t=>{const n=document.createElement("div");n.id="taco_table_dragging",n.className="wcag-blue rounded flex w-48 p-4 absolute -ml-[100vw]",n.innerText=t,document.body.appendChild(n),e.dataTransfer.setDragImage(n,0,0)},t=>e.dataTransfer.setData("text",t))},onDragOver:e=>e.preventDefault(),onDragEnd:()=>{var e;null===(e=document.getElementById("taco_table_dragging"))||void 0===e||e.remove(),i.rowDrag.setDragging({})}},n.createElement(za,{"aria-label":o.table3.columns.drag.tooltip,name:"drag",className:"text-grey-darkest invisible -mt-1 w-[20px] cursor-grab active:cursor-grabbing group-hover/row:visible group-[[aria-grabbed='true']]/row:text-white"})))}));function Gm(e){const{children:t,column:l,header:a,table:r,hasSeparator:o}=e,i=n.useMemo(()=>l.columnDef.meta,[]),s={align:"center",children:null!=t?t:i.header,colSpan:a.colSpan,hasSeparator:o,id:a.id,index:a.index,isPrinting:r.options.meta.printing.isPrinting,length:r.getRowModel().rows.length,meta:i,table:r};return n.createElement(qm,Object.assign({},s))}const qm=n.memo((function(e){var t;const{align:a,children:r,colSpan:o,hasSeparator:i,id:s,isPrinting:c,meta:u,table:d}=e,m=l("px-2 z-10 hover:z-20",{sticky:!c}),g=l("font-bold box-content group/column relative","px-[var(--table3-cell-padding-x)]",{"h-10 items-center":!c,"pb-2":c,"border-b-2":!!r},u.headerClassName);return d.options.debugAll&&console.log("header group render",s),n.createElement("div",{className:m,style:o>1?{gridColumn:`span ${o} / span ${o}`}:void 0,"data-taco":"table3-column-group","data-align":a,role:"columnheader"},n.createElement("div",{className:g},n.createElement(ar,{title:String(null!==(t=null==u?void 0:u.tooltip)&&void 0!==t?t:r),placement:"top"},n.createElement("span",{className:l({truncate:!c})},r)),i?n.createElement(Td,null):null))}));function $m(e,t,n){let l=e?{...e}:{};return l&&l[t]&&(n?(delete l[t][n],0===Object.keys(l[t]).length&&delete l[t]):delete l[t]),0===Object.keys(l).length&&(l=null),l}var Km;function Um(e,t){var n,l;switch(t.type){case Km.SET_CELL_ERROR:return{...e,draftErrors:{...e.draftErrors,[t.payload.rowId]:{...null===(n=e.draftErrors)||void 0===n?void 0:n[t.payload.rowId],[t.payload.cellId]:t.payload.error}}};case Km.SET_ROW_ERROR:return{...e,draftErrors:{...e.draftErrors,[t.payload.rowId]:{...null===(l=e.draftErrors)||void 0===l?void 0:l[t.payload.rowId],...t.payload.errors}}};case Km.CONFIRN_ERRORS:{const n={...e.draftErrors},l={...n[t.payload.rowId]};return delete n[t.payload.rowId],{draftErrors:n,errors:{...e.errors,[t.payload.rowId]:l}}}case Km.RESET_ERRORS:{const n=$m(e.draftErrors,t.payload.rowId,t.payload.cellId);return{errors:$m(e.errors,t.payload.rowId,t.payload.cellId),draftErrors:n}}default:return e}}!function(e){e[e.SET_CELL_ERROR=0]="SET_CELL_ERROR",e[e.SET_ROW_ERROR=1]="SET_ROW_ERROR",e[e.CONFIRN_ERRORS=2]="CONFIRN_ERRORS",e[e.RESET_ERRORS=3]="RESET_ERRORS"}(Km||(Km={}));const Wm=n.memo((function(e){var t;const{data:l,renderer:a,registerSize:r}=e,o=n.useRef(null);n.useEffect(()=>{o.current&&r&&r(o.current.getBoundingClientRect().height)},[]);const i=null===(t=a(l))||void 0===t?void 0:t();return i?n.createElement("div",{className:"border-grey-300 bg-grey-50 col-span-full border-b p-4",ref:o},i):null})),Jm={short:33,medium:41,tall:49,"extra-tall":57};function Ym(e){const{loadPage:t,pageIndex:l,table:a}=e,{ref:r,inView:o}=O.useInView({threshold:0,triggerOnce:!0,initialInView:0===l});return n.useEffect(()=>{o&&t(l,a.getState().sorting,a.getState().columnFilters,a.getState().globalFilter)},[o]),n.createElement("div",{className:"border-grey-300 flex h-10 items-center border-b px-2",ref:r},n.createElement("span",{className:"bg-grey-100 text-grey-700 h-4 w-full text-center text-xs"}))}function Qm(e){const{columns:t,...l}=e;return n.createElement("div",{className:"contents"},t.map(e=>n.createElement(Ym,Object.assign({key:e.id},l))))}function Xm(e,t,l,a,r,o){return()=>{if(t.length){var i,s,c,u;const d=r.virtualItems.length>0&&null!==(i=null===(s=r.virtualItems[0])||void 0===s?void 0:s.start)&&void 0!==i?i:0,m=r.virtualItems.length>0?r.totalSize-(null!==(c=null===(u=r.virtualItems[r.virtualItems.length-1])||void 0===u?void 0:u.end)&&void 0!==c?c:0):0,g=e=>t=>{o(n=>t!==n[e]?{...n,[e]:t}:n)};return n.createElement(n.Fragment,null,d?n.createElement("div",{style:{height:d},className:"col-span-full"}):null,r.virtualItems.map(r=>{const o=t[r.index];if(void 0===o.original&&e.pageSize){const t=Math.floor(r.index/e.pageSize)*e.pageSize/e.pageSize;return n.createElement(Qm,{key:o.id,columns:l.getVisibleLeafColumns(),loadPage:e.loadPage,pageIndex:t,table:l})}return n.createElement(n.Fragment,{key:o.id},n.createElement(pm,{index:r.index,isLastRow:r.index===t.length-1,measureRef:r.measureRef,row:o,table:l,tableRef:a},o.getVisibleCells().map((e,t)=>n.createElement(n.Fragment,{key:e.id},R.flexRender(e.column.columnDef.cell,{...e.getContext(),index:t,tableRef:a})))),o.getIsExpanded()?n.createElement(Wm,{data:o.original,renderer:e.expandedRowRenderer,registerSize:g(r.index)}):null)}),m?n.createElement("div",{style:{height:m},className:"col-span-full"}):null)}return null}}var Zm;function eg(e){const{scrollToIndex:t,table:l}=e,{texts:a}=fr(),r=n.useRef(null),o=l.options.meta,[i,s]=n.useState(o.search.query),[c,u]=n.useState(Zm.Incomplete),[d,m]=n.useState(null),g=e=>t(e,{align:"center"});n.useEffect(()=>{var e;const t=function(e,t,n){const l=n.options.meta;let a;if(e&&t){const e=[],r=n.getVisibleLeafColumns();n.getRowModel().rows.forEach((n,l)=>{r.forEach((a,r)=>{try{var o;if(a.getIsVisible()&&null!==(o=a.columnDef.meta)&&void 0!==o&&o.enableSearch){var i,s;const o=em(null===(i=n.original)||void 0===i?void 0:i[a.id],null===(s=a.columnDef.meta)||void 0===s?void 0:s.dataType);void 0!==o&&um(o,t)&&e.push([l,r])}}catch(e){}})}),l.search.setHighlightedColumnIndexes(e),e.length?(a=e[0][0],l.search.setCurrentHighlightColumnIndex(0)):l.search.setCurrentHighlightColumnIndex(void 0)}else l.search.setHighlightedColumnIndexes([]),l.search.setCurrentHighlightColumnIndex(void 0);return void 0!==a&&l.rowActive.setRowActiveIndex(a),a}(o.search.isHighlightingEnabled,null===(e=r.current)||void 0===e?void 0:e.value,l);t&&g(t)},[o.search.query,o.search.excludeUnmatchedResults,l.getRowModel().rows.length,JSON.stringify(l.getState().sorting),JSON.stringify(l.getState().columnVisibility),c]),n.useEffect(()=>{o.search.query!==i&&s(o.search.query)},[o.search.query]),function(e,t,l=200){const a=n.useRef();n.useEffect(()=>(a.current=setTimeout(e,l),()=>{clearTimeout(a.current)}),t)}(()=>{o.search.setQuery(i),o.search.excludeUnmatchedResults&&(null!=i&&i.length?l.setGlobalFilter(i):l.resetGlobalFilter())},[i]);const f=()=>{var e,t;const n=null!==(e=o.search.currentHighlightColumnIndex)&&void 0!==e?e:0,a=null!==(t=o.search.highlightedColumnIndexes[n])&&void 0!==t?t:[],[r=null,i=null]=a,s=l.getRowModel().rows;if(o.search.setQuery(""),wm.value=String(i),null!==r){var c;const e=(null===(c=s[r])||void 0===c?void 0:c.id)||null;m(e)}},{globalFilter:h}=l.getState();n.useEffect(()=>{if(null!==d&&!h){const e=l.getRowModel().rows.findIndex(e=>e.id===d);o.search.setIsSearching(!1),o.rowActive.setRowActiveIndex(e),g(e),m(null)}},[d,h]);const v=n.createElement(bc,{label:a.table3.search.excludeUnmatchedResults,checked:o.search.excludeUnmatchedResults,onChange:e=>{var t,n;o.search.toggleExcludeUnmatchedResults(e),e&&null!==(t=r.current)&&void 0!==t&&t.value?l.setGlobalFilter(null===(n=r.current)||void 0===n?void 0:n.value):l.resetGlobalFilter(),requestAnimationFrame(()=>{var e;return null===(e=r.current)||void 0===e?void 0:e.focus()})}});return n.createElement(n.Fragment,null,n.createElement(wc,{findCurrent:void 0!==o.search.currentHighlightColumnIndex?o.search.currentHighlightColumnIndex+1:null,findTotal:o.search.highlightedColumnIndexes?o.search.highlightedColumnIndexes.length:null,loading:c===Zm.Loading,onClickFindPrevious:()=>{if(!o.search.highlightedColumnIndexes.length)return;const e=void 0===o.search.currentHighlightColumnIndex?0:0===o.search.currentHighlightColumnIndex?o.search.highlightedColumnIndexes.length-1:o.search.currentHighlightColumnIndex-1;o.search.setCurrentHighlightColumnIndex(e),g(o.search.highlightedColumnIndexes[e][0])},onClickFindNext:()=>{if(!o.search.highlightedColumnIndexes.length)return;const e=void 0===o.search.currentHighlightColumnIndex||o.search.currentHighlightColumnIndex===o.search.highlightedColumnIndexes.length-1?0:o.search.currentHighlightColumnIndex+1;o.search.setCurrentHighlightColumnIndex(e),g(o.search.highlightedColumnIndexes[e][0])},onChange:e=>{s(String(null!=e?e:""))},onFocus:function(){try{o.search.setIsSearching(!0);const e=function(){if(o.server.loadAll&&c===Zm.Incomplete)return u(Zm.Loading),Promise.resolve(o.server.loadAll(l.getState().sorting,l.getState().columnFilters,void 0)).then((function(){u(Zm.Completed)}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},onBlur:()=>{o.search.setIsSearching(!1)},onKeyDown:e=>{"Escape"===e.key&&(f(),e.preventDefault())},onClear:f,placeholder:a.table3.search.placeholder,settingsContent:v,ref:r,shortcut:{key:"f",meta:!0,shift:!1},value:i}))}!function(e){e[e.Incomplete=0]="Incomplete",e[e.Loading=1]="Loading",e[e.Completed=2]="Completed"}(Zm||(Zm={}));const tg=n.forwardRef((e,t)=>{const{allColumns:l,filters:a,onChange:r,value:o=null,...i}=e,{texts:s}=fr(),c=l.find(e=>e.id===o),u=c&&!c.getIsVisible();return n.createElement("div",{className:"flex flex-col"},n.createElement(ti,{message:u?s.table3.filters.hiddenColumn:void 0,warning:u,className:"min-h-[theme(spacing.8)]"},n.createElement(mu,Object.assign({},i,{ref:t,className:"focus:yt-focus !w-32 flex-shrink-0",emptyValue:null,onChange:r,value:o}),l.map(e=>{var t,l,r;return n.createElement(mu.Option,{key:e.id,value:e.id,postfix:e.getIsVisible()?void 0:n.createElement(ar,{title:s.table3.filters.hiddenColumn},n.createElement(za,{name:"eye-off",className:"text-grey-500 !h-5 !w-5"})),disabled:!(e.id===o||e.getCanFilter()&&!a.find(t=>t.id===e.id))},(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header)+(e.parent?` (${null===(l=e.parent)||void 0===l||null===(r=l.columnDef.meta)||void 0===r?void 0:r.header})`:""))}))))});function ng(e){const{column:t,onChange:l,value:a,...r}=e,{texts:o}=fr(),i=function(e){var t;const l=null!==(t=null==e?void 0:e.columnDef.meta)&&void 0!==t?t:{};if(Array.isArray(l.filters))return l.filters;if("function"==typeof l.control){const e=l.control({onBlur:()=>{},onFocus:()=>{},setValue:()=>{},value:void 0,disabled:!1,readOnly:!1,ref:void 0});if(n.isValidElement(e)){const{props:t,type:n}=e;if("Select2"===n.displayName)return t.multiple?[om.HasAnyOf,om.HasAllOf,om.IsEqualTo,om.HasNoneOf,om.IsEmpty,om.IsNotEmpty]:[om.IsEqualTo,om.IsNotEqualTo,om.IsEmpty,om.IsNotEmpty]}}return"number"===l.dataType?[om.IsEqualTo,om.IsNotEqualTo,om.IsGreaterThan,om.IsLessThan,om.IsBetween,om.IsEmpty,om.IsNotEmpty]:"datepicker"===l.control||"datetime"===l.dataType?[om.IsEqualTo,om.IsNotEqualTo,om.IsBetween,om.IsLessThan,om.IsGreaterThan,om.IsEmpty,om.IsNotEmpty,om.IsLessThanOrEqualTo,om.IsGreaterThanOrEqualTo]:"switch"===l.control?[om.IsEqualTo]:[om.Contains,om.DoesNotContain,om.IsEqualTo,om.IsNotEqualTo,om.IsEmpty,om.IsNotEmpty]}(t);return n.useEffect(()=>{void 0!==a&&i.includes(a)||null==l||l(i[0])},[i]),n.createElement(mu,Object.assign({},r,{className:"focus:yt-focus !w-32 flex-shrink-0",disabled:!t,onChange:l,value:a}),i.map(e=>n.createElement(mu.Option,{key:e,value:e},function(e,t,n){var l,a;const r="datepicker"===(null==n||null===(l=n.columnDef)||void 0===l||null===(a=l.meta)||void 0===a?void 0:a.control);switch(e){case om.Contains:return t.table3.filters.comparators.contains;case om.DoesNotContain:return t.table3.filters.comparators.doesNotContain;case om.IsEqualTo:return t.table3.filters.comparators.isEqualTo;case om.IsNotEqualTo:return t.table3.filters.comparators.isNotEqualTo;case om.IsGreaterThan:return r?t.table3.filters.comparators.isAfter:t.table3.filters.comparators.isGreaterThan;case om.IsLessThan:return r?t.table3.filters.comparators.isBefore:t.table3.filters.comparators.isLessThan;case om.IsBetween:return t.table3.filters.comparators.isBetween;case om.IsEmpty:return t.table3.filters.comparators.isEmpty;case om.IsNotEmpty:return t.table3.filters.comparators.isNotEmpty;case om.IsLessThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrBefore:t.table3.filters.comparators.isLessThanOrEqualTo;case om.IsGreaterThanOrEqualTo:return r?t.table3.filters.comparators.isOnOrAfter:t.table3.filters.comparators.isGreaterThanOrEqualTo;case om.HasAnyOf:return t.table3.filters.comparators.hasAnyOf;case om.HasAllOf:return t.table3.filters.comparators.hasAllOf;case om.HasNoneOf:return t.table3.filters.comparators.hasNoneOf;default:return""}}(e,o,t))))}function lg(e){const{column:t,comparator:l,onChange:a,value:r}=e,{texts:o}=fr();if(l===om.IsEmpty||l===om.IsNotEmpty)return null;if(l===om.IsBetween){var i;const e=Array.isArray(r)?r[0]:void 0,l=Array.isArray(r)?r[1]:void 0;return void 0===t?n.createElement(jr,{"aria-label":o.table3.filters.emptyFilter.value,className:"flex-grow",disabled:!0,value:o.table3.filters.emptyFilter.value}):"datetime"===(null===(i=t.columnDef.meta)||void 0===i?void 0:i.dataType)?n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(ag,{column:t,onChange:e=>a([e,l]),value:e}),n.createElement(ag,{column:t,onChange:t=>a([e,t]),value:l})):n.createElement("div",{className:"flex flex-grow items-center gap-2"},n.createElement(ag,{column:t,onChange:e=>a([isNaN(e)?void 0:e,l]),placeholder:"from",value:null!=e?e:""}),n.createElement(ag,{column:t,onChange:t=>a([e,isNaN(t)?void 0:t]),placeholder:"to",value:null!=l?l:""}))}return n.createElement(ag,{column:t,onChange:a,value:r})}function ag(e){var a,r;const{column:o,onChange:i,value:s,...c}=e,u=null==o||null===(a=o.columnDef.meta)||void 0===a?void 0:a.control,d=null==o||null===(r=o.columnDef.meta)||void 0===r?void 0:r.dataType;return t.useEffect(()=>{"switch"===u&&i(!1)},[]),"function"==typeof u?u({...c,setValue:e=>i(e),value:s}):"datepicker"===u||"datetime"===d?n.createElement(wo,Object.assign({},c,{onChange:e=>i(e.detail),value:s})):"switch"===u?n.createElement(bc,Object.assign({},c,{className:"m-1.5",checked:Boolean(s),onChange:i})):n.createElement(jr,"input"!==u&&void 0!==u||"number"!==d?Object.assign({disabled:!o},c,{className:"flex-grow",onChange:e=>i(e.target.value),value:String(null!=s?s:"")}):Object.assign({},c,{className:l(lm(),"flex-grow"),type:"number",onChange:e=>i(e.target.valueAsNumber),value:String(null!=s?s:"")}))}function rg(e){const{allColumns:t,filter:l,filters:a,onChange:r,onRemove:o,position:i}=e,{texts:s}=fr(),c=t.find(e=>e.id===l.id),u=n.useRef(null),{id:d,value:{comparator:m,value:g}}=l;return n.useEffect(()=>{u.current&&!d&&u.current.focus()},[d]),n.createElement("div",{className:"flex items-start gap-2"},n.createElement("div",{className:"flex min-h-[theme(spacing.8)] w-14 flex-shrink-0 items-center justify-end pr-2 text-right"},i>0?s.table3.filters.conditions.and:s.table3.filters.conditions.where),n.createElement(tg,{allColumns:t,filters:a,onChange:e=>{var n,a;const o=t.find(e=>e.id===d),s=t.find(t=>t.id===e),c=(null==o||null===(n=o.columnDef.meta)||void 0===n?void 0:n.dataType)===(null==s||null===(a=s.columnDef.meta)||void 0===a?void 0:a.dataType)?l.value:{comparator:null,value:null};r(i,{id:e,value:c})},value:d,ref:u}),n.createElement(ng,{column:c,onChange:e=>{let t=l.value.value;e!==om.IsEmpty&&e!==om.IsNotEmpty||(t=void 0),r(i,{id:d,value:{comparator:e,value:t}})},value:m}),n.createElement(lg,{column:c,comparator:m,onChange:e=>{r(i,{id:d,value:{...l.value,value:e}})},value:g}),o?n.createElement(cr,{appearance:"discrete",className:"ml-auto",icon:"close",onClick:()=>null==o?void 0:o(i)}):null)}function og(e,t){var n,l,a,r;return null===(n=e.columnDef.meta)||void 0===n||null===(l=n.header)||void 0===l||null===(a=l.localeCompare)||void 0===a?void 0:a.call(l,null===(r=t.columnDef.meta)||void 0===r?void 0:r.header)}const ig={id:null,value:{comparator:om.Contains,value:void 0}};function sg(e){const{total:t,table:a}=e,{locale:r,texts:o}=fr(),i=n.useRef(null),s=pu(),c=a.getAllLeafColumns().filter(e=>!Qd(e.id)).sort(og),u=a.getState().columnFilters,[d,m]=n.useState(u.length?u:[ig]),g=(e,t)=>{m(n=>n.map((n,l)=>l===e?t:n))},f=e=>{m(1!==d.length?t=>t.filter((t,n)=>n!==e):[ig])},h=()=>{m(d.concat(ig))},v=()=>{a.setColumnFilters(()=>d.filter(e=>{var t,n;if(null===e.id)return!1;const l=null===(t=c.find(t=>t.id===e.id))||void 0===t||null===(n=t.columnDef.meta)||void 0===n?void 0:n.control;return e.value.comparator===om.IsEmpty||e.value.comparator===om.IsNotEmpty||"switch"===l||!!e.value.value}))},p=()=>{a.resetColumnFilters(),m([ig])},w=n.useCallback(e=>{e||m(0===u.length?[ig]:u)},[u]);n.useEffect(()=>{0===u.length&&m([ig])},[u]);const b={"aria-label":o.table3.filters.tooltip,className:l({"!wcag-blue-100":u.length}),shortcut:{key:"f",meta:!0,shift:!0},popover:e=>n.createElement(po,Object.assign({},e,{onChange:w}),n.createElement(po.Content,null,n.createElement("div",{className:"flex w-[40rem] flex-col gap-4"},n.createElement("div",{className:"flex h-8"},n.createElement("div",{className:"flex w-full items-center gap-2"},n.createElement("h4",{className:"mb-0 inline-flex"},o.table3.filters.button),n.createElement("p",{className:"text-grey-700 mb-0 mr-auto mt-px inline-flex"},o.table3.filters.total.replace("[CURRENT]",new Intl.NumberFormat(r).format(a.getFilteredRowModel().rows.length)).replace("[TOTAL]",new Intl.NumberFormat(r).format(t))))),n.createElement("div",{className:"flex flex-col gap-2"},d.map((e,t)=>n.createElement(rg,{key:"filter_"+t,allColumns:c,filter:e,filters:d,position:t,onChange:g,onRemove:d.length>0&&d.some(e=>e.id)||d.length>1?f:void 0})),n.createElement("div",{className:"justify-start"},n.createElement(pr,{appearance:"discrete",onClick:h},"+ ",o.table3.filters.buttons.addFilter))),n.createElement(Lo,{className:"ml-auto"},n.createElement(po.Close,null,n.createElement(pr,null,"Cancel")),n.createElement(pr,{onClick:p},"Clear"),n.createElement(pr,{appearance:"primary",onClick:v},"Apply"))))),ref:i,tooltip:n.createElement(n.Fragment,null,o.table3.filters.tooltip,n.createElement(wi,{className:"ml-2",keys:{key:"f",meta:!0,shift:!0}}))};return s||u.length?n.createElement(pr,Object.assign({},b),n.createElement(za,{className:l({"-mr-1.5":!s}),name:u.length?"filter-solid":"filter"}),s?o.table3.filters.button:"",u.length?`(${u.length})`:""):n.createElement(cr,Object.assign({},b,{icon:"filter"}))}function cg(e){const{texts:t}=fr(),l=e.table.options.meta;return n.createElement(ar,{title:n.createElement(n.Fragment,null,t.table3.editing.buttons.edit.tooltip,n.createElement(wi,{className:"ml-2",keys:{key:"e",meta:!0,shift:!1}}))},n.createElement(Ti,{"aria-pressed":l.editing.isEditing,checked:l.editing.isEditing,onChange:l.editing.toggleEditing}))}function ug({onAfterPrint:e,onBeforePrint:t,tableProps:l}){const[a,r]=n.useState(null),[o,i]=n.useState(null),s=n.useMemo(()=>navigator.userAgent.toLowerCase().includes("firefox"),[]),c=n.useMemo(()=>navigator.userAgent.toLowerCase().includes("safari")&&!navigator.userAgent.toLowerCase().includes("chrome"),[]),u=null==a?void 0:a.contentWindow,d=function(e){const[t,l]=n.useState(!1);return n.useEffect(()=>{if(!e)return;const t=e.parent.document,n=e.document,a=n.createElement("style");a&&(a.innerHTML='\n@page {\n margin: 16px;\n}\n\n@media print {\n html, body, #root {\n // hides horizontal scrollbar\n overflow-x: none !important;\n overflow-y: auto !important;\n height: auto !important;\n width: auto !important;\n }\n\n #root {\n /* chrome sometimes crops the bottom content of page and this padding will make sure that we see the whole content*/\n padding-bottom: 20px;\n }\n\n [role="table"] {\n border-width: 0 !important;\n overflow-y: hidden !important;\n }\n\n // all column headers except column group column header\n [role="table"] [role="columnheader"]:not([data-taco=\'table3-column-group\']) {\n border-bottom-width: 1px !important;\n }\n\n /*\n * Summary row cells\n */\n [role="table"] [role="rowgroup"]:last-child [role="cell"] {\n border-width: 0 !important;\n }\n\n [role="table"] a {\n color: rgb(28 28 28);\n }\n\n [data-taco="alert"],\n [data-taco="banner"],\n [data-taco="hanger"],\n [data-taco="toast"],\n [data-taco="table3-toolbar"],\n [data-taco="tooltip"],\n /*\n * Tour components\n */\n [id^="react-joyride"]\n {\n display: none !important;\n }\n}\n',n.head.appendChild(a));const r=Array.from(t.querySelectorAll('style:not([data-taco="table3-column-freezing-styles"])')),o=Array.from(t.querySelectorAll('[rel="stylesheet"]'));r.forEach(e=>{const t=n.createElement("style");t.innerHTML=e.innerHTML,n.head.appendChild(t)}),o.forEach(e=>{var t;const l=n.createElement("link");l.setAttribute("rel","stylesheet"),l.setAttribute("href",null!==(t=e.getAttribute("href"))&&void 0!==t?t:""),n.head.appendChild(l)}),l(!0)},[e]),t}(u);n.useEffect(()=>{let n,l;return o&&d&&(n=setInterval((function(){try{const i=o,c=i.querySelector('[role="table"]');var r;return c&&n&&(clearInterval(n),null==t||t(),s&&(i.style.height=c.offsetHeight+"px"),null==a||null===(r=a.contentWindow)||void 0===r||r.print(),l=setTimeout(()=>{null==e||e()},0)),Promise.resolve()}catch(e){return Promise.reject(e)}}),1e3)),()=>{clearInterval(n),clearTimeout(l)}},[o,d]),n.useEffect(()=>{var e,t;if(!a||!u||!d)return;const n=null!==(e=null==a?void 0:a.closest("[role=dialog], [data-taco=drawer], main"))&&void 0!==e?e:u.parent.document.body,l=u.document;l.body.innerHTML=null!==(t=null==n?void 0:n.innerHTML)&&void 0!==t?t:"";const r=l.querySelector('[role="table"]'),o=l.querySelector('[data-taco="table3-column-freezing-styles"]'),m=l.createElement("div");var g;m.setAttribute("data-role","table-wrapper"),m.classList.add("h-fit"),m.classList.add('[&>[role="table"]]:!h-fit'),s&&m.classList.add('[&>[role="table"]]:!absolute'),m.classList.add(c?"w-full":"w-screen"),r?(null===(g=r.parentNode)||void 0===g||g.insertBefore(m,r),r.remove()):l.body.append(m),o&&o.remove();let f=m.parentNode;for(;null!==f&&f!==l.body;){var h;null===(h=f)||void 0===h||h.classList.add("!h-fit"),f=f.parentNode}i(m)},[u,d]);const m={...l,actionsForRow:void 0,defaultCurrentRowIndex:-1,defaultSettings:{...null==l?void 0:l.defaultSettings,rowHeight:"short"},enableColumnFreezing:!1,enableRowHeight:!0,enableRowSelection:!1,enableEditing:!1,enablePrinting:!1,enableRowDrag:!1,enableRowDrop:!1,enableRowSelectionSingle:!1,preset:void 0,onChangeSettings:()=>{}};return n.createElement("iframe",{className:"fixed -left-[6000px] -top-[6000px] -z-50 !h-0 !w-0",ref:r,src:"javascript:void(0);"},o&&d?D.createPortal(n.createElement(Ng,Object.assign({},m)),o):null)}const dg=({onAccept:e,onCancel:t,onClose:l,onVisibilityChange:a,...r})=>{const[o,i]=n.useState(!1),{texts:s}=fr(),c=()=>{l(),null==a||a(!o)};return n.createElement(Io,Object.assign({},r,{closeOnEscape:!0,onClose:c,showCloseButton:!1,size:"xs"}),n.createElement(Io.Content,{"aria-label":s.table3.print.warningDialog.title},n.createElement(Io.Title,{className:"text-center"},n.createElement(Ra,{icon:"warning",color:"yellow",className:"mr-2"}),s.table3.print.warningDialog.title),n.createElement("p",null,s.table3.print.warningDialog.description),n.createElement(Io.Footer,{className:"flex items-center justify-between"},n.createElement(Ar,{label:s.table3.print.warningDialog.checkboxVisibilityLabel,checked:o,onChange:i}),n.createElement(Lo,null,n.createElement(pr,{onClick:()=>{c(),t()}},s.table3.print.warningDialog.cancelButtonText),n.createElement(pr,{appearance:"primary",autoFocus:!0,onClick:()=>{c(),e()}},s.table3.print.warningDialog.printButtonText)))))};function mg(e){const{table:t,tableProps:l}=e,{texts:a}=fr(),r=as(),[o,i]=n.useState(!1),[s,c]=n.useState(!1),u=n.useRef(null),d=n.useRef(null),m=t.options.meta,g=t.getState(),{isWarningVisibleForLargeDatasets:f}=m.printing,h=l.id+"_print",v=m.search.excludeUnmatchedResults,p=n.useMemo(()=>({columnFreezingIndex:m.columnFreezing.frozenColumnIndex,columnOrder:g.columnOrder,columnSizing:g.columnSizing,columnVisibility:g.columnVisibility,excludeUnmatchedRecordsInSearch:v,fontSize:m.fontSize.size,rowHeight:m.rowHeight.height,sorting:g.sorting,columnFilters:g.columnFilters,globalFilter:g.globalFilter}),[m.columnFreezing.frozenColumnIndex,g.columnOrder,g.columnSizing,g.columnVisibility,v,m.fontSize.size,m.rowHeight.height,g.sorting,g.columnFilters,g.globalFilter]),w=n.useMemo(()=>n.Children.toArray(l.children).filter(e=>{var t;const l=null===(t=e.props)||void 0===t?void 0:t.enablePrinting;return!n.isValidElement(e)||!1!==l}),[l.children]),b={...l,children:w,defaultSettings:p,id:h},E=e=>{var t;const n=`${a.table3.print.error}: ${e}`;console.error(n),null===(t=u.current)||void 0===t||t.error(n)},x=function(){try{const e=js((function(){var e,n;return Promise.resolve(null===(e=(n=m.server).loadAll)||void 0===e?void 0:e.call(n,t.getState().sorting,t.getState().columnFilters,void 0)).then((function(){}))}),(function(e){E(e)}));return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},y={key:"p",meta:!0,shift:!1};return n.createElement(n.Fragment,null,n.createElement(cr,{disabled:o,icon:"print",onClick:function(){try{let n=!1;function e(e){if(n)return e;s&&f?c(!0):i(!0)}u.current=r.loading(a.table3.print.loading);const o=e=>e.length?e.length*Object.keys(e[0]).length:0;let s=!1;const d=function(){if(m.server.loadAll){const e=js((function(){return Promise.resolve(m.server.loadAll(t.getState().sorting,t.getState().columnFilters,v?m.search.query:void 0)).then((function(){const{data:e}=l,t=o(e);s=t>1e4}))}),(function(e){E(e),n=!0}));if(e&&e.then)return e.then((function(){}))}else{const{data:e}=l,t=o(e);s=t>1e4}}();return Promise.resolve(d&&d.then?d.then(e):e(d))}catch(e){return Promise.reject(e)}},"aria-label":a.table3.print.tooltip,tooltip:n.createElement(n.Fragment,null,a.table3.print.tooltip,n.createElement(wi,{className:"ml-2",keys:y})),ref:d,shortcut:y}),o&&null!==b.data&&n.createElement(ug,{onAfterPrint:function(){try{function e(){var e;i(!1),null===(e=u.current)||void 0===e||e.close()}const t=function(){if(m.server.loadAll&&v)return Promise.resolve(x()).then((function(){}))}();return Promise.resolve(t&&t.then?t.then(e):e())}catch(e){return Promise.reject(e)}},onBeforePrint:()=>{var e;null===(e=u.current)||void 0===e||e.close()},tableProps:b}),n.createElement(dg,{open:s,onAccept:()=>{i(!0)},onClose:()=>{var e;null===(e=u.current)||void 0===e||e.close(),c(!1)},onCancel:function(){try{const e=function(){if(m.server.loadAll&&v)return Promise.resolve(x()).then((function(){}))}();return Promise.resolve(e&&e.then?e.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},onVisibilityChange:m.printing.setIsWarningVisibleForLargeDatasets}))}function gg(e){const{texts:t}=fr(),l=e.table.options.meta;return n.createElement(ji.SubMenu,null,n.createElement(ji.RadioGroup,{onChange:e=>{const t=e;l.rowHeight.setHeight(t),"short"===t&&l.fontSize.size===exports.FontSizes.large&&l.fontSize.setSize(exports.FontSizes.medium)},value:l.rowHeight.height},n.createElement(ji.RadioGroup.Item,{value:"short"},t.table3.rowHeight.sizes.short),n.createElement(ji.RadioGroup.Item,{value:"medium"},t.table3.rowHeight.sizes.medium),n.createElement(ji.RadioGroup.Item,{value:"tall"},t.table3.rowHeight.sizes.tall),n.createElement(ji.RadioGroup.Item,{value:"extra-tall"},t.table3.rowHeight.sizes.extraTall)))}const fg=n.forwardRef((function(e,t){var a,r,o;const{column:i,draggable:s=!1,...c}=e,u=i.getCanHide(),d=l("group/column flex items-center gap-x-2 rounded py-1 px-2",{"hover:bg-grey-200":u||s,"hover:cursor-pointer":u,"active:cursor-move active:bg-grey-300":s}),m=s?c:void 0,g=i.getIsVisible(),f=i.parent?null===(a=i.parent)||void 0===a||null===(r=a.columnDef.meta)||void 0===r?void 0:r.header:null;return n.createElement("div",Object.assign({},m,{key:i.id,className:d,onClick:()=>i.toggleVisibility(!g),ref:t}),s?n.createElement(za,{name:"drag",className:"text-grey-500 group-hover/column:text-grey-700 -mx-2 !h-5"}):null,n.createElement("span",{className:"flex-grow truncate"},null===(o=i.columnDef.meta)||void 0===o?void 0:o.header,f?n.createElement("span",{className:"italic"}," (",f,")"):null),u?n.createElement(Ar,{checked:g,onChange:()=>i.toggleVisibility(!g)}):null)}));function hg(e){const{table:t,trigger:l,...a}=e,{texts:r}=fr(),[o,i]=n.useState(""),s=t.getAllLeafColumns(),c=t.options.meta,u=n.useMemo(()=>s.filter(e=>!Qd(e.id)).filter(e=>{var t,n,l;return null==o||!o.length||(null===(t=e.columnDef.meta)||void 0===t?void 0:t.header.toLowerCase().includes(o.toLowerCase()))||(null===(n=e.parent)||void 0===n||null===(l=n.columnDef.meta)||void 0===l?void 0:l.header.toLowerCase().includes(o.toLowerCase()))}),[s,o]),d="flex max-h-64 flex-col gap-y-px overflow-auto";return n.createElement(po,Object.assign({},a,{anchor:l}),n.createElement(po.Content,null,n.createElement("div",{className:"flex max-w-sm flex-col gap-2"},t.options.enableHiding?n.createElement(jr,{onChange:e=>i(e.target.value),placeholder:r.table3.columnSettings.search,value:o}):null,!c.columnOrdering.isEnabled||!u.length||null!=o&&o.length?n.createElement("div",{className:d},u.length?u.map(e=>n.createElement(fg,{column:e,key:e.id})):r.table3.columnSettings.noResults):n.createElement(yc,{reorder:(e,n)=>{u.find(e=>{var t;return e.id===n&&!1===(null===(t=e.columnDef.meta)||void 0===t?void 0:t.enableOrdering)})||t.setColumnOrder(t=>ds(s,S.arrayMove(t,t.findIndex(t=>t===e),t.findIndex(e=>e===n)),["__actions","__editing_actions"]))}},n.createElement(Rc,{id:"columns",className:d},u.map(e=>{var t,l;return n.createElement(zc,{key:e.id,id:e.id,disabled:!(null!==(t=e.columnDef.meta)&&void 0!==t&&t.enableOrdering),asChild:!0},n.createElement(fg,{column:e,draggable:null===(l=e.columnDef.meta)||void 0===l?void 0:l.enableOrdering}))}))))))}function vg(e){const{texts:t}=fr(),l=e.table.options.meta;return n.createElement(ji.SubMenu,null,n.createElement(ji.RadioGroup,{onChange:e=>l.fontSize.setSize(e),value:l.fontSize.size},n.createElement(ji.RadioGroup.Item,{value:exports.FontSizes.small},t.table3.fontSize.sizes.small),n.createElement(ji.RadioGroup.Item,{value:exports.FontSizes.medium},t.table3.fontSize.sizes.medium),n.createElement(ji.RadioGroup.Item,{disabled:"short"===l.rowHeight.height,value:exports.FontSizes.large},t.table3.fontSize.sizes.large)))}function pg(e){const{customSettings:t,table:l}=e,{texts:a}=fr(),[r,o]=n.useState(void 0),i=l.options.meta,s=l.options.enableHiding||i.columnOrdering.isEnabled;let c;if(r){const e=()=>o(void 0);switch(r){case"columnSettings":s&&(c=t=>n.createElement(hg,Object.assign({},t,{open:!0,onChange:e,table:l})))}}return n.createElement(cr,{"aria-label":a.table3.otherOptions.tooltip,icon:"sliders",menu:c?void 0:e=>n.createElement(ji,Object.assign({},e),n.createElement(ji.Content,{align:"end"},l.options.enableHiding||i.columnOrdering.isEnabled?n.createElement(ji.Item,{icon:"columns",onClick:()=>o("columnSettings")},a.table3.columnSettings.button):null,i.rowHeight.isEnabled||i.fontSize.isEnabled?n.createElement(ji.Separator,null):null,i.rowHeight.isEnabled?n.createElement(ji.Item,{icon:"height-"+i.rowHeight.height,subMenu:()=>n.createElement(gg,{table:l})},a.table3.rowHeight.tooltip):null,i.fontSize.isEnabled?n.createElement(ji.Item,{icon:"font-size",subMenu:()=>n.createElement(vg,{table:l})},a.table3.fontSize.tooltip):null,t?n.createElement(n.Fragment,null,n.createElement(ji.Separator,null),t.map(e=>e(i.getSettings()))):null)),popover:c,onClickCapture:e=>e.preventDefault(),tooltip:a.table3.otherOptions.tooltip})}function wg(e){const{customSettings:t,left:l,right:a,scrollToIndex:r,table:o,tableProps:i,total:s}=e;if(!function(e){const{left:t,right:n,table:l}=e,a=l.options.meta;return l.options.enableHiding||a.columnOrdering.isEnabled||a.editing.isEnabled||a.printing.isEnabled||l.options.enableColumnFilters||a.fontSize.isEnabled||a.rowHeight.isEnabled||a.search.isEnabled||!!t||!!n}(e))return null;const c=o.options.meta;return n.createElement("div",{className:"mb-4 flex flex-shrink flex-grow-0 flex-wrap gap-2 empty:hidden","data-taco":"table3-toolbar"},l,n.createElement(Lo,{className:"ml-auto flex-shrink-0 print:hidden"},c.editing.isEnabled?n.createElement(cg,{table:o}):null,o.options.enableColumnFilters?n.createElement(sg,{table:o,total:s}):null,a,c.printing.isEnabled?n.createElement(mg,{table:o,tableProps:i}):null,function(e){const{table:t}=e,n=t.options.meta;return n.fontSize.isEnabled||n.rowHeight.isEnabled||n.columnOrdering.isEnabled}(e)?n.createElement(pg,{table:o,customSettings:t}):null,c.search.isEnabled?n.createElement(eg,{scrollToIndex:r,table:o}):null))}function bg(e){var t;const{currentLength:l,length:a,table:r}=e,o=r.options.meta,{locale:i,texts:s}=fr();let c,u;const d=r.getSelectedRowModel().rows.length;return d>0?(c=s.table3.footer.summary.selected,u=n.createElement(n.Fragment,null,n.createElement("strong",null,new Intl.NumberFormat(i).format(d))," ",s.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(i).format(a)))):null!==(t=r.getState().columnFilters)&&void 0!==t&&t.length||r.getState().globalFilter&&o.search.excludeUnmatchedResults?(c=s.table3.footer.summary.records,u=n.createElement(n.Fragment,null,n.createElement("strong",null,l)," ",s.table3.footer.summary.count," ",n.createElement("strong",null,new Intl.NumberFormat(i).format(a)))):(c=s.table3.footer.summary.records,u=n.createElement("strong",null,new Intl.NumberFormat(i).format(a))),n.createElement("div",{className:"sticky bottom-0 left-0 z-40 -mt-10 flex h-10 w-fit items-center whitespace-nowrap bg-white px-4 !pr-3 shadow-[6px_0px_6px_theme(colors.white)]","data-taco":"table2-footer-summary"},c," ",u)}const Eg=(e,t)=>{switch(e){case"short":switch(t){case exports.FontSizes.small:return"8px";default:return"6px"}case"tall":switch(t){case exports.FontSizes.small:return"16px";case exports.FontSizes.large:return"12px";default:return"14px"}case"extra-tall":switch(t){case exports.FontSizes.small:return"22px";case exports.FontSizes.large:return"18px";default:return"20px"}default:switch(t){case exports.FontSizes.small:return"12px";case exports.FontSizes.large:return"8px";default:return"10px"}}},xg=e=>{switch(e){case exports.FontSizes.small:return"8px";case exports.FontSizes.medium:return"12px";default:return"16px"}};function yg(e){var l;const{table:a,tableRef:r,scrollToIndex:o,rowIdentifier:i}=e,s=a.options.meta,c=s.validation.errors,u=c?Object.keys(c):[],d=a.getRowModel().rows,m=a.getCoreRowModel().rows,{texts:g}=fr(),[f,h]=n.useState(!1),[v,p]=n.useState(null),[w,b]=n.useState(null),[E,x]=n.useState(!1),y=a.getAllFlatColumns().find(e=>e.id===i),z=null==y||null===(l=y.columnDef.meta)||void 0===l?void 0:l.header,R=e=>{s.rowActive.setRowActiveIndex(e),o(e,{align:"center"}),wm.value=void 0,requestAnimationFrame(()=>{(()=>{var e;const t=null===(e=r.current)||void 0===e?void 0:e.querySelector('[role="row"][data-current="true"] [role="cell"][data-invalid="true"]'),n=null==t?void 0:t.querySelector(mm);n&&(null==n||n.focus(),wm.value=null==t?void 0:t.getAttribute("data-column-index"))})()})};n.useEffect(()=>{null!==w&&w>=0&&R(w)},[w]),n.useEffect(()=>{if(E){const e=d.findIndex(e=>e.id===v);if(-1===e)return;b(e)}},[E]);const C=n.useCallback(e=>{const t=d.findIndex(t=>t.id===e);if(-1===t)return x(!1),h(!0),void p(e);t===w?R(t):b(t)},[d,w]),S=n.useCallback(e=>m.find(t=>t.id===e),[m]);return n.createElement("div",{className:"mb-4 empty:hidden"},u.length?n.createElement(Sa,{state:"error",className:"mb-1"},n.createElement(n.Fragment,null,n.createElement("b",null,u.length," ",g.table3.validation.alert.unsavedEntries(u.length))," "),z||g.table3.validation.index," ",u.map((e,l)=>{const a=S(e);return n.createElement(t.Fragment,{key:""+e},n.createElement(pr,{className:"!min-h-[theme(spacing.2)] !min-w-[theme(spacing.2)] !px-1",appearance:"discrete",onClick:()=>{C(e)}},i?null==a?void 0:a.original[i]:null==a?void 0:a.index),n.createElement("span",null,l<u.length-1?",":""))}),g.table3.validation.alert.incompleteAndHavntBeenSaved(u.length)):null,n.createElement(zg,{open:f,onClose:()=>{h(!1)},onConfirm:()=>{x(!0)},table:a}))}function zg(e){const{open:t,onClose:l,onConfirm:a,table:r}=e,o=r.options.meta,{texts:i}=fr(),s=n.useCallback(()=>{o.search.setQuery(""),r.resetGlobalFilter(),r.resetColumnFilters()},[r,o.search]);return n.createElement(Io,{open:t,onClose:l,size:"xs"},n.createElement(Io.Content,{"aria-label":"Create a new account"},n.createElement(Io.Title,null,i.table3.validation.resetFiltersDialog.title),n.createElement("p",null,i.table3.validation.resetFiltersDialog.description),n.createElement(Io.Footer,null,n.createElement(Lo,null,n.createElement(Io.Close,null,n.createElement(pr,null,i.table3.validation.resetFiltersDialog.cancel)),n.createElement(pr,{appearance:"primary",onClick:()=>{s(),a(),l()}},i.table3.validation.resetFiltersDialog.confirm)))))}function Rg(e){return null}function Cg(e){return null}Rg.displayName="Table3Column",Cg.displayName="Table3Group";const Sg=is((function(e,t){const{emptyState:a,customSettings:r,toolbarLeft:o,toolbarRight:i,defaultCurrentRowIndex:s}=e,c=$a(t),{table:u,length:d}=function(e,t){var a,r,o,i,s;const[c,u]=function(e,t={},n){const l=(a=e,`taco.${Ss().uniqueUserIdentifier}.table3.${a}.settings`);var a;const[r,o]=Ns(l,t);return Bs(()=>{n&&n(r)},[r]),[r,o]}(e.id,e.defaultSettings,e.onChangeSettings),d=function(e){var t,l,a,r,o,i,s,c,u,d,m,g,f,h,v,p,w,b;const E=e.preset?rm[e.preset]:am,x=null!==(t=e.enableRowExpansion)&&void 0!==t?t:E.enableRowExpansion,y=null!==(l=e.enableRowSelection)&&void 0!==l?l:E.enableRowSelection;return n.useEffect(()=>{x&&!e.expandedRowRenderer&&console.warn(`Table3 (id: ${e.id}) - Row expansion is enabled but no \`expandedRowRenderer\` has been provided. Provide one to enable row expansion or set \`enableRowExpansion\` to \`false\`.`),y&&!e.onRowSelect&&console.warn(`Table3 (id: ${e.id}) - Row selection is enabled but no \`onRowSelect\` handler has been provided. Provide one to enable row selection or set \`enableRowSelection\` to \`false\`.`)},[]),{enableColumnFreezing:null!==(a=e.enableColumnFreezing)&&void 0!==a?a:E.enableColumnFreezing,enableColumnHiding:null!==(r=e.enableColumnHiding)&&void 0!==r?r:E.enableColumnHiding,enableColumnOrdering:null!==(o=e.enableColumnOrdering)&&void 0!==o?o:E.enableColumnOrdering,enableColumnResizing:null!==(i=e.enableColumnResizing)&&void 0!==i?i:E.enableColumnResizing,enableFontSize:null!==(s=e.enableFontSize)&&void 0!==s?s:E.enableFontSize,enableFooter:null!==(c=e.enableFooter)&&void 0!==c?c:E.enableFooter,enablePrinting:null!==(u=e.enablePrinting)&&void 0!==u?u:E.enablePrinting,enableRowDrag:(null!==(d=e.enableRowDrag)&&void 0!==d?d:E.enableRowDrag)&&!!e.onRowDrag,enableRowDrop:(null!==(m=e.enableRowDrop)&&void 0!==m?m:E.enableRowDrop)&&!!e.onRowDrop,enableRowExpansion:x&&!!e.expandedRowRenderer,enableRowGoto:(null!==(g=e.enableRowGoto)&&void 0!==g?g:E.enableRowGoto)&&!!e.onRowGoto,enableRowHeight:null!==(f=e.enableRowHeight)&&void 0!==f?f:E.enableRowHeight,enableRowSelection:y&&!!e.onRowSelect,enableRowSelectionSingle:(null!==(h=e.enableRowSelectionSingle)&&void 0!==h?h:E.enableRowSelectionSingle)&&y&&!!e.onRowSelect,enableEditing:null!==(v=e.enableEditing)&&void 0!==v?v:E.enableEditing,enableFiltering:null!==(p=e.enableFiltering)&&void 0!==p?p:E.enableFiltering,enableSearch:null!==(w=e.enableSearch)&&void 0!==w?w:E.enableSearch,enableSorting:null!==(b=e.enableSorting)&&void 0!==b?b:E.enableSorting}}(e),m=function(e,t){const n={enableColumnFilters:t.enableFiltering,enableColumnResizing:t.enableColumnResizing,enableExpanding:t.enableRowExpansion,enableGlobalFilter:t.enableSearch,enableHiding:t.enableColumnHiding,enableRowSelection:t.enableRowSelection,enableMultiRowSelection:!t.enableRowSelectionSingle,enableSorting:t.enableSorting};return n.enableColumnResizing&&(n.columnResizeMode="onChange"),n.enableColumnFilters&&(e.onFilter||(n.filterFns={tacoFilter:(e,t,n)=>dm(e.getValue(t),n)},n.getFilteredRowModel=R.getFilteredRowModel())),n.enableGlobalFilter&&(n.globalFilterFn=(e,t,n)=>{try{if(e.original){const l=e.getAllCells().find(e=>e.column.id===t),a=null==l?void 0:l.column.columnDef.meta;if(l&&l.column.getIsVisible()&&null!=a&&a.enableSearch){const l=em(e.original[t],null==a?void 0:a.dataType);if(void 0!==l)return um(l,n)}return!1}}catch{}return!1},n.getFilteredRowModel=R.getFilteredRowModel(),n.getColumnCanGlobalFilter=e=>{var t;return null===(t=e.columnDef.meta.enableSearch)||void 0===t||t}),t.enableSorting&&(e.onSort?n.manualSorting=!0:n.getSortedRowModel=R.getSortedRowModel()),n}(e,d),g=function(e,t){const[l,a]=n.useState(()=>e),[r,o]=n.useState(!1),i=n.useMemo(()=>function(e){let t=0;return e.enableRowDrag&&t++,e.enableRowSelection&&t++,e.enableRowExpansion&&t++,t}(t),[]);return{isEnabled:t.enableColumnFreezing,frozenInternalColumnCount:i,frozenColumnIndex:l,setFrozenColumnIndex:e=>a(null!=e?e:-1),horizontallyScrolled:r,handleScroll:e=>{e.currentTarget.scrollLeft>0&&!r?o(!0):0===e.currentTarget.scrollLeft&&r&&o(!1)}}}(null!==(a=c.columnFreezingIndex)&&void 0!==a?a:e.defaultColumnFreezingIndex,d),f=function(e,t){const[l,a]=n.useReducer(Um,{errors:null,draftErrors:null});function r(e,t,n){a({type:Km.SET_CELL_ERROR,payload:{rowId:e,cellId:t,error:n}})}function o(e,t){a({type:Km.SET_ROW_ERROR,payload:{rowId:e,errors:t}})}function i(e,t){a({type:Km.RESET_ERRORS,payload:{rowId:e,cellId:t}})}return{validate:(n,l,a)=>{let s;return s=a&&e?e(l[a],a,l):t?t(l):new Promise(e=>{e()}),s.then(()=>{i(n,a)}).catch(e=>{((e,t,n)=>{n?r(t,n,e[n]):o(t,e)})(e,n,a)}),s},setCellError:r,setRowErrors:o,confirmErrors:function(e){a({type:Km.CONFIRN_ERRORS,payload:{rowId:e}})},getCellError:function(e){var t,n;return l.draftErrors&&(null===(t=l.draftErrors[e.row.id])||void 0===t?void 0:t[e.column.id])||(l.errors?null===(n=l.errors[e.row.id])||void 0===n?void 0:n[e.column.id]:void 0)},resetErrors:i,errors:l.errors,draftErrors:l.draftErrors}}(e.onCellValidate,e.onRowValidate),h=function(e,t,l,a){const[r,o]=n.useState(!1),[i,s]=n.useReducer(Nm,null),[c,u]=n.useReducer((e,t)=>function(e,t){switch(t.type){case Cm.SET_CELL_VALUE:return{...e,[t.payload.rowId]:{...(null==e?void 0:e[t.payload.rowId])||t.payload.originalValues,[t.payload.cellId]:t.payload.value}};case Cm.RESET_CHANGE:{let n={...e};return n&&delete n[t.payload.rowId],0===Object.keys(n).length&&(n=null),n}default:return e}}(e,t),null),[d,m]=n.useState(!1);function g(e){u({type:Cm.RESET_CHANGE,payload:{rowId:e}}),l.resetErrors(e)}const f=n.useCallback(e=>{e.defaultPrevented||(Za(e,{key:"e",meta:!0,shift:!1})?o(e=>!e):Za(e,{key:"s",meta:!0,shift:!1})&&(e.preventDefault(),v()))},[r]),h=n.useCallback(e=>{e.target===e.currentTarget&&v()},[]),v=function(){try{if(!c)return Promise.resolve();const e=Object.keys(c),t=function(){if(a&&e.length)return(()=>{const e=Object.keys(c||{}),t=F.reduce(e,(e,t)=>({...e,[t]:Rm.Saving}),{});s({type:Sm.SET_SAVING_STATUSES,payload:{states:t}})})(),Promise.resolve(Promise.allSettled(e.map(e=>new Promise((t,n)=>{const r=null==c?void 0:c[e];var o;r?null===(o=l.validate(e,r))||void 0===o||o.then(()=>{a(r).then(()=>{t()}).catch(t=>{t.errors&&l.setRowErrors(e,t.errors),n(t)})}).catch(()=>{l.confirmErrors(e),s({type:Sm.SET_SAVING_STATUS,payload:{rowId:e,state:Rm.Error}}),n()}):n()})))).then((function(t){t.forEach((t,n)=>{const l=e[n];"fulfilled"===t.status?(g(l),s({type:Sm.SET_SAVING_STATUS,payload:{rowId:l,state:Rm.Saved}})):s({type:Sm.SET_SAVING_STATUS,payload:{rowId:l,state:Rm.Error}})})}))}();return Promise.resolve(t&&t.then?t.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},[p,w]=n.useState(null),b=n.useCallback(e=>!!(r&&c&&Object.keys(c).length>0)&&(e.returnValue=!0,!0),[r,c]);return n.useEffect(()=>{const e=e=>{const n=e.target,l=n.closest('[role="dialog"], [role="menu"]');Wa(n,t.current)||Wa(l,t.current)||v()};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[v]),n.useEffect(()=>(window.addEventListener("beforeunload",b),()=>{window.removeEventListener("beforeunload",b)}),[b]),n.useEffect(()=>{r||(m(!1),wm.value=null)},[r]),{isEnabled:e,isEditing:r,toggleEditing:o,changes:c,getCellValue:function(e){var t;return c?null===(t=c[e.row.id])||void 0===t?void 0:t[e.column.id]:void 0},setCellValue:function(e,t){u({type:Cm.SET_CELL_VALUE,payload:{rowId:e.row.id,cellId:e.column.id,value:t,originalValues:e.row.original}})},saveChangesIfNeeded:v,detailModeEditing:d,setDetailModeEditing:m,rowMoveReason:p,setRowMoveReason:w,removeRowMoveReason:()=>{w(null)},handleKeyDown:f,handleBlur:h,resetChange:g,getSavingStatus:function(e){return i&&i[e]},resetSavingStatus:e=>{s({type:Sm.RESET_SAVING_STATUS,payload:{rowId:e}})}}}(d.enableEditing,t,f,e.onSave),v=function(e=!1,t=!0,l){const[a,r]=n.useState(t);return{isEnabled:e,isPrinting:l.endsWith("_print"),isWarningVisibleForLargeDatasets:a,setIsWarningVisibleForLargeDatasets:e?r:()=>{}}}(d.enablePrinting,c.showWarningWhenPrintingLargeDataset,e.id),p=function(e,t=4){return{actionsForRow:e,actionsForRowLength:t}}(e.actionsForRow,e.actionsForRowLength),w=function(e){const[t,l]=n.useState({});return{isEnabled:e,dragging:t,setDragging:e?l:()=>{}}}(d.enableRowDrag),b=(x=e.onRowDrop,{isEnabled:E=d.enableRowDrop,handleDrop:E&&x?x:()=>{}});var E,x;const y=function(e,t=!1){const[l,a]=n.useState(!1),[r,o]=n.useState(),[i,s]=n.useState(!0),[c,u]=n.useState(t),[d,m]=n.useState([]),[g,f]=n.useState(void 0);return{isEnabled:e,isHighlightingEnabled:i,toggleHighlighting:s,excludeUnmatchedResults:c,toggleExcludeUnmatchedResults:u,query:r,setQuery:e?o:()=>{},highlightedColumnIndexes:d,setHighlightedColumnIndexes:m,currentHighlightColumnIndex:g,setCurrentHighlightColumnIndex:f,isSearching:l,setIsSearching:a}}(d.enableSearch,c.excludeUnmatchedRecordsInSearch),z=function(){const[e,t]=n.useState(!1);return{isPaused:e,pause:t}}();n.useEffect(()=>{Array.isArray(e.data)||console.error("Table3 data value is not an array")},[]);const C=Rs(d.enableColumnOrdering),S=Cs(d.enableFontSize,c.fontSize),N=Ls(!0,e.defaultCurrentRowIndex),A=Hs(!0,e.onRowClick),O=Ms(d.enableRowGoto,e.onRowGoto),I=ks(d.enableRowHeight,c.rowHeight),L=Vs(d.enableRowSelection),H=Ds(e.loadPage,e.loadAll),{columns:M,defaultColumnSizing:k,defaultColumnVisibility:V,defaultSorting:j}=function(e,t,a){var r;const o=nm(null==e||null===(r=e.defaultSettings)||void 0===r?void 0:r.fontSize);return n.useMemo(()=>{var r;const i=R.createColumnHelper(),s={},c={},u=[];function d(e){var l,a,r,d,g,f,h,v,p,w,b,E;return n.isValidElement(e)&&"Table3Column"===(null===(l=e.type)||void 0===l?void 0:l.displayName)&&e.props.accessor?(e.props.defaultWidth&&(s[e.props.accessor]="grow"===e.props.defaultWidth?"1fr":e.props.defaultWidth),e.props.defaultHidden&&t.enableColumnHiding&&(c[e.props.accessor]=!1),void 0!==e.props.sort&&u.push({id:e.props.accessor,desc:"desc"===e.props.sort}),{accessorKey:e.props.accessor,id:e.props.accessor,header:Vd,cell:jm,footer:Gd,minSize:o,enableResizing:null===(r=e.props.enableResizing)||void 0===r||r,enableColumnFilter:null===(d=e.props.enableFiltering)||void 0===d||d,filterFn:"tacoFilter",enableSorting:null===(g=e.props.enableSorting)||void 0===g||g,sortingFn:(b=e.props.dataType,E=e.props.sortFn,"function"==typeof E?(e,t,n)=>E(e.original,t.original,n):E||(b&&"boolean"!==b&&"number"!==b?b:"auto")),sortDescFirst:!1,sortUndefined:1,enableHiding:null===(f=e.props.enableHiding)||void 0===f||f,meta:{align:e.props.align,className:e.props.className,control:e.props.control,dataType:e.props.dataType,enableOrdering:null===(h=e.props.enableOrdering)||void 0===h||h,enablePrinting:null===(v=e.props.enablePrinting)||void 0===v||v,enableSearch:null===(p=e.props.enableSearch)||void 0===p||p,enableTruncate:null!==(w=e.props.enableTruncate)&&void 0!==w&&w,filters:e.props.filters,footer:e.props.footer,header:e.props.header,headerClassName:e.props.headerClassName,menu:e.props.menu,renderer:e.props.renderer,tooltip:e.props.tooltip}}):n.isValidElement(e)&&"Table3Group"===(null===(a=e.type)||void 0===a?void 0:a.displayName)&&e.props.children?i.group({id:e.props.id,header:Gm,columns:m(e.props.children),meta:{align:"center",enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:e.props.header}}):void 0}function m(e){return n.Children.toArray(e).map(d).filter(e=>!!e)}const g=m(e.children);var f,h,v;return t.enableRowExpansion&&e.expandedRowRenderer&&g.unshift(i.display((f=e.expandedRowRenderer,{id:"__expansion",header:Fm,cell:e=>n.createElement(Bm,Object.assign({},e,{expandedRowRenderer:f})),footer:Gd,meta:{align:"center",className:"!p-0 !pt-[var(--table3-cell-padding-y)]",enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1,size:40}))),t.enableRowSelection&&g.unshift(i.display(function(e,t){const n=e&&t?22:40;return{id:"__select",header:Tm,cell:Dm,footer:Gd,meta:{align:"center",className:l("!pt-[var(--table3-cell-padding-y)] !justify-end !p-0",{"!pr-0.5":t,"!pr-3":!t}),enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:l("items-center !justify-end !p-0",{"!pr-0.5":t,"!pr-3":!t})},enableResizing:!1,size:n,minSize:n}}(!(!t.enableRowDrag||!e.onRowDrag),!!e.expandedRowRenderer))),t.enableRowDrag&&e.onRowDrag&&g.unshift(i.display((h=e.onRowDrag,{id:"__drag",header:Vd,cell:e=>n.createElement(_m,Object.assign({},e,{isSelected:e.row.getIsSelected(),onRowDrag:h})),footer:Gd,meta:{align:"center",className:"!p-0 !pt-[var(--table3-cell-padding-y)]",enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1,size:20,minSize:20}))),null!==(r=e.actionsForRow)&&void 0!==r&&r.length&&g.push(i.display({id:"__actions",header:Vd,cell:Yd,footer:Gd,meta:{align:"right",className:l('!pt-[var(--table3-cell-padding-y)] print:opacity-0 [[role="table"][data-editing="false"]_&]:group-[[data-current="true"]]/row:sticky [[role="table"][data-pause-hover="false"][data-editing="false"]_&]:group-hover/row:sticky right-0 !pl-1 !pr-1',"shadow-[-6px_0px_6px_var(--table3-row-actions-shadow)]",'group-[[data-current="true"][data-selected="false"]]/row:text-grey-200','group-[[data-selected="true"]]/row:text-blue-100','group-[[data-selected="false"]:hover]/row:text-grey-100'),enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1})),a.isEnabled&&a.isEditing&&g.push(i.display((v=e.rowIdentifier,{id:"__editing_actions",header:Vd,cell:e=>n.createElement(Om,Object.assign({},e,{rowIdentifier:v})),footer:Gd,meta:{align:"right",className:l('items-center print:opacity-0 [[role="table"][data-editing="true"]_&]:group-[[data-current="true"]]/row:sticky right-0 !pl-0 !pr-1','[[role="table"][data-editing="true"]_&]:group-[[data-current="true"]]/row:shadow-[-6px_0px_6px_var(--table3-row-actions-shadow)]','group-[[data-current="true"][data-selected="false"]]/row:text-grey-200','group-[[data-selected="true"]]/row:text-blue-100','group-[[data-selected="false"]:hover]/row:text-grey-100'),enableOrdering:!1,enableSearch:!1,enableTruncate:!1,header:"",headerClassName:"items-center !p-0"},enableResizing:!1,size:60,minSize:60}))),{columns:g,defaultColumnSizing:s,defaultColumnVisibility:c,defaultSorting:u}},[a.isEditing])}(e,d,h),T=n.useMemo(()=>{var t,n,l,a;const r={columnOrder:ds(M,c.columnOrder,["__actions","__editing_actions"]),columnSizing:null!==(t=c.columnSizing)&&void 0!==t?t:k,columnVisibility:null!==(n=c.columnVisibility)&&void 0!==n?n:V,sorting:c.sorting?c.sorting.filter(e=>M.find(t=>t.id===e.id)):j};var o,i;return null!==(l=e.defaultSettings)&&void 0!==l&&l.columnFilters&&(r.columnFilters=null===(o=e.defaultSettings)||void 0===o?void 0:o.columnFilters),null!==(a=e.defaultSettings)&&void 0!==a&&a.globalFilter&&(r.globalFilter=null===(i=e.defaultSettings)||void 0===i?void 0:i.globalFilter),r},[]),D=R.useReactTable({data:null!==(r=e.data)&&void 0!==r?r:[],columns:M,getCoreRowModel:R.getCoreRowModel(),initialState:T,...m,meta:{columnFreezing:g,columnOrdering:C,editing:h,enableFooter:d.enableFooter,fontSize:S,getSettings:()=>{const e=D.getState();return{columnFreezingIndex:g.frozenColumnIndex,columnOrder:C.isEnabled?e.columnOrder:void 0,columnSizing:D.options.enableColumnResizing?e.columnSizing:void 0,columnVisibility:D.options.enableHiding?e.columnVisibility:void 0,excludeUnmatchedRecordsInSearch:y.excludeUnmatchedResults,fontSize:S.isEnabled?S.size:void 0,rowHeight:I.isEnabled?I.height:void 0,showWarningWhenPrintingLargeDataset:v.isWarningVisibleForLargeDatasets,sorting:e.sorting}},isPrinting:e.id.endsWith("_print"),isUsingServer:!!e.loadPage,printing:v,rowActions:p,rowActive:N,rowClick:A,rowDrag:w,rowDrop:b,rowGoto:O,rowHeight:I,rowSelection:L,search:y,server:H,shortcutsState:z,tableRef:t,validation:f}});return function(e){const t=e.options.meta;n.useEffect(()=>{t.editing.isEnabled&&t.editing.isEditing&&requestAnimationFrame(()=>{t.editing.saveChangesIfNeeded()})},[t.rowActive.rowActiveIndex]),n.useEffect(()=>{t.editing.isEnabled&&(t.editing.isEditing?void 0===t.rowActive.rowActiveIndex&&t.rowActive.setRowActiveIndex(0):requestAnimationFrame(()=>{t.editing.saveChangesIfNeeded()}))},[t.editing.isEditing])}(D),function(e,t){const l=e.options.meta,a=e.getState();n.useEffect(()=>{let e;return"function"==typeof t&&(e=setTimeout(()=>{t(l.getSettings())},250)),()=>clearTimeout(e)},[l.columnFreezing.frozenColumnIndex,a.columnOrder,a.columnSizing,a.columnVisibility,l.search.excludeUnmatchedResults,l.fontSize.size,l.rowHeight.height,l.printing.isWarningVisibleForLargeDatasets,a.sorting])}(D,u),_s(D),Gs(D,e.onFilter),qs(D),$s(D,e.onRowSelect),Js(D,e.loadPage),Us(D,e.shortcuts),Ws(D,e.onSort),{table:D,length:null!==(o=null!==(i=e.length)&&void 0!==i?i:null===(s=e.data)||void 0===s?void 0:s.length)&&void 0!==o?o:0}}(e,c);!function(e,t){n.useEffect(()=>{if(t.current){const n=e.options.meta;t.current.instance={resetFiltering:()=>e.resetColumnFilters(),resetRowExpansion:()=>e.resetExpanded(),resetRowSelection:()=>e.resetRowSelection(),resetSorting:()=>e.resetSorting(),toggleEditing:e=>n.editing.toggleEditing(null!=e?e:e=>!e)}}},[e,t.current])}(u,c),n.useEffect(()=>{var t;e.autoFocus&&(null===(t=c.current)||void 0===t||t.focus())},[]);const{renderBody:m,scrollToIndex:g}=function(e,t,l){return function(e,t,l){const a=t.options.meta,r=t.getRowModel().rows,o=t.getState().expanded,[i,s]=n.useState({}),c=n.useMemo(()=>{const e=Object.values(i);return e.length?e.reduce((e,t)=>e+t,0)/e.length:0},[i]),u=n.useCallback(e=>{const t=a.rowHeight.height?Jm[a.rowHeight.height]:Jm.medium;var n,l;return!0===o||null!=o&&o[e]?t+(null!==(n=null!==(l=i[e])&&void 0!==l?l:c)&&void 0!==n?n:0):t},[a.rowHeight.height,i,o]),d=P.useVirtual({parentRef:l,size:r.length,estimateSize:u}),m=n.useCallback((e,t)=>{if(l.current)if(e<=0)l.current.scrollTo(l.current.scrollLeft,0);else if(e>=r.length-1){var n;null===(n=l.current)||void 0===n||n.scrollTo(0,l.current.scrollHeight)}else d.scrollToIndex(e,t)},[r.length,l.current]);return{renderBody:Xm(e,r,t,l,d,s),scrollToIndex:m}}(e,t,l)}(e,u,c),f=u.options.meta,h=u.getState(),p=n.useRef(null);n.useEffect(()=>{const e=requestAnimationFrame(()=>{s&&g(s,{align:"center"})});return()=>{cancelAnimationFrame(e)}},[]),n.useEffect(()=>{const e=e=>{const t=e.target,n=!!t.closest('[role="combobox"]:not([data-taco="Select2"])');if(f.shortcutsState.isPaused||Ja(t)&&!Ya(t,c.current)||Qa(t)&&!Wa(t,c.current)||n)return;const l=u.getRowModel().rows;var a;f.rowActive.handleKeyDown(e,l.length,g,f.editing.isEditing?void 0:c),void 0!==f.rowActive.rowActiveIndex&&f.rowClick.handleKeyDown(e,null===(a=l[f.rowActive.rowActiveIndex])||void 0===a?void 0:a.original),f.rowSelection.handleKeyDown(e,u),f.editing.handleKeyDown(e)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[g,f.editing.isEditing,c.current,f.rowActive.rowActiveIndex]);const w=f.editing.isEnabled?e=>{f.editing.handleBlur(e)}:void 0,b=void 0===f.rowActive.rowActiveIndex?e=>{f.rowActive.handleFocus(e,u.getRowModel().rows.length,g)}:void 0,E=l("border-grey-300 relative grid h-full w-full flex-grow overflow-auto rounded border bg-white scroll-mt-[41px] focus-visible:outline-none",'[&[data-resizing="true"]]:select-none',{"text-xs":f.fontSize.size===exports.FontSizes.small,"text-sm":f.fontSize.size===exports.FontSizes.medium,"text-base":f.fontSize.size===exports.FontSizes.large}),{style:x}=((e,t=!1,l=0,a)=>{const r=e.getVisibleLeafColumns(),o=e.getState().columnSizing,i=e.getRowModel().rows.length+Object.keys(e.getState().expanded).length,s=nm(a);return{style:{gridTemplateColumns:n.useMemo(()=>r.reduce((e,n,a)=>{let i;const c=a===r.length-1,u=o[n.id],d=Qd(n.id);return i=t?`minmax(20px, ${d?n.getSize()+"px":"1fr"})`:d?"__actions"===n.id?`minmax(${32*l+8+8}px, auto)`:n.getSize()+"px":void 0!==u?"1fr"===u?"minmax(max-content, 1fr)":c?`minmax(${u}px, auto)`:u<s?s+"px":u+"px":"minmax(max-content, auto)",`${e} ${i}`.trim()},""),[r,o,s]),gridTemplateRows:n.useMemo(()=>`min-content repeat(${i}, min-content) 1fr min-content`,[i])}}})(u,f.printing.isPrinting,f.rowActions.actionsForRowLength,f.fontSize.size),{style:y}=(z=f.rowHeight.height,{style:{"--table3-cell-padding-x":xg(C=f.fontSize.size),"--table3-cell-padding-y":Eg(z,C)}});var z,C;const S={...y,...x,opacity:.999},N=function(e,t){var l;const{columnOrder:a,columnSizing:r,columnSizingInfo:o,columnVisibility:i}=t.getState(),s=t.options.meta,c=(s.columnFreezing.isEnabled&&null!==(l=s.columnFreezing.frozenColumnIndex)&&void 0!==l?l:-1)+s.columnFreezing.frozenInternalColumnCount;return n.useMemo(()=>{if(s.columnFreezing.frozenInternalColumnCount>0||s.columnFreezing.isEnabled&&void 0!==c){var n;const l=t.getVisibleLeafColumns().slice(0,c+1),a=l.filter(e=>!Qd(e.id));if(a.length&&a.every(e=>void 0===r[e.id]))return;const o=[l.map((t,n)=>`#${e} [role="row"] > :nth-child(${n+1}) { left: ${t.getStart()}px }`).join("\n"),`#${e} [role="row"] > :not(:nth-child(n+${c+2})) {\n position: sticky;\n z-index: 20;\n }`,`#${e}[data-horizontally-scrolled="true"] [role="row"] > :nth-child(${c+1}) {\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 6px 0px 6px rgb(0 0 0/8%), 1px 0px 0px #DDDDDD;\n }`],i=null===(n=l[c])||void 0===n?void 0:n.id;return i&&!Qd(i)&&o.push(`#${e}[data-horizontally-scrolled="false"] [role="row"] > :nth-child(${c+1}) {\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 1px 0px 0px #DDDDDD;\n }`),o.join("\n")}},[a,r,o,i,s.columnFreezing.isEnabled,c])}(e.id,u),A=function(e,t){const l=t.getFlatHeaders();return n.useMemo(()=>[...new Set(l.map(e=>e.depth))].map(t=>`#${e} [data-taco="table2-header"] [role="row"]:nth-child(${t}) [role="columnheader"],\n #${e} [data-taco="table2-header"] [role="row"]:nth-child(${t}) [data-taco="table3-column-group"]\n { top: ${function(e){return 42*(e-1)}(t)}px }`).join("\r\n"),[l,e])}(e.id,u),O=f.isUsingServer&&void 0===e.length;return n.createElement(n.Fragment,null,N?n.createElement("style",{"data-taco":"table3-column-freezing-styles"},N):null,A&&!f.printing.isPrinting?n.createElement("style",{"data-taco":"table3-column-header-offset-styles"},A):null,n.createElement(wg,{table:u,tableProps:e,total:d,left:o,right:i,customSettings:r,scrollToIndex:g}),n.createElement(yg,{table:u,tableRef:c,scrollToIndex:g,rowIdentifier:e.rowIdentifier}),n.createElement("div",{className:E,id:e.id,"data-font-size":f.fontSize.size,"data-editing":f.editing.isEditing,"data-horizontally-scrolled":f.columnFreezing.horizontallyScrolled,"data-pause-hover":null==f?void 0:f.rowActive.isHoverStatePaused,"data-resizing":!!h.columnSizingInfo.isResizingColumn,"data-taco":"table2",onBlur:w,onFocus:b,onScroll:function(e){try{return f.columnFreezing.handleScroll(e),Promise.resolve()}catch(e){return Promise.reject(e)}},ref:c,role:"table",style:S,tabIndex:-1},O?null:n.createElement("div",{className:"group/header contents","data-taco":"table2-header",role:"rowgroup"},u.getHeaderGroups().map(e=>n.createElement("div",{className:"contents",key:e.id,role:"row"},e.headers.map((t,l)=>{var a;const r=!(l===f.columnFreezing.frozenColumnIndex||l===e.headers.length-1||null!==(a=e.headers[l+1])&&void 0!==a&&a.isPlaceholder&&t.isPlaceholder);return n.createElement(n.Fragment,{key:t.id},R.flexRender(t.column.columnDef.header,{...t.getContext(),scrollToIndex:g,hasSeparator:r}))})))),u.getRowModel().rows.length?n.createElement(n.Fragment,null,n.createElement(v.FocusScope,{autoFocus:f.editing.isEditing},n.createElement("div",{className:"group/body contents","data-taco":"table2-body",role:"rowgroup",ref:p},m())),n.createElement("div",{className:l("border-grey-300 col-span-full border-t",{"translate-y-px":f.enableFooter})}),f.enableFooter?n.createElement("div",{className:"group/footer contents","data-taco":"table2-footer",role:"rowgroup"},u.getFooterGroups().slice(0,1).map(e=>n.createElement("div",{className:"contents",key:e.id,role:"row"},e.headers.map(e=>n.createElement(n.Fragment,{key:e.id},R.flexRender(e.column.columnDef.footer,e.getContext()))))),d?n.createElement(bg,{currentLength:u.getRowModel().rows.length,length:d,table:u}):null):null):n.createElement("div",{className:"col-span-full box-border min-h-[theme(spacing.8)]"},a?n.createElement(a,null):null)))})),Ng=is((function(e,t){const l=String(e.children),a=n.useMemo(()=>String("tableKey_"+l),[l]);return n.createElement(Sg,Object.assign({},e,{key:a,ref:t}))}));Ng.Column=Rg,Ng.Group=Cg;const Ag=t.forwardRef((function(e,n){const{id:a,defaultId:r,children:o,onChange:i,orientation:s="horizontal",...c}=e,u=l({"flex w-full":"vertical"===s},e.className);return t.createElement(B.Root,Object.assign({},c,{className:u,"data-taco":"tabs",defaultValue:r,dir:"ltr",onValueChange:i,orientation:s,ref:n,value:a}),o)})),Og=t.forwardRef((function(e,n){const a=l("border-grey-300 flex flex-row m-0 mb-4","aria-orientation-horizontal:border-b","aria-orientation-vertical:border-r aria-orientation-vertical:m-0 aria-orientation-vertical:mr-4 aria-orientation-vertical:flex-col ",e.className);return t.createElement(B.List,Object.assign({},e,{className:a,ref:n}))})),Ig=t.forwardRef((function(e,n){const{children:a,id:r,disabled:o,tooltip:i,...s}=e,c=l("group relative p-0.5 outline-none disabled:cursor-not-allowed disabled:text-black/50",'[[aria-orientation="horizontal"]_&]:pb-1','[[aria-orientation="vertical"]_&]:pr-1'),u=l("flex-shrink-0 min-h-[theme(spacing.8)] min-w-[theme(spacing.8)] gap-1 h-max leading-5 inline-flex items-center justify-center focus-visible:yt-focus aria-disabled:cursor-not-allowed","group-focus-visible:yt-focus-inset group-enabled:group-hover:wcag-grey-200 pointer-events-none rounded px-3"),d=l("pointer-events-none absolute hidden bg-blue-500 group-aria-selected:flex",'[[aria-orientation="horizontal"]_&]:rounded-t-sm [[aria-orientation="horizontal"]_&]:bottom-0 [[aria-orientation="horizontal"]_&]:left-0 [[aria-orientation="horizontal"]_&]:right-0 [[aria-orientation="horizontal"]_&]:-mb-px [[aria-orientation="horizontal"]_&]:h-0.5','[[aria-orientation="vertical"]_&]:rounded-l-sm [[aria-orientation="vertical"]_&]:right-0 [[aria-orientation="vertical"]_&]:top-0 [[aria-orientation="vertical"]_&]:bottom-0 [[aria-orientation="vertical"]_&]:-mr-px [[aria-orientation="vertical"]_&]:w-0.5'),m=t.createElement(B.Trigger,Object.assign({},s,{className:c,disabled:o,ref:n,value:r}),t.createElement("span",{className:u},a),t.createElement("span",{className:d}));return i?t.createElement(ar,{title:i},m):m})),Lg=t.forwardRef((function(e,n){const{id:a,...r}=e,o=l('[&[data-orientation="vertical"]]:grow outline-none',e.className);return t.createElement(B.Content,Object.assign({},r,{className:o,ref:n,value:a}))}));Ag.List=Og,Ag.Trigger=Ig,Ag.Content=Lg;const Hg=({continuous:e,index:n,isLastStep:l,step:a,backProps:r,primaryProps:o,skipProps:i,tooltipProps:s,size:c,locale:u,disableTourSkipOnEsc:d})=>{const m=t.useRef(null);return t.useEffect(()=>{const e=e=>{if(!d&&"Escape"===e.key&&null!==m.current)return e.preventDefault(),void m.current.click()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]),t.createElement("div",Object.assign({},s,{className:"yt-tour__step w-88 relative rounded bg-white p-4"}),t.createElement(cr,Object.assign({},i,{ref:m,appearance:"discrete",icon:"close",title:u.skip,"aria-label":u.skip,className:"absolute top-0 right-0 mt-1 mr-1"})),a.title&&t.createElement("h5",null,a.title),a.content,t.createElement(Lo,{className:"mt-4 justify-end"},n>0&&t.createElement(pr,Object.assign({},r,{appearance:"discrete"}),u.back),t.createElement(pr,Object.assign({},o,{appearance:"primary"}),e?l?`${u.last} (${n+1}/${c})`:`${u.next} (${n+1}/${c})`:u.close)))},Mg=e=>null,kg=e=>{const{texts:{tour:n}}=fr(),{autoStart:l,onComplete:a,onClose:r,onReady:o,spotlightClicks:i,disableCloseOnEsc:s,disableScrollParentFix:c=!1,scrollOffset:u,...d}=e,m=t.useMemo(()=>t.Children.map(e.children,e=>({disableBeacon:!e.props.showBeacon,target:e.props.selector,placement:e.props.position,title:e.props.title,content:e.props.children})),[e.children]),g=t.useCallback(t=>{var n;return null===(n=e.children.find(e=>e.props.selector===t))||void 0===n?void 0:n.props},[e.children]);return t.createElement(G,Object.assign({},d,{run:l,steps:m,showProgress:!0,floaterProps:{disableAnimation:!0},tooltipComponent:e=>t.createElement(Hg,Object.assign({},e,{locale:n,disableTourSkipOnEsc:s})),locale:n,spotlightPadding:8,spotlightClicks:i,disableScrollParentFix:c,callback:e=>{e.action===_.ACTIONS.SKIP&&e.lifecycle===_.LIFECYCLE.COMPLETE&&r&&r(g(e.step.target)),e.type===_.EVENTS.TOUR_END&&a&&a(),e.lifecycle===_.LIFECYCLE.READY&&o&&o(g(e.step.target))},scrollOffset:u,styles:{options:{primaryColor:"#6ba4ff"}},disableCloseOnEsc:!0}))};kg.Step=Mg;const Vg=n.forwardRef((function(e,t){const{...a}=e,r=l(jg(),e.className);return n.createElement(cr,Object.assign({},a,{appearance:"discrete",className:r,"data-taco":"header-button",ref:t}))})),jg=(e=!0)=>l("!h-9 !w-9 flex-shrink-0 flex-grow-0 cursor-pointer relative","focus:!outline-none focus:!shadow-none focus-visible:!yt-focus-dark ","bg-transparent enabled:hover:bg-white/[.08] focus:bg-white/[.08] aria-current-page:bg-white/[.08]","text-white",{"!rounded-full":e}),Tg=n.forwardRef((function(e,t){const{children:a,icon:r,isNew:o,tooltip:i,...s}=e,{texts:c}=fr(),u=l(Dg(r),"relative",e.className),d=n.createElement("a",Object.assign({},s,{className:u,"data-taco":"header-link",ref:t,tabIndex:0}),r?n.createElement(za,{name:r}):null,a,o?n.createElement(qa,{color:"blue",small:!0,className:"absolute right-0 top-0 -mr-2.5 -mt-1.5 !h-3 !px-0.5 text-[0.55rem] font-normal"},c.header.new):null);return i?n.createElement(ar,{title:i},d):d})),Dg=e=>l("flex h-8 flex-shrink-0 flex-grow-0 cursor-pointer items-center justify-center ","focus:!shadow-none focus:!outline-none focus-visible:!yt-focus-dark","bg-transparent hover:bg-white/[.08] focus:bg-white/[.08] aria-current-page:bg-white/[.08]","text-white hover:text-white focus:text-white",{"!rounded-full !h-9 !w-9":e,"whitespace-nowrap px-3 rounded text-sm hidden lg:flex":!e}),Fg=n.forwardRef((function(e,t){const a=l("h-7 w-7 m-1 self-center justify-self-center flex-shrink-0 flex-grow-0",e.className);return n.createElement("svg",Object.assign({},e,{className:a,ref:t,viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("g",{className:"fill-brand-sunsetOrange"},n.createElement("path",{d:"M3.2496172 16.0366c-1.44938-.2893-2.857854.6517-3.1442248 2.1011-.2863702 1.4493.6516388 2.8578 2.1010248 3.1442 1.44938.2893 2.85786-.6517 3.14423-2.101.28929-1.4465-.65164-2.855-2.10103-3.1443z"}),n.createElement("path",{d:"M18.9911672 19.1692c-2.4137-.4792-4.7602 1.0871-5.2423 3.5037-.4793 2.4137 1.087 4.7602 3.5036 5.2423 2.4137.4793 4.7602-1.087 5.2424-3.5036.4792-2.4166-1.0871-4.7631-3.5037-5.2424z"}),n.createElement("path",{d:"M23.6958672.105135c-2.8988-.578585-5.7157 1.303275-6.2943 4.199125l-.5172 2.62116c-.3828 1.93446-2.2647 3.19098-4.1992 2.80819l-1.7474-.35651c-1.92569-.3828-3.18221-2.25589-2.79941-4.19035l.08766-.43832c.33021-1.68608-.7656-3.33417-2.45168-3.66438-1.69776-.336043-3.33709.75976-3.67606 2.45461-.33897 1.68607.76561 3.3254 2.45168 3.66437l.43833.09058c1.93446.3828 3.19098 2.26467 2.79941 4.19039l-.16948.8737c-.3828 1.9345.87372 3.8163 2.79945 4.1991 1.9344.3828 3.8163-.8737 4.1991-2.8082l.1695-.8737c.3828-1.9257 2.2646-3.1822 4.1903-2.7994l2.63.526c2.8987.5698 5.7157-1.31206 6.2855-4.20791.5844-2.90169-1.2974-5.718636-4.1962-6.288455z"})))})),Pg=n.forwardRef((function(e,t){const a=l("-mr-[156px] xs:-mr-14 md:!mr-0 h-9 shrink-0 w-[180px] px-1",e.className);return n.createElement("svg",Object.assign({},e,{className:a,ref:t,viewBox:"0 0 127 13",xmlns:"http://www.w3.org/2000/svg"}),n.createElement("g",{className:"fill-white"},n.createElement("path",{className:"fill-white",d:"M5.716016 1.34924242c3.029712.25015152 6.374384 1.74121213 8.2804 3.86060606 2.4384 2.71227273 1.603248 5.42454542-1.877568 6.05681822-3.480816.6322727-8.2804-1.0498485-10.720832-3.76212125C-.471424 5.42848485-.41656 3.35242424 1.27 2.2080303l9.67232 6.92742425-5.226304-7.78621213z",fillRule:"nonzero"}),n.createElement("g",{className:"hidden md:flex"},n.createElement("path",{d:"M53.67528 11.2509091l-1.2192-4.72727274c-.176784-.56333333-.24384-1.12666666-.36576-1.6880303h-.026416c-.107696.57515152-.148336 1.13848485-.308864 1.71363636l-1.22936 4.70954548h-2.101088l2.822448-9.87409093h1.647952l2.942336 9.86424243-2.162048.0019697z",fillRule:"nonzero"}),n.createElement("path",{d:"M21.553424 1.38469697l1.2192 4.72727273c.174752.56333333.241808 1.12469697.363728 1.6880303h.026416c.107696-.57515152.148336-1.13848485.310896-1.71363636l1.2192-4.70954546h2.105152L23.9776 11.2410606h-1.64592l-2.938272-9.85636363h2.160016z",fillRule:"nonzero"}),n.createElement("path",{fillRule:"nonzero",d:"M28.313888 1.38666667h2.01168v9.86424243h-2.01168z"}),n.createElement("path",{fillRule:"nonzero",d:"M41.694608 1.38666667l.983488 5.82045454h.026416l.808736-5.82045454h2.700528l1.0668 9.86424243h-2.064512l-.485648-7.10469698h-.028448l-.323088 2.43257576-.865632 4.67212122h-1.550416l-.98552-4.72333334L40.64 4.32939394v-.18318182h-.026416l-.296672 7.10469698h-2.160016l.890016-9.86424243z"}),n.createElement("path",{d:"M35.310064 1.38469697c-.3577988.27917284-.6303655.64756811-.788416 1.06560606-.526288 1.22909091.036576 2.16666667.534416 3.00575758.073152.12409091.148336.24818181.217424.37227272 1.085088 1.80424243 1.515872 3.13378788.705104 5.02863637-.056896.1339394-.191008.3939394-.191008.3939394h-2.424176c.3204254-.2482168.5741848-.5678542.739648-.9316667.556768-1.30196967-.099568-2.49166664-.735584-3.64393937-.764032-1.37878788-1.552448-2.81863636-.715264-4.78045455.079248-.18712121.254-.50424242.254-.50424242l2.403856-.00590909z",fillRule:"nonzero"}))),n.createElement("g",{className:"xs:flex xs:-translate-x-[40px] hidden md:!translate-x-0"},n.createElement("path",{className:"stroke-white",d:"M61.496448 0v12.8680303",strokeWidth:"1.68"}),n.createElement("g",{className:"fill-white"},n.createElement("path",{d:"M70.841616 9.70863636c-.999744 0-1.7888373-.29479798-2.36728-.88439394-.5784427-.58959596-.867664-1.40964646-.867664-2.46015151 0-1.05707071.2709333-1.89681818.8128-2.51924243.5304376-.61728629 1.3256457-.96197654 2.15392-.93363636.7626734-.03509605 1.5014967.26264579 2.013712.81151515.4944533.53969697.7410027 1.25272728.739648 2.13909091v.62833334h-4.659376c.022352.77015151.221488 1.35318181.6096 1.7530303.388112.39984848.916432.59090909 1.607312.59090909.743701-.00293405 1.4788698-.15377248 2.160016-.44318182v.88636364c-.3298144.14174433-.6736336.25063692-1.02616.325-.3855929.07188992-.7778273.1048941-1.170432.09848485m-.27432-5.95242425c-.4900374-.02138848-.9649513.16736328-1.298448.51606061-.3477231.40033357-.5485505.90121019-.570992 1.42409091h3.53568c0-.62636364-.14224-1.1069697-.430784-1.43984849-.3103282-.34233825-.7661196-.52691285-1.235456-.50030303",fillRule:"nonzero"}),n.createElement("path",{d:"M75.053952 6.25575758c-.0151689-.21657791.0536783-.43083638.19304-.60075758.1381463-.1429001.3347885-.21871211.536448-.20681818.2081607-.01140173.4114497.0638378.5588.20681818.2680858.35762602.2680858.84191943 0 1.19954545-.3018073.26987298-.7638609.27916874-1.07696.02166667-.1529999-.17086259-.2265151-.39533511-.2032-.62045454",fillRule:"nonzero"}),n.createElement("path",{d:"M81.586832 9.70863636c-.979424 0-1.73736-.29217171-2.273808-.87651515-.536448-.58434343-.8073813-1.41095959-.8128-2.47984848 0-1.09777778.2709333-1.94540404.8128-2.54287879.5418667-.59747475 1.318768-.89686869 2.330704-.89818182.3279782-.00003668.654999.03430434.97536.10242424.2639542.04817256.5206342.12824173.764032.23833334l-.31496.845c-.2397537-.0929503-.4871838-.16608946-.739648-.21863637-.2330197-.05435362-.4715521-.08342113-.7112-.08666666-1.373632 0-2.060448.84959596-2.060448 2.54878788 0 .80494949.1673013 1.42343434.501904 1.85545454.33528.42939394.83312.64606061 1.491488.64606061.5966181-.00678768 1.1861142-.12655871 1.735328-.35257576v.87848485c-.5339642.24467285-1.120715.3615322-1.710944.34075757",fillRule:"nonzero"}),n.createElement("path",{d:"M90.690192 6.30893939c0 1.06757576-.278384 1.90207071-.835152 2.50348485-.556768.60141414-1.3241867.90146465-2.302256.90015152-.5660565.00980534-1.1238362-.13269357-1.611376-.41166667-.4744234-.28111893-.8520726-.69243374-1.085088-1.18181818-.2674171-.5661279-.3987341-1.18372355-.384048-1.80621212 0-1.06888889.2756747-1.90207071.827024-2.49954546.5513493-.59747474 1.316736-.89555555 2.29616-.89424242.8559447-.03726298 1.6841715.29875604 2.257552.91590909.556768.61060606.8358293 1.43656566.837184 2.47787879m-5.155184 0c0 .83777778.17272 1.47595959.51816 1.91454545.34544.43858586.85344.65787879 1.524.65787879s1.1799147-.21863636 1.528064-.65590909.522224-1.07611111.522224-1.91651515c0-.83515152-.1740747-1.46873738-.522224-1.90075758-.3481493-.4320202-.861568-.64868687-1.540256-.65-.67056 0-1.176528.21469697-1.517904.64015152-.341376.42545454-.512064 1.06363636-.512064 1.91060606",fillRule:"nonzero"}),n.createElement("path",{d:"M96.989392 9.58848485V5.34575758c0-.53444445-.1253067-.9329798-.37592-1.19560606-.251968-.2639394-.644144-.3939394-1.180592-.3939394-.707136 0-1.225296.18580808-1.55448.55742424-.329184.37161617-.493776.98419192-.493776 1.83772728v3.43909091h-1.02616V3.03136364h.83312l.168656.89621212h.048768c.213947-.32669621.5199877-.58712571.881888-.75045455.3956439-.18075251.8285923-.27169306 1.265936-.26590909.8128 0 1.4257867.19040404 1.83896.57121212.4131733.38080808.6163733.99010101.6096 1.82787879v4.27818182h-1.016z",fillRule:"nonzero"}),n.createElement("path",{d:"M105.759504 6.30893939c0 1.06757576-.277707 1.90207071-.83312 2.50348485-.555413.60141414-1.322832.90146465-2.302256.90015152-.566147.01053143-1.124127-.1320188-1.611376-.41166667-.474546-.2815508-.852738-.69268701-1.08712-1.18181818-.2666505-.56630799-.397268-1.18388155-.382016-1.80621212 0-1.06888889.2756747-1.90207071.827024-2.49954546.551349-.59747474 1.316736-.89555555 2.29616-.89424242.948267 0 1.700107.30530303 2.25552.91590909.555413.61060606.834475 1.43525253.837184 2.47393939m-5.155184 0c0 .83777778.17272 1.4759596.51816 1.91454546.34544.43924242.855472.65787879 1.526032.65787879.589088.03526465 1.159066-.20939357 1.528064-.65590909.348149-.43727273.521547-1.07611112.520192-1.91651516-.001355-.84040404-.174752-1.4739899-.520192-1.90075757-.349504-.43333334-.861568-.65-1.540256-.65-.678688 0-1.17856.21469697-1.519936.64015151-.341376.42545455-.512064 1.06363637-.512064 1.91060606",fillRule:"nonzero"}),n.createElement("path",{d:"M116.1796 9.58848485V5.32409091c0-.52525253-.115147-.91919192-.34544-1.18181818-.229616-.26-.58928-.3939394-1.074928-.3939394-.635339 0-1.109472.1779293-1.4224.53378788-.312928.35585859-.465328.90212121-.4572 1.63878788v3.66166667h-1.016V5.32409091c0-.52525253-.115824-.91919192-.347472-1.18181818-.229616-.26-.58928-.3939394-1.078992-.3939394-.642112 0-1.113536.1969697-1.410208.55939394-.296672.36242425-.449072.98484849-.449072 1.83575758v3.43909091h-1.016V3.03136364h.83312l.166624.89621212h.0508c.192326-.31859024.474248-.57752095.8128-.74651515.36534-.18279258.771528-.27547583 1.182624-.26984849 1.05664 0 1.748197.3709596 2.074672 1.11287879h.048768c.20551-.34688729.509496-.62924665.875792-.81348485.403616-.20402984.853472-.30695163 1.308608-.29939394.765387 0 1.338411.19040404 1.719072.57121212.380661.38080808.570992.99010101.570992 1.82787879v4.27818182h-1.02616z",fillRule:"nonzero"}),n.createElement("path",{d:"M119.16664 1.25272727c-.016875-.18221767.045768-.36295537.17272-.49833333.243232-.21393452.614272-.21393452.857504 0 .129279.13353172.194239.31385023.178816.49636364.015568.18371514-.049334.36530074-.178816.50030303-.240531.22061195-.616973.22061195-.857504 0-.125769-.13683457-.188192-.31765204-.17272-.50030303v.00196969zm1.111504 8.33378788h-1.02616V3.03136364h1.02616v6.55515151z",fillRule:"nonzero"}),n.createElement("path",{d:"M125.091952 9.70863636c-.979424 0-1.738037-.29217171-2.27584-.87651515-.537803-.58434343-.808736-1.41095959-.8128-2.47984848 0-1.09777778.270933-1.94540404.8128-2.54287879.541867-.59747475 1.318768-.89686869 2.330704-.89818182.327978-.00003668.654999.03430434.97536.10242424.264596.04821437.521943.12827865.766064.23833334l-.31496.845c-.239852-.09267891-.487258-.16581103-.739648-.21863637-.233047-.05421-.471563-.08327549-.7112-.08666666-1.373632 0-2.061125.84959596-2.06248 2.54878788 0 .80494949.167979 1.42343434.503936 1.85545454.33528.42939394.83312.64606061 1.491488.64606061.595961-.00679074 1.184792-.12656681 1.733296-.35257576v.87848485c-.533172.24487796-1.119318.3617557-1.708912.34075757",fillRule:"nonzero"}))))})),Bg=n.forwardRef((function(e,t){const{texts:a}=fr(),r=$a(t),o=l("flex h-full w-full flex-grow items-center overflow-hidden active:outline-none relative",e.className);return n.createElement("nav",Object.assign({},e,{className:o,ref:r}),n.createElement(Ji,{className:"h-full flex-grow items-center gap-1 px-1",moreButton:()=>n.createElement(pr,{className:l(Dg(),"!bg-transparent aria-expanded:!bg-white/[.08]")},a.header.more)},e.children))})),_g=n.forwardRef((function(e,t){const a=l("flex h-full items-center gap-2 mb-0 flex-shrink-0 mr-2",e.className);return n.createElement("div",Object.assign({},e,{className:a,ref:t}))})),Gg=n.forwardRef((function(e,t){const a=l(jg(!1),"mr-1 !bg-transparent hover:!bg-white/[.08] focus:!bg-white/[.08]] lg:hidden z-[2] !text-white");return n.createElement(cr,Object.assign({},e,{className:a,"data-taco":"header-toggle-sidebar",icon:"menu",ref:t}))})),qg=n.forwardRef((function(e,t){const{src:a,fallbackSrc:r,...o}=e,[i,s]=n.useState(!1),c=l("h-9 w-9 rounded-full shrink-0 group-focus:yt-focus-dark xl:group-focus:shadow-none",{visible:i},e.className);return n.createElement("img",Object.assign({},o,{className:c,src:a,onLoad:()=>s(!0),onError:e=>{e.target.src=r},ref:t}))})),$g=({agreement:e,...t})=>e.isAdministrator?n.createElement(qa,Object.assign({},t,{color:"blue",small:!0}),"Admin"):e.isDeveloper?n.createElement(qa,Object.assign({},t,{color:"blue",small:!0}),"Developer"):null,Kg=e=>{const{children:t,className:a,fallbackImageSrc:r,...o}=e,i=l("w-full rounded flex px-2 gap-2 overflow-hidden text-left items-center",a);return n.createElement("span",{className:i},n.createElement(qg,{fallbackSrc:r,src:o.imageSrc,title:`${o.name} - ${o.number} ${o.userId}`}),n.createElement("span",{className:"flex flex-col overflow-hidden"},n.createElement("span",{className:"flex truncate text-white",title:o.name},n.createElement("span",{className:"truncate"},o.name)," ",o.secure?n.createElement(za,{name:"secure-tick",className:"mb-0.5 ml-1 mt-0.5 !h-4 !w-4 flex-shrink-0 flex-grow-0"}):null),n.createElement("span",{className:"text-grey-100 whitespace-nowrap text-xs"},o.number," ",o.userId," ",n.createElement($g,{agreement:o}))),t)},Ug=e=>{const{children:t,currentAgreement:a,fallbackImageSrc:r}=e;if(vu("(min-width: 1280px)",window.innerWidth>1280)){const o=l("h-12 flex-grow xl:[button>&]:hover:bg-white/[0.16]",e.className);return n.createElement(Kg,Object.assign({},a,{children:t,className:o,fallbackImageSrc:r}))}return n.createElement("span",{className:"relative flex h-12 flex-grow items-center pr-2"},n.createElement(qg,{fallbackSrc:r,src:a.imageSrc,title:`${a.name} - ${a.number} ${a.userId}`}),n.createElement($g,{agreement:a,className:"absolute right-0 top-0 -mr-1 w-8 !justify-start"}))},Wg=e=>n.createElement("div",{className:"-ml-2 flex flex-shrink-0 flex-grow-0 items-center gap-2 pr-2 xl:ml-auto xl:w-64","data-taco":"header-agreements"},n.createElement("span",{className:"hidden h-8 w-px flex-shrink-0 flex-grow-0 bg-white/[0.3] xl:flex"}),e.children),Jg=e=>t=>{if(!e||!e.length)return!0;const n=String(t.number).indexOf(e)>-1,l=t.name.toLowerCase().indexOf(e.toLowerCase())>-1;return n||l},Yg=(e,t)=>e.number===t.number&&e.userId===t.userId,Qg=(e,t,l,a=!1)=>n.createElement("button",{"aria-current":a?"true":void 0,className:"focus:yt-focus-dark w-full rounded outline-none","data-taco":"header-agreements-agreement",key:`${e.number}_${e.userId}`,onClick:()=>l(e),onKeyDown:t=>{"Enter"===t.key&&l(e)},tabIndex:0},n.createElement(Kg,Object.assign({},e,{className:"h-14 bg-white/[0.08] xl:hover:bg-white/[0.16] [[aria-current='true']>&]:bg-white/[0.16]",fallbackImageSrc:t}))),Xg=n.forwardRef((function(e,t){const a=l("bg-blue-900 flex h-16 w-full shrink-0 items-center gap-2 pl-4","[&>*:focus-visible]:yt-focus-dark [&>*]:rounded",e.className);return n.createElement("header",Object.assign({},e,{className:a,ref:t}))}));Xg.AgreementDisplay=function(e){const{currentAgreement:t,fallbackImageSrc:l}=e;return n.createElement(Wg,null,n.createElement(Ug,{currentAgreement:t,fallbackImageSrc:l}))},Xg.AgreementSelector=function(e){const{agreements:t,currentAgreement:l,fallbackImageSrc:a,filterAgreement:r=(()=>!0),filterClientAgreement:o=(()=>!0),onAddAgreement:i,onChangeAgreement:s,onLogout:c,open:d,setOpen:m}=e,{texts:g}=fr(),f=n.useRef(null),[h,v]=w.useControllableState({onChange:m,prop:d}),[p,b]=n.useState("");n.useEffect(()=>{b("")},[h]);const E=e=>{s(e),v(!1)};return n.createElement(Wg,null,n.createElement(u.Root,{open:h,onOpenChange:v},n.createElement(u.Trigger,{className:"xl:focus-visible:yt-focus-dark [&:focus-visible_img]:yt-focus-dark w-full rounded outline-none xl:[&:focus-visible_img]:shadow-none"},n.createElement(Ug,{currentAgreement:l,fallbackImageSrc:a},t?n.createElement(za,{className:"ml-auto hidden flex-shrink-0 flex-grow-0 text-white xl:flex",name:h?"chevron-up":"chevron-down"}):null)),n.createElement(u.Content,{className:"z-[996] mt-2 flex h-[calc(100vh_-_theme(spacing.16))] w-64 flex-col gap-1 bg-blue-900"},n.createElement(sc,{autoFocus:!0,className:"focus-visible:!yt-focus-dark mx-2 !border-transparent !bg-white/[0.08] !text-white hover:!bg-white/[0.16] hover:!shadow-none focus:!bg-white/[0.16] active:!bg-white/[0.16] [&+div>button]:!text-white",onChange:e=>b(e.target.value),onKeyDown:e=>{var t;"ArrowDown"!==e.key&&"ArrowUp"!==e.key&&"Enter"!==e.key||(e.preventDefault(),null===(t=f.current)||void 0===t||t.dispatchEvent(Gr(e)))},placeholder:g.header.search}),n.createElement(Mc,{querySelector:"button",className:"-my-1 flex w-full flex-grow flex-col gap-1 overflow-auto px-2 py-1 outline-none",ref:f,tabIndex:-1},null==t?void 0:t.filter(e=>r(e,Jg(p))).map(e=>{const t=Qg(e,a,E,Yg(e,l));return e.clients?n.createElement("span",{className:"flex flex-col gap-px [&>*:first-child>span]:!rounded-t [&>*:last-child>span]:!rounded-b [&>*>span]:!rounded-none",key:`${e.number}_${e.userId}_clients`},Jg(p)(e)?t:null,e.clients.filter(e=>o(e,p,Jg(p))).map(e=>Qg(e,a,E,Yg(e,l)))):t})),i?n.createElement(pr,{className:"focus-visible:!yt-focus-dark my-1 mx-2 !h-9 shrink-0 !bg-white/[0.08] !text-white hover:!bg-white/[0.16]",onClick:i},g.header.addAgreement):null,n.createElement("hr",{className:"my-0 h-px w-full bg-white/[0.08]"}),n.createElement("a",{className:"focus-visible:yt-focus-dark mx-2 mb-2 flex h-8 shrink-0 items-center justify-center rounded text-white hover:cursor-pointer hover:text-white hover:underline focus-visible:outline-none",onClick:c,tabIndex:0},g.header.logout))))},Xg.Button=Vg,Xg.Link=Tg,Xg.Logo=Fg,Xg.LogoLegacy=Pg,Xg.PrimaryNavigation=Bg,Xg.SecondaryNavigation=_g,Xg.MenuButton=Gg;const Zg=n.createContext({sidebarOpen:!1,setSidebarOpen:()=>{}}),ef=n.forwardRef((function(e,t){const a=l("flex-grow overflow-y-auto print:overflow-visible print:h-full print:!p-0 bg-white flex flex-shrink flex-col relative",e.className);return n.createElement("main",Object.assign({},e,{className:a,ref:t}))})),tf=h.motion(Ma),nf=n.forwardRef((function(e,t){const{children:a,...r}=e,{sidebarOpen:o,setSidebarOpen:i}=n.useContext(Zg),s=pu(),c=!s,u=s||o;n.useEffect(()=>{i(s)},[s]),n.useEffect(()=>{const e=e=>{"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),i(!1))};return c&&o&&window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[c,o]);const d=c&&!0===o,[m,g]=n.useState(c),f=l("bg-grey-50 h-full w-64 flex-shrink-0 flex-grow-0 print:hidden",{"absolute z-10 aria-hidden:-translate-x-64 ":c,invisible:c&&!m,"transition-[transform] duration-300 visible":c&&m,"border-r-2 border-black/[.08] ":!d},e.className);n.useEffect(()=>{setTimeout(()=>{g(c)},1)},[c]);const v="function"==typeof a?a({isLargeScreen:s,open:o,toggleSidebar:()=>i(e=>!e)}):a;return v?n.createElement(n.Fragment,null,n.createElement("nav",Object.assign({},r,{"data-responsive":c,"aria-hidden":!u,className:f,ref:t}),v),n.createElement(h.AnimatePresence,null,d&&n.createElement(tf,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"z-[1]",onClick:()=>i(!1)}))):null})),lf=n.forwardRef((function(e,t){const a=l("flex flex-grow overflow-hidden print:overflow-visible print:h-full relative",e.className);return n.createElement("div",Object.assign({},e,{className:a,ref:t}))})),af=n.forwardRef((function(e,t){const[a,r]=n.useState(!1),o=l("flex h-screen w-screen flex-col overflow-hidden print:overflow-visible print:h-full relative",e.className);return n.createElement(Zg.Provider,{value:{sidebarOpen:a,setSidebarOpen:r}},n.createElement("div",Object.assign({},e,{className:o,ref:t})))}));af.Top=e=>{const{setSidebarOpen:t}=n.useContext(Zg);return"function"==typeof e.children?e.children({toggleSidebar:()=>t(e=>!e)}):e.children},af.Page=lf,af.Sidebar=nf,af.Content=ef;const rf=n.forwardRef((function(e,t){const{children:a,defaultExpanded:r=!1,heading:o,onClick:i,...s}=e,[c,u]=n.useState(r),d=l("flex w-full cursor-pointer items-center rounded px-3 font-bold text-left leading-8 hover:bg-black/[.06] focus-visible:yt-focus-dark",s.className);return n.createElement("li",Object.assign({},s,{role:"none",className:"[[role=menubar]>&]:px-3",ref:t}),n.createElement("button",{"aria-haspopup":"true","aria-expanded":c,"data-taco":"navigation2-group",className:d,onClick:e=>{u(!c),i&&i(e)},role:"menuitem"},n.createElement(za,{className:"-ml-2 !h-5 !w-5",name:c?"chevron-down-solid":"chevron-right-solid"}),n.createElement("span",{className:"flex-grow truncate"},o)),n.createElement("ul",{className:l("mb-0 flex flex-col gap-y-px pt-px",{hidden:!c}),role:"menu"},a))})),of=()=>l("[[role=menubar]>[data-taco=navigation2-link-item]+&]:mt-2","[[role=menubar]>[data-taco='navigation2-link-item']+&]:border-t-2","[[role=menubar]>[data-taco='navigation2-link-item']+&]:pt-2 ","[[role=menubar]>[data-taco='navigation2-content']+&]:border-t-2","[[role=menubar]>[data-taco='navigation2-content']+&]:pt-2","[[role=menubar]>[data-taco='navigation2-section']+&]:border-t-2","[[role=menubar]>[data-taco='navigation2-section']+&]:pt-2"),sf=(e=!1)=>l("group relative flex w-full items-center rounded leading-8 !text-black px-2 focus-visible:yt-focus-dark","font-bold [[role=menu]>li>&]:font-normal [[role=menu]>li>&]:pl-5",'[&_[data-taco="icon"]]:!h-5 [&_[data-taco="icon"]]:!w-5','[&>span_[data-taco="badge"]]:mr-2.5 [[role=menu]>li>&>span_[data-taco="badge"]]:mr-2',{"hover:bg-black/[.06] aria-current-page:bg-blue-500/[.1]":!e,"!bg-blue-500 !text-white [&>*]:!text-white":e}),cf=n.forwardRef((function(e,t){const{active:a,children:r,icon:o,menu:i,onDrop:s,total:c,...u}=e,[d,m]=Bi(s),g=l(sf(d),u.className),f=l("[[role=menubar]>&]:px-3 border-grey-200",of(),{"[&>*]:pointer-events-none":d});return n.createElement("li",Object.assign({},m,{className:f,"data-taco":"navigation2-link-item",role:"none"}),n.createElement("a",Object.assign({},u,{"aria-current":a?"page":void 0,className:g,"data-taco":"navigation2-link",ref:t,role:"menuitem",tabIndex:0}),o?n.createElement(za,{className:"mr-1.5 [[role=menu]>li>a>&]:-ml-1.5 [[role=menu]>li>a>&]:mr-0.5",name:o}):null,n.createElement("span",{className:"flex flex-grow items-center truncate"},r),i?n.createElement(cr,{appearance:"discrete",icon:"more","aria-label":"More",rounded:!0,className:l("-mr-1.5 hidden flex-shrink-0 flex-grow-0 transition-none group-hover:flex aria-expanded:flex",{"absolute right-0 !mr-0.5":void 0!==c}),menu:i,onClick:e=>{e.preventDefault(),e.stopPropagation()}}):null,void 0!==c?n.createElement(qa,{className:l("flex-shrink-0 flex-grow-0 !font-normal",{'group-hover:hidden [[aria-expanded="true"]+&]:hidden ':i}),color:"transparent"},c):null))})),uf=n.forwardRef((function(e,t){const{children:a,heading:r,...o}=e,i=l("w-full overflow-auto px-3 py-2 flex-grow border-grey-200 bg-grey-50 [[role=menubar]>&:first-child]:pt-0",of(),e.className);return n.createElement("li",Object.assign({},o,{className:i,"data-taco":"navigation2-section",ref:t,role:"none"}),r?n.createElement("span",{className:"text-grey-500 mb-px truncate pl-5 text-xs font-bold uppercase leading-8 lg:hidden"},r):null,n.createElement("ul",{className:"mb-0 flex flex-col gap-y-px"},a))})),df=n.forwardRef((function(e,t){const{children:a,...r}=e,o=l("w-full overflow-auto p-3 mt-auto border-grey-200 flex-shrink-0 z-10 bg-grey-50 [[role=menubar]>&:last-child]:pb-0",of(),e.className);return n.createElement("li",Object.assign({},r,{className:o,"data-taco":"navigation2-content",ref:t,role:"none"}),a)})),mf=n.forwardRef((function(e,t){const{children:a,...r}=e,o=l("m-0 py-2 flex flex-col gap-y-px overflow-auto h-full w-full bg-grey-50",e.className);return n.createElement("ul",Object.assign({},r,{className:o,"data-taco":"navigation2",ref:t,role:"menubar",style:{opacity:.999}}),a)}));mf.Group=rf,mf.Link=cf,mf.Section=uf,mf.Content=df,exports.Accordion=_a,exports.Alert=Sa,exports.AlertDialog=Ta,exports.Backdrop=Ma,exports.Badge=qa,exports.BadgeIcon=Ra,exports.Banner=hr,exports.Base=sr,exports.Button=pr,exports.Calendar=xr,exports.Card=Cr,exports.Checkbox=Ar,exports.CollectionPrimitive=jc,exports.Combobox=ao,exports.DEFAULT_PAGE_SIZE=100,exports.Datepicker=wo,exports.Dialog=Io,exports.Drawer=ei,exports.Field=ti,exports.Form=ni,exports.Group=Lo,exports.Hanger=ii,exports.Header=Xg,exports.HoverCard=di,exports.Icon=za,exports.IconButton=cr,exports.Input=jr,exports.Layout=af,exports.Listbox=fi,exports.LocalizationContext=mr,exports.LocalizationProvider=gr,exports.Menu=ji,exports.ModeSwitch=Ti,exports.MultiListbox=hi,exports.Navigation=Ki,exports.Navigation2=mf,exports.OverflowGroup=Ji,exports.PaginatedTable=vd,exports.Pagination=Zi,exports.Popover=po,exports.Progress=({duration:e,...t})=>{let a;e&&(a={animationDuration:e+"ms"});const r=l("bg-grey-100 rounded block h-1 overflow-hidden w-full",t.className),o=l("yt-progress__bar block h-1",{"w-full before:h-1 before:bg-grey-300 before:block before:animate-[progress-indeterminate_2s_cubic-bezier(0.4,0,0.2,1)_infinite] before:content-[' ']":!e,"w-0 bg-grey-300 animate-[progress_linear]":e});return n.createElement("span",Object.assign({},t,{"data-taco":"progress",className:r}),n.createElement("span",{className:o,"data-taco":"progress-bar",style:a}))},exports.Provider=e=>{const{children:n,localization:l,settings:a}=e,r=t.useMemo(()=>a,[JSON.stringify(a)]);return t.createElement(gr,{localization:l},t.createElement(rs.Provider,{value:r},t.createElement(o.Provider,null,t.createElement(ls,null,n))))},exports.RadioGroup=Li,exports.Report=qu,exports.SearchInput=sc,exports.SearchInput2=wc,exports.Select=Xi,exports.Select2=mu,exports.Shortcut=wi,exports.Spinner=Nr,exports.Switch=bc,exports.Table=hd,exports.Table3=Ng,exports.Tabs=Ag,exports.TacoContext=rs,exports.Tag=Gc,exports.Textarea=Im,exports.Title=ri,exports.ToastProvider=ls,exports.Tooltip=ar,exports.Tour=kg,exports.TourStep=Mg,exports.Treeview=Pi,exports.VisuallyHidden=Ga,exports.WindowedTable=bd,exports.convertRowIndexPathToNumberArray=Ed,exports.createShortcutKeyDownHandler=er,exports.defaultLocalisationTexts=ur,exports.defaultLocalizationContext=dr,exports.findByValue=Ni,exports.fixedForwardRef=is,exports.format=oo,exports.getByRowIndexPath=xd,exports.getNavigationLinkClasses=sf,exports.getNextIndexFromKey=Tr,exports.getParentRowIndexPath=yd,exports.getRadioGroupItemValueAsString=Si,exports.icons=ya,exports.insertChildTableRow=zd,exports.isMacOs=tr,exports.isPressingMetaKey=Xa,exports.isWeakEqual=ro,exports.mergeRefs=Aa,exports.parseFromCustomString=io,exports.parseFromISOString=so,exports.removeChildTableRow=Rd,exports.setByRowIndexPath=(e,t,n)=>{const l=[...e],a=Ed(t),r=a.shift();if(a.length){const e=a.map(e=>`subRows[${e}]`).join(".");M(l[r],e,n)}else l[r]=n;return l},exports.shouldTriggerShortcut=Za,exports.useBoundaryOverflowDetection=(e,t=[])=>{const[l,a]=n.useState(),r=Hr(e,t);return n.useEffect(()=>{if(e.current){const t=Ka(e.current);a(t)}},[e,null==r?void 0:r.width,...t]),l},exports.useBoundingClientRectListener=Hr,exports.useDropTarget=Bi,exports.useIntersectionObserver=Ui,exports.useIsLargeScreen=pu,exports.useLazyEffect=Bs,exports.useListKeyboardNavigation=(e=0,t={direction:"vertical"})=>{const[l,a]=n.useState(t.initialIndex);return[l,a,n=>{const a=Tr(n.key,e,l,t.direction);return void 0!==a&&n.preventDefault(),a}]},exports.useListScrollTo=Dr,exports.useLocalization=fr,exports.useMatchMedia=vu,exports.useMergedRef=$a,exports.useOnClickOutside=(e,t)=>{n.useEffect(()=>{const n=n=>{(Array.isArray(e)?e:[e]).some(e=>!e.current||e.current.contains(n.target))||t(n)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[e,t])},exports.usePagination=(e=0,t=10)=>{const[l,a]=n.useState(e),[r,o]=n.useState(t);return{pageIndex:l,pageSize:r,setPageIndex:a,setPageSize:o}},exports.useRadioGroup=Ii,exports.useTable3DataLoader=function(e,t,l={pageSize:100}){const{pageSize:a}=l,r=n.useRef(void 0),[o,i]=n.useState([]),s=n.useRef({}),c=n.useRef([]),u=n.useRef([]),d=n.useRef(),m=n.useRef(!1),g=function(t,n,l,o){try{let g=!1;if((m.current||o!==d.current||JSON.stringify(n)!==JSON.stringify(c.current)||JSON.stringify(l)!==JSON.stringify(u.current))&&(s.current={},g=!0),s.current[t])return Promise.resolve();s.current[t]=!0,m.current=!1,c.current=n,u.current=l,d.current=o;const f=Ts((function(){return js((function(){return Promise.resolve(e(t,a,n,l,o)).then((function(e){i(n=>{let l;return g||r.current!==e.length?(r.current=e.length,l=Array(r.current).fill(void 0)):l=[...n],l.splice(t*a,a,...e.data),l})}))}),(function(){}))}),(function(e,n){if(s.current[t]=!1,e)throw n;return n}));return Promise.resolve(f&&f.then?f.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};return[{data:o,length:r.current,loadAll:function(e,n,l){try{const a=js((function(){return Promise.resolve(t(e,n,l)).then((function(e){r.current=e.length,i(()=>{let t;return e.data.length!==e.length?(t=Array(e.length).fill(void 0),t.splice(0,e.data.length,...e.data)):t=[...e.data],t})}))}),(function(){}));return Promise.resolve(a&&a.then?a.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},loadPage:g,onFilter:function(e){try{return g(0,c.current,e,d.current)}catch(e){return Promise.reject(e)}},onSort:function(e){try{return g(0,e,u.current,d.current)}catch(e){return Promise.reject(e)}},pageSize:a},function(){try{return m.current=!0,g(0,c.current,u.current,d.current)}catch(e){return Promise.reject(e)}}]},exports.useTableDataLoader=function(e,t,l={pageSize:100}){const{pageSize:a}=l,r=n.useRef(void 0),[o,i]=n.useState([]),s=n.useRef({}),c=n.useRef([]),u=n.useRef([]),d=n.useRef(),m=n.useRef(!1),g=function(t,n,l,o){try{let g=!1;if((m.current||o!==d.current||JSON.stringify(n)!==JSON.stringify(c.current)||JSON.stringify(l)!==JSON.stringify(u.current))&&(s.current={},g=!0),s.current[t])return Promise.resolve();s.current[t]=!0,m.current=!1,c.current=n,u.current=l,d.current=o;const f=Ts((function(){return js((function(){return Promise.resolve(e(t,a,n,l,o)).then((function(e){i(n=>{let l;return g||r.current!==e.length?(r.current=e.length,l=Array(r.current).fill(void 0)):l=[...n],l.splice(t*a,a,...e.data),l})}))}),(function(){}))}),(function(e,n){if(s.current[t]=!1,e)throw n;return n}));return Promise.resolve(f&&f.then?f.then((function(){})):void 0)}catch(e){return Promise.reject(e)}};return[{data:o,length:r.current,loadAll:function(e,n,l){try{const a=js((function(){return Promise.resolve(t(e,n,l)).then((function(e){r.current=e.length,i(()=>{let t;return e.data.length!==e.length?(t=Array(e.length).fill(void 0),t.splice(0,e.data.length,...e.data)):t=[...e.data],t})}))}),(function(){}));return Promise.resolve(a&&a.then?a.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},loadPage:g,onChangeFilter:function(e){try{return g(0,c.current,e,d.current)}catch(e){return Promise.reject(e)}},onChangeSort:function(e){try{return g(0,e,u.current,d.current)}catch(e){return Promise.reject(e)}},pageSize:a},function(){try{return m.current=!0,g(0,c.current,u.current,d.current)}catch(e){return Promise.reject(e)}}]},exports.useTableRowCreation=(e,t)=>{const[l,a]=n.useState(JSON.parse(JSON.stringify(e))),[r,o]=n.useState(void 0);return n.useEffect(()=>{if(void 0!==r){const n=xd(l,r),i=yd(r),[s,c]=zd(JSON.parse(JSON.stringify(e)),i,n);o(c),a(s),null!=t&&t.current&&t.current.instance.toggleRowEditing(null==n?void 0:n._createKey)}else a(e)},[JSON.stringify(e)]),{data:l,create:(e,n={})=>{const r=c.v4(),[i,s]=zd(l,e,{...n,_createKey:r});return o(s),a(i),null!=t&&t.current&&t.current.instance.toggleRowEditing(r),s},remove:e=>{const t=Rd(l,e);a(t),o(void 0)},isCreating:void 0!==r}},exports.useToast=as;
|
2
2
|
//# sourceMappingURL=taco.cjs.production.min.js.map
|