@altinn/altinn-components 0.63.7 → 0.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/dist/AuthEvidenceItem.module-CCavPar4.js +9 -0
  2. package/dist/File-DzH8Xshn.js +24 -0
  3. package/dist/Package-C1PB2awv.js +24 -0
  4. package/dist/{ToolbarSearch-dnQTefZM.js → ToolbarSearch-DeQTx93w.js} +806 -803
  5. package/dist/assets/AuthEvidence.css +1 -0
  6. package/dist/assets/AuthEvidenceItem.css +1 -0
  7. package/dist/assets/AuthEvidenceParent.css +1 -0
  8. package/dist/components/AccessAreaListItem/AccessAreaListItem.js +1 -1
  9. package/dist/components/AccessPackageListItem/AccessPackageListItem.js +23 -41
  10. package/dist/components/Account/AccountList.js +1 -1
  11. package/dist/components/Account/AccountListItem.js +1 -1
  12. package/dist/components/Account/AccountListItemControls.js +1 -1
  13. package/dist/components/Account/AccountListItemDetails.js +1 -1
  14. package/dist/components/Account/AccountListVirtual.js +1 -1
  15. package/dist/components/Account/AccountMenu.js +1 -1
  16. package/dist/components/Account/AccountNotificationSettings.js +1 -1
  17. package/dist/components/Account/AccountOrganization.js +1 -1
  18. package/dist/components/AccountSelector/AccountSelector.js +1 -1
  19. package/dist/components/ActivityLog/ActivityLog.js +1 -1
  20. package/dist/components/ActivityLog/ActivityLogItem.js +1 -1
  21. package/dist/components/ActivityLog/ActivityLogSegment.js +1 -1
  22. package/dist/components/Alert/Alert.js +1 -1
  23. package/dist/components/Article/Article.js +1 -1
  24. package/dist/components/Article/ArticleContact.js +1 -1
  25. package/dist/components/Article/ArticleHeader.js +1 -1
  26. package/dist/components/Attachment/AttachmentLink.js +38 -55
  27. package/dist/components/AuthEvidence/AuthEvidence.js +40 -0
  28. package/dist/components/AuthEvidence/AuthEvidenceItem.js +61 -0
  29. package/dist/components/AuthEvidence/AuthEvidenceOwner.js +20 -0
  30. package/dist/components/AuthEvidence/AuthEvidenceParent.js +31 -0
  31. package/dist/components/AuthEvidence/AuthEvidenceService.js +20 -0
  32. package/dist/components/AuthEvidence/index.js +13 -0
  33. package/dist/components/Badge/Badge.js +1 -1
  34. package/dist/components/Badge/index.js +1 -1
  35. package/dist/components/Banner/Banner.js +1 -1
  36. package/dist/components/Bookmarks/BookmarkModal.js +1 -1
  37. package/dist/components/Bookmarks/BookmarkSettingsItem.js +1 -1
  38. package/dist/components/Bookmarks/BookmarkSettingsItemLabel.js +1 -1
  39. package/dist/components/Bookmarks/BookmarkSettingsList.js +1 -1
  40. package/dist/components/Breadcrumbs/Breadcrumbs.js +1 -1
  41. package/dist/components/Bulk/BulkHeader.js +1 -1
  42. package/dist/components/Button/ButtonIcon.js +1 -1
  43. package/dist/components/Button/ComboButton.js +1 -1
  44. package/dist/components/Button/FloatingActionButton.js +1 -1
  45. package/dist/components/Button/IconButton.js +1 -1
  46. package/dist/components/Byline/Byline.js +1 -1
  47. package/dist/components/Byline/index.js +1 -1
  48. package/dist/components/ContextMenu/ContextMenu.js +1 -1
  49. package/dist/components/Dashboard/DashboardCard.js +1 -1
  50. package/dist/components/Dashboard/DashboardHeader.js +1 -1
  51. package/dist/components/Datepicker/Datepicker.js +1 -1
  52. package/dist/components/Datepicker/DatepickerHeader.js +1 -1
  53. package/dist/components/Datepicker/DatepickerTable.js +1 -1
  54. package/dist/components/Dialog/Dialog.js +1 -1
  55. package/dist/components/Dialog/DialogActions.js +1 -1
  56. package/dist/components/Dialog/DialogActivityLog.js +1 -1
  57. package/dist/components/Dialog/DialogAttachments.js +1 -1
  58. package/dist/components/Dialog/DialogBody.js +1 -1
  59. package/dist/components/Dialog/DialogByline.js +1 -1
  60. package/dist/components/Dialog/DialogContact.js +1 -1
  61. package/dist/components/Dialog/DialogHeader.js +25 -23
  62. package/dist/components/Dialog/DialogHistory.js +1 -1
  63. package/dist/components/Dialog/DialogHistoryItem.js +1 -1
  64. package/dist/components/Dialog/DialogHistorySegment.js +1 -1
  65. package/dist/components/Dialog/DialogLayout.js +1 -1
  66. package/dist/components/Dialog/DialogList.js +1 -1
  67. package/dist/components/Dialog/DialogListItem.js +1 -1
  68. package/dist/components/Dialog/DialogMetadata.js +1 -1
  69. package/dist/components/Dialog/DialogSection.js +1 -1
  70. package/dist/components/Dialog/DialogSeenBy.js +1 -1
  71. package/dist/components/Dialog/DialogSelect.js +1 -1
  72. package/dist/components/Dialog/DialogStatus.js +1 -1
  73. package/dist/components/Dialog/DialogTabs.js +1 -1
  74. package/dist/components/Dialog/SeenByLog.js +1 -1
  75. package/dist/components/Dialog/SeenByLogButton.js +1 -1
  76. package/dist/components/Dialog/SeenByLogItem.js +1 -1
  77. package/dist/components/Dialog/index.js +1 -1
  78. package/dist/components/Dropdown/DrawerButton.js +1 -1
  79. package/dist/components/Dropdown/DrawerHeader.js +1 -1
  80. package/dist/components/Dropdown/Dropdown.js +1 -1
  81. package/dist/components/Dropdown/DropdownBase.js +1 -1
  82. package/dist/components/Dropdown/FloatingDropdown.js +1 -1
  83. package/dist/components/Dropdown/index.js +1 -1
  84. package/dist/components/Forms/Checkbox.js +1 -1
  85. package/dist/components/Forms/CheckboxOptions.js +1 -1
  86. package/dist/components/Forms/FieldBase.js +1 -1
  87. package/dist/components/Forms/FieldsetBase.js +1 -1
  88. package/dist/components/Forms/Radio.js +1 -1
  89. package/dist/components/Forms/RadioOptions.js +1 -1
  90. package/dist/components/Forms/SearchField.js +1 -1
  91. package/dist/components/Forms/SelectField.js +1 -1
  92. package/dist/components/Forms/Switch.js +1 -1
  93. package/dist/components/Forms/SwitchOptions.js +1 -1
  94. package/dist/components/Forms/TextField.js +1 -1
  95. package/dist/components/Forms/TextFieldDropdown.js +1 -1
  96. package/dist/components/Forms/TextareaField.js +1 -1
  97. package/dist/components/Forms/index.js +1 -1
  98. package/dist/components/GlobalHeader/GlobalAccountButton.js +1 -1
  99. package/dist/components/GlobalHeader/GlobalHeader.js +1 -1
  100. package/dist/components/GlobalHeader/GlobalMenuButton.js +1 -1
  101. package/dist/components/GlobalHeader/HeaderDrawer.js +1 -1
  102. package/dist/components/GlobalHeader/HeaderDropdown.js +1 -1
  103. package/dist/components/GlobalHeader/HeaderLogo.js +1 -1
  104. package/dist/components/GlobalMenu/GlobalMenu.js +1 -1
  105. package/dist/components/GlobalMenu/LocaleSwitcher.js +1 -1
  106. package/dist/components/GlobalMenu/LogoutButton.js +1 -1
  107. package/dist/components/Icon/Icon.js +1 -1
  108. package/dist/components/Icon/index.js +1 -1
  109. package/dist/components/Inbox/InboxPage.js +1 -1
  110. package/dist/components/InboxSearch/InboxSearch.js +1 -1
  111. package/dist/components/Item/ItemLabel.js +1 -1
  112. package/dist/components/Item/ItemMedia.js +1 -1
  113. package/dist/components/Item/ItemSelect.js +1 -1
  114. package/dist/components/Item/index.js +1 -1
  115. package/dist/components/Layout/Layout.js +1 -1
  116. package/dist/components/List/List.js +1 -1
  117. package/dist/components/List/ListBase.js +1 -1
  118. package/dist/components/List/ListItemHeader.js +1 -1
  119. package/dist/components/List/ListItemIcon.js +1 -1
  120. package/dist/components/List/ListItemLabel.js +1 -1
  121. package/dist/components/Menu/Menu.js +1 -1
  122. package/dist/components/Menu/MenuItem.js +1 -1
  123. package/dist/components/Menu/MenuItems.js +1 -1
  124. package/dist/components/Menu/MenuListSearch.js +1 -1
  125. package/dist/components/Menu/MenuOption.js +1 -1
  126. package/dist/components/Menu/TabMenu.js +1 -1
  127. package/dist/components/Menu/VirtualizedMenuItems.js +1 -1
  128. package/dist/components/Menu/index.js +1 -1
  129. package/dist/components/Menu/useMenuSearch.js +1 -1
  130. package/dist/components/Metadata/MetaItem.js +1 -1
  131. package/dist/components/Metadata/MetaItemIcon.js +1 -1
  132. package/dist/components/Metadata/MetaTimestamp.js +1 -1
  133. package/dist/components/Metadata/Metadata.js +1 -1
  134. package/dist/components/Metadata/index.js +1 -1
  135. package/dist/components/Modal/Modal.js +1 -1
  136. package/dist/components/Modal/ModalBase.js +1 -1
  137. package/dist/components/Modal/ModalHeader.js +1 -1
  138. package/dist/components/Modal/ModalIcon.js +1 -1
  139. package/dist/components/Notifications/NotificationItem.js +1 -1
  140. package/dist/components/Notifications/NotificationItemBase.js +1 -1
  141. package/dist/components/Notifications/NotificationItemControls.js +1 -1
  142. package/dist/components/Notifications/NotificationItemIcon.js +1 -1
  143. package/dist/components/Page/AccordionSection.js +1 -1
  144. package/dist/components/Page/ContactButtons.js +1 -1
  145. package/dist/components/Page/ContactSection.js +1 -1
  146. package/dist/components/Page/PageMenu.js +1 -1
  147. package/dist/components/Page/PageNav.js +1 -1
  148. package/dist/components/Page/Section.js +1 -1
  149. package/dist/components/Pagination/Pagination.js +1 -1
  150. package/dist/components/ResourceListItem/ResourceListItem.js +1 -1
  151. package/dist/components/RootProvider/RootProvider.js +1 -1
  152. package/dist/components/RootProvider/index.js +1 -1
  153. package/dist/components/Search/SearchItem.js +1 -1
  154. package/dist/components/Searchbar/Autocomplete.js +1 -1
  155. package/dist/components/Searchbar/AutocompleteItem.js +1 -1
  156. package/dist/components/Searchbar/Searchbar.js +1 -1
  157. package/dist/components/Searchbar/SearchbarField.js +1 -1
  158. package/dist/components/Settings/SettingsItem.js +1 -1
  159. package/dist/components/Settings/SettingsItemBase.js +1 -1
  160. package/dist/components/Settings/SettingsList.js +1 -1
  161. package/dist/components/Settings/SettingsListVirtual.js +1 -1
  162. package/dist/components/Settings/SettingsModal.js +1 -1
  163. package/dist/components/Settings/SettingsSection.js +1 -1
  164. package/dist/components/Settings/UsedByLog.js +1 -1
  165. package/dist/components/Settings/UsedByLogItem.js +1 -1
  166. package/dist/components/Snackbar/SnackbarItem.js +1 -1
  167. package/dist/components/Timeline/Timeline.js +1 -1
  168. package/dist/components/Timeline/TimelineActivity.js +1 -1
  169. package/dist/components/Timeline/TimelineBase.js +1 -1
  170. package/dist/components/Timeline/TimelineFooter.js +1 -1
  171. package/dist/components/Timeline/TimelineHeader.js +1 -1
  172. package/dist/components/Timeline/TimelineIcon.js +1 -1
  173. package/dist/components/Timeline/TimelineSection.js +1 -1
  174. package/dist/components/Timeline/TimelineSegment.js +1 -1
  175. package/dist/components/Toolbar/DatepickerFilter.js +1 -1
  176. package/dist/components/Toolbar/SelectDateFilter.js +1 -1
  177. package/dist/components/Toolbar/Toolbar.js +1 -1
  178. package/dist/components/Toolbar/ToolbarFilter.js +1 -1
  179. package/dist/components/Toolbar/ToolbarFilterAddMenu.js +1 -1
  180. package/dist/components/Toolbar/ToolbarFilterButton.js +1 -1
  181. package/dist/components/Toolbar/ToolbarFilterMenu.js +1 -1
  182. package/dist/components/Toolbar/ToolbarMenu.js +1 -1
  183. package/dist/components/Toolbar/ToolbarSearch.js +1 -1
  184. package/dist/components/Toolbar/index.js +1 -1
  185. package/dist/components/Transmission/Transmission.js +1 -1
  186. package/dist/components/Transmission/TransmissionList.js +1 -1
  187. package/dist/components/Transmission/TransmissionType.js +1 -1
  188. package/dist/components/Typography/Heading.js +1 -1
  189. package/dist/components/Typography/index.js +1 -1
  190. package/dist/components/UserListItem/UserListItem.js +1 -1
  191. package/dist/components/index.js +1 -1
  192. package/dist/hooks/useAccountSelector.js +1 -1
  193. package/dist/index.js +1 -1
  194. package/dist/types/lib/components/AuthEvidence/AuthEvidence.d.ts +11 -0
  195. package/dist/types/lib/components/AuthEvidence/AuthEvidence.stories.d.ts +65 -0
  196. package/dist/types/lib/components/AuthEvidence/AuthEvidenceItem.d.ts +18 -0
  197. package/dist/types/lib/components/AuthEvidence/AuthEvidenceOwner.d.ts +8 -0
  198. package/dist/types/lib/components/AuthEvidence/AuthEvidenceParent.d.ts +9 -0
  199. package/dist/types/lib/components/AuthEvidence/AuthEvidenceService.d.ts +7 -0
  200. package/dist/types/lib/components/AuthEvidence/index.d.ts +5 -0
  201. package/dist/types/lib/components/Dialog/DialogActivityLog.stories.d.ts +18 -0
  202. package/dist/types/lib/components/Dialog/DialogHeader.d.ts +1 -1
  203. package/dist/types/lib/components/Dialog/DialogHeader.stories.d.ts +1 -1
  204. package/dist/types/lib/components/Dialog/DialogListItem.d.ts +1 -1
  205. package/dist/types/lib/components/Dialog/DialogMetadata.d.ts +3 -1
  206. package/dist/types/lib/components/Dialog/DialogMetadata.stories.d.ts +3 -1
  207. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import { jsx as a, jsxs as I, Fragment as xe } from "react/jsx-runtime";
2
+ import { jsx as a, jsxs as x, Fragment as xe } from "react/jsx-runtime";
3
3
  import * as G from "react";
4
- import C, { forwardRef as Y, useRef as J, useState as oe, useMemo as le, useEffect as W, Fragment as He, useLayoutEffect as Ce, createContext as ot, useContext as at, isValidElement as Ge, useId as De, useCallback as qe, memo as Oe, createElement as st } from "react";
4
+ import k, { forwardRef as Y, useRef as Z, useState as oe, useMemo as ie, useEffect as W, Fragment as He, useLayoutEffect as Ce, createContext as ot, useContext as at, isValidElement as Ge, useId as De, useCallback as qe, memo as Oe, createElement as st } from "react";
5
5
  import "./tooltip-Ct39-719.js";
6
6
  import { c as V } from "./index-p1eeF8LQ.js";
7
- import { useEscapeKey as lt } from "./hooks/useEscapeKey.js";
7
+ import { useEscapeKey as it } from "./hooks/useEscapeKey.js";
8
8
  import "./components/Typography/Link.js";
9
9
  import { Button as ve } from "./components/Button/Button.js";
10
- import { createPortal as it } from "react-dom";
10
+ import { createPortal as lt } from "react-dom";
11
11
  import { useMenu as Me } from "./hooks/useMenu.js";
12
12
  import { Typography as Ke } from "./components/Typography/Typography.js";
13
13
  import { Skeleton as ue } from "./components/Skeleton/Skeleton.js";
@@ -47,11 +47,11 @@ import './assets/ToolbarSearch.css';var Nt = function(e, o) {
47
47
  const kt = Y((e, o) => {
48
48
  var { title: n, titleId: t } = e, r = Nt(e, ["title", "titleId"]);
49
49
  let s = Q();
50
- return s = n ? t || "title-" + s : void 0, C.createElement(
50
+ return s = n ? t || "title-" + s : void 0, k.createElement(
51
51
  "svg",
52
52
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
53
- n ? C.createElement("title", { id: s }, n) : null,
54
- C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4 3.25a.75.75 0 0 0-.75.75v3.5c0 .414.336.75.75.75h16a.75.75 0 0 0 .75-.75V4a.75.75 0 0 0-.75-.75zm15.5 6a.25.25 0 0 1 .25.25V19A1.75 1.75 0 0 1 18 20.75H6A1.75 1.75 0 0 1 4.25 19V9.5a.25.25 0 0 1 .25-.25zm-4.75 3.25a.75.75 0 0 1-.75.75h-4a.75.75 0 0 1 0-1.5h4a.75.75 0 0 1 .75.75", clipRule: "evenodd" })
53
+ n ? k.createElement("title", { id: s }, n) : null,
54
+ k.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4 3.25a.75.75 0 0 0-.75.75v3.5c0 .414.336.75.75.75h16a.75.75 0 0 0 .75-.75V4a.75.75 0 0 0-.75-.75zm15.5 6a.25.25 0 0 1 .25.25V19A1.75 1.75 0 0 1 18 20.75H6A1.75 1.75 0 0 1 4.25 19V9.5a.25.25 0 0 1 .25-.25zm-4.75 3.25a.75.75 0 0 1-.75.75h-4a.75.75 0 0 1 0-1.5h4a.75.75 0 0 1 .75.75", clipRule: "evenodd" })
55
55
  );
56
56
  });
57
57
  var Ct = function(e, o) {
@@ -65,11 +65,11 @@ var Ct = function(e, o) {
65
65
  const Et = Y((e, o) => {
66
66
  var { title: n, titleId: t } = e, r = Ct(e, ["title", "titleId"]);
67
67
  let s = Q();
68
- return s = n ? t || "title-" + s : void 0, C.createElement(
68
+ return s = n ? t || "title-" + s : void 0, k.createElement(
69
69
  "svg",
70
70
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
71
- n ? C.createElement("title", { id: s }, n) : null,
72
- C.createElement("path", { fill: "currentColor", d: "M12.75 5a.75.75 0 0 0-1.5 0v12.19l-3.22-3.22a.75.75 0 0 0-1.06 1.06l4.5 4.5a.75.75 0 0 0 1.06 0l4.5-4.5a.75.75 0 1 0-1.06-1.06l-3.22 3.22z" })
71
+ n ? k.createElement("title", { id: s }, n) : null,
72
+ k.createElement("path", { fill: "currentColor", d: "M12.75 5a.75.75 0 0 0-1.5 0v12.19l-3.22-3.22a.75.75 0 0 0-1.06 1.06l4.5 4.5a.75.75 0 0 0 1.06 0l4.5-4.5a.75.75 0 1 0-1.06-1.06l-3.22 3.22z" })
73
73
  );
74
74
  });
75
75
  var St = function(e, o) {
@@ -83,11 +83,11 @@ var St = function(e, o) {
83
83
  const Qe = Y((e, o) => {
84
84
  var { title: n, titleId: t } = e, r = St(e, ["title", "titleId"]);
85
85
  let s = Q();
86
- return s = n ? t || "title-" + s : void 0, C.createElement(
86
+ return s = n ? t || "title-" + s : void 0, k.createElement(
87
87
  "svg",
88
88
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
89
- n ? C.createElement("title", { id: s }, n) : null,
90
- C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M18.998 6.94a.75.75 0 0 1 .063 1.058l-8 9a.75.75 0 0 1-1.091.032l-5-5a.75.75 0 1 1 1.06-1.06l4.438 4.437 7.471-8.405A.75.75 0 0 1 19 6.939", clipRule: "evenodd" })
89
+ n ? k.createElement("title", { id: s }, n) : null,
90
+ k.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M18.998 6.94a.75.75 0 0 1 .063 1.058l-8 9a.75.75 0 0 1-1.091.032l-5-5a.75.75 0 1 1 1.06-1.06l4.438 4.437 7.471-8.405A.75.75 0 0 1 19 6.939", clipRule: "evenodd" })
91
91
  );
92
92
  });
93
93
  var Rt = function(e, o) {
@@ -101,11 +101,11 @@ var Rt = function(e, o) {
101
101
  const zt = Y((e, o) => {
102
102
  var { title: n, titleId: t } = e, r = Rt(e, ["title", "titleId"]);
103
103
  let s = Q();
104
- return s = n ? t || "title-" + s : void 0, C.createElement(
104
+ return s = n ? t || "title-" + s : void 0, k.createElement(
105
105
  "svg",
106
106
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
107
- n ? C.createElement("title", { id: s }, n) : null,
108
- C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M9.47 5.97a.75.75 0 0 1 1.06 0l5.5 5.5a.75.75 0 0 1 0 1.06l-5.5 5.5a.75.75 0 1 1-1.06-1.06L14.44 12 9.47 7.03a.75.75 0 0 1 0-1.06", clipRule: "evenodd" })
107
+ n ? k.createElement("title", { id: s }, n) : null,
108
+ k.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M9.47 5.97a.75.75 0 0 1 1.06 0l5.5 5.5a.75.75 0 0 1 0 1.06l-5.5 5.5a.75.75 0 1 1-1.06-1.06L14.44 12 9.47 7.03a.75.75 0 0 1 0-1.06", clipRule: "evenodd" })
109
109
  );
110
110
  });
111
111
  var Pt = function(e, o) {
@@ -119,11 +119,11 @@ var Pt = function(e, o) {
119
119
  const Be = Y((e, o) => {
120
120
  var { title: n, titleId: t } = e, r = Pt(e, ["title", "titleId"]);
121
121
  let s = Q();
122
- return s = n ? t || "title-" + s : void 0, C.createElement(
122
+ return s = n ? t || "title-" + s : void 0, k.createElement(
123
123
  "svg",
124
124
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
125
- n ? C.createElement("title", { id: s }, n) : null,
126
- C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M12.53 4.47a.75.75 0 0 0-1.06 0l-3.5 3.5a.75.75 0 0 0 1.06 1.06L12 6.06l2.97 2.97a.75.75 0 1 0 1.06-1.06zm-3.5 10.5a.75.75 0 0 0-1.06 1.06l3.5 3.5a.75.75 0 0 0 1.06 0l3.5-3.5a.75.75 0 1 0-1.06-1.06L12 17.94z", clipRule: "evenodd" })
125
+ n ? k.createElement("title", { id: s }, n) : null,
126
+ k.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M12.53 4.47a.75.75 0 0 0-1.06 0l-3.5 3.5a.75.75 0 0 0 1.06 1.06L12 6.06l2.97 2.97a.75.75 0 1 0 1.06-1.06zm-3.5 10.5a.75.75 0 0 0-1.06 1.06l3.5 3.5a.75.75 0 0 0 1.06 0l3.5-3.5a.75.75 0 1 0-1.06-1.06L12 17.94z", clipRule: "evenodd" })
127
127
  );
128
128
  });
129
129
  var Mt = function(e, o) {
@@ -137,11 +137,11 @@ var Mt = function(e, o) {
137
137
  const $t = Y((e, o) => {
138
138
  var { title: n, titleId: t } = e, r = Mt(e, ["title", "titleId"]);
139
139
  let s = Q();
140
- return s = n ? t || "title-" + s : void 0, C.createElement(
140
+ return s = n ? t || "title-" + s : void 0, k.createElement(
141
141
  "svg",
142
142
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
143
- n ? C.createElement("title", { id: s }, n) : null,
144
- C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.5 1.75a.75.75 0 0 1 .75.75v2.464a9.75 9.75 0 1 1 12.342 15.023.75.75 0 1 1-.86-1.229A8.251 8.251 0 1 0 6.084 6.25H9a.75.75 0 0 1 0 1.5H4.5A.75.75 0 0 1 3.75 7V2.5a.75.75 0 0 1 .75-.75M12.75 6a.75.75 0 0 0-1.5 0v6c0 .199.079.39.22.53l2.5 2.5a.75.75 0 1 0 1.06-1.06l-2.28-2.28zM3 11.25a.75.75 0 0 1 .75.75q0 .66.105 1.31a.75.75 0 0 1-1.481.24A10 10 0 0 1 2.25 12a.75.75 0 0 1 .75-.75m1.855 4.875a.75.75 0 0 0-1.299.75q.39.675.882 1.28a.75.75 0 1 0 1.163-.947 8 8 0 0 1-.746-1.083m1.995 3.294a.75.75 0 0 1 1.025-.274q.57.33 1.188.564a.75.75 0 1 1-.535 1.402 10 10 0 0 1-1.403-.667.75.75 0 0 1-.275-1.025m6.7 2.207a.75.75 0 1 0-.24-1.48q-.65.104-1.31.104a.75.75 0 0 0 0 1.5q.78 0 1.55-.124", clipRule: "evenodd" })
143
+ n ? k.createElement("title", { id: s }, n) : null,
144
+ k.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.5 1.75a.75.75 0 0 1 .75.75v2.464a9.75 9.75 0 1 1 12.342 15.023.75.75 0 1 1-.86-1.229A8.251 8.251 0 1 0 6.084 6.25H9a.75.75 0 0 1 0 1.5H4.5A.75.75 0 0 1 3.75 7V2.5a.75.75 0 0 1 .75-.75M12.75 6a.75.75 0 0 0-1.5 0v6c0 .199.079.39.22.53l2.5 2.5a.75.75 0 1 0 1.06-1.06l-2.28-2.28zM3 11.25a.75.75 0 0 1 .75.75q0 .66.105 1.31a.75.75 0 0 1-1.481.24A10 10 0 0 1 2.25 12a.75.75 0 0 1 .75-.75m1.855 4.875a.75.75 0 0 0-1.299.75q.39.675.882 1.28a.75.75 0 1 0 1.163-.947 8 8 0 0 1-.746-1.083m1.995 3.294a.75.75 0 0 1 1.025-.274q.57.33 1.188.564a.75.75 0 1 1-.535 1.402 10 10 0 0 1-1.403-.667.75.75 0 0 1-.275-1.025m6.7 2.207a.75.75 0 1 0-.24-1.48q-.65.104-1.31.104a.75.75 0 0 0 0 1.5q.78 0 1.55-.124", clipRule: "evenodd" })
145
145
  );
146
146
  });
147
147
  var jt = function(e, o) {
@@ -155,11 +155,11 @@ var jt = function(e, o) {
155
155
  const At = Y((e, o) => {
156
156
  var { title: n, titleId: t } = e, r = jt(e, ["title", "titleId"]);
157
157
  let s = Q();
158
- return s = n ? t || "title-" + s : void 0, C.createElement(
158
+ return s = n ? t || "title-" + s : void 0, k.createElement(
159
159
  "svg",
160
160
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
161
- n ? C.createElement("title", { id: s }, n) : null,
162
- C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M8.25 3.5c0-.69.56-1.25 1.25-1.25H14a.75.75 0 0 1 .53.22l5 5c.141.14.22.331.22.53v8.5c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25zm6.25 5.25c-.69 0-1.25-.56-1.25-1.25V3.75h-3.5v12.5h8.5v-7.5zm.25-3.94 2.44 2.44h-2.44zM6.502 7.75H5.75v12.5h8.5v-.748a.75.75 0 0 1 1.5 0v.998c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25v-13c0-.69.56-1.25 1.25-1.25h1.002a.75.75 0 1 1 0 1.5", clipRule: "evenodd" })
161
+ n ? k.createElement("title", { id: s }, n) : null,
162
+ k.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M8.25 3.5c0-.69.56-1.25 1.25-1.25H14a.75.75 0 0 1 .53.22l5 5c.141.14.22.331.22.53v8.5c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25zm6.25 5.25c-.69 0-1.25-.56-1.25-1.25V3.75h-3.5v12.5h8.5v-7.5zm.25-3.94 2.44 2.44h-2.44zM6.502 7.75H5.75v12.5h8.5v-.748a.75.75 0 0 1 1.5 0v.998c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25v-13c0-.69.56-1.25 1.25-1.25h1.002a.75.75 0 1 1 0 1.5", clipRule: "evenodd" })
163
163
  );
164
164
  });
165
165
  var Dt = function(e, o) {
@@ -173,11 +173,11 @@ var Dt = function(e, o) {
173
173
  const Bt = Y((e, o) => {
174
174
  var { title: n, titleId: t } = e, r = Dt(e, ["title", "titleId"]);
175
175
  let s = Q();
176
- return s = n ? t || "title-" + s : void 0, C.createElement(
176
+ return s = n ? t || "title-" + s : void 0, k.createElement(
177
177
  "svg",
178
178
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
179
- n ? C.createElement("title", { id: s }, n) : null,
180
- C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.5 3.25a7.25 7.25 0 1 0 4.569 12.88l5.411 5.41a.75.75 0 1 0 1.06-1.06l-5.41-5.411A7.25 7.25 0 0 0 10.5 3.25M4.75 10.5a5.75 5.75 0 1 1 11.5 0 5.75 5.75 0 0 1-11.5 0", clipRule: "evenodd" })
179
+ n ? k.createElement("title", { id: s }, n) : null,
180
+ k.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.5 3.25a7.25 7.25 0 1 0 4.569 12.88l5.411 5.41a.75.75 0 1 0 1.06-1.06l-5.41-5.411A7.25 7.25 0 0 0 10.5 3.25M4.75 10.5a5.75 5.75 0 1 1 11.5 0 5.75 5.75 0 0 1-11.5 0", clipRule: "evenodd" })
181
181
  );
182
182
  });
183
183
  var Tt = function(e, o) {
@@ -191,11 +191,11 @@ var Tt = function(e, o) {
191
191
  const Lt = Y((e, o) => {
192
192
  var { title: n, titleId: t } = e, r = Tt(e, ["title", "titleId"]);
193
193
  let s = Q();
194
- return s = n ? t || "title-" + s : void 0, C.createElement(
194
+ return s = n ? t || "title-" + s : void 0, k.createElement(
195
195
  "svg",
196
196
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
197
- n ? C.createElement("title", { id: s }, n) : null,
198
- C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.75 12a.75.75 0 0 1 .75-.75h13a.75.75 0 1 1 0 1.5h-13a.75.75 0 0 1-.75-.75", clipRule: "evenodd" })
197
+ n ? k.createElement("title", { id: s }, n) : null,
198
+ k.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.75 12a.75.75 0 0 1 .75-.75h13a.75.75 0 1 1 0 1.5h-13a.75.75 0 0 1-.75-.75", clipRule: "evenodd" })
199
199
  );
200
200
  });
201
201
  var Ft = function(e, o) {
@@ -209,11 +209,11 @@ var Ft = function(e, o) {
209
209
  const Ht = Y((e, o) => {
210
210
  var { title: n, titleId: t } = e, r = Ft(e, ["title", "titleId"]);
211
211
  let s = Q();
212
- return s = n ? t || "title-" + s : void 0, C.createElement(
212
+ return s = n ? t || "title-" + s : void 0, k.createElement(
213
213
  "svg",
214
214
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
215
- n ? C.createElement("title", { id: s }, n) : null,
216
- C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M10 4.75c-.69 0-1.25.56-1.25 1.25v.25h6.5V6c0-.69-.56-1.25-1.25-1.25zm6.75 1.5V6A2.75 2.75 0 0 0 14 3.25h-4A2.75 2.75 0 0 0 7.25 6v.25H4.5a.75.75 0 0 0 0 1.5h.805l.876 11.384a1.75 1.75 0 0 0 1.745 1.616h8.148a1.75 1.75 0 0 0 1.745-1.616l.875-11.384h.806a.75.75 0 0 0 0-1.5h-2.75m-6 4.25a.75.75 0 0 0-1.5 0v6a.75.75 0 0 0 1.5 0zM14 9.75a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 .75-.75", clipRule: "evenodd" })
215
+ n ? k.createElement("title", { id: s }, n) : null,
216
+ k.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M10 4.75c-.69 0-1.25.56-1.25 1.25v.25h6.5V6c0-.69-.56-1.25-1.25-1.25zm6.75 1.5V6A2.75 2.75 0 0 0 14 3.25h-4A2.75 2.75 0 0 0 7.25 6v.25H4.5a.75.75 0 0 0 0 1.5h.805l.876 11.384a1.75 1.75 0 0 0 1.745 1.616h8.148a1.75 1.75 0 0 0 1.745-1.616l.875-11.384h.806a.75.75 0 0 0 0-1.5h-2.75m-6 4.25a.75.75 0 0 0-1.5 0v6a.75.75 0 0 0 1.5 0zM14 9.75a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 .75-.75", clipRule: "evenodd" })
217
217
  );
218
218
  });
219
219
  var Gt = function(e, o) {
@@ -227,48 +227,48 @@ var Gt = function(e, o) {
227
227
  const Ae = Y((e, o) => {
228
228
  var { title: n, titleId: t } = e, r = Gt(e, ["title", "titleId"]);
229
229
  let s = Q();
230
- return s = n ? t || "title-" + s : void 0, C.createElement(
230
+ return s = n ? t || "title-" + s : void 0, k.createElement(
231
231
  "svg",
232
232
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
233
- n ? C.createElement("title", { id: s }, n) : null,
234
- C.createElement("path", { fill: "currentColor", d: "M6.53 5.47a.75.75 0 0 0-1.06 1.06L10.94 12l-5.47 5.47a.75.75 0 1 0 1.06 1.06L12 13.06l5.47 5.47a.75.75 0 1 0 1.06-1.06L13.06 12l5.47-5.47a.75.75 0 0 0-1.06-1.06L12 10.94z" })
233
+ n ? k.createElement("title", { id: s }, n) : null,
234
+ k.createElement("path", { fill: "currentColor", d: "M6.53 5.47a.75.75 0 0 0-1.06 1.06L10.94 12l-5.47 5.47a.75.75 0 1 0 1.06 1.06L12 13.06l5.47 5.47a.75.75 0 1 0 1.06-1.06L13.06 12l5.47-5.47a.75.75 0 0 0-1.06-1.06L12 10.94z" })
235
235
  );
236
236
  }), qt = "_badge_5li3b_1", Kt = "_label_5li3b_33", ye = {
237
237
  badge: qt,
238
238
  label: Kt
239
- }, te = ({
239
+ }, re = ({
240
240
  label: e,
241
241
  color: o,
242
242
  variant: n = "subtle",
243
243
  theme: t,
244
244
  size: r = "sm",
245
245
  tooltip: s,
246
- className: u,
247
- style: f,
248
- children: i
246
+ className: f,
247
+ style: p,
248
+ children: l
249
249
  }) => s ? /* @__PURE__ */ a($e, { content: s, children: /* @__PURE__ */ a(
250
250
  "span",
251
251
  {
252
- className: V(ye.badge, u),
253
- style: f,
252
+ className: V(ye.badge, f),
253
+ style: p,
254
254
  "data-color": o,
255
255
  "data-variant": n,
256
256
  "data-theme": t,
257
257
  "data-size": r,
258
258
  ...r === "xs" && { "aria-hidden": !0 },
259
- children: /* @__PURE__ */ a("span", { className: ye.label, children: e || i })
259
+ children: /* @__PURE__ */ a("span", { className: ye.label, children: e || l })
260
260
  }
261
261
  ) }) : /* @__PURE__ */ a(
262
262
  "span",
263
263
  {
264
- className: V(ye.badge, u),
265
- style: f,
264
+ className: V(ye.badge, f),
265
+ style: p,
266
266
  "data-color": o,
267
267
  "data-variant": n,
268
268
  "data-theme": t,
269
269
  "data-size": r,
270
270
  ...r === "xs" && { "aria-hidden": !0 },
271
- children: /* @__PURE__ */ a("span", { className: ye.label, children: e || i })
271
+ children: /* @__PURE__ */ a("span", { className: ye.label, children: e || l })
272
272
  }
273
273
  ), Vt = "_icon_1y3dz_1", Ut = "_shape_1y3dz_9", Wt = "_svg_1y3dz_14", Yt = "_image_1y3dz_15", fe = {
274
274
  icon: Vt,
@@ -282,15 +282,15 @@ const Ae = Y((e, o) => {
282
282
  size: t,
283
283
  color: r,
284
284
  iconUrl: s,
285
- className: u,
286
- style: f,
287
- children: i
288
- }) => /* @__PURE__ */ a("span", { "data-ui": "icon", "data-size": t, "data-color": r, className: V(fe.icon, u), style: f, children: /* @__PURE__ */ I(ue, { loading: e, variant: "circle", className: fe.shape, children: [
285
+ className: f,
286
+ style: p,
287
+ children: l
288
+ }) => /* @__PURE__ */ a("span", { "data-ui": "icon", "data-size": t, "data-color": r, className: V(fe.icon, f), style: p, children: /* @__PURE__ */ x(ue, { loading: e, variant: "circle", className: fe.shape, children: [
289
289
  /* @__PURE__ */ a("span", { className: fe.shape }),
290
290
  n && /* @__PURE__ */ a(n, { "aria-hidden": "true", "alt-label": o, className: fe.svg }),
291
291
  s && /* @__PURE__ */ a("img", { src: s, alt: o, className: fe.image }),
292
- i
293
- ] }) }), Qt = ({ size: e, color: o, label: n, htmlFor: t, helperText: r, children: s, ...u }) => /* @__PURE__ */ I(mt, { size: e, color: o, ...u, children: [
292
+ l
293
+ ] }) }), Qt = ({ size: e, color: o, label: n, htmlFor: t, helperText: r, children: s, ...f }) => /* @__PURE__ */ x(mt, { size: e, color: o, ...f, children: [
294
294
  n && /* @__PURE__ */ a(ft, { size: e, htmlFor: t, children: n }),
295
295
  s,
296
296
  r && /* @__PURE__ */ a(Ke, { size: "xs", children: r })
@@ -304,21 +304,21 @@ const Ae = Y((e, o) => {
304
304
  value: t,
305
305
  placeholder: r = "Search",
306
306
  clearButtonAltText: s = "Clear search",
307
- onChange: u,
308
- onClear: f,
309
- onNavigate: i,
307
+ onChange: f,
308
+ onClear: p,
309
+ onNavigate: l,
310
310
  combobox: c = !1,
311
- listId: _,
312
- "aria-activedescendant": l,
311
+ listId: y,
312
+ "aria-activedescendant": i,
313
313
  onKeyDown: b,
314
- onInput: p,
315
- onFocus: w,
316
- ...z
314
+ onInput: h,
315
+ onFocus: _,
316
+ ...P
317
317
  }) => /* @__PURE__ */ a("li", { className: ke.search, style: e, "data-index": o, "data-menu-search": "true", children: c ? (
318
318
  // biome-ignore lint/a11y/useFocusableInteractive: <explanation>
319
319
  // biome-ignore lint/a11y/useAriaPropsForRole: <explanation>
320
320
  // biome-ignore lint/a11y/useSemanticElements: <explanation>
321
- /* @__PURE__ */ a("div", { role: "combobox", "aria-expanded": !0, "aria-haspopup": "listbox", "aria-owns": _, children: /* @__PURE__ */ a(
321
+ /* @__PURE__ */ a("div", { role: "combobox", "aria-expanded": !0, "aria-haspopup": "listbox", "aria-owns": y, children: /* @__PURE__ */ a(
322
322
  Pe,
323
323
  {
324
324
  size: "xs",
@@ -326,22 +326,22 @@ const Ae = Y((e, o) => {
326
326
  name: n,
327
327
  value: t,
328
328
  placeholder: r,
329
- onChange: u,
330
- onClear: f,
329
+ onChange: f,
330
+ onClear: p,
331
331
  clearButtonAltText: s,
332
332
  autoComplete: "off",
333
333
  autoCorrect: "off",
334
334
  autoCapitalize: "off",
335
335
  "aria-autocomplete": "list",
336
- "aria-controls": _,
337
- "aria-activedescendant": l,
336
+ "aria-controls": y,
337
+ "aria-activedescendant": i,
338
338
  autoFocus: !0,
339
- onKeyDown: (h) => {
340
- (h.key === "ArrowUp" || h.key === "ArrowDown") && (h.preventDefault(), i?.()), b?.(h);
339
+ onKeyDown: (v) => {
340
+ (v.key === "ArrowUp" || v.key === "ArrowDown") && (v.preventDefault(), l?.()), b?.(v);
341
341
  },
342
- onInput: p,
343
- onFocus: w,
344
- ...z
342
+ onInput: h,
343
+ onFocus: _,
344
+ ...P
345
345
  }
346
346
  ) })
347
347
  ) : /* @__PURE__ */ a(
@@ -352,19 +352,19 @@ const Ae = Y((e, o) => {
352
352
  name: n,
353
353
  value: t,
354
354
  placeholder: r,
355
- onChange: u,
356
- onClear: f,
355
+ onChange: f,
356
+ onClear: p,
357
357
  clearButtonAltText: s,
358
358
  autoComplete: "off",
359
359
  autoCorrect: "off",
360
360
  autoCapitalize: "off",
361
361
  autoFocus: !0,
362
- onKeyDown: (h) => {
363
- (h.key === "ArrowUp" || h.key === "ArrowDown") && (h.preventDefault(), i?.()), b?.(h);
362
+ onKeyDown: (v) => {
363
+ (v.key === "ArrowUp" || v.key === "ArrowDown") && (v.preventDefault(), l?.()), b?.(v);
364
364
  },
365
- onInput: p,
366
- onFocus: w,
367
- ...z
365
+ onInput: h,
366
+ onFocus: _,
367
+ ...P
368
368
  }
369
369
  ) }), Je = ({
370
370
  level: e = 0,
@@ -373,134 +373,134 @@ const Ae = Y((e, o) => {
373
373
  a11yMode: t = "menu",
374
374
  open: r,
375
375
  scrollToTopOnOpen: s = !1,
376
- autoActivateFirstItem: u = !0,
377
- autoFocusList: f = !0,
378
- announceNoResults: i = !1,
376
+ autoActivateFirstItem: f = !0,
377
+ autoFocusList: p = !0,
378
+ announceNoResults: l = !1,
379
379
  search: c,
380
- items: _,
381
- groups: l = {},
380
+ items: y,
381
+ groups: i = {},
382
382
  size: b,
383
- id: p,
384
- color: w,
385
- variant: z,
386
- scrollRefStyles: h = {},
387
- keyboardEvents: N = !1,
388
- onSelect: A = () => {
383
+ id: h,
384
+ color: _,
385
+ variant: P,
386
+ scrollRefStyles: v = {},
387
+ keyboardEvents: I = !1,
388
+ onSelect: D = () => {
389
389
  },
390
- onActiveItemIdChange: R
390
+ onActiveItemIdChange: C
391
391
  }) => {
392
392
  if (o && e >= o)
393
393
  return null;
394
- const y = t === "combobox", v = y && p ? `${p}-listbox` : p, S = J(r), P = J(r), [D, M] = oe(!1), $ = le(
395
- () => _.map((d, k) => ({
396
- ...d,
397
- id: d.id || `${p}-item-${k}`
394
+ const O = t === "combobox", d = O && h ? `${h}-listbox` : h, R = Z(r), M = Z(r), [A, j] = oe(!1), z = ie(
395
+ () => y.map((m, N) => ({
396
+ ...m,
397
+ id: m.id || `${h}-item-${N}`
398
398
  })),
399
- [_, p]
400
- ), j = J(null), { menu: E, setActiveIndex: O, activeItem: m } = Me({
401
- items: $,
402
- groups: l,
399
+ [y, h]
400
+ ), $ = Z(null), { menu: E, setActiveIndex: S, activeItem: u } = Me({
401
+ items: z,
402
+ groups: i,
403
403
  groupByKey: "groupId",
404
- keyboardEvents: N,
405
- autoActivateFirstItem: u,
406
- onSelect: A,
407
- ref: j
404
+ keyboardEvents: I,
405
+ autoActivateFirstItem: f,
406
+ onSelect: D,
407
+ ref: $
408
408
  });
409
409
  return W(() => {
410
- R?.(m?.id);
411
- }, [m?.id, R]), W(() => {
410
+ C?.(u?.id);
411
+ }, [u?.id, C]), W(() => {
412
412
  if (!s) {
413
- S.current = r;
413
+ R.current = r;
414
414
  return;
415
415
  }
416
- const d = S.current;
417
- S.current = r, r && !d && j.current?.scrollTo({ top: 0 });
416
+ const m = R.current;
417
+ R.current = r, r && !m && $.current?.scrollTo({ top: 0 });
418
418
  }, [r, s]), W(() => {
419
- const d = P.current;
420
- P.current = r, !(!N || c || !f) && r && !d && requestAnimationFrame(() => j.current?.focus?.({ preventScroll: !0 }));
421
- }, [r, N, c]), W(() => {
422
- if (y && i) {
423
- O(0), M(!0);
419
+ const m = M.current;
420
+ M.current = r, !(!I || c || !p) && r && !m && requestAnimationFrame(() => $.current?.focus?.({ preventScroll: !0 }));
421
+ }, [r, I, c]), W(() => {
422
+ if (O && l) {
423
+ S(0), j(!0);
424
424
  return;
425
425
  }
426
- }, [i, y, O]), /* @__PURE__ */ I(
426
+ }, [l, O, S]), /* @__PURE__ */ x(
427
427
  Ie,
428
428
  {
429
- variant: z,
429
+ variant: P,
430
430
  expanded: n,
431
- ref: j,
432
- style: h,
433
- id: v,
434
- role: y ? "listbox" : void 0,
435
- tabIndex: N ? -1 : void 0,
431
+ ref: $,
432
+ style: v,
433
+ id: d,
434
+ role: O ? "listbox" : void 0,
435
+ tabIndex: I ? -1 : void 0,
436
436
  children: [
437
437
  c && /* @__PURE__ */ a(
438
438
  Xe,
439
439
  {
440
440
  ...c,
441
- combobox: y,
442
- listId: v,
443
- "aria-activedescendant": y && D ? m?.id : void 0,
444
- onNavigate: y ? () => M(!0) : void 0,
445
- onChange: (d) => {
446
- M(!1), c.onChange?.(d);
441
+ combobox: O,
442
+ listId: d,
443
+ "aria-activedescendant": O && A ? u?.id : void 0,
444
+ onNavigate: O ? () => j(!0) : void 0,
445
+ onChange: (m) => {
446
+ j(!1), c.onChange?.(m);
447
447
  },
448
- onFocus: (d) => {
449
- M(!1), c.onFocus?.(d);
448
+ onFocus: (m) => {
449
+ j(!1), c.onFocus?.(m);
450
450
  },
451
- onInput: (d) => {
452
- M(!1), c.onInput?.(d);
451
+ onInput: (m) => {
452
+ j(!1), c.onInput?.(m);
453
453
  },
454
- onKeyDown: (d) => {
455
- const k = d.key === "ArrowUp" || d.key === "ArrowDown", F = d.key.length === 1 || d.key === "Backspace" || d.key === "Delete";
456
- y && !k && F && M(!1), c.onKeyDown?.(d);
454
+ onKeyDown: (m) => {
455
+ const N = m.key === "ArrowUp" || m.key === "ArrowDown", L = m.key.length === 1 || m.key === "Backspace" || m.key === "Delete";
456
+ O && !N && L && j(!1), c.onKeyDown?.(m);
457
457
  }
458
458
  }
459
459
  ),
460
- E.map((d, k) => {
461
- const F = d?.props || {}, { title: H, hidden: L = !1, divider: q = !0 } = F;
462
- return /* @__PURE__ */ I(He, { children: [
463
- (e > 0 || k) && q ? /* @__PURE__ */ a(We, {}) : "",
464
- /* @__PURE__ */ a(Ue, { hidden: L, children: /* @__PURE__ */ I(Ie, { role: "presentation", children: [
465
- H && /* @__PURE__ */ a(Ye, { title: H, level: e }),
466
- d?.items.filter((ne) => !ne.props?.hidden).map((ne, g) => {
467
- const { active: x, onMouseEnter: T } = ne, { groupId: U, ...B } = ne.props || {}, { expanded: re } = B, ie = Array.isArray(B?.items) && B.items.length > 0, ge = B.role === "checkbox" || B.role === "radio", Ne = y && !ge ? "option" : B.role;
468
- return /* @__PURE__ */ I(
460
+ E.map((m, N) => {
461
+ const L = m?.props || {}, { title: F, hidden: H = !1, divider: q = !0 } = L;
462
+ return /* @__PURE__ */ x(He, { children: [
463
+ (e > 0 || N) && q ? /* @__PURE__ */ a(We, {}) : "",
464
+ /* @__PURE__ */ a(Ue, { hidden: H, children: /* @__PURE__ */ x(Ie, { role: "presentation", children: [
465
+ F && /* @__PURE__ */ a(Ye, { title: F, level: e }),
466
+ m?.items.filter((ee) => !ee.props?.hidden).map((ee, g) => {
467
+ const { active: w, onMouseEnter: B } = ee, { groupId: U, ...T } = ee.props || {}, { expanded: X } = T, le = Array.isArray(T?.items) && T.items.length > 0, ge = T.role === "checkbox" || T.role === "radio", Ne = O && !ge ? "option" : T.role;
468
+ return /* @__PURE__ */ x(
469
469
  Ve,
470
470
  {
471
- expanded: re,
472
- onMouseLeave: () => O(-1),
473
- role: y || ge ? "presentation" : void 0,
471
+ expanded: X,
472
+ onMouseLeave: () => S(-1),
473
+ role: O || ge ? "presentation" : void 0,
474
474
  children: [
475
475
  /* @__PURE__ */ a(
476
476
  tt,
477
477
  {
478
- ...B,
479
- size: B?.size || F?.size || b,
480
- color: B?.color || F?.color || w,
481
- variant: B?.variant || F?.variant || z,
482
- active: x,
478
+ ...T,
479
+ size: T?.size || L?.size || b,
480
+ color: T?.color || L?.color || _,
481
+ variant: T?.variant || L?.variant || P,
482
+ active: w,
483
483
  role: Ne,
484
- selected: B.selected,
485
- tabIndex: B?.disabled || N ? -1 : B.tabIndex ?? 0,
486
- onMouseEnter: T,
487
- "aria-haspopup": ie ? "menu" : void 0,
488
- "aria-expanded": ie ? re : void 0,
489
- "aria-controls": ie ? B.id + "-menu" : void 0
484
+ selected: T.selected,
485
+ tabIndex: T?.disabled || I ? -1 : T.tabIndex ?? 0,
486
+ onMouseEnter: B,
487
+ "aria-haspopup": le ? "menu" : void 0,
488
+ "aria-expanded": le ? X : void 0,
489
+ "aria-controls": le ? T.id + "-menu" : void 0
490
490
  }
491
491
  ),
492
- re && B?.items && /* @__PURE__ */ a(
492
+ X && T?.items && /* @__PURE__ */ a(
493
493
  Je,
494
494
  {
495
- id: B.id + "-menu",
496
- expanded: re,
495
+ id: T.id + "-menu",
496
+ expanded: X,
497
497
  level: e + 1,
498
498
  maxLevels: o,
499
- items: B?.items,
500
- groups: l,
499
+ items: T?.items,
500
+ groups: i,
501
501
  size: b,
502
- color: w,
503
- variant: z
502
+ color: _,
503
+ variant: P
504
504
  }
505
505
  )
506
506
  ]
@@ -508,147 +508,147 @@ const Ae = Y((e, o) => {
508
508
  g
509
509
  );
510
510
  })
511
- ] }) }, k)
512
- ] }, k);
511
+ ] }) }, N)
512
+ ] }, N);
513
513
  })
514
514
  ]
515
515
  }
516
516
  );
517
517
  }, Zt = (e) => {
518
- const o = J(null), n = J(null), [t, r] = oe(0), {
518
+ const o = Z(null), n = Z(null), [t, r] = oe(0), {
519
519
  search: s,
520
- items: u,
521
- groups: f = {},
522
- size: i,
520
+ items: f,
521
+ groups: p = {},
522
+ size: l,
523
523
  color: c,
524
- variant: _,
525
- keyboardEvents: l,
524
+ variant: y,
525
+ keyboardEvents: i,
526
526
  scrollRefStyles: b = {},
527
- id: p,
528
- expanded: w,
529
- a11yMode: z = "menu",
530
- open: h,
531
- scrollToTopOnOpen: N = !1,
532
- autoActivateFirstItem: A = !0,
533
- announceNoResults: R = !1,
534
- onActiveItemIdChange: y
535
- } = e, v = z === "combobox", S = v && p ? `${p}-listbox` : p, P = J(h), [D, M] = oe(!1), $ = le(
536
- () => u.map((g, x) => ({
527
+ id: h,
528
+ expanded: _,
529
+ a11yMode: P = "menu",
530
+ open: v,
531
+ scrollToTopOnOpen: I = !1,
532
+ autoActivateFirstItem: D = !0,
533
+ announceNoResults: C = !1,
534
+ onActiveItemIdChange: O
535
+ } = e, d = P === "combobox", R = d && h ? `${h}-listbox` : h, M = Z(v), [A, j] = oe(!1), z = ie(
536
+ () => f.map((g, w) => ({
537
537
  ...g,
538
- id: g.id || `${p}-item-${x}`
538
+ id: g.id || `${h}-item-${w}`
539
539
  })),
540
- [u, p]
541
- ), { menu: j, activeItem: E, setActiveIndex: O, activeIndex: m } = Me({
542
- items: $,
543
- groups: f,
540
+ [f, h]
541
+ ), { menu: $, activeItem: E, setActiveIndex: S, activeIndex: u } = Me({
542
+ items: z,
543
+ groups: p,
544
544
  groupByKey: "groupId",
545
- keyboardEvents: l,
546
- autoActivateFirstItem: A,
545
+ keyboardEvents: i,
546
+ autoActivateFirstItem: D,
547
547
  ref: o
548
- }), { flatMenu: d, virtualizer: k, scrollMaxHeight: F } = vt({
549
- menu: j,
548
+ }), { flatMenu: m, virtualizer: N, scrollMaxHeight: L } = vt({
549
+ menu: $,
550
550
  scrollRef: o
551
551
  });
552
552
  Ce(() => {
553
553
  const g = n.current;
554
554
  if (!g) return;
555
- const x = Math.round(g.offsetTop);
556
- r((T) => T === x ? T : x);
555
+ const w = Math.round(g.offsetTop);
556
+ r((B) => B === w ? B : w);
557
557
  });
558
- const H = le(() => {
558
+ const F = ie(() => {
559
559
  const g = E?.id;
560
560
  if (g)
561
- return d.findIndex((T) => T.type === "item" && T.itemProps?.id === g);
562
- if (m < 0) return -1;
563
- let x = -1;
564
- for (let T = 0; T < d.length; T++)
565
- if (d[T]?.type === "item" && (x += 1, x === m))
566
- return T;
561
+ return m.findIndex((B) => B.type === "item" && B.itemProps?.id === g);
562
+ if (u < 0) return -1;
563
+ let w = -1;
564
+ for (let B = 0; B < m.length; B++)
565
+ if (m[B]?.type === "item" && (w += 1, w === u))
566
+ return B;
567
567
  return -1;
568
- }, [E?.id, m, d]), L = J(null);
568
+ }, [E?.id, u, m]), H = Z(null);
569
569
  Ce(() => {
570
- const g = L?.current, x = typeof g == "number" ? H <= g : !1;
571
- L.current = H;
572
- const T = x ? H : H + 2;
573
- if (!x) {
574
- const ie = k.getOffsetForIndex(T, "auto");
575
- if (!ie) return;
576
- const [ge, Ne] = ie;
570
+ const g = H?.current, w = typeof g == "number" ? F <= g : !1;
571
+ H.current = F;
572
+ const B = w ? F : F + 2;
573
+ if (!w) {
574
+ const le = N.getOffsetForIndex(B, "auto");
575
+ if (!le) return;
576
+ const [ge, Ne] = le;
577
577
  if (Ne === "auto") return;
578
- k.scrollToOffset(ge + t + 10, { align: "start" });
578
+ N.scrollToOffset(ge + t + 10, { align: "start" });
579
579
  return;
580
580
  }
581
- if (H <= 3) {
582
- k.scrollToOffset(0);
581
+ if (F <= 3) {
582
+ N.scrollToOffset(0);
583
583
  return;
584
584
  }
585
- const U = k.getOffsetForIndex(H - 1, "auto");
585
+ const U = N.getOffsetForIndex(F - 1, "auto");
586
586
  if (!U) return;
587
- const [B, re] = U;
588
- re !== "auto" && k.scrollToOffset(B + t + 10, { align: "start" });
589
- }, [H, t, k, L]);
590
- const q = le(() => {
587
+ const [T, X] = U;
588
+ X !== "auto" && N.scrollToOffset(T + t + 10, { align: "start" });
589
+ }, [F, t, N, H]);
590
+ const q = ie(() => {
591
591
  const g = /* @__PURE__ */ new Map();
592
- let x = 0;
593
- return d.forEach((T, U) => {
594
- T.type === "item" && (x += 1, g.set(U, x));
595
- }), { positions: g, total: x };
596
- }, [d]);
592
+ let w = 0;
593
+ return m.forEach((B, U) => {
594
+ B.type === "item" && (w += 1, g.set(U, w));
595
+ }), { positions: g, total: w };
596
+ }, [m]);
597
597
  W(() => {
598
- y?.(E?.id);
599
- }, [E?.id, y]), W(() => {
600
- if (v && R) {
601
- O(0), M(!0);
598
+ O?.(E?.id);
599
+ }, [E?.id, O]), W(() => {
600
+ if (d && C) {
601
+ S(0), j(!0);
602
602
  return;
603
603
  }
604
- }, [R, v, O]), W(() => {
605
- if (!N) {
606
- P.current = h;
604
+ }, [C, d, S]), W(() => {
605
+ if (!I) {
606
+ M.current = v;
607
607
  return;
608
608
  }
609
- const g = P.current;
610
- P.current = h, h && !g && o.current?.scrollTo({ top: 0 });
611
- }, [h, N]);
612
- const ne = {
609
+ const g = M.current;
610
+ M.current = v, v && !g && o.current?.scrollTo({ top: 0 });
611
+ }, [v, I]);
612
+ const ee = {
613
613
  position: "relative",
614
- maxHeight: b?.maxHeight || F,
614
+ maxHeight: b?.maxHeight || L,
615
615
  margin: "-0.5rem",
616
616
  padding: "0.5rem 0.5rem 1rem 0.5rem",
617
617
  minWidth: b?.minWidth ?? "20rem",
618
618
  overflowY: "auto",
619
619
  ...b
620
620
  };
621
- return /* @__PURE__ */ I(
621
+ return /* @__PURE__ */ x(
622
622
  Ie,
623
623
  {
624
624
  ref: o,
625
- style: ne,
626
- variant: _,
625
+ style: ee,
626
+ variant: y,
627
627
  color: c,
628
- expanded: w,
629
- id: S,
630
- role: v ? "listbox" : void 0,
628
+ expanded: _,
629
+ id: R,
630
+ role: d ? "listbox" : void 0,
631
631
  children: [
632
632
  s && /* @__PURE__ */ a(
633
633
  Xe,
634
634
  {
635
635
  ...s,
636
- combobox: v,
637
- listId: S,
638
- "aria-activedescendant": v && D ? E?.id : void 0,
639
- onNavigate: v ? () => M(!0) : void 0,
636
+ combobox: d,
637
+ listId: R,
638
+ "aria-activedescendant": d && A ? E?.id : void 0,
639
+ onNavigate: d ? () => j(!0) : void 0,
640
640
  onChange: (g) => {
641
- M(!1), s.onChange?.(g);
641
+ j(!1), s.onChange?.(g);
642
642
  },
643
643
  onFocus: (g) => {
644
- M(!1), s.onFocus?.(g);
644
+ j(!1), s.onFocus?.(g);
645
645
  },
646
646
  onInput: (g) => {
647
- M(!1), s.onInput?.(g);
647
+ j(!1), s.onInput?.(g);
648
648
  },
649
649
  onKeyDown: (g) => {
650
- const x = g.key === "ArrowUp" || g.key === "ArrowDown", T = g.key.length === 1 || g.key === "Backspace" || g.key === "Delete";
651
- v && !x && T && M(!1), s.onKeyDown?.(g);
650
+ const w = g.key === "ArrowUp" || g.key === "ArrowDown", B = g.key.length === 1 || g.key === "Backspace" || g.key === "Delete";
651
+ d && !w && B && j(!1), s.onKeyDown?.(g);
652
652
  }
653
653
  }
654
654
  ),
@@ -658,56 +658,56 @@ const Ae = Y((e, o) => {
658
658
  ref: n,
659
659
  style: {
660
660
  position: "relative",
661
- height: `${k.getTotalSize()}px`,
661
+ height: `${N.getTotalSize()}px`,
662
662
  width: "100%"
663
663
  },
664
- children: /* @__PURE__ */ a(Ie, { style: { width: "100%", minWidth: "100%" }, children: k.getVirtualItems().map((g) => {
665
- const x = d[g.index];
666
- if (!x) return null;
667
- const T = {
664
+ children: /* @__PURE__ */ a(Ie, { style: { width: "100%", minWidth: "100%" }, children: N.getVirtualItems().map((g) => {
665
+ const w = m[g.index];
666
+ if (!w) return null;
667
+ const B = {
668
668
  position: "absolute",
669
669
  top: 0,
670
670
  left: 0,
671
671
  width: "100%",
672
672
  transform: `translateY(${g.start}px)`
673
673
  }, U = {
674
- style: T,
674
+ style: B,
675
675
  index: g.index,
676
676
  "data-index": g.index,
677
- ref: k.measureElement
677
+ ref: N.measureElement
678
678
  };
679
- switch (x.type) {
679
+ switch (w.type) {
680
680
  case "divider":
681
681
  return /* @__PURE__ */ a(
682
682
  We,
683
683
  {
684
684
  ...U,
685
- style: { ...T, padding: "0.25rem 0" }
685
+ style: { ...B, padding: "0.25rem 0" }
686
686
  },
687
687
  g.key
688
688
  );
689
689
  case "header":
690
- return /* @__PURE__ */ a(Ye, { ...U, title: x.title || "", level: 1 }, g.key);
690
+ return /* @__PURE__ */ a(Ye, { ...U, title: w.title || "", level: 1 }, g.key);
691
691
  default: {
692
- const B = x.itemProps?.role === "checkbox" || x.itemProps?.role === "radio", re = v && !B ? "option" : x.itemProps?.role;
692
+ const T = w.itemProps?.role === "checkbox" || w.itemProps?.role === "radio", X = d && !T ? "option" : w.itemProps?.role;
693
693
  return /* @__PURE__ */ a(
694
694
  Ve,
695
695
  {
696
696
  ...U,
697
- role: v || B ? "presentation" : "menuitem",
697
+ role: d || T ? "presentation" : "menuitem",
698
698
  children: /* @__PURE__ */ a(
699
699
  tt,
700
700
  {
701
- ...x.itemProps || {},
702
- size: x.itemProps?.size || i,
703
- color: x.itemProps?.color || c,
704
- variant: x.itemProps?.variant || _,
705
- active: x.active,
706
- role: re,
707
- selected: x.itemProps?.selected,
708
- "aria-posinset": v ? q.positions.get(g.index) : void 0,
709
- "aria-setsize": v ? q.total : void 0,
710
- tabIndex: x.itemProps?.disabled || l ? -1 : 0
701
+ ...w.itemProps || {},
702
+ size: w.itemProps?.size || l,
703
+ color: w.itemProps?.color || c,
704
+ variant: w.itemProps?.variant || y,
705
+ active: w.active,
706
+ role: X,
707
+ selected: w.itemProps?.selected,
708
+ "aria-posinset": d ? q.positions.get(g.index) : void 0,
709
+ "aria-setsize": d ? q.total : void 0,
710
+ tabIndex: w.itemProps?.disabled || i ? -1 : 0
711
711
  }
712
712
  )
713
713
  },
@@ -733,15 +733,15 @@ const Ae = Y((e, o) => {
733
733
  },
734
734
  languageCode: "nb"
735
735
  }, Ze = ot(en), Jr = ({ children: e, initialValue: o, debug: n, languageCode: t }) => {
736
- const [r, s] = oe(o?.currentId || ""), [u, f] = oe(o?.previousId || "");
736
+ const [r, s] = oe(o?.currentId || ""), [f, p] = oe(o?.previousId || "");
737
737
  return /* @__PURE__ */ a(
738
738
  Ze.Provider,
739
739
  {
740
740
  value: {
741
741
  currentId: r,
742
742
  setCurrentId: s,
743
- setPreviousId: f,
744
- previousId: u,
743
+ setPreviousId: p,
744
+ previousId: f,
745
745
  debug: n,
746
746
  languageCode: t
747
747
  },
@@ -752,22 +752,22 @@ const Ae = Y((e, o) => {
752
752
  const e = at(Ze);
753
753
  if (!e)
754
754
  throw new Error("useRootContext must be used within a RootProvider.");
755
- const { currentId: o, setCurrentId: n, debug: t, setPreviousId: r, previousId: s, languageCode: u } = e, f = (l) => {
756
- o && r(o), n(l);
757
- }, i = (l) => {
758
- t && console.debug(`useRootContext: toggleId called with value: ${l}`), f(o === l ? "" : l);
755
+ const { currentId: o, setCurrentId: n, debug: t, setPreviousId: r, previousId: s, languageCode: f } = e, p = (i) => {
756
+ o && r(o), n(i);
757
+ }, l = (i) => {
758
+ t && console.debug(`useRootContext: toggleId called with value: ${i}`), p(o === i ? "" : i);
759
759
  }, c = () => {
760
- t && console.debug("useRootContext: closeAll called"), f("");
760
+ t && console.debug("useRootContext: closeAll called"), p("");
761
761
  };
762
- return lt(c), {
762
+ return it(c), {
763
763
  currentId: o,
764
764
  previousId: s,
765
- toggleId: i,
765
+ toggleId: l,
766
766
  closeAll: c,
767
- openId: (l) => {
768
- t && console.debug(`useRootContext: openId called with value: ${l}`), f(l);
767
+ openId: (i) => {
768
+ t && console.debug(`useRootContext: openId called with value: ${i}`), p(i);
769
769
  },
770
- languageCode: u
770
+ languageCode: f
771
771
  };
772
772
  }, nn = (e) => {
773
773
  switch (e) {
@@ -811,102 +811,102 @@ const Ae = Y((e, o) => {
811
811
  onClear: t,
812
812
  clearButtonAltText: r,
813
813
  items: s = [],
814
- groups: u = {}
814
+ groups: f = {}
815
815
  }) => {
816
- const { languageCode: f } = tn(), i = G.useMemo(() => nn(f), [f]), [c, _] = G.useState(""), l = G.useCallback(
817
- (m) => {
818
- _(m.target.value), n?.(m);
816
+ const { languageCode: p } = tn(), l = G.useMemo(() => nn(p), [p]), [c, y] = G.useState(""), i = G.useCallback(
817
+ (u) => {
818
+ y(u.target.value), n?.(u);
819
819
  },
820
820
  [n]
821
821
  ), b = G.useCallback(() => {
822
- _(""), t?.();
823
- }, [t]), p = G.useMemo(() => c.trim().replace(/\s+/g, " "), [c]), w = p.length > 0, z = G.useMemo(() => p.toLowerCase(), [p]), h = G.useMemo(() => p ? p.split(" ") : [], [p]), N = G.useMemo(
822
+ y(""), t?.();
823
+ }, [t]), h = G.useMemo(() => c.trim().replace(/\s+/g, " "), [c]), _ = h.length > 0, P = G.useMemo(() => h.toLowerCase(), [h]), v = G.useMemo(() => h ? h.split(" ") : [], [h]), I = G.useMemo(
824
824
  () => ({
825
- placeholder: e ?? i.placeholder,
825
+ placeholder: e ?? l.placeholder,
826
826
  name: o ?? "search",
827
827
  value: c,
828
- onChange: l,
828
+ onChange: i,
829
829
  onClear: b,
830
830
  clearButtonAltText: r
831
831
  }),
832
- [e, i.placeholder, o, c, l, b, r]
833
- ), A = G.useMemo(
834
- () => s.map((m) => {
835
- const d = m?.searchWords?.length ? m.searchWords : [m?.title, m?.description].filter(Boolean);
832
+ [e, l.placeholder, o, c, i, b, r]
833
+ ), D = G.useMemo(
834
+ () => s.map((u) => {
835
+ const m = u?.searchWords?.length ? u.searchWords : [u?.title, u?.description].filter(Boolean);
836
836
  return {
837
- ...m,
838
- searchWords: d ?? []
837
+ ...u,
838
+ searchWords: m ?? []
839
839
  };
840
840
  }),
841
841
  [s]
842
- ), R = G.useMemo(
842
+ ), C = G.useMemo(
843
843
  () => [
844
844
  {
845
845
  id: "emptySearch",
846
846
  "aria-disabled": !0,
847
- title: i.noResults,
847
+ title: l.noResults,
848
848
  groupId: "emptySearch",
849
849
  icon: bt,
850
850
  size: "sm",
851
851
  as: "div"
852
852
  }
853
853
  ],
854
- [i.noResults]
855
- ), y = G.useMemo(() => {
856
- const m = s.filter((d) => d.groupId === "emptySearch").map((d) => ({ ...d, hidden: !1 }));
857
- return m.length ? m : R;
858
- }, [s, R]), { selectedItems: v, results: S } = G.useMemo(() => {
859
- if (!w) return { selectedItems: [], results: [] };
860
- const m = [], d = [];
861
- for (const k of A)
862
- k.checked === !0 && m.push({ ...k, groupId: "selected" }), (k.searchWords ?? []).some((L) => String(L).toLowerCase().includes(z)) && d.push({
863
- ...k,
854
+ [l.noResults]
855
+ ), O = G.useMemo(() => {
856
+ const u = s.filter((m) => m.groupId === "emptySearch").map((m) => ({ ...m, hidden: !1 }));
857
+ return u.length ? u : C;
858
+ }, [s, C]), { selectedItems: d, results: R } = G.useMemo(() => {
859
+ if (!_) return { selectedItems: [], results: [] };
860
+ const u = [], m = [];
861
+ for (const N of D)
862
+ N.checked === !0 && u.push({ ...N, groupId: "selected" }), (N.searchWords ?? []).some((H) => String(H).toLowerCase().includes(P)) && m.push({
863
+ ...N,
864
864
  groupId: "search",
865
- highlightWords: h
865
+ highlightWords: v
866
866
  });
867
- return { selectedItems: m, results: d };
868
- }, [w, A, z, h]), P = S.length, D = v.length, M = G.useMemo(
867
+ return { selectedItems: u, results: m };
868
+ }, [_, D, P, v]), M = R.length, A = d.length, j = G.useMemo(
869
869
  () => ({
870
870
  search: {
871
871
  hidden: !0,
872
- title: i.hits(P)
872
+ title: l.hits(M)
873
873
  },
874
874
  selected: {
875
875
  hidden: !0,
876
- title: i.selected(D)
876
+ title: l.selected(A)
877
877
  },
878
878
  emptySearch: {
879
879
  hidden: !0,
880
- title: i.noResults
880
+ title: l.noResults
881
881
  },
882
- ...u
882
+ ...f
883
883
  }),
884
- [i, P, D, u]
885
- ), $ = G.useMemo(
884
+ [l, M, A, f]
885
+ ), z = G.useMemo(
886
886
  () => ({
887
- ...M,
887
+ ...j,
888
888
  search: {
889
- hidden: !w,
890
- title: i.hits(P)
889
+ hidden: !_,
890
+ title: l.hits(M)
891
891
  },
892
892
  selected: {
893
- hidden: D === 0,
894
- title: i.selected(D)
893
+ hidden: A === 0,
894
+ title: l.selected(A)
895
895
  },
896
896
  emptySearch: {
897
- hidden: w && (P > 0 || D > 0),
898
- title: i.noResults
897
+ hidden: _ && (M > 0 || A > 0),
898
+ title: l.noResults
899
899
  }
900
900
  }),
901
- [M, w, i, P, D]
902
- ), j = G.useMemo(() => w ? rn([...S, ...v]) : [], [w, S, v]), E = G.useMemo(() => [...y || [], ...v || []], [y, v]), O = G.useMemo(() => w ? P ? j : E : s, [w, s, P, j, E]);
901
+ [j, _, l, M, A]
902
+ ), $ = G.useMemo(() => _ ? rn([...R, ...d]) : [], [_, R, d]), E = G.useMemo(() => [...O || [], ...d || []], [O, d]), S = G.useMemo(() => _ ? M ? $ : E : s, [_, s, M, $, E]);
903
903
  return {
904
- search: N,
905
- results: S,
906
- resultCount: P,
907
- hasQuery: w,
908
- items: O,
909
- groups: $
904
+ search: I,
905
+ results: R,
906
+ resultCount: M,
907
+ hasQuery: _,
908
+ items: S,
909
+ groups: z
910
910
  };
911
911
  }, et = ({
912
912
  searchable: e,
@@ -915,60 +915,60 @@ const Ae = Y((e, o) => {
915
915
  groups: t = {},
916
916
  variant: r = "default",
917
917
  size: s,
918
- level: u = 0,
919
- maxLevels: f = 3,
920
- virtualized: i = !1,
918
+ level: f = 0,
919
+ maxLevels: p = 3,
920
+ virtualized: l = !1,
921
921
  keyboardEvents: c = !1,
922
- scrollRefStyles: _ = {},
923
- onActiveItemIdChange: l,
922
+ scrollRefStyles: y = {},
923
+ onActiveItemIdChange: i,
924
924
  a11yMode: b = "menu",
925
- open: p,
926
- scrollToTopOnOpen: w,
927
- autoFocusList: z,
928
- id: h
925
+ open: h,
926
+ scrollToTopOnOpen: _,
927
+ autoFocusList: P,
928
+ id: v
929
929
  }) => {
930
- const N = on({ ...o, items: n, groups: t }), A = e ? N.search : o, R = e && N.hasQuery && N.resultCount === 0, y = e ? N.items : n, v = e ? { ...t, ...N.groups } : t, S = b !== "combobox";
931
- return i ? /* @__PURE__ */ a(
930
+ const I = on({ ...o, items: n, groups: t }), D = e ? I.search : o, C = e && I.hasQuery && I.resultCount === 0, O = e ? I.items : n, d = e ? { ...t, ...I.groups } : t, R = b !== "combobox";
931
+ return l ? /* @__PURE__ */ a(
932
932
  Zt,
933
933
  {
934
- id: h,
935
- search: A,
936
- announceNoResults: R,
937
- items: y,
938
- groups: v,
934
+ id: v,
935
+ search: D,
936
+ announceNoResults: C,
937
+ items: O,
938
+ groups: d,
939
939
  variant: r,
940
940
  size: s,
941
- level: u,
942
- maxLevels: f,
941
+ level: f,
942
+ maxLevels: p,
943
943
  keyboardEvents: c,
944
- scrollRefStyles: _,
945
- onActiveItemIdChange: l,
944
+ scrollRefStyles: y,
945
+ onActiveItemIdChange: i,
946
946
  a11yMode: b,
947
- open: p,
948
- scrollToTopOnOpen: w,
949
- autoActivateFirstItem: S,
950
- autoFocusList: z
947
+ open: h,
948
+ scrollToTopOnOpen: _,
949
+ autoActivateFirstItem: R,
950
+ autoFocusList: P
951
951
  }
952
952
  ) : /* @__PURE__ */ a(
953
953
  Je,
954
954
  {
955
- id: h,
956
- search: A,
957
- announceNoResults: R,
958
- items: y,
959
- groups: v,
955
+ id: v,
956
+ search: D,
957
+ announceNoResults: C,
958
+ items: O,
959
+ groups: d,
960
960
  variant: r,
961
961
  size: s,
962
- level: u,
963
- maxLevels: f,
962
+ level: f,
963
+ maxLevels: p,
964
964
  keyboardEvents: c,
965
- scrollRefStyles: _,
966
- onActiveItemIdChange: l,
965
+ scrollRefStyles: y,
966
+ onActiveItemIdChange: i,
967
967
  a11yMode: b,
968
- open: p,
969
- scrollToTopOnOpen: w,
970
- autoActivateFirstItem: S,
971
- autoFocusList: z
968
+ open: h,
969
+ scrollToTopOnOpen: _,
970
+ autoActivateFirstItem: R,
971
+ autoFocusList: P
972
972
  }
973
973
  );
974
974
  }, an = "_media_1089b_3", sn = "_icon_1089b_10", ln = "_avatar_1089b_14", cn = "_avatarGroup_1089b_18", ae = {
@@ -986,7 +986,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
986
986
  if (o)
987
987
  return /* @__PURE__ */ a("div", { className: V(ae.icon, e), children: /* @__PURE__ */ a(se, { svgElement: Ae, loading: !0 }) });
988
988
  const r = Ee(n) ? "avatar" : Se(n) ? "avatarGroup" : (ze(n), "icon");
989
- return /* @__PURE__ */ I("div", { className: V(ae.media, e), "data-variant": r, children: [
989
+ return /* @__PURE__ */ x("div", { className: V(ae.media, e), "data-variant": r, children: [
990
990
  Ee(n) && /* @__PURE__ */ a(je, { ...n, className: ae.avatar }) || Se(n) && /* @__PURE__ */ a(be, { ...n, className: ae.avatarGroup }) || ze(n) && /* @__PURE__ */ a(se, { ...n, className: ae.icon }) || dn(n) && /* @__PURE__ */ a(se, { className: ae.icon, children: n }) || /* @__PURE__ */ a(se, { className: ae.icon, svgElement: n }),
991
991
  t
992
992
  ] });
@@ -999,28 +999,28 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
999
999
  as: t = "h2",
1000
1000
  size: r,
1001
1001
  leading: s = "tight",
1002
- weight: u = "medium",
1003
- color: f,
1004
- variant: i,
1002
+ weight: f = "medium",
1003
+ color: p,
1004
+ variant: l,
1005
1005
  maxRows: c,
1006
- className: _,
1007
- style: l,
1006
+ className: y,
1007
+ style: i,
1008
1008
  children: b
1009
1009
  }) => {
1010
- const p = t, w = ct(b, n || []);
1010
+ const h = t, _ = ct(b, n || []);
1011
1011
  return /* @__PURE__ */ a(
1012
- p,
1012
+ h,
1013
1013
  {
1014
1014
  id: e,
1015
- className: V(mn.heading, _),
1016
- style: l,
1015
+ className: V(mn.heading, y),
1016
+ style: i,
1017
1017
  "data-size": r,
1018
1018
  "data-leading": s,
1019
- "data-weight": u,
1020
- "data-color": f,
1021
- "data-variant": r === "xxs" && "default" || i,
1019
+ "data-weight": f,
1020
+ "data-color": p,
1021
+ "data-variant": r === "xxs" && "default" || l,
1022
1022
  "data-max-rows": c,
1023
- children: /* @__PURE__ */ a(ue, { loading: o, children: w })
1023
+ children: /* @__PURE__ */ a(ue, { loading: o, children: _ })
1024
1024
  }
1025
1025
  );
1026
1026
  }, fn = "_label_e5q28_3", pn = {
@@ -1032,10 +1032,10 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1032
1032
  description: t,
1033
1033
  descriptionProps: r = {},
1034
1034
  highlightWords: s,
1035
- loading: u,
1036
- children: f
1037
- }) => /* @__PURE__ */ a("span", { className: V(pn.label, e), children: f || /* @__PURE__ */ I(xe, { children: [
1038
- o && /* @__PURE__ */ a(me, { ...n, as: "span", loading: u, highlightWords: s, maxRows: 2, children: o }),
1035
+ loading: f,
1036
+ children: p
1037
+ }) => /* @__PURE__ */ a("span", { className: V(pn.label, e), children: p || /* @__PURE__ */ x(xe, { children: [
1038
+ o && /* @__PURE__ */ a(me, { ...n, as: "span", loading: f, highlightWords: s, maxRows: 2, children: o }),
1039
1039
  t && /* @__PURE__ */ a(
1040
1040
  me,
1041
1041
  {
@@ -1043,7 +1043,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1043
1043
  as: "span",
1044
1044
  weight: "normal",
1045
1045
  leading: "inherit",
1046
- loading: u,
1046
+ loading: f,
1047
1047
  highlightWords: s,
1048
1048
  maxRows: 2,
1049
1049
  children: t
@@ -1064,109 +1064,109 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1064
1064
  as: t,
1065
1065
  href: r,
1066
1066
  onClick: s,
1067
- onChange: u,
1068
- onKeyPress: f,
1069
- onMouseEnter: i,
1067
+ onChange: f,
1068
+ onKeyPress: p,
1069
+ onMouseEnter: l,
1070
1070
  size: c = "sm",
1071
- variant: _,
1072
- color: l,
1071
+ variant: y,
1072
+ color: i,
1073
1073
  name: b,
1074
- value: p,
1075
- checked: w,
1076
- icon: z,
1077
- label: h,
1078
- badge: N,
1079
- controls: A,
1080
- title: R,
1081
- description: y,
1082
- highlightWords: v,
1083
- count: S,
1084
- linkIcon: P = !1,
1085
- disabled: D,
1086
- selected: M,
1087
- active: $,
1088
- tabIndex: j = 0,
1074
+ value: h,
1075
+ checked: _,
1076
+ icon: P,
1077
+ label: v,
1078
+ badge: I,
1079
+ controls: D,
1080
+ title: C,
1081
+ description: O,
1082
+ highlightWords: d,
1083
+ count: R,
1084
+ linkIcon: M = !1,
1085
+ disabled: A,
1086
+ selected: j,
1087
+ active: z,
1088
+ tabIndex: $ = 0,
1089
1089
  className: E,
1090
- "data-testid": O,
1091
- ...m
1090
+ "data-testid": S,
1091
+ ...u
1092
1092
  }) => {
1093
- const d = typeof h == "function" ? h() : h, k = ht(m);
1093
+ const m = typeof v == "function" ? v() : v, N = ht(u);
1094
1094
  if (n === "checkbox" || n === "radio") {
1095
- const L = z || (w ? Qe : Lt);
1096
- return /* @__PURE__ */ I(
1095
+ const H = P || (_ ? Qe : Lt);
1096
+ return /* @__PURE__ */ x(
1097
1097
  "label",
1098
1098
  {
1099
- ...k,
1099
+ ...N,
1100
1100
  className: V(K.item, E),
1101
1101
  id: e,
1102
1102
  "data-id": e,
1103
1103
  "data-group-id": o,
1104
1104
  "data-size": c,
1105
- "data-variant": _,
1106
- "data-color": l,
1107
- "data-active": $,
1105
+ "data-variant": y,
1106
+ "data-color": i,
1107
+ "data-active": z,
1108
1108
  role: n,
1109
- "aria-disabled": D,
1110
- "aria-checked": w,
1111
- "aria-selected": w,
1112
- "data-selected": w,
1113
- "aria-label": R,
1114
- "data-testid": O,
1109
+ "aria-disabled": A,
1110
+ "aria-checked": _,
1111
+ "aria-selected": _,
1112
+ "data-selected": _,
1113
+ "aria-label": C,
1114
+ "data-testid": S,
1115
1115
  onKeyUp: (q) => {
1116
- D || (q.target === q.currentTarget && q.key === "Enter" && s?.(), f?.(q));
1116
+ A || (q.target === q.currentTarget && q.key === "Enter" && s?.(), p?.(q));
1117
1117
  },
1118
1118
  onClick: s,
1119
- onMouseEnter: i,
1120
- tabIndex: j,
1119
+ onMouseEnter: l,
1120
+ tabIndex: $,
1121
1121
  children: [
1122
1122
  /* @__PURE__ */ a(
1123
1123
  "input",
1124
1124
  {
1125
1125
  name: b,
1126
- value: p,
1126
+ value: h,
1127
1127
  type: n,
1128
- checked: !!w,
1129
- onChange: u,
1130
- readOnly: !u,
1128
+ checked: !!_,
1129
+ onChange: f,
1130
+ readOnly: !f,
1131
1131
  style: { opacity: 0, position: "absolute" },
1132
1132
  tabIndex: -1
1133
1133
  }
1134
1134
  ),
1135
- /* @__PURE__ */ a(Te, { icon: L, className: K.media }),
1135
+ /* @__PURE__ */ a(Te, { icon: H, className: K.media }),
1136
1136
  /* @__PURE__ */ a(
1137
1137
  Le,
1138
1138
  {
1139
1139
  className: K.label,
1140
- highlightWords: v,
1141
- title: /* @__PURE__ */ I(xe, { children: [
1142
- R,
1140
+ highlightWords: d,
1141
+ title: /* @__PURE__ */ x(xe, { children: [
1142
+ C,
1143
1143
  " ",
1144
- S && /* @__PURE__ */ a("i", { className: K.count, children: S })
1144
+ R && /* @__PURE__ */ a("i", { className: K.count, children: R })
1145
1145
  ] }),
1146
1146
  titleProps: {
1147
1147
  weight: "medium",
1148
1148
  className: K.title
1149
1149
  },
1150
- description: y,
1150
+ description: O,
1151
1151
  descriptionProps: {
1152
1152
  weight: "normal",
1153
1153
  variant: "subtle",
1154
1154
  className: K.description
1155
1155
  },
1156
- children: d
1156
+ children: m
1157
1157
  }
1158
1158
  ),
1159
- /* @__PURE__ */ I(Re, { children: [
1160
- N && /* @__PURE__ */ a(te, { ...N }),
1161
- !D && A
1159
+ /* @__PURE__ */ x(Re, { children: [
1160
+ I && /* @__PURE__ */ a(re, { ...I }),
1161
+ !A && D
1162
1162
  ] })
1163
1163
  ]
1164
1164
  }
1165
1165
  );
1166
1166
  }
1167
- const F = t || (r ? "a" : "button"), H = P && zt;
1168
- return /* @__PURE__ */ I(
1169
- F,
1167
+ const L = t || (r ? "a" : "button"), F = M && zt;
1168
+ return /* @__PURE__ */ x(
1169
+ L,
1170
1170
  {
1171
1171
  href: r,
1172
1172
  className: V(K.item, E),
@@ -1174,57 +1174,57 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1174
1174
  "data-id": e,
1175
1175
  "data-group-id": o,
1176
1176
  "data-size": c,
1177
- "data-variant": _,
1178
- "data-color": l,
1179
- "data-active": $,
1180
- "aria-disabled": D,
1181
- ...D ? { disabled: D } : {},
1182
- "aria-current": r && M ? "page" : void 0,
1183
- "aria-selected": r ? void 0 : M,
1184
- "data-selected": M,
1185
- "aria-label": R,
1186
- "data-testid": O,
1187
- onKeyUp: (L) => {
1188
- D || (L.target === L.currentTarget && L.key === "Enter" && s?.(), f?.(L));
1177
+ "data-variant": y,
1178
+ "data-color": i,
1179
+ "data-active": z,
1180
+ "aria-disabled": A,
1181
+ ...A ? { disabled: A } : {},
1182
+ "aria-current": n !== "option" && j ? "page" : void 0,
1183
+ "aria-selected": n === "option" ? j : void 0,
1184
+ "data-selected": j,
1185
+ "aria-label": C,
1186
+ "data-testid": S,
1187
+ onKeyUp: (H) => {
1188
+ A || (H.target === H.currentTarget && H.key === "Enter" && s?.(), p?.(H));
1189
1189
  },
1190
1190
  onClick: s,
1191
- onMouseEnter: i,
1192
- tabIndex: D ? -1 : j ?? 0,
1191
+ onMouseEnter: l,
1192
+ tabIndex: A ? -1 : $ ?? 0,
1193
1193
  role: n === "menuItem" ? "menuitem" : n,
1194
- ...k,
1194
+ ...N,
1195
1195
  children: [
1196
- z && /* @__PURE__ */ a(Te, { icon: z, className: K.media }),
1196
+ P && /* @__PURE__ */ a(Te, { icon: P, className: K.media }),
1197
1197
  /* @__PURE__ */ a(
1198
1198
  Le,
1199
1199
  {
1200
1200
  className: K.label,
1201
- highlightWords: v,
1202
- title: /* @__PURE__ */ I(xe, { children: [
1203
- R,
1201
+ highlightWords: d,
1202
+ title: /* @__PURE__ */ x(xe, { children: [
1203
+ C,
1204
1204
  " ",
1205
- S && /* @__PURE__ */ a("i", { className: K.count, children: S })
1205
+ R && /* @__PURE__ */ a("i", { className: K.count, children: R })
1206
1206
  ] }),
1207
1207
  titleProps: {
1208
1208
  weight: "medium",
1209
1209
  className: K.title
1210
1210
  },
1211
- description: y,
1211
+ description: O,
1212
1212
  descriptionProps: {
1213
1213
  variant: "subtle",
1214
1214
  className: K.description
1215
1215
  },
1216
- children: d
1216
+ children: m
1217
1217
  }
1218
1218
  ),
1219
- /* @__PURE__ */ I(Re, { children: [
1220
- N && /* @__PURE__ */ a(te, { ...N }),
1221
- !D && A,
1222
- P && /* @__PURE__ */ a(se, { svgElement: H, className: K.linkIcon })
1219
+ /* @__PURE__ */ x(Re, { children: [
1220
+ I && /* @__PURE__ */ a(re, { ...I }),
1221
+ !A && D,
1222
+ M && /* @__PURE__ */ a(se, { svgElement: F, className: K.linkIcon })
1223
1223
  ] })
1224
1224
  ]
1225
1225
  }
1226
1226
  );
1227
- }, xn = "_fieldContainer_kk0vx_13", In = "_field_kk0vx_13", On = "_input_kk0vx_28", Nn = "_hiddenInput_kk0vx_29", kn = "_icon_kk0vx_62", Cn = "_clear_kk0vx_80", En = "_clearButton_kk0vx_93", Sn = "_autocomplete_kk0vx_120", Z = {
1227
+ }, xn = "_fieldContainer_kk0vx_13", In = "_field_kk0vx_13", On = "_input_kk0vx_28", Nn = "_hiddenInput_kk0vx_29", kn = "_icon_kk0vx_62", Cn = "_clear_kk0vx_80", En = "_clearButton_kk0vx_93", Sn = "_autocomplete_kk0vx_120", te = {
1228
1228
  fieldContainer: xn,
1229
1229
  field: In,
1230
1230
  input: On,
@@ -1240,94 +1240,94 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1240
1240
  loadingLabel: t = "Loading ...",
1241
1241
  size: r,
1242
1242
  color: s = "neutral",
1243
- label: u,
1244
- hideLabel: f,
1245
- value: i,
1243
+ label: f,
1244
+ hideLabel: p,
1245
+ value: l,
1246
1246
  onClear: c,
1247
- clearButtonAltText: _ = "Clear search",
1248
- menu: l,
1247
+ clearButtonAltText: y = "Clear search",
1248
+ menu: i,
1249
1249
  minLength: b,
1250
- ...p
1250
+ ...h
1251
1251
  }) => {
1252
- const w = De(), [z, h] = oe(!1), N = p.id || `search-field-${w}`, A = `${N}-listbox`, [R, y] = oe(void 0), v = "searchfield-clear-button-" + De(), S = le(() => !l || !i || typeof b == "number" && typeof i == "string" && i.length < b ? !1 : z, [l, z, b, i]), P = le(() => (l?.items ?? []).map((m) => ({
1253
- ...m,
1252
+ const _ = De(), [P, v] = oe(!1), I = h.id || `search-field-${_}`, D = `${I}-listbox`, [C, O] = oe(void 0), d = "searchfield-clear-button-" + De(), R = ie(() => !i || !l || typeof b == "number" && typeof l == "string" && l.length < b ? !1 : P, [i, P, b, l]), M = ie(() => (i?.items ?? []).map((u) => ({
1253
+ ...u,
1254
1254
  onClick: () => {
1255
- m.onClick?.(), h(!1);
1255
+ u.onClick?.(), v(!1);
1256
1256
  }
1257
- })), [l]), D = (m) => {
1258
- if (m.key === "Enter" && S) {
1259
- l?.items?.[0]?.onClick?.(), h(!1);
1257
+ })), [i]), A = (u) => {
1258
+ if (u.key === "Enter" && R) {
1259
+ i?.items?.[0]?.onClick?.(), v(!1);
1260
1260
  return;
1261
1261
  }
1262
- if (m.key === "Escape" && S) {
1263
- m.preventDefault(), m.stopPropagation(), h(!1), l?.onClose(), document.getElementById(N)?.focus();
1262
+ if (u.key === "Escape" && R) {
1263
+ u.preventDefault(), u.stopPropagation(), v(!1), i?.onClose(), document.getElementById(I)?.focus();
1264
1264
  return;
1265
1265
  }
1266
- p.onKeyDown?.(m), h(!0);
1267
- }, M = () => {
1268
- h(!0);
1269
- }, $ = (m) => {
1270
- if (!z) return;
1271
- const d = m.relatedTarget;
1272
- d && m.currentTarget.contains(d) || h(!1);
1273
- }, j = (m) => {
1274
- m.preventDefault();
1275
- }, E = (m) => {
1276
- m.relatedTarget?.id === v && y(void 0), p.onBlur?.(m);
1277
- }, O = /* @__PURE__ */ I(
1266
+ h.onKeyDown?.(u), v(!0);
1267
+ }, j = () => {
1268
+ v(!0);
1269
+ }, z = (u) => {
1270
+ if (!P) return;
1271
+ const m = u.relatedTarget;
1272
+ m && u.currentTarget.contains(m) || v(!1);
1273
+ }, $ = (u) => {
1274
+ u.preventDefault();
1275
+ }, E = (u) => {
1276
+ u.relatedTarget?.id === d && O(void 0), h.onBlur?.(u);
1277
+ }, S = /* @__PURE__ */ x(
1278
1278
  Qt,
1279
1279
  {
1280
1280
  size: r,
1281
1281
  color: s,
1282
- label: f ? void 0 : u,
1283
- htmlFor: N,
1284
- className: V(Z.field, e),
1282
+ label: p ? void 0 : f,
1283
+ htmlFor: I,
1284
+ className: V(te.field, e),
1285
1285
  "data-collapsible": o ? !0 : void 0,
1286
- onBlurCapture: $,
1286
+ onBlurCapture: z,
1287
1287
  children: [
1288
- /* @__PURE__ */ a("span", { className: Z.hiddenInput, "aria-hidden": "true", children: i + " " }),
1288
+ /* @__PURE__ */ a("span", { className: te.hiddenInput, "aria-hidden": "true", children: l + " " }),
1289
1289
  /* @__PURE__ */ a(
1290
1290
  ut,
1291
1291
  {
1292
- ...p,
1293
- id: N,
1294
- "aria-label": f && typeof u == "string" ? u : void 0,
1292
+ ...h,
1293
+ id: I,
1294
+ "aria-label": p && typeof f == "string" ? f : void 0,
1295
1295
  inputSize: 5,
1296
1296
  type: "search",
1297
- value: i,
1298
- className: Z.input,
1297
+ value: l,
1298
+ className: te.input,
1299
1299
  "data-collapsible": o ? !0 : void 0,
1300
1300
  autoCapitalize: "off",
1301
1301
  autoComplete: "off",
1302
1302
  minLength: b,
1303
- onKeyDown: D,
1303
+ onKeyDown: A,
1304
1304
  onBlur: E,
1305
- ...l && {
1305
+ ...i && {
1306
1306
  role: "combobox",
1307
1307
  "aria-autocomplete": "list",
1308
- "aria-expanded": !!S,
1308
+ "aria-expanded": !!R,
1309
1309
  "aria-haspopup": "listbox",
1310
- "aria-controls": A,
1311
- "aria-activedescendant": S ? R : void 0,
1312
- onFocus: M
1310
+ "aria-controls": D,
1311
+ "aria-activedescendant": R ? C : void 0,
1312
+ onFocus: j
1313
1313
  }
1314
1314
  }
1315
1315
  ),
1316
- n ? /* @__PURE__ */ a(pt, { "aria-hidden": !0, className: Z.icon }) : /* @__PURE__ */ a(Bt, { "aria-hidden": !0, className: Z.icon }),
1317
- c && !!i && /* @__PURE__ */ a("span", { className: Z.clear, children: /* @__PURE__ */ a(
1316
+ n ? /* @__PURE__ */ a(pt, { "aria-hidden": !0, className: te.icon }) : /* @__PURE__ */ a(Bt, { "aria-hidden": !0, className: te.icon }),
1317
+ c && !!l && /* @__PURE__ */ a("span", { className: te.clear, children: /* @__PURE__ */ a(
1318
1318
  ve,
1319
1319
  {
1320
- id: v,
1320
+ id: d,
1321
1321
  "data-testid": "clear-button",
1322
1322
  size: "xs",
1323
1323
  rounded: !0,
1324
1324
  icon: !0,
1325
1325
  variant: "tinted",
1326
- className: Z.clearButton,
1326
+ className: te.clearButton,
1327
1327
  onClick: () => {
1328
- c?.(), document.getElementById(N)?.focus();
1328
+ c?.(), document.getElementById(I)?.focus();
1329
1329
  },
1330
- "aria-label": _,
1330
+ "aria-label": y,
1331
1331
  "data-action": "clear-input",
1332
1332
  children: /* @__PURE__ */ a(Ae, {})
1333
1333
  }
@@ -1335,23 +1335,23 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1335
1335
  ]
1336
1336
  }
1337
1337
  );
1338
- return l ? /* @__PURE__ */ I("div", { className: Z.fieldContainer, children: [
1339
- O,
1340
- S && /* @__PURE__ */ a("div", { className: Z.autocomplete, "aria-hidden": !S, onMouseDown: j, children: /* @__PURE__ */ a(
1338
+ return i ? /* @__PURE__ */ x("div", { className: te.fieldContainer, children: [
1339
+ S,
1340
+ R && /* @__PURE__ */ a("div", { className: te.autocomplete, "aria-hidden": !R, onMouseDown: $, children: /* @__PURE__ */ a(
1341
1341
  et,
1342
1342
  {
1343
- ...l,
1344
- id: A,
1345
- items: P,
1346
- groups: l?.groups,
1343
+ ...i,
1344
+ id: D,
1345
+ items: M,
1346
+ groups: i?.groups,
1347
1347
  keyboardEvents: !0,
1348
1348
  a11yMode: "combobox",
1349
- open: S,
1349
+ open: R,
1350
1350
  autoFocusList: !1,
1351
- onActiveItemIdChange: y
1351
+ onActiveItemIdChange: O
1352
1352
  }
1353
1353
  ) })
1354
- ] }) : O;
1354
+ ] }) : S;
1355
1355
  }, Rn = "_byline_fzp7k_1", zn = "_avatar_fzp7k_7", Pn = "_avatarGroup_fzp7k_12", Mn = "_label_fzp7k_26", pe = {
1356
1356
  byline: Rn,
1357
1357
  avatar: zn,
@@ -1364,14 +1364,14 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1364
1364
  avatar: t,
1365
1365
  avatarGroup: r,
1366
1366
  datetime: s,
1367
- children: u,
1368
- as: f,
1369
- ...i
1367
+ children: f,
1368
+ as: p,
1369
+ ...l
1370
1370
  }) => {
1371
- const c = f || "div", _ = s ? "time" : "span";
1372
- return /* @__PURE__ */ I(c, { ...i, className: pe.byline, "data-color": o, "data-size": n, children: [
1371
+ const c = p || "div", y = s ? "time" : "span";
1372
+ return /* @__PURE__ */ x(c, { ...l, className: pe.byline, "data-color": o, "data-size": n, children: [
1373
1373
  (r || t) && /* @__PURE__ */ a(ue, { variant: "circle", className: pe.avatar, loading: e, children: r ? /* @__PURE__ */ a(be, { ...r, size: n, className: pe.avatarGroup }) : t && /* @__PURE__ */ a(je, { ...t, size: n, className: pe.avatar }) }),
1374
- /* @__PURE__ */ a(_, { "data-size": n, dateTime: s, className: pe.label, children: /* @__PURE__ */ a(ue, { loading: e, children: u }) })
1374
+ /* @__PURE__ */ a(y, { "data-size": n, dateTime: s, className: pe.label, children: /* @__PURE__ */ a(ue, { loading: e, children: f }) })
1375
1375
  ] });
1376
1376
  }, jn = "_dropdown_11cza_1", An = "_content_11cza_17", Dn = "_backdrop_11cza_47", Bn = "_header_11cza_76", Tn = "_footer_11cza_77", Ln = "_title_11cza_156", ce = {
1377
1377
  dropdown: jn,
@@ -1403,140 +1403,140 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1403
1403
  backdrop: t = !0,
1404
1404
  placement: r = "bottom-left",
1405
1405
  variant: s = "dropdown",
1406
- title: u = "Title",
1407
- closeLabel: f = "Close",
1408
- submitLabel: i,
1406
+ title: f = "Title",
1407
+ closeLabel: p = "Close",
1408
+ submitLabel: l,
1409
1409
  trigger: c,
1410
- children: _,
1411
- open: l,
1410
+ children: y,
1411
+ open: i,
1412
1412
  onClose: b,
1413
- color: p,
1414
- onSubmit: w,
1415
- activeDescendantId: z,
1416
- useFixedPosition: h = !1,
1417
- expanded: N = !1
1413
+ color: h,
1414
+ onSubmit: _,
1415
+ activeDescendantId: P,
1416
+ useFixedPosition: v = !1,
1417
+ expanded: I = !1
1418
1418
  }) => {
1419
- const A = J(null), R = J(null), y = J(l);
1419
+ const D = Z(null), C = Z(null), O = Z(i);
1420
1420
  W(() => {
1421
- y.current = l;
1422
- }, [l]);
1423
- const [v, S] = oe({
1421
+ O.current = i;
1422
+ }, [i]);
1423
+ const [d, R] = oe({
1424
1424
  yDir: r.includes("top") ? "top" : "bottom",
1425
1425
  xDir: r.includes("right") ? "right" : "left",
1426
1426
  maxHeight: 300
1427
- }), P = qe(() => {
1428
- if (l && A.current && R.current) {
1429
- const $ = A.current.getBoundingClientRect(), j = R.current.getBoundingClientRect(), E = window.innerHeight, O = window.innerWidth, m = 16, d = E - $.bottom, k = $.top, F = O - $.right - j.width, H = d < 250 && k > d, L = H ? "top" : "bottom", q = (H ? k : d) - m, g = F < m ? "right" : "left";
1430
- S((x) => ({
1431
- ...x,
1432
- yDir: L,
1427
+ }), M = qe(() => {
1428
+ if (i && D.current && C.current) {
1429
+ const z = D.current.getBoundingClientRect(), $ = C.current.getBoundingClientRect(), E = window.innerHeight, S = window.innerWidth, u = 16, m = E - z.bottom, N = z.top, L = S - z.right - $.width, F = m < 250 && N > m, H = F ? "top" : "bottom", q = (F ? N : m) - u, g = L < u ? "right" : "left";
1430
+ R((w) => ({
1431
+ ...w,
1432
+ yDir: H,
1433
1433
  maxHeight: q,
1434
1434
  xDir: g,
1435
- triggerRect: h ? $ : void 0
1435
+ triggerRect: v ? z : void 0
1436
1436
  }));
1437
1437
  }
1438
- }, [l, h]);
1439
- Ce(() => (P(), window.addEventListener("resize", P), h && window.addEventListener("scroll", P, !0), () => {
1440
- window.removeEventListener("resize", P), h && window.removeEventListener("scroll", P, !0);
1441
- }), [P, h]), W(() => {
1442
- if (!l) return;
1443
- const $ = requestAnimationFrame(() => {
1444
- const j = R.current;
1445
- if (!j) return;
1446
- const E = j.querySelector(
1438
+ }, [i, v]);
1439
+ Ce(() => (M(), window.addEventListener("resize", M), v && window.addEventListener("scroll", M, !0), () => {
1440
+ window.removeEventListener("resize", M), v && window.removeEventListener("scroll", M, !0);
1441
+ }), [M, v]), W(() => {
1442
+ if (!i) return;
1443
+ const z = requestAnimationFrame(() => {
1444
+ const $ = C.current;
1445
+ if (!$) return;
1446
+ const E = $.querySelector(
1447
1447
  'input[type="search"]:not([disabled]), input[role="searchbox"]:not([disabled]), input[data-dropdown-search]:not([disabled])'
1448
1448
  );
1449
1449
  if (E) {
1450
- const O = E.value.length;
1450
+ const S = E.value.length;
1451
1451
  E.focus({ preventScroll: !0 });
1452
1452
  try {
1453
- E.setSelectionRange(O, O);
1453
+ E.setSelectionRange(S, S);
1454
1454
  } catch {
1455
1455
  }
1456
1456
  return;
1457
1457
  }
1458
- j.focus?.({ preventScroll: !0 });
1458
+ $.focus?.({ preventScroll: !0 });
1459
1459
  });
1460
- return () => cancelAnimationFrame($);
1461
- }, [l]), W(() => {
1462
- const $ = (E) => {
1460
+ return () => cancelAnimationFrame(z);
1461
+ }, [i]), W(() => {
1462
+ const z = (E) => {
1463
1463
  E.key === "Escape" && (E.preventDefault(), b());
1464
- }, j = (E) => {
1465
- const O = E.target, m = A.current?.contains(O), d = R.current?.contains(O);
1466
- !m && !d && b();
1464
+ }, $ = (E) => {
1465
+ const S = E.target, u = D.current?.contains(S), m = C.current?.contains(S);
1466
+ !u && !m && b();
1467
1467
  };
1468
- return l && (document.addEventListener("mousedown", j), document.addEventListener("keydown", $)), () => {
1469
- document.removeEventListener("mousedown", j), document.removeEventListener("keydown", $);
1468
+ return i && (document.addEventListener("mousedown", $), document.addEventListener("keydown", z)), () => {
1469
+ document.removeEventListener("mousedown", $), document.removeEventListener("keydown", z);
1470
1470
  };
1471
- }, [l, b]), W(() => {
1472
- if (!l) return;
1473
- const $ = R.current;
1474
- if (!$) return;
1475
- const j = (O) => {
1476
- if (!y.current)
1471
+ }, [i, b]), W(() => {
1472
+ if (!i) return;
1473
+ const z = C.current;
1474
+ if (!z) return;
1475
+ const $ = (S) => {
1476
+ if (!O.current)
1477
1477
  return;
1478
- const m = O.target;
1479
- m && !$.contains(m) && Hn($);
1480
- }, E = (O) => {
1481
- if (O.key !== "Tab") return;
1482
- const m = nt($);
1483
- if (m.length === 0) {
1484
- O.preventDefault(), $.focus?.({ preventScroll: !0 });
1478
+ const u = S.target;
1479
+ u && !z.contains(u) && Hn(z);
1480
+ }, E = (S) => {
1481
+ if (S.key !== "Tab") return;
1482
+ const u = nt(z);
1483
+ if (u.length === 0) {
1484
+ S.preventDefault(), z.focus?.({ preventScroll: !0 });
1485
1485
  return;
1486
1486
  }
1487
- const d = m[0], k = m[m.length - 1], F = document.activeElement;
1488
- O.shiftKey ? F === d && (O.preventDefault(), k.focus({ preventScroll: !0 })) : F === k && (O.preventDefault(), d.focus({ preventScroll: !0 }));
1487
+ const m = u[0], N = u[u.length - 1], L = document.activeElement;
1488
+ S.shiftKey ? L === m && (S.preventDefault(), N.focus({ preventScroll: !0 })) : L === N && (S.preventDefault(), m.focus({ preventScroll: !0 }));
1489
1489
  };
1490
- return document.addEventListener("focusin", j), document.addEventListener("keydown", E), () => {
1491
- document.removeEventListener("focusin", j), document.removeEventListener("keydown", E);
1490
+ return document.addEventListener("focusin", $), document.addEventListener("keydown", E), () => {
1491
+ document.removeEventListener("focusin", $), document.removeEventListener("keydown", E);
1492
1492
  };
1493
- }, [l]);
1494
- const D = h && v.triggerRect ? {
1493
+ }, [i]);
1494
+ const A = v && d.triggerRect ? {
1495
1495
  position: "fixed",
1496
1496
  zIndex: 1e3,
1497
1497
  width: "max-content",
1498
- maxHeight: `${v.maxHeight}px`,
1498
+ maxHeight: `${d.maxHeight}px`,
1499
1499
  overflowY: "auto",
1500
- [v.xDir === "left" ? "left" : "right"]: v.xDir === "left" ? v.triggerRect.left : window.innerWidth - v.triggerRect.right,
1501
- [v.yDir === "bottom" ? "top" : "bottom"]: v.yDir === "bottom" ? v.triggerRect.bottom + 8 : window.innerHeight - v.triggerRect.top + 8
1500
+ [d.xDir === "left" ? "left" : "right"]: d.xDir === "left" ? d.triggerRect.left : window.innerWidth - d.triggerRect.right,
1501
+ [d.yDir === "bottom" ? "top" : "bottom"]: d.yDir === "bottom" ? d.triggerRect.bottom + 8 : window.innerHeight - d.triggerRect.top + 8
1502
1502
  } : {
1503
1503
  position: "absolute",
1504
1504
  zIndex: 50,
1505
1505
  width: "max-content",
1506
- maxHeight: `${v.maxHeight}px`,
1506
+ maxHeight: `${d.maxHeight}px`,
1507
1507
  overflowY: "auto",
1508
- [v.xDir]: 0,
1509
- [v.yDir === "bottom" ? "top" : "bottom"]: "100%"
1510
- }, M = /* @__PURE__ */ I(
1508
+ [d.xDir]: 0,
1509
+ [d.yDir === "bottom" ? "top" : "bottom"]: "100%"
1510
+ }, j = /* @__PURE__ */ x(
1511
1511
  "div",
1512
1512
  {
1513
- ref: R,
1513
+ ref: C,
1514
1514
  className: V(ce.dropdown, n),
1515
- style: D,
1516
- "aria-hidden": !l,
1515
+ style: A,
1516
+ "aria-hidden": !i,
1517
1517
  "data-variant": s,
1518
- "data-color": p,
1519
- "data-expanded": N,
1518
+ "data-color": h,
1519
+ "data-expanded": I,
1520
1520
  "data-size": o,
1521
1521
  tabIndex: -1,
1522
1522
  role: "menu",
1523
1523
  "aria-modal": s === "drawer-dropdown" ? !0 : void 0,
1524
- "aria-activedescendant": z,
1524
+ "aria-activedescendant": P,
1525
1525
  children: [
1526
- /* @__PURE__ */ I("header", { className: ce.header, children: [
1527
- /* @__PURE__ */ a("h2", { className: ce.title, children: u }),
1528
- /* @__PURE__ */ a(ve, { size: "sm", variant: "outline", onClick: b, "aria-label": f, children: /* @__PURE__ */ a(Ae, {}) })
1526
+ /* @__PURE__ */ x("header", { className: ce.header, children: [
1527
+ /* @__PURE__ */ a("h2", { className: ce.title, children: f }),
1528
+ /* @__PURE__ */ a(ve, { size: "sm", variant: "outline", onClick: b, "aria-label": p, children: /* @__PURE__ */ a(Ae, {}) })
1529
1529
  ] }),
1530
- /* @__PURE__ */ a("div", { className: ce.content, children: _ }),
1531
- i && /* @__PURE__ */ a("footer", { className: ce.footer, children: /* @__PURE__ */ a(ve, { size: "lg", variant: "solid", onClick: w || b, rounded: !0, children: /* @__PURE__ */ a("span", { "data-size": "md", children: i }) }) })
1530
+ /* @__PURE__ */ a("div", { className: ce.content, children: y }),
1531
+ l && /* @__PURE__ */ a("footer", { className: ce.footer, children: /* @__PURE__ */ a(ve, { size: "lg", variant: "solid", onClick: _ || b, rounded: !0, children: /* @__PURE__ */ a("span", { "data-size": "md", children: l }) }) })
1532
1532
  ]
1533
1533
  }
1534
1534
  );
1535
- return /* @__PURE__ */ I(xe, { children: [
1536
- t && /* @__PURE__ */ a("div", { className: ce.backdrop, "aria-hidden": !l }),
1537
- /* @__PURE__ */ I("div", { id: e + "-root", ref: A, style: { position: "relative", display: "inline-block" }, children: [
1535
+ return /* @__PURE__ */ x(xe, { children: [
1536
+ t && /* @__PURE__ */ a("div", { className: ce.backdrop, "aria-hidden": !i }),
1537
+ /* @__PURE__ */ x("div", { id: e + "-root", ref: D, style: { position: "relative", display: "inline-block" }, children: [
1538
1538
  c,
1539
- h ? it(M, document.body) : M
1539
+ v ? lt(j, document.body) : j
1540
1540
  ] })
1541
1541
  ] });
1542
1542
  }, qn = "_section_1v20z_1", Kn = "_header_1v20z_7", Vn = "_list_1v20z_13", _e = {
@@ -1544,26 +1544,26 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1544
1544
  header: Kn,
1545
1545
  list: Vn
1546
1546
  }, Un = Oe(
1547
- ({ title: e, description: o, items: n, groups: t = {}, sortGroupBy: r, highlightWords: s, isLoading: u }) => {
1548
- const { menu: f } = Me({
1547
+ ({ title: e, description: o, items: n, groups: t = {}, sortGroupBy: r, highlightWords: s, isLoading: f }) => {
1548
+ const { menu: p } = Me({
1549
1549
  items: n,
1550
1550
  groups: t,
1551
1551
  groupByKey: "groupId",
1552
1552
  keyboardEvents: !1,
1553
1553
  sortGroupBy: r
1554
1554
  });
1555
- return /* @__PURE__ */ I("section", { className: _e.section, "aria-busy": u, children: [
1556
- e || o ? /* @__PURE__ */ I("header", { className: _e.header, children: [
1555
+ return /* @__PURE__ */ x("section", { className: _e.section, "aria-busy": f, children: [
1556
+ e || o ? /* @__PURE__ */ x("header", { className: _e.header, children: [
1557
1557
  e && /* @__PURE__ */ a(me, { as: "h1", size: "lg", children: e }),
1558
1558
  o && /* @__PURE__ */ a(Ke, { as: "p", size: "sm", variant: "subtle", className: _e.description, children: o })
1559
1559
  ] }) : null,
1560
- f?.map((i, c) => {
1561
- const _ = i.props || {};
1562
- return /* @__PURE__ */ I(He, { children: [
1563
- _?.title && /* @__PURE__ */ a(me, { as: "h2", size: "lg", children: _.title }),
1564
- /* @__PURE__ */ a("ul", { className: _e.list, children: i?.items.map((l, b) => {
1565
- const p = l.props || {};
1566
- return /* @__PURE__ */ st(rt, { ...p, highlightWords: s, key: "dialog-list-item" + b });
1560
+ p?.map((l, c) => {
1561
+ const y = l.props || {};
1562
+ return /* @__PURE__ */ x(He, { children: [
1563
+ y?.title && /* @__PURE__ */ a(me, { as: "h2", size: "lg", children: y.title }),
1564
+ /* @__PURE__ */ a("ul", { className: _e.list, children: l?.items.map((i, b) => {
1565
+ const h = i.props || {};
1566
+ return /* @__PURE__ */ st(rt, { ...h, highlightWords: s, key: "dialog-list-item" + b });
1567
1567
  }) })
1568
1568
  ] }, "dialog-list-item" + c);
1569
1569
  })
@@ -1571,7 +1571,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
1571
1571
  }
1572
1572
  );
1573
1573
  Un.displayName = "DialogList";
1574
- const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn = "_summary_1cw3x_102", Jn = "_controls_1cw3x_116", Zn = "_footer_1cw3x_123", er = "_seenBy_1cw3x_128", tr = "_link_1cw3x_138", nr = "_title_1cw3x_143", X = {
1574
+ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn = "_summary_1cw3x_102", Jn = "_controls_1cw3x_116", Zn = "_footer_1cw3x_123", er = "_seenBy_1cw3x_128", tr = "_link_1cw3x_138", nr = "_title_1cw3x_143", J = {
1575
1575
  item: Wn,
1576
1576
  border: Yn,
1577
1577
  header: Qn,
@@ -1589,73 +1589,74 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
1589
1589
  color: t,
1590
1590
  loading: r,
1591
1591
  controls: s,
1592
- selectable: u,
1593
- selected: f,
1594
- status: i,
1592
+ selectable: f,
1593
+ selected: p,
1594
+ status: l,
1595
1595
  extendedStatusLabel: c,
1596
- sender: _,
1597
- recipient: l,
1596
+ sender: y,
1597
+ recipient: i,
1598
1598
  recipientLabel: b = "to",
1599
- grouped: p = !1,
1600
- updatedAt: w,
1601
- updatedAtLabel: z,
1602
- archived: h,
1603
- archivedAt: N,
1604
- archivedAtLabel: A,
1605
- trashed: R,
1606
- trashedAt: y,
1607
- trashedAtLabel: v,
1608
- badge: S,
1609
- dueAt: P,
1610
- dueAtLabel: D,
1611
- unread: M,
1599
+ grouped: h = !1,
1600
+ updatedAt: _,
1601
+ updatedAtLabel: P,
1602
+ archived: v,
1603
+ archivedAt: I,
1604
+ archivedAtLabel: D,
1605
+ trashed: C,
1606
+ trashedAt: O,
1607
+ trashedAtLabel: d,
1608
+ badge: R,
1609
+ dueAt: M,
1610
+ dueAtExpired: A,
1611
+ dueAtLabel: j,
1612
+ unread: z,
1612
1613
  unreadLabel: $ = "Ulest",
1613
- unreadItems: j,
1614
- unreadItemsLabel: E = "Ulest innhold",
1615
- seenByLog: O,
1614
+ unreadItems: E,
1615
+ unreadItemsLabel: S = "Ulest innhold",
1616
+ seenByLog: u,
1616
1617
  draftsLabel: m,
1617
- sentCount: d,
1618
- receivedCount: k,
1618
+ sentCount: N,
1619
+ receivedCount: L,
1619
1620
  attachmentsCount: F,
1620
1621
  attachmentsLabel: H,
1621
- tooltips: L = {},
1622
- title: q,
1623
- description: ne,
1624
- summary: g,
1625
- highlightWords: x,
1626
- id: T,
1627
- ...U
1622
+ tooltips: q = {},
1623
+ title: ee,
1624
+ description: g,
1625
+ summary: w,
1626
+ highlightWords: B,
1627
+ id: U,
1628
+ ...T
1628
1629
  }) => {
1629
- const B = u ? "select" : n;
1630
- return /* @__PURE__ */ I(
1630
+ const X = f ? "select" : n;
1631
+ return /* @__PURE__ */ x(
1631
1632
  wt,
1632
1633
  {
1633
1634
  as: "li",
1634
- id: T,
1635
- className: X.item,
1635
+ id: U,
1636
+ className: J.item,
1636
1637
  size: o,
1637
1638
  color: t,
1638
- variant: B,
1639
- "data-unread": M ? "true" : "false",
1640
- "data-selected": f,
1641
- "data-trashed": R,
1642
- "data-archived": h,
1639
+ variant: X,
1640
+ "data-unread": z ? "true" : "false",
1641
+ "data-selected": p,
1642
+ "data-trashed": C,
1643
+ "data-archived": v,
1643
1644
  "data-loading": r,
1644
1645
  children: [
1645
- /* @__PURE__ */ a(xt, { ...U, className: X.link, as: e, children: /* @__PURE__ */ I("div", { className: X.border, children: [
1646
- /* @__PURE__ */ I("header", { className: X.header, children: [
1647
- /* @__PURE__ */ I(
1646
+ /* @__PURE__ */ a(xt, { ...T, className: J.link, as: e, children: /* @__PURE__ */ x("div", { className: J.border, children: [
1647
+ /* @__PURE__ */ x("header", { className: J.header, children: [
1648
+ /* @__PURE__ */ x(
1648
1649
  me,
1649
1650
  {
1650
1651
  as: "h2",
1651
- highlightWords: x,
1652
- weight: M ? "bold" : "normal",
1652
+ highlightWords: B,
1653
+ weight: z ? "bold" : "normal",
1653
1654
  loading: r,
1654
1655
  maxRows: 2,
1655
- className: X.title,
1656
+ className: J.title,
1656
1657
  children: [
1657
- q,
1658
- M && /* @__PURE__ */ a(te, { label: $, variant: "tinted", style: { marginLeft: "0.75em", marginTop: "-2px" } }) || j && /* @__PURE__ */ a(te, { label: E, style: { marginLeft: "0.75em", marginTop: "-2px" } })
1658
+ ee,
1659
+ z && /* @__PURE__ */ a(re, { label: $, variant: "tinted", style: { marginLeft: "0.75em", marginTop: "-2px" } }) || E && /* @__PURE__ */ a(re, { label: S, style: { marginLeft: "0.75em", marginTop: "-2px" } })
1659
1660
  ]
1660
1661
  }
1661
1662
  ),
@@ -1664,52 +1665,53 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
1664
1665
  {
1665
1666
  size: "xs",
1666
1667
  loading: r,
1667
- sender: _,
1668
- recipient: l,
1668
+ sender: y,
1669
+ recipient: i,
1669
1670
  recipientLabel: b,
1670
- grouped: p
1671
+ grouped: h
1671
1672
  }
1672
1673
  ),
1673
- g && /* @__PURE__ */ a(
1674
+ w && /* @__PURE__ */ a(
1674
1675
  me,
1675
1676
  {
1676
1677
  as: "h3",
1677
- highlightWords: x,
1678
+ highlightWords: B,
1678
1679
  weight: "normal",
1679
- className: X.summary,
1680
+ className: J.summary,
1680
1681
  loading: r,
1681
1682
  maxRows: 2,
1682
- children: g
1683
+ children: w
1683
1684
  }
1684
1685
  )
1685
1686
  ] }),
1686
1687
  /* @__PURE__ */ a(
1687
1688
  rr,
1688
1689
  {
1689
- className: X.footer,
1690
+ className: J.footer,
1690
1691
  loading: r,
1691
- badge: S,
1692
- status: i,
1692
+ badge: R,
1693
+ status: l,
1693
1694
  extendedStatusLabel: c,
1694
1695
  draftsLabel: m,
1695
- sentCount: d,
1696
- receivedCount: k,
1697
- updatedAt: w,
1698
- updatedAtLabel: z,
1699
- archivedAt: N,
1700
- archivedAtLabel: A,
1701
- trashedAt: y,
1702
- trashedAtLabel: v,
1703
- dueAt: P,
1704
- dueAtLabel: D,
1696
+ sentCount: N,
1697
+ receivedCount: L,
1698
+ updatedAt: _,
1699
+ updatedAtLabel: P,
1700
+ archivedAt: I,
1701
+ archivedAtLabel: D,
1702
+ trashedAt: O,
1703
+ trashedAtLabel: d,
1704
+ dueAt: M,
1705
+ dueAtExpired: A,
1706
+ dueAtLabel: j,
1705
1707
  attachmentsCount: F,
1706
1708
  attachmentsLabel: H,
1707
- tooltips: L
1709
+ tooltips: q
1708
1710
  }
1709
1711
  ),
1710
- O && L?.seenBy ? /* @__PURE__ */ a($e, { placement: "bottom", content: L?.seenBy, children: /* @__PURE__ */ a("span", { className: X.seenBy, children: /* @__PURE__ */ a(be, { items: O.items }) }) }) : O && /* @__PURE__ */ a(be, { items: O.items, className: X.seenBy })
1712
+ u && q?.seenBy ? /* @__PURE__ */ a($e, { placement: "bottom", content: q?.seenBy, children: /* @__PURE__ */ a("span", { className: J.seenBy, children: /* @__PURE__ */ a(be, { items: u.items }) }) }) : u && /* @__PURE__ */ a(be, { items: u.items, className: J.seenBy })
1711
1713
  ] }) }),
1712
- /* @__PURE__ */ a(Re, { className: X.controls, children: s })
1714
+ /* @__PURE__ */ a(Re, { className: J.controls, children: s })
1713
1715
  ]
1714
1716
  }
1715
1717
  );
@@ -1723,81 +1725,82 @@ const rr = ({
1723
1725
  sender: t,
1724
1726
  updatedAt: r,
1725
1727
  updatedAtLabel: s,
1726
- dueAt: u,
1727
- dueAtLabel: f,
1728
- archivedAt: i,
1729
- archivedAtLabel: c,
1730
- trashedAt: _,
1731
- trashedAtLabel: l,
1732
- draftsLabel: b,
1733
- sentCount: p = 0,
1734
- receivedCount: w = 0,
1735
- attachmentsCount: z = 0,
1736
- attachmentsLabel: h,
1737
- transmissionsLabel: N,
1738
- activityLog: A,
1739
- extendedStatusLabel: R,
1740
- tooltips: y = {}
1741
- }) => /* @__PURE__ */ I(It, { className: e, size: "xs", children: [
1742
- n && /* @__PURE__ */ a(mr, { tooltip: y.status, loading: o, ...n }),
1743
- R && /* @__PURE__ */ a(te, { tooltip: y.extendedStatus, variant: "outline", children: R }),
1744
- b && /* @__PURE__ */ a(te, { tooltip: y.drafts, variant: "dotted", children: b }),
1745
- r && /* @__PURE__ */ I(ee, { tooltip: y.updatedAt, loading: o, datetime: r, size: "xs", children: [
1728
+ dueAt: f,
1729
+ dueAtExpired: p,
1730
+ dueAtLabel: l,
1731
+ archivedAt: c,
1732
+ archivedAtLabel: y,
1733
+ trashedAt: i,
1734
+ trashedAtLabel: b,
1735
+ draftsLabel: h,
1736
+ sentCount: _ = 0,
1737
+ receivedCount: P = 0,
1738
+ attachmentsCount: v = 0,
1739
+ attachmentsLabel: I,
1740
+ transmissionsLabel: D,
1741
+ activityLog: C,
1742
+ extendedStatusLabel: O,
1743
+ tooltips: d = {}
1744
+ }) => /* @__PURE__ */ x(It, { className: e, size: "xs", children: [
1745
+ n && /* @__PURE__ */ a(mr, { tooltip: d.status, loading: o, ...n }),
1746
+ O && /* @__PURE__ */ a(re, { tooltip: d.extendedStatus, variant: "outline", children: O }),
1747
+ h && /* @__PURE__ */ a(re, { tooltip: d.drafts, variant: "dotted", children: h }),
1748
+ r && /* @__PURE__ */ x(ne, { tooltip: d.updatedAt, loading: o, datetime: r, size: "xs", children: [
1746
1749
  /* @__PURE__ */ a("strong", { children: t && t.name + ", " }),
1747
1750
  s
1748
1751
  ] }),
1749
- z > 0 && /* @__PURE__ */ a(ee, { tooltip: y.attachments, loading: o, size: "xs", icon: gt, children: h || z }),
1750
- N && /* @__PURE__ */ a(ee, { tooltip: y.transmissions, loading: o, size: "xs", icon: At, children: N }),
1751
- p > 0 && /* @__PURE__ */ a(ee, { tooltip: y.sent, size: "xs", icon: Qe, children: p }),
1752
- w > 0 && /* @__PURE__ */ a(ee, { tooltip: y.received, size: "xs", icon: Et, children: w }),
1753
- u && f && /* @__PURE__ */ a(
1754
- ee,
1752
+ v > 0 && /* @__PURE__ */ a(ne, { tooltip: d.attachments, loading: o, size: "xs", icon: gt, children: I || v }),
1753
+ D && /* @__PURE__ */ a(ne, { tooltip: d.transmissions, loading: o, size: "xs", icon: At, children: D }),
1754
+ _ > 0 && /* @__PURE__ */ a(ne, { tooltip: d.sent, size: "xs", icon: Qe, children: _ }),
1755
+ P > 0 && /* @__PURE__ */ a(ne, { tooltip: d.received, size: "xs", icon: Et, children: P }),
1756
+ f && l && /* @__PURE__ */ a(
1757
+ ne,
1755
1758
  {
1756
1759
  variant: "tinted",
1757
- color: "warning",
1758
- tooltip: y.dueAt,
1760
+ color: p ? "danger" : "warning",
1761
+ tooltip: d.dueAt,
1759
1762
  loading: o,
1760
- datetime: u,
1763
+ datetime: f,
1761
1764
  size: "xs",
1762
1765
  icon: yt,
1763
- children: f
1766
+ children: l
1764
1767
  }
1765
1768
  ),
1766
- l && /* @__PURE__ */ a(
1767
- ee,
1769
+ b && /* @__PURE__ */ a(
1770
+ ne,
1768
1771
  {
1769
1772
  variant: "tinted",
1770
1773
  color: "neutral",
1771
- tooltip: y.trashedAt,
1774
+ tooltip: d.trashedAt,
1772
1775
  loading: o,
1773
- datetime: _,
1776
+ datetime: i,
1774
1777
  size: "xs",
1775
1778
  icon: Ht,
1776
- children: l
1779
+ children: b
1777
1780
  }
1778
- ) || c && /* @__PURE__ */ a(
1779
- ee,
1781
+ ) || y && /* @__PURE__ */ a(
1782
+ ne,
1780
1783
  {
1781
1784
  variant: "tinted",
1782
1785
  color: "neutral",
1783
- tooltip: y.archivedAt,
1786
+ tooltip: d.archivedAt,
1784
1787
  loading: o,
1785
- datetime: i,
1788
+ datetime: c,
1786
1789
  size: "xs",
1787
1790
  icon: kt,
1788
- children: c
1791
+ children: y
1789
1792
  }
1790
1793
  ),
1791
- A && /* @__PURE__ */ a(
1792
- ee,
1794
+ C && /* @__PURE__ */ a(
1795
+ ne,
1793
1796
  {
1794
- tooltip: y.activityLog,
1797
+ tooltip: d.activityLog,
1795
1798
  loading: o,
1796
1799
  size: "xs",
1797
1800
  icon: $t,
1798
- as: A?.onClick ? "button" : "span",
1799
- onClick: A?.onClick,
1800
- children: A?.label || "Activity log"
1801
+ as: C?.onClick ? "button" : "span",
1802
+ onClick: C?.onClick,
1803
+ children: C?.label || "Activity log"
1801
1804
  }
1802
1805
  )
1803
1806
  ] }), or = ({
@@ -1807,67 +1810,67 @@ const rr = ({
1807
1810
  grouped: t = !1,
1808
1811
  loading: r,
1809
1812
  size: s = "xs"
1810
- }) => !e && !o ? null : /* @__PURE__ */ I($n, { loading: r, size: s, avatar: e, avatarGroup: !r && t && e && o ? {
1813
+ }) => !e && !o ? null : /* @__PURE__ */ x($n, { loading: r, size: s, avatar: e, avatarGroup: !r && t && e && o ? {
1811
1814
  items: [o, e]
1812
1815
  } : void 0, children: [
1813
1816
  /* @__PURE__ */ a("strong", { children: e?.name }),
1814
1817
  " ",
1815
1818
  o && n + " " + o?.name
1816
- ] }), ar = "_media_1x8z9_1", sr = "_icon_1x8z9_10", lr = "_avatarGroup_1x8z9_17", de = {
1819
+ ] }), ar = "_media_1x8z9_1", sr = "_icon_1x8z9_10", ir = "_avatarGroup_1x8z9_17", de = {
1817
1820
  media: ar,
1818
1821
  icon: sr,
1819
- avatarGroup: lr
1822
+ avatarGroup: ir
1820
1823
  };
1821
- function ir(e) {
1824
+ function lr(e) {
1822
1825
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null || Ge(e);
1823
1826
  }
1824
- const Fe = ({ size: e = "xs", icon: o, progress: n }) => !o && typeof n != "number" ? !1 : /* @__PURE__ */ I("span", { className: de.media, "data-size": e, children: [
1825
- Ee(o) && /* @__PURE__ */ a(je, { ...o, className: de.avatar }) || Se(o) && /* @__PURE__ */ a(be, { ...o, className: de.avatarGroup }) || ze(o) && /* @__PURE__ */ a(se, { ...o, className: de.icon }) || ir(o) && o || /* @__PURE__ */ a(se, { svgElement: o, className: de.icon }),
1827
+ const Fe = ({ size: e = "xs", icon: o, progress: n }) => !o && typeof n != "number" ? !1 : /* @__PURE__ */ x("span", { className: de.media, "data-size": e, children: [
1828
+ Ee(o) && /* @__PURE__ */ a(je, { ...o, className: de.avatar }) || Se(o) && /* @__PURE__ */ a(be, { ...o, className: de.avatarGroup }) || ze(o) && /* @__PURE__ */ a(se, { ...o, className: de.icon }) || lr(o) && o || /* @__PURE__ */ a(se, { svgElement: o, className: de.icon }),
1826
1829
  n && /* @__PURE__ */ a(Ot, { value: n, className: de.icon })
1827
1830
  ] }), cr = "_item_cqtms_1", dr = "_label_cqtms_54", we = {
1828
1831
  item: cr,
1829
1832
  label: dr
1830
- }, ee = ({
1833
+ }, ne = ({
1831
1834
  as: e,
1832
1835
  loading: o,
1833
1836
  className: n,
1834
1837
  reverse: t,
1835
1838
  size: r = "xs",
1836
1839
  variant: s,
1837
- color: u,
1838
- icon: f,
1839
- children: i,
1840
+ color: f,
1841
+ icon: p,
1842
+ children: l,
1840
1843
  datetime: c,
1841
- tooltip: _,
1842
- ...l
1844
+ tooltip: y,
1845
+ ...i
1843
1846
  }) => {
1844
1847
  const b = e || (c ? "time" : "span");
1845
- return _ ? /* @__PURE__ */ a($e, { content: _, placement: "bottom", children: /* @__PURE__ */ a(
1848
+ return y ? /* @__PURE__ */ a($e, { content: y, placement: "bottom", children: /* @__PURE__ */ a(
1846
1849
  b,
1847
1850
  {
1848
1851
  "data-size": r,
1849
- "data-color": u,
1852
+ "data-color": f,
1850
1853
  "data-variant": s,
1851
1854
  dateTime: c,
1852
1855
  className: V(we.item, n),
1853
- ...l,
1854
- children: /* @__PURE__ */ I(ue, { loading: o, children: [
1855
- !o && f && /* @__PURE__ */ a(Fe, { size: r, icon: f }),
1856
- /* @__PURE__ */ a("span", { className: we.label, children: i })
1856
+ ...i,
1857
+ children: /* @__PURE__ */ x(ue, { loading: o, children: [
1858
+ !o && p && /* @__PURE__ */ a(Fe, { size: r, icon: p }),
1859
+ /* @__PURE__ */ a("span", { className: we.label, children: l })
1857
1860
  ] })
1858
1861
  }
1859
1862
  ) }) : /* @__PURE__ */ a(
1860
1863
  b,
1861
1864
  {
1862
1865
  "data-size": r,
1863
- "data-color": u,
1866
+ "data-color": f,
1864
1867
  "data-variant": s,
1865
1868
  dateTime: c,
1866
1869
  className: V(we.item, n),
1867
- ...l,
1868
- children: /* @__PURE__ */ I(ue, { loading: o, children: [
1869
- !o && f && /* @__PURE__ */ a(Fe, { size: r, icon: f }),
1870
- /* @__PURE__ */ a("span", { className: we.label, children: i })
1870
+ ...i,
1871
+ children: /* @__PURE__ */ x(ue, { loading: o, children: [
1872
+ !o && p && /* @__PURE__ */ a(Fe, { size: r, icon: p }),
1873
+ /* @__PURE__ */ a("span", { className: we.label, children: l })
1871
1874
  ] })
1872
1875
  }
1873
1876
  );
@@ -1878,13 +1881,13 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
1878
1881
  return null;
1879
1882
  switch (o) {
1880
1883
  case "draft":
1881
- return /* @__PURE__ */ a(te, { tooltip: t, variant: "dotted", children: n || o });
1884
+ return /* @__PURE__ */ a(re, { tooltip: t, variant: "dotted", children: n || o });
1882
1885
  case "requires-attention":
1883
- return /* @__PURE__ */ a(te, { tooltip: t, variant: "strong", children: n || o });
1886
+ return /* @__PURE__ */ a(re, { tooltip: t, variant: "strong", children: n || o });
1884
1887
  case "not-applicable":
1885
1888
  return null;
1886
1889
  default:
1887
- return /* @__PURE__ */ a(te, { tooltip: t, variant: "outline", children: n || o });
1890
+ return /* @__PURE__ */ a(re, { tooltip: t, variant: "outline", children: n || o });
1888
1891
  }
1889
1892
  }, fr = "_menu_16mue_4", pr = "_button_16mue_12", hr = "_label_16mue_16", he = {
1890
1893
  menu: fr,
@@ -1898,33 +1901,33 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
1898
1901
  title: t = "Title",
1899
1902
  items: r = [],
1900
1903
  dropdownSize: s = "sm",
1901
- id: u = "toolbar-menu",
1902
- onSelectId: f,
1903
- ...i
1904
+ id: f = "toolbar-menu",
1905
+ onSelectId: p,
1906
+ ...l
1904
1907
  }) => {
1905
- const c = _t({ id: u, returnFocusOnClose: !0 }), _ = i.searchable ? "combobox" : "menu", l = qe(
1906
- (p) => {
1907
- f?.(p?.id ?? ""), p?.role !== "checkbox" && c.setOpen(!1);
1908
+ const c = _t({ id: f, returnFocusOnClose: !0 }), y = l.searchable ? "combobox" : "menu", i = qe(
1909
+ (h) => {
1910
+ p?.(h?.id ?? ""), h?.role !== "checkbox" && c.setOpen(!1);
1908
1911
  },
1909
- [f, c]
1910
- ), b = le(
1911
- () => r.map((p) => ({
1912
- ...p,
1913
- onClick: () => l(p)
1912
+ [p, c]
1913
+ ), b = ie(
1914
+ () => r.map((h) => ({
1915
+ ...h,
1916
+ onClick: () => i(h)
1914
1917
  })),
1915
- [r, l]
1918
+ [r, i]
1916
1919
  );
1917
- return e ? /* @__PURE__ */ I(ve, { className: he.button, variant: n, disabled: !0, children: [
1920
+ return e ? /* @__PURE__ */ x(ve, { className: he.button, variant: n, disabled: !0, children: [
1918
1921
  /* @__PURE__ */ a("span", { className: he.label, children: o }),
1919
1922
  /* @__PURE__ */ a(Be, { "aria-hidden": "true", focusable: "false" })
1920
1923
  ] }) : /* @__PURE__ */ a("span", { className: he.menu, children: /* @__PURE__ */ a(
1921
1924
  Gn,
1922
1925
  {
1923
- id: u,
1926
+ id: f,
1924
1927
  variant: "drawer-dropdown",
1925
1928
  title: t,
1926
1929
  size: s,
1927
- trigger: /* @__PURE__ */ I(
1930
+ trigger: /* @__PURE__ */ x(
1928
1931
  ve,
1929
1932
  {
1930
1933
  className: he.button,
@@ -1942,17 +1945,17 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
1942
1945
  ),
1943
1946
  open: c.open,
1944
1947
  onClose: () => c.setOpen(!1),
1945
- ...i?.searchable ? {} : c.dropdownA11yProps,
1948
+ ...l?.searchable ? {} : c.dropdownA11yProps,
1946
1949
  children: /* @__PURE__ */ a(
1947
1950
  et,
1948
1951
  {
1949
- ...i,
1952
+ ...l,
1950
1953
  items: b,
1951
1954
  keyboardEvents: c.open,
1952
- a11yMode: _,
1955
+ a11yMode: y,
1953
1956
  open: c.open,
1954
- scrollToTopOnOpen: i.virtualized,
1955
- ..._ === "combobox" ? { id: c.menuId } : c.menuA11yProps
1957
+ scrollToTopOnOpen: l.virtualized,
1958
+ ...y === "combobox" ? { id: c.menuId } : c.menuA11yProps
1956
1959
  }
1957
1960
  )
1958
1961
  }
@@ -1966,14 +1969,14 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
1966
1969
  name: t,
1967
1970
  placeholder: r = "Search",
1968
1971
  loading: s,
1969
- collapsible: u,
1970
- clearButtonAltText: f = "Clear search",
1971
- onChange: i,
1972
+ collapsible: f,
1973
+ clearButtonAltText: p = "Clear search",
1974
+ onChange: l,
1972
1975
  onClear: c,
1973
- onKeyDown: _,
1974
- menu: l,
1976
+ onKeyDown: y,
1977
+ menu: i,
1975
1978
  minLength: b,
1976
- disabled: p
1979
+ disabled: h
1977
1980
  }) => /* @__PURE__ */ a(
1978
1981
  Pe,
1979
1982
  {
@@ -1983,23 +1986,23 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
1983
1986
  value: n,
1984
1987
  name: t,
1985
1988
  placeholder: r,
1986
- clearButtonAltText: f,
1987
- onChange: i,
1989
+ clearButtonAltText: p,
1990
+ onChange: l,
1988
1991
  onClear: c,
1989
- onKeyDown: _,
1990
- collapsible: u,
1992
+ onKeyDown: y,
1993
+ collapsible: f,
1991
1994
  autoComplete: "off",
1992
1995
  autoCapitalize: "off",
1993
1996
  type: "search",
1994
1997
  minLength: b,
1995
1998
  loading: s,
1996
- menu: l,
1997
- disabled: p
1999
+ menu: i,
2000
+ disabled: h
1998
2001
  }
1999
2002
  )
2000
2003
  );
2001
2004
  export {
2002
- te as B,
2005
+ re as B,
2003
2006
  or as D,
2004
2007
  Qt as F,
2005
2008
  me as H,
@@ -2021,7 +2024,7 @@ export {
2021
2024
  tt as j,
2022
2025
  Je as k,
2023
2026
  Xe as l,
2024
- ee as m,
2027
+ ne as m,
2025
2028
  Fe as n,
2026
2029
  Qe as o,
2027
2030
  zt as p,